/*
 Theme Name:   Mardini
 Theme URI:    http://example.com/twenty-thirteen-child/
 Description:  A child theme of twentyfourteen made for 'Mardini' by Web Bird Digital
 Author:       Peter Wells - Web Bird Digital
 Author URI:   http://webbird.com.au
 Template:     twentythirteen
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  md
*/


/*@import url("../twentythirteen/style.css");*/


/* =Theme customization starts here
-------------------------------------------------------------- */
/* START TAG ELEMENTS */
body, html{
	overflow-x:hidden;
	overflow-y:visible;
	color:#000;
	
	font-family:"Lato", "Source Sans Pro", Helvetica, sans-serif;
}
html{
	height: 100%;
	font-size:105%;
	margin-top:0 !important;
	overflow-y: scroll;
}
body {
	min-height: 100%;
	position:relative;
}
h1,h2,h3,h4,h5,h6{
	
	font-family:"Lato", "Source Sans Pro", Helvetica, sans-serif;
}
h1{
	font-size:16px;
	font-size:0.95em;
	font-size:0.95rem;
	font-weight: 400;
	text-transform: uppercase;
	color:#000;
}
h2{
	font-size:1.2em;
	font-size:0.95rem;
	color:#333;
}
h3{
	font-size: 1em;
	font-size: 1rem;
	font-weight: 400;
	text-transform: uppercase;
}
h5{
	margin:1em 0;
}
hr{
	clear:both;
	background:none;
	border-top:1px solid #CB0133;
	margin:1em 0;
}
a, .entry-content a, .comment-content a, a:visited{
	color:#333;
	text-decoration:none !important;
}
a:focus {
	outline: none;
}
.entry-content a, .comment-content a{
	color:#444;
	text-decoration:underline;
}
.entry-title a {
	color: #000;
}
a:hover, .entry-content a:hover, .comment-content a:hover{
	color:#F09A30;
}
::selection{
	background:#333;
	color:white;
}
.comment-respond {
	background-color: #000;
	color: white;
}
input[type="search"]{
	width:100%;
}

ul{
	list-style: none;
    padding:0;
    margin:0;
}

ul li{
	padding-left: 1em;
    text-indent: -.5em;
}

ul li:before{
	content: "•";
	color:#F09A30;
	position:relative;
	left:-10px;
	font-weight:bold;
}
/* END TAG ELEMENTS */
/* START GENERIC CLASSES */
	/*clearfix*/
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}
.cf:after {
    clear: both;
}
.continue{
	color:#CC0136;
	font-size:1.3em;
	font-weight:bold;
	position:relative;
}
.continue:after{
	content:'\2192';
	font-family:sans-serif;
	color:black;
	font-size:1.8em;
	line-height:0.65em;
	position:absolute;
	right:-1.8em;
	top:0;
}
.title{
	margin:1em 0;
}
.centred{
	max-width:1150px !important;
	padding-left:20px !important;
	padding-right:20px !important;
	margin:0 auto;
}
.white_back{
	background-color:white;
}
.no-pad{
	padding:0 !important;
}
.padded{
	padding-left:20px;
	padding-right:20px;
}
.no-marg{
	margin:0 !important;
}
.one-third, .third{
	display:block;
	float:left;
	width:33.333%;
}
.two-thirds{
	display:block;
	float:left;
	width:66.666%;
}
.one-quarter, .quarter{
	display:block;
	float:left;
	width:25%;
}
.one-half, .half{
	display:block;
	float:left;
	width:50%;
}
.three-quarters{
	display:block;
	float:left;
	width:75%;
}
.aligncentre{
	text-align:center;
}
.styled_scroll::-webkit-scrollbar{
	width: 10px;  /* for vertical scrollbars */
	height: 10px; /* for horizontal scrollbars */
}

.styled_scroll::-webkit-scrollbar-track{
	background: transparent;
}

