/*********************
  Resets defualt browser settings
  reset.css
*********************/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td { margin:0; padding:0; border:0; outline:0; font-weight:inherit; font-style:inherit; font-size:100%; font-family:inherit; vertical-align:baseline; }
:focus { outline:0; }
a:active { outline:none; }
body { line-height:1; color:black; background:white; }
ol,ul { list-style:none; }
table { border-collapse:separate; border-spacing:0; }
caption,th,td { text-align:left; font-weight:normal; }
blockquote:before,blockquote:after,q:before,q:after { content:""; }
blockquote,q { quotes:"" ""; }

/*********************
  Page style
*********************/
body {
  font: .88em/150% Times, Helvetica, sans-serif;
  margin-left: auto;
  margin-right: auto; 
  max-width: 850px;
  width: 90%;
}
h1 {
  font: 3.333em Times, Helvetica, sans-serif;
  text-transform: uppercase;
  margin: 0 0 30px;
  color: black;
}
h2 {
  font-size: 2.5em;
  margin: 0 0 20px;
}
h3 {
  font-size: 1.6em;
  margin: 0px 0 5px;
}

p {
  font-size: 1.2em;
  margin: 0 0 10px;
}

section{
  margin-top:10px;
}

a:active, a:hover{
  text-decoration: none;
  color: black;
}


/*************************************************************************************
  Header
*************************************************************************************/

header {
  margin-top:5px;
  margin-bottom: 10px;
  padding:5px 0 5px 0; 
}

header nav {
  text-align: left;
  font-size:1.2em;
}

header #utilities{
  float: right;
  font-size: 1em;
  font-weight: normal;
  font-style: normal;
  padding: 5px 0 0 0;
}

header #logo{
  float: left;
  padding: 5px 0 15px;
  clear: left;
  max-width: 246px;
  max-height: 27px; 
  width: 100%;
  height: auto;
}

header #primarynav{
  position: relative;
  clear: both;
  z-index: 500;
  margin-top: 0;
  margin-right: 10px;
  margin-bottom: 0;
  padding: 0;
}

header #primarynav a{
  font-size: 0.8em;
  text-transform: uppercase;
}


header #lang a, header #lang a:active{
  text-decoration: none;
  color: black;
}

header #primarynav a{
  padding-bottom: 3px;
  text-decoration: none;
  color: black;
}

header #primarynav a:hover{
  padding-bottom: 3px;
  text-decoration: none;
  color: black;
  border-bottom: 1px solid #000;
}

.active{
  padding-bottom: 2px;
  border-bottom: 1px solid #000;
 }

header #lang li:last-child{
  padding-left: 5px;
  margin-left: 0px;
  border-left: 1px solid #000;
}
  
header nav ul li{
  clear: both;
  margin-left: 5px;
  display:inline;
  list-style:none;
  list-style-type:none;
}

header nav ul li:first-child{
  margin-left: 0px;
}


/*************************************************************************************
  Content
*************************************************************************************/


#banner{
  width: 100%;
  height: auto;
}
#banner img{
  width: 100%;
  height: auto; 
}

.feature-trailer-small{
  margin: 25px 0 25px 0;
  width: 100%;
  height: auto;
}

.weather-content{
    width: 60%;
    float: left;
}
.contact-content{
  width: 40%;
    float: left;
}

.weather-banner, .contact-banner{
  float:right; 
  text-align:center
}
.externallinks {
margin-bottom: 20px;
}

.externallinks a{
  text-decoration: none;
  color: #000;
  font-size: 1.2em;
}

.externallinks a:hover{
  border-bottom: 1px solid #000;
  color: #000;
}
/*************************************************************************************
  Footer
*************************************************************************************/

footer {
  clear: both;
  padding:5px 0 5px 0;
  border-top: 1px solid #000;
}

footer nav {
  margin: 10px 0 10px;
  font-size:1.0em;
}

footer nav ul li{
  display:list-item;
  list-style:none;
  list-style-type:none;
}

footer nav ul li a{
  color:black;
  text-decoration: none;
}

/*************************************************************************************
 to top button 
*************************************************************************************/
#back-top {
  cursor: pointer;
  display: none;
  position: fixed;
  bottom: 0;
  right: 5%;
  text-align: center;
  padding: 10px 18px 8px 16px;
  color: white;
  z-index: 4;
  background: black;
  color: white;
  text-decoration: none;
  z-index: 600;
}
#back-top a {
  display: block;
  text-align: left;
  font: 11px/100% Times, Helvetica, sans-serif;
  text-transform: uppercase;
  color: #FFF ; /* background color transition */
  -webkit-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
}
/*************************************************************************************
  Slideshow
*************************************************************************************/


