/*  
Theme Name: Metric Joinery
Description: A WordPress theme frame work
Version: 2.0
*/
/*
Improved browser CSS feature
-------------------------------------
Example: .ie8 .sidebar li{width:85px}

•ie - Internet Explorer (All versions)
•ie8 - Internet Explorer 8.x
•ie7 - Internet Explorer 7.x
•ie6 - Internet Explorer 6.x
•gecko - Mozilla, Firefox (all versions), Camino
•ff3 - Firefox 3
•ff3_5 - Firefox 3.5 new
•opera - Opera (All versions)
•opera8 - Opera 8.x
•opera9 - Opera 9.x
•opera10 - Opera 10.x
•webkit or safari - Safari, NetNewsWire, OmniWeb, Shiira, Google Chrome
•safari3 - Safari 3.x
•chrome - Google Chrome
*/

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, font, 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, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
	
body{
	margin:0;
	font-family: "Oswald",sans-serif;
}
body, th, td, input, textarea{
	color:#000000;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
}
form{
	float:left;
	width:100%;
	text-align: center;
}
#searchsubmit {
    background: none repeat scroll 0 0 gray;
    border: medium none;
    color: #fff;
    cursor: pointer;
    height: 20px;
    text-shadow: none;
}
input, textarea{
	font-weight:bold;
}
input.text{
	background:#FFFFFF;
	border:none;
	padding:1px;
}
h1, h2 {
	font-family: "Oswald",sans-serif;
	color: #58595b;
	text-transform: uppercase;
	font-weight: 400;
}
h1 {
	font-size: 46.03px;
}
h2{
	font-size: 14px;
}
h3{
	font-size: 13px;
	font-family: "Oswald",sans-serif;
	color: #58595b;
	font-weight: 400;
}
h4{
	font-size: 12px;}
