/*
 * ШАПКА
 */






.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
    width: 100%;
    display: flex;
    justify-content: center;
    transition: .5s;
}

.header__inner {
    justify-content: flex-start;
    width: 100%;
    display: flex;
    align-items: center;
    height: 10rem;
    z-index: 10;
    position: relative;
    transition: .5s;
    padding: 0 6rem;
    background-color: #fff;
    /*box-shadow: 0 .1rem 4rem rgba(0, 0, 0, .3);*/
}


.flexible-spacing {
    width: 100%;
    flex-shrink: 1;
}










.menu-tgl {
    display: none;
}



.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: stretch;
    position: relative;
    width: 22rem;
}
.logo__link {
    display: flex;
    align-self: stretch;
    align-items: center;
    height: 100%;
    width: 100%;
}
.logo__img {
    width: 100%;
    height: auto;
    display: block;
}








.nav-wrap {
    margin-left: 3.6rem;
    align-self: stretch;
    display: flex;
}
.nav-primary {
    display: flex;
    align-self: stretch;
    flex-shrink: 0;
}
.nav-primary .menu-item {
    display: flex;
    align-items: stretch;
    position: relative;
    margin-left: 1.8rem;
}
.nav-primary .menu-item:first-child {
    margin-left: 0;
}
.nav-primary .menu-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.4rem;
    /*text-transform: uppercase;*/
    font-weight: 700;
    color: #011023;
    font-family: Montserrat;
    transition: .2s;
    position: relative;
}
.nav-primary .menu-item a:hover,
.nav-primary .current-menu-item a {
    color: #0063c0;
}


.nav-primary .sub-menu {
    display: none;
}

















.header .contacts__items {
    display: flex;
    flex-direction: row;
    margin-left: 3.6rem;
    flex-shrink: 0;
    align-items: center;
}
.header .contacts__item {
    margin-left: 1.2rem;
    display: flex;
    align-items: center;
}
.header .contacts__item:first-child {
    margin-left: 0;
}
.header .contacts__content {
    display: flex;
    align-items: center;
}
.header .contacts__icon {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1.2rem;
    background-color: rgba(0, 0, 0, .05);
    width: 3.4rem;
    color: rgba(0, 0, 0, .6);
    height: 3.4rem;
}
.header .contacts__icon_phone {
    font-size: 2rem;
}
.header .contacts__icon_instagram {
    font-size: 2.1rem;
}
.header .contacts__text {
    display: block;
    margin-left: .6rem;
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
    opacity: .5;
}














































































































































































































@media all and (max-width: 1200px) {

/*
 * ШАПКА
 */






.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
    width: 100%;
    display: flex;
    justify-content: center;
    transition: .5s;
}

.header__inner {
    justify-content: flex-start;
    width: 100%;
    display: flex;
    align-items: center;
    height: 10rem;
    z-index: 10;
    position: relative;
    transition: .5s;
    padding: 0 6rem;
    background-color: #fff;
    /*box-shadow: 0 .1rem 4rem rgba(0, 0, 0, .3);*/


    height: 7rem;
    padding: 0;
    justify-content: center;
    width: 100%;
}


.flexible-spacing {
    width: 100%;
    flex-shrink: 1;


    display: none;
}









.menu-tgl {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(0, 0, 0, .7);
    transition: .2s;
    font-size: 2.4rem;
}
.menu-tgl.on {
    color: #0C6BFF;
}




.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: stretch;
    position: relative;
    width: 22rem;


    width: 17rem;
    /*position: absolute;*/
    /*left: 50%;*/
    /*margin-left: -8.5rem;*/
}
.logo__link {
    display: flex;
    align-self: stretch;
    align-items: center;
    height: 100%;
    width: 100%;
}
.logo__img {
    width: 100%;
    height: auto;
    display: block;
}








.nav-wrap {
    margin-left: 3.6rem;
    align-self: stretch;
    display: flex;


    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 0 4rem rgba(0, 0, 0, .4);
    border-radius: 2rem 2rem 0 0;
    flex-direction: column;
    transition: .3s;
    pointer-events: none;
    transform: translateY(2rem);
    opacity: 0;
    margin-left: 0;
}
.nav-wrap.on {
    pointer-events: auto;
    transform: translateY(0);
    opacity: 1;
}
.nav-primary {
    display: flex;
    align-self: stretch;
    flex-shrink: 0;


    flex-direction: column;
    padding: 3.6rem;
}
.nav-primary .menu-item {
    display: flex;
    align-items: stretch;
    position: relative;
    margin-left: 1.8rem;


    margin-left: 0;
    padding: 2rem 0;
}
.nav-primary .menu-item:first-child {
    margin-left: 0;
}
.nav-primary .menu-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.4rem;
    /*text-transform: uppercase;*/
    font-weight: 700;
    color: #011023;
    font-family: Montserrat;
    transition: .2s;
    position: relative;


    font-size: 2rem;
}
.nav-primary .menu-item a:hover,
.nav-primary .current-menu-item a {
    color: #0063c0;
}


.nav-primary .sub-menu {
    display: none;
}

















.header .contacts__items {
    display: flex;
    flex-direction: row;
    margin-left: 3.6rem;
    flex-shrink: 0;
    align-items: center;


    display: none;
}
.header .contacts__item {
    margin-left: 1.2rem;
    display: flex;
    align-items: center;
}
.header .contacts__item:first-child {
    margin-left: 0;
}
.header .contacts__content {
    display: flex;
    align-items: center;
}
.header .contacts__icon {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1.2rem;
    background-color: rgba(0, 0, 0, .05);
    width: 3.4rem;
    color: rgba(0, 0, 0, .6);
    height: 3.4rem;
}
.header .contacts__icon_phone {
    font-size: 2rem;
}
.header .contacts__icon_instagram {
    font-size: 2.1rem;
}
.header .contacts__text {
    display: block;
    margin-left: .6rem;
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
    opacity: .5;
}






}

































