@charset "UTF-8";
@font-face {
    font-family: "NunitoSans";
    src: url("../assets/fonts/Nunito/NunitoSans-Light.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
a {
    font-family: "NunitoSans";
}
.nav {
    width: auto;
    min-width: 200px;
    height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    margin: 0;
    padding-left: none;
    right: -320px;
    padding: 15px 20px;
    -webkit-transition: right 0.3s;
    -moz-transition: right 0.3s;
    transition: right 0.3s;
    background: #ffff;
    z-index: 2000;
    align-content: center;
    justify-content: flex-start;
    flex-direction: column;
}
.nav-logo-img {
    width: 100px;
}
.nav-toggle {
    position: absolute;
    right: 320px;
    color: #dadada;
    cursor: pointer;
    margin-right: 15px;
    z-index: 2001;
    -webkit-transition: color .25s ease-in-out;
    -moz-transition: color .25s ease-in-out;
    transition: color .25s ease-in-out;
}
.nav-toggle:after {
    text-decoration: none;
    font-size: 40px;
}
.nav-toggle:hover {
    color: white;
}

.nav-toggle:active {
    transform: scale(1.1);
    transition: .1s;
}

[id='nav-toggle'] {
    position: absolute;
    display: none;
}

[id='nav-toggle']:checked~.nav>.nav-toggle {
    left: auto;
    right: 2px;
}

[id='nav-toggle']:checked~.nav {
    right: 0;
    box-shadow: -4px 0px 20px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: -4px 0px 20px 0px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: -4px 0px 20px 0px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}
[id='nav-toggle']:checked~.nav>.nav-toggle:after {
    content: '\2715';
    color: black;
}

[id='nav-toggle']:checked~.nav>.nav-toggle>.burger {
    display: none;
}
body {
    -webkit-animation: bugfix infinite 1s;
}

@-webkit-keyframes bugfix {
    to {
        padding: 0;
    }
}
@media screen and (min-width: 320px) {
    html,
    body {
        margin: 0;
        overflow-x: hidden;
    }
}
@media screen and (max-width: 320px) {
    html,
    body {
        margin: 0;
        overflow-x: hidden;
    }
    .nav {
        width: 100%;
        box-shadow: none
    }
}
.nav h2 {
    width: 100%;
    padding: 0;
    margin: 10px 0;
    text-align: center;
    text-shadow: rgba(255, 255, 255, .1) -1px -1px 1px, rgba(0, 0, 0, .5) 1px 1px 1px;
    font-size: 1.3em;
    line-height: 1.3em;
    opacity: 1;
}
.nav h2 a {
    color: black;
    text-decoration: none;
    text-transform: uppercase;
}
[id='nav-toggle']:checked~.nav h2 {
    opacity: 1;
    transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    padding-left: 10px;
}
.nav>.nav_ul {
    display: block;
    margin: 0;
    padding: 0;
    padding-left: 10px;
    list-style: none;
}
.nav>.nav_ul>.nav_li {
    line-height: 2.5;
    opacity: 0;
    -webkit-transform: translateX(50%);
    -moz-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
    -webkit-transition: opacity .5s .1s, -webkit-transform .5s .1s;
    -moz-transition: opacity .5s .1s, -moz-transform .5s .1s;
    -ms-transition: opacity .5s .1s, -ms-transform .5s .1s;
    transition: opacity .5s .1s, transform .5s .1s;
}
[id='nav-toggle']:checked~.nav>.nav_ul>.nav_li {
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    padding: 1em;
}
.nav>.nav_ul>.nav_li>a {
    display: inline-block;
    position: relative;
    padding: 0;
    font-weight: 300;
    font-size: 1.3em;
    color: black;
    width: 100%;
    text-decoration: none;
    /* плавный переход */
    -webkit-transition: color .5s ease, padding .5s ease;
    -moz-transition: color .5s ease, padding .5s ease;
    transition: color .5s ease, padding .5s ease;
}
.nav>.nav_ul>.nav_li>a:hover,
.nav>.nav_ul>.nav_li>a:focus {
    color: black;
    padding-left: 15px;
}
.nav>.nav_ul>.nav_li>a:before {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    -webkit-transition: width 0s ease;
    transition: width 0s ease;
}

.nav>.nav_ul>.nav_li>a:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background: black;
    -webkit-transition: width .5s ease;
    transition: width .5s ease;
}
.nav>.nav_ul>.nav_li>a:hover:before {
    width: 0%;
    background: #42826C;
    -webkit-transition: width .5s ease;
    transition: width .5s ease;
}
.nav>.nav_ul>.nav_li>a:hover:after {
    width: 0%;
    background: transparent;
    -webkit-transition: width 0s ease;
    transition: width 0s ease;
}
a.telephone {
    text-decoration: none;
    color: black;
    font-size: 24px;
    font-weight: 600;
}
.nav>.nav_ul>.nav_li.telephoneli {
    text-align: center;
}
a.telephone:hover {
    text-decoration: none;
    color: black;
}
.mask-content {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1005;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    visibility: hidden;
    opacity: 0;
}

[id='nav-toggle']:checked~.mask-content {
    visibility: visible;
    opacity: 1;
    -webkit-transition: opacity .5s, visibility .5s;
    transition: opacity .5s, visibility .5s;
}

.telephone_span {
    padding-left: 10px;
    text-align: center;
}