html
{
    background-color: #f8f8f8;
    overflow-x: hidden;
} 
body
{
    margin: 0vw;
    padding: 0vw;
    
}
* iframe{
    height: 20vw;
    width: 36vw;
}
#content{
    width: 100%;
    height: 100%;
    background-color: #f8f8f8;
}
body{
    margin: 0;
}
#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 */
/*Home Page Main Information*/
#homePhrase
{   
    background-color: #A0A0A0;
    text-align: center;
    font-size: 1.5vw;
    margin: 0vw;
    padding: 0.5vw;
    box-shadow: 0.1vw 0.1vw 1vw -0.2vw;
}
#main{
    padding-top: 7vw;
    background-color: white;
}
#productsheader{
    height: 10vw;
    width: 100%;
    background-color: none;
}
#productsheader h3{
    margin: 0;
    text-align: center;
    font-size: 7vw;
    padding: 0 0;
    color: #065894;
}
#productsnav{
    text-align: center;
    margin-bottom: 5vw;
}
#dropdownbtn{
    font-size: 2vw;
    margin: 0;
    height: 4vw;
    width: 20vw;
    color: white;
    border-radius: 1vw;
    background-color: #7e7e7e;
    outline: none;
    transition: background 0.3s ease-in-out;
}
#dropdownbtn:hover{
    background-color: #303030;
    cursor: pointer;
}
.dropdown-content{
    display: none;
    position: absolute;
    border: none;
    border-radius: 1vw;
    left: 40%;
    background-color: #065894;
    overflow: auto;
    z-index: 0;
}
.dropdown-content button{
    color: rgb(255, 255, 255);
    background-color: #065894;
    font-size: 1.5vw;
    width: 20vw;
    height: 4vw;
    z-index: -1;
    display: block;
}
.dropdown-content button:hover{
    cursor: pointer;
    background-color: rgb(6, 106, 168);
}
.show{
    display: block;
}
#beltoneamaze{
    height: auto;
    width: 100%;
    margin-top: 1vw;
    background-color: #f8f8f8ef;
}
#scriptchange{
    transition: all ease-in-out 3s;
}
#amazechange{
    font-size: 3vw !important;
}
#beltoneamaze h3{
    font-size: 4vw;
    margin: 0;
    padding: 0vw, 0vw;
    text-align: center;
    color: #065894;
    transition: all ease-in-out 3s;
}
#beltoneamaze img{
    height: 35vw;
    width: 40vw;
    float: left;
    margin-left: 5.5vw;
    transition: all ease-in-out 3s;
}
#beltoneamazebox{
    height: 45vw;
    width: 35vw;
    background-color: none;
    margin-left: 50vw;
    text-align: center;
    z-index: 0;
}
#beltoneamazebox p{
    color: #2d2f30;
    font-size: 1.8vw;
    text-align: center;
}
#beltoneamazefeatures{
    background-color: #f8f8f8ef;
    height: auto;
    margin-bottom: 5vw;
    flex-wrap: wrap;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.amazefeatures{
   padding: 1vw;
   text-align: center;
   width: 21vw;
   min-width: 550px;
}
.amazefeatures h4{
    font-size: 1.6vw;
}
.amazefeatures p{
    font-size: 1.4vw;
    color: #2d2f30;
}
#beltoneamazefeatures h4{
    color: #065894;
}
#hearingaidstyleshead{
    width: 100%;
    text-align: center;
}
#stylesh1{
    font-size: 3.5vw;
    color: #065894;
}
#hearingaidstyles{
    display: grid;
    grid-gap: 1vw;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-around;
}
.styleh3s{
    font-size: 2.5vw;
    color: #065894;
}
.styleps{
    font-size: 1.5vw;
}
.styledivs{
    text-align: center;
    height: auto;
    width: 30vw;
}
.styleimgs{
    height: 20vh;
    width: 20vw; 
}
#style1{
}
#style2{
}
#style3{
}
#style4{
}
#style5{
}
#style6{
}
#style7{
}
#beltonetrust{
    height: auto;
    width: 100%;
    margin-top: 2vw;
    transition: all ease-in-out 3s;
    background-color: #f8f8f8ef;
}
#beltonetrustbox{
    height: 25vw;
    width: 45vw;
    opacity: 1;
    background-color: none;
    margin: 0;
    margin-top: 0vw;
    margin-left: 5vw;
    text-align: center;
    float: left;
    transition: all ease-in-out 1.5s;
}
#h41{
    margin: 0;
    font-size: 4.8vw;
    color: #065894;
}
#h42{
    margin: 0;
    font-size: 4vw;
    color: rgb(0, 89, 255);
}
#beltonetrustbox p{
    font-size: 1.5vw;
    color: #2d2f30;
}
#beltonetrust iframe{
    margin: 0;
    margin-right: 5vw;
    float: right;
}
#beltonetrusthead{
    font-size: 4vw;
    margin: 0;
    margin-bottom: 5vw;
    padding: 0vw, 0vw;
    color: #065894;
    text-align: center;
    transition: all ease-in-out 3s;
}
#trustgrid{
    margin-top: 10vw;
    height: auto;
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto;
    margin-left: 3vw;
    margin-right: 3vw;
    text-align: center;
    grid-gap: 3vw;

}
.trustgriditems{
    width: 25vw;
    height: auto;
}
.trustgridimgs{
    width: 25vw;
    height: 30vh;
}
.trustgridh3{
    font-size: 2vw;
    color: #065894;
    margin: 0;
    margin-bottom: 3vw;
}
.trustgridp{
    font-size: 1.5vw;
    color: #2d2f30;
}

