@font-face {
    font-family: Hero;
    src: url(Hero-Regular.otf);
  }

.parent {
  position: relative;
}

div.copyright {
  position: absolute;
  width: 100%;
    color: black;
    /* line-height: 40px; */
    font-size: 0.7em;
  text-align: center;
  bottom:0;
}

.absolute {
  position: absolute;
  bottom: 10px;
}

.input-100 {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid rgb(241	226	219);
    border-radius: 6px;
    font-size: 16px;
  }

.button-100 {
    background-color: rgb(28	65	101	);
    border: none;
    color: white;
    padding: 15px 0 15px 0;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    width: 100%;
    border-radius: 6px;
    transition-duration: 0.4s;
    background-color: rgb(85, 145, 210);
  }

.button-100:hover {
    background-color: rgb(50, 113, 176);
}

.sidenav-button {
  background-color: rgb(57, 63, 63);
  border: none;
  color: white;
  padding: 15px 0 15px 20px;
  font-family: 'Hero', sans-serif;
  text-align: left;
  text-decoration: none;
  font-size: 16px;
  width: 100%;
  margin-right: 30px;
  transition-duration: 0.4s;
}

.sidenav-button:hover {
  background-color: rgb(245, 238, 236);
  color: black;
}

.button-white {
  text-decoration: none;
  color: #228fdb;
  background-color: #fff;
  border: 2px solid #228fdb;
  text-align: center;
  cursor: pointer;
  outline: 0;
  border-radius: 5px;
  display: inline-block;
  padding: 0 15px;
  vertical-align: middle;
  font-size: 100%;
  line-height: 200%;
  /* font-family: 'Roboto Condensed', sans-serif; */
  font-weight: 300;
  transition: 0.2s ease-in;
  padding: 10px;
}

.button-white:hover {
  text-decoration: none;
  color: #fff;
  background-color: #228fdb;
  border: 2px solid #228fdb;
  text-align: center;
  cursor: pointer;
  outline: 0;
  border-radius: 5px;
  display: inline-block;
  padding: 0 15px;
  vertical-align: middle;
  font-size: 100%;
  line-height: 200%;
  /* font-family: 'Roboto Condensed', sans-serif; */
  font-weight: 300;
  transition: 0.2s ease-in;
  padding: 10px;
}

table.customfield {
  border-collapse: collapse;
  width: 100%;
}

td.customfield, th.customfield {
  border-bottom: 1px solid #dddddd;
  text-align: left;
  padding: 16px;
}

tr.customfield {
  padding: 15px;
}

/* Table */
#table2 {
  border-collapse: collapse;
  width: 100%;
}

#table2 td,
#table2 th {
  border: 1px solid #ddd;
  padding: 8px;
}

#table2 tr {
  background-color: white
}

#table2 tr:nth-child(even) {
  background-color: rgb(245, 245, 245);
}

#table2 tr:hover {
  background-color: #ddd;
}

#table2 th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #0066AE;
  color: white;
}

/* Manager Table */
#manager-table {
  border-collapse: collapse;
}

/* #manager-table td,
#manager-table th {
  border: 1px solid #ddd;
  padding: 8px;
}

#manager-table tr {
  background-color: white
}

#manager-table tr:nth-child(even) {
  background-color: rgb(245, 245, 245);
}

#manager-table tr:hover {
  background-color: #ddd;
}

#manager-table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #0066AE;
  color: white;
} */

.pagination {
  display: inline-block;
}

.pagination a {
  color: #218FDB;
  background-color: #FFFFFF;
  float: left;
  padding: 7px 10px;
  text-decoration: none;
  border-radius: 4px;
  margin-right: 9px;
  box-shadow: 0px 1px 1px 1px rgba(34, 60, 80, 0.2);
}

.pagination a:visited {
  color: #218FDB;
  /* color: black;
  background-color: #E7E6E7; */
  float: left;
  padding: 7px 10px;
  text-decoration: none;
  border-radius: 4px;
  margin-right: 9px;
  box-shadow: 0px 1px 1px 1px rgba(34, 60, 80, 0.2);
}

.pagination a.active {
  background-color: #0066AE;
  color: white;
  border-radius: 4px;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
  border-radius: 4px;
}  

.mob-att-table {
  font-size: 0.49rem;
  font-weight: bold;
}

.mob-att-table-rep {
  font-size: 0.3rem;
  font-weight: bold;
}

.examresultfalse {
  border-radius: 4px;
  background-color: #2090DB;
  padding: 8px 8px 8px 8px;
  color: white;
  width: 74px;
}

.examresulttrue {
  border-radius: 4px;
  background-color: #05AA6D;
  padding: 8px 8px 8px 8px;
  color: white;
  width: 74px;
}

.percentresult {
  border-radius: 4px;
  background-color: #FFE4E9;
  padding: 8px 8px 8px 8px;
  width: 74px;
}


/* Оптимизированный CSS для поиска */
.search {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  background-color: white;
  padding: 12px 20px;
  margin-bottom: 5px;
  /* Фиксируем положение */
  /* position: sticky; */
  top: 0;
  z-index: 10;
}

