.container-fluid.header-nav{
    height:81px;
    border-top: 1px solid #ccc;
}
.container_headerTop{
    height:106px;
}
header .row .logo img {
    margin-top: 10px;
    width: 155px;
    height: auto;
    margin-bottom: 10px;
}
.space-around {
    justify-content: normal;
}
.header-container {   
    padding: 0;
}
.header-nav nav {
    margin-top: 0px;
}
.address_header{
    /*width: 155px;*/
    font-size: 16px;
    line-height: 22px;
    padding-left: 17px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.address_header img{
    position: absolute;
    left: 0;
    top: 4px;
}
.infblocks_header {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}
.infblocks_header>div{
    width:100%;
}
.sign_up.btn{
    background: none;
    border: 1px solid #EE161F;
    border-radius: 7px;
    box-shadow: none;
    /*width: 200px;*/
    height: 45px;
    color: #EE161F;
    font-weight: normal;
    font-size: 16px;
    text-align: center;
    padding: 9px;
}
.sign_up.btn:hover{
    background: #fff1f1;
}
header .row .social-wrapper .social-item {
    width: 26px;
    height: 29px;
    margin: 0 5px;
}

.header-info{
    font-weight: bold;
    font-size: 16px;
    line-height: 22px;
}
.red-btn.call-btn{
    background: #EE161F;
    border: 1px solid #EE161F;
    border-radius: 7px;
    box-shadow: none;
    width: 100%;
    height: 45px;
    color: #fff;
    font-weight: normal;
    font-size: 16px;
    text-align: center;
    padding: 9px;
}
.red-btn.call-btn-test{
    background: #EE161F;
    border: 1px solid #EE161F;
    border-radius: 7px;
    box-shadow: none;
    width: 100%;
    height: 45px;
    color: #fff;
    font-weight: normal;
    font-size: 16px;
    text-align: center;
    padding: 9px;
}
.red-btn.call-btn:hover{
    background: #ff5c63 !important;
}
.red-btn.call-btn-test:hover{
    background: #ff5c63 !important;
}
header .row .logo {
    width:100%;
    height: auto;
}
.navbox{
    display:flex;
}

.navbox .menu-header-menu-container {
    flex: 6.2;
}
.navbox .search-wrapper {
    flex: 2.8;
    padding-top: 14px;
}

.header-nav nav ul li a {
    font-weight: normal;
    font-size: 18px;
    line-height: 49px;
}

.search-wrapper form input[type=submit] {
    background: url(/assets/tpl/img/bytesize_search.png) no-repeat center;
    background-color: #ee161f;
    width: 49px;
    border-radius: 0px 6px 6px 0px;
    height: 49px;
}

.header-nav nav ul li {
    -webkit-box-flex: auto;
    -ms-flex: auto;
    flex: auto;
}

.header-nav nav ul li:hover {
    border-radius: 0;
}

.search-wrapper form {
    width: 95%;
    float: right;
}

.post_tags {
    padding: 0px 15px 0px 15px;
    border-radius: 12px;
    background: none;
    border: 1px solid #ccc;
}
.post_tags li{
    list-style-type:none;
}
.post_tags li:last-child a{
    border-bottom:none;
}
.post_tags li a {
    font-weight: normal;
    font-size: 16px;
    line-height: 18px;
    color: #484848;
    padding-top: 16px;
    padding-bottom: 16px;
    display: inline-block;
    width: 100%;
    border-bottom: 1px solid #ccc;
}

.w270{
    width:270px;
}
.programms-list {
    margin-top: 2rem;
    margin-left: 2rem;
}

.services-price__table tr:nth-child(even) td {
    padding-top: 4px;
    padding-bottom: 4px;
    background:#ffffff;
}
.services-price__table-test tr:nth-child(odd) td, .services-price__table-test tr:nth-child(odd) {
    background:#ffffff;
}
.services-price__table-test tr:nth-child(even) td, .services-price__table-test tr:nth-child(even) {
    background:#EFEFEF;
}
.services-price__table tr td {
    padding-top: 4px;
    padding-bottom: 4px;
    background:#EFEFEF;
}

.red-btn.btn-price {
    width: 131px;
    background: #EE161F;
    border-radius: 7px;
    height: 37px;
    padding: 5px;
    margin: 5px 0;
    font-weight:normal;
}
.red-btn.btn-price:hover {
    background: #ff464e !important;
}
.services-price__table tr {
    border: 1px solid #DEDEDE !important;
}
.services-price__table:nth-of-type(1) tr:first-child {
    border-top: 1px solid #DEDEDE !important;
}

.header-nav .sign_up.btn {
    display:none;
}



.apparat .desc{
    width:70%;
    padding:20px;
}
.apparat .img{
    width:30%;
}
.apparat .img img{
    max-width:100%;
}

.callBack {
    background: url(/assets/images/bg_callback.png) no-repeat right;
    background-size: 100%;
    display: inline-block;
    width: 100%;
    padding: 42px 35px;
    border-radius: 20px;
    margin-top: 20px;
}

.callBack .title{
    font-size:32px;
    line-height: 40px;
}
.callBack .desc{
    font-size:16px;
}

.callBack input{
    background: #FFFFFF;
    border: 1px solid #CACACA;
    box-sizing: border-box;
    border-radius: 7px;
    height: 45px;
    width: 100%;
    padding: 10px 15px;
}

.callBack .form-group{
    width: 185px;
    float: left;
    margin-right: 10px;
}

.callBack .form-group label{
    margin-bottom: 0;
    margin-top: 17px;
    height:26px;
}
.callBack input[type="submit"]{
    background: #EE161F;
    border-radius: 7px;
    color:#fff;
}


.polit{
    width: 100%;
    display: inline-block;
    font-size: 12px;
    margin-top: 25px;
}

.polit input[type="checkbox"]{
    width: 26px;
    float: left;
    margin-right: 10px;
    line-height: 0;
    height: 35px;
}


.callBack span.error{
    line-height: 16px;
    display: inline-block;
    font-size: 10px;
}


.advantages h2{
    margin-top: 50px;
    text-align: center;
}

.advantages .items{
    display: flex;
    flex-wrap: wrap;
}
.advantages .items .item{
    flex: 0 0 33.333333%;
    padding: 15px;
    text-align: center;
}
.advantages .items .item .block{
    border: 1px solid #BEBEBE;
    box-sizing: border-box;
    border-radius: 10px;
    height: 185px;
    padding: 35px;
}
.advantages .items .item .block img{
    margin-bottom:15px;
}
.advantages .items .item .block .desc{
    font-size: 15px;
    line-height: 22px;
}









.events h2{
    margin-top: 50px;
    text-align: center;
}

.events .items{
    display: flex;
    flex-wrap: wrap;
}
.events .items .item{
    flex: 0 0 50%;
    padding: 15px;
}
.events .items .item .block{
    border: 1px solid #BEBEBE;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 30px 25px;
}
.events .items .item .block .doc{
    line-height: 22px;
    color: #484848;
    margin-bottom:7px;
}
.events .items .item .block .doc a{
    line-height: 22px;
    color: #0056b3;
}
.events .items .item .block .desc{
    font-size: 15px;
    line-height: 22px;
    color: #818181;
    margin-bottom:7px;
}
.events .items .item .block .name{
    font-size: 15px;
    line-height: 22px;
    color: #484848;
}


.events .slick-prev{
    background: url(/assets/images/icons/Vector.png) no-repeat;
    transform: rotate(180deg);
    height: 22px;
    margin-top: -11px;
}
.events .slick-next{
    background: url(/assets/images/icons/Vector.png) no-repeat;
    height: 22px;
    margin-top: 1px;
}



@media(max-width:1025px){
    
    .search-wrapper form {
        width: 100%;
        /* float: right; */
        display: inline-block;
        padding-right: 15px;
    }    
    
    
    .header-nav nav {
        display:block;
        flex: 0.5;
    }
    .navbox .search-wrapper {
        flex: 3.8;
        height: 40px;
        padding: 0;
    }

    .search-wrapper form input[type=submit] {
        background: url(/assets/images/bytesize_search2.png) no-repeat center;
        background-color: #fff;
        width: 40px;
        border-radius: 0px 6px 6px 0px;
        height: 40px;
        float: right;
        border-radius: 7px;
        border: 1px solid #D9D9D9;
    }

    .search-wrapper form input[type=search] {
        display: none;
    }
    .navbox .menu-header-menu-container {
        display: none;
    }    
    
    .infblocks_header {
        flex-wrap: wrap;
    }
    header .row .logo {
        width: auto;
        order:0;
        flex: 0.4;
    }
    .address_header{
        display:none;
    }
    header>.row .header-info {
        order: 1;
        flex: 0.6;
        font-size: 15px;
    }
    .red-btn.call-btn {
        order: 2;
        flex: initial;
        width: 40px;
        background: url(/assets/images/carbon_phone-filled.png) no-repeat center, #EE161F;
        font-size: 0;
        margin-right: 15px;
        height: 40px;
    }
    .red-btn.call-btn-test {
        display: none;
    }
    header>.row .col.align-center {
        display: none;
    }
    .header-nav .sign_up.btn {
        width: 180px;
        font-size: 15px;
        height: 40px;
        padding: 8px;
        display: block;
        min-width: 181px;
        flex:0.5;
    }
    .container-fluid.header-nav {
        height: 63px;
        background: #fff;
        border-bottom: 2px solid #ee161f;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        justify-content: normal;
    }
    .container-fluid.header-nav .mobile-nav-bar {
        /*display:none;*/
        flex: 0.4;
    }
    .container_headerTop {
        height: 64px;
    }
    header .row .logo img {
        margin-top: 5px;
        width: 96px;
        margin-bottom: 5px;
    }
    header .sign_up.btn {
        display:none;
    }
    .mobile-nav-bar .menu-btn .btn {
        width: 25px;
        height: 1px;
        background: #000;
        transform: translateY(20px);
        position: relative;
        top: 9px;
    }
    .mobile-nav-bar .menu-btn .btn:before, .mobile-nav-bar .menu-btn .btn:after {
        content: '';
        width: 100%;
        height: 1px;
        background: #000;
        position: absolute;
        left: 0;
    }
    .mobile-nav-bar .menu-btn .text {
        display: none;
    }
    .mobile-nav-bar {
        display: block;
        height: 60px;
        background: #fff;
        padding: 0 1rem;
        position: relative;
    }
    
    .apparat .desc{
        width:100%;
    }
    .apparat .img{
        width:100%;
        margin-bottom: 30px;
        text-align: center;
    }
    .apparat .img img{
        max-width:100%;
    }    
    .callBack {
        background: url(/assets/images/bg_callback.png) no-repeat left;
        background-size: cover;
    }
    .callBack .form-group {
        width: 100%;
    }
}
@media(max-width: 1024px) {
    .advantages h2 {
        text-align: left;
    }
}
@media(max-width: 768px) {
    .advantages h2 {
        margin-top: 27px;
    }
}
@media(max-width:774px){
    .advantages .items .item {
        flex: 0 0 100%;
        padding: 0;
        margin-top: 10px;
    }
    .events .items .item {
        flex: 0 0 100%;
    }
}
