#phocagallery:last-child { /* display: none; */ }

body {


	/* font-family: 'PT Sans', sans-serif; */
	/* font-family: 'Raleway', sans-serif; */
	font-family: "MyriadProRegular";
	font-size: 1em;
	background: url(../img/l1.png) left top repeat-x;

}

a, a:visited { color: #739914; }

body.pages {
	background: #fdf7f0 url(../img/body-bg-pages.png) left top repeat-x;
}
body.pages .header-social .twitter-follow-button { margin-top: -6px; } 

p {margin:10px 0;}

.clr, .clear, .cleared { clear: both; }
.align-left { text-align: left; max-width: 170px; width: 100%; display: block; margin: 15px auto 0 auto !important; }

.maincontainer {
	margin: 0 auto;
	background: url(../img/header-bg.png) center top no-repeat;

}


.inner-container {
    	display: inline-block;
    	max-width: 1100px;
    	width: 100%;
	margin: 0 auto !Important;

}


#maincontainer {
	width: 100%;
    	max-width: 1100px;
    	width: 100%;
	margin: 0 auto !Important;
}



.l1 {
	/* background: url(../img/l1.png) center top no-repeat; */
	text-align: center;
	position: relative;
	width: 100%;
	height: 112px;
	background: #368603;
	border-bottom: 2px solid #000;
	overflow: hidden;
}

.l1 .inner-container { 
	background: url(../img/header-bg.jpg) right top no-repeat; 
	
}


.logo {
    	display: inline-block;
    	vertical-align: middle;
	text-align: center;
    	float: left;

    	-webkit-transition: top .2s ease-out;
    	-moz-transition: top .2s ease-out;
    	-o-transition: top .2s ease-out;
    	transition: top .2s ease-out;
}

.logo img { max-width: 272px; width: 100%; }


