/** layout.css customize for project.
 *  Factor of 4, LLC
 */
 
/** Modification History (name, date, description)
 * 1. 
 */
 
/* Globals from Skeleton v 1.0*/
/* ================================================== */

/* 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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  font: inherit;
  vertical-align: baseline;
  margin: 0;
  padding: 0; 
  }
*/





body {
  background: #b8e573;
  color: #333;
  font-family: "Open Sans", arial, helvetica, geneva, swiss, sunsans-regular, sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.2em;
  }

/*  redefine max-width and padding from skeleton.css */
.container {
  max-width: 100%;/*  redefines mox-width in skeleton.css */
  background: #b8e573;
  padding: 0;
	/* outline:1px solid red; used to test layout - comment out in production */
  }

/*  redefine columns from skeleton.css */
  .one-third.column               { width: 33.3333333333%; }
  .two-thirds.column              { width: 66.6666666667%; }

/*  redefine a and a:hover color in layout.css */
a, a:visited{
  text-decoration: none; 
  font-weight: bold;
  color:#336698;  /* define for global inline links */
  }

a:active, a:hover {
  text-decoration: underline; 
  color:#733398;  /* define for global inline links */
}

p {
  font-size: 1.0em;
  margin-bottom: 1em;
  line-height: 1.3em;
  color: #666;  /* define for global text */
}

ul { 
	margin-top: 10px;
	margin-left: 16px;
	padding-left:20px;
    list-style-position: outside;
    list-style-image: url('../images/li-bullet-logo-symbol.png');
}

ol  {
	margin-top: 10px;
	margin-left: 40px;
    list-style-position: outside;
}
 
li {
  line-height: 1.2;
}

hr {
margin: 0;
}

#hilite {
    border-radius: 10px;
	background: #255288;
    background: linear-gradient(#468cbe, #214275); /* Standard syntax */ /* WED */
    background: -webkit-linear-gradient(#468cbe, #214275); /* For Safari 5.1 to 6.0 */ /* WED */
    background: -o-linear-gradient(#468cbe, #214275); /* For Opera 11.1 to 12.0 */ /* WED */
    background: -moz-linear-gradient(#468cbe, #214275); /* For Firefox 3.6 to 15 */ /* WED */
	text-align: center;
	padding:2px 0 0px 0px;
}


.clear { /* used by skeleton 2  */
  clear: both; 
}

/* Navigation */
/* ================================================== */


#mainnav { 
	top: 0px;
	background-color: #416518;
	border: 0px solid #416518;
    border-radius: 0px;
    background: #416518;
    background: linear-gradient(#87b631, #416518); /* Standard syntax */ /* WED */
    background: -webkit-linear-gradient(#87b631, #416518); /* For Safari 5.1 to 6.0 */ /* WED */
    background: -o-linear-gradient(#87b631, #416518); /* For Opera 11.1 to 12.0 */ /* WED */
    background: -moz-linear-gradient(#87b631, #416518); /* For Firefox 3.6 to 15 */ /* WED */
	width: 100%; 
	margin: 0 auto 0 0;
	height: 33px; /*   - alignment affects ul.dropdown top  */
	z-index: 50;
	overflow: visible;
	position: absolute; /* used to test layout - comment out in production */
	text-align:center;
	/*  outline:1px solid yellow; used to test layout - comment out in production */
}

#mainnav ul {
    /* float: right;
	margin:-1px 10px 0 50%;
	margin: 0 auto; 
	display: inline;*/
}

#mainnav li {
  line-height: 2.0;
  margin-bottom:0;
  /* width:153px;*/
  text-align:left;
}

#mainnav li>ul li {
  width:200px;
}


.nav1 {
  width:80px;
}


.nav2 {
  width:130px;
}

.nav3 {
  width:168px;
}

.nav4 {
  width:133px;
}

.nav5 {
  width:73px;
}

.nav6 {
  width:133px;
}





/* Header */
/* ================================================== */

header { /* used for element ID */
	background-color: #b8e573;
	height:215px;
	padding: 20px 20px 10px 20px;
	margin: 0 auto;
	z-index:100;
	/* outline:2px solid blue; used to test layout - comment out in production */
}

#site-header { /* used for style header content */
	text-align:left;
	margin: 0 auto;
	/* outline:2px solid blue; used to test layout - comment out in production */
}

#header-left { /* used for style header content */
	text-align:left;
	margin-bottom: 10px;
	padding-top: 80px;
	margin-left: 0;
	display: inline-block;
	/* outline:1px solid yellow; used to test layout - comment out in production */
}

#header-center { /* used for style header content */
	text-align:center;
	padding-top: 13px;
	margin-left: 0;
	display: inline-block;
	/* outline:1px solid orange; used to test layout - comment out in production */
}

