body,
html {
    height: 100%;
    width: 100%;

    padding: 0;
    margin: 0;

    font-weight: 400;
}

body {
    position: relative;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #222222;

    /*
     * Dlja resaiza spliterom ubiraem selekti
     */
    user-select: none;
}

template {
    display: none;
}

.display-none {
    display: none !important;
}


div, p, span, b, ul, li, label {
    padding: 0;
    margin: 0;
}

:focus-visible {
    outline: none;
}

iframe {
    border: none;
}

/*
 * Hack for firefox, esli firefox videt flez box kak osnovnioj element on delat strannij otstup v body
@-moz-document url-prefix() {body{top:-4px;}}
*/


fieldset {
    border: none;

    padding: 0;
    padding-block: 0;

    margin: 0;
    margin-block: 0;
}


legend {
    padding: 0;
    padding-block: 0;
    font-size: 1.4rem;
}

.h1, h1,
.h2, h2,
.h3, h3,
.h4, h4,
.h5, h5,
.h6, h6 {
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;

    padding: 0;
    margin: 0;
    font-weight: inherit;
}

.h1, h1 {
    font-size: 2.8rem;
}

.h2, h2 {
    font-size: 2.4rem;
}

.h3, h3 {
    font-size: 1.6rem;
}

.h4, h4 {
    font-size: 1.4rem;
}

.h5, h5 {
    font-size: 1.2rem;
}

.h6, h6 {
    font-size: 1rem;
}



input,
textarea {

    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;

    outline: none;
    /*padding:0; pereopredeljaju v klass x-form*/
}

input[type="checkbox"],
input[type="radio"] {
    margin: 0;
}

input[type="submit"],
button {
    color: #fff;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;

    border: none;
    /*padding:0; pereopredeljaju v klass x-form*/
}

button:focus {
    outline: none;
}

/* FF */
button::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner {
    border: 0;
}


select {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    outline: none;
    /*padding:0; pereopredeljaju v klass x-form*/
}

/* FF */
select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

a {
    color: #46c7f2;
    cursor: pointer;
    text-decoration: none;
}

a:visited {
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

a:active {
    text-decoration: none
}


dd {
    -webkit-margin-start: 0;
}


@media (max-device-width: 1200px) {
    html {
        font-size: 9px;
    }

    b {
        font-weight: 700;
    }
}

@media (min-device-width: 1201px) and (max-device-width: 1600px) {
    html {
        font-size: 10px;
    }

    b {
        font-weight: 700;
    }

}

@media (min-device-width: 1601px) {
    html {
        font-size: 14px;
    }

    b {
        font-weight: 700;
    }
}
