/* *********************************** */
/* Styles for Castine Cottages         */
/* Customized by John Rust Consulting  */
/* v1.1 Rev 030317 (Plus Bootstrap 3)  */
/* Mobile First                        */
/* *********************************** */

/* Based on Simplex Template http://www.templatemo.com/preview/templatemo_382_simplex */

body { }
a:hover { color: #090; }
.space30 { margin-top: 30px; }
.row ul { padding-left: 30px; }
.clear { clear: both; }
.float_left { float: left; }
.float_right { float: right; }

/* old site position controls */
.clearer {clear: both;}
.l {text-align:left;}
.r {text-align:right;}
.c {text-align:center;}
.fl {float: none;}
.fr {float: none;}
img.c {margin-left:auto; margin-right:auto;}
/* /old site position controls */

.img_left_gallery {	float: left; margin: 12px; padding: 8px; border: 1px solid #CCC; }
.img_left {	float: left; margin-right: 20px; margin-bottom: 15px; }
.img_right { float: right; margin: 0px 0px 15px 20px; }
.img_bottom { margin-bottom: 15px; }
img.border {border: 1px solid #cccccc;} /* added */
.imageStyle { /* old site */
	padding: 2px;
	border: 1px solid #cccccc;
	margin: 5px;
}
img.centerBlock {display: block; margin: 1em auto;}
main img {
  max-width: 100%;
  height:auto;
}
main img.fl {
  float: none;
}
main img.fr {
  display: block;
  float: none;
}
.footer {
  border-top: 1px solid #808080;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 1.2em;
  text-align: center;
}
.copy {font-size: 0.8em;}

/* Main marketing message and sign up button */
.jumbotron {
  text-align: center;
  background-color: transparent;
  height: 0px;
}
/* Customize the nav-justified links to be fill the entire space of the .navbar */
.nav-justified {
  background-color: #006699;
  border-radius: 6px;
  border: 1px solid #006699;
}
.nav-justified > li > a {
  color: #FFFFFF;
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid #005588;
  background-color: #006699; /* Old browsers */
  background-repeat: repeat-x; /* Repeat the gradient */
  background-image: -moz-linear-gradient(top, #0099FF 0%, #006699 100%); /* FF3.6+ */
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0099FF), color-stop(100%,#006699)); /* Chrome,Safari4+ */
  background-image: -webkit-linear-gradient(top, #0099FF 0%,#006699 100%); /* Chrome 10+,Safari 5.1+ */
  background-image: -ms-linear-gradient(top, #0099FF 0%,#006699 100%); /* IE10+ */
  background-image: -o-linear-gradient(top, #0099FF 0%,#006699 100%); /* Opera 11.10+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0099FF', endColorstr='#006699',GradientType=0 ); /* IE6-9 */
  background-image: linear-gradient(top, #0099FF 0%,#006699 100%); /* W3C */
}
.nav-justified > .active > a,
.nav-justified > .active > a:hover,
.nav-justified > .active > a:focus {
  color: #000000;
  background-color: #22BBFF;
  background-image: none;
  box-shadow: inset 0 3px 7px rgba(0,0,0,.25);
}
.nav-justified > li > a:hover { 
	color: black;
	background-color: #22BBFF; 
	background-image: none;
	box-shadow: inset 0 3px 7px rgba(0,0,0,.25);
}
.nav-justified > li:first-child > a {
  border-radius: 5px 5px 0 0;
}
.nav-justified > li:last-child > a {
  border-bottom: 0;
  border-radius: 0 0 5px 5px;
}

/* additional customization - 030317 */

/* jrc mod for nav collapse */
.navbar-collapse {
    padding-left: 0px;
	padding-right: 0px;
}
/* /jrc mod for nav collapse */

#container {
  position:relative;
  padding-left:10px;
  padding-right:10px;
}
.row {
  margin-right: -10px;
  margin-left: -10px;
}
.navbar-collapse {max-height:inherit;}
.navbar-default .navbar-toggle {border-color:#f8f8f8;}
.navbar-toggle {padding: 0px;}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #000000; /* was ccc too light */
}
img.logopic {
     display:none;
	width: 16%;   /* 16=150/940 */
	max-width: 145px; /*   */
	position: absolute; /*   */
    margin: 1.5%;  /*	15px  */
}
img.head {margin: 5px 0;}
#pageHeader {
	position:absolute; 
	left: 15px;   
}
#pageHeader h1 {
	margin: 0;
	font: 48px Times New Roman, Times, serif;
	color: #ffffff;
	letter-spacing: -2px;
	font-weight:normal;
}
#pageHeader h2 {
	margin: 0;
	padding-left: 10px;
	font: bold 1.1em Arial, Helvetica, sans-serif;
	color: #ffffff;
}
.map-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
.tour-responsive{
    padding-bottom:56.25%;
    position:relative;
    height:0;
	margin: 20px auto;
}
.tour-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
/* /additional customization - 030317 */

/* simple gallery (no swf) -- added 110316 */
.gallery img {
	margin: 10px auto;
	padding: 2px;
	max-width:100%;
	height:auto;
	border: 1px solid #cccccc;
}
.gallery img:after {
    content: '';
    display: block;
    clear: both;
}
/* /simple gallery (no swf) -- added 110316 */

@media (min-width: 768px) {
  .nav-justified > li > a {
    border-left: 1px solid #0099FF;
    border-right: 1px solid #005588;
  }
  .nav-justified > li:first-child > a {
    border-left: 0;
    border-radius: 5px 0 0 5px;
  }
  .nav-justified > li:last-child > a {
    border-radius: 0 5px 5px 0;
    border-right: 0;
  }
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .masthead,
  .marketing,
  .footer {
    padding-left: 0;
    padding-right: 0;
  }
}

/* additional customization - 030317 */
@media (min-width: 550px) {
#pageHeader {
	left: 20%; /* 20px;
	top: 10px; */
}
#pageHeader {
	top: 10px;
}
#pageHeader h1 {
	font-size: 64px;
}
#pageHeader h2 {
	padding-left: 40px;
	font-size: 1.4em;
	font-weight: normal;
}
img.logopic {
     display:block;
}
#pageHeader img {
	float: right;
	margin: 0;
	padding: 0;
}
.img_left {float:none;}
}

@media (min-width: 768px) {
#container {
  max-width:992px;  
  padding-left:15px;
  padding-right:15px;   
}
.img_left {float:left;}
#pageHeader h1 {
	font-size: 88px;
}
#pageHeader h2 {
	font-size: 1.7em;
}
}
/* /additional customization - 030317 */

/* add position controls -- added 052213 */
@media (min-width: 768px) {
.fl {float:left;}
.fr {float:right;}
main img.fl, main img.fr {
  display: inline;
}
}
/* /add position controls */