.styled_scroll::-webkit-scrollbar-thumb{
	background: rgba(0, 0, 0, 0.5);
	border-radius:5px;
}
.no-break{
	white-space:nowrap;
}
button, input[type="submit"], input[type="button"], input[type="reset"]{
	border: none;
	border-radius: 0;
	background: #CB0133;
}
button:hover, button:focus, input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:focus, input[type="button"]:focus, input[type="reset"]:focus{
	border: none;
	border-radius: 0;
	background: #C95A65;
}
button, input, textarea{
	border:1px solid #444;
}
input:focus, textarea:focus{
	border:1px solid #CB0133;
}
.upper{
	text-transform:uppercase;
}
.fade_scroll{
	opacity:0;
	
	
	/*-webkit-transition-property: opacity;
	transition-property: opacity;
	-webkit-transition-timing-function: ease;
	transition-timing-function: ease;
	-webkit-transition-duration: 0.1s;
	transition-duration: 0.1s;*/
}
.fade_scroll.show_fade{
	opacity:1;
}
/* END GENERIC CLASSES */
/* START CONTAINERS */
.site{
	border:none;
	padding-left:0;
	padding-right:0;
	max-width:none;
	background:none;
}
.entry-header, .entry-content, .entry-summary, .entry-meta, .footer{
	max-width:none;
	-moz-hyphens:none;
	-webkit-hyphens:none;
	hyphens:none;
	word-wrap: normal;
	
}
.home .entry-content, .page-template-banner_page-php .entry-title{
	margin-top:0;
}
.home .entry-content{
	text-align: justify;
    text-justify: inter-word;
}
.page-template-banner_page-php .hentry{
	padding-top:0;
}
.banner_image{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-size:cover;
	background-repeat:no-repeat;
	
	z-index:-1;
	opacity:0;
	
	-webkit-transition-property: opacity;
	transition-property: opacity;
}
.banner_image.auto_slide{
	width: 100%;
	overflow: visible;
	white-space:nowrap;
}
.banner_image .slide{
	width:100%;
	height:100%;
	display: inline-block;
	position:absolute;
	left:0;
	background-size:cover;
	background-repeat:no-repeat;
	
	opacity:0;
	
	-webkit-transition-property: opacity;
	transition-property: opacity;
	-webkit-transition-timing-function: ease-in-out;
	transition-timing-function: ease-in-out;
	-webkit-transition-duration: 1.2s;
	transition-duration: 1.2s;
}
.banner_image .opaque{
	opacity:1;
}
.banner_image_space{
	width:100%;
	height:100%;
	min-height:200px;
	background:transparent;
}
#banner_image_mobile{
	display:none;
	position:relative;
	width:100%;
	height:0;
	padding-bottom:56%;
}
.entry-thumbnail .feature_image{
	margin:0;
}
.horizontal_img{
	width:100%;
	height:auto;
}
.vertical_img{
	width:auto;
	max-height:1000px;
}
.splashscreen{
	width:100%;
	height:100%;
	position:fixed;
	background-color:#000;
	background-image:url('inc/img/Mardini-Logo-inv.png');
	background-position:center;
	background-repeat:no-repeat;
	opacity:1;
	z-index:999;
	
	-webkit-transition:opacity ease 1s;
	transition:opacity ease 1s;
}
.splashscreen.hidden{
	opacity:0;
}
/* END CONTAINERS */

/* START HEADER */
#site-header{
	padding:0;
	position:relative;
	max-width:1600px;
	text-align:center;
	padding-top:0.5em;
	padding-right:49px !important;
}

.single-portfolio .entry-title{
	font-size:1.2em;
	font-weight:bold;
}

.single-portfolio #site-header, .header_hidden #header_image,
.single-remedial-gallery #site-header{
	display:none;
}

.single-portfolio #masthead, .header_hidden #masthead{
	padding-top:0em;
}

.single-portfolio .menu-main-menu-container{
	margin-bottom:-2em;
}

.single-portfolio #menu-main-menu{
	position: relative;
	top: 0.6em;
}


#header_image{
	width: auto;
	height: 89px;
	z-index: 2;
	opacity: 1;
	margin:0 auto;
}

#header_top{
	width:100%;
	padding:0.2em 0 2.5em 0;
	text-align:right;
	font-size:0.9em;
	font-weight:bold;
}

.fixed_header{
	position:fixed;
	box-shadow: 0 -2px 10px 0px #000000;
}

.header_padded{
	margin-bottom:2.5em;
}

.site-header{
	padding:0;
	background-image:none !important;
	top: 0;
	left: 0;
	width: 100%;
	background: white !important;
	z-index: 99;
}

.spacer{
	padding: 0 1em;
}

.soc_icon{
	display:inline-block;
	height:1.2em;
	width:2em;
	line-height:1.3em;
	
	background-size:100%;
	background-position:center;
	background-size:contain;
	background-repeat:no-repeat;
}

#header_top .search-box{
	display:inline-block;
}

.site-header .search-field:focus{
	border:1px solid #777;
}

.site-header .search-form{
	position:static;
}

.home .entry-header{
	margin-bottom:0 !important;
}

	/*menu*/
ul.nav-menu, div.nav-menu > ul{
	text-align:center;
}
.nav-menu li{
	padding-left: 0;
	text-indent: 0;
	margin: 0;
}
.nav-menu li:before{
	display:none;
}
.nav-menu li a{
	font-weight:bold;
	color:#000;
	text-transform:uppercase;
	font-weight: 400;
	font-size: 0.95em;
	padding:15px 5px;
	position:relative;
}
.nav-menu li a:after{
	content: '';
	width: 100%;
	display: inline-block;
	position: absolute;
	bottom: 5px;
	left: 0;
	border-bottom: 1px solid #000;
	opacity:0;
	
	-webkit-transition-property: opacity;
	transition-property: opacity;
	-webkit-transition-timing-function: ease;
	transition-timing-function: ease;
	-webkit-transition-duration: 1s;
	transition-duration: 1s;
}
.nav-menu li:hover > a, .nav-menu li a:hover, .nav-menu li:focus > a, .nav-menu li a:focus{
	background-color: transparent;
	color: #000;
	outline:none;
}
.nav-menu li:hover > a:after, .nav-menu li a:hover:after, .nav-menu li:focus > a:after, .nav-menu li a:focus:after{
	opacity:0.4;
}

