/*MAIN PAGE LAYOUT */
body {
    background: #fff;
    margin: 0;
    padding: 0;
}

html {
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjst: 100%;
}

p {
    margin: 0;
    padding: 0;
    font-family: "mundial-narrow-variable";
    font-size: 110%;
    font-weight: 400;
    color: #777;
    line-height: 150%;
}

p a, p a:visited {
    text-decoration: none;
    color: #777;
}

div a, div a:visited {
    text-decoration: none;
    color: #223377;
}

ul li {
    display:inline;
    list-style:none;
}

input, .input, select {
    height: 35px;
    border-radius: 10px;
    margin: 0 0 12px 0;
    padding: 5px;
    font-family: Open Sans;
    font-size: 100%;
    font-weight: 400;
    color: #444;
}

textarea {
    border-radius: 10px;
    padding: 5px;
}

label {
    margin: 0 10px 0 0;
}

h2 {
    font-family: Poppins;
    font-size: 125%;
    font-weight:600;
    color:#555;
    padding:0;
    margin:10px 0 0 0;
    line-height:100%;
}

h3 {
    font-family: Poppins;
    font-size: 200%;
    font-weight: 600;
    color:#555;
    padding: 0;
    margin:0;
    line-height:25px;
}

h4 {
    font-family:Poppins;
    font-size: 140%;
    font-weight:400;
    font-variant:small-caps;
    color:#444;
    padding:0;
    margin:0;
}
 
h5 {
    font-family:'mundial-narrow-variable';
    font-size: 125%;
    font-weight:400;
    color:#444;
    line-height:100%;
}

sectionhead {
    font-family:Roboto;
    font-size:110%;
    font-weight:600;
    font-variant:small-caps;
    color:#0f2d87;
    padding:0;
    margin:0;
    line-height: 25px;
}

fieldset {
    min-height: 300px;
    border-radius: 10px;
}

legend {
    font-family: Open Sans;
    font-size: 103%;
    font-weight: 700;
    color: #002364;
}

button {
    height:40px;
}

.hide {
    display: none;
}

.show {
    display: block;
}

/* MAIN DIVS */

#main {
    width: 100%;
}
 
#spacer {
    width:100%;
    height:50px;
    background-color:transparent;
    clear:both;
}


.modalconent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fafafa;
    width: 35%;
    padding: 30px;
    border-radius: 10px;
}
.modalbutton {
    position: absolute;
    right: 5px;
    top: 3px;
    padding: 2px 4px;
    background-color: #fafafa;
    color: #444;
    border: 0;
    cursor: pointer;
} 

.mobileonly {
    display:none;
}

/* TEXT CONTROLS */

 .text {
 font-family: Lato;
 font-size: 13px;
 font-weight: 400;
 color: #333;
 line-height: 17px;
 text-align: justify;
 text-decoration: none;
 }

 .text a, .text a:visited {
 color: #444;
 text-decoration: none;
 }

 .text a:hover {
 color: #222;
 text-decoration: none;
 }

 .text b {
 font-size: 14px;
 font-weight: 900;
 color: #333;
 }

 .adtext {
 font-family: Lora;
 font-size: 21px;
 font-weight: 600;
 color: #FFF;
 text-align:left;
 text-decoration: none;
 text-shadow: 1px 1px #111;
 }

 .bread, .bread a, .bread a:visited {
 font-family: Open Sans;
 font-size: 110%;
 font-weight: 400;
 font-variant: small-caps;
 color: #fff;
 text-decoration: none;
 margin: 0;
 padding: 0;
 line-height: 19px;
 }

 .bread a:hover {
 font-size: 110%;
 text-decoration: underline;
 color: #fff;
 }


 .button {
 font-family: Open Sans;
 font-size: 125%;
 font-weight: 400;
 font-variant: small-caps;
 background-color: #338fcc;
 color: #FFF;
 border:0;
 border-radius: 10px;
 height: 55px;
 width: 85%;
 padding: 0 0 4px 0;
 cursor: pointer;
 margin-bottom: 5px;
 }

 .minibutton {
 font-family: Open Sans;
 font-size: 135%;
 font-weight: 700;
 font-variant: small-caps;
 background-color: #338fcc;
 color: #FFF;
 border:0;
 border-radius: 10px;
 height: 55px;
 width: 35%;
 padding: 0 0 4px 0;
 cursor: pointer;
 margin-bottom: 5px;
 }

 .mailbutton {
 font-family: Open Sans;
 font-size: 15px;
 font-weight: 500;
 font-variant: small-caps;
 background-color: #338fcc;
 color: #FFF;
 border:0;
 border-radius: 5px;
 height: 25px;
 width: 125px;
 padding: 0 0 4px 0;
 cursor: pointer;
 margin: 10px 0;
 }

 .notes {
 font-family: Arial, sans serif;
 font-size: 13px;
 font-weight: 500;
 color: #777;
 font-variant: small-caps;
 text-decoration: none;
 line-height: 18px;
 }
 
 .sidemenutext, .sidemenutext a, .sidemenutext a:visited {
    letter-spacing: 1.95px;
    text-align:right;
    cursor:pointer;
    font-family:Poppins;
    font-weight:600;
    font-variant:small-caps;
    font-size:107%;
    line-height:20px;
    color: #555;
    padding:10px 0 0 0;
    text-decoration:none;
 }
 
 .sidemenutext_line2, .sidemenutext_line2 a, .sidemenutext_line2 a:visited {
    text-align:right;
    cursor:pointer;
    font-family:Poppins;
    font-weight:600;
    font-variant:small-caps;
    font-size:100%;
    line-height:20px;
    color: #555;
    padding:0;
    text-decoration:none; 
 }