h5{
	font-size:11px;
}
h6{
	font-size:10px;
}
p, ul, ol{
	font-size: 13px;
	line-height: 20px;
	color: #595555;
	font-family: Arial, Helvetica, sans-serif;
}
ul, ol{
}
blockquote{
	margin-left:36px;
	margin-right:36px;
}
a {
	color: #f9aa2f;
	text-decoration:none;
	font-family: "Oswald",sans-serif;
}
a:hover {
	border:none;
}
h1 a, h2 a, h3 a {
	border:none;
	color:#333333;
	text-decoration:none;
	font-family: "Oswald",sans-serif;
}
h1 a:hover, h2 a:hover, h3 a:hover{
	background:none;
	color:#371015;
}
table { 
	width: 100%; 
	border-collapse: collapse; 
	margin: 14px 0 0;
}
/* Zebra striping */
tr:nth-of-type(odd) { 
	background: #fff; 
}
th { 
	background: #f9aa2f; 
	color: white; 
	font-weight: 400;
	font-size: 14px!important;
	font-family: "Oswald",sans-serif;
	text-transform: uppercase; 
}
th:nth-child(1) {
    width: 46%;
}
th:nth-child(2) {
    width: 23%;
}
td, th {
    border: 1px solid #ddd;
    padding: 0 0 0 15px;
    text-align: left;
    vertical-align: middle;
}
tr {
    height: 41px;
}
tbody tr {
	height: 44px;
}
#header{
	float: left;
	width: 100%;
	height: 130px;
	position: relative;
}
#menu {
    height: 100%;
    margin: 0 auto;
    padding: 50px 0 0;
    text-align: center;
}		
#menu ul{
	line-height:normal;
	list-style:none;
	margin:0;
	padding:0;
}
#menu li {
    display: inline-block;
    height: 50px;
    position: relative;
}
#menu li:after {
    background: url("images/menu-bg.png") no-repeat scroll right top;
	height: 32px;
	width: 24px;
	float: right;
	content: "";
}
#menu li.last:after, #menu li li:after { display: none;}
.contact-number {
	background: url("images/contact-bg.png") repeat-x scroll center top 2px;
	position: absolute;
	right: 43px;
	top: 50px;
}
#footer .contact-number {
	float: right;
	position: static;
	margin-right: -8px;
}
.contact-number > a {
    background: none repeat scroll 0 0 #fff;
    color: #58595b;
    font-family: "Oswald",sans-serif;
    font-size: 19px;
    font-weight: 400;
    margin: 0 20px;
    padding: 0 18px;
}
#footer .contact-number > p {
    background: none;
    color: #f9aa2f;
    font-family: "Oswald",sans-serif;
    font-size: 19px;
    font-weight: 400;
    margin: 0;
    padding: 0;
	letter-spacing: 0px;
}
#footer .contact-number > p:before {
	float: left;
	background: url("images/contact-bg-footer.png") no-repeat scroll center top 2px;
	content: "";
	height: 19px;
	width: 22px;
	padding: 0 10px 0 0;
}
#footer .contact-number > p:after {
	float: right;
	background: url("images/contact-bg-footer.png") no-repeat scroll center top 2px;
	content: "";
	height: 19px;
	width: 22px;
	padding: 0 0 0 10px;
}
#menu_footer {
    float: left;
}
#menu a{
	color: #58595b;
	display: block;
	float: left;
	font-size: 19px;
	text-decoration:none;
	line-height: 26px;
	padding: 0 17px;
	font-family: 'Oswald', sans-serif;
}
#menu a:hover{
	color: #f9aa2f;
}
#menu li.current_page_item li a{
	color: #58595b!important;
}
#menu .current_page_item a, .menu-item-has-children:hover a{
	color: #f9aa2f!important;
}
.menu-item-has-children:hover li a{
	color: #58595b!important;
}
.menu-item-has-children:hover li a:hover{
	color: #fff!important;
}
#menu .current_page_item a:hover{
	color:#f9aa2f;
}
#menu li.current_page_item li a:hover{
	color: #fff!important;
}
.logo_content{
	float:left;
	width:315px;
	height:100%;
}		
.bx-wrapper {
	clear: both;
	margin: 0 auto 0!important;
}
.slider-top {
    float: left;
    text-align: center;
    width: 100%;
	background: url(images/line.png) repeat-x center;
	margin: 0 0 25px;
}
.slider-bg {
    background-position: center top;
    background-repeat: no-repeat;
    float: left;
    height: 100%;
    width: 100%;
}
.slider-top p{
	font-family: 'Oswald', sans-serif;
	color: #fff;
	font-size: 20px;
	text-transform: uppercase;
}
.slider-wrapper {
    margin: 0 auto;
    max-width: 100%;
    width: 860px;
}
.slider-text h2{ 
 	padding: 0 0 32px; 
	border-bottom: 1px solid #fff;
	margin: 0 0 20px;  
}
.slider-text h2 {
	color: #fff;
    font-family: "Oswald",sans-serif;
    font-size: 120px;
	line-height: 120px;
	text-transform: uppercase;
	border: none;
	padding: 0 0 32px;
		
}
.slider-text h2:hover {
    color: #faa61a;
}
.slider-text {
    color: #fff;
    font-family: "Oswald",sans-serif;
    font-size: 24px;
    line-height: 26px;
    text-transform: uppercase;
	
	padding: 15px 0 0;
}
.slider-text {
    position: absolute;
    text-align: center;
    top: 28%;
    width: 100%;

}	
.bxslider li {
    z-index: 999999;
}
.bx-wrapper img {
	width: 100%;
}
.bx-wrapper .bx-viewport {
    border: none!important;
    box-shadow: none!important;
    left: auto!important;
}
.bx-wrapper .bx-prev {
    background: url("images/slider-arrow.png") no-repeat!important;
    left: 60px!important;
	background-position: 0px -112px!important;
}
.bx-wrapper .bx-prev:hover {
	background-position: 0px 0!important;
}
.bx-wrapper .bx-controls-direction a {
    height: 108px !important;
    width: 41px !important;
	top: 41.2% !important;
}
.bx-wrapper .bx-next {
    background: url("images/slider-arrow.png") no-repeat scroll 100% 0 !important;
    right: 60px!important;
	background-position: -45px -112px!important;
}
.bx-wrapper .bx-next:hover {
	background-position: -45px 0!important;
}
.bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto {
    bottom: 25px !important;
}
.bx-wrapper .bx-pager.bx-default-pager a.active {
    background: url(images/pager-currrent-1.png) no-repeat!important;
	width: 18px;
	height: 18px;
}
.bx-wrapper .bx-pager.bx-default-pager a {
    background: url(images/pager-bg-1.png) no-repeat!important;
	width: 18px!important;
	height: 18px!important;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover {
    background: url(images/pager-bg.png) no-repeat!important;
}
.bx-wrapper .bx-pager.bx-default-pager a.active:hover {
    background: url(images/pager-currrent.png) no-repeat!important;
}
.contentmain {
    border-top: 80px solid #f9aa2f;
    float: left;
    width: 100%;
	background: #eee;
	padding: 0 0 60px;
	min-height: 280px;
}
#content {
    float: left;
    margin-top: -80px;
    width: 100%;
}
.title-page h1 {
    color: #fff;
    display: table-cell;
    font-weight: 400;
    height: 80px;
    text-transform: uppercase;
    vertical-align: middle;
}
.title-page h1:before {
    background: url("images/service-bg.png") no-repeat scroll left top 14px;
    content: "";
    float: left;
    height: 57px;
    padding: 0 5px 0 0;
    width: 25px;
}
.title-page h1:after {
    background: url("images/service-bg.png") no-repeat scroll right top 14px;
    content: "";
    float: right;
    height: 57px;
    padding: 0 0 0 5px;
    width: 25px;
}
.post {
	float:left;
	width:100%;
	margin-top:25px;
}
.post_page{
	float:left;
	width:100%;
}
.post .title{
	font-weight:normal;
}
.title{
	margin-top:5px;
	float:left;
	height:44px;
}	
h1.title{
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	padding-top: 2px;
}
h2.title {
    color: #fff;
    font-size: 18px;
    line-height: 32px;
    margin: 22px 0 14px;
    text-align: center;
    width: 100%;
}
.title_page_search {
    float: left;
    font-size: 20px;
    margin: 10px 0 5px;
}
.desctitle{
	font-size:10px;
}
.post h1.title {
	font-size:20px;
	height:auto;
	font-family: "Oswald",sans-serif;
	color:#fff;
	margin-left:5px;
}
.post h1.title a{
	font-size: 20px;
	height: auto;
	font-family: "Oswald",sans-serif;
	color: #58595b;
}
.post .entry {
    float: left;
    margin-top: 15px;
    width: 100%;
}
.entry p {
    color: #58595b;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;
    line-height: 18px;
    padding: 0 0 18px;
    text-align: justify;
	float:left;
	width:100%;
	margin-top:30px;
}
.entry.searchpage p {
    padding: 0 0 5px;
}
.entry a {
    color: #58595b;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: underline;
}
.entry a:hover {
    color: #f9aa2f;
}
.entry li {
    background: url("images/list-bg.png") no-repeat scroll left center;
    list-style: outside none none;
    padding: 0 0 0 30px;
	height: 22px;
}
.entry ul {
	margin: 0 0 17px;
	float:left;
	width:100%;
}
.entry iframe {
    /* margin: 30px 0 0; */
    max-width: 100%;
}
.post .meta {
	color:#e1a31d;
	font-size:12px;
	clear:both;
}
.post .meta p{
	color: #e1a31d;
	font-size: 12px;
}
.navigation {
    clear: both;
    float: left;
    margin: 25px 0 0;
}
.wp-pagenavi a, .wp-pagenavi span {
    padding: 5px 10px!important;
	background: #58595b;
	color: #fff;
}
.wp-pagenavi a:hover {
	background: #f9aa2f;
}
.wp-pagenavi a.nextpostslink {
    float: right;
    margin: -6px 2px 0 !important;
    padding: 3px 10px !important;
}
.page.larger {
    font-size: 10px;
    font-weight: bold;
}
.post .meta a{
	color:#333333;
	}