.nav-menu .current_page_item > a, .nav-menu .current_page_ancestor > a, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a, .nav-menu .current-page-ancestor > a{
	color:#000;
	font-style:normal;
}
.nav-menu li a:focus:after{
	opacity:1;
}
.nav-menu .current_page_item > a:after, .nav-menu .current_page_ancestor > a:after, .nav-menu .current-menu-item > a:after, .nav-menu .current-menu-ancestor > a:after{
	opacity:1;
}
.main-navigation{
	max-width:none;
}

/* sub menus */
.sub-menu, .sub-menu a{
	text-align:left;
	/*left:-12px;*/
	color:#000 !important;
	border:none !important;
}
.sub-menu{
	background:#eee !important;
	padding:0 !important;
	width:158px !important;
	left: -4px !important;
}
.sub-menu a{
	font-size:0.85em !important;
	padding:10px !important;
	background:transparent !important;
	width:100% !important;
}
.sub-menu a:after{
	margin-left:0 !important;
	margin-right:0 !important;
	width:100% !important;
	display:none !important;
}
.sub-menu a:hover, .sub-menu a:active, .sub-menu .current-menu-item a, .sub-menu .current_page_item a {
	background-color:#D8D8D8 !important;
}

/* static links */
/*.single-service .menu-item-24>a:after, .single-portfolio .menu-item-22>a:after{
	opacity:1;
}*/
.single-service .active-menu-item>a:after, .single-portfolio .menu-item-22>a:after{
	opacity:1;
}

/* single service page */
article.service .entry-title{
	width:100%;
	font-weight: 600;
	font-size: 1.2em;
}
article.service .entry-content{
	width:100%;
}
article.service .single-service-centre{
	width:100%;
	position:relative;
}
article.service #service_text.overflow{
	overflow:hidden;
}
.single-service .entry-thumbnail {
	position:relative;
}
.single-service .service-image-overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: url(images/black_background.png);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    -webkit-transition: all 350ms linear;
    -moz-transition: all 350ms linear;
    -ms-transition: all 350ms linear;
    -o-transition: all 350ms linear;
    transition: all 350ms linear;
}
.single-service .entry-thumbnail:hover .service-image-overlay,
.single-service .entry-thumbnail:active .service-image-overlay {
    opacity: 1;
}
.service-image-overlay .overlay-text {
	position:relative;
	padding:28% 15px 15px 15px;
	text-align:center;
	font-size:130%;
}


	/* submenu on media&videos page */
#media_links{
	margin-bottom:1em;
	max-width: 295px;
	margin: 0 auto;
	margin-top:0;
}
a.subtitle{
	color:#000 !important;
}
.subtitle{
	color: #000;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 0.95em;
	padding: 0 5px 15px 5px;
	position: relative;
	display: inline-block;
	clear:both;
}
.subtitle:after{
	content: '';
	width: 100%;
	display: inline-block;
	position: absolute;
	bottom: 5px;
	left: 0;
	border-bottom: 1px solid #000;
	opacity: 0;
	-webkit-transition-property: opacity;
	transition-property: opacity;
	-webkit-transition-timing-function: ease;
	transition-timing-function: ease;
	-webkit-transition-duration: 1s;
	transition-duration: 1s;
}
.subtitle.active_page:after{
	opacity:1;
}

	/* justified header - add: 'container_class' => 'menu-main-menu-container centred' to wp_nav_menu() */
.remedial-menu-container,
.menu-main-menu-container{
	text-align:justify;
	margin-bottom: -1em;
}
ul.nav-menu, div.nav-menu > ul, .nav-menu li{
	display:inline;
	padding:0;
}
.nav-menu li a{
	display:inline-block;
}
.nav-menu li:first-of-type a{
	padding-left:0;
}
.nav-menu li:last-of-type a{
	padding-right:0;
}

.nav-menu li:first-of-type > a:after{
	margin-left:-5px;
	width:-webkit-calc( 100% + 5px );
	width:calc( 100% + 5px );
}

.nav-menu li:last-of-type > a:after{
	width:-webkit-calc( 100% + 5px );
	width:calc( 100% + 5px );
}


.remedial-menu-container:after ,
.menu-main-menu-container:after { /* forces the line to break */
	content: '';
	display: inline-block;
	position: relative;
	width: 100%;
	height: 0;
}

/* END HEADER */

/* START BODY */
	/*home slider*/
body .metaslider .caption-wrap{
	background-color:transparent;
	opacity:1;
}
.metaslider .caption{
	text-align:center;
	font-size:1.5em;
	line-height:2.5em;
}
.metaslider{
	padding-bottom:4em;
}
.home .hentry{
	padding-top:0;
}

	/* titles */
.entry-title{
	text-transform: uppercase;
	margin-bottom: 1em;
	color:#000;
}

