html
{
    background-color: white;
    height: 100%;
    overflow: hidden;
}
body
{
    margin: 0vw;
    padding: 0vw;
    height: 100%;
    -webkit-perspective: 2px;
    perspective: 2px;
    transform-style: preserve-3d;
    overflow-x: hidden;
    overflow-y: scroll;
}
#header{
    height: auto;
    width: 100%;
    display: grid;
    grid-template-rows: auto auto;
    position: sticky;
    top: 0vw;
    left: 0vw;
    z-index: 10;
}
#topcontact{
    height: auto;
    width: 100%;
    display: grid;
    background-color: #f8f8f8ef;
    grid-template-columns: 19% 42% 20% 20%;
    padding-top: 0.5vw;
    padding-bottom: 0.5vw;
}
#tc1{
    display: grid;
    grid-template-columns: 40% 60%;
    text-align: center;
}
#tc1 p{
    margin: 0;
    font-size: 1.4vw;
    margin-right: 1vw;
}
#tc1 a{
    text-decoration: none;
    font-size: 1.4vw;
    text-align: left;
}
#tc2{
    text-align: center;
}
#tc2 p{
    margin: 0;
    font-size: 1.4vw;
}
#tc3{
    text-align: center;
}
#tc3link{
    font-size: 1.4vw;
    color: #065894;
    text-decoration: none;
    padding: 0.3vw;
}
#tc3link:hover{
    color: #f8f8f8ef;
    background-color: #065894;
    transition: ease-in-out 0.3s;
}
#logo{
    width: 14vw;
    height: 2.5vw;
    padding: 0.5vw;
}
#topcontactmobile{
    background-color: white;
    height: auto;
    width: 100%;
    text-align: center;
    display: none;
}
#topcontactmobile p{
    margin: 0;
    font-size: 1.4vw;
}

.linesspans{
    font-size: 1.4vw;
    color: #065894;
}
#tcsocialbuttons{
    display: grid;
    grid-template-columns: 50% 50%;
    text-align: center;
}
#facebtn{
    background-color: transparent;
    margin-left: 3vw;
    border: none;
}
#facebtn:hover{
    cursor: pointer;
}
#facebtn img{
    height: 1.5vw;
    width: 8vw;
}
#instabtn{
    background-color: transparent;
    border: none;
}
#instabtn:hover{
    cursor: pointer;
}
#instabtn img{
    height: 2.5vh;
    width: 1.3vw;
}
#mainheader{
    background-color: #065894;
    display: grid;
    grid-template-columns: 40% 60%;
    height: auto;
}
#topnav{
    display: grid;
    grid-template-columns: 10% 30% 15% 30% 15%;
    text-align: center;
}
.tnlinks{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 2.1vw;
    text-decoration: none;
    color: white;
    line-height: 4vw;
}
.tnlinks:hover{
    background-color: white;
    color: #065894;
    /*border-radius: 1vw;*/
    box-shadow: 0.2vw 0.2vw 0.5vw #000000;
    transition: ease-in-out 0.3s;
}
/* end of header */
#mapTop
{
    flex-direction: row;
    display: flex;
    height: 90%;
}
#map
{

  height: 100%;
  width: 80%;
}
#locationList
{
    margin-top: 1.5vh;
    text-align: left;
    color:#065894;
    width: 100%;
    height: 86.3%;
    overflow: scroll;
    
}
#locations
{
    font-weight: 1000;
    background-color: white;
    padding: 1vw;
    
}
#locations:hover
{
    background-color: #065894;
    color: white;
    cursor: pointer;
}
#zipCode{
    font-weight: 1000;
    background-color: white;
    padding-top: 1vw;
    text-align: center;
    color: #065894;
    font-size: 2vw;
}
#inputBoxes{
    text-align: center;
    height: 2vw;
}
#zipCodeSearch{
    padding-left: 0.2vw;
    border-top-left-radius: 5vw;
    border-bottom-left-radius: 5vw;
    padding-top: 0.5vw;
    padding-bottom: 0.5vw;
    outline: none;
    width: 13vw;
}
#submit{
    background-color: #065894;
    color: white;
    border-top-right-radius: 5vw;
    border-bottom-right-radius: 5vw;
    padding-top: 0.5vw;
    padding-bottom: 0.5vw;
    outline: none;
}
#locationheader{
    height: 8vw;
    text-align: center;
    width: 100%;
    background-color: white;
    border-bottom: 0.8vw #065894 solid;
    border-radius: 0% 0% 10% 0% / 50%;
    margin-bottom: 0vw;
    margin-top: 1vh;
}

