/* ------------ calendar ------------- */

div.table_container{
    margin-top: 10px;
    padding: 15px;
}

div.table_container table{margin-bottom: 0px;}

th.month{
    padding: 10px 0 10px 10px !important;
    color: var(--accent-text) !important;
    border-right-color: #fff !important;
    font-weight: 400;
    font-size: 19px;
}

th.navigation div,
div.navigation div{
    justify-content: flex-end;
    border-left-color: #fff !important;
    display: flex;
}

th.navigation a,
div.navigation a {
    padding: 5px 15px !important;
}
th.navigation a i,
div.navigation a i{
    margin: 0px;
}

th.navigation a:first-of-type,
div.navigation a:first-of-type{
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    margin-right: 3px;
}

th.navigation a:last-of-type,
div.navigation a:last-of-type{
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
}

table.calendar tbody tr:nth-child(2){border-top-color: transparent;}

table.calendar tbody tr:nth-child(2) th{
    color: var(--accent-text) !important;
    border-right-color: transparent;
    border-left-color: transparent;
    padding-right: 10px;
    font-weight: normal;
    text-align: right;
}

tr.week td{
    vertical-align: top;
    height: 120px;
    width: 14.3%;
}

tr.week td:nth-child(6),
tr.week td:nth-child(7){
    width: 9% !important;
}

tr.week td:nth-child(6),
tr.week td:nth-child(7),
td.day_in_other_month,
td.holiday_class{background-color: rgba(0,0,0,0.03);}

tr.week td div{min-height: 26px;}
tr.week td div a{padding: 3px 10px !important;}

span.date{
    color: var(--accent-text);
    padding-bottom: 5px;
    float: right;
}

tr.week td ul{margin-top: 10px;}

tr.week td ul li{
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    border-radius: 3px;
    margin-bottom: 5px;
    line-height: 15px;
    padding: 5px 8px;
    display: flex;
}

li.event_timesheet{
    background-color: #f4e2ff;
    /*border: 1px solid #dcb7f3;*/
    color: #b562e9;
}

tr.week td div.total_h{
    padding: 0 8px 0 0;
    text-align: right;
    font-size: 11px;
}

span.all_day{
    text-align: right;
    font-size: 10px;
}

/* ------------ presence sheet ------------- */

table.presence-table th{line-height: 16px;}

table.presence-table th,
table.presence-table td{text-align: center;}

table.presence-table th.persona-name,
table.presence-table td.persona-name{
    text-align: left;
    max-width: 125px;
}

table.presence-table td.persona-name span:first-of-type{color: var(--accent-text);}

span.contract-period{
    font-weight: normal;
    margin-bottom: 0px;
    font-size: 10px;
}

table.presence-table .holiday-or-weekend,
table.presence-table .non-working-day{
    background-color: rgba(0,0,0,0.03);
    color: var(--accent-text);
    font-weight: normal;
    width: 10px;
}

.presence-table .presence-cell{
    padding: 0 !important;
    font-size: 12px;
}

.presence-table .presence-cell .cell-hours{padding: 2px 5px;}
table.presence-table th.total-hours{max-width: 55px;}

/* ------------ common ------------- */

/*@keyframes animate-stripes {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 60px 0;
    }
}*/

li.event_request.pending,
table.presence-table td.presence-cell.pending,
ul.request_legend li span.pending,
div.cell-hours.pending{
    background-size: 30px 30px;
    background-image: linear-gradient(
        135deg,
        rgba(255, 255, 255, .50) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, .50) 50%,
        rgba(255, 255, 255, .50) 75%,
        transparent 75%,
        transparent
    );
    /*animation: animate-stripes 0.6s linear infinite;
    animation-duration: 10s;
    animation-direction: reverse;*/
}

ul.request_legend li span.pending{
    background-color: rgba(0,0,0,0.08);
    /* border: 1px solid #eea79c; */
    color: #888;
}

li.event_other_activity.ILL,
li.event_request.ILL,
.presence-table .cell-hours.ILL,
.presence-table .presence-cell.ILL,
ul.request_legend li span.ILL{
    background-color: #f8e7e4;
    /*border: 1px solid #eea79c;*/
    color: #ac311d;
}

li.event_other_activity.VAC,
li.event_other_activity.OFF,
li.event_other_activity.HWO,
li.event_request.VAC,
.presence-table .cell-hours.VAC,
.presence-table .presence-cell.VAC,
ul.request_legend li span.VAC,
.presence-table .cell-hours.HOL,
.presence-table .presence-cell.HOL,
li.event_request.HOL{
    background-color: #d9f1d5;
    /*border: 1px solid #afe1a8;*/
    color: #3f9532;
}

li.event_other_activity.PER,
li.event_other_activity.ROL,
li.event_request.PER,
li.event_request.ROL,
.presence-table .cell-hours.PER,
.presence-table .presence-cell.PER,
ul.request_legend li span.PER{
    background-color: #d3e8f5;
    /*border: 1px solid #82c0e9;*/
    color: #196090;
}

li.event_other_activity.TRA,
li.event_request.TRA{
    background-color: #fdf0d4;
    /*border: 1px solid #fadb9a;*/
    color: #c88a0a;
}

/* ------------ legend ------------- */

a.code_legend{
    color: var(--primary-color);
    margin: 30px 0 0 20px;
    display: block;
}

a.code_legend:hover{text-decoration: underline;}

ul.request_legend > li{
    border-bottom: 1px solid #eee;
    flex-direction: row;
    align-items: center;
    padding: 15px;
    display: flex;
}

ul.request_legend li span{
    text-transform: uppercase;
    display: inline-block;
    align-items: center;
}

ul.request_legend li span.icon{
    border-radius: 5px;
    text-align: center;
    padding: 8px 10px;
    width: 40px;
}

ul.request_legend li p{
    margin: 0 10px;
    color: #aaa;
}

ul.request_legend li p span{color: var(--accent-text);}

ul.request_legend li > span.text{
    border-radius: 3px;
    text-align: center;
    margin-left: auto;
    padding: 1px 4px;
    font-size: 11px;
    width: 40px;
}







/*
.calendar {
  width: 98%;
  margin: auto;
  font-size: 13px;
}

.calendar tr, .calendar td {
  border: 1px solid black;
}

.calendar th {
  padding: 10px;
  text-align: center;
  font-size: 18px;
}

.calendar td {
  width: 200px;
  height: 150px;
  padding: 20px 0px 0px 5px;
}

.month {
  font-size: 25px;
}

.date {
  font-size: 16px;
}

ul {
  height: 100%;
  padding: 0px 5px 0px 20px;
}

a {
  color: #17a2b8;
}*/
