* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html {
    margin:0;
	padding:0;
    height: 100vh;
    width: 100%;
}

body {
    display: -webkit-flex;
    display: flex;
    min-height: 100vh;
    -webkit-flex-direction: column;
    flex-direction: column;
 }

h1,
h2 {
    color: white;
}

.downloads {
    display: none;
}

/* top spacer styles */

#top-spacer {
    height: 550px;
    display: flex;
    width: 100%;
    border: solid red;
}

/* back to top button styles */

#scroll {
    position:fixed;
    right:10px;
    bottom:10px;
    cursor:pointer;
    width:40px;
    height:40px;
    background-color: gray;
    text-indent:-9999px;
    display:none;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:2px;
    -webkit-transition: background-color 0.2s ease-out;
    transition: background-color 0.2s ease-out;
}

#scroll span {
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-8px;
    margin-top:-12px;
    height:0;
    width:0;
    border:8px solid transparent;
    border-bottom-color:#ffffff;
}

#scroll:hover {
    background-color: black;
    opacity:1;
    filter:"alpha(opacity=100)";
    -ms-filter:"alpha(opacity=100)";
}

/* header styles */

#header-container {
    background-color: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    box-shadow: none;
}

#responsive-header-container {
    background-color: #f5f5f5;
    padding: 0;
    margin: 0;
    display: none;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 .5px 1px 0 rgba(0, 0, 0, 0.2), 0 .75px 2.5px 0 rgba(0, 0, 0, 0.19);
}

#nav-logo-container {
    display: flex;
    width: 20%;
}

#main-nav-list-container {
    display: flex;
    width: 95%;
    justify-content: flex-end;
}

#contact-nav-list-container {
    display: flex;
    width: 20%;
    justify-content: flex-end;
    
}

#contact-nav-list-container li {
    font-weight: 600;
    text-decoration: none;
    list-style: none;
    color: #5e5e5e;
}

#contact-nav-list-container a {
    font-weight: 600;
    text-decoration: none;
    list-style: none;
    padding-right: 3em;
    background-color: none;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    border: 3px solid #818181;
    display: flex;
    margin-right: 25px;
    width: 125px;
    height: 40px;
    cursor: pointer;
    color:#818181;
    font-family: Arial;
    font-size: 20px;
    letter-spacing: .75px;
    padding: 8px 0 8px 0;
    align-items: center;
    justify-content: center;
}

#contact-nav-list-container a:hover {
    font-weight: 600;
    text-decoration: none;
    list-style: none;
    color: #ff7d03;
    background: #ffffff;
    transition: .1s;
    border: 3px solid #ff7d03;
}

#contact-nav-list-container a:active {
    font-weight: 600;
    text-decoration: none;
    list-style: none;
    color: #c76000;
    background: #ffffff;
    transition: .1s;
    border: 3px solid #c76000;
}

#nav-logo img {
    width: 60px;
    margin: 1em 0 1em 3em;
    transition: width 0.25s;
    /* transition: .25s; */
}

#responsive-nav-logo img {
    display: none;
}

#main-nav-list {
    padding: 1em 2em;
}

.main-nav-list {
    list-style: none;
    margin: 0;
    background: none;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
}

.main-nav-list .icon {
    display: none;
}

.main-nav-list a {
    text-decoration: none;
    display: block;
    margin-right: 1em;
    padding: 0 1em .5em 1em;
    color: #5e5e5e;
    font-weight: 300;
    font-size: 20px;
    position: relative;
}

.main-nav-list a:hover {
    color: #000000;
    z-index: 6;
}

/* .main-nav-list a:before {
    content: "";
    display: block;
    position: absolute;
    background-image: linear-gradient(rgb(255, 228, 77), rgb(128, 94, 0));
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0px;
    transition: height 0.3s;
    z-index: 6;
} */

.main-nav-list a.current:before {
    width: 100%;
    z-index: 6;
}

.main-nav-list a:hover:before {
    width: 100%;
    z-index: 6;
}

.main-nav-list a:active:before {
    width: 100%;
    z-index: 6;
}

label {
    padding: 0 40px 0 0;
    font-size: 26px;
    line-height: 70px;
    display: none;
}

#toggle {
    display: none;
}

/* footer styles */

