﻿* {
    padding: 0;
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
}

body {
    overflow-x: hidden;
    background-color: #ffffff;
    --fff: #fff;
    --fff_1: #f5f5f5;
    --grey: #ddd;
    --grey_1: #dee2e6;
    --grey_2: #808080;
    --green: #299f16;
    --green_1: #4CAF50;
    --blue: #2c70dd;
    --red: #ff0000;
    --dark: #000;
    --orange: #ffc107;
    --my-box-shadow: 0px 0px 8px 5px rgba(34, 60, 80, 0.2);
    --my-box-shadow-hover: 0px 0px 8px 5px rgba(34, 60, 80, 0.4);
    color: var(--dark);
}

.wrapper {
    max-width: 1350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 5px;
    margin: 0 auto;
}

h1 {
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
}

h1 a {
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

h2 {
    margin-top: 18px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    text-decoration: underline;
}

h3 {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    padding: 30px 0;
}

h4 {
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 0;
}

.bold{
    font-weight: bold;
}

.txt_big{
    font-size: 20px;
}

.txt_red{
    color: var(--red);
}

.txt_green{
    color: var(--green);
}

.txt_underline{
    text-decoration: underline;
}

.mr-t-30{
    margin-top: 30px;
} 

 .txt_content {
    font-size: 16px;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.5;
    margin-bottom: 20px;
}

.txt_content p{
    margin-bottom: 10px;
    font-size: 16px;
}

.txt_content_img {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.txt_content_img img {
    width: 180px;
    height: auto;
    margin: 10px;
}

.txt_content ul{
    padding:0 15px;
}

.txt_content li{
    margin-left: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}

.display_none {
    display: none;
} 




/* start Р“Р›РђР’РќРђРЇ РЎРўР РђРќРР¦Рђ */
.gl_container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card_container {
    margin: 20px;
    min-width: 280px;
    width: 100%;
    max-width: 400px;
    min-height: 100px;
    padding: 0 5px;
    -webkit-box-shadow: var(--my-box-shadow);
    -moz-box-shadow: var(--my-box-shadow);
    box-shadow: var(--my-box-shadow);
}

.card_container:hover {
    -webkit-box-shadow: var(--my-box-shadow-hover);
    -moz-box-shadow: var(--my-box-shadow-hover);
    box-shadow: var(--my-box-shadow-hover);
}

.card_container a {
    text-decoration: none;
}

.card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.card img {
    max-width: 90px;
    max-height: 90px;
}

.card_text {
    padding: 0 10px;
}

.card_text h3 {
    color: var(--dark);
    font-size: 16px;
    font-weight: bold;
}

.card_text_small h3 {
    color: var(--dark);
    font-size: 16px;
    font-weight: bold;
}

@media screen and (max-width: 400px){
.card_text_small h3 {
    font-size: 12px;
}


}

/* end Р“Р›РђР’РќРђРЇ РЎРўР РђРќРР¦Рђ */

/* start menu */
.hamburger {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hamburger:hover {
    opacity: 0.8;
}

.hamburger__line {
    width: 30px;
    height: 3px;
    background: var(--dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger__line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--red);
}

.hamburger.active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--red);
}

.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 100%;
    background: var(--fff);
    transform: translateX(-100%); /* РџРѕР»РЅРѕСЃС‚СЊСЋ СЃРєСЂС‹РІР°РµРј Р·Р° СЌРєСЂР°РЅРѕРј */
    transition: all 0.3s ease;
    z-index: 99;
    padding: 70px 20px 20px;
    box-sizing: border-box; /* РЈС‡РёС‚С‹РІР°РµРј padding РІ РѕР±С‰РµР№ С€РёСЂРёРЅРµ */
    overflow-y: auto; /* Р”РѕР±Р°РІР»СЏРµРј РІРµСЂС‚РёРєР°Р»СЊРЅСѓСЋ РїСЂРѕРєСЂСѓС‚РєСѓ */
}