/* Search Select Questions */
ul.ulsearch {
  counter-reset: li;
  list-style: none;
  padding: 0;
  color: white;
  /* Фиксируем высоту и добавляем прокрутку */
  height: calc(100% - 60px); /* Вычитаем высоту заголовка и поля ввода */
  overflow-y: auto;
  will-change: transform;
  contain: content;
  /* Улучшение для мобильных */
  -webkit-overflow-scrolling: touch;
}

ul.ulsearch a {
  position: relative;
  display: block;
  padding: .5em .8em;
  margin: .5em 0;
  background: #D3D4DA;
  color: black;
  text-decoration: none;
  font-size: 1.2rem;
  /* Заменяем all на конкретные свойства */
  transition: opacity 0.3s ease;
  backface-visibility: hidden;
}

ul.ulsearch a:hover {
  background: #e4e5eb;
}

/* Новый класс для скрытых элементов */
.li-hidden {
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: scaleY(0) !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

/* Контейнер для контента */
.content-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 20px 20px;
  box-sizing: border-box;
}

.list-container {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

  .accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
  }

  .active,
  .accordion:hover {
    background-color: #ccc;
  }

  .panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  }

  /* Radio Check Switch Active */
  .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }

  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }

  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }

  input:checked+.slider {
    background-color: rgb(0, 160, 0);
  }

  input:focus+.slider {
    box-shadow: 0 0 1px rgb(0, 160, 0);
  }

  input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }

  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }

  .slider.round:before {
    border-radius: 50%;
  }

  .slider-status {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: red;
    -webkit-transition: .4s;
    transition: .4s;
  }

  .slider-status:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }

  input:checked+.slider-status {
    background-color: rgb(0, 160, 0);
  }

  input:focus+.slider-status {
    box-shadow: 0 0 1px rgb(0, 160, 0);
  }

  input:checked+.slider-status:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }

  /* Rounded sliders */
  .slider-status.round {
    border-radius: 34px;
  }

  .slider-status.round:before {
    border-radius: 50%;
  }

  /* Custom my slider */
  .slider-on {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0, 160, 0);
    border-radius: 34px;
    -webkit-transition: .4s;
    transition: .14s;
  }

  .slider-on:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 30px;
    bottom: 4px;
    border-radius: 50%;
    background-color: white;
    -webkit-transition: .4s;
    transition: .14s;
  }

  .slider-off {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: red;
    border-radius: 34px;
    -webkit-transition: .4s;
    transition: .14s;
  }

  .slider-off:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    border-radius: 50%;
    background-color: white;
    -webkit-transition: .4s;
    transition: .14s;
  }

  .slider-none {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    -webkit-transition: .4s;
    transition: .14s;
  }

  .slider-none:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    border-radius: 50%;
    background-color: white;
    -webkit-transition: .4s;
    transition: .14s;
  }
  
  li.sidenav a {
    display: block;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
  }
  
  li.sidenav a.active {
    background-color: rgb(255, 255, 255);
    color: black;
  }
  
  li.sidenav a:hover:not(.active) {
    background-color: #555;
    color: white;
  }

  div.inline-center {
    margin-top: 20px;
  }      
  div.inline-center > * {
    vertical-align: middle;
    line-height: normal;
  }

  .input-file {
    position: relative;
    display: inline-block;
  }

  .input-file span {
      text-decoration: none;
      color: white;
      cursor: pointer;
      outline: 0;
      display: inline-block;
      padding: 10px 0 10px 20px;
      vertical-align: middle;
      font-size: 100%;
      line-height: 200%;
      font-family: 'Hero', sans-serif;
      font-weight: 300;
      transition: 0.2s ease-in;
      width: 100%;
  }

  /* .input-file span {
    text-decoration: none;
    color: #228fdb;
    background-color: #fff;
    border: 2px solid #228fdb;
    text-align: center;
    cursor: pointer;
    outline: 0;
    border-radius: 5px;
    display: inline-block;
    padding: 0 15px;
    vertical-align: middle;
    font-size: 100%;
    line-height: 200%;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    transition: 0.2s ease-in;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
} */

  .input-file input[type=file] {
    position: absolute;
    z-index: -1;
    opacity: 0;
    display: block;
    width: 0;
    height: 0;
  }
   
  /* Focus */
  /* .input-file input[type=file]:focus + span {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
  } */
   
  /* Hover/active */
  .input-file:hover span {
      text-decoration: none;
      color: black;
      background-color: rgb(245, 238, 236);
      cursor: pointer;
      outline: 0;
      display: inline-block;
      padding: 10px 0 10px 20px;
      vertical-align: middle;
      font-size: 100%;
      line-height: 200%;
      font-family: 'Hero', sans-serif;
      font-weight: 300;
      transition: 0.2s ease-in;
      width: 100%;
  }

  /* .input-file:hover span {
    text-decoration: none;
    color: #fff;
    background-color: #0066AE;
    border: 2px solid #0066AE;
    text-align: center;
    cursor: pointer;
    outline: 0;
    border-radius: 5px;
    display: inline-block;
    padding: 0 15px;
    vertical-align: middle;
    font-size: 100%;
    line-height: 200%;
    font-family: 'Hero', sans-serif;
    font-weight: 300;
    transition: 0.2s ease-in;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
} */

  /* Disabled */
  .input-file input[type=file]:disabled + span {
    background-color: #eee;
  }

  .modal-open {
    overflow: hidden
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: .5rem;
    pointer-events: none
}

