/* Only use for testing purposes. DO NOT uncomment this on live site.*/
* {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
}

/*body {*/
/*    overflow: scroll;*/
/*}*/

/*h1, h2, h3, h4, h5, h6 {*/
/*    font-family: 'Roboto', sans-serif;*/
/*}*/


/* Navigation CSS Begin */

.menu-label {
    position: absolute;
    left: -1000px;
    top: -1000px;
}

.navigation a {

    color: #9D2235;
    text-decoration: none;
}

.navigation {
    display: flex;
    justify-content: space-between;
    height: 105px;
    width: 100%;
    padding: 20px;
    border-bottom: solid 3px #9D2235;
}

.logo {
    height: 40px;
    margin-left: -5px;
}

.nav-contain {

    height: auto;
}

.header-navlinks {
    display: flex;
    flex-flow: column;

    margin-bottom: 25px;
}

.header-logo {
    padding-top: 10px;
}

.header-logo a:focus {
    outline: 2px auto;
}

.header-logo a:focus:not(:focus-visible) {
    outline: none!important;
}

.menu .chkbx {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -20px;
    left: -5px;

    cursor: pointer;

    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */

    -webkit-touch-callout: none;
}

.menu {
    display: block;
    position: absolute;
    top: 50px;
    right: 40px;


    z-index: 1;

    -webkit-user-select: none;
    user-select: none;
}

#menu:focus ~ .burger {
    outline: 2px solid #9D2235;
}

#menu:focus:not(:focus-visible) ~ .burger {
    outline: none!important;
}

.burger {
    margin-top: -11px;
}

.burger .line {
    display: block;
    width: 33px;
    height: 2px;
    margin-bottom: 9px;
    position: relative;
    margin-right: -20px;

    background: #000;
    border-radius: 3px;

    z-index: 1;

    transform-origin: 4px 0px;

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    opacity 0.55s ease;
}

.burger .line:first-child {
    transform-origin: 0% 0%;
}

.burger .line:nth-child(2) {
    transform-origin: 0% 100%;
}

.chkbx:checked ~ .burger > .line {
    opacity: 1;
    transform: rotate(45deg) translate(1px, -1px);
    background: #232323;
}

.chkbx:checked ~ .burger > .line:nth-child(2) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

.chkbx:checked ~ .burger > .line:nth-child(3) {
    transform: rotate(-45deg) translate(0px, -2px);
}

.header-navlinks {
    position: absolute;
    display: inline-block;
    width: 100vw;
    margin: 33px 0 0 0;
    height: 0px;


    right: -40px;
    overflow: hidden;
    margin-bottom: unset;

    background: #f5f5f5;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */

    /*transform-origin: 0% 0%;
    transform: translate(0, 100%);*/
    transition: height .5s ease-in-out;
    -moz-transition: height .5s ease-in-out;
    -webkit-transition: height .5s ease-in-out;
    -o-transition: height .5s ease-in-out;
    -ms-transition: height .5s ease-in-out;
    /*transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);*/
}

.header-navlinks a {
    color: rgba(51, 51, 51);
    font-size: 18px;
    line-height: 1;
    font-weight: bold;
}

.header-navlinks a::after {
    display: none;
}

.header-navlinks li {
    margin-left: 32px;
    padding: 8px 0;
}

.header-navlinks li:first-child {
    padding-top: 20px;
}


.chkbx:checked ~ ul {
    transform: none;
    height: 215px;
    /* Adjust this per project, can't be set to auto or will mess up animation */
}

.header-navlinks a:hover,
.header-navlinks a:focus {
    text-decoration: none;
    color: #9D2235;
}

/* Nav Style Ends */


/* Footer Styles Start Here */

.footer-li {
    list-style-type: none;
}

footer {
    background-color: #4b4538;
    width: 100%;
    height: auto;
    font-family: 'Roboto', sans-serif;
    bottom: 0;
    left: 0;
    display: inline-block;
}

.footer-grid-container a, .footer-grid-container h1, .footer-grid-container h2, .footer-grid-container h3, .footer-grid-container p, .footer-li {
    color: white;
    line-height: 1.5em;
}


.footer-li {
    font-family: Arial, Verdana, Helvetica, sans-serif;
    color: #FFF;
    font-weight: bold;
}

.narrow {
    margin-top: 0;
    margin-bottom: 0;
}

.plain-list {

    list-style: none;
    color: #FFF;
}

.plain-list a {
    text-decoration: none;
    font-weight: bold;

}

.plain-list a:hover, a:focus {
    outline: none;
    text-decoration: underline;
}


.footer-grid-container {
    display: grid;
    background-color: #434343;
    font-size: 14px;

    grid-template-areas: "logo" "about" "addr";
}

