html,
body {
    width: 100%;



}

header {

    top: 0;
    width: 100%;
    z-index: 1000;
}

* { 
    padding: 0;
    margin: 0;
    box-sizing: border-box;
/*    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/

}
#burger-menu {
    display: none;
}
.container{
    margin-left: 2%;
    margin-right: 2%;
}
#h2id{
    margin-top: 130;
    display: flex;
    justify-content: center;
}


.language-switcher {
    display: flex;
}

.language-switcher a {
    font-size: 20px;
    background-color: #406f9d;
    color: white;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* Для псевдоэлементов */
    display: flex;
    align-items: center;
}

/* Флаг для KZ */
.language-switcher .lang-kz::after {
    content: "";
    background-image: url('image/kz.jpg'); /* Путь к изображению флага Казахстана */
    background-size: cover;
    width: 20px;
    height: 15px;
    margin-left: 8px;
}

/* Флаг для RU */
.language-switcher .lang-ru::after {
    content: "";
    background-image: url('image/ru.png'); /* Путь к изображению флага России */
    background-size: cover;
    width: 20px;
    height: 15px;
    margin-left: 8px;
}

/* Флаг для EN */
.language-switcher .lang-en::after {
    content: "";
    background-image: url('image/en.png'); /* Путь к изображению флага Великобритании */
    background-size: cover;
    width: 20px;
    height: 15px;
    margin-left: 8px;
}

.language-switcher a:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.language-switcher a:active {
    background-color: #003f7f;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.3);
}












.customNav-header-base {
    background-color: #34495e; /* Dark slate gray */
display: flex;
    justify-content: center;

}

.customNav-nav-menu, .customNav-nav-menu-base {
    padding-left: 0;
    list-style: none;
    text-align: center;
}

.customNav-dropdown-menu a, .customNav-dropdown-menu-base a {
    text-align: left;
}

.customNav-nav-menu li, .customNav-nav-menu-base li {
    display: inline-block;
    margin: 0 20px;
}

.customNav-nav-link, .customNav-dropdown-toggle, .customNav-nav-link-base, .customNav-dropdown-toggle-base {
    text-decoration: none;
    color: #ecf0f1; /* Light gray */
    padding: 10px 15px;
    font-weight: bold;
    display: block;
    transition: color 0.3s;
}

/* Hover effect for links */
.customNav-nav-link:hover, .customNav-dropdown-toggle:hover, .customNav-nav-link-base:hover, .customNav-dropdown-toggle-base:hover {
    color: #1abc9c; /* Soft teal */
    transition: color 0.3s;
}

/* Dropdown Menu Styling */
.customNav-dropdown-menu, .customNav-dropdown-menu-base {
    display: none;
    position: absolute;
    background-color: #2c3e50; /* Darker shade of blue */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    width: 300px;
}

.customNav-dropdown-menu a, .customNav-dropdown-menu-base a {
    color: #ecf0f1;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.customNav-dropdown-menu a:hover, .customNav-dropdown-menu-base a:hover {
    background-color: #1abc9c;
}





