@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
body {
    font-family: 'Inter', sans-serif;
    color: rgb(38, 38, 59);
    font-size: 16px;
}

img {
    max-width: 100%;
}
.container{
    max-width: 1330px;
    padding-left: 15px;
    padding-right: 15px;
}
.row{
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}
.col-pd{
    padding-left: 15px;
    padding-right: 15px;
}
/* .col-6{
    flex: 0 0 50%;
    max-width: 50%;
} */
@media (max-width: 991px){
    .hidden-md {
        display: none;
    }
}
@media (min-width: 992px){
    .visible-md {
        display: none;
    }
}
@media (min-width: 1200px) {
    .col-xl-4 {
        width: 33.33333%;
    }
    .col-xl-5 {
        width: 41.66667%;
    }
    .col-xl-7 {
        width: 58.33333%;
    }
}


.pt-30 {
    padding-top: 30px;
}
.pt-40 {
    padding-top: 40px;
}
.pt-100 {
    padding-top: 100px;
}
.pb-100 {
    padding-bottom: 100px;
}

.mb-10 {
    margin-bottom: 10px;
}
.mb-20 {
    margin-bottom: 20px;
}
.mb-30 {
    margin-bottom: 30px;
}
.mb-40 {
    margin-bottom: 40px;
}
.mb-50 {
    margin-bottom: 50px;
}
.mb-60 {
    margin-bottom: 60px;
}
.mb-100 {
    margin-bottom: 100px;
}
@media (max-width:991px) {
   .pt-100 {
        padding-top: 80px;
    }
    .pb-100 {
        padding-bottom: 80px;
    } 

    .mb-100 {
        margin-bottom: 80px;
    }
}

body .h1, body .h2, body .h3, body .h4, body .h5, body .h6, body h1, body h2, body h3, body h4, body h5, body h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: rgb(0, 17, 177);
}
body .h1 span, body .h2 span, body .h3 span, body .h4 span, body .h5 span, body .h6 span, body h1 span, body h2 span, body h3 span, body h4 span, body h5 span, body h6 span {
    font-weight: 300;
}
body h2, body  .h2 {
    font-size: 48px;
}
body p:last-child {
    margin-bottom: 0;
}
.sub-title {
    font-family: 'Inter', sans-serif;
    color: rgb(38, 38, 59);
    font-weight: 400;
    font-size: 20px;
    text-transform: uppercase;
}
body h4 {
    color: rgb(38, 38, 59);
    font-size: 24px;
}

.button {
    display: inline-flex;
    background-color:  #c1c1c1;
    border:3px solid  #c1c1c1;
    color: #0011b1;
    font-size: 18px;
    line-height: 21.6px;
    font-weight: 600;
    padding: 17px 27px;
    text-decoration: none;
    transition: all .3s;
}
.button:hover {
    background-color: #0011b1;
    border-color: #0011b1;
    color:  #c1c1c1;
}
.dark {
    background-color: #0011b1;
    /* background-image: url(/wp-content/themes/nbas/assets/images/home/green-block.svg); */
    background-image: url(/wp-content/themes/nbas/assets/images/home/nbas-gray.svg);
    background-position: top -26px right -100px;
    background-repeat: no-repeat;
    background-size: 300px auto;
    color: #fff;
}
.dark h2, .dark h3, .dark .h2, .dark .h3, .dark .sub-title {
    color: #fff;
}
.light{
    background-color:#e8e9ed;
    /* background-image: url(/wp-content/themes/nbas/assets/images/home/blue-block.svg); */
    background-image: url(/wp-content/themes/nbas/assets/images/home/nbas-blue.svg);
    background-position: top -26px right -100px;
    background-repeat: no-repeat;
    background-size: 300px auto;
}
@media (max-width: 991px) {
    .dark, .light {
        background-size: 200px auto;
        background-position: top -26px right -80px;
    }
}
@media (max-width: 767px){
    .sub-title {
        font-size: 18px;
    }
    body h2, body .h2 {
        font-size: 32px;
    }
    .dark, .light {
        background-size: 100px auto;
        background-position: top -8px right -10px;
    }
}

