@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&subset=cyrillic');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,500,700&subset=cyrillic');
@import url('/public/stylesheets/form.css');
@import url('/public/stylesheets/icons.css');
@import url('/public/stylesheets/table.css');

img {
    max-width: 100%;
}

html {
    font-size: 14px;
}

body {
    color: #66615b;
    font-size: 14px;
    font-family: Montserrat, Helvetica Neue, Arial, sans-serif;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    /*background-color: rgb(244, 243, 239);*/
    background-color: white;
    min-width: 800px;
}

body.dev .bg-dark {
    background-color: #1c5a87 !important;
}

a {
    color: #333;
}

a:hover, a:focus {
    color: #333;
    text-decoration: none;
    outline: 0 !important;
}

a:focus, a:active, button::-moz-focus-inner, input::-moz-focus-inner,
select::-moz-focus-inner, input[type="file"] > input[type="button"]::-moz-focus-inner {
    outline: 0 !important;
}

.wrapper {
    position: relative;
    padding: 2rem 30px 2rem;
}

.navbar + .wrapper {
    padding-top: 59px
}

.sidebar {
    font-family: 'Roboto', sans-serif;
    position: fixed;
    top: 0;
    height: 100%;
    bottom: 0;
    width: 260px;
    left: 0;
    z-index: 999;
    background-color: white;
}

.main {
    background-color: #f4f3ef;
    background-color: white;
    height: 100vh;
}

.main-panel {
    position: relative;
    /*float: right;*/
    /*padding-left: 260px;*/
    width: 100%;
}

.sidebar, .main-panel {
    overflow: auto;
    max-height: 100%;
    height: 100%;
}

.sidebar .sidebar-wrapper {
    position: relative;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    width: 260px;
    z-index: 4;
    box-shadow: inset -1px 0 0 0 #DDDDDD;
}

.sidebar .logo {
    font-family: 'Roboto', sans-serif;
    align-items: center;
    position: relative;
    padding: 1rem 24px;
    display: flex;
    text-transform: uppercase;
    white-space: nowrap;
    font-size: 2rem;
    color: #66615b;
    text-decoration: none;
    font-weight: 400;
    line-height: 30px;
    overflow: hidden;
}

.sidebar .logo img {
    margin-right: 1rem;
}

.sidebar .nav {
    margin-top: 20px;
    display: block;
}

.sidebar .nav li > a {
    margin: 0 15px 0;
    color: #66615b;
    display: flex;
    padding: 8px 0;
    align-items: center;
    text-decoration: none;
    position: relative;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 1rem;
    line-height: 30px;
    opacity: .7;
}

.sidebar .nav > li.active > a {
    color: #ef8157;
    opacity: 1;
}

.sidebar .nav > li > a:hover, .sidebar .nav > li > a:focus {
    color: #ef8157;
}

.sidebar .nav > li.active > a:before {
    border-right: 17px solid #ddd;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    content: "";
    display: inline-block;
    position: absolute;
    right: -16px;
    opacity: 1;
    top: 7px;
    transition: opacity .15s ease-in;
}

.sidebar .nav > li.active > a:after {
    border-right: 17px solid #f4f3ef;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    content: "";
    display: inline-block;
    position: absolute;
    right: -17px;
    opacity: 1;
    top: 7px;
    transition: opacity .15s ease-in;
}

.sidebar .nav .ic-2 {
    margin: 0 1rem;
}

.sidebar .nav p {
    margin: 0;
    line-height: 24px;
    position: relative;
    display: block;
    height: auto;
    white-space: nowrap;
    padding-top: 3px;
    font-weight: 600;
}

h3, .h3 {
    font-size: 2em;
    line-height: 1.4em;
}

.card {
    background-color: #fff;
    color: #252422;
    margin-bottom: 2rem;
    position: relative;
    padding: 36px;
    /*border: 0 none;*/
}

.card > * + * {
    margin-top: 12px;
}

.flex-end {
    display: flex;
    justify-content: end;
}

.heading-large {
    font-size: 24px;
    margin-bottom: 24px;
}

.card .card-header {
    padding: 20px 15px 0;
    position: relative;
    border-radius: 3px 3px 0 0;
    background-color: transparent;
    border-bottom-color: transparent;
    z-index: 3;
}