.nav-menu.active {
    transform: translateX(0); /* РџРѕРєР°Р·С‹РІР°РµРј РјРµРЅСЋ */
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu ul li a {
    display: block;
    padding: 10px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-menu ul li a:hover {
    background: var(--fff_1);
    padding-left: 15px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 98;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* end menu */



/* start table section*/
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--dark);
    border-collapse: collapse;
    display: table;
    text-indent: initial;
    border-spacing: 2px;
    border-color: gray;
    margin: 20px auto;
    table-layout: fixed; /* РЈСЃС‚Р°РЅР°РІР»РёРІР°РµРј С„РёРєСЃРёСЂРѕРІР°РЅРЅРѕРµ СЂР°СЃРїРѕР»РѕР¶РµРЅРёРµ РґР»СЏ СЃС‚РѕР»Р±С†РѕРІ */
}

.table a{
    text-decoration: none;
}

tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--fff);
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: rgba(0, 0, 0, .05);
}

tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}

.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid var(--grey_1);
    text-align: left;
    word-wrap: break-word;
}

table th {
    background-color: var(--blue);
    color: var(--fff);
    text-align: center; /* Р¦РµРЅС‚СЂРёСЂСѓРµРј Р·Р°РіРѕР»РѕРІРєРё */
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid var(--grey_1);
    word-wrap: break-word;
}

.table td {
    text-align: left;
}

.table th:nth-child(1),
.table th:nth-child(2),
.table td:nth-child(1),
.table td:nth-child(2) {
    width: 15%; /* РЈСЃС‚Р°РЅР°РІР»РёРІР°РµРј С€РёСЂРёРЅСѓ РїРµСЂРІС‹С… РґРІСѓС… СЃС‚РѕР»Р±С†РѕРІ */
    text-align: center;
}

.table th:nth-child(n+3),
.table td:nth-child(n+3) {
    width: auto; /* РћСЃС‚Р°Р»СЊРЅС‹Рµ СЃС‚РѕР»Р±С†С‹ Р·Р°РЅРёРјР°СЋС‚ РѕСЃС‚Р°РІС€РµРµСЃСЏ РїСЂРѕСЃС‚СЂР°РЅСЃС‚РІРѕ */
}
/* end table section*/


/* start button test */
.container_button_test{
    margin: 20px auto;
    text-align: center;
}
.button_test {
    border: 1px solid var(--blue);
    background-color: var(--blue);
    color: var(--fff);
    padding: 20px 50px;
    cursor: pointer;
    transition: 0.5s;
}

.button_test:hover {
    background-color: var(--fff);
    color: var(--blue);
    border-color: var(--blue);
}
/* end button test */

/* start question not answer */

.table_question_not_answer{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 10px 0;
    width: 100%;
}

.table_question_not_answer a{
    border: 1px solid var(--blue);
    padding: 10px 0;
    margin: 10px 0;
    width: 150px;
    text-align: center;
    color: var(--blue);
    transition: 0.5s;
    text-decoration: none;
}

.table_question_not_answer a:hover{
    background-color: var(--blue);
    color: var(--fff);
}



/* end question not answer */

/* start questions */

.large-checkbox {
    transform: scale(1.5); /* РЈРІРµР»РёС‡РёРІР°РµС‚ С‡РµРєР±РѕРєСЃ РІ 2 СЂР°Р·Р° */
    margin: 10px; /* Р”РѕР±Р°РІР»СЏРµС‚ РѕС‚СЃС‚СѓРї РґР»СЏ РєРѕСЂСЂРµРєС‚РЅРѕРіРѕ РѕС‚РѕР±СЂР°Р¶РµРЅРёСЏ */
}
.q-correct {
    background: #e8f5e9;
    border-left: 4px solid var(--green_1);
    padding: 10px;
    margin: 10px 0;
}

.q-wrong {
    background: #ffebee;
    border-left: 4px solid var(--red);;
    padding: 10px;
    margin: 10px 0;
}

.a-correct {
    color: var(--green);;
    font-weight: bold;
}

.a-wrong {
    color: var(--red);;
    text-decoration: line-through;
}