.home .sticky-header {
    display: block;
    box-shadow: 0 1px 4px -3px #000;
}
.sticky-header .inner {
    padding-top: 10px;
    padding-bottom: 10px;
}
.margin-header {
    margin-top: 81px!important;
}
.site-header .header-menu #primary-menu li:after {
    display: none!important;
}
.site-header a:hover, .site-header .current-menu-item a {
    color: #307fe2;
}
.site-header .button:hover a, .site-header .button a:hover {
    color: #c1c1c1;
}
.home .header-logo a {
    padding: 0px;
}
.site-header a {
    color: rgb(0, 17, 177);
    font-weight: 600;
    font-size: 16px;
}
.site-header .header-menu-btn .line {
    height: 3px;
    background-color: #0011b1;
}
.site-header .header-menu {
    justify-content: flex-end;
}
.site-header .header-menu .menu {
    align-items: center;
}
.fullmenu_main .button {
    border: none;
    background: transparent;
    display: block;
}
@media (max-width: 1152px) {
    .margin-header {
        margin-top: 65px!important;
    }
}
@media (max-width: 767px) {
    .fullmenu_main .button {
        padding: 0;
    }
}


.scroll-section__link, .scroll-section__link svg {
    transition: all .3s;
}
.scroll-section__link:hover {
    color: #0011b1;
}
.scroll-section__link:hover svg {
    transform: translateY(8px);
    transition: 0.3s;
}
.scroll-section__link:hover path {
    fill: #0011b1;
}



/*
 * Homepage
 */
.hero .scroll-section {
    position: absolute;
    bottom: 50px;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
}
.home .full-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding-top: 81px;   
}
.home .hero.full-page {
    min-height: calc(calc(var(--vh, 1vh) * 100) - 81px);
}
.home .full-page>section {
    padding-top: 30px;
    padding-bottom: 30px;
}
.support {
    background-image: url(/wp-content/themes/nbas/assets/images/home/gray-block.svg);
        background-position: center center;
    background-repeat: no-repeat;
    background-size: 938px auto;
}
.support-section__images {
    display: flex;
    gap: 16px;
    max-width: 900px;
}
.support-section__images-col{
    flex: 1;
}
@media (max-width: 575px) {
    .support-section__images {
        flex-direction: column;
    }
}
@media (max-height: 899px) {
    .home .full-page .scroll-section {
        padding-top: 6vh;
    }
}
@media (max-height: 800px) {
    .card-box__image img {
        object-fit: cover;
        object-position: center;
        position: relative;
        height: 150px;
    }
    .card-box__content {
        gap:20px;
    }
}
@media (max-width: 1152px) {
    .home .full-page {
        padding-top: 65px;   
    }
    .home .hero.full-page {
        min-height: calc(calc(var(--vh, 1vh) * 100) - 65px);
    }
}
@media (max-width: 1024px) {
    .home .full-page>section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}
@media (min-width: 992px) and (max-width: 1100px){
    .card-box__content .button {
        padding-left: 15px;
        padding-right: 15px;
    }
}
.features.full-page {
    background: #E8E9ED;
}

