/*---General styles---*/
/*This is for phones*/

body {
    background-color: #fbfbf9;
}

#loader-container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 150px;
    height: 150px;
    margin: 8px;
    border-radius: 50%;
    border: 20px solid #ff6336;
    border-color: #ff6336 transparent #ff6336 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}


@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.header {
    background-color: #252525;
    height: 60px;
    border-bottom: 5px solid #ff6336;
    color: #FFF;
}

.header>div,
.header>div>div {
    height: 100%;
}

.buttonSize {
    font-size: 20px;
    height: 40px;
    min-width: 100px;
    width: fit-content;
}

.primaryButton {
    color: white;
    font-weight: normal;
    background-color: #ff6336;
    border-radius: 5px;
    border-width: 3px;
    border-color: #ff6336;
    border-style: solid;
    padding: 0 10px 0 10px;
    margin-left: 5px;
    vertical-align: middle;
    text-align: center;
    webkit-transition-duration: 0.4s;
    /* Safari */
    transition-duration: 0.4s;
}

.primaryButton:disabled {
    background: #f39d85;
}

.secondaryButton {
    color: #000000;
    font-weight: normal;
    background-color: #ffffff;
    border-radius: 5px;
    border-width: 3px;
    border-color: #000000;
    padding: 0 10px 0 10px;
    vertical-align: middle;
    text-align: center;
    webkit-transition-duration: 0.4s;
    /* Safari */
    transition-duration: 0.4s;
}

.primaryButton:hover,
.secondaryButton:hover {
    cursor: pointer;
    filter: brightness(85%);
}

#header-label {
    display: inline;
    line-height: 55px;
    height: 60px;
    font-size: 2.3em;
    font-weight: normal;
    font-style: normal;
    margin: 16px;
    font-family: 'helvetica';
}

.header-text {
    margin: 0px;
    font-family: 'helvetica';
    font-size: 1.75em;
    font-weight: normal;
    font-style: normal;
    margin-block-end: -0.5em;
}

.text {
    font-family: 'helvetica';
    font-size: larger;
    text-align: justify;
}

#user-picture {
    width: 60px;
    height: 60px;
}

#search {
    height: 40px;
    width: 80%;
    margin-left: 16px;
    margin-top: 10px;
    padding: 0px 8px;
    border: none;
    background-color: #333;
    color: white;
}

#header-logout-button {
    position: relative;
    top: 8px;
    height: 70%;
    width: 80px;
    font-weight: bold;
    vertical-align: middle;
    float: right;
    margin-right: 10px;
    -webkit-appearance: none;
    border-radius: 10px;
    background-color: #EFEFEF;
}

.icon-size {
    font-size: 2em;
}


.header-icons-align {
    height: 55px;
    line-height: 75px;
    text-align: center;
}

#header-map-button {
    height: 100%;
    width: 50px;
    font-size: 12px;
    vertical-align: middle;
    float: right;
}

#map_container {
    height: 50%;
    margin-top: 10%;
}

#employee-page {
    height: 100%;
    position: relative;
    padding: 16px;
    width: 100%;
}

#manager-page {
    height: 100%;
    position: relative;
    padding: 16px;
}

#button-positions {
    width: calc(100% - 32px);
    /* position: absolute;
    bottom: 16px;
    right: 16px;*/
} 

.button-positions-manager {
    width: calc(100% - 32px);
    position: absolute;
    bottom: 16px;
    right: 16px;
} 

.nettime-positions-manager {
    width: 100%;
    position: absolute;
    bottom: 57px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    align-items: center;
} 

.nettime-positions-employee {
    width: calc(100%);
    position: absolute;
    bottom: 57px;
    display: flex;
    flex-direction: column;
    /* right: 16px; */
    z-index: 1000;
    align-items: center;
    /* left: 16px; */
}

.col-11 {
    width: 91.66%;
}

.tab-grid {
    position: absolute;
    top: 60px;
    left: 16px;
    right: 16px;
    bottom: 70px;
    overflow-y: auto
}

.tile-item {
    margin: 8px 8px;
    padding: 8px;
    /* border: 2px solid #252525; */
    border-radius: 5px;
    box-shadow: 0px 4px 5px 1px rgb(0 0 0 / 35%), 0 6px 20px 0 rgb(0 0 0 / 35%);
}

@supports (display: grid) {
    #gridtable {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
        grid-gap: 0px;
        padding: 0px;
        margin: 0px;
    }
}

/* -------------------------------------------------------------------------- */

/*For laptops and Tablets*/
/* 
    To compensate for the difference in pixel density
    do the following:
                    new_size = 1.25 * old_size
*/
@media only screen and (min-width: 768px) {

    .header {
        height: 75px;
    }

    #header-label {
        line-height: 75px;
        height: 75px;
        font-size: 3.125em;
        padding-left: 20px;
    }

    h1 {
        font-size: 2.5em;
    }

    #search {
        height: 50px;
        /* line-height: 75px; */
        margin-left: 20px;
        margin-top: 12.5px;
        padding: 0px 10px;
        font-size: 1.625em;
    }

    #header-logout-button {
        top: 10px;
        width: 100px;
        /* line-height: 75px; */
        font-size: 12px;
        margin-right: 12.5px;
        border-radius: 1.5px;
    }

    #user-picture {
        width: 80px;
        height: 80px;
    }

    .header-icons-align {
        height: 70px;
        line-height: 95px;
    }

    .icon-size {
        font-size: 2.75em;
    }

    .text {
        font-size: x-large;
    }

    .col-8-t {
        width: 66.66%;
    }

    .primaryButton,
    .secondaryButton {
        height: 50px;
        width: 125px;
        font-size: 25px;
    }

    .tab-grid {
        top: 100px;
        left: 20px;
        right: 20px;
        bottom: 88px;
    }

    @supports (display: grid) {
        #gridtable {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            grid-gap: 0px;
            padding: 0px;
            margin: 0px;

        }
    }
}