.card-header {
    padding: 15px 15px 0;
    border: 0;
}

.card-header > .card-header {
    text-align: center;
}

.card .card-title {
    margin: 0;
    color: #252422;
    font-weight: 300;
}

.card .card-content {
    padding: 1rem;
}

.card-footer {
    padding: .75rem 1.25rem 1.5rem;
}

.card-footer, .card-header {
    background-color: transparent;
    border: 0;
}

.card label {
    font-size: 1rem;
    margin-bottom: 5px;
}

.navbar.navbar-panel {
    margin-bottom: 0;
    background-color: transparent !important;
    box-shadow: none;
    border-bottom: 1px solid #ddd;
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar .navbar-wrapper {
    display: inline-flex;
    align-items: center;
}

.navbar .navbar-brand {
    font-size: 20px;
    padding-top: .5rem;
    padding-bottom: .5rem;
    line-height: 1.625rem;
}

.navbar .navbar-nav .nav-link {
    text-transform: uppercase;
    font-size: 14px;
    padding: .5rem .7rem;
    line-height: 1.625rem;
    margin-right: 3px;
}

.navbar p {
    display: inline-block;
    margin: 0;
    line-height: 1.8em;
    font-size: 1em;
    font-weight: 400;
}

/* content */

.content {
    padding: 0 0;
    min-height: 80vh;
    margin-right: auto;
    margin-left: auto;
}

.layout {
    display: flex;
}

.layout .content {
    min-height: auto;
    margin: auto;
    flex-grow: 1;
    min-width: 0;
    min-height: auto;
}

.layout .sidebar {
    position: relative;
    width: auto;
    height: auto;
    display: block;
    flex: 0 0 300px;
}

.content-block {
    margin-bottom: 2rem;
}

.content-block-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    font-size: 1.25rem;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #777;
}

h1 {
    font-size: 1.25rem;
    text-transform: uppercase;
    line-height: 1;
    margin: 1rem 0;
    font-weight: 700;
    color: #777;
}

.period {
    display: flex;
    align-items: center;
    border-left: 1px solid #e6e6e6;
    border-right: 1px solid #e6e6e6;
    padding-right: 18px;
    margin-right: 18px;
    padding-left: 36px;
    margin-left: 18px;
    color: #222;
    font-size: 24px;
    font-weight: 600;
}

.period .b {
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    padding: .5rem .75rem;
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    width: 31px;
    height: 31px;
}

.period .now {
    background-image: url("/public/icons/now.svg");
}

.period .week {
    background-image: url("/public/icons/week.svg");
}

.period .month {
    background-image: url("/public/icons/month.svg");
}

.content-title {
    padding: 20px 0 8px;
}

/* login-page */

.login-page > .content, .lock-page > .content {
    padding-top: 15vh;

}

/* panel */
.panel {
    height: 56px;
    margin: -1.5rem -1rem 2rem;
    box-shadow: 0 3px 2px -2px rgba(0, 0, 0, .1);
    -webkit-box-shadow: 0 3px 2px -2px rgba(0, 0, 0, .1);
    display: flex;
    align-items: center;
    /*justify-content: space-between;*/
}

.panel > * {
    position: relative;
    min-height: 1px;
    max-width: 100%;
}

.asa .material-icons {
    padding-right: .5rem;
}

.panel > form {
    flex-grow: 1;
}

.tools, .panel a {
    flex-grow: 0;
}

.panel > form {
}

.panel .panel-item {
    display: flex;
    height: 20px;
}

.panel-item:hover {
    background-color: #eee;
}

.drawer {
    padding-bottom: .5rem;
    margin-bottom: 2rem;
    border-bottom: 1px #add8e6 dotted;
}

.footer-info {
    font-size: small;
}

.card-body {
    padding: 2rem;
}

.navbar-top {
    /*font-family: 'Open Sans', sans-serif;*/
    padding: 0 1rem;
}

.navbar.navbar-top .navbar-brand {
    font-size: 14px;
    padding-top: .5rem;
    padding-bottom: .5rem;
    line-height: 1.625rem;
}