.features-section__content {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.box-icon {
    text-align: center;
}
.box-icon__title {
    font-size: 20px;
    font-weight: 400;
    color: rgb(38, 38, 59);
}
@media (max-width: 767px) {
    .box-icon__icon img {
        max-width: 80px;
        height: auto;
    }
}

.services-section {
    background: transparent;
}
.services.full-page {
    border-bottom: 1px solid #fff;
}
/* .services-section:before{
    content: '';
    background-color: #0011b1;
    background-image: url(/wp-content/themes/nbas/assets/images/home/nbas-gray.svg);
    background-position: top -26px right -150px;
    background-repeat: no-repeat;
    background-size: 300px auto;
    height: 835px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
} */
.services-section__top {
    position: relative;
}
.card-box {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    /* column-gap: 20px; */
    border: 3px solid #e8e9ed;
    justify-content: flex-start;
    height: 100%;
}
.card-box__image img {
    width: 100%;
}
.card-box__content {
    padding: 30px;
    flex-grow: 1;
    flex-shrink: 0;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px 30px;
}
.card-box__descr {
    color: rgb(38, 38, 59);
}
@media (max-width: 991px) {
    .services-section:before {
        background-size: 200px auto;
        background-position: top -26px right -80px;
    }
}
@media (max-width: 767px) {
    .services-section:before {
        background-size: 100px auto;
        background-position: top -8px right -10px;
    }
}


.footer-contacts {
    /* background-position: left -125px top -22px; */
    background-image: url(/wp-content/themes/nbas/assets/images/home/nbas-gray_left.svg);
    background-position: left -100px top -40px;
    background-size: 300px auto;
}
.contact-item__title {
    color: #fff;
}
.contact-item__title span {
    font-weight: 300;
}
.contact-item .contact-item__link {
    color:   #c1c1c1;
    text-decoration: none;
}
@media (max-width: 991px) {
    .footer-contacts {
        background-position: left -80px top;
        background-size: 200px auto;
    }
}
@media (max-width: 767px) {
    /* .footer-contacts{
        padding-bottom: 50px;
        background-position: left -22px top;
    } */
    .footer-contacts {
        background-size: 100px auto;
        background-position: left -10px top -8px;
    }
    .contact-item{
        margin-bottom: 30px;
    }
}
@media (max-width: 576px) {
    .contact-item {
        text-align: center;
    }
}

.footer {
    background: rgb(48, 127, 226);
    color: #fff;
    font-weight: 400;
}
.footer__top {
    padding-top: 60px;
    padding-bottom: 50px;
}
.footer__title {
    font-size: 20px;
    color: #fff;
}
.footer__logo-title {
    font-weight: 800;
    font-size: 30px;
}
.footer__nav a {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}
.footer__nav a:hover {
    color: #0011b1;
}
.footer__nav li {
    margin-bottom: 10px;
}
.footer__contact p {
    margin: 0;
}
.footer__contact-link {
    color:   #c1c1c1;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
}
.footer__contact-link:hover {
    color: #0011b1;
}
.footer__bottom{
    background-image: none;
    font-size: 12px;
    padding-top: 20px;
    padding-bottom: 20px;
}
@media (min-width: 992px) {
    .footer__logo {
        max-width: 300px;
    }
}
@media (max-width: 768px) {
    .footer__top {
        padding-top: 50px;
    }  
}


.socials {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.socials__link {
    display: block;
    position: relative;
    width: 40px;
    height: 40px;
    background: #fff;
    transition: all 0.3s;
}
.socials__link svg {
    height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}
.socials__link:hover {
    background-color: #0011b1;
}
.socials__link:hover svg {
    fill: #fff;
}


/* 
 * About Page
 */

body section.hero-single {
    margin-bottom: 0;
    height: 625px;
    margin-top: 75px;
    background-position: center;
}
.hero-single .container {
    margin: auto;
    position: relative;
    z-index: 2;
}
.hero-single h1 {
    font-size: 72px;
    font-weight: 700;
}
.garanty-section {
    padding-top: 40px;
    padding-bottom: 40px;
    background-image: none;
}
.garanty-section__title {
    font-size: 40px;
}
.garanty-section__item {
    padding: 5px 0 5px 20px;
    border-left: 3px solid #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.garanty-section__num {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
    color: inherit;
}
.garanty-section__sub-title {
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}




.descr ul {
    list-style: none;
}
.descr ul li {
    position: relative;
    line-height: 1.2;
    margin-bottom: 10px;
}
.descr ul li:before {
    content: url(/wp-content/themes/nbas/assets/images/home/check.svg);
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 992px) {
    .garanty-section {
        background-image: none;
    }
}
@media (min-width: 992px) and (max-width: 1725px) {
    .history-section {
        background-position: top -124px right -100px;
    }
}
@media (max-width: 991px) {
    body section.hero-single {
        height: 500px;
    }
    .garanty-section__title{
        margin-bottom: 40px;
    }
}
@media (max-width:767px){
    .hero-single h1 {
        font-size: 48px;
    }
    .garanty-section {
        padding-bottom: 20px;
    }
    .garanty-section__item {
        margin-bottom: 30px;
        height: auto;
    }
    .garanty-section__title{
        font-size: 32px;
        margin-bottom: 30px;
    }
    .garanty-section__num {
        font-size: 28px;
    }
}


/* 
 * Contacts Page
 */
.contact-box {
    background: #fff;
    padding: 30px;
    border: 3px solid #e8e9ed;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2em;
    color: #26263b;
}
.hero .contact-box {
    max-width: 430px;
}
.contact-box .contact-box__title {
    font-size: 48px;
}
.contact-box__item a {
    font-weight: 800;
    color: #0011b1;
    text-decoration: none;
}


.map-section {
    margin-top: 80px;
    padding-top: 1px;
}
.map-section__wrap {
    background: #fff;
    border: 3px solid #e8e9ed;
    line-height: 1.2em;
    color: #26263b;
    margin-top: -80px;
}
.map-section .map-section__title {
    color: rgb(0, 17, 177);
}
.map-section__content {
    font-size: 20px;
    font-weight: 400;
    padding: 30px 0 30px 30px;
}
.map-section__content p {
    margin-bottom: 15px;
}
.map-section__map {
    width: 100%;
    height: 300px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
}
.info-card__image {
    flex: 0 0 110px;
    max-width: 110px;
}
.info-card__text {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 400;
    color: rgb(48, 127, 226);
    line-height: 1.1;
}
.info-card__text a {
    color: inherit;
}
.info-card__title {
    color: rgb(38, 38, 59);
    font-size: 20px;
    font-weight: 700;
}

.dark .info-card__title {
    color: #fff;
}
.dark .info-card__text {
    color:  #c1c1c1;
}
@media (max-width: 991px) {
    .contact-box {
        /* max-width: 500px; */
        margin: 60px auto;
        text-align: center;
    }
    .info-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .map-section {
        background-position: top 465px right;
    }
}
@media (max-width: 767px) {
    .info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .info-card__image {
        flex: 0 0 90px;
        max-width: 90px;
    }
    .contact-box .contact-box__title {
        font-size: 32px;
    }
    .contact-box__item a {
        font-size: 18px;
        display: block;
    }
    .contact-box img {
        max-width: 90px;
    }
    .map-section__content{
        padding: 30px 20px;
    }
}


body section.hero-home {
    min-height: auto;
    padding-top: 160px;
    padding-bottom: 160px;
    background-position: center;
    background-size: cover;
}
body section.hero-home:before,
body section.hero-home:after{
    display: none;
}
body section.hero .overlay.darker {
    top: 0;
    left: 0;
}
.hero__decr {
    font-size: 20px;
    font-weight: 400;
    max-width: 900px;
}
.hero .container {
    position: relative;
    z-index: 3;
}
.row.gallery {
    gap: 30px 0;
}
.row.gap-30 {
    gap: 30px 0;
}
.col-swiper .swiper {
    width: 100%;
    height: 100%;
    position: relative;
    max-height: 870px;
}
.col-swiper .image-block .image_cover {
    position: relative;
    width: auto;
    height: 100%;
    object-fit: cover;
    min-width: 100%;
}

.col-swiper .swiper .image-block {
    height: 100%;
}
.card-box .min_big {
    height: 400px;
}
@media (min-width: 992px) {
    .pamatky-section__content{
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media (max-width: 991px) {
    .vovostavby-section .descr {
        margin-bottom: 40px;
    }
    .col-swiper .swiper .image_cover {
        height: 600px;
    }
    .col-swiper .swiper .image-block {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #ccc;
    }
    .image-block .image_cover {
        position: relative;
        width: auto;
        height: auto;
    }
}
@media (max-width: 767px) {
    body section.hero-home {
        padding-top: 200px;
        padding-bottom: 60px;
    }
    .hero__decr {
        font-size: 18px;
        line-height: 1.3;
    }
    .col-swiper .swiper {
        height: 500px;
    }
}
@media (max-width: 576px){
    .row.gallery {
        gap: 20px 0;
    }
    .row.gap-30 {
        gap: 20px 0;
    }
    .card-box .min_big {
        height: 300px;
    }
}

.accordion-header .accordion-button {
    color: rgb(38, 38, 59)!important;
    font-size: 20px;
    text-transform: none;
    font-weight: 800;
}
.before_after {
    display: flex;
    position: relative;
    height: 300px;
    overflow: hidden;
}
.before_after .img {
    width: 50%;
}

.before_after .img {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: width 200ms, left 200ms, right 200ms;
}
.before_after .img__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  background-size: cover;
  background-position: center;
  transition: left 200ms, right 200ms, transform 200ms;
}
.before_after .img--before, 
.before_after .img--after {
  width: 60%;
}
.before_after .img--before {
  right: 49.9%;
}
.before_after .img--before .img__bg {
  left: 15%;
}
.before_after .img--after {
  left: 49.9%;
}
.before_after .img--after .img__bg {
  right: 15%;
}
.before_after .img.focus {
  width: 80%;
}
.before_after .img.focus .img__bg {
  transform: scale(1.1);
}

.before_after .img.focus.img--before {
  right: 29.9%;
}
.before_after .img.focus.img--before .img__bg {
  left: 12%;
}
.before_after .img.focus.img--after {
  left: 29.9%;
}
.before_after .img.focus.img--after .img__bg {
  right: 12%;
}
.before_after .img.unfocus {
  width: 50%;
}
.before_after .img.unfocus.img--before {
  right: 69.9%;
}
.before_after .img.unfocus.img--before .img__bg {
  left: 20%;
}
.before_after .img.unfocus.img--after {
  left: 69.9%;
}
.before_after .img.unfocus.img--after .img__bg {
  right: 20%;
}
.before_after .content {
  position: absolute;
  color: #fff;
  z-index: 10;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px #000;
  font-size: 16px;
  pointer-events: none;
}
.before_after .content--before {
  top: 15px;
  left: 18px;
}
.before_after .content--after {
  bottom: 15px;
  right: 18px;
}




/* .img-c {
  width: 200px;
  height: 200px;
  float: left;
  position: relative;
  overflow: hidden;
}

.img-w {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform ease-in-out 300ms;
}

.img-w img {
  display: none;
}

.img-c {
  transition: width ease 400ms, height ease 350ms, left cubic-bezier(0.4, 0, 0.2, 1) 420ms, top cubic-bezier(0.4, 0, 0.2, 1) 420ms;
}

.img-c:hover .img-w {
  transform: scale(1.08);
  transition: transform cubic-bezier(0.4, 0, 0.2, 1) 450ms;
}

.img-c.active {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  z-index: 2;
}

.img-c.postactive {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.img-c.active.positioned {
  left: 0 !important;
  top: 0 !important;
  transition-delay: 50ms;
} */


.img-w {
    display: flex;
}
.img-w .image-block {
    width: 50%;
    overflow: hidden;
    height: auto;
}
.img-w .image_src {
    transition: all ease-in-out 300ms;
}
.chocolat-image:hover .image_src{
    transform: scale(1.1);
}
.img-w .image-block .chocolat-image {
    display: block;
    padding-top: 100%;
}