.modal.fade .modal-dialog {
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out, -webkit-transform .3s ease-out;
    -webkit-transform: translate(0, -50px);
    transform: translate(0, -50px)
}

@media (prefers-reduced-motion:reduce) {
    .modal.fade .modal-dialog {
        transition: none
    }
}

.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none
}

.modal.modal-static .modal-dialog {
    -webkit-transform: scale(1.02);
    transform: scale(1.02)
}

.modal-dialog-scrollable {
    display: -ms-flexbox;
    display: flex;
    max-height: calc(100% - 1rem)
}

.modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 1rem);
    overflow: hidden
}

.modal-dialog-scrollable .modal-footer,
.modal-dialog-scrollable .modal-header {
    -ms-flex-negative: 0;
    flex-shrink: 0
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto
}

.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem)
}

.modal-dialog-centered::before {
    display: block;
    height: calc(100vh - 1rem);
    height: -webkit-min-content;
    height: -moz-min-content;
    height: min-content;
    content: ""
}

.modal-dialog-centered.modal-dialog-scrollable {
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%
}

.modal-dialog-centered.modal-dialog-scrollable .modal-content {
    max-height: none
}

.modal-dialog-centered.modal-dialog-scrollable::before {
    content: none
}

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000
}

.modal-backdrop.fade {
    opacity: 0
}

.modal-backdrop.show {
    opacity: .5
}

.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(.3rem - 1px);
    border-top-right-radius: calc(.3rem - 1px)
}

.modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5
}

.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem
}

.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: .75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(.3rem - 1px);
    border-bottom-left-radius: calc(.3rem - 1px)
}

.modal-footer>* {
    margin: .25rem
}

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll
}

@media (min-width:576px) {
    .modal-dialog {
        max-width: 500px;
        /* margin: 1.75rem auto; */
        margin: 5% auto;
    }

    .modal-dialog-scrollable {
        max-height: calc(100% - 3.5rem)
    }

    .modal-dialog-scrollable .modal-content {
        max-height: calc(100vh - 3.5rem)
    }

    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem)
    }

    .modal-dialog-centered::before {
        height: calc(100vh - 3.5rem);
        height: -webkit-min-content;
        height: -moz-min-content;
        height: min-content
    }

    .modal-sm {
        max-width: 300px
    }
}

@media (min-width:992px) {

    .modal-lg,
    .modal-xl {
        max-width: 800px
    }
}

@media (min-width:1200px) {
    .modal-xl {
        max-width: 1140px
    }
}

.fade {
  transition: opacity .15s linear
}

@media (prefers-reduced-motion:reduce) {
  .fade {
      transition: none
  }
}

.fade:not(.show) {
  opacity: 0
}

.supporttextarea {
  width: 100%;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
  font-size: 16px;
  resize: none;
  margin-top: 7px;
}

.card {
  margin: 20px;
  padding: 20px;
  width: 90%;
  border-radius: 10px;
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.2s;
}

.card:hover {
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.4);
  transform: scale(1.01);
}
.card__link,
.card__exit,
.card__icon {
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
}

.card__link::after {
  position: absolute;
  top: 25px;
  left: 0;
  content: "";
  width: 0%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.6);
  transition: all 0.5s;
}

.card__link:hover::after {
  width: 100%;
}

.card__exit {
  grid-row: 1/2;
  justify-self: end;
}

.card__icon {
  grid-row: 2/3;
  font-size: 30px;
}

.card__title {
  grid-row: 3/4;
  font-weight: 400;
  color: #ffffff;
}

.card__apply {
  grid-row: 4/5;
  align-self: center;
}

.card-3 {
  background: radial-gradient(#0080db, #0066AE);
}

.bookmark {
  display: inline-flex;
  justify-content: center;
  padding: 5px 10px;
  column-gap: 5px;
  color: #3a3d52;
  background-color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color .25s;
  align-items: center;
  box-shadow:0 0 5px rgb(0,0,.25s);
  border: 2px solid #eee;
  font-size: 14px;
}

.bookmark:hover {
  background-color: #e6e6e6;
}

.bookmark:focus i {
  animation: ribbon .25s cubic-bezier(.77 , 0 , 0.17, 1) forwards;
}

@keyframes ribbon {
  0%{
      transform: scaleY(.1);
  }
  25%{
      transform: scaleY(.1);
  }
  100%{
      color: #ed3f40;
  }

}

.nav-active {
  text-align: center;
  padding: 5px;
  border: 1px solid black;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}
.nav {
  text-align: center;
  padding: 5px;
  border: 1px solid black;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}