.navbar.navbar-top .navbar-nav .nav-link {
    text-transform: uppercase;
    font-size: 12px;
    padding: 2px .7rem;
    line-height: 2rem;
    margin-right: 3px;
    letter-spacing: 1px;
}

.navbar.navbar-top .navbar-nav .active > .nav-link,
.navbar.navbar-top .navbar-nav .nav-link.active,
.navbar.navbar-topk .navbar-nav .nav-link.show,
.navbar.navbar-top .navbar-nav .show > .nav-link {
    color: #f4f3ef;
}

.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
    /*color: rgb(250, 191, 0);*/
}

/* modal */

.modal .close {
    display: inline-flex;
    position: absolute;
    padding: 20px;
    right: 0;
    top: 0;
}

.modal-footer {
    padding: 0;
    border-top: none;
}

.modal_header {
    font-family: 'Roboto', sans-serif;
    border-bottom: 0;
    text-align: center;
    margin-top: 40px;
    padding: 0 3rem;
    font-size: 1.25rem;
}

.modal_header h1 {
    font-size: 1.7rem;
    font-weight: 400;
    margin: 0;
}

.modal-footer button, .modal-footer a.btn {
    border-radius: 0 0 3px 3px;
    background-color: #e30000;
    border-color: #e30000;
    text-transform: uppercase;
    color: white;
    line-height: 2.3;
    width: 100%;
    font-size: 16px;
    padding: 10px 15px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

.modal-footer button.btn-dark {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}

.modal-footer button.btn-warning {
    color: #fff;
    background-color: #e0a800;
    border-color: #d39e00;
}

.modal-footer button:hover {
    opacity: .8;
}

.modal-backdrop {
    cursor: pointer;
    background-color: rgba(0, 0, 0, .1);
}

.mi {
    line-height: 1;
    display: inline-block !important;
}

.navbar-dark .navbar-nav .nav-link {
    /*color: rgba(255,255,255,8);*/
    color: #f4f3ef;
}

.navbar.navbar-top .navbar-nav .active > .nav-link, .navbar.navbar-top .navbar-nav .nav-link.active, .navbar.navbar-topk .navbar-nav .nav-link.show, .navbar.navbar-top .navbar-nav .show > .nav-link {
    font-weight: bold;
    color: #fff;
}

.mw-1 {
    width: 1rem;
    max-width: 1rem;
}

.nav-link.notify {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    padding: .1rem .7rem
}

.nav-link.notify.active .material-icons {
    color: yellow;
}

/* toolbar */

.toolbar {
    display: flex;
    margin-right: 6px;
    padding: 0;
}

.toolbar-item {
    height: 20px;
    opacity: .54;
    width: 20px;
    opacity: .54;
    align-items: center;
    border: none;
    display: inline-flex;
    justify-content: center;
    outline: none;
    position: relative;
    z-index: 0;
    cursor: pointer;
    list-style: none;
    margin: 0 10px;
}

.bru {
    background-image: url('/public/images/delete20dp.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
}

.brr {
    background-image: url('/images/drafts20dp.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
}

.unread20 {
    background-image: url('/public/images/unread20.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
}

tr.active td {
    color: #8b0000;
    font-weight: bold;
}

.eyebrow {
    font-weight: normal;
    font-size: 1rem;
    line-height: 16px;
    margin-bottom: 1rem;

}

.eyebrow img {
    margin-right: .5rem;
}

.nav-pills .nav-link {
    font-size: 13px;
    padding: .25rem .5rem;
}

.done36 {
    background-image: url("/public/icons/done36.svg");
    background-position: center center;
    background-repeat: no-repeat;
}

.undone36 {
    background-image: url("/public/icons/undone36.svg");
    background-position: center center;
    background-repeat: no-repeat;
}

.play {
    background-image: url("/public/icons/play.svg");
    background-position: center center;
    background-repeat: no-repeat;
}

.unplay {
    background-image: url("/public/icons/unplay.svg");
    background-position: center center;
    background-repeat: no-repeat;
}

.is-10 {
    width: 10%;
    min-width: 10%;
}

.is-20 {
    width: 20%;
    min-width: 20%;
}

.is-25 {
    width: 25%;
    min-width: 25%;
}

.is-30 {
    width: 30%;
    min-width: 30%;
}

.is-33, is-34 {
    width: 33.3333%;
    min-width: 33.3333%;
}

.is-35 {
    width: 35%;
    min-width: 35%;
}

.is-40 {
    width: 40%;
    min-width: 40%;
}

.is-50 {
    width: 50%;
    min-width: 50%;
}

.is-60 {
    width: 60%;
    min-width: 60%;
}

.is-65 {
    width: 65%;
    min-width: 65%;
}

.is-66, is-67 {
    width: 66.6666%;;
    min-width: 66.6666%;;
}

.is-70 {
    width: 70%;
    min-width: 70%;
}

.is-75 {
    width: 75%;
    min-width: 75%;
}

.is-80 {
    width: 80%;
    min-width: 80%;
}

.is-90 {
    width: 90%;
    min-width: 90%;
}

.is-100 {
    width: 100%;
    min-width: 100%;
}

.is-date {
    width: 80px;
    max-width: 80px;
}

.modal-content-block-header {
    font-weight: bold;
    text-transform: uppercase;
}

*[data-toggle="collapse"], tr[data-toggle="modal"] {
    cursor: pointer;
}

.modal-delete {
    text-align: right;
}

.modal-delete a {
    color: #999;
    text-decoration: underline;
    font-size: 13px;
}

.counter {
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 24px;
    border-radius: 12px;
    background-color: red;
    color: white;
    width: 24px;
    height: 24px;
    padding: 0 3px;
    margin: 0 5px;
}

.counter:hover {
    color: white;
    background-color: #d10000;
}

.is-width-medium {
    max-width: 800px;
}

.above {
    text-transform: uppercase;
    color: gray;
    font-size: 13px;
    margin-bottom: 3px;
    font-weight: bold;
}

.modal-footer > * {
    margin: 0 !important;
}

.modal-footer {
    background-color: #e30000;

}

.modal-footer > :last-child {
    background-color: black;
}

.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.inputfile + label svg {
    cursor: pointer;
}

.inputfile + label svg:hover {
    fill: #888;
}

.header {
    display: flex;
    margin: 2rem 0 1rem;
    align-items: center;
}

.header h1 {
    margin: 0;
    text-transform: none;
    font-size: 24px;
}

/* home */

.sidemenu {
    top: 0;
    left: 0;
    bottom: 0;
    position: fixed;
    width: 220px;
    height: 100vh;
    background-color: #fafafa;
    padding: 60px 16px 30px 28px;
    border-right: 1px solid #ededed;
    z-index: 1020;
}

.sidemenu-menu {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 35px;
}

.sidemenu-menu a, .sidemenu-menu span {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 3px;
}

.sidemenu-menu span {
    color: #aaa;
    cursor: default;
}

.sidemenu-menu .divider {
    padding: 8px 16px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    color: #999;

}

.sidemenu-menu a.active {
    background-color: #eee;
}

.sidemenu-menu a i {
    margin-right: 15px;
}

.body {
    margin-left: 190px;
    padding: 0 60px 60px;
}

/* edit */

.edit-back {
    position: absolute;
    padding-left: 40px;
    top: 80px;
    left: 46px;
    background: 10px center no-repeat url('/public/images/chevron-left.svg')
}

.edit-footer {
    margin-top: 56px;
    display: flex;
}

.edit-main {
    width: 840px;
    padding-left: 60px;
    margin-left: 255px;
    margin-right: auto;
}

.edit-form-group {
    margin-bottom: 56px;
}

.modal-links {
    display: flex;
    justify-content: flex-end;
}

.modal-links a {
    text-decoration: underline;
}

.tabs {
    display: flex;
    color: #536d96;
    font-size: 18px;
    flex-wrap: wrap;
    font-weight: 500;
    border-bottom: 1px solid #dfdfdf;
    margin-bottom: 2rem;
}

.tabs a, .tabs span {
    -webkit-box-flex: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    margin-bottom: 15px;
    color: inherit;
    text-decoration: none;
    opacity: .6;
}

.tabs .current {
    color: #253142;
    opacity: 1;
}

.tabs a + a {
    margin-left: 40px;
}

p {
    font-family: 'Open Sans', sans-serif;
    margin: 30px 0;
}

.file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.file + label {
    cursor: pointer; /* "hand" cursor */
    display: flex;
    align-items: center;
    color: #878e99;
}

.file:focus + label.input,
.file + label.input:hover {
    color: red;
}

.avatar-wrapper {
    margin-bottom: 20px;
}

.search-bar {
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.content-block {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

#panel, #sidebar {
    position: fixed;
    flex-direction: column;
    width: 437px;
    top: 0;
    right: 0;
    bottom: 0;
    transform: translate3d(100%, 0, 0);
    overflow-x: hidden;
    overflow-y: auto;
    color: #222;
    background-color: white;
    padding: 2rem 2rem;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
    z-index: -1;
    display: none;
}

#panel.on, #sidebar.on {
    display: flex;
    transform: translate3d(0, 0, 0);
    transition: transform 0.3s ease-in-out;
    z-index: 9999;

}

#backdrop {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    height: 100vh;
    z-index: 103;
    cursor: pointer;
    opacity: 0;
    display: none;
}

#backdrop.on {
    opacity: 1;
    background-color: rgba(0, 0, 0, .1);
    display: block;
    /*transform: translate3d(0, 0, 0);
    transition: transform 0.3s ease-in-out;*/
}

h2 {
    font-weight: bold;
    font-size: 18px;
}

.panel-header {
    border-bottom: 2px solid #e2e6ec;
    padding-bottom: 16px;
}

.panel-footer {
    position: absolute;
    z-index: 100200;
    bottom: 0;
    width: 100%;
    left: 0;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e6ec;
    text-align: right;
}

.panel-inner {
    position: relative;
}

.count {
    height: 24px;
    line-height: 24px;
    background-color: #ccc;
    color: white;
    font-size: 14px;
    border-radius: 20px;
    padding: 0 8px;
    margin-left: 10px;
    font-weight: 400;
    min-width: 40px;
    text-align: center;
    font-family: Roboto, sans-serif;
}

.count.red {
    background-color: red;
}

.eye {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    color: #aaa;
    display: inline-block;
    margin-left: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.eye:before {
    display: inline-block;
    content: " ";
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background-color: orange;
    margin-right: 10px;
}

a.back {
    position: absolute;
    top: 40px;
    right: 0;
    display: block;
    padding: 0;
    margin: 0;
    border: none;
    width: 78px;
    height: 78px;
    background-size: 200%;
    background: white center center no-repeat url('/public/images/chevron-left.svg');
}

.items, .fc {
    font-size: 13px;
    width: 100%;
    margin-bottom: 2rem;
}

.fc {
    padding-right: 13rem;
}

.items td {
    box-shadow: inset 0 -1px 0 0 rgb(232, 232, 232);
    height: 30px;
    cursor: default;
    padding-right: 8px;
    vertical-align: center;
}

.items.zebra td {
    padding: 0 5px;
}

.items.zebra tbody td:nth-of-type(odd),
.items.zebra tbody tr:nth-of-type(odd),
.items.zebra tbody th:nth-of-type(odd) {
    background: rgba(200, 200, 200, 0.2);
}

.fc td, .fc th {
    height: 50px;
    cursor: default;
    padding: 0;
    border: 1px solid rgb(232, 232, 232);
    font-weight: 400;
    font-size: 12px;
    width: 30px;
}

.fc td {
    min-width: 20px;
    text-align: center;
}

.fc .day {
    cursor: pointer;
    text-align: center;
    min-width: 30px;
    padding: 28px 5px;
    font-weight: 700;
}

.fc .day .state {

}

.day.work, .day.half, .day.pnr, .day.pnr:hover {
    cursor: default;
    font-weight: 700;
    background-color: #90ee90;
}

.day.path, .day.ill, .day.holiday {
    font-weight: 700;
    cursor: pointer;
    background-color: yellow;
}

.day:hover {
    background-color: #eee;
}

.day.work:hover {
    background-color: #90ee90;
}

.day.red {
    color: #fff;
    background-color: red !important;
}

.items td a {
    display: block;
}

.items tr th {
    font-size: 11px;
    line-height: 11px;
    font-weight: 600;
    vertical-align: middle;
    text-transform: uppercase;
    border-bottom: none;
    position: relative;
    border-top: none;
    box-shadow: inset 0 -1px 0 0 rgb(232, 232, 232);
    max-width: 600px;
    min-width: 30px;
    color: rgb(149, 137, 155);
    cursor: default;
    height: 50px;
}

.items tr th.pointer {
    cursor: pointer;
}

th.asc, th.desc {
    padding-left: 12px;
}

th:hover {
    cursor: pointer;
    box-shadow: inset 0 -1px 0 0 rgb(23, 23, 23);
}

th:after {
    top: 5px;
    left: 0;
    position: absolute;
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

th.asc:after {
    content: '↑ ';
}

th.desc:after {
    content: '↓ ';
}

.items tr.hover:hover td, td.hover:hover {
    background-color: rgb(252, 252, 252);
    cursor: pointer;
}

.items .item-divider td {
    padding: 1rem 0;
    font-weight: 700;

}

input.q {

    border-radius: 3px;
    border: 1px solid transparent !important;
    padding: 6px 12px;
    background-color: #eee !important;
    outline: none !important;
    width: 400px;
    box-shadow: none !important;

    padding-left: 48px;
    background-color: #fafafa;
    background: #f8f8f8 url('/public/icons/q.svg') no-repeat 14px;
    background-size: 20px 20px;
}

label.checkbox {
    color: #333;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    display: block;
    cursor: pointer;
    padding: 0 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding-left: 36px;
}

th label.checkbox, td label.checkbox {
    padding: 8px 5px;
}

td.checkbox-wrapper {
    padding-left: 5px;
    width: 30px;
}

label.checkbox input[type=checkbox], label.checkbox input[type=radio] {
    opacity: 0;
    visibility: hidden;
    height: 0;
    width: 0;
    overflow: hidden;
    position: absolute;
    z-index: -10;
}

.checkbox-icon {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 2px;
    border: 1px solid #aaa;
    background-color: #fff;
    top: 6px;
    left: 0;
    -webkit-transform: translateY(-25%);
    transform: translateY(-25%);
}

.checkbox-icon.radio {
    border-radius: 8px;
}

input[type=checkbox]:checked + .checkbox-icon, input[type=radio]:checked + .checkbox-icon {
    border: none;
    background: #536d96 url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e") no-repeat 50%;
}

.checkbox-group {
    padding: 2rem 2rem 1rem;
    border: 1px solid white;
    border-radius: 4px;
    background-color: #faf9f5;
}

.sidebar-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.sidebar-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.sidebar-header h2 {
    flex: 1;
    font-size: 24px;
}

.sidebar-footer {
    text-align: right;
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 2rem;
    border-top: 1px solid #e3e6ec;
}

.icon {
    display: flex;
    flex: 0 0 36px;
    text-align: center;
}

.big-btn {
    display: inline-flex;
    color: #fff;
    font-weight: 500;
    margin-top: 40px;
    margin-bottom: 40px;
    white-space: nowrap;
    padding: 0 30px;
    background-color: rgba(51, 51, 51, .3);
    height: 52px;
    border: none;
    min-width: 176px;
    align-items: center;
    justify-content: center;
    font-family: Roboto;
    font-size: 16px;
    outline: none !important;
    cursor: pointer;
}

.big-btn:hover {
    opacity: .9;
}

td.tsh-fio {
    min-width: 250px;
    max-width: 300px;
    text-align: left;
}

td.probation {
    background-color: #EEEEEE;
}

.ktu {
    min-width: 80px !important;
}

.slot {
    margin-left: 2rem;
    font-size: 24px;
    line-height: 1.3;
    color: #999;
    white-space: nowrap;
}

.slot-label {
    font-size: 11px;
    text-transform: uppercase;
}

.bt.active {
    background-color: #555;
    color: #fff;
    box-shadow: inset 0 0 0 1px #555;
}

.pad {
    max-width: 600px;
}

.total {
    font-weight: 700;
}

.status {
    display: flex;
    align-items: center;
}

.status svg {
    margin-right: 5px;
}

.underline, .underline:hover, .underline:focus {
    text-decoration: underline;
}

td.active {
    background-color: lightgrey;
}

.form-check label {
    cursor: pointer;
    margin-bottom: 1rem;
}

/* Dialog */

#dialog {
    max-width: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1031;
    overflow: hidden;
    height: 100%;
    width: 100%;
    /* Flexbox centers the .modal-content vertically and horizontally */
    display: flex;
    flex-direction: column;
    align-items: center;

    /* Animate when opening */
    animation-name: fadeIn;
    animation-duration: 150ms;
    animation-timing-function: ease;
}

.document-utility {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.dialog-underlay {
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, .5);
    cursor: pointer;
}

.dialog-overflow {

    padding: 2rem 2rem 120px;
    height: 100vh;
    overflow-y: auto;
}

.dialog-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    cursor: pointer;
    background-color: white;
}

.dialog-title {
    font-size: 24px;
    font-weight: 700;
}

.dialog-header-fixed {
    top: 0;
    height: 60px;
    position: sticky;
    padding: 3rem;
    z-index: 1032;
}

.dialog-body {
    font-size: 16px;
}

.dialog-footer {
    position: absolute;
    z-index: 1;
    bottom: 0;
    width: 100%;
    left: 0;
    border-top: 1px #eee solid;
    padding: 1rem 2rem;
    display: flex;
    justify-content: flex-end;
    grid-gap: 10px;
    background-color: white;
}

.dialog-content {
    height: 100%;
    max-width: 100%;
    background-color: white;
    animation-name: zoomIn;
    animation-duration: 150ms;
    animation-timing-function: ease;
    position: relative;
}

.dialog-content.dialog-sm {
    height: 100%;
    max-width: 100%;
    background-color: white;
    animation-name: slideIn;
    animation-duration: 150ms;
    animation-timing-function: ease;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 440px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.dialog-content.dialog-sm.dialog-medium {
    width: 880px;
}

#dialog.closing > .dialog-content.dialog-sm {
    animation-name: slideOut;
    animation-duration: 150ms;
    animation-timing-function: ease;
}

.dialog-enlarge {
    padding: 0 1rem;
    overflow-x: auto;
}

#dialog.closing {
    animation-name: fadeOut;
    animation-duration: 250ms;
    animation-timing-function: ease;
}

#dialog.closing > .dialog-content {
    animation-name: zoomOut;
    animation-duration: 150ms;
    animation-timing-function: ease;
}