#beltoneally{
    height: 50vw;
    width: 100%;
    background-image: url(https://midwestbeltone.com/wp-content/uploads/2019/01/Beltone-Ally-hearing-aid-grand-father.jpg)!important;
    background-size: 100%;
    background-position: center, bottom;
    background-repeat: no-repeat;
}
#beltoneallybox{
    height: 55vw;
    width: 40vw;
    background-color: none;
    margin-left: 55vw;
    transition: margin-left 2s ease-in;
}
#beltoneallybox h2{
    font-size: 3vw;
    color: blue;
}
#beltoneallybox p{
    font-size: 1.5vw;
    color: #2d2f30;
}
#beltoneally h3{
    font-size: 4vw;
    margin: 0;
    padding: 0vw, 0vw;
    color: #065894;
    text-align: center;
}
#beltoneboost{
    height: auto;
    width: 100%;
    padding-top: 2vw;
    background-color: #f8f8f8ef;
}
#beltoneboosthead{
    font-size: 4vw;
    margin: 0;
    padding: 0vw, 0vw;
    color: #065894;
    text-align: center;
}
#beltoneboostcontainer{
    height: 30vw;
    margin-top: 5vw;
    width: 60vw;
}
.boostlistitems{
    font-size: 3vw;
    color: #065894;
    margin: 0.8vw;
}
#boostflex{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: #f8f8f8ef;
}
#boostimgdiv{
    margin-top: 5vw;
}
#boostimgdiv img{
    height: 25vw;
    width: 35vw;
}
#boostfeatures{
    margin-top: 5vw;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: baseline;
}
.boostfeaturedivs{
    height: auto;
    text-align: center;
    min-width: 450px;
    width: 30vw;
}
.boostfeaturesimg{
    height: 20vw;
    width: 30vw;
}
.boostfeatureshead{
    font-size: 2.5vw;
    color: #065894;
    margin: 0;
}
.boostfeaturesp{
    font-size: 1.7vw;
    color: #2d2f30;
}
#img1{
    height: 20vw;
    width: 30vw;
}
#img2{
    height: 10vw;
    width: 20vw;
}
#beltoneboldhead{
    font-size: 4vw;
    margin: 0;
    padding: 0vw, 0vw;
    text-align: center;
    color: #065894;
}
#beltoneboldkeyfeatures{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
#beltoneboldkeyfeatures h4{
    color: #065894;
}
#wirelessaccessories{
    height: auto;
    width: 100%;
    margin-top: 2vw;
    margin-bottom: 1vw;
    background-image: url(https://midwestbeltone.com/wp-content/uploads/2019/01/Beltone-Direct-Line-hearing-aid-accessories-lined-up-for-hero-deck.jpg)!important;
    background-repeat: no-repeat;
    background-size: cover;
}
#wirelessaccessoriesbox{
    height: auto;
    width: 35vw;
    margin-left: 55vw;
    text-align: center;
    padding-bottom: 3vw;
    background-color: rgba(230, 242, 255, 0.699);
    
}
#wirelessaccessoriesbox h2{
    font-size: 2.5vw;
    color: blue;
}
#wirelessaccessoriesbox h4{
    font-size: 2vw;
    color: rgb(3, 128, 230);
}
#wirelessaccessoriesbox p{
    font-size: 1.5vw;
    color: #2d2f30;
}
#wirelessproducts{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: auto;
}
.wirelessproducts{
    padding: 1vw;
    width: 20vw;
    margin-left: 1vw;
    min-width: 250px;
}
.wirelessproducts h4{
    font-size: 1.6vw;
}
.wirelessproducts p{
    font-size: 1.3vw;
    color: #2d2f30;
}
#wirelessproducts h4{
    margin: 0;
    color: #065894;
}
#wirelessproducts img{
    width: 18vw;
    height: 18vw;
}

