:root{
    --primary: #ff0000;
    --primary-light: #fc4a4a;
    --gold:#f2cd92;
    --goldbg:#cfaf7c;
    --goldbg-light:#e8d3b2;
    --gold-text:#DAA520;
    --gold-text-light:#f7bd2d;
    --blue-text:#0077FF;
    --blue-text-dark:#0055A4;
}

.callbox {
    background-color: var(--primary); /* Цвет фона (красный) */
    color: #fff; /* Цвет текста (белый) */
    padding: 20px; /* Отступы внутри блока */
    border-radius: 10px; /* Закругление углов */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Тень блока */
    text-align: center; /* Выравнивание текста по центру */
    margin-top: 10px;
}

.callbox h2 {
    color: var(--gold-text); /* Цвет заголовка (золотой) */
    font-size: 24px; /* Размер шрифта заголовка */
    margin-bottom: 10px; /* Отступ снизу для заголовка */
}

.callbox p {
    font-size: 18px; /* Размер шрифта текста */
    margin-bottom: 20px; /* Отступ снизу для текста */
}

.callbox a {
    color: var(--gold-text); /* Цвет текста кнопки (белый) */
    text-decoration: none; /* Убираем подчеркивание у ссылки */
    transition: background-color 0.3s; /* Плавное изменение цвета при наведении */
    font-weight: bold;
}

.callbox a:hover {
    color: var(--gold-text-light); /* Изменение цвета кнопки при наведении */
}

.callbox2 {
    background-color: var(--goldbg); /* Цвет фона (красный) */
    color: #fff; /* Цвет текста (белый) */
    padding: 20px; /* Отступы внутри блока */
    border-radius: 10px; /* Закругление углов */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Тень блока */
    text-align: center; /* Выравнивание текста по центру */
    margin-top: 10px;
}

.callbox2 h2 {
    color: var(--primary); /* Цвет заголовка (золотой) */
    font-size: 24px; /* Размер шрифта заголовка */
    margin-bottom: 10px; /* Отступ снизу для заголовка */
}

.callbox2 p {
    font-size: 18px; /* Размер шрифта текста */
    margin-bottom: 20px; /* Отступ снизу для текста */
}

.callbox2 a {
    color: var(--primary); /* Цвет текста кнопки (белый) */
    text-decoration: none; /* Убираем подчеркивание у ссылки */
    transition: background-color 0.3s; /* Плавное изменение цвета при наведении */
    font-weight: bold;
}

.callbox2 a:hover {
    color: var(--primary-light); /* Изменение цвета кнопки при наведении */
}

.callbox2in {
    background-color: var(--goldbg); /* Цвет фона (красный) */
    color: #fff; /* Цвет текста (белый) */
    padding: 20px; /* Отступы внутри блока */
    border-radius: 10px; /* Закругление углов */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Тень блока */
    text-align: justify; /* Выравнивание текста по центру */
    margin-top: 10px;
}

.callbox2in span{
    font-weight: bold;
}

.callbox2in h2 {
    color: var(--primary); /* Цвет заголовка (золотой) */
    font-size: 24px; /* Размер шрифта заголовка */
    margin-bottom: 10px; /* Отступ снизу для заголовка */
}

.callbox2in p {
    font-size: 18px; /* Размер шрифта текста */
    margin-bottom: 20px; /* Отступ снизу для текста */
}

/*.callbox2in a {*/
/*    color: var(--primary); !* Цвет текста кнопки (белый) *!*/
/*    text-decoration: none; !* Убираем подчеркивание у ссылки *!*/
/*    transition: background-color 0.3s; !* Плавное изменение цвета при наведении *!*/
/*    font-weight: bold;*/
/*}*/

.callbox2in a:hover {
    color: var(--primary-light); /* Изменение цвета кнопки при наведении */
}

.callbox3 {
    background-color: var(--blue-text-dark); /* Цвет фона (красный) */
    color: #fff; /* Цвет текста (белый) */
    padding: 20px; /* Отступы внутри блока */
    border-radius: 10px; /* Закругление углов */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Тень блока */
    text-align: center; /* Выравнивание текста по центру */
    margin-top: 10px;
}

.callbox2 h2 {
    color: var(--primary); /* Цвет заголовка (золотой) */
    font-size: 24px; /* Размер шрифта заголовка */
    margin-bottom: 10px; /* Отступ снизу для заголовка */
}

.callbox2 p {
    font-size: 18px; /* Размер шрифта текста */
    margin-bottom: 20px; /* Отступ снизу для текста */
}

.callbox2 a {
    color: var(--primary); /* Цвет текста кнопки (белый) */
    text-decoration: none; /* Убираем подчеркивание у ссылки */
    transition: background-color 0.3s; /* Плавное изменение цвета при наведении */
    font-weight: bold;
}

.callbox2 a:hover {
    color: var(--primary-light); /* Изменение цвета кнопки при наведении */
}


