/*
Theme Name: Wibberley Theme
Author: John 
Version: 2.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, 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 {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
body {
 margin : 0 auto;
padding : 0;
font-family:Open Sans, Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif; 	
color : #000; 
text-align: center;
background-color:#13171c;
}


h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img { border: none; }
#skiptomain { display: none; }
.nocomments { display: none; }
.clear { clear:both; }

/*  Header ////////////////////////////////////////////////////////////////////////////////////////////*/ 

#headcontainer {
	  position: absolute;
	  margin:0 auto ;
	  overflow: hidden;
	  z-index: 1;
	  width:100%;
}

header {
	clear: both;
	position: relative;
	color: #000;
	text-align: center;
}

#logo {
    float: left;
    height: 199px;
    margin: 35px;
    width: 199px;
}

#logo h1 {
    font-size: 10px;
    margin: 0;
}


#logo a {
    display: block;
}

#logo-text { position:absolute; top:35px; right:35px; }

#logo-text h1 { font-size:24px; text-transform:uppercase; color:#fff; }


/* Menu ///////////////////////////////////////////////////////////////////////////////////// */

.little-logo { display:block; width:75px; height:75px; margin:0 0 0 20px; padding:0; float:left; }

#mainnav { background-color:#13171c; height:75px; color:#fff; padding:0; width:100%; float:left; position:relative;  z-index: 9999;  }

.sticky {
    position: fixed !important;
    left: 0;
    top: 0;
    z-index: 1000 !important;

}

#access {
	display: block;
	float: right;
	margin: 0 auto;
	width: auto;
}
#access .menu-header,
div.menu {
	font-size: 18px;
	text-transform:uppercase;
	margin-right: 12px;
	
}
#access .menu-header ul,
div.menu ul {
	list-style: none;
	margin: 0;
	padding:0;
}
#access .menu-header li,
div.menu li {
	float: left;
	position: relative;
}
#access a {
	color: #aaa;
	display: block;
	line-height: 38px;
	padding: 19px 20px;
	text-decoration: none;
}
#access ul ul {
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	display: none;
	position: absolute;
	top: 38px;
	left: 0;
	float: left;
	width: 180px;
	z-index: 99999;
}
#access ul ul li {
	min-width: 180px;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #333;
	line-height: 1em;
	padding: 10px;
	width: 160px;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	color: #fff;
}
#access ul li:hover > ul {
	display: block;
}
#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
	color: #fff;
}
* html #access ul li.current_page_item a,
* html #access ul li.current-menu-ancestor a,
* html #access ul li.current-menu-item a,
* html #access ul li.current-menu-parent a,
* html #access ul li a:hover {
	color: #fff;
}



a:active, a:focus { outline: none !important; }

.about-anchor {  position: relative;   top: -127px;}

.services-anchor {  position: relative; top: -226px;}

.contact-anchor {  position: relative;   top: -127px;}

.gallery-anchor { position: relative;   top: -100px; }

/* Slider /////////////////////////////////////////////////////////////////////////////////////////*/ 

#slider { padding: 0;  margin:0;  position: relative; }

#main-slider-wrapper {
    max-width: 100% !important; 
}

#slide-1 { width:100%; line-height:0; position:relative; height:auto; }
#slide-2 { width:100%; line-height:0; position:relative; height:auto;}
#slide-3 { width:100%; line-height:0; position:relative; height:auto;}
#slide-4 { width:100%; line-height:0; position:relative; }

#main-slider-wrapper img { max-height:928px !important;  }


/* Main Layout /////////////////////////////////////////////////////////////////////////////////////////*/ 


