@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700');

.privacyLinkFooter {
  position: relative;
  top: 20px;
}

.privacyLinkFooter a {
  color: #fff !important;
}

.privacyLinkFooter a:hover {
  text-decoration: underline;
}

a {
  color: #5078BE;
}

h1,h2,h3,h4 {
  margin-top: 0px;
}
body {
  font-size: 16px;
  line-height: 26px;
  padding-top: 50px;
  font-family: 'Lato', sans-serif;
}

h1 {
	color: #5078BE;
	font-size: 26px;
	line-height: 40px;
	margin-bottom: 20px;
}
h1 em {
	color: #000;
	font-style: normal;
}

h2,h3,h4 {
	color: #5078BE;
	font-size: 22px;
	line-height: 36px;
	margin-bottom: 20px;
}

footer {
	width: 100%;
	background-color: #333;
	color: #fff;
	min-height: 300px;
	padding: 0 0 40px;
}

footer h2 {
	text-transform: uppercase;
	color: #eee;
	font-size: 20px;
}

.footerabove {
	width: 100%;
	background-color: #444;
	padding: 40px 0;
	margin: 0;

}
.footerbelow {
	width: 100%;
	padding: 40px 0;
	text-align: center;

}

.footcol ul {
    margin: 0;
    padding: 0;
}

.footcol li {
    list-style: none;
}

.greybg {
  background-color: #eee;
}

.headertext h3 {
  margin: 0;
  line-height: 22px;
}
.headertext span {
  color: #777;
}

#map iframe{
	pointer-events:none;
}

.headerbg {
  background: url('../images/bgPat-1.png') 0 0 repeat;
}
.thumbnail {
  text-align: center;
}
.thumbnail h2 {
    font-size: 18px;
    line-height: 20px;
    margin: 10px 0;
}

.thumbnail:hover {
  background-color: #eee;
  text-decoration: none;
}

#logo h1 {
    margin: 20px 0 0;
    padding: 0;
    text-align: right;
    color: #777;
}

/* ---- Flexslider overrides ---------- */
.flex-direction-nav a::before {
  font-size: 30px;
}

.flexslider {
  margin-bottom: 20px;
  background: transparent;
  border-width: 0px;
}

.flexslider .slides img {
  max-height: 350px;
  width: auto !important;
  float: right;
}

.gridbg {
}

.theslider {
  background: url('../images/gridbg.jpg');
  background-size: cover;
  width: 100%;
  height: 400px;
}

/*---------------------------------
    Responsive Video CSS:
 -----------------------------------*/    
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* -----------------------------------------
  Standards
 ------------------------------------------ */


.m0 {
  padding: 0px;
}

.m10 {
  padding: 10px;
}

.m20 {
  padding: 20px;
}

.m30 {
  padding: 30px;
}

.m40 {
  padding: 40px;
}

.m50 {
  padding: 50px;
}

.mt10 {
  margin-top: 10px;
}
.mt0 {
  margin-top: 0px;
}
.mt20 {
  margin-top: 20px;
}
.mt30 {
  margin-top: 30px;
}
.mt40 {
  margin-top: 40px;
}
.mt50 {
  margin-top: 50px;
}
.mb0 {
  margin-bottom: 0px;
}
.mb10 {
  margin-bottom: 10px;
}
.mb20 {
  margin-bottom: 20px;
}
.mb30 {
  margin-bottom: 30px;
}
.mb40 {
  margin-bottom: 40px;
}
.mb50 {
  margin-bottom: 50px;
}
.ml10 {
  margin-left: 10px;
}
.ml20 {
  margin-left: 20px;
}
.ml30 {
  margin-left: 30px;
}
.ml40 {
  margin-left: 40px;
}
.ml50 {
  margin-left: 50px;
}
.mr10 {
  margin-right: 10px;
}
.mr20 {
  margin-right: 20px;
}
.mr30 {
  margin-right: 30px;
}
.mr40 {
  margin-right: 40px;
}
.mr50 {
  margin-right: 50px;
}

.p0 {
  padding: 0px;
}

.p10 {
  padding: 10px;
}

.p20 {
  padding: 20px;
}

.p30 {
  padding: 30px;
}

.p40 {
  padding: 40px;
}

.p50 {
  padding: 50px;
}

.pt0 {
  padding-top: 0px;
}
.pt10 {
  padding-top: 10px;
}
.pt20 {
  padding-top: 20px;
}
.pt30 {
  padding-top: 30px;
}
.pt40 {
  padding-top: 40px;
}
.pt50 {
  padding-top: 50px;
}
.pb0 {
  padding-bottom: 0px;
}
.pb10 {
  padding-bottom: 10px;
}
.pb20 {
  padding-bottom: 20px;
}
.pb30 {
  padding-bottom: 30px;
}
.pb40 {
  padding-bottom: 40px;
}
.pb50 {
  padding-bottom: 50px;
}
.pl10 {
  padding-left: 10px;
}
.pl20 {
  padding-left: 20px;
}
.pl30 {
  padding-left: 30px;
}
.pl40 {
  padding-left: 40px;
}
.pl50 {
  padding-left: 50px;
}
.pr10 {
  padding-right: 10px;
}
.pr20 {
  padding-right: 20px;
}
.pr30 {
  padding-right: 30px;
}
.pr40 {
  padding-right: 40px;
}
.pr50 {
  padding-right: 50px;
}

.tal {
  text-align: left !important;
}
.tar {
  text-align: right !important;
}
.tac {
  text-align: center !important;
}

img {
  max-width: 100%;
  height: auto;
}
.img100 {
	width: 100% !important;
}