.a-txt{
    color: var(--dark);
}

.q-item {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid var(--grey);
    position: relative;
}

.q-item a{
    text-decoration: none;
}


.q-number {
    font-size: 12px;
    color: #4285f4;
    margin-bottom: 10px;
}

.q-text {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    color: var(--dark);
    text-align: justify;
}

.q-text h1{
    margin-top: 20px;
}

.ingo_attestation{
    margin-top: 10px;
}

.ingo_attestation a{
    text-decoration: none;
    color: var(--grey_2);
    font-size: 12px;
}

.a-list {
    margin-left: 20px;
    margin-top: 10px;
}


.a-correct .label,
.a-wrong .label,
.a-txt .label,
.a-item .label 
{
    font-size: 16px;
    line-height: 1.4;
}

.button_answers {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.button_question{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.button_question a{
    text-decoration: none;
}
/* РћР±С‰РёРµ СЃС‚РёР»Рё РґР»СЏ РІСЃРµС… РєРЅРѕРїРѕРє */
.btn,
.btn_next,
.rustore-button-rustore {
    height: 44px;
    /* Р¤РёРєСЃРёСЂРѕРІР°РЅРЅР°СЏ РІС‹СЃРѕС‚Р° */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 10px 20px;
    font-size: 16px;
    margin-top: 20px;
    transition: 0.5s;
    text-decoration: none;
}

/* РЎРїРµС†РёС„РёС‡РµСЃРєРёРµ СЃС‚РёР»Рё РґР»СЏ РєР°Р¶РґРѕР№ РєРЅРѕРїРєРё */
.btn {
    background: var(--blue);
    color: var(--fff);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--fff);
    color: var(--blue);
    border: 1px solid var(--blue);
}

.btn_next {
    background: var(--fff);
    border: 1px solid var(--grey_2);
    color: var(--grey_2);
}

.btn_next:hover {
    background: var(--grey_2);
    color: var(--fff);
}

.rustore-button-rustore {
    background: var(--blue);
    color: var(--fff);
    font-weight: bold;
    margin-left: 20px;
}

.rustore-button-rustore:hover {
    color: var(--blue);
    background: var(--fff);
    border: 1px solid var(--blue);
}

.rustore-icon-rustore {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--blue);
}

.rustore-icon-rustore:hover {
    color: var(--blue);
}

small {
    color: var(--grey_2);
    font-style: italic;
}


@media (max-width: 600px) {

    .button_question {
        flex-direction: column-reverse;
    }

    .button_answers {
        flex-direction: column;
    }

    .button_question_item {
        flex-direction: column;
    }

    .rustore-button-rustore {
        margin-left: 0px;
    }
}

/* end questions */

/* start timer */
.timer {
    position: fixed; /* Р—Р°РєСЂРµРїР»СЏРµС‚ СЌР»РµРјРµРЅС‚ */
    top: 10px; /* РћС‚СЃС‚СѓРї СЃРІРµСЂС…Сѓ */
    right: 10px; /* РћС‚СЃС‚СѓРї СЃРїСЂР°РІР° */
    background-color: rgba(255, 255, 255, 0.8); /* РџРѕР»СѓРїСЂРѕР·СЂР°С‡РЅС‹Р№ С„РѕРЅ */
    padding: 10px; /* РћС‚СЃС‚СѓРїС‹ РІРЅСѓС‚СЂРё Р±Р»РѕРєР° */
    border-radius: 5px; /* РЎРєСЂСѓРіР»РµРЅРЅС‹Рµ СѓРіР»С‹ */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* РўРµРЅСЊ */
    font-size: 22px; /* Р Р°Р·РјРµСЂ С‚РµРєСЃС‚Р° */
    color: var(--red); /* Р¦РІРµС‚ С‚РµРєСЃС‚Р° */
    font-weight: bold; /* РџРѕР»СѓР¶РёСЂРЅС‹Р№ С‚РµРєСЃС‚ */
}

/* end timer */

/* start modal */

