@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

* {
    box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    text-decoration: none;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    font-family: 'Unbounded' !important;
    font-size: 18px !important;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

:root {
    --cont: 1400px;
}

.container {
    max-width: var(--cont);
    width: calc(100% - 20px * 2);
    margin-left: auto;
    margin-right: auto;
}
/* Стили для элементов списка */
.dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
  }
  
  .dropdown-toggle {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    width: 100%;
  }
  
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    display: none;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
    columns: 2;
  }
  
  .dropdown-menu li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 15px;
  }
  
  .dropdown-menu li:hover {
    background-color: #f0f0f0;
  }
  
  .selected-value {
    margin-top: 10px;
  }
  

body.showZapis {
    overflow: hidden;
}

body.showZapis .zapis_modal {
    visibility: visible;
    opacity: 1;
}

.zapis {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.zapis{
    margin-top:16px;
}
.zapis_modal {
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    transition: .3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.zapis_form {
    max-width: 540px;
    width: 100%;
    max-height: 100%;
    z-index: 1;
    position: relative;
}

.innr_zf {
    background-color: #fff;
    padding: 35px 70px 30px;
    border-radius: 5px;
    position: relative;
}

.innr_zf>div:nth-of-type(n+3) {
    margin-top: 15px;
}

.zfh_title {
    font-size: 24px;
    font-weight: 700;
    line-height: 150%;
    margin-bottom: 25px;
}

.zf_group {
    margin-bottom: 15px;
}

.zf_group label {
    display: flex;
    font-size: 14px;
}

.zf_group input,
.zf_group textarea {
    font-family: arial;
    margin-top: 10px;
    border-radius: 5px;
    box-shadow: inset 0 0 0 1px #0003;
    padding: 0 10px 1px;
    height: 36px;
    width: 100%;
    border: 1px solid #0003;
    outline: 0;
}

.zf_group input {
    transition: .3s;
}

.zf_group input.is_invalid,
.zf_group textarea.is_invalid {
    box-shadow: inset 0 0 0 1px #f00;
}

.zf_group textarea {
    min-height: 80px;
    min-width: 100%;
    max-width: 100%;
    padding: 10px;
}

.zm_bg {
    background-color: #000a;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.zf_btn {
    height: 45px;
    margin-top: 10px;
    font-size: 16px;
    line-height: 150%;
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a5abe;
    color: #fff;
    transition: .3s;
}

.zf_btn:hover {
    opacity: .7
}

.zf_krest {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 18px;
    height: 18px;
    transition: .3s;
    cursor: pointer;
}

.zf_header {
    -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    width: 400px;
}

.zf_krest:hover {
    opacity: .5
}

.btns_wr {
    display: flex;
    justify-content: space-between;
}

.prev {
    cursor: pointer;
}

.next {
    cursor: pointer;
}

body {
    font-family: arial;
}

table {
    width: 100%;
    background-color: #fff;
}

.zapis_tb thead th {
    color: #fff;
    background-color: rgba(62, 59, 59, 0.81);
    width: calc(100% / 7);
}

.zapis_tb th {
    padding: 10px;
    border: 1px solid #19272a;
    vertical-align: middle;
}

.zapis_tb td {
    border: 1px solid #123339;
    height: 100%;
    vertical-align: middle;
    height: 80px;
}

.zapis_tb tbody tr {
    height: 80px;
}

.hours {
    text-align: center;
    color: #fff;
    background-color: #0009;
}

.hours~td {
    position: relative;
}

.yacheika {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    cursor: pointer;
    color: #777;
    text-align: center;
    vertical-align: middle;
}

.yacheika.notfree {
    cursor: default;
    background-color: #ffd7d7 !important;
}

.yacheika.my {
    cursor: default;
    background-color: #d7ffd9 !important;
}

.yacheika:hover {
    background-color: #fff;
}

.yacheika.notfree .zapis_txt.full {
    display: inline;
}

.zapis_txt {
    display: none;
}

.zapis_txt.new {
    display: block;
    position: absolute;
    visibility: hidden;
    opacity: 0;
    bottom: 30%;
    left: 50%;
    transition: .6s cubic-bezier(0, 0, 0.33, 2);
    transform: translate(-50%, 50%) scale(.8);
}

.yacheika:hover .zapis_txt.new {
    bottom: 50%;
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 50%) scale(1);
}

.yacheika.disabled {
    background-color: #0002;
    cursor: default;
}

.yacheika.disabled:hover .zapis_txt.new {
    visibility: hidden;
    opacity: 0;
}

.yacheika.my .zapis_txt.new,
.yacheika.notfree .zapis_txt.new {
    display: none;
}

.yacheika.my .zapis_txt.me,
.yacheika.notfree .zapis_txt.full {
    display: block;
    color: #222222;
    visibility: visible;
    opacity: 1;
}

.yacheika {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.zt_time_range {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    position: relative;
}

.zt_time_range span {
    cursor: pointer;
    transition: .3s;
}

.zt_time_range span:hover {
    opacity: .6;
}

.prev,
.next {
    position: absolute;
    top: 7px;
    color: #96cdff;
}
.prev {
    margin-right: 25px;
    left: 10px;
}

.next {
    margin-left: 25px;
    right: 10px;
}

.header {
    padding: 10px 16px;
    background: #555;
    color: #f1f1f1;
}

.content {
    padding: 16px;
}

.sticky {
    position: sticky;
    z-index: 100;
    top: 0;
    width: 100%;
    background: #555555;
}

.sticky+.content {
    padding-top: 73.6px;
}

.date.hide {
    display: none;
}

.logout {
    padding: 25px 25px;
    background-color: #555555;
    color: #fff !important;
    border-radius: 10px;
}

.img_logo {
    width: 188px;
    z-index: -1;
    visibility: hidden;
}

.img_logo.active {
    visibility: visible;
}

input[type='checkbox'] {
    padding: 0px;
    width: 15px;
    height: 15px;
    margin: 0;
}

table tbody tr.hidden {
    display: none;
}

table tbody tr {
    animation: opt_tr .8s;
}

@keyframes opt_tr {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.zs_rs {
    margin-top: 40px;
}

.rs_main_title {
    text-align: center;
    font-size: 36px;
    line-height: 130%;
    color: #333;
    text-decoration: underline;
    margin-bottom: 35px;
}

.rs_title {
    font-size: 25px;
    color: #333;
    margin-bottom: 15px;
    line-height: 135%;
}

.rs_text {
    font-size: 18px;
    line-height: 140%;
}

.un_span {
    font-weight: 700;
}

.zapis {
    margin-bottom: 80px;
}

.search_boxes {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.adm_log {
    margin-top: 30px;
}

.adm_log a {
    color: black;
    transition: .5s;
}

.adm_log a:hover {
    transform: scale(1);
    opacity: .7;
}

.title {
    color: black;
}

.notactive {
    margin-top: 100px;
}

.head {
    display: flex;
    justify-content: center;
}

#go-back {
    padding: 30px;
    background-color: #085294;
    color: #fff;
    max-width: 280px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .5s;
    cursor: pointer;
    font-size: 15px;
}

#go-back:hover {
    transform: scale(1.02);
}


.selected-value {
    margin-top: 10px;
}

.header_wr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 30px;
}

.header_wr span {
    font-size: 18px;
    line-height: 150%;
    font-weight: 700;
    color: #fff;
}

@media (max-width:760px) {
    .dropdown-toggle {
        font-size: 12px;
    }

    .dropdown-menu li {
        font-size: 12px;
    }
    .zf_group label {
        font-size: 12px;
    }
    .zs_head_btn {
        max-width: 200px;
        padding: 20px;
    }
    .zf_group input {
        font-size: 10px;
            font-family: 'Unbounded';
    }
    .zapis_tb td {
        font-size: 12px;
    }
    .zapis_tb th {
        font-size: 12px;
    }
    .yacheika.my .zapis_txt.me, .yacheika.notfree .zapis_txt.full {
        font-size: 12px;
    }
    .zapis_form {
        max-width: 300px;
    }

    .innr_zf {
        padding: 30px 20px;
    }

    .zfh_title {
        font-size: 17px;
        line-height: 120%;
        margin-bottom: 15px;
    }

    .header_wr {
        flex-direction: column;
    }

    .rs_title {
        text-align: center;
        font-size: 20px;
        line-height: 125%;
        margin-bottom: 10px;
    }

    .rs_text {
        font-size: 15px;
        line-height: 140%;
        margin-top: 25px;
        text-align: center;
    }

    .zs_head_btn {
        margin-top: 25px;
        padding: 20px !important;
        font-size: 14px !important;
    }

    .rs_main_title {
        font-size: 25px;
        line-height: 100%;
        margin-bottom: 25px;
    }
    .dropdown-menu {
        max-height: 200px;
        overflow-y: auto;
        columns: 1;
    }
    .ler_mr label {
        font-size: 11px !important;
        margin-left: 5px;
    }
    .ler_mr {
        align-items: center;
    }
    input[type="checkbox"] {
        width: 15px !important;
        height: 15px !important;
        padding: 8px !important;
    }
    .zf_btn {
        font-size: 12px;
    }
    .blue_bx {
        padding-bottom: 0 !important;
    }
    .next {
        right: 5px;
    }

}