.post .links{
	margin:0;
}
.post .tags{
	font-size:9px;
	font-weight:bold;
	margin:0;
	text-transform:uppercase;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
}
.post .links a, .post .tags a, .links a{
	border:none;
	font-size:11.4px;
	text-align:center;
	font-family: Arial, Helvetica, sans-serif;
	margin-top:2px;
	float:left;
}
.rightsidebar{
	width: 260px;
	float: right;
}
.rightsidebar > h2 {
	background: none repeat scroll 0 0 #58595b;
	color: #fff;
	font-size: 18px;
	height: 40px;
	padding: 40px 0 0 20px;
	width: 240px;
	float: left;
}
#calendar{
	margin:0 auto;
	}
#calendar caption{
	font-weight:bold;
	}
#calendar table{
	border-collapse:collapse;
	text-align:center;
	width:220px;
	}
#calendar thead th{
	background:#CCC;
	color:#FFFFFF;
	}
#calendar tbody td{
	background:#EEEEEE;
	}
#calendar #today{
	background:#B8D03B;
	color:#FFFFFF;
	font-weight:bold;
	}
#calendar a{
	font-weight:bold;
	}
#calendar #prev{
	text-align:left;
	}
#calendar #next{
	text-align:right;
}
#design{
	background:#FFFFFF url(images/lines2.gif) bottom right no-repeat;
	height:138px;
}
#footer {
    background: none repeat scroll 0 0 #58595b;
    float: left;
    height: 50px;
    width: 100%;
	font-family: 'Open Sans', sans-serif;
	padding-top: 25px;
}
#menu_footer li {
    display: inline-block;
	
}
#menu_footer li ul {
	display: none;
}
#menu_footer li a {
	padding: 0 21px 0 13px;
	background: url(images/footer-menu-bg.png) no-repeat right center;
	letter-spacing: 0;
}
#menu_footer li.first a {
    padding-left: 0;
}
#menu_footer li.last a {
    background: none;
}
#menu_footer li a:hover {
    color: #f9aa2f;
}
.footer_copy {
	clear: both;
	color: #000;
	font-size: 10px !important;
	margin-top: 5px;
	text-transform: uppercase;
	font-family: 'Open Sans', sans-serif;
	float: left;
	font-weight: 300;
}
#footer .footer_copy a {
	font-family: 'Open Sans', sans-serif;
	font-size: 10px !important;
    padding-top: 10px;
	text-transform: uppercase;
	color: #000;
	font-weight: 300;
}
#footer .footer_copy a:hover {
	color: #fff;
}
#footer a {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.comlabel{
	color:#58595b666;
	font-size:13px;
	font-weight:lighter;
	}