/* This is the container for the entire footer. Take note that its flex-direction is column */
#footer-primary {
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* height: 300px; */
    margin-top: auto;
}

/* This is one of two containers inside of 'footer-primary'. */

#footer-secondary1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 3em 2em 0 2em;
}

/* footer 'logo' styles */

#footer-logo {
    display: flex;
    flex-grow: .1;
}

#footer-logo img {
    width: 60px;
}

/* footer 'accreditation' styles */

#footer-accreditation {
    display: flex;
    flex-grow: 1;
    flex-direction: row;
    justify-content: center;
}

#ASHI {
    height: 150px;
    padding: 0 1em 0 0;
}

#CLIA {
    height: 150px;
    padding: 0 0 0 1em;
}

/* footer 'about' styles */

#footer-about {
    display: flex;
    flex-wrap: wrap;
    width: 400px;
    font-weight: 400;
    font-size: 85%;
    color: black;
}

#footer-about a {
    text-decoration: none;
    color: black;
}

#footer-about a:hover {
    text-decoration: none;
    color: #0677B3;
}

/* footer 'nav' styles */

#footer-nav {
    display: flex;
    flex-grow: .4;
    flex-direction: row;
    justify-content: flex-end;
}

#footer-nav ul {
    list-style: none;
    margin: 0;
}

#footer-nav li a {
    text-decoration: none;
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-size: 85%;
    color: black;
}

#footer-nav li a:hover{
    text-decoration: underline;
}

#footer-nav a:hover {
    color: #000000;
}

/* footer 'address' styles */

#footer-address {
    display: flex;
    flex-grow: .1;
    flex-direction: row;
    justify-content: flex-end;
}

#footer-address address{
    margin: 0;
    padding: 0;
    font-weight: 300;
    font-size: 100%;
    font-style: normal;
    position: relative;
    color: #000000;
}

#footer-address a {
    color: #aaa1a1;
}

#footer-address a:hover{
    color: #000000
}

a.mailto {
    text-decoration: none;
}

a.mailto:hover {
    text-decoration: underline;
}

/* this is the second container inside of 'footer-primary' */

#footer-copyright {
    font-size: 0.8em;
    text-align: center;
    width: 100%;
    color: #aaa1a1;
    font-weight: 300;
    margin-top: 20px;
    margin-bottom: 5px;
}


@media only screen and (max-width: 1400px) {
    
    #footer-logo,
    #footer-accreditation,
    #footer-nav,
    #footer-address {
        flex-grow: 1;
    }

    #footer-about {
        display: none;
    }
}

@media only screen and (max-width: 1150px) {

    #header-container {
        display: none;
    }

    #responsive-header-container {
        background-color: #f5f5f5;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 .5px 1px 0 rgba(0, 0, 0, 0.2), 0 .75px 2.5px 0 rgba(0, 0, 0, 0.19);
    }

    nav {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        height: 0;
        transition: height .5s;
        overflow: hidden;
    }

    .main-nav-list {
        flex-direction: column;
    }

    label {
        display: block;
        cursor: pointer;
        margin: -2px 0 0 0;
    }

    #toggle:checked + nav {
        height: 115px;
    }

}

@media only screen and (max-width: 1050px) {


    #footer-about {
        display: none;
    }

    #footer-accreditation {
        display: none;
    }

    #footer-nav {
        display: none;
    }

    #footer-secondary1 {
        display: flex;
        justify-content: space-between;
    }

    #footer-address {
        display: flex;
        justify-content: flex-end;
    }
}

@media only screen and (max-width: 600px) {
    #responsive-header-container {
        background-color: #f5f5f5;
        position: relative;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 .5px 1px 0 rgba(0, 0, 0, 0.2), 0 .75px 2.5px 0 rgba(0, 0, 0, 0.19);
    }

    body {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        background-repeat: no-repeat;
        background-size: contain;
        background-attachment: fixed;
    }

    #footer-secondary1 {
        display: flex;
        flex-direction: column;
    }

    #footer-logo {
        padding: 0 0 2em 0;
    }

    #footer-copyright {
        font-size: 0.8em;
        text-align: center;
        width: 85%;
        color: #aaa1a1;
        font-weight: 300;
        margin-top: 20px;
        margin-bottom: 5px;
        margin-left: auto;
        margin-right: auto;
    }
}
