
html, body {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    font-family: "Saira Condensed", sans-serif !important;
}
/*==================================== Login page form===========================================*/
button:focus {
    /*background-color: #5a5a5a !important;*/
}

.grid-container-login {
    justify-content: center;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);

    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;

}

.form {
    width: 100%;
    background: #FFFFFF;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 2%;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}
.login-form input {
    font-family:'Saira Condensed', sans-serif;
    outline: 0;
    background: #f2f2f2;
    border: 0;
    width: 90%;
    margin: 1vw;
    padding: 15px;
    box-sizing: border-box;
    font-size: 18px;
}
.login-form button {
    font-family: 'Saira Condensed', sans-serif;
    text-transform: uppercase;
    outline: 0;
    background: #b31e1f;
    width: 100%;
    border: 0;
    text-align: center;
    /*padding: 15px;*/
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
}
.grid-container-login img{
    max-width: 100%;
    margin-top: -10vw;
    margin-bottom: 5vw;

}
.invoices p {
    font-size: 2em;
}

/*==================================== Eastern home dropdown buttons===========================================*/
.main-flex-container {
    justify-content: center;

    position: absolute;
    z-index: 500;
    top: 55vh;
    left: 50%;
    transform: translate(-50%,-50%);

    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}
.main-dropdown {
    /*position: absolute;*/
    /*z-index: 501;*/
}

button {
    position: relative;
    width: 95vw;
    height: 8vh;
    font-size: 2vw;
    font-weight: 900;
    font-family: "Saira Condensed" , sans-serif;
    color: white;
    background: #b31e1f;
    border: black;
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23) !important;
    -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23) !important;
    -o-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23) !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23) !important;
    outline: none;
    cursor: pointer;
}

.main-dropdown ul {
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
    background: #ccc;
    transform-origin: top;
    transform: perspective(1000px) rotateX(-90deg);
    transition: 0.5s;
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23) !important;
    -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23) !important;
    -o-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23) !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23) !important;
}

.main-dropdown ul.active {
    transform: perspective(1000px) rotateX(0deg);

}

.main-dropdown ul li {
    list-style: none;
}

.main-dropdown ul li a {
    display: block;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 1.5em;
    background: #262626;
    color: #fff;
    border-bottom: 1px solid rgba(0,0,0,.2);
    transition: 0.5s;
}

.main-dropdown ul li a:hover {
    background: #b33e3f;
}
.dd-class {
    margin-bottom: 5px;
}
#main-caret {
    vertical-align: middle;
    float: right;
    margin: 0 1em 0 0;
}
.main-dropdown-item {
    position: relative;
    z-index: 500;
}
.main-dropdown-item1 {
    position: relative;
    z-index: 499;
}
.main-dropdown-item2 {
    position: relative;
    z-index: 498;
}
.main-dropdown-item3 {
    position: relative;
    z-index: 497;
}
.main-dropdown-item4 {
    position: relative;
    z-index: 496;
}
.main-dropdown-item5 {
    position: relative;
    z-index: 495;
}
.main-dropdown-item6 {
    position: relative;
    z-index: 494;
}
.main-dropdown-item7 {
    position: relative;
    z-index: 493;
}
.drop-btn {
    margin-bottom: 5px !important;
    padding-left: 4vw;
}
.drop-btn:focus {
    background-color: #aa1e1f !important;
}
/*====================================open timesheets==========================================*/





@media only screen and (max-width: 750px) {
    /*==================================== Login page form===========================================*/
    .grid-container-login {
        justify-content: center;

        position: absolute;
        top: 50%;
        left: 50%;

        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;

    }
    .form {
        width: 90vw;
        margin: 0;
        background: #FFFFFF;
        padding: 1em;
        box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    }
    .login-form input {
        width: 95%;
    }

    .grid-container-login img{
        position: relative;
        max-width: 80%;
        margin-top: -20vh;
        margin-bottom: 15vw;

    }

    /*==================================== Eastern home dropdown buttons===========================================*/

    .main-flex-container {
        justify-content: center;

        position: absolute;
        z-index: 500;
        top: 55vh;
        left: 50%;
        transform: translate(-50%,-50%);

        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
    }

    button {
        position: relative;
        height: 8vh;
        font-size: 5vw;
        font-weight: 900;
        font-family: "Saira Condensed" , sans-serif;
        color: white;
        background: #b31e1f;
        border: black;
        /*margin: 5px;*/
        /*box-shadow: none;*/
        outline: none;
        cursor: pointer;
        -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23) !important;
        -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23) !important;
        -o-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23) !important;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23) !important;
    }
    .invoices p {
        font-size: 1em;
    }

}