.comtext{
	background-color:#6f1172;
	border:5px solid #FFFFFF;
	color:#FFFFFF;
	padding:5px;
}
.postlabel{
	color: #58595b666;
	font-size: 13px;
	font-weight: lighter;
}
.posttext{
	background: #6f1172;
	color: #fff;
	padding: 5px;
	float: left;
	font-family: Tahoma;
}
.commentlist{
	list-style: none;
}
.authorcomment{
	background-color: #efefef;
	margin: 10px 0px 0px 0px;
	padding: 3px;
}
.odd {
	color: #000;
	background-color: #fff;
	width: 100%;
	float: left;
	border-top: 3px solid #2a292a;
}
.odd a:link{
	color: #000000;
}
.commenttext{
	color: #000;
	float: left;
	width: 100%;
	clear: both;
	background: #fff;
}
.commenttext p {
    background-color: #FFFFFF;
    color: #8B148D;
    float: left;
    text-align: left !important;
    text-indent: 50px;
}
#author, #email, #url {
	background: #FBFBFB;
	border: 1px solid #cbcbcb;
	padding: 3px;
	width: 40%;
	margin-bottom: 5px;
}
#comment {
	border: 1px solid #cbcbcb;
	margin-bottom: 0.6em;
	padding: 3px;
	width: 95%;
	height: 50px;
}
#commentsbox {
	position: absolute;
	bottom: 10px;
}	
#commentform {
	float: left;
	width: 600px;
	margin-left: 10px;
}	
acronym, abbr, span.caps {
	cursor:help;
}
acronym, abbr {
	border-bottom: 1px dashed #999;
}
blockquote {
	padding-left: 52px;
	background-image: url(images/qt.png);
	background-repeat: no-repeat;
	background-position: left top;
	margin-top: 15px;
	margin-right: 30px;
	margin-bottom: 0;
	margin-left: 10px;
	padding-top: 5px;
}
blockquote cite {
	display:block;
	margin:5px 0 0;
}
.center {
	text-align:center;
	padding-top:10px;
	color: #fff;
}
p.center {
    padding: 0;
}
.aligncenter {
	margin-right: auto;
	margin-left: auto;	
}
img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
a img{
	border:none;
}
pre{
	background:#f3f2ed;
	border:solid 1px #9a9a9a;
	color:blue;
	margin:10px;
	padding:10px;
}
code{
	color:#000;
	font-size:1.0em;
}
/* Scroll */
.scroll-button {
    background: none repeat scroll 0 0 #f9aa2f;
    display: none;
    margin: -30px 0 60px;
    text-align: center;
    text-decoration: none;
    width: 114px;
}
.scroll-button a {
    color: #fff;
    font-family: "Oswald",sans-serif;
    font-size: 14px;
    line-height: 32px;
    padding-right: 18px;
    text-transform: uppercase;
}
.scroll-button a:after {
    background-image: url("images/arrow_up.png");
    background-origin: padding-box;
    background-position: center center;
    background-repeat: no-repeat;
    content: "";
    height: 32px;
    position: absolute;
    width: 26px;
}
.scroll-button:hover {
	background: #58595b;
}
/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	
}
/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}
img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}
.alignright {
	float: right;
}
.alignleft {
	float: left;
}
/* End Images */
/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */
/*Drop Menu start*/
#dropmenu, #dropmenu ul {margin:0; padding:0; list-style-type:none; list-style-position:outside; position:relative;  z-index:300; width:100%;}
#dropmenu a {
	text-transform:uppercase;
}
#dropmenu ul {
    display: none;
    left: 0;
    position: absolute;
    top: 50px;
}
#dropmenu ul a {
	color: #2081cd;
	font-weight: normal;
	background-image: none;
}
#dropmenu ul a:hover {
	color: #FFFFFF;
	font-weight: normal;
	background-image: none;
}
#dropmenu li ul {
	width: 200px;
	padding: 0px;
	margin:0px;
	top: 45px;
}
#dropmenu li ul a {
	height:auto;
	float:left;
	color: #58595b;
	width: 180px;
    text-align: left;
	text-indent: 20px;
	padding-right: 0px;
	padding-left: 0px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	height: 35px;
	text-transform: capitalize;
	line-height: 32px;
}
.clear, .cb{
	clear:both;
	}
