/*
Theme Name: House Levellers
Theme URI: http://byjon.nz
Description: Wordpress bootstrap 3 framework theme.
Version: 2.0
Author: Jon Holtslag
Author URI: http://byjon.nz
*/

a, button, input[type="submit"]{
	transition:all 0.3s ease;
	color:#040739;
}
body{
	font-family: 'SofiaProLight', sans-serif;
	color:#222C64;
	font-size: 18px;
}
a:hover,
a:focus{
	text-decoration: none;
}
::selection {
  background: #040739; /* WebKit/Blink Browsers */
  color:white;
}
::-moz-selection {
  background: #040739; /* Gecko Browsers */
  color:white;
}
#main_wrapper,#header_wrapper,#content_wrapper,#footer_wrapper,#after_footer_wrapper{
	padding-left:0px;
	padding-right:0px;
}
img{
	max-width: 100%;
	height:auto;
}
iframe{
	max-width: 100%;
}
h1,h2,h3,h4,h5,h6{
	margin-top: 0px;
}
@font-face {
    font-family: SofiaProLight;
    src: url(fonts/SofiaProLight.otf);
}
h4{
	font-size: 20px;
}
/*
******************************************************************************************************************
=Header
                                                                          
88                                            88                          
88                                            88                          
88                                            88                          
88,dPPYba,    ,adPPYba,  ,adPPYYba,   ,adPPYb,88   ,adPPYba,  8b,dPPYba,  
88P'    "8a  a8P_____88  ""     `Y8  a8"    `Y88  a8P_____88  88P'   "Y8  
88       88  8PP"""""""  ,adPPPPP88  8b       88  8PP"""""""  88          
88       88  "8b,   ,aa  88,    ,88  "8a,   ,d88  "8b,   ,aa  88          
88       88   `"Ybbd8"'  `"8bbdP"Y8   `"8bbdP"Y8   `"Ybbd8"'  88          

******************************************************************************************************************
*/
#header_wrapper{

}
#header_inner{

}
#logo{
	float: left;
	padding:40px 0;
}
#logo img{
	width: 600px;
}
.header_text{
	
}
#header_text_1{
	float: left;
	font-weight: bold;
}
#header_text_1 span{
	display: inline-block;
	margin:0 15px;
}
#header_text_2{
	float: right;
	font-family: 'Verdana', sans-serif;
	font-weight: bold;
	font-size:20px;
	position: relative;
	padding-left: 40px;
}
#header_text_2 span{
	color:#FFF100;
}
#header_text_2 a{
	color:white;
}
#after_header_wrapper{
	background: #222C64;
	color: white;
	padding:10px 0;
	font-size:18px;
}
.phone_icon{
	display: inline-block;
	width: 22px;
	height: 30px;
	background-image: url(img/phone.png);
	background-repeat: no-repeat;
	background-size: 100%;
	position: absolute;
	left:0px;
}
/*
****************************************************************
=NAV
****************************************************************
*/
/*Non-mobile and mobile nav buttons*/
header nav ul li a{
	color:#040739;
	text-transform: lowercase;
	font-size: 16px;
}
/*Header desktop nav container*/
header nav.hidden-xs{
	float:right;
}
header nav.hidden-xs ul{
	margin:0px;
	padding-left:0px;
}
header nav.hidden-xs ul li{
	display:inline-block;
	list-style: none;
	position:relative;
}
header nav.hidden-xs ul li a{
	text-decoration: none;
	display:inline-block;
	padding:10px 22px;
	margin-right:-4px;
	text-align: center;
	border-bottom:  3px solid white;
	padding-top: 80px;
	font-weight: bold;
}
header nav.hidden-xs ul li a:hover,
header nav.hidden-xs ul li:first-child a,
header nav.hidden-xs ul li.current_page_item > a{
	text-decoration: none;
	border-color: #040739;
	background: #E6E7E8;
	color:#040739;
}

/*
****************************************************************
=DROPDOWN MENU
****************************************************************
*/
/*Parent a:after - indication it has children*/
header nav ul li.menu-item-has-children > a:after{
	content:"\e259";
	font-family:'Glyphicons Halflings'; 
	font-weight: normal;
	margin-left: 5px;
    vertical-align: middle;
}
header nav.hidden-xs ul li ul{
	visibility:hidden;
	position:absolute;
	padding:0;
	top:27px;
	left:0;
	display:block;
	opacity:0;
	transition:all 0.3s ease;
	z-index: 50;
}

/*Parent 'a' of dropdown menu when dropdown is being hovered*/
header nav.hidden-xs ul li:hover > a{

}
header nav.hidden-xs ul li:hover ul,
header nav.hidden-xs ul li.hover > ul{
	opacity:1;
	visibility: visible;
}
header nav.hidden-xs ul li ul li{
	display: block;
}
/*Dropdown nav buttons*/
header nav.hidden-xs ul li ul a{

}
/*Dropdown nav button hover*/
header nav.hidden-xs ul li ul a:hover{

}