#wirelessaccessories h3{
    font-size: 4vw;
    margin: 0;
    padding: 0vw, 0vw;
    text-align: center;
    color: #065894;
}
#beltoneapps{
    height: 40vw;
    width: 100%;
    margin-top: 2vw;
    background-image: url(https://midwestbeltone.com/wp-content/uploads/2019/01/Beltone-HearPlus-app-man-holding-iPhone.png)!important;
    background-size: cover;
}
#beltoneappsbox{
    height: 35vw;
    width: 40vw;
    background-color: none;
    margin-top: 6vw;
    margin-left: 5vw;
}
#beltoneappsbox h4{
    font-size: 4vw;
    color: #065894;
    margin: 0;
}
#beltoneappsbox p{
    font-size: 2vw;
    color: #2d2f30;
}
#beltoneapps h3{
    font-size: 4vw;
    margin: 0;
    padding: 0vw, 0vw;
    text-align: center;
    color: #065894;
}
#beltoneappsproducts{
    margin-top: 2vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    width: 100%;
}
#beltoneappsproducts img{
    width: 17vw;
    height: 17vw;
}
#beltoneappsproducts h4{
    color: #065894;
    font-size: 1.6vw;
}
#beltoneappsproducts p{
    font-size: 1.3vw;
    color: #2d2f30;
}
.beltoneapps{
    padding: 1vw;
    width: 17.5vw;
    min-width: 200px;
}

