/* Reset CSS для domain */

/* Box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Margin и padding сброс */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

/* HTML5 display-role reset для старых браузеров */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

/* Базовая линия */
body {
  line-height: 1;
}

/* Списки */
ol, ul {
  list-style: none;
}

/* Цитаты */
blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

/* Таблицы */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Ссылки */
a {
  text-decoration: none;
  color: inherit;
}

/* Формы */
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/* Удалить x из инпутов в IE */
input::-ms-clear {
  display: none;
}

/* Корректное отображение во всех браузерах */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/* Правильное отображение шрифта во всех браузерах */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Доступность */
[hidden] {
  display: none;
}

/* Фокус */
:focus {
  outline: 0;
}

/* Исправление размера изображений */
img, 
picture {
  max-width: 100%;
  display: block;
}