#primary{
	margin-top:0.5em;
}

	/* home content */
#secondary_content, #secondary_sidebar{
	float:right;
}
#secondary_content h2{
	margin-top:0;
}
#pull_up{
	text-align:center;
	padding:0 1.5em;
	cursor:pointer;
	width:100%;
	max-width:6em;
	margin:0 auto;
	background-color:rgba(255,255,255,0);
	color:#000;
	
	-webkit-transition-property: background-color;
	transition-property: background-color;
	-webkit-transition-timing-function: ease;
	transition-timing-function: ease;
	-webkit-transition-duration: 1s;
	transition-duration: 1s;
}
#pull_up .dashicons{
	font-size:3em;
	display:inline-block;
	width:1em;
	height:1em;
	color:rgba(0,0,0,0.8);
	
	position:relative;
	top:0;
	
	-webkit-transition-property: top;
	transition-property: top;
	-webkit-transition-timing-function: ease;
	transition-timing-function: ease;
	-webkit-transition-duration: 0.5s;
	transition-duration: 0.5s;
}
#pull_up .dashicons:before{
	content:"\f432";
	font-family:'Genericons';
	display:block;
}

#pull_up:hover{
	background-color:rgba(255,255,255,0.5);
}

#pull_up:hover .dashicons{
	top:-5px;
}
.home .hentry.white_back{
	position:fixed;
	bottom:-280px;
	background-color:rgba(255,255,255,0);
	
	-webkit-transition: background-color ease 1s, bottom ease 1s;
	transition: background-color ease 1s, bottom ease 1s
}
.home .hentry.white_back.displayed{
	background-color:rgba(255,255,255,0.70);
	bottom:0 !important;
}
.home .hentry.white_back.displayed #pull_up .dashicons:before{
	content:"\f431";
}

	/* category listing */
.category .entry-header, .archive .entry-header{
	text-align:center;
}
.category_image{
	width:100%;
	height:0;
	padding-bottom:25%; /* make height relative to width */
	margin-bottom:1em;
	
	background-size:100%;
	background-size:cover;
	background-position:center;
	background-repeat:no-repeat;
}
.category .entry-meta, .archive .entry-meta{
	padding: 0.5em 0 1.5em 0 !important;
}
.hentry{
	padding:10px 0;
}
.portfolio.hentry{
	padding-top:0;
}
article.archive, article.category-news{
	border-bottom:1px solid black;
	padding:0 !important;
	margin-bottom:1em;
	max-height:200px;
	position:relative;
	
	overflow:hidden;
	
	-webkit-transition:max-height ease 1s;
	transition:max-height ease 1s;
}
article.archive{
	max-height:none;
}
article.service .more_overflow{
	border-bottom: 1px solid black;
}
article.service .more_overflow,
article.category-news .more_overflow{
	display:block;
	width:100%;
	position:absolute;
	left:0;
	bottom:0;
	height:50px;
	text-align:center;
	cursor:pointer;
	
	opacity:1;
	
	-webkit-box-shadow: inset -1px -157px 49px -128px rgba(255,255,255,1);
	-moz-box-shadow: inset -1px -157px 49px -128px rgba(255,255,255,1);
	box-shadow: inset -1px -157px 49px -128px rgba(255,255,255,1);
	
	-webkit-transition:opacity ease 1s;
	transition:opacity ease 1s;
}
article.service .more_overflow:after,
article.archive .more_overflow:after, article.category-news .more_overflow:after{
	content:"\f431";
	font-family: 'Genericons';
	position: relative;
	top: 1em;
}
article.archive.article_displayed .more_overflow, article.category-news.article_displayed .more_overflow{
	opacity:0;
}
article.archive:last-of-type, article.category-news:last-of-type{
	
	border-bottom:none;
}

.single article.archive, .single article.category-news{
	border-bottom:none;
	max-height: none;
}

.single article.archive:after, .single article.category-news:after{
	display:none;
}
.testimonials_container .entry-title, .category-news .entry-title{
	/*font-size:1.05em;*/
	margin-top:1em;
	margin-bottom:0.4em;
	font-weight:600;
	font-size: 1.2em;
}
.category-news article:first-of-type .entry-title{
	margin-top:0.5em;
}
.testimonials_container article:first-of-type .entry-title{
	margin-top:0;
}

.single-post article .entry-title{
	margin-top:0.5em;
}

.entry-content ul{
	padding-left:1em;
	margin-bottom:1em;
}
		/* services */
#service_text, .content-right{
	float:right;
}
.content-right, .border-top>.entry-content{
	padding-top:1em;
}
.border-top{
	border-top:1px solid #000;
	padding-top:0em;
}

.border-top .entry-title, .awards_container .description .entry-title, .media_box .content .title{
	width:33.33%;
	text-align:left;
	float:left;
}
.media_box .content .title{
	width:100%;
	margin-bottom:0.5em;
}
.border-top>p, .border-top>.entry-content, .awards_container .description p, .media_box .content p{
	width:66.66%;
	text-align:left;
	float:right;
}
.awards_container .description p{
	text-align:right;
}