#header-right { /* used for style header content */
	float:right;
	text-align: right;
	padding-top: 30px;
	padding-right: 10px;
	margin-left: 0;
	display: inline-block;
	/* outline:1px solid red; used to test layout - comment out in production */
}

.logo { /* used for style header content */
	width: 504px;
}

header .site-title { /* used for style header content */
	font-size: 1.2em;
	font-weight: bold;
}

#telephone {
	padding-top: 10px;
}


header .phone { /* used for style header content */
}

header .phone a { /* used for style header content */
	color:black;
}

.social-icon { /* used to style social icons  */
	padding-left: 6px;
	padding-right: 0px;
	display: inline-block; /* this causes the icons to display side-by-side*/
}

#header-right .phone a, #header-right .phone a:visited { /* used for style header content */
	color:black; 
	font-size:20px; 
	font-weight:bold;
}

#header-right .phone a:active, #header-right .phone a:hover {
	color:#336699; 
	}



.form-btn {
  flex: 1 1 auto;
  margin: 0px 0 0 0px;
  padding: 10px 6px 10px 6px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  text-shadow: 0px 0px 10px rgba(256,256,256,1.0);/* */
  box-shadow: inset 0 0 10px #785424;
  border-radius: 10px;
 }

.form-btn:hover {
  background-position: right center; /* change the direction of the change here */
  text-decoration: none; 
	font-size:14px;
}


.btn-1 {
  /* background: #fda085; For browsers that do not support gradients */
  /* background: -webkit-radial-gradient(#f6d365 0%, #fda085 51%, #f6d365 100%); Safari 5.1 to 6.0 */
  /* background: -o-radial-gradient(#f6d365 0%, #fda085 51%, #f6d365 100%); For Opera 11.6 to 12.0 */
  /* background: -moz-radial-gradient(#f6d365 0%, #fda085 51%, #f6d365 100%); For Firefox 3.6 to 15 */
  /*background: radial-gradient(#f6d365 0%, #fda085 51%, #f6d365 100%);  Standard syntax */
  background-image: linear-gradient(to right, #f6d365 0%, #fda085 51%, #f6d365 100%);/* Standard syntax */
  background-image: -webkit-linear-gradient(left, #f6d365 0%, #fda085 51%, #f6d365 100%); /* For Safari 5.1 to 6.0 */
  background-image: -o-linear-gradient(to right, #f6d365 0%, #fda085 51%, #f6d365 100%); /* For Opera 11.1 to 12.0 */
  background-image: -moz-linear-gradient(to right, #f6d365 0%, #fda085 51%, #f6d365 100%); /* For Firefox 3.6 to 15 */
}


#personalinfo {
margin-top:20px;
}

/* Body */
/* ================================================== */

#content { /* used for element ID */
  	background:#b8e573;
	/* outline:1px solid orange; used to test layout - comment out in production */
}


.slider { /* used for element ID */
	width:100%;
	height:auto;
    -webkit-box-shadow:  0px 4px 6px 0px rgba(0,0,0,0.2);
    -moz-box-shadow:  0px 4px 6px 0px rgba(0,0,0,0.2);
    box-shadow:  0px 6px 4px 0px rgba(0,0,0,0.2);
	/* outline:2px solid purple; used to test layout - comment out in production */
}

#thumbs {
	position:relative;
	top:-95px;
	margin-bottom:-90px;
	/* outline:1px solid red; used to test layout - comment out in production */
}


#main { /* used for article ID */
	margin-right:-2px;
	/*  outline:1px solid teal;used to test layout - comment out in production */
}