.modal {
    display: none; /* РЎРєСЂС‹С‚СЊ РјРѕРґР°Р»СЊРЅРѕРµ РѕРєРЅРѕ РїРѕ СѓРјРѕР»С‡Р°РЅРёСЋ */
    position: fixed; /* РћСЃС‚Р°РµС‚СЃСЏ РЅР° СЌРєСЂР°РЅРµ РґР°Р¶Рµ РїСЂРё РїСЂРѕРєСЂСѓС‚РєРµ */
    z-index: 1; /* РџРѕРјРµСЃС‚РёС‚СЊ РїРѕРІРµСЂС… РґСЂСѓРіРёС… СЌР»РµРјРµРЅС‚РѕРІ */
    left: 0;
    top: 0;
    width: 100%; /* РџРѕР»РЅР°СЏ С€РёСЂРёРЅР° СЌРєСЂР°РЅР° */
    height: 100%; /* РџРѕР»РЅР°СЏ РІС‹СЃРѕС‚Р° СЌРєСЂР°РЅР° */
    overflow: auto; /* РџСЂРѕРєСЂСѓС‚РєР°, РµСЃР»Рё РЅРµРѕР±С…РѕРґРёРјРѕ */
    background-color: rgb(0,0,0); /* Р§РµСЂРЅС‹Р№ С„РѕРЅ */
    background-color: rgba(0,0,0,0.4); /* Р§РµСЂРЅС‹Р№ С„РѕРЅ СЃ РїСЂРѕР·СЂР°С‡РЅРѕСЃС‚СЊСЋ */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% СЃРІРµСЂС…Сѓ Рё Р°РІС‚Рѕ РїРѕ Р±РѕРєР°Рј */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* РЁРёСЂРёРЅР° РјРѕРґР°Р»СЊРЅРѕРіРѕ РѕРєРЅР° */
    max-width: 600px; /* РњР°РєСЃРёРјР°Р»СЊРЅР°СЏ С€РёСЂРёРЅР° */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* end modal */


/* Стиль для area_attestation в таблице секций */
.area-attestation {
    font-size: 10px;
    font-weight: bold;
    color: #1c80d1;
    display: block;
}

/* area_attestation в h1 */
.h1-area {
    font-size: 14px;
    font-weight: normal;
    color: #666;
}


/* Изображение в вопросе */
.question-image {
    text-align: center;
    margin: 10px 0;
}
.question-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* --- Вопросы на упорядочивание --- */
.ordering-hint {
    font-size: 12px;
    font-style: italic;
    color: #999;
}
.ordering-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 6px;
    background: #fff;
    transition: background 0.2s;
}
.ordering-label {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    background: #e8e8e8;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}
.ordering-text {
    flex: 1;
    font-size: 16px;
}
.ordering-btns {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}
.btn-order {
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    padding: 2px 8px;
    font-size: 10px;
    line-height: 1.2;
    color: #555;
    transition: background 0.15s;
}
.btn-order:hover {
    background: #ddd;
}
.btn-check-order {
    margin-top: 8px;
    padding: 6px 16px;
    font-size: 14px;
}
.order-correct { }
.order-wrong { }
.order-correct-bg { background: #e6ffe6 !important; border-color: #4CAF50 !important; }
.order-wrong-bg { background: #ffe6e6 !important; border-color: #ff0000 !important; }
.order-correct .ordering-label { background: #4CAF50; color: #fff; }
.order-wrong .ordering-label { background: #ff0000; color: #fff; }

/* start favorite button */
.favorite-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-btn svg {
    color: var(--grey_2);
    transition: color 0.3s ease, fill 0.3s ease;
}

.favorite-btn .star-hole {
    fill: var(--fff);
}

.favorite-btn:hover svg {
    color: var(--orange);
}

.favorite-btn.favorite-active svg {
    color: var(--orange);
}

.favorite-btn.favorite-active .star-hole {
    fill: currentColor;
}

.question-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
/* end favorite button */

/* start shuffle link */
.nav-shuffle-link {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    color: var(--grey_2) !important;
    text-decoration: none;
}

.nav-shuffle-icon {
    width: 22px;
    height: 22px;
    fill: var(--grey_2);
    transition: transform 0.4s ease, fill 0.3s ease;
}

.nav-shuffle-link:hover .nav-shuffle-icon {
    transform: rotate(180deg);
}

.nav-shuffle-link.is-active .nav-shuffle-icon,
.nav-shuffle-link.is-active .nav-shuffle-icon g,
.nav-shuffle-link.is-active .nav-shuffle-icon path {
    fill: var(--orange) !important;
    color: var(--orange) !important;
}

.nav-shuffle-link.is-active:hover .nav-shuffle-icon path {
    fill: var(--orange) !important;
}

.nav-shuffle-link.is-active:hover .nav-shuffle-icon {
    transform: rotate(180deg);
}
/* end shuffle link */

/* start clear favorites */
.nav-clear-favorites {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    color: var(--grey_2) !important;
    text-decoration: none;
}

.nav-clear-icon {
    width: 22px;
    height: 22px;
    fill: var(--grey_2);
    transition: transform 0.3s ease, fill 0.3s ease;
}

.nav-clear-favorites:hover {
    color: var(--red) !important;
}

.nav-clear-favorites:hover .nav-clear-icon {
    fill: var(--red);
}
/* end clear favorites */

/* start menu separator */
.menu-separator {
    list-style: none;
    border-bottom: 2px solid var(--grey_2);
    margin: 10px 0;
    padding: 0;
    width: 100%;
}
/* end menu separator */

/* start footer */
.footer {
    width: 100%;
    max-width: 1350px;
    margin: 30px auto 20px;
    padding: 20px 10px;
    border-top: 1px solid var(--grey);
    text-align: center;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    margin-bottom: 15px;
}

.footer__link {
    color: var(--grey_2);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: var(--blue);
}

.footer__copy {
    color: var(--grey_2);
    font-size: 13px;
}
/* end footer */

/* start toast notification */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    max-width: 400px;
}

.toast-content {
    background: var(--fff);
    padding: 20px;
    border-radius: 6px;
    box-shadow: var(--my-box-shadow);
    position: relative;
}

.toast-close {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 22px;
    cursor: pointer;
    color: var(--grey_2);
}

.toast-close:hover {
    color: var(--dark);
}
/* end toast notification */

/* start telegram icon in menu */
.telegram-icon {
    width: 20px;
    height: 20px;
    margin-left: 8px;
    vertical-align: middle;
}
/* end telegram icon in menu */

/* start telegram link */
.telegram-link {
    color: var(--blue);
    text-decoration: none;
    font-weight: bold;
}
.telegram-link:hover {
    text-decoration: underline;
}
/* end telegram link */

/* start footer note (для страниц документов) */
.footer-note {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--fff_1);
    border-left: 5px solid var(--grey_2);
    font-size: 16px;
    line-height: 1.6;
    color: var(--grey_2);
}
/* end footer note */

/* start table link */
.table a {
    text-decoration: none;
    color: var(--blue);
    font-weight: bold;
}
/* end table link */

/* start image gallery modal */
#imageModal.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}

#imageModal .modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1010;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
}

.modal-prev,
.modal-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1010;
}

.modal-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.modal-prev {
    left: 0;
}

.modal-prev:hover,
.modal-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}
/* end image gallery modal */

/* start h4 */
h4 {
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 0;
}
/* end h4 */

/* start responsive table */
@media screen and (max-width: 768px) {
    .table {
        display: block;
        width: 100%;
    }
    .table thead,
    .table tbody,
    .table tr,
    .table th,
    .table td {
        display: block;
    }
    .table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .table tr {
        border: 1px solid var(--grey);
        margin-bottom: 1rem;
    }
    .table td {
        border: none;
        border-bottom: 1px solid var(--grey_1);
        position: relative;
        padding-left: 50%;
        text-align: right;
    }
    .table td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        content: attr(data-label);
    }
}
/* end responsive table */
