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: 130px; }


.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;
}






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 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;

    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;
    top: 5px;
}



.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: #b8c9df;

}





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;
}
/* ===== Overlay ===== */
.sozModal{
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;

  display: none;        /* JS: display:flex қылады */
  align-items: center; justify-content: center;

  padding: 16px;
  background: rgba(17,24,39,0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 2000;
}

/* ===== Card ===== */
.sozCard{
  background:#fff; color:#111827;
  width: min(1000px, 94vw);
  max-height: 92vh;              /* ішінде скрол */
  border-radius:16px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  overflow:hidden;               /* header бөлек, body бөлек */
}

/* Header */
.sozCard__header{
  position: relative;
  display:flex; align-items:center; justify-content:flex-start;
  gap: 8px;
  padding:14px 18px;
  background:#2e5080; color:#fff;
  border-bottom:1px solid rgba(0,0,0,.05);
}
.sozCard__header h3{ margin:0; font-size:18px; font-weight:700; }

/* Close: панельдің оң-жоғары бұрышы */
.sozCard__close{
  position:absolute; top:10px; right:12px;
  width:36px; height:36px;
  border:0; border-radius:8px;
  background:rgba(255,255,255,.15); color:#fff; font-size:20px;
  display:inline-flex; align-items:center; justify-content:center;
  cursor:pointer; line-height:1; z-index:10;
}
.sozCard__close:hover{ background:rgba(255,255,255,.25); }

/* Body: тек ішкі контент скролдансын (скролбар көрсетпейміз) */
.sozCard__body{
  overflow:auto;
  max-height: calc(92vh - 56px);   /* header биіктігін шегеру */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 18px;
}
.sozCard__body::-webkit-scrollbar{ width:0; height:0; }
.sozCard__body{ scrollbar-width: none; }

/* Бөлім атауы */
.sozSectionTitle{
  font-size:18px; margin: 6px 0 10px; color:#34495e;
}

/* Кестелер – десктоп */
.setka{ width:100%; border-collapse: collapse; background:#fff; }
.setka thead th{
  background:#2e5080; color:#fff; text-align:left; padding:10px;
  border:1px solid #1f3554;
}
.setka tbody td{
  background:#f8fafc; color:#111827; padding:10px;
  border:1px solid #e5e7eb; vertical-align: top;
}

/* ===== Мобиль (≤600px): бағандарды тікке айналдыру ===== */
@media (max-width:600px){
    
    .sozCard__close {
        top: 0px;
        right: 0px;
    }
  /* thead жасырамыз; әр жол — «карточка» */
  .setka thead{ display:none; }
  .setka tbody tr{
    display:block; margin: 0 0 12px 0; border:1px solid #e5e7eb;
    overflow:hidden; background:#fff;
  }
  .setka tbody td{
    display:block; border:none; border-top:1px solid #eef2f7; padding:10px 12px;
  }
  /* Фонетика-фонология: 1-баған — әріп (title), 2-3-4 — тік */
  .setka--phon tbody td:nth-child(1){
    background:#eff6ff; font-weight:700; font-size:16px;
  }
  .setka--phon tbody td:nth-child(2)::before{
    content:"Жасалым"; display:block; font-weight:700; color:#34495e; margin-bottom:4px;
  }
  .setka--phon tbody td:nth-child(3)::before{
    content:"Айтылым"; display:block; font-weight:700; color:#34495e; margin-bottom:4px;
  }
  .setka--phon tbody td:nth-child(4)::before{
    content:"Естілім"; display:block; font-weight:700; color:#34495e; margin-bottom:4px;
  }

  /* Просодика: 1-2-3 баған да тік */
  .setka--pros tbody td:nth-child(1)::before{
    content:"Орфоэпия"; display:block; font-weight:700; color:#34495e; margin-bottom:4px;
  }
  .setka--pros tbody td:nth-child(2)::before{
    content:"Тембр"; display:block; font-weight:700; color:#34495e; margin-bottom:4px;
  }
  .setka--pros tbody td:nth-child(3)::before{
    content:"Буын"; display:block; font-weight:700; color:#34495e; margin-bottom:4px;
  }

  .sozCard{ width:96vw; border-radius:12px; }
  .sozCard__body{ padding:14px; max-height: calc(92vh - 56px); }
}

/* Қалауыңызбен: модал ашылғанда артқы парақ скролын құлыптау үшін */
.body-locked{ overflow:hidden !important; touch-action:none; }
.body-locked--fixed{ position:fixed; width:100%; }




.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;
    
    
}


/* === Overlay (фон) === */
.authorContainerTest{
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;

  display: none;        /* JS: display:flex қылады */
  align-items: center; justify-content: center;

  padding: 24px;
  background: rgba(17,24,39,0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 2000;
}

/* === Card === */
.authorCard{
  background:#fff; color:#111827;
  width: min(1000px, 92vw);
  max-height: min(90vh, 940px);              /* карта өте биік болса да тасымау */
  border-radius:16px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  overflow:hidden;                           /* бас/дене бөлек скролдансын */
}

/* Header */
.authorCard__header{
  position: relative;
  display:flex; align-items:center; justify-content:flex-start;
  gap: 8px;
  padding:14px 18px;
  background:#2e5080; color:#fff;
  border-bottom:1px solid rgba(0,0,0,.05);
}
.authorCard__header h3{ margin:0; font-size:18px; font-weight:700; }

/* Close — оң жақ жоғары */
.authorCard__close{
  position:absolute; right:5px;
  width:36px; height:36px; border:0; border-radius:8px;
  background:rgba(255,255,255,.15); color:#fff; font-size:20px;
  display:inline-flex; align-items:center; justify-content:center;
  cursor:pointer; line-height:1;
}
.authorCard__close:hover{ background:rgba(255,255,255,.25); }

/* Body layout */
.authorCard__body{
  display:grid; gap:20px; padding:20px;
  grid-template-columns:300px 1fr;           /* сурет + ақпарат */
  overflow:auto;                             /* ішкі скрол (смартфонда да) */
  max-height: calc(90vh - 64px);             /* хедерді алып тастау */
}

/* Media */
.authorCard__media{
  background:#f3f4f6; border:1px solid #e5e7eb; border-radius:12px;
  min-height:240px; display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.authorCard__media img{ width:100%; height:auto; object-fit:cover; }

/* Meta grid */
.authorCard__meta{
  display:grid; gap:12px 16px; grid-template-columns:1fr 1fr;
}

/* Бір жол — «таңба + мән» */
.meta{ display:flex; flex-direction:column; gap:4px; }
.meta--wide{ grid-column:1 / -1; }
.meta .label{
  font-size:12.5px; color:#6b7280;
  letter-spacing:.2px;
}
.meta .value{                                  /* мәндерге unified стиль */
  font-size:15.5px; font-weight:600; color:#111827;
  white-space:normal; word-break:break-word;
}

/* Егер .value класс бермесеңіз — соңғы div-ті стильдеу */
.authorCard__meta .meta > div:last-child{ font-size:15.5px; font-weight:600; color:#111827; }

/* Tablet */
@media (max-width:1024px){
  .authorCard{ width:min(760px,94vw); }
  .authorCard__body{ grid-template-columns:1fr; } /* сурет үсті, мәтін асты */
  .authorCard__meta{ grid-template-columns:1fr; }
}

/* Small phones */
@media (max-width:420px){
  .authorCard{ width:96vw; border-radius:12px; }
  .authorCard__body{ padding:14px; gap:14px; max-height: calc(92vh - 56px); }
}

/* Body lock (артқы скролды құлыптау) */
.body-locked{
  overflow:hidden !important;
  touch-action:none;
}

/* iOS үшін қосымша: құлып кезінде контент секірмесін */
.body-locked--fixed{
  position: fixed; width:100%;
}



/* === Overlay === */
.videoContainerTest{
  position: fixed;      /* fixed — әрқашан экранға қатысты */
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;

  display: none;        /* JS: display:flex қылады */
  align-items: center; justify-content: center;

  padding: 16px;
  background: rgba(17,24,39,0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 2000;
}

/* === Card === */
.videoCard{
  background:#fff; color:#111827;
  display: flex; flex-direction: column;
  width: min(1000px, 96vw);
  max-height: 92svh;           /* ішінде скрол */
  border-radius:16px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  overflow:hidden;
}

/* Header */
.videoCard__header{
  position: relative;
  display:flex; align-items:center; justify-content:flex-start;
  padding:14px 18px; background:#2e5080; color:#fff;
}
.videoCard__header h3{ margin:0; font-size:18px; font-weight:700; }

/* Жабу батырмасы */
.videoCard__close{
  position:absolute; right:12px;
  width:36px; height:36px; border:0; border-radius:8px;
  background:rgba(255,255,255,.15); color:#fff; font-size:20px;
  display:inline-flex; align-items:center; justify-content:center;
  cursor:pointer;
}
.videoCard__close:hover{ background:rgba(255,255,255,.25); }

/* Body layout — ішінде скрол */
.videoCard__body{
  flex: 1 1 auto;
  min-height: 0;
  overflow:auto;
  -webkit-overflow-scrolling: touch; /* iOS smooth */
  overscroll-behavior: contain;
  display:grid; gap:20px; padding:20px;
  grid-template-columns: 1fr 1fr;   /* сол — видео, оң — мәтін */
}

/* Media (video) */
.videoCard__media{
  background:#0b1220; border:1px solid #0b1220; border-radius:12px;
  min-height:240px; display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.videoCard__media video{ width:100%; height:auto; display:block; }

/* Text */
.videoCard__text{
  background:#f8fafc; border:1px solid #e5e7eb; border-radius:12px;
  padding:16px; font-size:15.5px; line-height:1.6;
  color:#111827; white-space:normal; word-break:break-word;
}

/* Tablet/phone */
@media (max-width:1024px){
  .videoCard{ width:min(760px,94vw); }
  .videoCard__body{ grid-template-columns:1fr; }
}

/* Small phones */
@media (max-width:420px){
  .videoCard{ width:96vw; border-radius:12px; }
  .videoCard__body{ padding:14px; gap:14px; }
  .videoCard__media video{ max-height:45svh; }
}



.metodanihToliqIshi {
    position: fixed;
    z-index: 5;
    width: 80%;
    height: 60%;
    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;
  }
















/* PHONE/TABLET ≤1024px — ықшам өлшемдер */
@media only screen and (max-width: 1024px) {
    
    .fa {
        
        font-size: 44px;
    }
  /* iOS Safari мәтінді авто-үлкейтпеуі үшін */
  html { -webkit-text-size-adjust: 100%; }

  /* Тіл ауыстырғыш: тым үлкен емес */
  .language-switcher a { font-size: 18px; padding: 8px 12px; }

  /* Бургер телефонда бар */
  #burger-menu {
    display: block;
    font-size: 24px;
    position: absolute; top: 15px; right: 20px; z-index: 100;
    cursor: pointer;
  }

  /* Сайд-меню (жасырынды) */
  #customNav-nav-container-base {
    display: none;
    position: absolute; right: 0; top: 0;
    height: 100%; width: 80%;
    background-color: #2e5080;
    box-shadow: 0 4px 8px rgba(0,0,0,.2);
    z-index: 99;
  }
  #customNav-nav-container-base ul { display: flex; flex-direction: column; padding: 0; }
  #customNav-nav-container-base li { border-bottom: 1px solid #ddd; width: 100%; }
  #customNav-nav-container-base li a { display: block; font-size: 18px; padding: 12px 16px; }

  .customNav-dropdown-toggle-base,
  .customNav-nav-link-base { font-size: 18px; }

  /* Форма */
  .rowFilter {
    background-color: #fff;
    display: flex; flex-direction: column;
  }
  .form-group { display: flex; }
  .form-control,
  input { font-size: 16px; } /* <16px болса iOS фокус кезінде zoom жасайды */

  button { margin: 10px; font-size: 18px; padding: 10px 20px; }

  /* Select/Chosen */
  .select { width: 100%; margin: 10px 0; }
  .select select {font-size: 17px; padding: 6px 10px; width: 100%; box-sizing: border-box; }
  .chosen-container { width: 100% !important; }
  .chosen-container .chosen-single {
    font-size: 18px !important; height: 44px !important; line-height: 42px !important; padding: 0 12px !important;
  }
  .chosen-container .chosen-drop,
  .chosen-container .chosen-results li { font-size: 16px !important; }
  .chosen-container .chosen-single span {
    display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  }

  /* Кестені «карточка» режиміне ауыстыру, бірақ ұсақ шрифтпен */
  #authorsTable { width: 100%; display: block; }
  #authorsTable thead { display: none; }
  #authorsTable tbody { display: block; width: 100%; }
  #authorsTable tr {
    display: flex; flex-direction: column;
    border-bottom: 1px solid #ddd; padding: 10px; margin-bottom: 10px; background: #f9f9f9;
  }
  #authorsTable td {
    font-size: 16px; display: block; width: 100%; text-align: left; padding: 6px 8px; border-bottom: 1px solid #eee;
  }
  #authorsTable td:before {
    content: attr(data-label); font-weight: 600; color: #333; margin-bottom: 4px; display: block;
  }

  /* Ұзын элементтер жолдан асып кетпеуі үшін */
  .rowFilter { gap: 10px; }
  .rowFilter .select { min-width: 0; } /* flex overflow fix */
}


/* Десктопты бекіту: 1200px+ барлық құрылғыда (соның ішінде 1280×720 панель) */
@media (min-width: 1200px) {
  #burger-menu { display: none !important; }

  /* Навигация — қатарда, сайд-меню емес */
  #customNav-nav-container-base {
    display: block !important;
    position: static !important;
    height: auto !important;
    width: auto !important;
    box-shadow: none !important;
  }

  /* Кестені қайта «настоящая таблица» түріне */
  #authorsTable { display: table !important; width: 100% !important; }
  #authorsTable thead { display: table-header-group !important; }
  #authorsTable tbody { display: table-row-group !important; }
  #authorsTable tr { display: table-row !important; }
  #authorsTable td { display: table-cell !important; font-size: inherit !important; }
}