.menu {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu > li > a {
    margin: 0 1rem;
    overflow: hidden;
    color: white;
    font-weight: 400;
    text-decoration: none;
}

.menu-button-container {
    display: none;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu-toggle {
    display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    background-color: #fff;
    position: absolute;
    height: 4px;
    width: 30px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.menu-button::before {
    content: '';
    margin-top: -8px;
}

.menu-button::after {
    content: '';
    margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
    margin-top: 0px;
    transform: rotate(-405deg);
}



h3 {
    font-size: 20px;
    margin: 20px;
    color: white;
}




h2 {
    vertical-align: center;
    text-align: center;
}

#menu-toggle {
    display: none;
}





input {

    display: flex;
    margin: auto;
    width: 50%;
    font-size: 25px;
}



.select {
    margin: auto;
}







.select select {
    width: 100% !important; /* Устанавливаем ширину 100% */
    /*font-size: 20px !important;  Размер шрифта 20px */
    padding: 5px !important; /* Отступы внутри */
    box-sizing: border-box !important; /* Учет отступов и рамок */
}
.chosen-container {
    width: 100% !important; /* Устанавливаем ширину контейнера Chosen */
    /*font-size: 20px !important; /* Размер шрифта */
}

.chosen-container .chosen-single {
    height: auto !important; /* Устраняет ограничение по высоте */
    /*font-size: 20px !important; /* Размер шрифта для видимой части */
}
    
    .select {
    width: 100%; /* Родительский контейнер должен быть 100% */
        margin: 10px;
}

.select select {
    width: 100%; /* Устанавливаем одинаковую ширину для всех select */
    /*font-size: 20px; /* Размер шрифта 20px */
    padding: 5px; /* Добавляем отступы для внутреннего содержания */
    box-sizing: border-box; /* Учитываем отступы и рамки */
}

.chosen-container {
    width: 100% !important; /* Если используется Chosen, ширина контейнера */
    /*font-size: 20px !important; /* Устанавливаем размер шрифта */
}

.chosen-container .chosen-single {
    font-size: 20px !important;
    height: 30px !important; /* Увеличиваем высоту */
    line-height: 20px !important; /* Выравниваем текст */
    padding: 5px 10px !important; /* Добавляем отступы */
}







.rowSearch {
    margin: 5px;
    background-color: #bad1f1;
    border-style: solid;
    border-color: #161108;
    border-width: thin;
    border-top-left-radius: 5px 5px;
    border-bottom-left-radius: 5px 5px;
    border-top-right-radius: 5px 5px;
    border-bottom-right-radius: 5px 5px;

}

.rowFilter {
    display: flex;
    flex-direction: row;
    margin: 5px;
    padding: 10px;
    display: flex;
    align-items: center;
    background-color: #2e5080;
    border-style: solid;
    border-color: #a59e91;
    border-width: thin;
    border-top-left-radius: 5px 5px;
    border-bottom-left-radius: 5px 5px;
    border-top-right-radius: 5px 5px;
    border-bottom-right-radius: 5px 5px;


}

.form-control {
    display: block;
    width: 600px;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px
}

button {
    z-index: 0;
    display: flex;
    margin: auto;
    font-size: 18px;
    padding: 10px 25px;
    background-color: #2e5080; /* Bootstrap primary color */
     color: white;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 20px 20px 20px 20px; /* Only right corners rounded */
    transition: background-color 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    cursor: pointer;

/*  font-family: 'Ubuntu';*/
  padding: 12px 24px;
}

button:hover {
  background-color: #0056b3;
}




/* CSS */
.relative-button {
  position: relative;
  z-index: 0;
}



.search_panel {

margin: 10px;


}



/*
.search_panel:before,
.search_panel:after {
    z-index: -1;
    position: absolute;
    content: "";
    bottom: 15px;
    left: 10px;
    width: 50%;
    top: 80%;
    max-width: 300px;
    background: #5f5f5f;
    -webkit-box-shadow: 0 15px 10px #5f5f5f;
    -moz-box-shadow: 0 15px 10px #5f5f5f;
    box-shadow: 0 15px 10px #5f5f5f;
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    -o-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    transform: rotate(-3deg);
}

.search_panel:after {
    -webkit-transform: rotate(3deg);
    -moz-transform: rotate(3deg);
    -o-transform: rotate(3deg);
    -ms-transform: rotate(3deg);
    transform: rotate(3deg);
    right: 10px;
    left: auto;
}
*/
tbody {
    background: #e1dbd3;

}





tr{
    color: white;
}
td{
    color: black;
        border: 2px solid #cfcfcf;
}









/*

.thShow {
    height: 0.1em;

}*/

.video {
    display: grid;
    place-items: center;
    cursor: pointer;
    padding-top: 1rem;
    padding-right: 2rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
    background: #c7bead;
    border-radius: 15%;
    transition: all 0.3s ease-in;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1),
        -10px -10px 10px rgba(255, 255, 255, 0.6);
    font-size: 2.5em;
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.video .fas {
    display: grid;
    place-items: center;
    font-size: 4rem;
    color: gray;
}

.video:active {
    box-shadow: inset 10px 10px 10px rgba(0, 0, 0, 0.1),
        inset -10px -10px 10px rgba(255, 255, 255, 0.6);
}

.video:active .fas {
    color: #721efa;
}


.www {
    margin: auto;
    padding: 10px;
}



.table thead th {

    z-index: 3;
    background: #2e5080;
    border: 2px solid #121b24;
   

}

td {
    padding: 5px;
    border-bottom: 2px solid #dee2e6;
    text-align: justify;
}

.sozMetodanih {
    position: fixed;
    display: flex;
    margin: auto;
    height: 90%;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 11;
    background: #9fbddb;
    width: 80%;
    padding: 10px;
    box-shadow: 0px 0px 8px 1000px white

}



.authorMetodanih {
    position: fixed;
    display: flex;
    margin: auto;
    height: 90%;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 11;
    background: #c7bead;
    width: 98%;
    border: 1px solid;
    padding: 10px;
    box-shadow: 10px 10px 400px 400px #a59e91;

}


.closeButton {
    position: absolute;
    font-size: xx-large;
    display: flex;
    top: 2%;
    right: 1%;
    justify-content: center;
    align-items: center;
    width: 2%;
    height: 5.5%;
    z-index: 2;
    text-decoration: none;
}

.setka{
    width: 100%;
}
.authorContainer{
    
    display: none;
    
    
}


.metodanihToliqIshi {
    position: fixed;
    z-index: 5;
    width: 80%;
    height: 80%;
    display: grid;
    grid-template-columns: auto auto auto;
    background: #bad1f1;
    margin: auto;
/*    position: absolute;*/
    align-content: center;
    justify-content: center;
    align-items: start;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
  box-shadow: 0px 0px 8px 1000px #e1dbd3;
}

.metodanihSuret {

    background-color: antiquewhite;
    border: 1px solid;
    border-color: #65615b;
    padding: 10px;
    box-shadow: 5px 10px #827e75;
}

.image {

    width: 400px;
    height: 500px;
    float: right;
}

.metodanih {

    padding-left: 3%;
    float: left;
}

.metodanih_Text {

    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 30px;
    justify-content: start;
    align-items: baseline;
}


.metodanih_Text h3 {
    font-weight: normal;
    color: #6e6451;
    font-size: 16px;
}
.VideoIshi {
    z-index: 6;
    position: fixed;
        display: grid;
    grid-template-columns: auto auto auto;
    background: #a59e91;
    margin: auto;
    /*position: absolute;*/
    width: 90%;
    height: 70%;
    justify-content: center;
    align-items: center;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.VideoPlayer {

    background-color: antiquewhite;
    border: 1px solid;
    border-color: #65615b;
    padding: 10px;
    box-shadow: 5px 10px #827e75;
}
.videoButton{
font-size: 50px;
}

 
 .odd-row {
            background-color: #e8f0fe;
        }

        .even-row {
            background-color: #f9f9f9;
        }
        
        a:hover {
        cursor: pointer;
    }
        
   /*    
        .select select, .chosen-container {
    width: 200px !important; 
}
        
      
        .table {

    border-collapse: collapse;
}

.table th, .table td {
    padding: 10px;
    text-align: left;
    vertical-align: top;
    border: 2px double #34495e;
    white-space: pre-wrap; 
    word-wrap: break-word; 
}

.table th {
    text-align: center;
    color: whitesmoke;
    background-color: #f2f2f2;
}*/

/* 
.table th:nth-child(1), .table td:nth-child(1) { width: 200px; } 
.table th:nth-child(2), .table td:nth-child(2) { width: 50px; }
.table th:nth-child(3), .table td:nth-child(3) { width: 350px; } 
.table th:nth-child(4), .table td:nth-child(4) { width: 300px; } 
.table th:nth-child(5), .table td:nth-child(5) { width: 350px; }  */


/* Для видео кнопки */
.videoButton {
    display: inline-block;
    text-align: center;
    width: 100%;
}
        

        
   .orfo {
    border: 2px solid #ccc;
    padding: 10px;
    border-radius: 8px;
    background-color: #f9f9f9;
/*    font-family: Arial, sans-serif;*/
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    max-width: 600px;
    margin: 50px auto;
    margin-left: 20px;
  }

  .videoContainer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }       
       
  .closeButton {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: blue;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 50%;
  }

  .closeButton:hover {
    background-color: darkred;
  }





















@media only screen and (max-width: 1024px) {
    
    
    .language-switcher a {
    font-size: 50px;

}
    
    
    
    
    /* Стили для бургер-меню */
#burger-menu {
    display: none;
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 100;
}


    #burger-menu {
        display: block;
    }

    
    
    
    
    
    #customNav-nav-container-base {
        display: none;
        z-index: 1;
        position: absolute;
height: 100%;
        right: 0;

        background-color: #2e5080;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    #customNav-nav-container-base ul {
        flex-direction: column;
        padding: 0;
    }

    #customNav-nav-container-base ul li {
        
        
        border-bottom: 1px solid #ddd;
        width: 80%
    }

    #customNav-nav-container-base ul li a {
        display: block;
        text-decoration: none;
                font-size: 40px;
    }
    #searchDropdownBase{
        position: relative;
        width: 100%;
        
    }
    #aboutDropdownBase{
        position: relative;
        width: 100%;
        
    }
    #toolsDropdownBase{
        position: relative;
        width: 100%;
        
    }

    /* Анимация появления меню */
    .show-menu {
        display: block !important;
        animation: slideIn 0.3s ease-in-out;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    .rowFilter {

    background-color: #ffffff;
        display: flex;
    flex-direction: column;



}
    .customNav-dropdown-toggle-base, .customNav-nav-link-base {
        font-size: 35px;
    }   
    .form-group{
        display: flex;
    }
    .form-control{
        font-size: 30px;
    }
    
    button {
        margin: 10px;
        font-size: 35px;
    }
    .test{
        display: flex;
        justify-content: center;
    }
    
    #authorsTable {
        width: 100%; /* Ограничивает ширину */
        display: block;
    }

    #authorsTable thead {
        display: none; /* Убираем заголовок таблицы, если он не нужен */
    }

    #authorsTable tbody {
        display: block;
        width: 100%;
    }

    #authorsTable tr {
        display: flex;
        flex-direction: column; /* Размещаем ячейки в столбик */
        border-bottom: 2px solid #ccc;
        padding: 10px;
        margin-bottom: 10px;
        background: #f9f9f9;
    }

    #authorsTable td {
        display: block;
        width: 100%;
        text-align: left;
        padding: 8px;
        border-bottom: 1px solid #ddd;
    }

    #authorsTable td:before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        color: #333;
        margin-bottom: 5px;
    }
    
    #authorsTable tbody tr:nth-child(odd) {
    background-color: #e8f0fe; /* Серый цвет для нечетных строк */
}

