html {position: relative;
min-height: 100%;
-webkit-text-size-adjust: none;}
h1 {padding-bottom:10px;
}
h4 {color:#fff !important;
padding:4% 0 0 0;
margin:0 0 0.3em 0;}
#maincontent {margin-bottom:-18px;
padding-bottom:0;
}

@media only screen and (max-width: 960px) and (min-width:840px)  {
#tmaincontent {
margin-bottom:100px;
padding-bottom:0;
}}
#topbrand {position: absolute;
top: 0;
width: 250px;
height:auto;
margin: 0;
border:0; 
-moz-opacity: 1.0;
-webkit-opacity: 1.0;
opacity: 1.0;
transition: opacity .25s ease-in-out;
-moz-transition: opacity .25s ease-in-out;
-webkit-transition: opacity .25s ease-in-out;
}

@media only screen and (max-width: 960px) and (min-width:840px)  {
#topbrand {
width: 200px;
margin-top:12px;
height:auto;
}}
#mainimage {height: 300px;
width: 100%;
float:left;
clear:both;
background: #cccccc;
border: 0;
overflow:hidden;
margin: 85px 0 0 0;
border-bottom: 1px solid #00a7e7;
}

@media only screen and (max-width: 1023px) and (min-width: 900px) {
#mainimage {
height: 250px;
}
}

@media only screen and (max-width: 767px) {
#mainimage {
height: 200px;
}

/*
}

@media only screen and (max-width: 468px) {
#mainimage {
height: 150px;
}
}

@media only screen and (max-width: 380px) {
#mainimage {
display:none;
}
}

@media only screen and (max-height: 420px) and (orientation: landscape) {
#mainimage {
display:none;
}
*/
}
#next, #previous {position: absolute;
top: 40%;}
#previous {left: 15px;}
#next {right:15px;}
.top30 {margin-top: 30px;
margin-bottom: 30px;}
.top20 {margin-top:20px;
margin-bottom: 20px;}
.bgwhite {background-color: #fff !important;
border-top: 1px solid #00a7e7;
}
.blueback {background-color: #f5fbfe;
border-top: 1px solid #00a7e7;
padding-top: 10px;
padding-bottom: 10px;}
.bluestripe {background-color: #00a7e7;
height: 25px;
color:#fff !important}
.pathway {float:left; 
clear:both; 
height: 25px; 
width:100%; 
background-color: #08a8e8;
color:#fff; 
padding: 4px 30px 0 30px; 
margin: 1px 0 20px 0;
}

.pathway a {
color:#fff !important;
text-decoration: underline;
}

@media only screen and (max-width: 1024px) {
.crumb {
padding-left: 0;
margin-left:-15px;
}}
.boxicon {position: relative;
z-index:99;
border: 2px solid #08a8e8; 
border-radius: 5px; 
margin: -50% auto; 
background:#fff;}
.footer {position: absolute;
bottom: 0;
font-size: 100%;
background-color:  #00628b;
color: #fff !important;
padding: 10px 0;
width: 100%;
/* Set the fixed height of the footer here */}
.team {height: 300px;
}

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

.team {
height: 330px;
}
}

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

.team {
width: 100%;
height: auto;
}}
body {margin-bottom: 110px;}
.startbox {border: solid 2px #08a8e8;
padding-top: 20px;
color: #08a8e8 !important;
}
.viewport {width: 100%;
overflow: hidden;
position: relative;
}
.viewport a {display: block;
position: relative;}
.viewport a img {position: relative;
width:100%;
height:auto;}
.viewport a span {display: none;
height: 100%;
padding: 5%;
position: absolute;
text-align: left;
text-decoration: none;
width: 100%;
z-index: 100;}
.viewport a span p {display: block;
font-weight: normal;
color:#fff;
padding:0;
margin:0;}
.viewport a span h3 {color:#fff !important;
padding:4% 0 0 0;
margin:0 0 0.3em 0;}
.dark_background {background: url(src/img_blackgrad.png) top repeat-x;
color: #fff;
}
.google-maps {       position: relative;
        padding-bottom: 45%; // This is the aspect ratio
        height: 0;
        overflow: hidden;
}


@media only screen and (max-width: 760px) {
.google-maps {
       position: relative;
        padding-bottom: 75%; // This is the aspect ratio
        height: 0;
        overflow: hidden;
}
}
    .google-maps iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;}
h2, h3 {padding-top: 10px;
margin-bottom: 5px;}
.boxlink {color: #08a8e8 !important;
text-decoration: none;
}

.boxlink:hover {
color: #990000 !important;
text-decoration: none;}
