* { box-sizing:border-box; -moz-box-sizing:border-box; }

body { background: #f3ead8 url('/templates/client/images/body-background.jpg');background-position-x: center;background-repeat-x: no-repeat;background-color: #54525F; color: #FFFFFF; font-family: 'Goudy Bookletter 1911', georgia, serif;font-size: 14px;line-height: 18px;color: #333;}


/* Globals */
a { text-decoration:none; color: #000; font-weight:bold; }
.clickable { cursor:pointer; display:block; }
.clearfix:before { content:" "; display:table; }
.clearfix:after { content:" "; display:table; clear:both; }
#wrapper {background: #f3ead8 url('/templates/client/images/background.jpg') no-repeat;  max-width: 1080px;margin: 0 auto;width: 100%;padding: 0 1%;}

/* Header */
header { width:100%; max-width:1080px; margin:13px auto;}
header a { display:block; font-size:25px; color:white; }
header a i.fa { vertical-align:middle; color: #FFA500; position:relative; }
header a i.fa-html5:after { content: "\f13b"; color: darkorange; width: 0.4em; display: block; overflow: hidden; position: absolute; top: 0; text-shadow:none; }
#headerTop {position: relative;display: block;width: 100%;}
#headerTop > a {display: inline-block;margin: 3% 0 3% 3%;position:relative;	}
#headerTop > ul{float:right;margin: 2% 3% 1% 0;padding-left: 0;     max-width: 280px; text-align:right;}
#headerTop > ul > li {list-style: none;display: inline-block;font-size: 22px; }
#headerTop > ul > li > span > a {list-style: none;display: inline-block;font-size: 22px;    color: #333;}
#headerTop > ul > li > span{font-family: 'Ovo', times, georgia, serif;}
.headHR {height: 7px;background: url('/templates/client/images/divider.png') transparent;margin: 0 auto; color: transparent;width: 100%;max-width: 945px; border: none;background-position: center;}

/************* Nav *************/
nav { width:100%; margin:13px auto;}
nav > ul { list-style:none; padding:0.5em 0; margin:0;text-align: center; }
nav > ul > li { display:inline-block; transition:background 0.25s; cursor:pointer; padding: 0 1%;border-right: 1px solid #908F8F;line-height: 1;}
nav > ul > li:last-child{border:none;}
nav > ul > li.selected,
nav > ul > li:hover > a { color: #FFA500; }
nav > ul > li > a { display:inline-block; font-size:15px;color: #333;text-transform: uppercase; }
#space{display:none;}
.showMenu{display:none;}


/************* Main section layouts *************/
section { width:100%; max-width:980px; margin:13px auto; padding:0; }
section article { width:100%; display:inline-block;padding:0 2em 1em; }
section.sidebar article { width:70%; }
section.sidebar aside { width:30%; float:right; background: #A6B7BF; padding:0 2em 1em; overflow:auto; }
.intro {font-size: 16px;line-height: 20px;}
.titleDivider{text-align:center;background: url('/templates/client/images/divider.png') transparent;background-repeat: no-repeat;background-position: center;clear: both;}
.titleDivider > h2{display:inline-block;    background: #F3EAD8;}
#civilFeatures > h3 {font-size: 24px;line-height: 20px;font-weight: normal;;margin: 3% 0px 3% 0px; text-align:center;}
.hrSmall {background: url('/templates/client/images/divider.png') transparent;margin: 0 auto; color: transparent;width: 100%;max-width: 945px; border: none;background-position: center; height:2px;}
.civilFeature {width: 24%;display: inline-block;text-align: center;font-size: 16px;float: left}
/************* Blog *************/
section .blogitem { border-bottom:1px solid #8AA1AC;padding: 2% 0;}
section .blogitem img { vertical-align:top; float:left; margin:0 0.7em 0.7em 0; }
section .blogitem .date { font-style:italic; }
section .blogitem .category { border:1px solid gray; background:lightgray; border-radius:0.5em; font-size:0.9em; padding:0.1em 0.3em; }
.blogitem > span { display: none;}
.blogitem > a:nth-child(3) {display: none;}
/************* Gallery *************/
#gallery-categories { list-style: none; padding: 0; margin: 0; }
#gallery-categories li { width: 50%; display: block; margin: 0; padding: 1em; float:left; }
#gallery-categories li a { position: relative; display:block; }
#gallery-categories li a span { position: absolute; right: 0; bottom: 0; background:darkgray; background: rgba(128, 128, 128, 0.75); padding: 0.4em; color: white; }
#gallery-categories li a img { display:block; width:100%; height:auto; }
#gallery-pager { position:relative; }
#gallery-pager ul { list-style: none; padding: 0 0 40px 0; margin: 0 0 -40px 0; overflow-x:scroll; overflow-y:hidden; white-space:nowrap; }
#gallery-pager ul li { display:inline-block; margin:0.2em; border:1px solid transparent; }
#gallery-pager ul li.rslides_here { border-color:#fff; box-shadow: 0px 0px 7px 2px #7D868A; }
#gallery-pager ul li a { display: block; }
#gallery-pager ul li a img { display: block; }
#gallery-pager .prev { position:absolute; left:-0.3em; width:1em; height:1em; bottom:50%; margin-bottom:-0.5em; font-size:2em; z-index:2; font-family: FontAwesome; }
#gallery-pager .next { position:absolute; right:-0.3em; width:1em; height:1em; bottom:50%; margin-bottom:-0.5em; font-size:2em; z-index:2; font-family: FontAwesome; }
#gallery-pager ul.js::-webkit-scrollbar { display: none; }
#gallery-photos { position:relative; }
#gallery-photos ul li:active,
#gallery-photos ul li:target { display:block!important; }
#gallery-photos .prev { position:absolute; left:-0.3em; width:1em; height:1em; top:50%; margin-top:-0.5em; bottom:0; font-size:3em; z-index:2; font-family: FontAwesome; }
#gallery-photos .next { position:absolute; right:-0.3em; width:1em; height:1em; top:50%; margin-top:-0.5em; bottom:0; font-size:3em; z-index:2; font-family: FontAwesome; }
.headshot {width: 100%;height: auto;max-width: 200px;}
article > p,article > ul > li {font-size:16px;}
/************* Location **************/
article > p > iframe {width: 100%;}
#sociable {width:100%; height:24px;}
#sociable img {float:left; margin:0 12px 0 0; border:none;}
#fb-like {border:none; overflow:hidden; width:50px; height:24px; float:left; margin:0 9px 0 0;}
#google-plus {float:left;}
#sociable ul li {display: inline-block;}

/************* Contact form *************/
.form {margin-top:25px; /*background:rgba(255, 255, 255, 0.75);*/ transition:3s; transition: 0.3s;}
	::-webkit-input-placeholder {color:#A8A8A8;}
	:-moz-placeholder {color:#A8A8A8;}
	::-moz-placeholder {color:#A8A8A8;}
	:-ms-input-placeholder {color:#A8A8A8;}
.form ul {padding:0 !important;}
.form ul li {padding-left:0 !important; }
.form ul li:before {display:none;}
.form input{padding: 5px 2%;}
.form input{ width: 100%; }
.form img{ border: none !important;border-radius: 3px;margin: 0px !important;padding: 1px 0px 2px 0px; position: absolute;top: 0px; right: 0; width:100px !important; }
.form input, .form select, .form textarea {outline: 0; border: none; background-color: #E1E6EA; padding: 6px 2%;margin: 0;border-right: none;  font-size: 17px; margin-bottom: 20px; transition: 0.3s;
 box-shadow: inset 1px 1px 6px rgba(0, 0, 0, 0.11);   -moz-box-shadow:inset 1px 1px 6px rgba(0, 0, 0, 0.11);  -webkit-box-shadow:inset 1px 1px 6px rgba(0, 0, 0, 0.11); }
.form textarea{ margin-top: 5px; padding:5px 1%; width:100%; height:70px; resize:vertical; }
.form button, .form  input[type="submit"] { position:relative; width:100%; border:none; line-height: 35px; font-size: 18px; font-weight: 400; cursor:pointer;  border-radius:2px;  text-transform:uppercase; font-family: 'Oswald', sans-serif;  margin-top: -9px; outline: 0;color: #fff; background: #f50f0f; cursor: pointer; vertical-align: top; transition: 0.4s, margin-top 0.0s;}
.form button:hover, .form  input[type="submit"]:hover  { background: #D81515; }
.form button:active , .form  input[type="submit"]:active {}
.form button:after {content: "\f054";font-family: FontAwesome;position: absolute;right: 10px;top: 2px;font-size: 17px;color: #fff;}
.form label {display: none ; margin-top: -20px; color:#53320C}
.catcha {  height: 32px;  }
.form img { box-shadow: none;  -moz-box-shadow: none;  -webkit-box-shadow: none;    margin-top: 5px !important; box-shadow: 1px 1px 6px #BDBABA;}
.inputsFull {padding:0; list-style:none !important}
.inputsFull label {margin-top:10px;}
.inputsFull li {width:47.5%; float:left;}


/************* FORM VALIDATION *************/
div.formErrors{ display:none !important;}
.error{background: url(/templates/client/images/asterisc.png) no-repeat right -29px !important; background-color: #F50F0F !important; color:white; text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.29); transition:0.3s, background-color 0.3s !important;
box-shadow: inset 1px 1px 6px rgba(0, 0, 0, 0.26); -moz-box-shadow: inset 1px 1px 6px rgba(0, 0, 0, 0.26); -webkit-box-shadow: inset 1px 1px 6px rgba(0, 0, 0, 0.26);}
.error::-webkit-input-placeholder {color:#fff;}
.error:-moz-placeholder {color:#fff;}
.error::-moz-placeholder {color:#fff;}
.error:-ms-input-placeholder {color:#fff;}
*[required] {background: url(/templates/client/images/asterisc.png) no-repeat right 2px; }
.form label.error  {display: none !important;}
.form select[required] {background-position:right 29px top 1px; }
.form select.error {  background-position:right 29px top -30px !important;}
.form textarea.error{background: url(/templates/client/images/asterisc.png) no-repeat right -30px ;}

/************* FORM HIGHLIGHT *************/
.highlight label{ text-shadow:1px 1px 10px black;}
.highlight-selected{ background-color:#FF0;}



@media screen and (max-width: 700px) {
	.inputsFull li {width:100% !important; margin:0 !important;}
	.form button {margin-top:0px;}
}


/************* Footer *************/
footer { width:100%; margin:13px auto 30px;  text-align:center; }
footer ul{ list-style:none;}
address {margin-top: 3%;}
address > ul,#footerNav > ul { padding: 0;}
address > ul > li{display:inline-block;font-style:normal;font-size:16px;text-transform:capitalize;padding:0 1%;border-right:1px solid #908F8F;color:#7a756c;line-height:1}
address > ul > li:last-child, #footerNav > ul > li:last-child{border-right:none;}
#footerNav > ul > li {display: inline-block;padding: 0 1%;border-right:1px solid #908F8F;color:#7a756c;line-height:1;}
#footerNav > ul > li > a{color: #7a756c;}




/* ResponsiveSlides */
ul.rslides { position: relative; list-style: none; overflow: hidden; width: 100%; padding: 0; margin: 0;border: 6px solid #FEFDFB;-webkit-box-shadow: 0px 0px 7px 0px rgba(50, 50, 50, 0.75); -moz-box-shadow: 0px 0px 7px 0px rgba(50, 50, 50, 0.75);
box-shadow: 0px 0px 7px 0px rgba(50, 50, 50, 0.75); }
ul.rslides li { -webkit-backface-visibility: hidden; position: absolute; display: none; width: 100%; left: 0; top: 0; }
ul.rslides li:first-child { position: relative; display: block; float: left; }
ul.rslides img { display: block; height: auto; float: left; width: 100%; border: 0; }

/* ================================================== Media Queries ================================================== */


/* Landscape tablets */
@media (min-width:768px) and (max-width:1000px) {
	#space{display:block;width:100%; padding:1% 0;border-right: none;}
	nav > ul > li {padding: 0 2%;}
	nav > ul > li:nth-child(4){border:none;}
	#headerTop > a {margin: 3% 0 3% 2%;}
	#headerTop > ul {margin: 2% 2% 1% 0;padding-left: 0;}
	#headerTop > ul > li > span{font-size:17px;}
	#headerTop > ul > li > span > a{font-size:16px;color: #333;display: inline-block;}
}


/* Portrait tablets and minis */
@media (max-width:767px) {
	#headerTop > a > img {margin: 3% 0 3% 0;width: 100%;text-align: center;}
	#headerTop > ul {position: relative;max-width:1000px;width: 100%;text-align: center;padding-left: 0;margin: 2% 3% 3% 0;}
	#headerTop > ul > li > span{font-size:17px;}
	#headerTop > ul > li > span > a{font-size:16px;color: #333;display: inline-block;}
	.showMenu{display:block;text-align: center;font-size: 21px;margin-top: 5px; }
	.menuMove {display: inline-block;}
	nav{margin: 13px auto 0;}
	nav > ul > li { display:none; width:100%; position:relative;padding: 9px 0;border:none; }
	nav > ul > li > a { width:100%; }
	.navMobile{display:inline-block;}

}

@media (max-width:699px) {
	.civilFeature {width:49%}
	.civilFeature:nth-child(4){clear:both;}
}

@media (max-width:550px) {
	header { text-align:center; }
	section article { padding:0 1em 1em; }
	section.sidebar article { width:100%; }
	section.sidebar aside { width:100%; float:none; padding:0 1em; }
	.civilFeature{width:100%;}
	.headshot {float: none!important;}
	.post  h1 {line-height: 1.25;}
	.titleDivider > h2 {font-size:15px;}
	footer { text-align:center; }
}