#authorsTable tbody tr:nth-child(even) {
    background-color: #f9f9f9; /* Белый цвет для четных строк */
}

    
    
    .select select {
    width: 100% !important; /* Устанавливаем ширину 100% */
    /*font-size: 20px !important;  Размер шрифта 20px */
    padding: 5px !important; /* Отступы внутри */
    box-sizing: border-box !important; /* Учет отступов и рамок */
}
.chosen-container {
    width: 100% !important; /* Устанавливаем ширину контейнера Chosen */
    /*font-size: 20px !important; /* Размер шрифта */
}

.chosen-container .chosen-single {
    height: auto !important; /* Устраняет ограничение по высоте */
    /*font-size: 20px !important; /* Размер шрифта для видимой части */
}
    
    .select {
    width: 100%; /* Родительский контейнер должен быть 100% */
        margin: 10px;
}

.select select {
    width: 100%; /* Устанавливаем одинаковую ширину для всех select */
    /*font-size: 20px; /* Размер шрифта 20px */
    padding: 5px; /* Добавляем отступы для внутреннего содержания */
    box-sizing: border-box; /* Учитываем отступы и рамки */
}

.chosen-container {
    width: 100% !important; /* Если используется Chosen, ширина контейнера */
    /*font-size: 20px !important; /* Устанавливаем размер шрифта */
}