.border-top .entry-title{
	margin:1em 0;
}
.awards_container .description, .media_box .content{
	width:50%;
	float:right;
	border-top:1px solid #000;
	padding-top:1.5em;
	margin-top:1em;
}
		/* sidebar */
.sidebar #primary{
	width:75%;
	float:left;
}
.site-main .sidebar-inner {
	margin: 0 auto;
	width: 25%;
	max-width: none;
	position: static;
	top: 0;
	float:left;
}
.site-main .widget-area {
	margin-right: 0;
	width:100%;
}
.sidebar .entry-header, .sidebar .entry-content, .sidebar .entry-summary, .sidebar .entry-meta {
	max-width: none;
	padding:0;
	margin: 0;
}

.site-main .sidebar-inner .widget a:before{
	content:'';
	display:inline-block;
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 8px solid #CC0136;
	padding-right:0.9em;
	
	position:relative;
	top:3px;
}

.site-main .sidebar-inner .widget-title{
	border-bottom:1px solid #444;
	text-transform:uppercase;
	font-size:1.2em;
}
.sidebar .post-navigation .nav-links{
	padding:0;
}
.paging-navigation{
	background:transparent;
}
.post-navigation .nav-links, .paging-navigation .nav-links{
	/*margin:0 20px;*/
	max-width:1120px;
}
.paging-navigation .meta-nav, .paging-navigation a:hover .meta-nav{
	background:transparent;
	border-radius:0;
	padding:0;
	color:inherit;
	font-style: normal;
	font-size: 0.8em;
	font-weight: 300;
	line-height: 1.8em;
	width:auto;
}
.paging-navigation .nav-previous .meta-nav{
	padding:0;
	width:auto;
}
.navigation .nav-links a{
	padding:0 0.5em;
	color:#444;
	font-weight:normal;
	font-style:normal;
	font-size:18px;
	font-weight: 300;
	line-height:1.8em;
	display:inline-block;
}
.navigation .nav-links a:hover{
	color:#000;
}
.navigation .nav-links a[rel="prev"]{
	padding-right:4em;
}
.navigation .nav-links a[rel="next"]{
	padding-left:4em;
}
.no-comments{
	display:none;
}

	/* shortcodes */
.float_box{
	width:50%;
	float:left;
	min-height:200px;
	display:block;
	padding:1em;
}
.one_third{
	width:33.333%;
}
.two_third{
	width:66.666%;
}
.one_half{
	width:50%;
}
.one_half:nth-of-type( 2n - 1 ){
	padding-left:0;
}
.one_half:nth-of-type( 2n ){
	padding-right:0;
}
.hide_br>br{
	display:none;
}
.services_container{
	padding-top:0.5em;
}
.portfolios_container{
	padding-top:0.5em;
}
.media_box, .award_box {
	width:100%;
	clear:both;
	margin-bottom: 1em;
	overflow:visible;
}
.media_box .portfolio-image{
	background-size:contain;
}
.entry-content .one_half:nth-child(1), .entry-content .one_half:nth-child(2){
	padding-top:0;
}
.page-id-15 .one_half:nth-child(1){
	width:52.5%%
}
.page-id-15 .one_half:nth-child(2){
	width:47.5%
}

.award_port_link{
	text-align:right;
	display:block;
	position: absolute;
	bottom: 0;
	bottom: -0.3em;
	right: 0;
}

.one_half h3{
	margin-top:0;
}
	/*forms*/
form.visual-form-builder{
	margin:0;
}
.visual-form-builder fieldset, .visual-form-builder .vfb-legend{
	border:none;
	margin:0;
}
.visual-form-builder ul, .entry-content .visual-form-builder ul, .comment-content .visual-form-builder ul, .mu_register .visual-form-builder ul, .visual-form-builder ol, .entry-content .visual-form-builder ol, .comment-content .visual-form-builder ol, .mu_register .visual-form-builder ol{
	margin:0;
}
.visual-form-builder li, .entry-content .visual-form-builder li, .comment-content .visual-form-builder li, .mu_register .visual-form-builder li{
	padding:0;
}
.visual-form-builder label, label.vfb-desc, .vfb-item{
	text-indent:0;
}
.visual-form-builder fieldset, input.vfb-text, input[type="text"].vfb-text, input[type="tel"].vfb-text, input[type="email"].vfb-text, input[type="url"].vfb-text, textarea.vfb-textarea{
	border-radius:0;
	background:transparent;
	box-shadow:none;
}
.visual-form-builder label .vfb-required-asterisk{
	color:#F09A30;
}
.vfb-textarea {
	display:block;
}
.visual-form-builder .vfb-legend h3{
	font-size:inherit;
}
.visual-form-builder .vfb-legend{
	padding:0;
}
/* new VFB Pro */
.vfb-col-1, .vfb-col-2, .vfb-col-3, .vfb-col-4, .vfb-col-5, .vfb-col-6, .vfb-col-7, .vfb-col-8, .vfb-col-9, .vfb-col-10, .vfb-col-11, .vfb-col-12{
	padding:0;
}
.vfbp-form label{
	font-size:13px;
}
.vfbp-form .vfb-form-control{
	padding: 3px 0;
	line-height:normal;
	height:auto;
	border-radius: 0;
    background: transparent;
    box-shadow: none;
	border: 1px solid #ddd;
}
.vfbp-form .vfb-form-group{
	margin-bottom:10px;
}
.vfbp-form .vfb-form-group h3 {
	margin-bottom:0;
}
	/* padded pages */
