/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
body{
background-color: #ffffff; /* light background color */
}
.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}
.agreement_file{
    width:100px;
    height:100px;
    margin:10px;
} 
body{
    font-size:12pt;
}
.custom-h-16pt{
    font-size:16pt;
}
.custom-h-12pt{
    font-size:12pt;
}
.custom-upload {
    background-color: #3b8cff;
    /* border: 1px solid #006400; */
    border-radius: 4px;
    cursor: pointer;
    color: #fff;
    padding: 4px 10px;
}
.custom-upload input {
    left: -9999px; 
    position: absolute;
}
#dep-errors{
    margin-left:10px;

}
.parsley-error{color:green}
.parsley-required{
    color:red;
    list-style-type: none;
}
.parsley-errors-list{
    padding-left:0;
}
.thumb{
    height:150px;
    width:auto;
    max-width:300px;
    margin:10px;
    margin-left:0px;
}
.comment-send:hover{
    background-color: #6c757d;
}
.files{
    width:auto;
    max-width:200px;
    max-height:200px;
    /* margin:10px; */
    margin-left:0px;
}
.documents_files{
    width:auto;
    max-width:100%;
    max-height:100%;
    /* margin:10px; */
    margin-left:0px;
}
.tpl_btn_small{
height:90px;
width:100px;
}
.tpl_btn_med{
    height:90px;
    width:190px;
}
.custom_margin_top16px{
    margin-top:16px;
}
.custom_margin_bottom16px{
    margin-bottom:16px;
}
.custom_margin_bottom8px{
    margin-bottom:8px;
}
.custom_margin_top28px{
    margin-top:28px;
}
.custom_margin_bottom28px{
    margin-bottom:28px;
}