.logo-section-grid {
    grid-area: logo;
    display: flex;
    padding: 40px 0 20px 40px;
}

.logo-section-grid img {
    width: 250px;
}

#footer img {
    max-width: 100%;
    height: auto;
}

.about-section {
    grid-area: about;
    display: flex;
    padding: 10px 40px;

}


.addr-section {
    grid-area: addr;
    display: flex;
    padding: 10px 40px;

}

#copyinfo {
    padding: 20px 40px;
    /*padding-top: 40px;*/
}

#re-ex-logo a:focus{
    outline: 2px auto;
}

#re-ex-logo a:focus:not(:focus-visible) {
    outline: none!important;
}


/* Footer Stles End */

.logout-btn:focus {
    background: white;
    color: #9D2235 !important;
    border: 2px solid #9D2235;
}


/* Large Phone Styles Here */

@media only screen and (min-width: 320px) {

    .quicklinks-icon {
        font-size: 20px;
    }

    a.facebook, a.twitter, a.youtube, a.flickr, a.instagram {
        display: block;
        height: 25px;
        line-height: 40px;
    }

    .youtube, .facebook, .flickr, .instagram, .twitter {
        margin: auto 8px;
    }

    .logo {
        left: 10px;
    }

    .logo-graphic {
        width: 250px;
    }

    .nav-title {
        font-size: 16px;
    }

    .menu-open {
        font-size: 25px;
    }

    .menu-open-icon {
        height: 19px;
    }

    .form-text-webdev {
        width: 100%;
    }

    .header-navlinks a:first-child li {
        padding-top: 25px;
    }

    .navigation {
        height: 105px;
    }
}

@media only screen and (min-width: 375px) {

    .logo {
        height: 45px;
    }
}

@media only screen and (min-width: 425px) {

    .menu {
        right: 45px;
    }

    .header-navlinks {
        right: -45px;
    }

    .logo {
        height: 50px;
    }
}

@media only screen and (min-width: 576px) {

    .quicklinks-wrapper {
        width: 93%;
        margin: 0 auto;
    }

    #lower-nav {
        width: 95%;
        margin: 0 auto;
    }

    .siteSearch-webdev {
        width: 100%;
    }

    .form-text-webdev {
        width: 350px;
    }

}


@media only screen and (min-width: 768px) {

    .form-text-webdev {
        width: 480px;
    }

    #footer-wrapper {
        display: grid;
        grid-template-areas: "link1 address link2" "link1 social link2" "copyright copyright copyright";
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto;
    }

    .more-links, .extra-links {
        margin: 0;
        text-align: center;
        padding: 0 35px;
    }

    .more-links, .extra-links, .office-address {
        margin-top: 40px;
    }


    .nav-contain {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 90%;
    }

    .header-top {
        background: #4b4538;
        height: 35px;
        color: #fff;
    }

    .header-bottom {

        padding: 1px 0;
        border-top: 1px solid #4b4538;
        border-bottom: 1px solid #4b4538;
        background: #fdfdfd;
    }

    .header-bottom-container {
        background: #9D2235;
        height: 35px;
        /* margin: 5px 0px; */
        /* border-top: 1px; */
        /* border-bottom: 1px; */
        color: #fff;
    }

    .header-logo {
        margin: 10px 0px;
    }

    .logo {
        width: auto;
        display: block;
    }

    .chkbx {
        display: none;
    }

    .header-navlinks {
        font-size: 18px;
        margin-top: 40px;
        list-style: none;
        display: flex;

    }

    .header-navlinks a {
        color: #555;
        font-weight: 800;
        margin-right: 20px;
        /*    padding: 10px 5px;*/
        position: relative;
    }

    .header-navlinks a:first-child li {
        padding-top: unset;
    }

    .header-navlinks a::after {
        content: "";
        position: absolute;
        height: 2px;
        background-color: #9D2235;
        width: 0;
        left: 50%;
        bottom: 0;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        -webkit-transition: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) all;
        transition: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) all;
    }

    .header-navlinks a:hover {
        color: #9D2235;
        outline: 0;
    }

    .header-navlinks a:hover::after {
        width: 100%;
    }

    .navigation {
        height: 112px;
    }

    .header-logo {
        padding-top: 0;
    }

}

/* Footer Styles breakpoint */

