﻿/*@media (min-width:630px) {*/

body {
    font-family: 'Open Sans', sans-serif;
}

@media (min-width:630px) {
    .card {
        width: 135px; /* Set width of cards */
        display: flex; /* Children use Flexbox */
        flex-direction: column; /* Rotate Axis */
        border: 1px solid black; /* Set up Border #EF9A9A*/
        border-radius: 4px; /* Slightly Curve edges */
        overflow: hidden; /* Fixes the corners */
        margin: 5px; /* Add space between cards */
        float: left;
    }
}

@media (max-width:630px) {
    .card {
        width: 140px !important; /* Set width of cards */
        display: flex; /* Children use Flexbox */
        flex-direction: column; /* Rotate Axis */
        border: 1px solid black; /* Set up Border #EF9A9A*/
        border-radius: 4px; /* Slightly Curve edges */
        overflow: hidden; /* Fixes the corners */
        margin: 5px; /* Add space between cards */
        float: left;
    }
}

.card-header {
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    border-bottom: 1px solid black;
    padding: 0px 0px;
}

.headerIn {
    background-color: lightgreen;
    border-bottom: 1px solid black;
    color: green;
}

.headerOut {
    background-color:#D14943;
    border-bottom: 1px solid black;
    color: white;
}

.headerVacations {
    background-color: lightgray;
    border-bottom: 1px solid black;
    color: darkgray;
}

.statusin {
    color:green;
}

.statusout {
    color: #D32F2F;
}

.statusvacations {
    color: darkgray;
}

.card-main {
    display: flex; /* Children use Flexbox */
    flex-direction: column; /* Rotate Axis to Vertical */
    justify-content: center; /* Group Children in Center */
    align-items: center; /* Group Children in Center (on cross axis) */
    padding: 5px 0; /* Add padding to the top/bottom */
    height:30px;
}

.material-icons {
    font-size: 20px;
    margin-bottom: 0px;
    align-content: center;
}

.main-description {
    font-size: 12px;
    text-align: center;
}

.dutyOfficer {
    border: 1px solid darkblue ;
    background-color:darkblue;
    color:white;
}

.contractor {
    background-color: lightyellow;
}

.dutyOfficer .statusin {
    color: white !important; 
}

.dutyOfficer .statusout {
    color: white !important; 
}

.buttonVisit {
    box-shadow: 0px 0px 0px 1px #9fb4f2;
    background: linear-gradient(to bottom, #7892c2 5%, #476e9e 100%);
    background-color: #7892c2;
    border-radius: 5px;
    border: 1px solid #4e6096;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 8px !important;
    padding: 1px 10px;
    text-decoration: none;
    height: 20px;
    text-shadow: 0px 1px 0px #283966;
}

.v-buttonlink {
  height: auto;
  padding: 0;
}
&:active {
    position: relative;
    top: 1px;
}

.buttonVacation {
    box-shadow: 0px 0px 0px 2px #9fb4f2;
    background-color: lightyellow;
    border-radius: 1px;
    border: 1px solid #4e6096;
    display: inline-block;
    cursor: pointer;
    color: black;
    font-family: Arial;
    font-size: 8px !important;
    padding: 1px 10px;
    text-decoration: none;
    height: 20px;
    text-shadow: 0px 1px 0px #283966;
    vertical-align: central;
    align-content: center;
}

&:active {
    position: relative;
    top: 1px;
}
/*}*/