#dropmenu li ul a:hover {
	color: #FFFFFF;
	background-color: #f9aa2f;
}
#dropmenu li ul li, #dropmenu li ul li.last {
	width: 180px;
	height: auto;
	background: #fff;
}
#dropmenu li ul li{
	border-bottom:1px solid #e0e0e0;
}
#dropmenu li ul li.last{
	border:none;
}
#menu li.last {
    background: none repeat scroll 0 0;
}
#dropmenu ul ul {top:auto;}
#dropmenu li ul ul {left:200px; margin:0px 0 0 0px;}
#dropmenu li:hover ul ul, #dropmenu li:hover ul ul ul, #dropmenu li:hover ul ul ul ul {display:none;}
#dropmenu li:hover ul, #dropmenu li li:hover ul, #dropmenu li li li:hover ul, #dropmenu li li li li:hover ul {display:block;}
#dropmenu li ul li.parent{
	background:url(images/drop_list_bg.jpg) no-repeat 211px 14px #2A448F;
	}
#dropmenu li ul li.parent:hover{
	background: url("images/drop_list_bg_hover.jpg") no-repeat scroll 211px 14px #626262;
	}
form p input .wpcf7-form-control wpcf7-submit{
	float:left;
	width:50px !important;
}		
.button-primary{
	float:left;
	width:50px !important;
}

#calendar_wrap {
	color:#607e33 !important;
}		
#wp-calendar{
	width:100%;
	color:#607e33;
	float:left;
}	
td a{
	color: #FF9900;
}
#today {
	color: #FF0000 !important;
}	
#contactsubmit {
    background:url(images/button_submit.png) repeat-x !important;
}	
.logo {
    left: 43px;
    position: absolute;
    top: 20px;
    z-index: 9;
}
.logo:hover {
	opacity: 0.7;
}
.row {
	float:left;
	width:100%;
	margin-left:16px;
	margin-top:20px;
}
.row a {
	color:#FFFFFF;
	font-family:Tahoma;
	font-size:20px;
	text-decoration:none;
}	
.info{
	float:left;
	width:83px;
	height:26px;
	background:url(images/button_more.png) no-repeat;
	color:#fff ;
	font-size:11.4px;
	text-align:center;
	font-family:Arial, Helvetica, sans-serif;
	margin-left:12px;
}	
.arrow {
	float:left;
	background:url(images/arrow.png) no-repeat;
	width:17px;
	height:14px;
	margin-top:20px;
	margin-left:5px;
	cursor:pointer;
}	
.meta{
	float:left;
	width:400px;
	border-bottom:thin dashed #d4d1d1;
	margin-left:5px;
}	
.sub-page {
    position: relative;
	float: left;
	width: 33.33%;
	text-align: center;
	overflow: hidden;
}
.side-page {
    position: relative;
	float: left;
	width: 100%;
	text-align: center;
	overflow:hidden;
}
.sub-page.parent h1 {
	color: #fff;
	font-size: 46.03px;
	text-transform: uppercase;
	font-weight: 400;
}
.sub-page.parent h1:before {
	background: url("images/service-bg.png") no-repeat scroll left top 14px;
    content: "";
    float: left;
    height: 57px;
    padding: 0 5px 0 0;
    width: 25px;
}
.sub-page.parent h1:after {
	background: url("images/service-bg.png") no-repeat scroll left top 14px;
    content: "";
    float: right;
    height: 57px;
    padding: 0 5px 0 0;
    width: 25px;
}
.parent-title-page {
    display: inline-flex;
    margin: 0 auto;
    text-align: center;
}
.post-page {
    float: left;
    max-width: 100%;
    width: 661px;
}
.entry {
    float: left;
    margin-top: 30px;
	width:100%; 
}
.entry.searchpage {
    margin-top: 0;
}
.entry h2 {
	margin: 0 0 11px;
}
.wrapper {
	margin: 0 auto;
	width: 960px;
	max-width: 95%;
}
.sub-page.parent {
	background: #faa61a;
	color: #fff;
	overflow: hidden;
}
.sub-page.parent p {
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    padding: 2px 35px;
    text-align: center;
}
.thumb-image .attachment-my_thumb.wp-post-image {
	max-width: none;
}
.attachment-my_thumb.wp-post-image {
   /*max-width: 100%;  */
	height: auto;
}
.side-page .attachment-my_thumb.wp-post-image {
    height: 258px;
	width:auto;
}
.thumb-image {
	background: #58595b;
	width: 100%;
	position:relative;
}
.thumb-image  img{
	position:absolute;
	top:-40%;
	left:-40%; 
	min-height:100%;
	min-width:100%;

}
.hover {
    display: none;
    position: absolute;
    top: 0;
    z-index: 9999;
	width: 100%;
	height: 100%;
	background: url(images/subpage-bg.png) repeat ;
	text-align: center;
}
.hover-content{
	position:relative;
	top:50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
}
.hover h2 {
    color: #fff;
   /* margin-top: 47.36%;*/
    text-transform: uppercase;
	font-size: 30px;
	font-weight: 500;
}
.thumb-image h2 {
    color: #fff;
    /*padding-top: 47.36%;*/
    text-transform: uppercase;
	font-size: 30px;
	font-weight: 500;
	position:relative;
	top:50%;
	transform: translateY(-50%);
}
.hover.side  h2 {
    margin-top: 118px;
	font-size: 20px;
	font-weight: 400;
}
.hover .readmore_service {
	color: #fff;	
    text-transform: uppercase;
	font-size: 15px;
	background: url(images/arrow.png) no-repeat right center;
	padding: 0 18px 0 0;
	margin:0 auto;
	width:68px;
}
.read-more:hover {
	background: #58595b;
}
.read-more{
	float: left;
	width: 114px;
	background: #f9aa2f;
	text-align: center;
	height: 32px;
}