#main aside  {
    border-radius: 10px;
    background: #87b631;
	padding:5px;
	margin-left:5px;
	float:right;
	max-width:300px;
}

#main aside h3  {
    color: #fff;
}

#main aside li  {
    font-size: 1.0em;
	line-height: 0.5em;
}

#primary { /* used for article ID */
	padding:0px 30px 10px 20px;
	/* outline:1px solid navy; used to test layout - comment out in production */
}

#secondary { /* used for article ID */
	padding:10px 30px 20px 20px;
	/* outline:1px solid teal; used to test layout - comment out in production */
}

#sidebar { /* used for aside ID */
	padding:0px 20px 20px 20px;
	margin:11px 0px 0px 0px;
	color:black;
	height:100%;
	/* border-left:2px solid #000; */
	/*  outline:1px solid green; used to test layout - comment out in production */
}

#sidebar aside  {
	padding-bottom:15px;
}


.list {
	text-align: center;
}



#content h1 { 
	font-weight: bold;
	letter-spacing: 1px;
	line-height: 1.3em;
    font-size: 1.6em;
	color:#000;
    margin-bottom: .5em; 
    margin-top: .5em; 
	}

#content h2 { 
	font-weight: bold;
	letter-spacing: 1px;
    font-size: 1.3em;
	color:#336698;
    margin-top: .25em; 
	margin-bottom: 0;
	}

#content h3 { 
	font-weight: bold;
	letter-spacing: 1px;
    font-size: 1.1em;
	color:#336698;
    margin-top: .25em; 
	margin-bottom: 0;
	}

#primary p {
  	font-size: 1.0em;
  	margin-bottom: 1em;
  	line-height: 1.7em;
  	color: #054002; 
}
#primary img {/* this keeps the sidebar from overlapping the body content when resizing the viewport */
	max-width: 600px;
	padding-left: 5px;
}

#primary .galleries {
	display: inline-block;
	text-align: center;
	padding-bottom: 15px;
	}

#content p.indent,#content h2.indent,#content ul.indent  {
	margin-left: 2em;
  	line-height: 1.3em;
}


#sidebar img {/* this keeps the sidebar from overlapping the body content when resizing the viewport */
	max-width:100%;
}

#sidebar h2 { 
	font-weight: bold;
	font-style: italic;
    font-size: 1.6em;
	line-height: 1.5em;
	color:black;
    margin-bottom: .5em; 
    margin-top: .5em; 
	border-bottom:4px solid #fff;
	padding: 0 15px 0 15px;
	}

#sidebar h3 { 
	font-weight: bold;
    font-size: 1.1em;
	color:black;
    margin-top: .25em; 
	margin-bottom: 0;
	padding: 0 15px 0 15px;
	}

#sidebar p {
  	font-size: 1.0em;
  	margin-bottom: 1em;
  	line-height: 1.5em;
  	color: #333;  
	padding: 0 15px 0 15px;
}

#sidebar p.indent,#sidebar h2.indent,#sidebar ul.indent   {
	margin-left: 2em;
  	line-height: 1.5;
}





/* Redefined input rules to conform to Apple Interface Guidelines in layout.css */

input.button {
	outline: none;/* defined so buttons do NOT have an outline when selected */
}

input[type=text] {
    padding:5px; 
    border:2px solid #ccc; 
    -webkit-border-radius: 5px;
    border-radius: 5px;
	width:85%;
	margin-left:20px;
}

input[type=checkbox] {
	margin-left:20px;
}

input[type=text]:focus {
    border-color:none;
}

textarea {
    padding:5px; 
    border:2px solid #ccc; 
    -webkit-border-radius: 5px;
    border-radius: 5px;
	width:85%;
	height:80px;
	margin-left:20px;
}