.custom_color_gray {color:#999fa9;}
.custom_color_light-gray{color:#d6d9dd;}
.custom_color_orange{color:#ffb05a;}
.custom_color_red{color:#dc6b68;}
.custom_color_green{color:#479b5f;}
.custom_color_blue{color:#3b8cff;}

.custom_background_gray {background-color:#999fa9;}
.custom_background_light-gray{background-color:#d6d9dd;}
.custom_background_orange{background-color:#ffb05a;}
.custom_background_red{background-color:#dc6b68;}
.custom_background_green{background-color:#479b5f;}
.custom_background_blue{background-color:#3b8cff;}


.custombluebtn{background-color:#3b8cff;color:#fff;}
.custombluebtn:hover{background-color:#0d6efd;color:#fff;}
.approvesbtn{
    width:150px;
}
/* For desktop */
@media (min-width: 992px) {
    .height-desktop {
    height: 100px !important;
    }
    .agreement_title{
    border-left:1px #ccc solid;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    max-width:210px;
    min-width:210px;
    background-color:#999fa9;
    }
    .agreement_title{
    border-left:1px #ccc solid;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    max-width:210px;
    min-width:210px;
    background-color:#999fa9;
    }
    .agreement_title:hover{
        background-color:#808a91;
    }
    .agreement_text{
    max-width:250px;
    min-width:250px;
    border-right:1px #fff solid;
    text-overflow: ellipsis;
    background-color:#d6d9dd;
    overflow: hidden;
    border:0;
    /* border-left:8px #fff solid; */
    }

    .agreement_dep{
    max-width:175px;
    min-width:175px;
    background-color:#d6d9dd;
    }
    .agreement_status{
    max-width:160px;
    min-width:160px;
    }
    .agreement_resp{
    max-width:160px;
    min-width:160px;
    background-color:#d6d9dd;
    }
    .footer{
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: #f5f5f5;
    }
}

/* For mobile */
@media (max-width: 991.98px) {
.agreement_el {
height: 50px !important;
}
.agreement_title{
border-top:2px #f4f4f4 solid;
margin-top:5px;
background-color:#999fa9;
}
.agreement_text{
background-color:#d6d9dd;
}
.agreement_dep{
background-color:#d6d9dd;
}
.agreement_resp{
background-color:#d6d9dd;
}
#depname{
    border: 0 !important;
}
#agreementidlink{
    border: 0 !important;
}
#agreement_resp{
    border: 0 !important;
}
}


.custom-select {
    position: relative;
}
.select-options {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
}
.option {
    padding: 8px 12px;
    cursor: pointer;
}
.selected {
    background-color: #c9c9c9;
}
.option:hover {
    background-color: #e9e9e9;
}


/* новое */
.container_head{
    display: flex;
    margin-left: 50px;
    margin-right: 10px; 
    /* width: 100%; */
    height: 41px;
}

.calendar {
    /* width: 30%; */
    /* margin-top: 10px; */
    border-collapse: collapse;
    background-color:#d6d9dd;
    font-family: Arial, sans-serif;   
}
.calendar th, td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ccc; 
}
.calendar th {
    /* background-color: #6c7ae0; */
    background-color: darkgray;
    color: white;
}
.calendar td {
    height: 60px; 
}
.calendar td:hover {
    /* background-color: #6c7ae0; */
    color: white;
    cursor: pointer;
}
.calendar td:hover {
    background-color: lightblue;
}

#schedule  {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
}
#schedule th, .table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}
#schedule th {
    background-color: #f2f2f2;
}
.table{
    --bs-table-bg:none;
}
#filled {
    /* border: 1px solid darkgrey; */
    background-color: lightyellow;
    /* text-align: right; */
    /* width: 134px; */
    height: 54px;
}
#not_filled {
    /* width: 134px; */
    height: 54px;
}
#employee{
    text-align: left;
    width: 600px;
}
.flex-container {
    display: flex;
}
.container {
    display: flex;
    /* flex-direction: column; */
    /* flex: 1;  */
    /* margin-right: 10px; */
    position: sticky;
    top: 10px;
    z-index: 1;
    /* padding: 10px; Отступы для удобства */
}
/* .fixed-calendar { */
    /* position: relative; */
     /* position: fixed; */
    /* top: 120px; */
    /* right: 0px;   */
    /* z-index: 1000; */

    /* flex-grow: 1; */
    /* padding: 20px; */
/* } */
.open_shift {
    color:green;
    border: 1px solid green;
    padding: 3px;
    margin-right: 5px;
    /* border-radius: 8%; */
    background-color: #d1e7dd;
}
.close_shift {
    color:red;
    border: 1px solid red;
    padding: 3px;
    /* border-radius: 8%; */
    background-color: #f8d7da;
}
.container_journal{
    display: flex;
    margin-left: 50px;
    margin-right: 10px; 
    /* width: 100%; */
}
.flex-container_journal {
    /* display: flex; */
    width: 80%;
}
.fixed_journal_shift {
    /* position: fixed; */
    /* top: 120px; */
    margin-top: 46px;
    margin-left: 50px;
    right: 50px; 
    /* z-index: 1000; */
}

.clickable {
    cursor: pointer;
}

.clickable:hover {
    background-color: #f5f5f5;
}

th a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
th a:hover {
    text-decoration: underline;
}
.shift-cell {
    cursor: pointer;
}
#left_column{
    text-align: left;
    width: 70%;
}
#login_btn{
    color: black;
    background-color:#f7ec20;
    border-color: darkgrey;
}
#login_btn:hover{
    background-color:yellow;
}

.form-control:focus {
    border-color: #f7ec20;
    box-shadow: 0 0 10px rgba(247, 236, 32, 1);
    outline: none;
}
.form-select:focus {
    border-color: #f7ec20;
    box-shadow: 0 0 10px rgba(247, 236, 32, 1);
    outline: none;
    }
#login-page {
    background-color: #f8f9fa;
}
#login_window {
    margin-top: 30%;
}

#nav_link {
	color: black; /* Цвет обычной ссылки */
    position: relative;
    cursor: pointer;
    text-decoration: none; /* Убираем подчеркивание */
}
#nav_link:after {
	content: "";
    display: block;
    position: absolute;
    right: 0;
    bottom: 2px;
    width: 0;
    height: 3px; /* Высота линии */
    background-color: #f7ec20; /* Цвет подчеркивания при исчезании линии*/
    transition: width 0.5s; /* Время эффекта */
}