.read-more a {
    color: #fff;
    font-family: "Oswald",sans-serif;
    font-size: 14px;
    line-height: 32px;
    padding-right: 18px;
    text-transform: uppercase;
}
/*Contact Form*/
span.wpcf7-form-control-wrap {
    float: right;
    width: 88%;
}
.wpcf7-form > p {
    line-height: 35px;
}
.wpcf7-form-control.wpcf7-submit {
    background: url("images/arrow.png") no-repeat scroll 65px center #f9aa2f;
    border: medium none;
    color: #fff;
    cursor: pointer;
    float: right;
    font-family: "Oswald",sans-serif;
    font-size: 14px;
    font-weight: 400;
    height: 30px;
    margin: 21px 0 0;
    padding-left: 10px;
    padding-right: 18px;
    text-align: left;
    text-transform: uppercase;
    width: 82px;
}
.wpcf7-form-control.wpcf7-submit:hover {
	background: url("images/arrow.png") no-repeat scroll 65px center #58595b;
}
.wpcf7 input {
	border: 1px solid #b2b2b2;
	height: 25px;
	padding: 0;
	margin: 4px 0 0 2px;
	width: 329px;
}
.wpcf7 textarea {
	width: 99.5%;
	padding: 0;
	margin: 4px 0 0 2px;
	height: 98px;
	border: 1px solid #b2b2b2;
}
textarea {
    resize: none;
}
.content-scroll {
	background: none repeat scroll 0 0 #eee;
    float: left;
    width: 100%;
}

/*   gallery   */
.ngg-gallery-thumbnail-box{
	margin:0px !important;
}
.ngg-gallery-thumbnail img:hover{
	background-color: #f9aa2f !important;
}

@media only screen and ( max-width: 1024px ) and (min-width: 986px){
#page {
	width: 100%;
}
#page .bx-wrapper .bx-prev {
	left: 10px !important;
}
#page .bx-wrapper .bx-next {
	right: 10px !important;
}
#page .bx-wrapper .bx-pager,#page .bx-wrapper .bx-controls-auto {
    bottom: 5px !important;
}
.thumb-image .attachment-my_thumb.wp-post-image {
    max-width: 400px;
}
#menu a {
    padding: 0 8px;
}
}
/********************************************//**************iPad Portrait***************/
@media only screen and (max-width: 985px) and (min-width: 768px){
.sub-page {
    width: 50%;
}

.thumb-image .attachment-my_thumb.wp-post-image {
    max-width: 610px;
}
#page .bx-wrapper .bx-prev {
	left: 10px !important;
}
#page .bx-wrapper .bx-next {
	right: 10px !important;
}
#page .bx-wrapper .bx-pager,#page .bx-wrapper .bx-controls-auto {
    bottom: 5px !important;
}
.rightsidebar {
    width: 100%;
}
.rightsidebar > h2 {
    padding: 40px 0 0 3%;
    width: 97%;
}
.side-page {
    width: 50%;
}
#menu a {
    font-size: 14px;
    line-height: 26px;
    padding: 0 1px;
}
.logo {
    left: 2px;
}
.slider-text h2 {
    font-size: 90px;
	line-height: 100px;
}
}