.navbar-inverse .navbar-brand:focus, .navbar-inverse .navbar-brand:hover {
	color: #5078BE;
}

.navbar-inverse .navbar-brand {
	color: #fff;
}

.websiteby {
  margin-top: 40px;
  font-size: 14px;
  color: #666;
}

.flex-viewport {
  max-height: 360px;
}


.caption1 {
  font-size: 30px;
  line-height: 40px;
  font-weight: 600;
  text-shadow: 1px 1px 0 rgba(0,0,0,.3);
  color: #fff;
  position: relative;
  top: 120px;
}
.flex-caption {
  background: rgba(0,0,0,.5);
  position: relative;
  top: 160px;
  padding: 20px;
}
.flex-caption .caption2 {
  font-size: 18px;
  line-height: 26px;
  color: #fff;
}

/*---------------------------------
    Responsive Video CSS:
 -----------------------------------*/    
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
    margin-bottom: 40px;
}
.video-container iframe{
    display:none;
}
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 5 Columns Bootstrap layout from http://fellowtuts.com/twitter-bootstrap/5-equal-columns-bootstrap-grid-layout-with-1-2-3-4-of-five/   */

/* Here we need to create default column definition in the way that Bootstrap do it. */
.col-xs-1-5, .col-sm-1-5, .col-md-1-5, .col-lg-1-5 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

/* And need to apply media queries to handle width with varying viewport sizes as each of the column would have to occupy 20% space from available width within row: */

.col-xs-1-5 {
  width: 20%;
  float: left;
}
@media (min-width: 768px) {
  .col-sm-1-5 {
    width: 20%;
    float: left;
  }       
}
@media (min-width: 992px) {
  .col-md-1-5 {
    width: 20%;
    float: left;
  }
}
@media (min-width: 1200px) {
  .col-lg-1-5 {
    width: 20%;
    float: left;
  }
}


.col-xs-1-5, .col-sm-1-5, .col-md-1-5, .col-lg-1-5,
.col-xs-2-5, .col-sm-2-5, .col-md-2-5, .col-lg-2-5,
.col-xs-3-5, .col-sm-3-5, .col-md-3-5, .col-lg-3-5,
.col-xs-4-5, .col-sm-4-5, .col-md-4-5, .col-lg-4-5 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
} 
.col-xs-1-5 {
  width: 20%;
  float: left;
}
.col-xs-2-5 {
  width: 40%;
  float: left;
}
  
.col-xs-3-5 {
  width: 60%;
  float: left;
}
  
.col-xs-4-5 {
  width: 80%;
  float: left;
}
@media (min-width: 768px) {
  .col-sm-1-5 {
    width: 20%;
    float: left;
  }
  col-sm-2-5 {
    width: 40%;
    float: left;
  }
  col-sm-3-5 {
    width: 60%;
    float: left;
  }
  col-sm-4-5 {
    width: 80%;
    float: left;
  }
}
@media (min-width: 992px) {
  .col-md-1-5 {
    width: 20%;
    float: left;
  }
  .col-md-2-5 {
    width: 40%;
    float: left;
  }
  .col-md-3-5 {
    width: 60%;
    float: left;
  }
  .col-md-4-5 {
    width: 80%;
    float: left;
  }
}
@media (min-width: 1200px) {
  .col-lg-1-5 {
    width: 20%;
    float: left;
  }
  .col-lg-2-5 {
    width: 40%;
    float: left;
  }
  .col-lg-3-5 {
    width: 60%;
    float: left;
  }
  .col-lg-4-5 {
    width: 80%;
    float: left;
  }
} 

/*
HTML example
<div class="row">
<div class="col-md-2-5 col-sm-6">...</div>
<div class="col-md-3-5 col-sm-6">...</div>
</div>
*/


@media screen and (min-width: 401px) { 

}
@media screen and (min-width: 768px) { 

}

@media screen and (min-width: 992px) { 


}
@media screen and (min-width: 1200px) {


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




}

@media screen and (max-width: 991px) {
  .pt20sm {
    padding-top: 20px;
  }

  .flex-viewport {
    max-height: 360px;
  }


  .caption1 {
    font-size: 30px;
    line-height: 40px;
    font-weight: 600;
    text-shadow: 1px 1px 0 rgba(0,0,0,.3);
    color: #fff;
    position: relative;
    top: 80px;
  }
  .flex-caption {
    background: rgba(0,0,0,.5);
    position: relative;
    top: 120px;
    padding: 20px;
  }
  .flex-caption .caption2 {
    font-size: 18px;
    line-height: 26px;
    color: #fff;
  }
}

@media screen and (max-width: 767px) {
  .footcol {
    margin-bottom: 20px;
  }

  .flex-viewport {
    max-height: 360px;
  }


  .caption1 {
    font-size: 30px;
    line-height: 40px;
    font-weight: 600;
    text-shadow: 1px 1px 0 rgba(0,0,0,.3);
    color: #fff;
    position: relative;
    top: 80px;
  }
  .flex-caption {
    background: transparent;
  }
  .caption2 {
    display: none;
  }
}

@media screen and (max-width: 400px) {
 #content {
  margin-top: 20px;
 }
 .navbar-brand {
  font-size: 15px;
 }
 #slider {
    padding: 0 !important;
  }
  .caption1 {
    top: 0;
    display: block;
    text-align: center;
  }
  .flex-viewport {
    max-height: 960px;
  }
  .theslider {
    height: 550px;
  }
  #logo img {
    display: block;
    margin: 0 auto;
  }
  #logo h1 {
    text-align: center;
  }
  .well {
    margin-top: 20px;
  }

}