.limited_width .centred{
	max-width:916px !important;
}

.even_more_limited_width .centred{
	max-width:701px !important;
}

	/*contact page*/
.contact_l{
	display:inline-block;
	width:20px;
}
/* END BODY */
/* START FOOTER */
#footer_main_title{
	padding-top:0.5em;
}
.site-footer{
	width:100%;
	background-color:transparent;
	text-align:left;
}
.site-info{
	background-color: #fff;
	max-width:none;
	width:100%;
}
#footer_bar{
	width:100%;
	border-top:1px solid #000;
	padding-top:1em;
}
/* END FOOTER */
/* START WIDGETS & SIDEBARS */
.widget{
	background-color:transparent;
}
.widget .widget-title{
	font-style:normal;
}
#secondary .sidebar-inner{
	max-width:none;
}

#secondary .widget-area{
	float:none;
}
#secondary .widget-area .widget {
	padding: 20px 20px 0 0;
}
#secondary .widget-area .widget:first-of-type{
	padding-top:0;
}

#foot_top{
	white-space:nowrap;
	overflow:hidden;
	overflow-x:auto;
	text-align:center;
	position:relative;
}

#foot_top .widget{
	display:inline-block;
	vertical-align:top;
	float:none;
	white-space:normal;
	width: 10%;
}

#foot_top .widget.widget_text{
	width:22%;
	left: 0;
	text-align: left;
	position: absolute;
}

.img_link{
	width:100%;
	height:0;
	padding-bottom:100%;
	
	background-size:100%;
	background-size:cover;
	background-repeat:no-repeat;
}

.site-footer .widget-title, .site-footer .widget-title a, .site-footer .wp-caption-text{
	color:#444;
}
.site-info .widget-title, .site-info .widget-title a, .site-info .wp-caption-text{
	color:#fff;
	font-size:1em;
	padding:0 0 1em 0;
}
.site-info>div.centred{
	text-align:right;
}
.site-info>div.centred .widget{
	text-align:left;
}
.site-footer .widget{
	font-size:1.1em;
	color:#000;
	padding:20px;
	margin:0;
	width:20%;
	min-width:120px;
	min-height:150px;
	float: none;
	display: inline-block;
	vertical-align: top;
}
.widget a{
	color:#CC0136;
}
.entry-meta a{
	color:#444;
}
.entry-title a:hover, .widget a:hover, .entry-meta a:hover, .navigation a:hover{
	color:#555;
}
.widget ul a, .widget_tag_cloud .tagcloud>a{
	color:#444;
}
.widget ul a:hover, .widget_tag_cloud .tagcloud>a:hover{
	color:#444;
}
.widget li{
	padding-left: 0;
	text-indent: 0;
}
.widget li:before{
	display:none;
}
	/* tag cloud */
.widget_tag_cloud .tagcloud>a{
	font-size:1em !important;
	display:block;
	line-height:2em;
}
/* END WIDGETS & SIDEBARS */
/* START SUBSCRIBE POPUP */
#mask{
	display:none;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.3);
	z-index:4;
}
#subscribe_popup{
	position:relative;
	width:100%;
	max-width:1000px;
	margin:200px auto;
	background:#fff;
	padding:2em;
}
#close_button{
	position:absolute;
	top:0;
	right:0;
	cursor:pointer;
	padding:0.4em;
}
#close_button:hover{
	color:#C95A65;
}
#close_button:before{
	content:'\f405';
	display: inline-block;
	width: 26px;
	height: 26px;
	-webkit-font-smoothing: antialiased;
	font-size: 26px;
	line-height: 1;
	font-family: 'Genericons';
	text-decoration: inherit;
	font-weight: normal;
	font-style: normal;
	vertical-align: top;
}
ul.vfb-section li{
	margin-left:1em;
}
ul.vfb-section li:before{
	content:'';
}
.vfb-item{
	padding:0.2em 0;
}
.vfb-desc{
	display:inline-block;
	min-width:100px;
	height:32px;
	line-height:32px;
}
.vfb-item-instructions .vfb-desc{
	line-height:1em;
}
.vfb-text{
	border:1px solid #888;
}
.vfb-name-normal{
	display: inline-block;
	position: relative;
}
.vfb-name-normal>label{
	position:absolute;
	left:0.5em;
	top: 0;
	color:#888;
	line-height:32px;
	cursor:text;
}
.widget fieldset{
	border:none;
	padding:0;
	margin:0;
}
.widget .vfb-name-normal{
	width:100%;
	padding-bottom:0.5em;
}
.widget .vfb-text{
	width:100%;
}

