.d-none {
 display:none;
}

.landing-main-banner{
    padding-top: calc(80px + calc(8px * 4));
}

body[data-page='main'] .logo a {
    pointer-events: auto !important;
}

/* drop-down message for header */
.tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #3bb3ff;
    color: white;
    text-align: center;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap!important;
    font-size: 14px;
    transition: opacity 0.1s;
}

.header__main-tel .tooltip {
    top: 40px;
}

.logo .tooltip {
    top: 54px;
}

.header__main-tel:hover .tooltip,
.logo:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* styles for block FAQ */

.container {
    /*padding-top: calc(8px * 9);*/
}

.section-theme-faq-main {
    padding-bottom: calc(8px * 0);
    padding-top: calc(8px * 8);
}

.section-theme-faq {
    padding-top: calc(8px * 4);
    padding-bottom: calc(8px * 4);
}

.padding-btm {
    padding-bottom: calc(8px * 8);
}

.crumbs-list {
    color: #59616d;
    text-decoration: none;
}

.crumbs-list:hover {
    color: #59616d;
    text-decoration: underline;
}
#faq_page .faq-section-title {
    font: 600 28px / 105% Roboto, Helvetica, Arial, sans-serif !important;
    margin: 20px 0 ;
    position: relative;
}
#faq_page .faq-footer h3 {
   font: 600 22px / 120% Roboto, Helvetica, Arial, sans-serif;
   margin: 20px 0 ; 

}
#faq_page .faq-footer p {

}

/* for page about */
/* .container {
    padding-top: calc(8px * 9);
} */

.crumbs-list {
    color: #59616d;
    text-decoration: none;
}

.crumbs-list:hover {
    color: #59616d;
    text-decoration: underline;
}

.advantage-item {
    margin-bottom: 10px;
    padding-left: 30px;
    text-indent: -30px;
}

/* for page fees */
.text-block {
    height: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: underline;
}

/* for block ca-dmv */
#ca-dmv, #ca-dmv-loc {
 padding-top: 80px;
}
#ca-dmv-loc #map {
    z-index: 1;
}
#ca-dmv-loc #reviews_section{
   /* margin-top: 60px;*/
}

#ca-dmv-loc .content-with-sidebar .resolution-wrap{
    margin-top: 30px;
 }


@media (max-width: 960px) {
    #ca-dmv, #ca-dmv-loc {
        padding-top: 60px;
    }
}

@media (max-width: 768px) {
    #ca-dmv-loc #map {
        width: 100%;
        height: 300px;
    }
    #ca-dmv-loc #reviews_section{
        /*margin-top: 20px;*/
    }
    #ca-dmv-loc .content-with-sidebar__sidebar {
        margin-top: 30px;
    }
   
}

 .ca-content-box {
    max-width: 1200px; 
    margin: 0 auto; 
}

.ca-content-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #1e293b; 
}

.ca-content-text {
    font-size: 16px;
    color: #374151; 
    line-height: 1.6;
    margin-bottom: 16px;
} 


/* for page contact */
.input-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 448px;
}

.input-item-2 {
    position: relative;
    width: 215px;

}

.checkbox-container {
    padding-right: 20px;
}
.additional-contact{
    display: flex;
    justify-content: space-between;
}
.add-contact-title{
    font: 400 16px/125% 'Roboto', Helvetica, Arial, sans-serif;
    
}

.btn-wrap-contact {
    width: 100%;
}

/* for block facts */
.header__main-tel {
    position: relative;
    display: inline-block;
}

.row-wrap {
    display: flex;
    justify-content: space-between;
    gap: calc(8px*4);
    padding-top: calc(8px*8);
    padding-bottom: 32px;
}

.btm-row {
    padding-bottom: 10px;
    border-bottom: 4px solid transparent;
}

.btm-row:hover {
    border-bottom: 4px solid #3bb3ff;
}

@media (max-width: 1024px) {
    .row-wrap {
        gap: calc(8px * 3);
        padding-top: calc(8px * 6);
        flex-wrap: wrap;
        justify-content: center;
    }

    .columns-wrap__item {
        flex: 1 1 45%;
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    .row-wrap {
        flex-direction: column;
        align-items: center;
        gap: calc(8px * 2);
        padding-top: calc(8px * 4);
    }

    .columns-wrap__item {
        flex: 1 1 100%;
        max-width: 100%;
        text-align: center;
    }

    .btm-row {
        padding-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .row-wrap {
        padding-left: 10px;
        padding-right: 10px;
    }

    .btm-row {
        border-bottom-width: 3px;
    }
}


@media (max-width: 768px) {
    .ca-content-box {
        padding: 20px;
    }

    .ca-content-title {
        font-size: 20px;
    }

    .ca-content-text {
        font-size: 14px;
    }
}

@media (max-width: 860px) {
    .input-item-2 {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .input-block {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }

    .input-item-2 {
        max-width: 100%;
        width: 100%;
        margin-bottom: 10px;
    }
}

/***** DMV services *****/
.main-services__item {
flex:1;
}

.snake-blocks .description-text-subtitle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
    ;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: center;
    align-content: center;
    padding-bottom: calc(8px* 2);
    max-width: 680px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding-left: calc(8px* 3);
    padding-right: calc(8px* 3);
}

/***** Support and Contact pages *****/

#contactCheckboxError {
    padding-bottom: 20px;
}

.contact_error-message {
    color: #D84C3A;
    padding-top: 8px;
    padding-left: 10px;
    font-size: 14px;
}

.additional-contact .section-sub-title h3 {
    text-align: left;
    font-size: 22px;
    font-weight: 600;
}
.additional-contact .section-sub-title {
    margin-left: 0px;
    margin-bottom: 0px;
    display: block;
}

.additional-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 20px;
    max-width: 800px; /* Можна змінити за потреби */
}