.rslides {
  margin: 0 auto;
  }

.rslides_container {
  margin-bottom: 5px;
  position: relative;
  float: left;
  width: 100%;
  }
                                                                                
.transparent-btns_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 0;
  left: 0;
  display: block;
  background: #fff; /* Fix for IE6-9 */
  opacity: 0;
  filter: alpha(opacity=1);
  width: 48%;
  text-indent: -9999px;
  overflow: hidden;
  height: 91%;
  }

.transparent-btns_nav.next {
  left: auto;
  right: 0;
  }

.transparent-btns_nav:focus{
  outline: none;
  }

.transparent-btns_tabs {
  margin-top: 10px;
  margin-bottom: 20px;
  text-align: left;
  }

.transparent-btns_tabs li{
  display: inline;
  float: none;
  _float: left;
  *float: left;
  margin-right: 5px;
  }

.transparent-btns_tabs a{
  text-indent: -9999px;
  overflow: hidden;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  background: #ccc;
  background: rgba(0,0,0, .2);
  display: inline-block;
  _display: block;
  *display: block;
  -webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  -moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  width: 9px;
  height: 9px;
  }

.transparent-btns_here a{
  background: #222;
  background: rgba(0,0,0, .8);
  }


/*************************************************************************************
  Picture  Capture
*************************************************************************************/
.teaser-caption1, .teaser-caption2, .teaser-caption3, .teaser-caption4 {
  overflow: hidden;
  width: 210px;
  height: 138px;
  background: #2E2E2E;
  float:left;
  margin-right: 3px;
  margin-bottom: 15px
}

.teaser-caption4{
  margin-right: 0;
}

.teaser-caption-text {
  font-size: 1.1em;
  padding: 5px 5px 5px 5px;
  background-color: #2E2E2E;
  color: #FFF;
}

.teaser-caption-text a,.teaser-caption-text a:visited, .teaser-caption-text a:active, .teaser-caption-text a:hover{
  color: #FFF;
  margin-bottom: 5px;
}

.teaser-caption img{
  width: 100%;
  height: 100%;
}

/************************************************************************************
smaller than 980
*************************************************************************************/
@media screen and (max-width: 980px) {
  #banner{
    width: 100%;
    height: auto;
  }

  .teaser-caption1, .teaser-caption2,.teaser-caption4{
    float: right;
    margin-left: 1.5px
  }

  .teaser-caption3{
    clear: both;
    float: right
  }

  .weather-content{
    width: 100%;
  }
  .weather-banner{
    float:left; 
    text-align:left
  }
}

/************************************************************************************
smaller than 650
*************************************************************************************/
@media screen and (max-width: 650px) {

  /* header */
  #header {
    height: auto;
  }

  #banner{
    width: 100%;
    height: auto;
  }

  .weather-content, .contact-content{
    width: 100%;
  }

  .weather-banner, .contact-banner{
    float:left; 
    text-align:left
  }

}

/************************************************************************************
smaller than 480
*************************************************************************************/
@media screen and (max-width: 480px) {

  /* disable webkit text size adjust (for iPhone) */
  html {
    -webkit-text-size-adjust: none;
  }

  #banner{
    width: 100%;
    height: auto;
  }

  /* main nav */
  #primarynav a {
    font-size: 90%;
    padding: 10px 8px;
  }

  header #utilities{
    float:left;
    margin: 10px 0 10px 0;
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
    padding: 5px 0 0 0;
    line-height: 1em;
  }

  header #logo{
    float: left;
    margin-left: -5px;
    margin-bottom: 25px;
    max-width: 246px;
    max-height: 27px; 
    width: 100%;
    height: auto;
  }

  header #primarynav a{
    text-decoration: none;
    padding-left: 0px;  
  }

  header nav ul li{
    padding-left: 0px;  
    margin: 5px 5px 5px 0;
    display:  list-item;
    list-style:none;
    list-style-type:none;
    border:none;
  }
  .active a{ 
    border: none;
    margin: 0;
    padding: 0; 
  }
  header #lang ul li{
    display: inline;
    margin:0;
  }

  header #lang ul li:last-child{
    padding-left: 4px;
    margin-left: 0px;
  }
  header #primarynav a:hover{
    border-bottom:none;
  }

  .feature-trailer-small{
  }

  footer nav {
    margin: 10px 0;
    font-size:1.0em;
  }
+
  .weather-content{
    width: 100%;
  }
  .weather-banner, .contact-banner{
    float:left; 
    text-align:left;
    margin: 0;
    padding: 0; 
  }
}
