
@font-face {
    font-family: 'bmwbold';
    src: url('fonts/btw-bold.woff') format('woff'),
    url('fonts/btw-bold.ttf') format('truetype'),
    url('fonts/btw-bold.eot?#iefix') format('embedded-opentype');
}

@font-face {
    font-family: 'bmwlight';
    src: url('fonts/btw-light.woff') format('woff'),
    url('fonts/btw-light.ttf') format('truetype'),
    url('fonts/btw-light.eot?#iefix') format('embedded-opentype');
}


body {
    margin: 0;
    padding: 0;
}

table {
    width: 60%;
    border-spacing: 0;
    padding: 1vw;
}

table#day {
    width: 100%;
    font-size: 5.8vh;
}

table th {
    font-family: 'bmwbold', sans-serif;
    font-weight: normal;
}

table td {
    font-family: 'bmwlight', sans-serif;
    font-weight: normal;
}

#calendarweeks .table-title {
    font-family: 'bmwlight', sans-serif;
    font-size: 1.1vw;
    letter-spacing: 1px;
    text-transform: uppercase;
}

thead tr th.table-title,
thead tr#calendarweeks th {
    padding-top: 1vw;
}

thead tr th.table-title,
thead tr#calendardates th {
    padding-bottom: 1vw;
}

#calendardates th {
    font-size: 0.9vw;
}

table#day #calendardates th {
    font-size: 2.5vw;
}

thead tr th:not(.table-title),
tbody tr th:not(.table-aside),
tbody tr td {
    padding-left: 1vw;
    padding-right: 1vw;
}

tbody tr th:not(.table-aside),
tbody tr td {
    border-top: 1px solid #d6d6d6;
}

th.table-aside {
    width: 8%;
    font-family: 'bmwlight', sans-serif;
    letter-spacing: 1px;
    text-align: center;
    white-space: nowrap;
    transform: rotate(-90deg);
}

tbody tr th:not(.table-aside) {
    text-align: left;
}

tbody tr.day-start th {
    padding-bottom: 0.4vw;
}

tbody tr.day-start th,
tbody tr.day-start td {
    padding-top: 0.75vw;
    border-top: 1px solid black;
}

tbody tr:not(.day-start) th,
tbody tr:not(.day-start) td {
    padding-top: 0.4vw;
    padding-bottom: 0.4vw;
}

tbody tr.day-end th,
tbody tr.day-end td {
    padding-bottom: 0.75vw;
}

tbody td .reason-btn {
    position: relative;
    float: right;
    display: inline-block;
    width: 0.5vh;
    height: 0.5vh;
    background-color: #0f7fea;
    border-radius: 50%;
    margin-top: 0.6vh;
}

tbody td .reason-btn .reason-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -12vh;
    margin-bottom: 0.5vh;
    visibility: hidden;
    width: 14vh;
    background-color: #2f2f2f;
    color: white;
    text-align: center;
    padding: 0.5vh;
    z-index: 1;
}

.reason-btn .reason-tooltip .reason-entry:not(:first-child) {
    margin-top: 0.5vh;
}

tbody td .reason-btn:hover {
    background-color: #0a4480;
}

tbody td .reason-btn:hover .reason-tooltip {
    visibility: visible;
}