.section-sub-title {
    flex: 1 1 100%; /* Заголовок займає всю ширину */
    margin-bottom: 10px;
}

.contact-section__address {
    flex: 1 1 calc(50% - 10px); /* Дві колонки по 50%, з відступом */
    background: #f9f9f9; /* Легкий фон для відокремлення */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Стилізація тексту */
.address-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.address-item p {
    margin: 5px 0;
    font-size: 16px;
    color: #333;
}

/* Адаптація для мобільних екранів */
@media (max-width: 768px) {
    .additional-contact {
        margin-top: 50px;
    }
    .contact-section__address {
        flex: 1 1 100%; /* Одна колонка на всю ширину */
    }
}


/***** Fees Page *****/

/* #FeesPage .snake-blocks-2__section .resolution-wrap::before {
    display: none;
    content: unset; 
}


#FeesPage .snake-blocks-2__section__content {
    justify-content: flex-start;
    text-align: left;
    width: 100%; 
    margin-left: 0;
    padding-left: 0;
}


#FeesPage .list-group-item strong {
    font-weight: bold;
}

#FeesPage .snake-blocks-2 {
    padding-top: calc(8px* 5);
    padding-bottom: calc(8px* 4);
}

#FeesPage .snake-blocks-2__section {
    padding-top: calc(8px* 3);
    padding-bottom: calc(8px* 3);
}

.snake-blocks-2__section__content-description .description-title::before {
    content: '';
    width: 70px;
    height: 3px;
    background: #159df1;
    position: absolute;
    top: -3px;
} */


/***** Main page *****/
/* #Main_page {

} */

.section-theme-facts .resolution-wrap {
    max-width: 860px;
    position: relative;
    z-index: 3;
}

.section-theme-facts .columns-wrap__item {
    max-width: 860px;
    position: relative;
    z-index: 3;
    flex: 1;
}

.section-theme-facts .section-sub-title {
    opacity: 0.6;
    font-size: 16px;
  }

.section-theme-facts .landing-main-banner__content__title {
    border-bottom: 4px solid #3bb3ff;
    width: 25%; 
    max-width: 61px;
  }

.section-theme-facts .btm-row:hover {
    /* border-bottom: unset; */
}
  

.section-theme-facts .columns-wrap__item__text {
  opacity: 0.6;
  font-size: 14px;
}

@media (max-width: 768px) {
    .section-theme-facts .row-wrap {
        flex-direction: column;

    }
    .section-theme-facts .columns-wrap__item {
        width: 100%;
        align-items: center;
    }
    .section-theme-facts .columns-wrap__item__text {
        text-align: left;
      }
    
}


/* Articles */

        /* Общие стили для картинок внутри .articles-content */
        section.articles-content img {
            max-width: 100%;
            height: auto;
            display: block;
            box-sizing: border-box;
        }

        /* Картинки с ресайзом */
        section.articles-content .image_resized {
            height: auto;
        }

        /* Картинки внутри <p>, которые не обернуты в <figure> — float слева */
        section.articles-content p>img.image_resized {
            display: block;
            float: left;
            margin: 0 1em 1em 0;
            box-sizing: border-box;
        }

        /* Центрирование figure без специфичных классов */
        section.articles-content figure.image,
        section.articles-content figure.image.image-style-block,
        section.articles-content figure.image:not([class*="image-style-"]) {
            display: block;
            margin: 0 auto 1em auto;
            text-align: center;
            clear: both;
            max-width: 100%;
            box-sizing: border-box;
        }

        /* Выравнивание влево */
        section.articles-content figure.image.image-style-side {
            float: right;
            margin: 0 1em 1em 0;
            clear: none;
            max-width: 100%;
            box-sizing: border-box;
        }


        /* Подписи к изображениям */
        section.articles-content figure.image figcaption {
            font-size: 0.875em;
            color: #666;
            text-align: center;
            margin-top: 0.5em;
        }

        /* Очистка потока */
        section.articles-content::after {
            content: "";
            display: block;
            clear: both;
        }

        /* Обеспечить, что текст не наезжает на картинки */
        section.articles-content>* {
            overflow: hidden;
        }

        section.articles-content figure.image img {
            width: 100% !important;
            height: auto !important;
            display: block;
        }

        section.articles-content ul.todo-list>li label {
            /* position: relative !important; */
            top: auto !important;
            /* left: auto !important; */
            /* margin-right: 0 !important; */
        }


        section.articles-content .todo-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        section.articles-content .todo-list__label {
            display: flex;
            align-items: center;
            position: relative;
            padding-left: 32px;
            min-height: 24px;
            font-size: 16px;
        }

        section.articles-content .todo-list__label input[type="checkbox"] {
            appearance: none;
            -webkit-appearance: none;
            outline: none;
            position: absolute;
            left: 0;
            top: 0;
            width: 20px;
            height: 20px;
            border: 1px solid #999;
            border-radius: 4px;
            background-color: white;
            cursor: default;
        }

        section.articles-content .todo-list__label input[type="checkbox"]:checked {
            background-color: #26ab33;
            border-color: #26ab33;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.00039 10.8002L3.20039 8.0002L2.26606 8.93453L6.00039 12.6689L14.0004 4.66886L13.0661 3.73453L6.00039 10.8002Z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
            background-size: 12px 12px;
        }