.site-footer .widget a{
	color:black;
}
	/* subscribe button */
#head_subscribe{
	position: absolute;
	right: 0;
	top: 0;
	line-height: 45px;
}
.subscribe_button{
	color:#333;
	font-size:1em;
	font-weight:bold;
	position:relative;
	margin-right:2.5em;
	cursor:pointer;
}
.subscribe_button:after{
	content:'\2192';
	font-family:sans-serif;
	color:black;
	font-size:1.8em;
	line-height:1.4em;
	position:absolute;
	right:-1.4em;
	top:0;
}
.subscribe_button:hover, .subscribe_button:hover:after{
	color:#333;
}
/* END SUBSCRIBE POPUP */
/* ADMIN STUFF */
#wpadminbar{
	opacity:0.1;
}
#wpadminbar:hover{
	opacity:0.9;
}
/* START RESPONSIVE BREAKPOINTS */
@media screen and (min-width:1150px){ /*full desktop only*/
	/* single service page */
	article.service .thumbed .entry-header{
		width:70%;
		width:-moz-calc( 665px + 1px );
		width:-webkit-calc( 665px + 1px );
		width:calc( 665px + 1px );
		display:block;
		float:left;
	}
	article.service .thumbed #service_text{
		width:30%;
		width:-moz-calc( 100% - 666px );
		width:-webkit-calc( 100% - 666px );
		width:calc( 100% - 666px );
		padding-left:20px;
		display:block;
		float:left;
		
		position:absolute;
		right:0;
		bottom:0;
	}
}
@media screen and (min-width:643px){
	.home article.page{
		/*position:fixed;
		bottom:0;*/
		width:100%;
	}
	.home .site-header{
		background-color:transparent !important;
	}
	.home .site-header.fixed_header{
		background-color:white !important;
	}
	.home .white_back{
		background-color:rgba(255,255,255,0.50);
	}
}
@media screen and (max-width:1150px){
	#site-navigation .menu-main-container{
		padding-left:200px;
	}
}
@media screen and (max-width: 1069px){
	.site-main .widget-area {
		margin-right: 0;
		width:100%;
	}
	#site-navigation .menu-main-container{
		padding-left:0;
	}
	#header_top{
		padding-bottom:105px;
	}
	/*#header_image, #header_image_gif{
		margin-top:3.2em;
	}*/
}
@media screen and (max-width:999px){
	.sidebar .site-info, .search.sidebar .page-content, .blog.sidebar .page-content, .attachment .entry-header, .sidebar .comments-title{
		max-width:none;
	}
	
	#foot_top .widget.widget_text{
		position: relative;
		min-width:200px;
	}
}
@media screen and (max-width:900px){
	.one-quarter.breaks, .quarter.breaks{
		float:none;
		width:100%;
	}
	.one-half.breaks, .half.breaks{
		float:none;
		width:100%;
	}
	.three-quarters.breaks{
		float:none;
		width:100%;
	}
	.one-third.breaks, .third.breaks{
		float:none;
		width:100%;
	}
	.two-thirds.breaks{
		float:none;
		width:100%;
	}
	
	.home_float_box{
		background-image:none !important;
		padding:0 1em 0 1em;
	}
	
		/* centre menus */
	ul.nav-menu, div.nav-menu > ul, .nav-menu li{
		display:inline-block;
	}
	ul.nav-menu{
		width:100%;
	}
	
		/* sidebars */
	.sidebar #primary{
		width:100%;
	}
	.site-main .sidebar-inner{
		width:100%;
	}
	.site-main .sidebar-inner .widget{
		width:228px;
		float:left;
	}
	#head_subscribe{
		top:42px;
	}
}
@media screen and (max-width:766px){
		/* header */
	#header_top{
		margin-top:35%;
		padding-bottom:0;
		text-align:center;
	}
	#header_top .spacer{
		display:none;
	}
	#header_top .no-break{
		display:block;
		line-height:2em;
	}
	#header_top .soc_icon{
		line-height:3em;
		height:2em;
		margin: 1em 0 0 0;
		width:33.33%;
	}
	
	.splashscreen{
		background-size:contain;
	}
	
		/* portfolio slider */
	.image_slider .slide .slide_content{
		position:static;
	}
	.slide_content .slide_overlay{
		padding:0;
		background-color:transparent;
		color:#444;
		text-align:right;
	}
	
		/* fix weird padding from parent theme */
	.padded, #content .entry-header, #content .entry-content, #content .entry-summary, #content footer.entry-meta, #content .featured-gallery, .search.sidebar .page-content, .blog.sidebar .page-content, .sidebar .post-navigation .nav-links, .paging-navigation .nav-links, #content .author-info, .comments-area .comments-title, .comments-area .comment-list, .comments-area .comment-navigation, .comment-respond, .sidebar .site-info, .sidebar .paging-navigation .nav-links{
		padding-left:0;
		padding-right:0;
	}
	
		/* footer widgets */
	.site-footer .widget{
		width:50%;
	}
	
		/* popup form */
	.vfb-desc{
		min-width:none;
		width:100%;
	}
	.vfb-text, .vfb-name-normal{
		width:100%;
	}
	.vfb-name-normal{
		padding-bottom:0.5em;
	}
	menu, ol, ul{
		padding-left:20px;
	}
	
		/* halves & thirds */
	.one-half, .half, .one_third, .third, .two_thirds, .two_third {
		width:100%;
	}
}
@media screen and (max-height:550px){ /*larger landscape devices*/
	/* disable pull-up on home page */
	.home .hentry.white_back{
		position:static;
		background-color:rgba(255,255,255,0.75);
		padding-top:1em;
	}
	.banner_image_space, #background_main_slider, #pull_up{
		display:none;
	}
	#banner_image_mobile{
		display:block;
	}
}
@media screen and (max-width:643px){
	.single-portfolio #header_image, .header_hidden #header_image{
		display:inline-block;
	}
	.menu-toggle{
		font-family: "Lato", "Source Sans Pro", Helvetica, sans-serif;
		font-weight:500;
	}
	#site-navigation{
		text-align:center;
	}
	.menu-toggle{
		color: transparent;
		font-size: 0;
		width: auto;
		text-align: center;
		padding: 5px 8px !important;
		text-align: center;
		/* border: 1px solid #999; */
		background: #000;
		margin: 20px;
		margin-top: 22px;
		box-sizing: border-box;
	}
	.menu-toggle:after{
		content:"\f431";
		-webkit-font-smoothing: antialiased;
		font-family: 'Genericons';
		color:white;
		font-size:21px;
		padding:0;
	}
	.menu-toggle:hover, .menu-toggle:active{
		background:#222;
	}
	.menu-main-menu-container:after{
		display:none;
	}
	.toggled-on .menu-toggle:after{
		content:"\f432";
	}
	.nav-menu li:first-of-type a, .nav-menu li:last-of-type a{
		padding-left:5px;
		padding-right:5px;
	}
	.nav-menu li:first-of-type.current_page_item > a:after, .nav-menu li:first-of-type.current_page_ancestor > a:after, .nav-menu li:first-of-type.current-menu-item > a:after, .nav-menu li:first-of-type.current-menu-ancestor > a:after{
		margin-left: 0;
		width: 100%;
	}
	ul.nav-menu{
		display:none;
	}
	.toggled-on .nav-menu > li a:hover, .toggled-on .nav-menu > ul a:hover, .toggled-on .nav-menu > li a:focus, .toggled-on .nav-menu > ul a:focus{
		background-color:transparent;
		color:#222;
	}
	.toggled-on li, .toggled-on .children {
		display: block !important;
	}
	
	#site-header{
		padding-right:20px !important
	}
	
	#header_image, #header_image_gif{
		margin-top:1em;
		width:100%;
		height:auto;
	}
	/* disable pull-up on home page */
	.home .hentry.white_back{
		position:static;
		background-color:rgba(255,255,255,0.75);
		padding-top:1em;
	}
	.banner_image_space, #background_main_slider, #pull_up{
		display:none;
	}
	#banner_image_mobile{
		display:block;
	}

	.fixed_header{
		position:static;
	}
	
	.header_padded{
		margin-bottom:0;
	}
	.border-top .entry-title, .awards_container .description .entry-title, .media_box .content .title, .border-top>p, .border-top>.entry-content, .awards_container .description p, .media_box .content p{
		width:100%;
	}
	.entry-title, .format-chat .entry-title, .format-image .entry-title, .format-gallery .entry-title, .format-video .entry-title{
		
	}
	.float_box{
		width:100% !important;
		padding-left:0;
		padding-right:0;
	}
}
@media screen and (max-width:600px){
	#wpadminbar {
		position: fixed;
	}
}
@media screen and (max-width:515px){
	#head_subscribe{
		top:0;
	}
		/* footer widgets */
	.site-footer .widget, .site-main .sidebar-inner .widget{
		max-width:100% !important;
		margin:0 auto !important;
		float:none;
	}
}
/* END RESPONSIVE BREAKPOINTS */

/*	Extra CSS	*/

#footer_bar .alignleft{
	/*display:none;*/
}

.visual-form-builder fieldset{
	background-color:transparent !important;
}

button, input[type="submit"], input[type="button"], input[type="reset"] {
	background: none repeat scroll 0 0 #333333 !important;
}

button:hover, input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover{
	background: none repeat scroll 0 0 #666666 !important;
}

.vfb-legend h3{
	color:#333333 !important;
}

/* social icons */
.home .social_buttons{
	width:100%;
	text-align:right;
}
.social_buttons a.social_button{
	font-size:1.5em;
	padding:0.5em;
}
.social_buttons a.social_button:last-child{
	padding-right:0;
}