.dialog-close {
    cursor: pointer;
    margin-left: auto;
}


body.sticky, body.open, body.open-sb {
    overflow: hidden;
    /* height: 100vh; */
}

/* dialog ends */

button[disabled=disabled] {
    background-color: #eee !important;
}

.container-small {
    max-width: 400px;
}

.container-content {
    max-width: 800px;
}

.container-medium {
    max-width: 1000px;
}

.container-large {
    max-width: 1240px;
}

.container-full {
    max-width: 100%;
}

.bt.disabled {
    background-color: #9a9a9a;
    color: white;
}

.bar {
    padding-top: 15px;
    display: flex;
    grid-gap: 10px;
}

.bar a.active {
    background-color: #eee;
    padding: 5px 10px;
    border-radius: 5px;
}


.row-2 {
    grid-gap: 16px;
}

.container-800 {
    max-width: 600px;
}

.stack > * + * {
    margin-top: 36px;
}

.bt {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 23px;
    border-radius: 6px;
}

.bt-primary {
    color: white;
    background-color: #1c5a87;
    border-color: #1c5a87;
}

.bt-primary:hover {
    color: white;
    background-color: #195179;
}

.dds {
    display: grid;
    grid-auto-flow: column;
    grid-gap: 1px;
    grid-template-rows: repeat(14,  auto);
    margin: 24px 0;
    padding-right: 100px;
}

.dds > * {
    font-size: 14px;
    text-align: right;
    padding: 4px 16px;
    border-bottom: 1px solid #eee;
    min-width: 100px;
}

.dds-row {
    min-width: 230px;
}

.dds-header {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 16px 16px;
}

.centered {
    margin-left: auto;
    margin-right: auto;
}

.table-scrollable {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}