.aboutbg { background: #1e232b; }

.gallerybg { background: #13171c; }

.servicesbg { background:#161c24;  }

.contactbg { background: #fff;		
		clear: both;
		width: 100%; 
		font-size: 18px;
		margin: auto 0;
		padding: 1em 0px;
		line-height: 1.5em;
		position: relative; }

#wrapper {
	width: 100%;
	position: relative;
	text-align: left;
}
#maincontentcontainer {
	width: 100%;
}


.maincontent{
		clear: both;
		width: 100%; 
		font-size: 18px;
		margin: 75px auto 0;
		padding: 1em 0px;
		line-height: 1.5em;
		position: relative;
	}
	
.maincontent2{
		clear: both;
		width: 100%; 
		font-size: 18px;
		margin: 0px auto 0;
		padding: 0 0 50px;
		line-height: 1.5em;
		position: relative;
	}
	
.post-2 .entry-title {display: none;}

.about { max-width:900px; margin: 110px auto 40px !important; }



.about p, .about li { color:#6c7685;  }

.services-header { margin-top:100px !important; }

.about h1, .gallery-section h1, .services-section h1 { 
	text-transform:uppercase; 
	font-size:24px; 
	font-weight:700; 
	color:#fff; 
	border-bottom:3px solid #ab1212; 
	padding:0 0 30px; 
	margin:0 auto 50px;   
	display: table; 
	}
	
.services-section { max-width:900px; margin: 0px auto 40px !important; min-height: 900px; color:#a1abba;; }

.services-section h2 { 
    border-bottom: 1px solid #ab1212;
    color: #fff;
    display: table;
    font-size: 20px;
    margin: 53px auto 31px;
    padding: 0 0 19px;
 }
.gallery-section { max-width:1360px; margin: 110px auto 40px !important; min-height: 900px;}

.contact{ max-width:1100px; margin: 110px auto 40px !important; min-height: 900px;}

.contact-intro { text-align:center; margin:0 0 62px; }

.contact p { color:#000;  }

.contact img { display:inline-block; margin:50px 0 20px; }

.contact h1 { 
	text-transform:uppercase; 
	font-size:24px; 
	font-weight:700; 
	color:#6c727c; 
	border-bottom:3px solid #ab1212; 
	padding:0 0 30px; 
	margin:0 auto 50px;   
	display: table; 
	}
	
.address { margin-top:24px; }

.about p:first-child {  margin: -50px 0 0; }

.entry-content { padding: 0 40px; }


/*  Sections  ////////////////////////////////////////////////////////////////////////////////////////////*/

.section {
	clear: both;
	padding: 0px;
	margin: 0px;
}

/* Fonts /////////////////////////////////////////////////////////////////////////////////////////////////*/ 

.entry-title { font-size:30px; margin:0 0 30px; }

p { margin:0 0 20px; }

/* Links  /////////////////////////////////////////////////////////////////////////////////////////////////*/ 

a { 
color : #cc1122;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
text-decoration: none;
}


/* Images /////////////////////////////////////////////////////////////////////////////////////////////// */

img {
border : 0;
max-width: 100%;
height: auto;
width: auto\9; /* ie8 */
}

img.floatleft { float: left; margin: 0 10px 0 0; }
img.floatright { float: right; margin: 0 0 0 10px; }


/* Wordpress Editor Images /////////////////////////////////////////////////////////////////////////////// */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
	margin: 0 0 3%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}

img.attachment-thumbnail {   
	opacity: 1; 	
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
	
img.attachment-thumbnail:hover { 
		-webkit-box-shadow:  0 0 19px -5px #000;
	 box-shadow:  0 0 19px -5px #000;
/*	opacity: 0.7;  
    filter: alpha(opacity=70);*/ 
} 

.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 0 23px;
    text-align: left;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 0px solid #fff;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}

/* Forms  ///////////////////////////////////////////////////////////////////////////////////////////////////*/

.frm_forms.frm_style_formidable-style.with_frm_style {  max-width: 90% !important; }


.frm_style_formidable-style.with_frm_style label.frm_primary_label, .frm_style_formidable-style.with_frm_style.frm_login_form label {
    color: #000 !important;
    display: block;
    font-family: Open Sans, Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 300 !important;
    margin: 0;
    padding: 0 0 3px;
    text-align: left;
    width: auto;
}

.frm_style_formidable-style.with_frm_style input[type="text"], .frm_style_formidable-style.with_frm_style input[type="password"], .frm_style_formidable-style.with_frm_style input[type="email"], .frm_style_formidable-style.with_frm_style input[type="number"], .frm_style_formidable-style.with_frm_style input[type="url"], .frm_style_formidable-style.with_frm_style input[type="tel"], .frm_style_formidable-style.with_frm_style input[type="phone"], .frm_style_formidable-style.with_frm_style input[type="search"], .frm_style_formidable-style.with_frm_style select, .frm_style_formidable-style.with_frm_style textarea, .frm_form_fields_style, .frm_style_formidable-style.with_frm_style .frm_scroll_box .frm_opt_container, .frm_form_fields_active_style, .frm_form_fields_error_style, .frm_style_formidable-style.with_frm_style .chosen-container-multi .chosen-choices, .frm_style_formidable-style.with_frm_style .chosen-container-single .chosen-single {
    background-color: #dfdede !important;
    border-radius: 0 !important;
    border-width: 0 !important;
    box-shadow: none !important;
	font-size: 16px !important;
	font-family: Open Sans, Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	}

.frm_style_formidable-style.with_frm_style input[type="text"], .frm_style_formidable-style.with_frm_style input[type="password"], .frm_style_formidable-style.with_frm_style input[type="email"], .frm_style_formidable-style.with_frm_style input[type="number"], .frm_style_formidable-style.with_frm_style input[type="url"], .frm_style_formidable-style.with_frm_style input[type="tel"], .frm_style_formidable-style.with_frm_style input[type="file"], .frm_style_formidable-style.with_frm_style input[type="search"], .frm_style_formidable-style.with_frm_style select {  height: 44px !important; }


.frm_style_formidable-style.with_frm_style input[type="submit"], .frm_style_formidable-style.with_frm_style .frm_submit input[type="button"], .frm_form_submit_style, .frm_style_formidable-style.with_frm_style.frm_login_form input[type="submit"] {
    background: #ccc !important;
    border-width: 0 !important;
	border-radius: 0 !important;
    box-shadow: none !important;
    color: #868688 !important;
    cursor: pointer;
    font-family: Open Sans, Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif !important ;
	text-transform:uppercase;
    font-size: 20px !important;
    font-weight: 700 !important;
    height: auto;
    line-height: normal;
    margin-bottom: 10px;
    margin-top: 10px;
    padding: 13px 38px !important;
    text-align: center;
    text-shadow: none;
    vertical-align: middle;
    width: auto;
}

/* Footer ////////////////////////////////////////////////////////////////////////////////////*/

#footer { 
	margin: 20px auto;
    overflow: hidden;
    position: relative;
    width: 100%;
	padding: 20px 0;
	}
#footer p { text-align:center; color: #323c4b; font-size:14px; }

#footer a { color: #323c4b; text-decoration: underline; }


/* =Print Style
-------------------------------------------------------------- */

@media print {
	
}


@media only screen and (max-width: 600px) {
	
#access a {font-size: 14px; padding: 19px 12px; }
}

@media only screen and (max-width: 480px) {
#logo img {display:none; }
.little-logo { margin:0; position: absolute;}
#access a {font-size: 13px; padding: 19px 8px; }
.gallery-columns-4 .gallery-item { width: 100%;}

.gallery .gallery-caption {
    color: #888;
    font-size: 12px;
    margin: 0;
    text-align: center;
}
.maincontent {
    font-size: 16px; }
	
.entry-content {
    padding: 0 25px;
}

.maincontent2,.maincontent {
    font-size: 16px; }
	
	.about {
    margin: 55px auto 40px !important; }
	
.services-section h2 { text-align:center; }

#logo-text {
    font-size: 19px !important;
    margin-right: -146px;
    position: absolute;
    right: 50%;
    top: 35px;
}


#logo-text h1 {
    font-size: 18px; }

}