input[type=submit] {
  font-size:14px;
  color:#fff;
  flex: 1 1 auto;
  margin: 0px 0 0 0px;
  padding: 1px 6px 10px 6px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  text-shadow: 0px 0px 10px rgba(256,256,256,1.0);/* */
  box-shadow: inset 0 0 10px #785424;
  border:0 none;
  cursor:pointer;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background-image: -webkit-linear-gradient(left, #87b631, #416518); /* For Safari 5.1 to 6.0 */
  background-image: -o-linear-gradient(to right, #87b631, #416518); /* For Opera 11.1 to 12.0 */
  background-image: -moz-linear-gradient(to right, #87b631, #416518); /* For Firefox 3.6 to 15 */
  background-image: linear-gradient(to right, #87b631, #416518);/* Standard syntax */
}

input[type=submit]:hover {
  background-position: right center; /* change the direction of the change here */
	font-size:16px;
	color:#fff;
}



/* Redefine select attributes in layout.css */
select {
  border: none;
  border-radius: 0px;
}

#night_phone_a, #night_phone_b, #night_phone_c, #cell_phone_a, #cell_phone_b, #cell_phone_c, #other_phone_a, #other_phone_b, #other_phone_c {
width:5em;
}

#zip {
width:10em;
}

/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Redefine margin-bottom attributes for many block-level tags in layout.css */
button,
.button {
  margin-bottom: 0rem; }
input,
textarea,
select,
fieldset {
  margin-bottom: 0rem; }
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 0rem; }


/* Footer */
/* ================================================== */

footer { /* used for element ID */
	padding: 15px;
    background: #38a7c5;
	border: 1px solid #38a7c5; 
	border-radius: 10px;
}

#site-footer { /* used to style footer content  */
  	clear: both;
  	text-align: center;
	padding: 10px 15px 0 15px;
	min-height:75px;
	width: 98%; 
	margin: 0 auto -40px 1%;
}

footer a, footer a:visited { /* used to style footer content  */
  color: #fff; 
  font-weight:normal;
  text-decoration:none;
}

footer a:hover, footer a:active { /* used to style footer content  */
  color: #fff;
}


footer .address { /* used to style footer content  */
	color:#fff;
	text-align: left;
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	font-weight:400;
	left: 0;
	/* outline:1px solid maroon; /*  used to test layout - comment out in production */
}

footer .copyright { /* used to style footer content  */
  	color:#ccc;
	text-align: center;
  	font-size: 12px;  /* may want to increase to 1.2em depending on intended use */
	font-family: 'Open Sans', sans-serif;
	padding-top: 10px;
}

footer p { /* used to style footer content  */
  	color:#000;
}



footer .phone {
   text-align: right;
  padding-top: 5px;
	/* outline:1px solid brown; */
}

footer .phone a, footer .phone a:visited {
	font-size: 18px;
	font-weight: normal;
	color: #fff;	font-family: 'Open Sans', sans-serif;
}

footer .phone a:active, footer .phone a:hover {
    color:#fff; 
}

footer .social-icons {
	margin: 20px auto 0 auto;/* this centers the icon block in the first third column*/
	/* outline:1px solid maroon;  /* used to test layout - comment out in production */
}


/* #Media Queries */
/* ================================================== */


	/* Mobile Portrait Size for old phones */
@media only screen and (max-width: 399px) {

.container {
    width: 100%;
    padding: 0; 
}

#mainnav { 
  	background:#b8e573;
}

#mainnav li {
  line-height: 2.0;
  margin-bottom:0;
  width:100%;
  text-align:left;
}

.logo { 
	width:100%;
}

header { 
	height:20%;
	}

.popup-gallery img {
	width:80px;
	height:80px;
}

#content h1 { 
    font-size: 1.2em;
	}

#sidebar { /* used for aside ID */
	border-top:2px solid #000;
	border-left:none;
}

#social-icons {
  margin-top:5px;
}

footer .phone {
  margin-top:5px;/* added so that the text displays better vertically in the block */
  margin-bottom:10px;/* added so that the text displays better vertically in the block */
  text-align:center;/* added so that the text displays centered in the block */
}

.site-title { /* used for style header content */
	display:none;
}

#main { /* used for section ID */
	border-right:none;
}

.twentytwenty-container  {
  margin-bottom:10px;/* added 2019-07-01*/
}



}


	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 400px) and (max-width: 499px) {

.container {
    width: 100%;
    padding: 0; 
}

#mainnav { 
  	background:#b8e573;
}

