.is_vacation {background-color: #B0E0E6;}
.is_overtime {background-color: rgba(255, 5, 56, 0.5);}
.is_sick {background-color: #FFEFD5;}
.is_day_off {background-color: #ADDFAD;}
.is_oj {background-color: #f7cac9;}
.is_vpl {background-color: #CCCCFF;}
.is_holiday {background-color: #BEB3CF;}
.is_workday {background-color: #f5f5f5;}

.clear_day{background-color: #F5F5F5;}
.by_hour{background-color: #27BB31;}
.by_hour_with_vacation{background-color: rgba(173, 239, 235, 0.7);}
.hourly_pay{background-color: #F5F5F5;}
.is_at_home {background-color: rgba(165, 165, 165, 0.7);}
.days{padding: 0px !important;}
.slave_day{background-color:#696969;}
.by_hours_cell{background-color:#C4C4C4;}
.month_info_cell{background-color: #BEB3CF;}
.fc-today {background-color: #facd6e !important;}
.highlighted-today {background-color: #8CD790 !important;}

.calendar-header {
    width: 96%;
    display: inline-block;
    padding: 20px;
    margin: 0 auto;
}

.common-sheet-table tr th,
.common-sheet-table tr td {
    text-align: center;
}

.common-sheet-table tr td:nth-child(3) {
    text-align: left;
}

/* select work day popup */

@media screen and (min-width: 768px) {
    #dayChooser .modal-dialog {
        max-width: 570px;
    }
}

#dayChooser .modal-dialog .modal-header h3 {
    margin-top: 0;
}

#dayChooser .modal-dialog #error_msg {
    color: red;
}

#dayChooser .modal-dialog .row {
    margin: 0 -5px;
}

#dayChooser .modal-dialog .row > div {
    padding: 0 5px;
}

#dayChooser .modal-dialog .btn {
    margin-top: 10px !important;
}

#dayChooser .modal-dialog .btn:hover {
    opacity: 0.8;
}

.nui-sld-btn {
    top: -2px;
}

@media screen and (max-width: 479px) {
	#dayChooser .modal-dialog .buttons-holder button {
	    width: 100%;
	    margin: 0 0 10px;
	}
}

.table.text-left td {
   text-align: left;
}

/*form for corrections of salary*/

#select2-id_employer-container {
    width: 170px;
}

.btn.clear_day {
    margin-top: 20px;
    border: 2px solid #000;
}

.fc-head th {
    padding: 5px 0 !important;
}

.fc-event-container {
    z-index: -1 !important;
    position: relative;
}

#full-calendar {
    margin-bottom: 30px;
}

.day-type {
    display: flex;
    flex-wrap: wrap;
}

.day-type li {
    flex-basis: 20%;
}

.day-type li div {
    padding: 0 !important;
    text-align: center;
}

@media screen and (max-width: 1300px) {
    .day-type li {
        flex-basis: 25%;
    }
}

@media screen and (max-width: 767px) {
    .day-type li {
        flex-basis: 50%;
    }
}

@media screen and (max-width: 400px) {
    .day-type li {
        flex-basis: 100%;
        text-align: center;
    }

    .day-type li div {
        padding: 5px 10px;
    }

    .fc-toolbar.fc-header-toolbar {
        display: block;
    }

    .fc-toolbar.fc-header-toolbar .fc-left {
        margin-bottom: 15px;
    }
}

#full-calendar .fc-scroller {
    height: auto !important;
}

.days-modal-close-button {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    background: 0 0;
    border: 0;
}