/*
****************************************************************
=MOBILE NAV
****************************************************************
*/
/*XS nav control button*/
header .nav_menu_button{
	display:block;
	background:#222C64;
	color:white;
	padding:10px;
	text-align:center;
	margin-top: 10px;
	width:40px;
	margin:10px auto 0 auto;
}
header .nav_menu_button.collapsed{
	border-color: white;
}
header  nav.visible-xs #main_nav_container{
	width: 100%;
	margin-bottom: 15px
}
header  nav.visible-xs{
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    background: white;
    z-index: 100;
    padding-bottom: 10px;
    border-bottom: 1px solid #e7e7e7;
}
header  nav.visible-xs ul{
	padding:0px;
	margin:0px;
}
header  nav.visible-xs li{
	display:block;
	padding:0 20px;
}
header  nav.visible-xs a{
	display:block;
}
/*XS nav buttons*/
header  nav.visible-xs ul li a{
	display:block;
	width:100%;
	padding:13px 20px 10px 20px;
	border-bottom: 1px solid #e7e7e7;
}
/*Mobile nav submenu*/
header nav.visible-xs ul li ul{
	visibility: visible;
	opacity:1;
	position: relative;
	top:0;
	padding-left:20px;
}
header nav.visible-xs ul li ul a{
	width:100%;
}
header nav .nav_menu_button.collapsed .glyphicon-menu-up{
	display:none;
}
header nav .nav_menu_button.collapsed .glyphicon-menu-down{
	display:inline;
}
header nav .nav_menu_button .glyphicon-menu-down{
	display:none;
}
#logo.visible-xs{
	float: none;
	text-align: center;
	padding:15px 20px;
}
#logo.visible-xs a{
	display: block;
}
#logo.visible-xs img{
	width:100%;
}
/*
******************************************************************************************************************
=content
                                       ,d                              ,d     
                                       88                              88     
 ,adPPYba,   ,adPPYba,   8b,dPPYba,  MM88MMM  ,adPPYba,  8b,dPPYba,  MM88MMM  
a8"     ""  a8"     "8a  88P'   `"8a   88    a8P_____88  88P'   `"8a   88     
8b          8b       d8  88       88   88    8PP"""""""  88       88   88     
"8a,   ,aa  "8a,   ,a8"  88       88   88,   "8b,   ,aa  88       88   88,    
 `"Ybbd8"'   `"YbbdP"'   88       88   "Y888  `"Ybbd8"'  88       88   "Y888                                                                             

******************************************************************************************************************
*/
#content_wrapper{

}
#content_inner{
}