#mainnav li {
  line-height: 2.0;
  margin-bottom:0;
  width:100%;
  text-align:left;
}

.logo { 
	width:100%;
}

header { 
	height:20%;
	}

.popup-gallery img {
	width:110px;
	height:110px;
}

#content h1 { 
    font-size: 1.2em;
	}

		
#sidebar { /* used for aside ID */
	border-left:none;
}
		
		
#social-icons {
  margin-top:5px;/* added so that the text displays better vertically in the block */
}

footer .phone {
  margin-top:5px;/* added so that the text displays better vertically in the block */
  margin-bottom:10px;/* added so that the text displays better vertically in the block */
  text-align:center;/* added so that the text displays centered in the block */
}

.site-title { /* used for style header content */
	display:none;
}


#main { /* used for section ID */
	border-right:none;
}

.twentytwenty-container  {
  margin-bottom:10px;/* added 2019-07-01*/
}

.column, .columns {
    width:100%; }/* added 2019-07-01*/

.four.columns {
    width: 100%; }/* added 2019-07-01*/


}

	/* All Mobile Sizes (devices and browser) */
@media only screen and  (min-width: 500px) and (max-width: 664px) {

/*  redefine columns from skeleton.css */
.one-third.column { 
  width: 100%; }
  
.two-thirds.column { 
  width: 100%; }

#header-left {
   	display: none;
}

#header-center  {
	margin-top:-30px;
	}

#header-right  {
	margin-top:-50px;
	text-align:center;
	}

#mainnav { 
  	background:none;
}

#content h1 { 
    font-size: 1.4em;
	}

footer .address { 
	text-align: center;
}

footer .phone {
   text-align: center;
}

.twentytwenty-container  {
  margin-bottom:10px;/* added 2019-07-01*/
}

.four.columns {
    width: 50%; }/* added 2019-07-01*/


}

/* For devices smaller than 870px */
@media only screen and  (min-width: 665px) and  (max-width: 869px) {

.four.columns {
    width: 50%; }/* added 2019-07-01*/

.twentytwenty-container  {
  margin-bottom:10px;/* added 2019-07-01*/
}


}


/* All Mobile Sizes (devices and browser) */
@media only screen and  (max-width: 870px) {
	
  .container {
   width: 100%; 
    padding: 0; }

/*  redefine margin-left in layout.css */
  .column,
  .columns {
    margin-left: 0; }

/*  redefine columns from skeleton.css */
.one-third.column { 
  width: 100%; }
  
.two-thirds.column { 
  width: 100%; }

#header-left {
   	display: none;
}

#header-center  {
	margin-top:-30px;
	}

#header-right  {
	margin-top:-50px;
	text-align:center;
	}

#mainnav { 
  	background:none;
}

#mainnav li>ul li {
  width:100%;
}

#mainnav li {
  line-height: 2.0;
  margin-bottom:0;
  width:100%;
  text-align:left;
}

#header-right .social-icon { 
	/* padding-top:35px; */
	display:none;
}

#header-left {
	width:15%;
	}


}



	/* Larger than tablet to standard 1060  (devices and browsers) */
@media only screen and (min-width: 871px) and (max-width: 1060px) {
.container {
   width: 100%; 
   padding: 0; }

.column, .columns {
    margin-left: 0; }

#header-left {
	width:22%;
	}
		
}



	/* Larger than desktop standard 1060 (devices and browsers) */
@media only screen and (min-width: 1061px) {

  .container {
   width: 100%; 
    padding: 0; }

  .column,
  .columns {
    margin-left: 0; }

.half {
	width:50%;
}

.quarter {
	width:25%;
}



}





/* #Font-Face
================================================== */
/* 	This is the proper syntax for an @font-face file
		Just create a "fonts" folder at the root,
		copy your FontName into code below and remove
		comment brackets */

/*	@font-face {
	    font-family: 'FontName';
	    src: url('../fonts/FontName.eot');
	    src: url('../fonts/FontName.eot?iefix') format('eot'),
	         url('../fonts/FontName.woff') format('woff'),
	         url('../fonts/FontName.ttf') format('truetype'),
	         url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
	    font-weight: normal;
	    font-style: normal; }
*/