.chosen-container .chosen-single {
    font-size: 40px !important;
    height: 50px !important; /* Увеличиваем высоту */
    line-height: 40px !important; /* Выравниваем текст */
    padding: 5px 10px !important; /* Добавляем отступы */
}

.chosen-container .chosen-drop {
    font-size: 20px !important;
}

.chosen-container .chosen-results li {
    font-size: 20px !important;
}    

    #SuhbatBerushyBox_chosen, #SozStiliBox_chosen, #LingvoaleumettikBox_chosen, #TaqyrybyBox_chosen, #TuratynAimagyBox_chosen{
            height: 50px !important;
    }
    
    
    
    .closeButton{
        width: 70px;
    } 
    .metodanihToliqIshi {
    position: fixed;
    z-index: 5;
    width: 90%;
    height: 80%;
    display: flex;
        flex-direction: column;
    background: #bad1f1;
    margin: auto;
    align-items: center;


}
    .metodanih{
        display: flex;
        flex-direction: column;
      padding-left: 0%;  
    }
    
    .metodanih_Text {
        font-size: 30px;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 65px;
    justify-content: start;
    align-items: baseline;
}
    .metodanih_Text h3 {
        
        font-size: 33px;
    }
    
    .metodanihSuret {
        margin: 10px;
    }
    .sozMetodanih {
        width: 90%;
    }

}