input[type='text'],
input[type='email'],
input[type='tel'],
select,
textarea{
	padding:5px 10px;
	width:100%;
	color: black;
}
input[type='submit']{
	border:0;
	padding:5px 10px;
	background:#efefef;
	background: #333;
	color: white;
}
input[type='submit']:hover{
	background:#666;
}
blockquote{
	font-size: 14px;
	border:0;
	padding:25px;
	position: relative;
	background:#ececec;
	margin-bottom: 45px;
}
blockquote:after{
	content:"";
	left:30px;
	position: absolute;
	bottom:-30px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 30px 30px 0 0px;
	border-color: #ececec transparent transparent transparent;
}
blockquote cite{
	display: block;
}
blockquote cite:before{
	content:"- ";
}
.page_not_found{
	display: block;
	text-align: center;
	margin:20px 0;
}
.heading{
	text-align: center;
}
.heading h2{
	font-size: 60px;
	position: relative;
	display: inline-block;
	text-transform: uppercase;
}
.heading h2:before,
.heading h2:after
{
	display: block;
	height: 3px;
	width: 120px;
	left:-145px;
	content: "";
	position: absolute;
	top:57%;
	background: #222C64;
}
.heading h2:after{
	left:initial;
	right:-145px;
}
#services .heading h2,
#contact .heading h2
{
	color:white;
}
#services .heading h2:before,
#services .heading h2:after,
#contact .heading h2:before,
#contact .heading h2:after{
	background: white;
}
#content_inner .about_left .vc_column-inner{
	text-align: right;
	border-right: 1px dotted #222C64; 
	padding-right: 35px;
}
#content_inner .about_right .vc_column-inner{
	padding-left: 35px;
}
#about_info{
	margin-bottom:35px;
}
.about_left h4{
	font-weight: bold;
	font-size: 22px;
}
.about_left p:first-of-type,
.about_left h4{
	margin-bottom: 25px;
}
.about_left p:last-of-type{
	margin-bottom: 0px;
}
.about_right .lbp{
	width: 80px;
	margin-right: 20px;
}
.about_right .site_safe{
	width:140px;
}
.parallax{
	background-attachment: fixed;
	background-size:cover;
	background-position: center center;
}
.triangle{
	position: relative;
	padding-bottom: 90px;
}
.triangle.top{
	padding-bottom: 0px;
	padding-top: 80px;
}
#content_inner .triangle:before{
	position: absolute;
	content: "";
	display: block;
	background-image: url(img/triangle.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	bottom:0px;
	left:0px;
	right:0px;
	width: 100%;
	height: 80px;
}
#content_inner .triangle.top:before{
	background-image: url(img/triangle-top.png);
	bottom: initial;;
	top:0px;
	background-position: center top;
}
#team{
	height: 500px;
	background-position: center;
}
#services{
	padding-bottom: 110px;
}
#services .info .vc_column-inner{
	background: rgba(255,255,255,0.4);
	color:white;
	padding:20px 15px 45px 15px;
	text-align: center;
}
#services .info .vc_column-inner h3{
	text-transform: uppercase;
	font-size: 38px;
}
.popup_gallery_control{
	font-size: 15px;
	padding:0px 30px;
	text-align: left;

}
#services .popup_gallery_control{
	position: absolute;
	bottom: 20px;
}
.popup_gallery_control img{
	float: left;
	margin-right: 15px;
}
.popup_gallery_control a{
	color:white;
}
#gallery .popup_gallery_control a{
	color:#222C64;
	text-transform: uppercase;
	text-align: center;
	font-weight: bold;
}
#gallery{
	padding-bottom: 50px;
	background-position: bottom center;
	position: relative;
	overflow: visible;
	background-repeat: no-repeat;
}
#gallery .popup_gallery_control{
	padding:0;
}
#gallery:before{
	content: "";
	display: block;
	left:0px;
	right:0px;
	opacity: 0.5;
	background-position: center bottom;
	height: 39px;
	background-repeat: no-repeat;
	background-image: url(img/gallery_top.png);
	top:-21px;
	position: absolute;
}
#gallery .popup_gallery_control .camera_icon{
	display: none;
}
#gallery .popup_gallery_control .display_image{
	margin-bottom: 10px;
}
.hidden{
	display: none;
}
#contact{
	color:white;
	padding-bottom: 30px;
}
#contact a{
	color: white;
}
#contact h3{
	font-size: 40px;
	font-weight: bold;
	position: relative;
}
#contact h3:before{
	content: "";
	height: 50px;
	width: 50px;
	background-size: contain;
	display: inline-block;
	position: absolute;
	transform:translate(-55px,0);
	background-repeat: no-repeat;
	background-image: url(img/phone_icon_white.png)
}

#fixed_button{
  position: fixed;
  padding:10px;
  top:50%;
  transform:translateY(-50%);
  right: 0;
  background:#FFF100;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  color:#231F20;
  text-transform: uppercase;
  font-size: 12px;
  width:120px;
  text-align: center;
  z-index: 10;
  box-shadow: -3px 0px 5px rgba(0,0,0,0.2);

  
}

#fixed_button img{
    margin-top: 5px;
  }
/*
******************************************************************************************************************
=footer
                                                                 
   ad88                                                          
  d8"                              ,d                            
  88                               88                            
MM88MMM  ,adPPYba,    ,adPPYba,  MM88MMM  ,adPPYba,  8b,dPPYba,  
  88    a8"     "8a  a8"     "8a   88    a8P_____88  88P'   "Y8  
  88    8b       d8  8b       d8   88    8PP"""""""  88          
  88    "8a,   ,a8"  "8a,   ,a8"   88,   "8b,   ,aa  88          
  88     `"YbbdP"'    `"YbbdP"'    "Y888  `"Ybbd8"'  88          

******************************************************************************************************************
*/
footer{

}
footer a{

}
#footer_wrapper{

}
#footer_wrapper h3{

}
#footer_inner{
	
}
#footer_wrapper ul{
	padding:0 0 0 15px;
}
#after_footer_wrapper{

}
#after_footer_inner{

}
.footer_text{
	display: none;
}
#footer_text_1{

}
#footer_text_2{
	
}
#to_top{
	display: block;
	position: fixed;
	bottom:25px;
	left:25px;
	background:#d7d7d7;
	border-radius: 100px;
	z-index: 10;
	width: 50px;
	height: 50px;
	border:1px solid #666;
	opacity: 0;
}
#to_top .glyphicon{
	left:50%;
	top:50%;
	color:#666;
	transform: translate(-50%,-50%);
	position: absolute;
}
#to_top:hover{
	opacity: 1;
}
/*
******************************************************************************************************************
=misc                                           
                    88                         
                    ""                         
                                               
88,dPYba,,adPYba,   88  ,adPPYba,   ,adPPYba,  
88P'   "88"    "8a  88  I8[    ""  a8"     ""  
88      88      88  88   `"Y8ba,   8b          
88      88      88  88  aa    ]8I  "8a,   ,aa  
88      88      88  88  `"YbbdP"'   `"Ybbd8"'  

******************************************************************************************************************
*/
img.centered, .aligncenter, div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.left,.alignleft{
	float:left;
	margin-right:10px;
	margin-bottom:10px;
}
.right,.alignright{
	float:right;
	margin-left:10px;
	margin-bottom:10px;
}
.clear{
	clear:both;
}