.tl-menu { float: right; }
.tl-menu ul {color: #abe981;margin-top: 4px;float: right;}
.tl-menu ul li { float: left; margin-left: 24px; }
.tl-menu ul li.item-194 { list-style: none; }
.tl-menu ul li a { color: #fff; text-decoration: none; }


.topmenu { text-align: center; background: url(../img/topmenu-bg.png) left top repeat-x; height: 32px; border-bottom: 2px solid #000; }
.topmenu ul { height: 32px; width: 100%; max-width: 630px; display: inline-block; list-style: none; margin: 0; padding: 0; background: url(../img/topmenu-bg-separator.png) left top no-repeat; }
.topmenu ul li { width: 16.6%; float: left; height: 32px; background: url(../img/topmenu-bg-separator.png) right top no-repeat; }
.topmenu ul li a { display: block; padding-top: 5px; height: 32px; width: 100%; color: #fff; text-decoration: none; }
.topmenu ul li:hover { background: url(../img/topmenu-bg-hover.png) left top repeat-x;  }
.topmenu ul li:hover a { background: url(../img/topmenu-bg-separator.png) right top no-repeat; }
.topmenu li.sep { width: 2px !important; background: url(../img/topmenu-bg-separator.png) left top no-repeat; }


.mobile-nav {
	display: none;
	text-align: center; 
	background: url(../img/topmenu-bg.png) left top repeat-x; 
	height: 32px; 
	border-bottom: 2px solid #000; 
	font-size: 1.5em;
	color: #fff;	
}

.mobile-nav a { color: #fff; }

.gallery-item { margin-bottom: 10px; }
.gallery .gallery-img { width: 155px; height: 129px; overflow: hidden; }
.gallery-img-title {position: absolute;width: 195px;padding-left: 5px;line-height: 24px;height: 24px;margin-top: -4px;background: url(../img/black_point.png);}
.gallery-img-title a { color: #fff; text-decoration: none; }

#rsform_5_page_0 {margin-left:8px;}

input#Submit.rsform-submit-button.btn.btn-primary {margin: 0 auto 0 31%;}

.gallery-img-title1 {
    position: absolute;
    width: 195px;
    padding-left: 5px;
    line-height: 24px;
    height: 24px;
    margin-top: -4px;
    background: url(../img/black_point.png);
	
}

.gallery-img-title1 a {color:#fff;}

.customphone h3 {font-size: 2.5em;text-align: right;color:#fff;font-weight:bold;}
.customphone {color:#fff;margin-top: 3px;float:right;}
.customphone p {float:right;margin: 5px 0;}


@media screen and (-webkit-min-device-pixel-ratio:0) { 
    .rslides {max-height: 296px;}
}

@media (min-width: 1737px)  {
	.rslides {max-height: 301px;}
}

@media (max-width: 1099px)  {
.gallery-item1 {  width: 50%!important;margin-bottom:35px;}
#second { width: 63%!important;}
}

@media (max-width: 768px)  {
.gallery-item1 {  width: 50%!important;margin-bottom:35px;}
#second {width: 100%!important;}
}

@media (max-width: 659px)  {
.gallery-item1 {  width: 100%!important;margin-bottom:35px;}
#second {width: 100%!important;}
}

@media (max-width: 640px) {
	.topmenu { position: absolute; margin-top: 32px; width: 100%; z-index: 990; display: none; }
	.mobile-nav { display: block; }
	.topmenu ul { width: 100%; max-width: 100%; display: block; }
	.topmenu li.sep { display: none; }
	.topmenu ul li { 
		width: 100% !important; max-width: 100%; float: none; height: 32px; background: url(../img/topmenu-bg.png) left top repeat-x; 
	}
	
	#second {width: 100%!important;display:block;position:relative;}

}

@media (max-width: 480px) {
	.l1 { height: 162px; text-align: center; }
	.logo { float: none; width: 100%; margin: 0 auto; margin-top: 8px; }
	.logo img { max-width: 172px; width: 100%; }	
	.customphone { float: none; width: 100%; text-align: center; }
	.customphone h3 {font-size: 1.0em;text-align: center;color:#fff;font-weight:bold;}
	.customphone p { margin: 5px 0; text-align: center; width: 100%;}
	.tl-menu { text-align: center; display: block; float: none; margin-top: 5px; }
	.tl-menu ul { margin: 0 5px 0 0; padding: 0; display: inline-block; width: 75%; }
 	.rsform-block input[type="text"] { max-width: 65% !important; }
	.rsform-block textarea { max-width: 65%; } 
	.l1 .inner-container { padding-bottom: 10px; } 
}

/****** services *********/
.services { color: #fff; background: #347e0d; border-right: 2px solid #000; border-bottom: 2px solid #000; }
.services ul { color: #fff; margin: 0 0 0 20px; padding: 5px 0 20px 0; }
.services ul li { margin: 15px 0; }
.services ul li a { font-family: "MyriadProBold"; color: #fff; text-decoration: none; }
.services ul li a:hover { color: #d3ffbc; }
.services h3 { font-size: 1.4em; text-align: center; border-bottom: 1px solid #fff; padding: 12px 0; }

.slider-section { border-bottom: 2px solid #000; }

.callback { margin-top: 20px; background: #efe403; padding-bottom: 20px;}
.callback h3 { margin-bottom: 10px; font-size: 1.4em; text-align: center; font-weight: normal; color: #000; border-bottom: 1px solid #fff; padding: 12px 0; }
.callback .inner { padding: 0px 5px; }
.callback label { margin: 7px 0 5px 0; color: #000; font-size: .8em; display: inline-block; width: 60px; float: left; }
.callback input[type="text"],
.callback textarea {
	width: 117px;
	float: left;
	margin: 5px 0;
	padding: 1px 5px;
	display: block;
	background: #fff;
	border: 1px solid #b7b7b7;

	-webkit-box-shadow: inset 0px 2px 3px 0px rgba(0,0,0,0.55) !important;
	-moz-box-shadow: inset 0px 2px 3px 0px rgba(0,0,0,0.55) !important;
	box-shadow: inset 0px 2px 3px 0px rgba(0,0,0,0.55) !important;

}

.callback input[type="submit"] {
	margin: 0 auto 0 50px;
	background: #fbf691;
	color: #000;
	border: 1px solid #4f690f;
	font-size: .8em;
	padding: 3px 0;
	margin-top: 10px;
	padding: 2px 18px;
}
.callback img { max-width: 192px; }



.footer { padding: 7px 0; background: #191919; font-size: .9em; border-bottom: 1px solid #444; color: #fff; text-align: center; }
.footer a { color: #fff; }


/********* pages *********/
.content-pages h1 { font-size: 1.5em; color: #368603; font-weight: 600; margin-bottom: 8px; }
.content-pages { font-size: .9em; overflow: hidden; }


@media (max-width: 640px) {
	.b-inner { text-align: center; }
	.b-inner h1 { color: #00275d; font-size: 1.9em; border-bottom: 1px solid #d6ca88; padding-bottom: 7px; font-weight: 700; margin: 10px 0px 0px 0; float: none; }
	.b-inner .inner { float: none; max-width: 280px; margin: 10px auto 0 auto; text-align: center; }
}
