
@import url('https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@100;200;300;400;500;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

html, body {
    height: 100%;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
}

body.login {
    background-color: #0095E0;
}

body.app {
    background-color: #061120;
}



.calendar {
    text-align: center;
    color: #818FA1;
    line-height: 1;
    font-weight: 500;
    background-color: #0C2340;
    border-radius: 10px; /* Add border radius */
    border: none;
    /* make this button that it will not have any border when selected and focused */
    outline: none;    
}

/* make when calendar is focused or selected, it will have no border */
.calendar:focus, .calendar.selected, .calendar.alternative 
{
    outline: none;
    border: none;
}

.calendar:hover {
    outline: none;
    border: none;
    color: #818FA1;
}

@media (max-width: 380.98px) {
    .calendar{
        margin: 10px 3px; /* prvy je top+bottom, druhy je left+right */
        width: 58px;
        height: 82px;
        font-size: 29px;
    }
    .calendar.selected, .calendar.alternative {
        margin: 6px 1px; /* prvy je top+bottom, druhy je left+right */
        width: 62px;
        height: 90px;
        font-size: 33px;
    }
    .month {
        font-size: 12px;
        padding: 3px 0px;
    }
    .week {
        font-size: 11px;
        padding: 3px 0px;
    }  
}

@media (min-width:381px) {
    .calendar{
        margin: 10px 6px; /* prvy je top+bottom, druhy je left+right */
        width: 66px;
        height: 88px;
        font-size: 32px;
    }
    .calendar.selected, .calendar.alternative {
        margin: 6px 4px; /* prvy je top+bottom, druhy je left+right */
        width: 70px;
        height: 96px;
        font-size: 36px;
    }
    .month {
        font-size: 14px;
        padding: 3px 0px;
    }
    .week {
        font-size: 13px;
        padding: 3px 0px;
    }    
}


@media (min-width:576px) {
    .calendar{
        margin: 10px 6px; /* prvy je top+bottom, druhy je left+right */
        width: 66px;
        height: 88px;
        font-size: 32px;
    }
    .calendar.selected, .calendar.alternative {
        margin: 6px 4px; /* prvy je top+bottom, druhy je left+right */
        width: 70px;
        height: 96px;
        font-size: 36px;
    }
    .month {
        font-size: 14px;
        padding: 3px 0px;
    }
    .week {
        font-size: 13px;
        padding: 3px 0px;
    }    
}

@media (min-width:768px) {
    .calendar{
        margin: 10px 6px; /* prvy je top+bottom, druhy je left+right */
        width: 66px;
        height: 88px;
        font-size: 32px;
    }
    .calendar.selected, .calendar.alternative {
        margin: 6px 4px; /* prvy je top+bottom, druhy je left+right */
        width: 70px;
        height: 96px;
        font-size: 36px;
    }
    .month {
        font-size: 14px;
        padding: 3px 0px;
    }
    .week {
        font-size: 13px;
        padding: 3px 0px;
    }    
}

@media (min-width:992px) {
    .calendar{
        margin: 10px 6px; /* prvy je top+bottom, druhy je left+right */
        width: 66px;
        height: 88px;
        font-size: 32px;
    }
    .calendar.selected, .calendar.alternative {
        margin: 6px 4px; /* prvy je top+bottom, druhy je left+right */
        width: 70px;
        height: 96px;
        font-size: 36px;
    }
    .month {
        font-size: 14px;
        padding: 3px 0px;
    }
    .week {
        font-size: 13px;
        padding: 3px 0px;
    }    
}

@media (min-width:1200px) {
    .calendar{
        margin: 10px 6px; /* prvy je top+bottom, druhy je left+right */
        width: 66px;
        height: 88px;
        font-size: 32px;
    }
    .calendar.selected, .calendar.alternative {
        margin: 6px 4px; /* prvy je top+bottom, druhy je left+right */
        width: 70px;
        height: 96px;
        font-size: 36px;
    }
    .month {
        font-size: 14px;
        padding: 3px 0px;
    }
    .week {
        font-size: 13px;
        padding: 3px 0px;
    }    
}


/* make invisible-table 100% width without any borders and margins, but with padding 2px */
.invisible-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    padding: 0;
    padding: 2px;
}