.innerheader{
    background-color: red;
}

.errorform{
    border: 1px solid red;
}
.successform{
    border: 1px solid green;
}

.highlightform{
    border: 1px solid #0047AB;
}

.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto; }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }

.hrilead {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #DAA520, transparent);
    margin: 20px 0;
}

.hrileadadm {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(1, 41, 112, 0.4), #012970, rgba(1, 41, 112, 0.4));
    margin: 20px 0;
}

.section-title p.f-gold{
    color:var(--gold-text);
}

.f-gold{
    color:var(--gold-text);
}

.section-title p.f-blue{
    color:var(--blue-text);
}

.f-blue{
    color:var(--blue-text);
}

.input-group-text-mandatory{
    display: flex;
    align-items: center;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: red;
    text-align: center;
    white-space: nowrap;
    background-color: var(--bs-tertiary-bg);
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
}

.info a{
    font-size: 1.2em;
}

input[readonly] {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    color: #555;
    cursor: not-allowed;
}

input[readonly]:hover {
    border-color: #888;
}

.btn-ilead{
    border: 1px solid var(--gold-text);
    border-radius: 5px;
    background-color: var(--gold-text-light);
    color: black;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    padding:0.25rem;
}

.btn-ilead:hover, .btn-ilead:focus{
    
    border-radius: 5px;
    background-color: #f9c84e;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;

}

table.moderntable {
    width: 100%;
    font-family: Arial, sans-serif;
    font-size: 14px;
    border-collapse: collapse;
}

table.moderntable th, table.moderntable td {
    padding: 8px;
    text-align: left;
}

table.moderntable tr:nth-child(even) {
    background-color: #f2f2f2;
}

table.moderntable tr:hover {
    background-color: #e2e2e2;
}

div.search .search-input{
    font-size:14px;
}

.editinlinecontrol{
    display: none;
}

.istatusbar{
    background: #E5E4E2;
    padding: 5px;
    font-size: 14px;
    border-radius: 5px;
    border:1px solid #7393B3
}

.istatusbar i.fa-circle-dot{
    color:#3F00FF;
}

.card-title-ilead {
    padding: 5px;
    font-size: 18px;
    font-weight: 500;
    color: #012970;
    font-family: "Montserrat", sans-serif;
}

#commentssectiontask{
    margin-top: 10px;
}

.commentintask{
    margin-top: 5px;
    padding: 10px 10px 5px 15px;
    border-top:1px solid black;
    border-top:1px solid black;
}

.ihidden{
    display: none;
}

#editexediv, #editduedatediv, #tbodyform_edit, #tnameform_edit{
    display: none;
}

.b{
    font-weight: bold;
}

.f-red{
    color: #D2042D;
}

.switches{
    font-size: 1rem;
    background: white;
    padding:3px;
    border-radius: 5px;
}

.divnicegroup{
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: 0.375rem;
}

.divnicegroup-item{
    padding: 5px 10px;
    color: #212529;
    text-decoration: none;
    background-color: white;
    border: 1px solid #dee2e6;
}
.divnicegroup-item:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.divnicegroup-item:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.btn-tiny{
    padding:0.15rem 0.3rem;
    font-size: 0.8rem;
    border-radius: 5px;
}

.srvlayer .icon-box{
    display: flex;
    align-items: center;
    padding: 5px;
    font-size: 16px;
}

.srvlayer .icon-box i{
    font-size: 16px;
    padding-right: 5px;
    line-height: 1;
    }


.divgroup-item{
    padding: 5px 10px;
    color: #212529;
    text-decoration: none;
    background-color: white;
    border: 1px solid #dee2e6;
}

.divgroup-fill{
    padding: 20px;
    color: #212529;
    text-decoration: none;
    background-color: whitesmoke;
    border: 1px solid #dee2e6;
    border-radius: 10px;
}

span.smallgrey{
    color: #899bbd;
    font-size: 14px;
    font-weight: 400;
}

.card-image{
    background-color: white;
}

.card-text{
    font-size: 15px;
}

.card-text p{
    margin-bottom: 0px;
}

.image-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container and is cropped as necessary */
    border-radius: unset;
}

.commentheader{
    border-bottom: 1px dashed black;
    padding-bottom: 10px;
}

.f-green{
    color: #097969;
}


/*Responsive table*/
table.resp {
    border: 1px solid #ddd;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;

}

table.resp tbody,
table.resp tfoot,
table.resp tr,
table.resp td,
table.resp th {
    border-width: 0;
}

table.resp thead{
    border: 1px solid #ddd;
}

table.resp tr {
    border: 1px solid #ddd;
    padding: .35em;

}

table.resp th,
table.resp td {
    padding: .625em;
    text-align: left;
    border-width: 0;
}

table.resp th {
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
    background-color: #f8f8f8;
    border-width: 0;
}