#middlenav1 {
    background-color: #f8f8f8ef;
    text-align: center;
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

}
#middlenav1 a{
    background-color: #065894;
    color: white;
    font-size: 1.2vw;
    border-radius: 1vw;
    margin-left: 3vw;
    margin-top: 3vw;
    height: auto;
    padding: 0.5vw;
    width: 15vw;
    min-width: 225px;
    transition: all ease-in-out 0.3s;
    text-decoration: none;
}
#middlenav1 #mida1:hover{
    cursor: pointer;
    background-color: rgb(0, 89, 255);
    transform: scale(1.2);
}
#middlenav1 #mida2:hover{
    cursor: pointer;
    background-color: rgb(0, 89, 255);
    transform: scale(1.2);
}
#middlenav1 #mida3:hover{
    cursor: pointer;
    background-color: rgb(0, 89, 255);
    transform: scale(1.2);
}
#middlenav1 #mida4:hover{
    cursor: pointer;
    background-color: rgb(0, 89, 255);
    transform: scale(1.2);
}
#middlenav1 #mida5:hover{
    cursor: pointer;
    background-color: rgb(0, 89, 255);
    transform: scale(1.2);
}
#middlenav1 #mida6:hover{
    cursor: pointer;
    background-color: rgb(0, 89, 255);
    transform: scale(1.2);
}
#middlenav1 #mida7:hover{
    cursor: pointer;
    background-color: rgb(0, 89, 255);
    transform: scale(1.2);
}
#middlenav1 #mida8:hover{
    cursor: pointer;
    background-color: rgb(0, 89, 255);
    transform: scale(1.2);
}
#middlenav1 #mida9:hover{
    cursor: pointer;
    background-color: rgb(0, 89, 255);
    transform: scale(1.2);
}
#middlenav1 #mida10:hover{
    cursor: pointer;
    background-color: rgb(0, 89, 255);
    transform: scale(1.2);
}
#whitebox {
    margin-top: -0.01vw;
    height: 2vw;
    background-color: #f8f8f8;
}
/*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: 5vw;
         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*/
    #productsheader h3{
        margin-top: 0vw;
        font-size: 9vw;
    }
    .amazefeatures p{
        font-size: 3vw;
        padding-right: 2.5vw;
    }
    #beltoneamazefeatures h4{
        font-size: 4.5vw;
        padding-right: 2.5vw;
    }
    .amazefeatures{
        min-width: 500px;
    }
    #beltoneamazebox p{
        font-size: 2.8vw;
    }
    #beltoneamazebox{
        height: 70vw;
    }
    #hearingaidstyles{
        grid-template-columns: auto;
    }
    .styledivs{
        width: 60vw;
        height: auto;
    }
    .styleh3s{
        font-size: 5vw;
    }
    .styleps{
        font-size: 4vw;
    }
    .styleimgs{
        width: 60vw;
    }
    #beltonetrust{
        height: auto;
    }
    #beltonetrustbox p{
        font-size: 3.5vw;
    }
    #beltonetrustbox{
        height: auto;
        width: 50vw;
        opacity: 1;
    }
    #trustgrid{
        margin-top: 15vw;
        grid-template-columns: 100%;
        justify-content: center;
        margin-left: 0;
        margin-right: 0;
    }
    .trustgridh3{
        font-size: 6vw;
    }
    .trustgridp{
        font-size: 3vw;
    }
    .trustgriditems{
        width: auto;
        margin-left: auto;
        margin-right: auto;
    }
    .trustgridimgs{
        width: 55vw;
        height: 55vw;
        margin-left: auto;
        margin-right: auto;
    }
    #beltonetrust iframe{
        margin-top: 5vw;
    }
    #h41{
        font-size: 5.2vw;
    }
    #h42{
        font-size: 4.8vw;
    }
    #main{
        margin-top: 5vw;
    }
    .wirelessproducts{
        min-width: 550px;
    }
    .beltoneapps{
        min-width: 500px;
    }
    .boldfeatures{
        min-width: 550px;
    }
    #wirelessaccessories{
        height: 95vw;
    }
    #wirelessaccessoriesbox h2{
        font-size: 3.5vw;
    }
    #wirelessaccessoriesbox h4{
        font-size: 3vw;
    }
    #wirelessaccessoriesbox{
        background-color: #E6F2FF;
        height: 75vw;
        box-shadow: 5px 8px 43px 11px #000000;
        margin-left: auto;
        margin-right: auto;
        border-radius: 2vw;
        width: 50vw;
    }
    #wirelessaccessoriesbox p{
        font-size: 2.5vw;
    }
    
    #img1{
        height: 40vw;
        width: 50vw;
    }
    #img2{
        display: none;
    }
    #beltoneboosthead{
        font-size: 6vw;
    }
    #boostflex{
        display: block;
    }
    #boostimgdiv{
        margin-left: auto;
        margin-right: auto;
        height: 35vw;
        width: 50vw;
        margin-top: 0;
    }
    #boostimgdiv img{
        height: 35vw;
        width: 50vw;
    }
    #beltoneboostcontainer{
        margin-left: auto;
        margin-right: auto;
    }
    .boostlistitems{
        font-size: 3.5vw;
        margin: 0.4vw;
    }
    #boostfeatures{

    }
    .boostfeatureshead{
        font-size: 4vw;
    }
    .boostfeaturesp{
        font-size: 3vw;
    }
    .boostfeaturesimg{
        height: 30vw;
        width: 40vw;
    }
    .wirelessproducts h4{
        font-size: 3.5vw;
    }
    .wirelessproducts p{
        font-size: 2.5vw;
    }
    #wirelessproducts img{
        height: 34vw;
        width: 34vw;
    }
    #beltoneappsproducts img{
        height: 34vw;
        width: 34vw;
    }
    #beltoneappsproducts h4{
        font-size: 3.5vw;
    }
    #beltoneappsproducts p{
        font-size: 2.5vw;
    }
    #beltoneapps{
        height: 55vw;
    }
    #beltoneappsbox{
        height: 50vw;
        width: 50vw;
    }
    #beltoneappsbox h4{
        font-size: 6vw;
    }
    #beltoneappsbox p{
        font-size: 3.5vw;
    }
    #beltoneally{
        height: 65vw;
    }
    #ballyh2{
        font-size: 5vw
    }
    #beltoneallybox p{
        font-size: 3vw;
    }
    #middlenav1 a{
        font-size: 2vw;
        width: 20vw;
    }
    /* footer changes */
    #companyPhrase{
        font-size: 2.4vw;
    }
    #copyright{
        font-size: 2.3vw;
    }
    #footerLogo{
        width: 18vw;
    }
    .footerbtns a{
        font-size: 3.6vw;
    }
}