/*Wordpress captions*/
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #d4d4d4;
	padding-top: 4px;
	margin: 10px;
}
.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}
.wp-caption p.wp-caption-text {
	font-size: 0.85em;
	line-height: 1.214em;
	padding: 0 4px 5px;
	margin: 0;
}
.button{
	display:inline-block;
	background:#eee;
	color:#222;
	padding:8px 13px;
}
.button:hover{
	color:white;
	background:#222;
}

/*Pagination*/
.pagination a{
	display:inline-block;
	padding:2px 10px;
	margin-left:4px;
	text-align: center;
	background:#222;
	color:white;
}
.pagination a:hover{
	background:#444;
}



/*Phones*/
@media (max-width: 767px) {

	#header_text_1,
	#footer_text_1{
		margin-bottom: 10px;
	}
	#header_text_1,
	#header_text_2,
	#footer_text_1,
	#footer_text_2{
		float: none;
		text-align: center;
	}
	#header_text_1 span{
		margin:0 5px;
	}
	#header_text_1{
		font-size: 13px;
	}
	#header_text_2 .phone_icon{
		display: none;
	}
	#header_text_2{
		padding:0;
	}
	.footer_widget{
		margin-bottom: 15px;
	}
	#team{
		height: 300px;
	}
	.triangle:before{
		background-size: auto 50%;
	}
	.heading h2{
		font-size: 35px;
	}
	.heading h2:before, .heading h2:after{
		width: 40px;
		left:-55px;
		top:40%;
	}
	.heading h2:after{
		left:initial;
		right: -55px;
	}
	#content_inner .about_left .vc_column-inner{
		text-align: left;
		padding-right:15px;
	}
	#content_inner .about_right .vc_column-inner{
		padding-left:15px;
	}
	#content_inner #services{
		background:url(img/services_bg_phone.jpg)!important;
		padding-left:15px!important;
		padding-right:15px!important;
	}
	.popup_gallery_control{
		padding:0;
	}
	#services .info .vc_column-inner h3{
		font-size: 30px;
	}
	#contact h3{
		font-size: 25px;
	}
	#contact h3:before{
		content: none;
	}
	.popup_gallery_control{
		margin-bottom: 15px;
	}
	.popup_gallery_control img.display_image{
		float: none;
	}
	#content_inner{
		overflow: hidden;
	}
	#gallery{
		background:white!important;
	}
	#gallery:before{
		top:-39px;
	}
	body{
		margin-top: 58px;
	}
	#fixed_button{
		 top:unset;
	    bottom:30px;
	    transform:unset;
	}

}
/*Tablet*/
@media (min-width: 768px) and (max-width: 991px){
	#logo img{
		width: 250px;
	}
	header nav.hidden-xs ul li a{
		padding: 55px 13px 0 13px;
	}
	#after_header_wrapper #header_text_1{
		font-size: 14px;
	}
	#after_header_wrapper #header_text_2{
		font-size: 15px;
		padding-left: 25px;
	}

	.phone_icon{
		width:15px;
	}
	#services .info .vc_column-inner h3{
		font-size: 24px;
	}
	.popup_gallery_control {
		font-size: 13px;
		padding:0px;
	}
	.popup_gallery_control img.camera_icon{
		width: 25px;
		margin-top: 15px;
		margin-bottom: 10px;
	}
	#services .info .vc_column-inner{
		padding-bottom: 60px;
	}
	#team,#contact,#services{
		background-attachment: initial;
	}
	#gallery:before{
		top:-39px;
	}


}
/*medium devices - desktops*/
@media (min-width: 992px) and (max-width: 1199px) {
	#logo img{
		width: 400px;
	}
	header nav.hidden-xs ul li a{
		padding-top: 55px
	}
	#services .info .vc_column-inner h3{
		font-size: 30px;
	}
	#services .info .vc_column-inner{
		padding-bottom: 60px;
	}
	#team,#contact{
		background-attachment: initial;
	}
	#gallery:before{
		top:-39px;
	}


}
/*Large devices*/
@media (min-width: 1200px) {

}