.imgfit150{
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.h3offer{
    font-size: 16px;
}

@media screen and (max-width: 600px) {
    table.resp {
        border: 1px solid #ddd;
    }

    table.resp thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table.resp tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    table.resp td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
    }

    table.resp td::before {
        /*
        * aria-label has no advantage, it won't be read inside a table
        content: attr(aria-label);
        */
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    table.resp td:last-child {
        border-bottom: 0;
    }
}
/*Responsive table end*/

.thank-you-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}
.thank-you-card {
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}
.thank-you-title {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}
.thank-you-message {
    font-size: 1.2rem;
    margin-top: 20px;
    color: #6c757d;
}
.thank-you-button {
    margin-top: 30px;
}

/*Телефоны*/
@media (max-width: 991px) {
    .mtr-0 {
        margin-top: 0 !important;
    }

    .mtr-1 {
        margin-top: 0.25rem !important;
    }

    .mtr-2 {
        margin-top: 0.5rem !important;
    }

    .mtr-3 {
        margin-top: 1rem !important;
    }

    .mtr-4 {
        margin-top: 1.5rem !important;
    }

    .mtr-5 {
        margin-top: 3rem !important;
    }
    .switches{
        font-size: 0.8rem;

    }
}

.h1ilead{
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 10px;
    color: var(--gold-text);
}

.h1ileadbig{
    font-size: 45px;
    line-height: 50px;
    margin-bottom: 10px;
    color: var(--gold-text);
}

.h1ileadbig span{
    color: var(--primary);
}

.h2ilead{
    font-size: 24px;
    line-height: 34px;
    margin-bottom: 5px;
    color: var(--primary-light);
}

.h3ilead{
    font-size: 22px;
    line-height: 26px;
    margin-bottom: 5px;
    color: var(--blue-text);
}

.list-ilead{
    list-style-type: none;
    padding-left: 5px;
    line-height: 30px;
}

@media (max-width: 768px) {
    .h1ileadbig {
        font-size: 35px;
        text-align: center;
        line-height: 45px;
    }
}

.joinmain{
    min-height: 450px;
}

.youget{
    background-color: #e8d3b2; /* Background color */
    background-image: url("/img/amina2.png"); /* Background image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-position: calc(100% - 200px) center; /* Adjust horizontal position */
    background-size: auto; /* Control the size of the background image */
    padding-left: 120px;
    min-height: 300px;
    border-radius: 20px; /* Adds rounded corners */
}

@media (max-width: 991px) {
    .youget {
        background-image: none; /* Remove background image */
        padding-left: 5px;
        min-height: auto;
        border-radius: 0px; /* Removes rounded corners */
        display: block; /* Switch to block layout to stack content */
    }

    /* Adding the image separately for the media query */
    .youget::after {
        content: '';
        display: block;
        background-image: url("/img/amina2.png"); /* Add the image */
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain; /* Maintain the aspect ratio without distortion */
        width: 100%; /* Full width image */
        height: auto; /* Keep the natural height */
        padding-top: 56.25%; /* 16:9 aspect ratio (you can adjust this based on your image) */
    }
}

.yougetad{
    background-color: #D2042D; /* Background color */
    background-image: url("/img/amina2lgvert.png"); /* Background image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-position: calc(100% - 200px) center; /* Adjust horizontal position */
    background-size: auto; /* Control the size of the background image */
    padding-left: 120px;
    min-height: 300px;
    border-radius: 20px; /* Adds rounded corners */
}

.yougetad .h3ilead{
    color: white;
}

.yougetad div{
    color: white;
}

.yougetad i{
    color: white;
}

.yougetad ul{
    color: white;
}
.yga-text {
    color: #fff;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Легкая тень для выделения */
}

.yga-description {
    color: #fff;
    font-size: 1.2em;
    max-width: 600px;
    line-height: 1.5;
}

.ilead-cta {
    color: red;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5); /* Легкая тень для выделения */
    padding: 20px 0px;
}

.ilead-cta a {
    color: #003366; /* or any other recommended color */
    text-decoration: underline; /* Optional: add underline for links */
    /*text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); !* Легкая тень для выделения *!*/
}

.ilead-cta a:hover {
    color: #FF5733; /* Change to a bright color on hover */
    text-decoration: underline; /* Underline on hover for emphasis */
}

@media (max-width: 991px) {
    .yougetad {
        background-image: none; /* Remove background image */
        padding-left: 5px;
        min-height: auto;
        border-radius: 0px; /* Removes rounded corners */
        display: block; /* Switch to block layout to stack content */
    }

    /* Adding the image separately for the media query */
    .yougetad::after {
        content: '';
        display: block;
        background-image: url("/img/amina2.png"); /* Add the image */
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain; /* Maintain the aspect ratio without distortion */
        width: 100%; /* Full width image */
        height: auto; /* Keep the natural height */
        padding-top: 56.25%; /* 16:9 aspect ratio (you can adjust this based on your image) */
    }
}