#nav_link:hover:after {
	content: "";
    width: 100%;
    display: block;
    position: absolute;
    left: 0;
    bottom: 2px;
    height: 3px; /* Высота линии */
    background-color: #f7ec20; /* Цвет подчеркивания при появлении линии*/
    transition: width 0.5s;  /* Время эффекта */
}
.list-group-item:hover{
    border-color: #f7ec20;
    box-shadow: 0 0 5px rgba(247, 236, 32, 0.5);
}


/* стили из старой версии, требуется отрефакторить */
@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
    .note_title{
        max-width:180px;
        min-width:180px;
        background-color:#999fa9;
    }
    .note_title{
    max-width:180px;
    min-width:180px;
    }
    .note_text{
    max-width:200px;
    min-width:200px;
    }
}

.comment-send:hover{
    background-color: #6c757d;
}
.files{
    width:auto;
    /* max-width:200px; */
    max-height:200px;
    /* margin:10px; */
    margin-left:0px;
}
.tpl_btn_small{
height:90px;
width:100px;
}
.tpl_btn_med{
    height:90px;
    width:190px;
}
.custom_margin_top16px{
    margin-top:16px;
}
.custom_margin_bottom16px{
    margin-bottom:16px;
}
.custom_margin_bottom8px{
    margin-bottom:8px;
}
.custom_margin_top28px{
    margin-top:28px;
}
.custom_margin_bottom28px{
    margin-bottom:28px;
}

.custom_color_gray {color:#999fa9;}
.custom_color_light-gray{color:#d6d9dd;}
.custom_color_orange{color:#ffb05a;}
.custom_color_red{color:#dc6b68;}
.custom_color_green{color:#479b5f;}
.custom_color_blue{color:#3b8cff;}

.custom_background_gray {background-color:#999fa9;}
.custom_background_light-gray{background-color:#d6d9dd;}
.custom_background_orange{background-color:#ffb05a;}
.custom_background_red{background-color:#dc6b68;}
.custom_background_green{background-color:#479b5f;}
.custom_background_blue{background-color:#3b8cff;}


.custombluebtn{background-color:#3b8cff;color:#fff;}
.custombluebtn:hover{background-color:#0d6efd;color:#fff;}
.approvesbtn{
    width:150px;
}
/* For desktop */
@media (min-width: 992px) {
    .height-desktop {
    height: 100px !important;
    }
    .note_title{
    border-left:1px #ccc solid;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    max-width:210px;
    min-width:210px;
    background-color:#999fa9;
    }
    .note_title{
    border-left:1px #ccc solid;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    max-width:210px;
    min-width:210px;
    background-color:#999fa9;
    }
    .note_title:hover{
        background-color:#808a91;
    }
    .note_text{
    max-width:250px;
    min-width:250px;
    border-right:1px #fff solid;
    text-overflow: ellipsis;
    background-color:#d6d9dd;
    overflow: hidden;
    border:0;
    /* border-left:8px #fff solid; */
    }

    .note_dep{
    max-width:175px;
    min-width:175px;
    background-color:#d6d9dd;
    }
    .note_status{
    max-width:160px;
    min-width:160px;
    }
    .note_resp{
    max-width:160px;
    min-width:160px;
    background-color:#d6d9dd;
    }
    .footer{
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: #f5f5f5;
    }
}

/* For mobile */
@media (max-width: 991.98px) {
.note_el {
height: 50px !important;
}
.note_title{
border-top:2px #f4f4f4 solid;
margin-top:5px;
background-color:#999fa9;
}
.note_text{
background-color:#d6d9dd;
}
.note_dep{
background-color:#d6d9dd;
}
.note_resp{
background-color:#d6d9dd;
}
#depname{
    border: 0 !important;
}
#noteidlink{
    border: 0 !important;
}
#note_resp{
    border: 0 !important;
}
}

/* КОНЕЦ */

.body_error_page {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
    margin: 0;
}
.container_error_page {
    text-align: center;
}
.h1_error_page {
    font-size: 5rem;
    margin: 0;
    color: #e74c3c;
}
.p_error_page {
    font-size: 1.5rem;
}
.a_error_page {
    text-decoration: none;
    color: #3498db;
    font-weight: bold;
}
.a_error_page:hover {
    text-decoration: underline;
}