#locationheader h3{
    margin: 0;
    font-size: 6vw;
    color: #065894;
    margin-top: 0vh;
}
/*footer begin*/
#footer{
    padding-bottom: 0.5vw;
    color: white;
    bottom: 0;
    text-align: center;
    width: 100%;
    background-color: #065894;

}
#footernav{
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: white;
    padding-bottom: 0.5vw;
    padding-top:0.75vw;
}
#companyPhrase{
    padding-top:0.25vw;
    padding-bottom: 0.25vw;
    font-size: 1.4vw;
    color: #312f2f;
    background-color: #A0A0A0;
}
.footerbtns :hover{
    color: #065894;
    background-color: white;
    box-shadow: 0.2vw 0.2vw 0.5vw #000000;
    transition: ease-in-out 0.3s;
}
.footerbtns a{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 2.1vw;
    text-decoration: none;
    color: white;
    padding: 0.1vw;
    padding-right: 0.6vw;
    padding-left: 0.6vw;
    margin-right: 1.5vw;
}
#footerImgCopy{
    display: grid;
    grid-template-columns: 50% 50%;

}
#footerImg{
    text-align: right;
    margin-right: 5vw;
}
#footerLogo{
    width: 12vw;
}
#copyright{
    text-align: left;
    margin-left: 5vw;
    margin-top: 1vw;
}
/*footer end*/
@media screen and (orientation: portrait){
    html {
        overflow-x: hidden!important;
    }
    #topcontact{
        grid-template-columns: 33% 33% 33%;
    }
    #tc1{
        display: block;
    }
    #tc1 p{
        display: none;
    }
    #tc1 a{
        font-size: 3.5vw;
    }
    #tc2{
        text-align: center;
        display: none;
    }
    #tc2 p{
        margin: 0;
        font-size: 2vw;
    }
    #tc3{
    }
    #tc3 p{
   
    }
    #tc3link{
        font-size: 3.5vw;
        color: #065894;
        text-decoration: none;
    }
    #facelink{
    }
    #instalink{
    }
    #topcontactmobile{
        display: block;
    }
    #topcontactmobile p{
        font-size: 3.4vw;
    }
    #facelink{
        
    }
    #facebtn{
        margin-left: 0;
    }
    #facebtn img{
        height: 2.1vh;
        width: 16vw;
    }
    #instabtn img{
        height: 2.1vh;
        width: 3.9vw;
    }
    .linesspans{
        font-size: 1.2vw;
        color: #065894;
    }
    #topnav{
         margin-left: 0vw;
         grid-template-columns: repeat(3, 1fr);
         grid-gap: 1.5vw;
         justify-content: center;
    }
    #logo{
        width: 28vw;
        height: 5vw;
        padding: 1vw;
    }
    .tnlinks{
        font-size: 4vw;
        min-width: 100px;
    }
    #mainheader{
        grid-template-columns: 25% 75%;
    }
    /* end of header changes*/
    body {
        transform: scale(1)
    }
    #locationheader {
        margin-top: 1vh;
    }
    #mapTop{
        display: flex;
        flex-direction: column-reverse;
        height: 75%;
    }
    #map{
        margin-top: 3vw;
        width: 100%;
        z-index: 2;
    }
    #searchBox{
        
        top: 0;
        z-index: 1;
        background-color: none;
    }
    #zipCode{
        font-size: 4vw;
    }
    #companyPhrase{
        font-size: 2.4vw;
    }
    #copyright{
        font-size: 2.3vw;
    }
    #footerLogo{
        width: 18vw;
    }
    .footerbtns a{
        font-size: 3.6vw;
    }
   
    
}