/* for all td in invsible-table make their width 20% */
.invisible-table td {
    width: 20%;
    vertical-align: middle;
    text-align: center;
}

.month {
    margin: 0px;
    font-weight: 400;
    min-height: 1em;
}
.week {
    font-weight: 300;
}

.calendar.selected, .calendar.selected:hover, .calendar.selected:focus, .calendar.selected:active {
    background-color: #468200;
    color: #FFFFFF;
    outline: none;
    border: none;
    /*margin: 2px;
    aspect-ratio: 70 / 96;*/
}

.calendar.today, .calendar.today:hover, .calendar.today:focus, .calendar.today:active {
    /* inner shadown, white, transparency 0.5, 1 pixel and no blur */
    box-shadow: inset 0 0 2px 2px rgba(255, 255, 255, 0.8);
}


.calendar.alternative, .calendar.alternative:hover, .calendar.alternative:focus, .calendar.alternative:active {
    background-color: #989800;
    color: #FFFFFF;
    outline: none;
    border: none;
    /*margin: 2px;
    aspect-ratio: 70 / 96;*/
}

.calendar.notfree, .calendar.notfree:hover, .calendar.notfree:focus, .calendar.notfree:active {
    background-color: #89002A;
    color: #A1818A;
    outline: none;
    border: none;
}
/* 
.calendar:hover {
    color: #fff;
}
*/

/* add style for text, which is dark and small */
.bottom-menu {
    background-color: #0C2340;
    color: #818FA1;
}

.bottom-menu-item {
    color: #818FA1;
    font-size: small;
    text-decoration: none;    
}

.bottom-menu-item:hover, .bottom-menu-item:active, .bottom-menu-item:focus, .bottom-menu-item:visited  
{
    color: #818FA1;
    text-decoration: none;
}

.bottom-menu-selected {
    color: #DADEE2;
    font-size: small;
    text-decoration: none;    
}

.bottom-menu-selected:hover, .bottom-menu-selected:active, .bottom-menu-selected:focus, .bottom-menu-selected:visited
{
    color: #DADEE2;
    text-decoration: none;
}

.text-settings {
    font-size: x-large;
    font-weight: 200;
}

.pulsate {
    animation: pulsate 2s infinite;
}

@keyframes pulsate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.actionButton {
    background-color: #0095E0;
    color: #ffff;
    border: none;
    border-radius: 6px;
    padding: 5px;
    margin: 5px;
    width: 100%;
}

.box {
    background-color: #0C2340;
    color: #818FA1;
    border-radius: 10px;
    padding: 10px;
    margin: 10px 0px;
}

.box-bottom {
    margin-bottom: 100px;
}

.box-title {
    color: #FFFFFF;
    font-weight: 300;
    font-size: medium;
}

.box-label {
    color: #A0A0A0;
    font-size: small;
    font-weight: 300;
    padding-top: 5px;
}

.box-value {
    color: #FFFFFF;
    font-size: large;
    font-weight: 500;
    padding-bottom: 5px;
}

.parkingSpot {
    background-color: #0095E0;
    color: #FFFFFF;
    border-radius: 10px;
    padding: 10px;
    margin: 10px 0px;
}

.parkingTitle {
    font-weight: 300;
    font-size: 20px;
    text-align: right;
    padding: 5px 3px 5px 5px;
}

.parkingNumber {
    font-size: 134px;
    font-weight: 200;
    padding: 5px 5px 5px 3px;
    text-align: left;
    letter-spacing: -10px;
    line-height: 0.8;
    max-height: 1em;
}

.app-title {
    padding-top: 5px;
    color: #FFFFFF;
    font-weight: 600;
    font-size: xx-large;
}

.login {
    background-color: #ffffff;
    border-radius: 35px;
    color: #202020;
    font-size: medium;
    padding: 20px;
}

.loginError {
    color: #FF0000;
    font-weight: 500;  
}

.loginButton {
    background-color: #0C2340;
    color: #ffff;
    border: none;
    border-radius: 8px;
    padding: 5px;
    margin: 5px;
    width: 100%;
    font-size: x-large;
    font-weight: 500;
}

.loginButton:hover, .loginButton:active {
    color: #fff;
}

.version {
    font-size: small;
    color: #ffffff;
    text-align: center;
    padding-top: 30px;
}