@media only screen and (min-width: 800px) {

    .footer-li {
        list-style-type: none;
    }

    footer {
        background-color: #434343;
        width: 100%;
        height: auto;
        font-size: 14px;
        bottom: 0;
        left: 0;
        display: inline-block;
    }

    .footer-grid-container a, .footer-grid-container h1, .footer-grid-container h2, .footer-grid-container h3, .footer-grid-container p, .footer-li {
        color: white;
        line-height: 1.5em;
    }


    .footer-li {
        color: #FFF;
    }

    .narrow {
        margin-top: 0;
        margin-bottom: 0;
    }

    .plain-list {

        list-style: none;
        color: #FFF;
    }

    .plain-list a {
        text-decoration: none;
    }

    .plain-list a:hover, a:focus {
        outline: none;
        text-decoration: underline;
    }

    .plain-list a:focus:not(:focus-visible){
        text-decoration: none;
    }

    .footer-grid-container {
        display: grid;
        padding: 15px;
        grid-template-areas: "logo span1 links span2 addr" "copy span1 links span2 addr";

        grid-template-columns: 1fr 2px 1fr 2px 1fr;
        grid-template-rows: auto;
    }

    .logo-section-grid {
        grid-area: logo;
        padding: 0px 20px;
        padding-top: 30px;
        justify-content: center;
    }

    .logo-section-grid img {
        width: 250px;
        justify-self: center;
    }

    #footer img {
        max-width: 100%;
        height: auto;
    }

    #copyinfo {
        grid-area: copy;
        padding: 10px 20px;
        text-align: center;
    }

    .about-section {
        grid-area: links;
        padding: 30px 20px;
    }


    .addr-section {
        grid-area: addr;
        padding: 30px 20px;

    }

    .line-span1, .line-span2 {
        height: 120px;
        width: 2px;
        align-self: center;
        background-color: #fff;
    }

    .line-span1 {
        grid-area: span1;
    }

    .line-span2 {
        grid-area: span2
    }

}


/* Small laptop screen styles */
@media only screen and (min-width: 1024px) {

    .header-navlinks a {
        margin-left: 22px;
    }
}


@media only screen and (min-width: 1365px) {

    .navigation {
        display: flex;
        height: 100px;
    }

    .nav-contain {
        display: flex;
        flex-flow: row;
        align-items: center;
        align-content: center;
        justify-content: space-between;
        width: 90%;
    }

    .menu {
        display: flex;
        align-content: center;
        width: inherit;
    }

    .header-top {
        background: #4b4538;
        height: 35px;
        color: #fff;
    }

    .header-bottom {

        padding: 1px 0;
        border-top: 1px solid #4b4538;
        background: #fdfdfd;
    }

    .header-bottom-container {
        background: #9D2235;
        height: 35px;
        /* margin: 5px 0px; */
        /* border-top: 1px; */
        /* border-bottom: 1px; */
        color: #fff;
    }

    .header-logo {
        margin: 10px 0px;
    }

    .logo {
        width: auto;
        height: 50px;
        display: block;
    }

    .chkbx {
        display: none;
    }

    .header-navlinks a:first-child {
        padding: 10px 5px;
    }

    .header-navlinks li {
        padding: unset;
        margin: unset;
        display: grid;
    }

    .header-navlinks li:first-child {
        padding-top: 0;
    }

    .header-navlinks {
        font-size: 18px;
        width: 100%;
        margin-top: -18px;
        background-color: unset;
        list-style: none;
        display: flex;
        flex-flow: row;
        justify-content: flex-end;
        height: 40px;
        margin-right: 15px;
        white-space: nowrap;
    }

    .header-navlinks a {
        color: #555;
        font-weight: 800;
        font-size: 17px;
        margin-right: 25px;
        padding: 10px 5px;
        position: relative;
        margin-left: 0;
    }

    .header-navlinks a::after {
        content: "";
        display: block;
        position: absolute;
        height: 2px;
        background-color: #9D2235;
        width: 0;
        left: 50%;
        bottom: 0;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        -webkit-transition: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) all;
        transition: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) all;
    }

    .header-navlinks a:hover,
    .header-navlinks a:focus {
        color: #9D2235;
        outline: 0;
    }

    .header-navlinks a:hover::after,
    .header-navlinks a:focus::after {
        width: 100%;
    }

    .menu .chkbx {
        display: none;
    }

    .burger {
        display: none;
    }

    .logout-btn {
        background: #9D2235;
        color: white !important;
        display: grid;
        justify-content: center;
        width: 95px;
        border-radius: 5px;
        border: 2px solid transparent;
    }

    .logout-btn:hover {
        background: white;
        color: #9D2235 !important;
        border: 2px solid #9D2235;
    }

    .logout-btn::after {
        height: 0 !important;
    }

    .logout-li .logout-btn {
        font-size: 16px !important;
    }
}

@media only screen and (min-width: 1400px) {

    .header-navlinks a {
        font-size: 18px;
    }
}
