#AppWrapper {
    margin: 0px;
    padding: 25px 20px;
    box-sizing: border-box;
    font-family: Roboto, Tahoma, Arial;
    position: relative;
}
table {
    width: 100%;
    border-collapse: collapse;
}
table td {
    padding: 10px 20px;
    color: #233242;
}
table thead,
table tr.hovered {
    background: #f1f1f1;
}
table tr.selected {
    border: 2px solid #f1f1f1;
} 
h1, h2 {
    margin-bottom: 25px;
    font-weight: 400;
    color: #233242;
}
h2.block-header {
    margin-top: 25px;
    margin-bottom: 15px;
    padding-left: 15px;
    line-height: 32px;
}
h2.block-header > .btn {
    float: right;
}
#AppWrapper .btn {
    padding: 8px 24px;
    border: none;
    font-size: 14px;
    vertical-align: top;
    cursor: pointer;
    border-radius: 0px;
}
#AppWrapper .btn.btn-default {
    font-weight: 400;   
    color: #233242;
    background: #c8c8c8;
}
#AppWrapper .btn.btn-primary {
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    padding: 8px 16px 9px;
    background: #25acfe;
    font-size: 14px;
    color: white;
    cursor: pointer;
    font-weight: 700;
    font-family: "Roboto", sans-serif;
    border: none;
    -o-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    outline: none;
    vertical-align: middle;
}
#AppWrapper .btn.btn-primary:hover {
    background: #236d9a
}
.calendar-header {
    border-bottom: 1px solid #e6e6e6 ;
    padding-bottom: 10px;
    display: flex;
}
.calendar-header .calendar-header_row
{
    flex: 1 1 0;
    color: #797878;
    padding-left: 5px;
}
.calendar_wrapper {
    margin: 4px auto 25px;
    position: relative;
}
.calendar_day {
    display: inline-block;
    width: 14.2857142857%;
    background: #f9f9f9;
    height: 68px;
    cursor: pointer;
    border: 1px solid #f1eeee;
    padding: 10px 15px;
    position: relative;
}
.calendar_day.is-now {
    background: #fbc5c5;
}
.calendar_day.is-now .timeline {
    box-shadow: none;
}
.calendar_day.calendar_day-weekend,
.calendar_day:hover {
    background: #f1eeee;
}
.calendar_day.calendar_day-weekend {
    border: 1px solid #f9f9f9;
}
.calendar_day .calendar_day-number {
    font-size: 14px;
    text-align: right;
}
.calendar_day .ticket-timeline {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(43, 100, 193, 0.15);
}
.calendar_day .timeline {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 4px;
    left: 0px;
    background: #bb3232;
    box-shadow: 0px -2px 2px #b5b5b5;
}
.calendar_day .timeline:hover {
    background: #881c1c;
}
.calendar-control-wrapper {
    text-align: right;
    margin-bottom: 20px auto;
}
.ticket-list {
    display: none;
}
.ticket-list table {
    background: #fff;
}
.ticket-list table td {
    font-size: 13px;
}
/*---Task modal window---*/
.modal-wrapper {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.67);
    display: none;
    align-items: center;
    justify-content: center;
}
.modal-wrapper > .modal-inner .close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
}
.modal-wrapper > .modal-inner {
    background: #fff;
    width: 520px;
    box-shadow: -2px -2px 12px #e6e3e3;
    padding: 25px 35px;
    position: relative;
}
.modal-wrapper > .modal-inner .form-row {
    margin-bottom: 15px;
}
.modal-wrapper > .modal-inner .form-row label > span {
    display: inline-block;
    width: 35%;
    margin-right: 5%;
}
.modal-wrapper > .modal-inner .form-row input[type='text'],
.modal-wrapper > .modal-inner .form-row input[type='date'],
.modal-wrapper > .modal-inner .form-row select {
    display: inline-block;
    width: 58%;
    padding: 8px 16px;
    border: none;
    background: #f1f1f1;
    font-size: 16px;
}
.t_on-days {
    position: absolute;
    width: 300px;
    z-index: 400;
    background: #233242;
    left: 0px;
    top: calc(100% + 12px);
    padding: 15px;
    font-size: 0.85em;
}
.t_on-days:after {
    position: absolute;
    bottom: 100%;
    left: 12px;
    display: block;
    content: "";
    width: 0px;
    height: 0px;
    border-bottom: 8px solid #233242;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
}
.calendar_day-weekend .t_on-days:after {
    left: auto;
    right: 12px;
}
.t_on-days .desc-row {
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 4px;
    padding: 10px 15px;  
    border-bottom: 1px solid #fff;
}
.t_on-days .desc-row.hovered {
    background: #111;  
    border-bottom-color: #111;
}
.t_on-days p {
    margin-bottom: 4px;
    color: #fff;
}
.inner-table,
.inner-table .ts-row > td:first-child {
    position: relative;
}
.modal-wrapper#ticket-list-modal {
    background: rgba(0, 0, 0, 0.83);
    z-index: 10000;
    display: flex;
}
.modal-wrapper#ticket-list-modal  h2 {
    margin-bottom: 20px;
    font-family: Tahoma, Arial;
    font-size: 18px;
}
.modal-wrapper#ticket-list-modal > .modal-inner {
    width: 1024px;
    box-shadow: none;
}
.modal-wrapper#ticket-list-modal .close-modal {
    top: 5px;
    right: 5px;
    font-size: 15px;
    color: #616161;
}
.modal-wrapper#ticket-list-modal .close-modal:hover {
    color: #111;    
}
.modal-wrapper#ticket-list-modal > .modal-inner table td {
    vertical-align: top;
    font-family: Arial;
    font-size: 14px;
    border-bottom: 1px solid #f1f1f1;
}

/*.inner-table::before {
    content: "";
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 2px;
    height: calc(100% - 18px);
    background: #c3c3c3;
}

.inner-table .ts-row > td:first-child::after {
    content: "";
    display: block;
    position: absolute;
    top: 18px;
    left: 0px;
    width: 12px;
    height: 2px;
    background: #c3c3c3;
}*/
.ts-row .task-timespan {
    margin-left: 5px;
    font-size: 0.8em;
}
.toggle-task-list {
    margin-left: 5px;
    font-size: 20px;
    padding: 4px 8px;
}
.toggle-task-list::before {
    content: "⇓";
}
.toggle-task-list.to-up::before {
    content: "⇑";
}
.inner-table tr {
    border: 1px solid #fff;
    transition: 0.25s;
}
.inner-table tr.focus {
    border-color: #e4e4e4;
    background: #f1f1f1;
}
/*===PRELOADER STYLE===*/
#AppWrapper > .preloader-wrapper {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.67);
}
#AppWrapper > .preloader-wrapper > .preloader-inner {
    width: 70px;
    height: 70px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -35px;
    margin-right: -35px;
    border-radius: 50%;
    border-top: 4px solid #233242 ;
    border-bottom: 4px solid #233242;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    animation: preloader .7s linear infinite;
}
@keyframes preloader {
    from { transform: rotateZ(0deg); }
    to { transform: rotateZ(360deg); }
}