/**********************************//***************iPhone Landscape*************/
@media only screen and (max-width: 767px) and (min-width: 501px){
#page .bx-wrapper img {
    width: auto;
    max-width: 800px;
}
.sub-page.parent p {
    font-size: 10px;
    padding: 2px 4px;
	line-height: 11px;
}
#page .bx-wrapper .bx-prev {
	left: 10px !important;
}
#page .bx-wrapper .bx-next {
	right: 10px !important;
}
#page .bx-wrapper .bx-pager,#page .bx-wrapper .bx-controls-auto {
    bottom: 5px !important;
}
.rightsidebar {
    width: 100%;
}
.rightsidebar > h2 {
    padding: 40px 0 0 3%;
    width: 97%;
}
.side-page {
    width: 50%;
}
.slider-text h2 {
    font-size: 75px;
	line-height: 75px;
}
.sub-page {
    width: 50%;
}
.slider-text a {
    font-size: 20px;
}
.entry iframe {
    height: auto;
    max-width: 500px;
}
#footer .contact-number {
    margin-right: 0;
}
.footer_copy {
    margin-top: 1px;
}
#footer .contact-number > p:before {
    height: 15px;
    padding: 0;
}
#footer .contact-number > p:after {
    height: 20px;
    padding: 0;
}
#footer .contact-number > p {
    font-size: 13px;
}
h1 {
    font-size: 35.03px;
}
.title-page h1:before {
    background: url("images/service-bg.png") no-repeat scroll left top 5px;
    content: "";
    float: left;
    height: 47px;
    padding: 0 5px 0 0;
    width: 25px;
}
.title-page h1 {
    line-height: 47px;
	height: auto;
}
.title-page h1:after {
    background: url("images/service-bg.png") no-repeat scroll right top 5px;
    content: "";
    float: right;
    height: 47px;
    padding: 0 0 0 5px;
    width: 25px;
}
.title-page {
    padding: 10px 0 0;
}
}
/***************iPhone Portrait**************/
@media only screen and (max-width: 500px) and (min-width: 320px){
.sub-page.parent {
	min-height: 300px!important;
}
#page .bx-wrapper img {
    width: auto;
    max-width: 500px;
}
.sub-page.parent p {
    font-size: 10px;
    padding: 2px 10px;
}
.footer_copy {
    float: left;
    margin-top: 10px;
    max-width: 100%;
}

#footer {
    padding-bottom: 50px;
}
#footer .contact-number {
    margin-right: 0;
}
#page .bx-wrapper .bx-prev {
	left: 10px !important;
}
#page .bx-wrapper .bx-next {
	right: 10px !important;
}
h1 {
    font-size: 23.03px;
}
.title-page {
    padding: 5px 0 0;
}
.title-page h1:before {
    background: url("images/service-bg.png") no-repeat scroll left top 5px;
    content: "";
    float: left;
    height: 32px;
    padding: 0 5px 0 0;
    width: 25px;
}
#content {
    margin-top: -50px;
}
.contentmain {
    border-top: 50px solid #f9aa2f;
}
.title-page h1 {
    line-height: 40px;
	height: auto;
}
.title-page h1:after {
    background: url("images/service-bg.png") no-repeat scroll right top 5px;
    content: "";
    float: right;
    height: 32px;
    padding: 0 0 0 5px;
    width: 25px;
}
.entry iframe {
    margin: 30px 0 10px;
    max-width: 290px;
	height: auto;
}

#menu_footer li.first a {
    padding-left: 13px;
}
#footer .wrapper {
    max-width: 99%;
}
.wpcf7 input {
    width: 95%;
}
span.wpcf7-form-control-wrap {
    float: right;
    width: 75%;
}
.wpcf7-form-control.wpcf7-submit {
    clear: both;
    margin: 21px 1% 0 0;
}
.wpcf7 textarea {
    width: 99%;
}
.rightsidebar {
    width: 100%;
}
.rightsidebar > h2 {
    padding: 40px 0 0 3%;
    width: 97%;
}
.side-page {
    width: 100%;
}
.sub-page {
    width: 100%;
}
.slider-text h2 {
    font-size: 45px;
    line-height: 50px;
    margin: 0 0 10px;
    padding: 0 0 10px;
}
.slider-text a {
    font-size: 10px;
    line-height: 20px;
}

.slider-top {
    margin: 0 0 5px;
}
.logo {
    float: left;
    left: 0;
    text-align: center;
    top: 30px;
    width: 100%;
}
.contact-number {
    right: 10px;
	top: 0;
}

.bx-wrapper img {
    min-height: 300px;
}
#page .bx-wrapper .bx-pager,#page .bx-wrapper .bx-controls-auto {
    bottom: 5px !important;
}
}


/***************iPhone Portrait**************/
@media only screen and (max-width: 320px){
.sub-page.parent {
	min-height: 300px!important;
}
#page .bx-wrapper img {
    width: auto;
    max-width: 500px;
}
.sub-page.parent p {
    font-size: 10px;
    padding: 2px 10px;
}
.footer_copy {
    margin-top: -25px;
    max-width: 60%;
}
#footer .contact-number {
    margin-right: 0;
}
#page .bx-wrapper .bx-prev {
	left: 10px !important;
}
#page .bx-wrapper .bx-next {
	right: 10px !important;
}
h1 {
    font-size: 19.03px;
}
.title-page h1:before {
    background: url("images/service-bg.png") no-repeat scroll left top 5px;
    content: "";
    float: left;
    height: 57px;
    padding: 0 5px 0 0;
    width: 25px;
}
.title-page h1:after {
    background: url("images/service-bg.png") no-repeat scroll right top 5px;
    content: "";
    float: right;
    height: 57px;
    padding: 0 0 0 5px;
    width: 25px;
}
.entry iframe {
    margin: 30px 0 10px;
    max-width: 290px;
	height: auto;
}
#footer a {
    font-size: 10px;
}	
#footer .wrapper {
    max-width: 99%;
}
.wpcf7 input {
    width: 95%;
}
span.wpcf7-form-control-wrap {
    float: right;
    width: 75%;
}
.wpcf7-form-control.wpcf7-submit {
    clear: both;
    margin: 21px 1% 0 0;
}
.wpcf7 textarea {
    width: 99%;
}
.rightsidebar {
    width: 100%;
}
.rightsidebar > h2 {
    padding: 40px 0 0 3%;
    width: 97%;
}
.side-page {
    width: 100%;
}
.sub-page {
    width: 100%;
}
.slider-text h2 {
    font-size: 45px;
    line-height: 50px;
    margin: 0 0 10px;
    padding: 0 0 10px;
}
.slider-text a {
    font-size: 10px;
    line-height: 20px;
}

.slider-top {
    margin: 0 0 5px;
}
.logo {
    float: left;
    left: 0;
    text-align: center;
    top: 30px;
    width: 100%;
}
.contact-number {
    right: 10px;
	top: 0;
}

.bx-wrapper img {
    min-height: 300px;
}
#page .bx-wrapper .bx-pager,#page .bx-wrapper .bx-controls-auto {
    bottom: 5px !important;
}
}
/**-----start-logo-error--------**/
.logo-error
{
	padding: 1em;
	text-align: center;
	padding: 1%;
}
.logo-error h1{
	display: block;
	padding: 3em 0em 1em;
}
.logo-error span{
	font-size: 2em;
	color:#fff;
}
.logo-error span img{
	width:40px;
	height: 40px;
	vertical-align:bottom;
	margin: 0px 10px;
}
/**-----end-logo-error---------**/
/*********Media Queries************/
@media only screen and (max-width: 768px)
{
.logo-error img {
	width: 315px;
}
}
@media only screen and (max-width: 736px ){
	.hover{
		display:block !important;
	}
	.thumb-image > h2 {
		display:none !important;
	}
	.thumb-image img{
		left:0px;
		top:0px;
	}
}
@media only screen and (max-width: 667px){

	.sub-page, .thumb-image {
		min-height:122.5px;
	}


}
@media only screen and (max-width: 640px)
{
.logo-error {
	padding: 1%;
}
.logo-error img {
	width: 300px;
}
}
@media only screen and (max-width: 568px) {
	.sub-page, .thumb-image {
		min-height: 184px;
	}
}

@media only screen and (max-width: 480px)
{
	.logo-error {
		padding: 1%;
	}
	/***/
	.logo-error span {
		font-size: 1.6em;
	}
	.logo-error img {
		width: 270px;
	}
	.ngg-gallery-thumbnail-box{
			width:100% !important;
		}
	.sub-page, .thumb-image {
		min-height: 184px;
	}
}

@media only screen and (max-width: 375px){

	.sub-page, .thumb-image {
		min-height:268.5px;
	}


}

@media only screen and (max-width: 320px)
{
	.logo-error {
		padding: 1%;
	}
	/***/
	.logo-error span {
		font-size: 1.4em;
	}
	.logo-error span img {
		vertical-align: middle;
	}
	.logo-error img {
		width: 200px;
	}
	.sub-page, .thumb-image {
		min-height:219px;
	}


}


@media only screen and (max-height: 630px ){
.slider-text h2 {
    font-size: 75px;
    line-height: 75px;
}
}

@media only screen and (max-height: 410px){
	.slider-text h2 {
		font-size: 45px;
		line-height: 65px;
	}
}


/* large screen */


@media only screen and (max-width: 1440px){
	
	.thumb-image img {
		left: -32%;
	}
}

@media only screen and (min-width: 1440px){
	
	.thumb-image img {
		left: 0;
		position: absolute;
		top: 0;
	}
}


@media only screen and (min-width: 1600px){
	.thumb-image img {
		left: 0;
		position: absolute;
		top: 0;
	}
}
@media only screen and (min-width: 1680px){
	
	.thumb-image img {
		left: 0%;
		position: absolute;
		top: 0;
	}
}
@media only screen and (min-width: 1920px){
	.thumb-image img {
		left: 0px;
		position: absolute;
		top: 0px;
	}
}