/*
Theme Name: Advantage Petroleum
Description: June 2016
Version: 0.1
Author: Third Space
*/

textarea:hover, 
input:hover, 
textarea:active, 
input:active, 
textarea:focus, 
input:focus,
button:focus,
button:active,
button:hover
{
    outline:0px !important;
    -webkit-appearance:none;
}

* {outline:0;}

img {text-decoration: none; border: 0px}

body, h1, h2, h3, p {
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased !important; /*Fixes safari 'font-weight too light' problem*/
}

#feature {
	width:100%;
	height: 300px;
	overflow: hidden;
	/*margin-bottom: 20px;*/
	background-position: center center;
	background-color: #8e8e8e;
	font-size: 40pt;
	font-family: 'Roboto';
	font-weight:400;
	color:white;
}
	#feature span {
		text-align: left;
		display: table-cell;
		vertical-align: middle;
		height: inherit;
		padding: 0 40px;
		font-weight: 600;
		background-color: #A60203;
		background-color: rgba(0,0,0,0.3);
	}
.feature_home {
	height:400px !important;
}
.rounded {
	max-width: 250px;
	height: auto;
	display:block;
	margin:0 auto;
	-webkit-border-radius: 200px;
	-moz-border-radius: 200px;
	border-radius: 200px;
}

#page, #page2 {
	float: left;
	display: block;
	clear: both;
	position: relative;
	width: 100%;
	
	background-color: #e0e0e0;
	
	z-index: 980;
	display: block;
	padding-top: 0px;
	padding-bottom: 0px;
	-webkit-transform: translate3d(0,0,0); /*fixes safari z-index bug*/
	transform: translate3d(0,0,0); /*fixes chrome z-index bug*/
}

#wrap, .wrap {
	width: 920px;
	padding: 0 0px;
	margin: 0 auto;
	clear: both;
	overflow: visible;
}
.wpb_row {
	margin-left:0px !important;
	margin-right:0px !important;
	padding-top:0px !important;
	padding-bottom:0px !important;
	margin: 0 !important;
}
.wpb_column {
	padding-left:0px !important;
	padding-right:0px !important;
	padding-top:0px !important;
	padding-bottom:0px !important;
}
.wpb_text_column {
	text-align: justify !important;
	padding-top: 20px;
}


/*---------- NAVIGATION ----------*/

#logo_c {
	float:left;
	width: 150px;
	height: 40px;
	position: relative;
}
#logo_c:after {
	content:"";
	display:block;
	width:160px;
	margin-left:-6px;
	height:80px;
	background: rgba(0,0,0,0.5);
	-moz-border-radius: 100px / 50px;
	-webkit-border-radius: 100px / 50px;
	border-radius: 100px / 40px;
	
	position: absolute;
	clip: rect(55px, 160px, 80px, 0px);
}

#logo {
	position: absolute;
	z-index: 99;
	margin-top:-5px;
	width:150px;
	height:90px;
	float: left;
	display:inline;
	background: url('img/logo_white.png') no-repeat;
	background-size: contain;
	background-position: center center;
	opacity:1;
	
	transition: opacity .20s ease-in-out;
	-moz-transition: opacity .20s ease-in-out;
	-webkit-transition: opacity .20s ease-in-out;
}
#logo:hover {
	opacity:0.7;
}



/*@media 
(-webkit-min-device-pixel-ratio: 1.5),
(min-resolution: 144dpi){ 
	#logo{
		background: url('img/logo@x2.png') no-repeat;
		background-size: contain;
	}
}*/

/*#logo:hover {
	margin-left:4px;
	opacity:0.5;
}*/

.nav_top {
	width: 100%;
	height: 35px;
	position: fixed;
	z-index: 999;
	background-color:rgba(0,0,0,0.7);
	color:white;
	box-sizing: border-box;
	font-size:16px;
	line-height:2.1;
	
	transition: margin .20s ease-in-out;
	-moz-transition: margin .20s ease-in-out;
	-webkit-transition: margin .20s ease-in-out;
}

.nav_top i {
	margin-right: 2px;
	vertical-align: -1px;
}

.nav_top a {
	text-decoration: none;
	color:inherit;
}

.nav_offset {
	float:left;
	width:100%;
	position:relative;
	height: 0px; /*top + nav*/
}

#nav_c.compact {height:55px; margin-top:0;}
#nav_c.compact .nav_links_c {background-color: rgba(0,0,0,0.8);}
#nav_c.compact #logo_c {
	background-color: transparent;
}
#nav_c.compact #logo{
	width: 110px;
	height: 55px;
}
#nav_c.compact #logo_c {
	margin-top: 4px;
}
#nav_c.compact #logo_c:after {
	display:none;
}
.nav_top.compact {
	margin-top:-35px; /*top bar height*/
}





#nav_c {
	margin-top:35px; /*top bar height*/
	height: 90px;
	position: fixed;
	display: block;
	width: 100%;
	z-index: 999;

	transition: margin .20s ease-in-out;
	-moz-transition: margin .20s ease-in-out;
	-webkit-transition: margin .20s ease-in-out;
	
	/*background-color: rgba(0,0,0,0.5);*/
}

#nav_c .wrap {
	overflow:auto;
	height: inherit;
	display:table;
}

.nav_links_c {
	background-color:rgba(0,0,0,0.5);
	width:100%;
	height: 55px;
	
	transition: all .20s ease-in-out;
	-moz-transition: all .20s ease-in-out;
	-webkit-transition: all .20s ease-in-out;
}

#nav {
	float: right;
	height: inherit;
	display: table;
	position: relative;
	box-sizing: border-box;
}

#nav ul { /* container class first unordered list */
	font-family: 'Montserrat', sans-serif;
	font-weight:400;
	font-size: 18px;
	text-transform: uppercase;
	list-style:none;
	position:relative;
	float:left;
	margin: 0px 0 0 0;
	padding:0;
	display: table;
	height: inherit;
}
#nav ul a {
	display:block;
	color: inherit;
	text-decoration:none;
	line-height:auto;
	padding:0;
}
	/*FIRST LEVEL - MAIN*/
	#nav ul li {
		position:relative;
		padding:0;
		display: table-cell;
		vertical-align: middle;
	}
	#nav ul li a{
		position: relative;
		cursor: pointer;
		color:white;
		padding: 10px 20px;
	}
	#nav ul li:last-child a { padding-right:0px; }
	#nav ul ul li:last-child a { padding-right:10px; }
	#nav ul li a:hover {
		/*background-color: #c6c6c6;*/
		/*color: #333333;*/
	}
	/*#nav ul li a:hover > i {
		color: #FFFFFF;
	}*/

	/*special*/
		.current_page_item, .current-cat, .current-menu-item {
			color: #FFFFFF; /*or try darker yellow*/
		}
		#nav .menu i {
			vertical-align: 2px;
			line-height: 25px;
			border-right: solid 2px white;
			padding-right:5px;
			margin-right:-15px;
		}
		#nav .menu i:hover {
			border-right: solid 2px #F2D217;
		}
	/**/

	/*SECOND LEVEL*/
	#nav ul ul {
		width: auto;
		position:absolute;
		display:none; /*NONE*/
		padding:8px 0;
		background-color: black;
		left:50%;
		transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
	}

	/*#nav ul ul:hover {background-color: rgba(0,0,0,0.8);}
	#nav ul ul:hover:after {border-bottom-color: rgba(0,0,0,0.8);}*/

	#nav ul ul:after {
		position: absolute;
		bottom: 100%;
		left:50%;
		transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		border: solid transparent;
		content: "";
		height: 0;
		width: 0;
		pointer-events: none;
		border-bottom-color: black;
		border-width: 10px;
		margin-left: 0px;
	}

	#nav ul ul li {
		display: block;
		float: none;
		width:auto;
		margin: 0;
		white-space: nowrap;
		width: 100%;
		text-align:center;
	}

	#nav ul ul li a {
		padding: 10px 10px;
		width: 100%;
		box-sizing: border-box;
		color:white;
		
		border-radius: 0;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
	}

	/*#nav ul ul li:hover {
		background-color: transparent;
		background-color: red;
	}*/
	#nav ul ul li a:hover {
		background-color: #333333;
		color: white;
	}

	#nav ul ul li:first-child {/*border-top: solid 5px #000000;*/}
	/*#nav ul ul li:last-child {border-bottom:0;}*/

	/*THIRD LEVEL*/
	#nav ul ul ul {
		top:0;
		display:none;
		left:100%;
		margin: 0px 0 0 0;
	}

	#nav ul li:hover > ul {
		display:block;
	}
	/*#nav ul ul li:hover > ul {
		display:block;
	}*/

	#nav ul li a, #nav ul ul, #nav i, #footer li a {
		/*transition: color, background-color .20s ease-in-out;
		-moz-transition: color, background-color .20s ease-in-out;
		-webkit-transition: color, background-color .20s ease-in-out;	*/
	}
	#nav .menu i, #nav ul ul:after {
		transition: all .20s ease-in-out;
		-moz-transition: all .20s ease-in-out;
		-webkit-transition: all .20s ease-in-out;		
	}

/*--------MOBILE NAV---------*/
	/*burger*/
	#pull {
		display: none;
		width:30px;
		height:22.5px;
		top:0;
		right:0;
		margin: 17px 18px 0 0;
		position:absolute;
		
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		-o-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
		/*cursor: none;*/
	}
	#pull span {
		display: block;
		position: absolute;
		width: 100%;
		height: 4.5px;
		background-color: white;
		
		opacity: 1;
		right: 0;
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
		-webkit-transition: .25s ease-in-out;
		-moz-transition: .25s ease-in-out;
		-o-transition: .25s ease-in-out;
		transition: .25s ease-in-out;
	}
	#pull span:nth-child(1) {
		top: 0px;
		-webkit-transform-origin: right center;
		-moz-transform-origin: right center;
		-o-transform-origin: right center;
		transform-origin: right center;		
	}
	#pull span:nth-child(2) {
		top: 9px;
		-webkit-transform-origin: right center;
		-moz-transform-origin: right center;
		-o-transform-origin: right center;
		transform-origin: right center;
	}
	#pull span:nth-child(3) {
		top: 18px;
		-webkit-transform-origin: right center;
		-moz-transform-origin: right center;
		-o-transform-origin: right center;
		transform-origin: right center;
	}

	#pull.open span:nth-child(1) {
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		-o-transform: rotate(-45deg);
		transform: rotate(-45deg);
		top: -1.5px;
		right: 4px;
	}

	#pull.open span:nth-child(2) {
		width: 0%;
		opacity: 0;
	}

	#pull.open span:nth-child(3) {
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		-o-transform: rotate(45deg);
		transform: rotate(45deg);
		top: 19.5px;
		right: 4px;
	}
	/*---end burger---*/

	#fs_menu .current_page_item, #fs_menu .current-cat, #fs_menu .current-menu-item {
		color: inherit;
	}

	#fs_menu {
		display: none;
		width: 100%;
		height: 100%;
		background-color: rgba(150,150,150,0.8);
		position: fixed;
		z-index: 999;
		color: white;
		overflow-y: scroll;
		padding-top: 110px;
		top:0;
		left:0;
	}
	#fs_menu_i {
		padding: 20px;
	}
	#fs_menu_i i {
		float: right;
		color: white;
		font-size: 25px;
	}
	#menu2, #menu2 ul {
		font-family: 'Roboto', sans-serif;
		font-weight:700;
		font-size: 28px;
		list-style:none;
		position:relative;
		float:left;
		margin:0;
		padding:0;
		width: 100%;
	}
	#menu2 li {
		margin-bottom:8px;
	}
	#menu2 ul{ display: none; padding-bottom: 20px; }
	#menu2 a {
		text-decoration: none;
		color: inherit;
	}
	#menu2 ul li {
		margin-left: 10px;
	}
	#menu2 ul ul li {
		margin-left: 10px;	
	}

/*---------- FOOTER ----------*/
.wrap {
	position: relative;
}
#footer {
	float: left;
	display: block;
	width: 100%;
	height:auto;
	box-sizing: border-box;
	
	position: relative;
	font-family: 'Helvetica';
	font-size: 11.5pt;
	font-weight:normal;
	line-height: 14pt;
	
	background-color: black;
	color: #dedede;
	overflow: hidden;
	-webkit-transform: translate3d(0,0,0); /*fixes safari z-index bug*/
}

#footer .events {
	display:table;
	padding:0;
	margin:0;
}

#footer .events li {
	display: table-cell;
	vertical-align: middle;
	float:none;
	width: 33.333333%;
}

#footer .events li img {
	max-width: 100%;
	display: block;
}

#footer_inner {
	float:left;
	padding: 15px 0 25px 0;
	box-sizing: border-box;
	position: relative;
	z-index: 10;
	width:100%;
}
#footer_bottom {
	padding-bottom: 0px;
	background-color: transparent;
	height: 30px;
	width: 100%;
	float: left;
	font-family: 'Roboto';
	font-weight: 400;
	font-size: 10pt;
	padding-top: 12px;
	color:#515151;
	
	transition: all 0.25s ease-out;
	-moz-transition: all 0.25s ease-out;
	-webkit-transition: all 0.25s ease-out;	
}
#footer_bottom:hover {
	color:white;
}
#footer_bottom a {
	color:inherit;
}
#footer_bottom .left {
	float: left;
}
#footer_bottom .right {
	float: right;
}

#footer .current_page_item, #footer .current-cat, #footer .current-menu-item {
	color: #FFFFFF;
}

#footer strong {
	font-family: 'Roboto'
	font-weight: 500;
	color: inherit;
}

#footer .menu ul {
	list-style-type: none;
	margin:0;
	padding:0;
}

#footer strong {
	display:block;
	padding-bottom:4px;
}

#footer .menu ul li {
	display:block;
	float:left;
	clear:both;
	margin:0;
	padding:0;
	margin-bottom:4px;
}

#footer .menu ul li a {
	color: inherit;
	text-decoration: none;
}

/*#footer li:before {
	font-family: FontAwesome;
	content:  "\f054";
	margin-right: 4.5px;
	font-size: 12px;
	vertical-align: 1px;
}*/

/*---------- CASCADE ----------*/

/*.cascade:nth-of-type(1) {
	padding-top: 20px;
}*/

.cascade {
	margin-bottom: 15px;
}

.cascade p {
	padding-bottom: 0px !important;
	margin:0px !important;
}

.cascade .question {
	cursor: pointer;
	font-weight: 700;
}
.cascade .answer {
	display:none;
	padding-top:5px;
	margin-left: 20px;
}
.cascade .answer i {
	margin-left: 5px;
}
.cascade i {
	color: #5b5b5b;
	vertical-align: 1px;
}

/*--- Map ---*/
.map {
	position: relative;
	/*padding-bottom: 56.25%;*/ /* 16:9 */
	padding-bottom: 70vh;
	/*padding-top: 25px;*/
	/*background-color: white;*/
	/*border: solid 10px white;*/
	
	/*-webkit-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);*/
}
.map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.map_overlay {
	background:transparent;
	top:0; left:0;
	width:100%;
	height:100%;
  position:absolute;
	z-index:99;
}

/* ############### Quote ################ */

.quote_left:before,
.quote_right:before {
	font-family: FontAwesome;
	content: "\f10d";
	/*color: black;*/
}
.quote_right:before {content: "\f10e";}
.quote {
	padding-bottom:15px;
	margin-top:5px;
	line-height: 24pt;
}
.quote .text, .quote .text p {
	/*color: black !important;*/
	font-size: 18pt;
}
.quote .text {
	padding: 0 50px;
	position: relative;
	margin-top: -28px;
}
.quote_left, .quote_right {
	display:inline-block;
	clear:both;
	margin:0;
	padding:0;
	font-size: 30px;
}
.quote_right {
	margin-top: -20px;
	float: right;
}

/*---------- ICONS ----------*/

.icon-block, .icon-block * {
	transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
}

.container {
	float: left;
}

.icon-block {
	width: 100%;
	height: auto;
	margin-bottom: 0px;
	background-color: #E5E5E5;
	color: white;
	display: table;
	table-layout: fixed;
	float: left;
}
.container a {
	color: inherit !important;
	font-weight: 400 !important;
	display: table !important;
	float: left;
}
.container a:hover {text-decoration:none !important;}
.icon-block .icon {
	width: 100px;
  height: 100%;
  display:table-cell;
  vertical-align: middle;
	text-align: left;
	box-sizing: border-box;
	text-align: center;
}
.icon.symbol {
	padding: 10px;
}
.icon i {
	background-color: #F2D217;
	color: white;
	width: 30px;
	height: 30px;
	padding: 20px;
	font-size: 25px;
	line-height: 30px;
	display: inline-block;
	text-align: center;
	
	-webkit-border-radius: 100px;
	-moz-border-radius: 100px;
	border-radius: 100px;
}
.icon.text {
	width: auto;
	text-align: left;
	padding: 20px 20px 20px 0px;
	color: black;
}
.icon .title {
	display: block;
	font-weight:400;
	font-size: 20px;
}
.icon .maintxt {
	display: block;
	font-weight: 300;
}

.icon-block:hover {
	background-color: #424242;
}
.icon-block:hover > .icon.text {
	color: white;
}

/*--- YouTube ---*/
.yt_wrap {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	/*padding-top: 25px;*/
	height: 0;
}
.yt_wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*---------- TEAM ----------*/
.ly_team {
	position: relative;
	overflow: hidden;
	float:left;
}
.ly_team_photo {
	width: 100%;
	box-sizing: border-box;
	overflow: auto;
}
.ly_team_photo img {
	display:block;
	margin:0 !important;
	padding:0 !important;
}
.ly_team_text {
	position: absolute;
	background-color: black;
	background-color: rgba(0,0,0,0.9);
	color: white;
	width: 100%;
	height: 100%;
	top:calc(100% - 75px);
	left:0;
	box-sizing: border-box;
	font-family: 'Roboto';
	font-weight: 400;
	overflow: hidden;

	transition: all .30s ease-in-out;
	-moz-transition: all .30s ease-in-out;
	-webkit-transition: all .30s ease-in-out;	
}
.ly_team:hover > .ly_team_text {top:0;}
.ly_team_text p {
	margin:0 !important;
	padding:0 !important;
	font-size: inherit !important;
}
.ly_team_text .name,
.ly_team_text .pos {
	text-transform: uppercase;
	display: block;
}
.ly_team_text .name {
	font-weight: 700;
	font-size: 25px;
}
.ly_team_text .pos {
	color: #F2D217;
}
.ly_team_text .scroll {
	height: 100%;
	overflow:hidden;
}
.ly_team_text .text {
	display: block;
	float: left;
	margin-top: 10px;
	font-size: 15px;
}
.ly_team_text .more,
.ly_team_text .less {
	display: none;
	position: absolute;
	background-color: white;
	color: black;
	right:2px; bottom:2px;
	width: 25px;
	height: 25px;
	cursor: pointer;
	text-align: center;
	line-height: 25px;
}
.ly_team_text .less {
	bottom: 29px;
}
.ly_team_text .less i,
.ly_team_text .more i {
	
}
.ly_team_text .main {
	position: relative;
	height: calc(100% - 55px);
	box-sizing: border-box;
	padding: 15px 30px 1px 15px;
	overflow: hidden;
}
.ly_team_text .social {
	position: relative;
	height: 55px;
	box-sizing: border-box;
	padding: 15px 15px 15px 15px;

}
.ly_team_text .social i {
	width: 25px;
	height: 25px;
	text-align:center;
	line-height: 24px;
	background-color: white;
	color: black;
	margin-right: 5px;
	cursor:pointer;
	box-sizing: border-box;
	border: solid 1px white;
	
	transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;	
}

.ly_team_text .social i:hover {
	background-color: black;
	color: white;
	border-color: white;
}

/*.ly_team_link a {
	color:black !important;
}

.ly_team_link:hover a {
	text-decoration: none !important;
	color: #0077B5 !important;
}*/




/*---------- CONTENT ----------*/

	#content {
		width: 100%;
		float: left;
	}

	.content_i {
		padding: 5px 0px 0 0;	
	}
	.content_i2 {
		float: left;
		width: 100%;
		padding: 5px 0px 25px 0;
	}
	.content_i img {
		display: block;
		width: 100%;
		max-width: 100%;
	}
	#single_content {
		width: 100%;
		float: left;
		/*overflow: visible;*/
		position: relative;
	}
	#main_col {
		width: 70%;
		float: left;
		/*background-color: #E6E6E6;*/
	}
	#side_col {
		width: 30%;
		float: left;
		/*background-color: #CDCDCD;*/
	}
	#side_col_i { padding-left: 15px; }


/*---------- SIDEBAR, ARCHIVE ----------*/

	#sidebar {
		width: 30%;
		overflow:hidden;
		float: left;
	}
	#sidebar_inner{
		padding: 0 0 0 10px;
	}

	.heading {
		display: block;
		float: left;
		height: 45px;
		width: 100%;
		overflow: hidden;
		margin-top: 3px;
		margin-bottom: 2px;
	}
	.heading .name, .heading .title {
		font-family: 'Roboto';
		font-weight:400;
		color: #C93846;
		font-size: 20pt;
		padding-top: 5px;
		float: left;
		width: auto;
	}
	.heading .title {
		width: 100%;
		text-align: center;
	}
	.heading .arrow {
		width: 40px;
		height: 37px;
		padding: 4px 0;
		font-size: 30px;
		float: right;
		text-align: center;
		color: #C93846;
	}
	.heading .name, .heading .title, .heading .arrow {
		transition: all .20s ease-in-out;
		-moz-transition: all .20s ease-in-out;
		-webkit-transition: all .20s ease-in-out;			
	}
	.heading:hover > .arrow, .heading:hover > .name {
		color: #2F2E2F;
		cursor: pointer;
	}

	/*pagination*/
	.nav-previous, .nav-next {
		color: white;
		background-color: black;
		cursor: pointer;
		font-family: 'Roboto';	
		font-weight:400;
		text-align: center;
		padding: 20px;
		transition: all .20s ease-in-out;
		-moz-transition: all .20s ease-in-out;
		-webkit-transition: all .20s ease-in-out;	
	}
	.nav-previous a, .nav-next a {
		color: inherit;
		text-decoration: none;
	}
	.nav-previous:hover, .nav-next:hover {
		background-color: #505050;
	}

/*######## LAYOUT PLUGIN ########*/
.ly_wrap {
	position: relative;
	width: 980px;
	margin: 0 auto;
	overflow: auto;
	display: table;
	table-layout: fixed;
	left: 0px;
}

.ly_row.spacing .ly_wrap {left:0;}

.ly_row {
	position: relative;
	width: 100%;
	float: left;
	box-sizing: border-box;
	background-position: center center;
	background-repeat: no-repeat;
	display:table;
	table-layout: fixed;
	overflow: auto;
	left:0;
	background-size: 0% 0%;
	
	background-color:white;
	/*border-top: solid 1px #d1d1d1;
	border-bottom: solid 1px #d1d1d1;
	margin-bottom:20px;*/
}

.ly_row:before {
  content: '';
  position: absolute;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	width: 100%;
	height: 100%;
	background-image: inherit;
}

.ly_row.img_left:before {width: 50%;}
.ly_row.img_right:before {width: 50%;left:50%;}

.ly_row:first-of-type {
	border-top:0;
}
.ly_row:last-of-type {
	border-bottom:0;
}

.ly_cell p:first-of-type {
	padding-top:8px !important;
}

.ly_row.padding:last-of-type {
	/*padding-bottom: 30px;*/
	margin-bottom:0px;
}

/*.ly_row:before {
  content: '';
  position: absolute;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	width: 100%;
	height: 100%;
	background-image: inherit;
}*/

/*.ly_row.img_left:before {width: 50%;}*/
/*.ly_row.img_right:before {width: 50%;left:50%;}*/

.ly_row_mobile {
	display:none;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	background-image:inherit;
	width:100%;
	height: 200px;
	position:relative;
}

.ly_col {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	display:table-cell;
	vertical-align: middle; /*--*/
}

.ly_col .inner img {
	display: block;
	width: 100%;
	height: auto;
	margin: 5px 0;
	float: left;
}

.ly_col.half {width:50%;}
.ly_col.third {width:33.33333%;}
.ly_col.twothird {width:66.66666%;}
.ly_col.quater {width:25%;}
.ly_col.threequater {width:75%;}
.ly_col.sixth {width:16.66666%;}

.ly_col .inner {
	box-sizing: border-box;
	padding: 30px;
	width: 100%;
	float: left;
	position: relative;
}

.ly_cell {
	/*margin-bottom: 10px;*/
	width: 100%;
	display: block;
	float: left;
}

.ly_row .ly_col:last-of-type > .inner {
}

.ly_image_cell {
	margin: 0 auto;
	width: 100%;
	position: relative;
	background-size: cover;
	background-position: center center;
	overflow:hidden !important;
}

.ly_image_cell._square:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.ly_image_cell .ly_overlay {
	position:absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: rgba(0,0,0,0.2);
	
	transition: all .20s ease-in-out;
	-moz-transition: all .20s ease-in-out;
	-webkit-transition: all .20s ease-in-out;
}

.ly_image_cell .ly_overlay.link {
	cursor:pointer;
}

.ly_image_cell:hover > .ly_overlay.link {
	background-color: rgba(0,0,0,0.4);
}

.ly_image_cell .ly_overlay_text {
	color:white;
	font-family: 'roboto';
	font-weight: 500;
	font-size: 25pt;
	text-align: center;
	padding:20px;
	width: 100%;
	/*text-shadow: 1px 1px 5px #000000;*/
	
	box-sizing: border-box;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

.ly_image_cell .ly_overlay_text.ly_heading {
	font-weight: 400;
	font-size: 40pt;
	line-height: normal;
	margin-top:45px;
}

.lazyload {
	background-image:url('img/spinner.gif');
	background-repeat: no-repeat;
	background-position: center 95%;
	background-size: auto;
}

.lazyload:before {
	background-size: 0% 0%;
}

.inner.nopad {
	padding: 0 !important;
}

.ly_video_cell {
	cursor: pointer;
	display:block;
	float:left;
	width:100%;
	margin-top:20px;
}

.ly_video_cell i {
	position: relative;
	width:50px;
	height:50px;
	font-size: 30pt;
	color:white;
	padding: 10px;
	background-color:rgba(0,0,0,0.2);
	border-radius: 999px;
	-moz-border-radius: 999px;
	-webkit-border-radius: 999px;
	-ms-border-radius: 999px;
	margin:0;
	
	transition: all .20s ease-in-out;
	-moz-transition: all .20s ease-in-out;
	-webkit-transition: all .20s ease-in-out;
}
.ly_video_cell i:before{
	position: absolute;
	margin-left:3px;
	top:50%;
	left:50%;
	transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
}

.ly_video_cell:hover i {
	background-color: rgba(0,0,0,0.8);
}

#video_blackout {
	display:none;
	width:100%;
	height:100%;
	background-color: rgba(0,0,0,0.8);
	position: fixed;
	z-index:9999;
}

#video_frame {
	display: none;
	width:80%;
	height:auto;
	/*background-color:white;*/
	position: fixed;
	left:50%;
	top:50%;
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	z-index:99999;
}

#video_frame .v_close {
	background-color: rgba(0,0,0,0.5);
	width:25px;
	height:25px;
	position:relative;
	left:100%;
	margin-left:-25px;
	color:#686868;
	cursor:pointer;
	
	transition: all .20s ease-in-out;
	-moz-transition: all .20s ease-in-out;
	-webkit-transition: all .20s ease-in-out;
}
.v_close:before {
	position: absolute;
	font-family: "FontAwesome";
	content: "\f00d";
	color: inherit;
	left: 50%;
	top: 50%;
	font-size: 16pt;
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
}
#video_frame .v_close:hover {
	background-color: black;
	color: white;
}

#video_frame .video {
	position: absolute;
	width:100%;
	height:100%;
	z-index:9999999;
}

#video_frame .video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.ly_video_link {
	display:none;
	float: left;
	width:100%;
	background-color:#444444;
	border-bottom: solid 1px #161616;
	color:white;
	box-sizing: border-box;
	padding: 0 10px;
	cursor: pointer;
	font-family: 'Roboto';
	font-size:10pt;
	font-weight: 500;
	
	transition: all .20s ease-in-out;
	-moz-transition: all .20s ease-in-out;
	-webkit-transition: all .20s ease-in-out;
}
.ly_video_link:hover {
	background-color:#161616;
}
.ly_video_link:before {
	font-family: FontAwesome;
	content:  "\f04b";
	margin-right: 4.5px;
	font-size: 12px;
	vertical-align: 1px;
}
.ly_overlay_title {
	position:absolute;
	width: 100%;
	top:0;
	left:0;
	color:white;
	font-family: 'Roboto';
	font-weight:500;
	font-size: 14pt;
	box-sizing: border-box;
	padding:5px 10px;
	z-index:99;
	/*background-color: rgba(0,0,0,0.5);*/
}

.ly_button {
	cursor: pointer;
	float: left;
	padding:4px 20px;
	font-family: 'roboto';
	font-weight: 700;
	font-size: 12pt;
	text-transform: uppercase;
	color:white;
	
	border-top: solid 2px #26315b;
	background-color: #3F5099;
	
	margin: 10px 10px 15px 0;
	
	transition: all .20s ease-in-out;
	-moz-transition: all .20s ease-in-out;
	-webkit-transition: all .20s ease-in-out;
}

.ly_button:hover {
	border-color: #3F5099;
	background-color:#26315b;
}
.events .ly_button {
	margin:10px 0;
	padding:2px 12px;
	background-color: black;
	color: white;
	font-weight: normal;
	font-size: 10pt;
	border:0;
}
.events .ly_button:hover {
	background-color:#525252;
	border:0;
}

/*.ly_row.border .inner,
.ly_row.border_b .inner {
	padding: 0px 60px 0 60px;
}*/
/*.ly_row .ly_col:first-of-type .inner { padding-left: 0; }
.ly_row .ly_col:last-of-type .inner { padding-right: 0; }*/

.ly_row.border_b {
	border-top: solid 1px #d1d1d1;
	border-bottom: solid 1px #d1d1d1;
	margin-bottom:20px;
}

.ly_row.border .ly_wrap,
.ly_row.border_b .ly_wrap {
	/*padding: 40px 0 40px 0;*/
}
.ly_row.border_b:last-of-type {
	border-bottom:0;
}

.ly_row.border .ly_col {
	border-right: solid 1px black;
}

.ly_row.border:last-of-type .ly_wrap,
.ly_row.border .ly_col:last-of-type {
	border:0;
}

.ly_icon {
	display: block;
	float: none;
	clear:both;
	margin-bottom: 20px;
	display: table;
}

.ly_icon i{
	display: table-cell;
	margin-right: 5px;
	color: #0688BC;
	min-width: 18px;
	border-right: solid 1px #dddddd;
	text-align: right;
	line-height: 40px;
	
	padding-right: 5px;
	
	display: block;
	float: left;
}
.ly_icon span {
	display: table-cell;
	vertical-align: middle;
}

/*.ly_col.border {
	border-right: 1px solid black;
}
.ly_row .ly_col:last-of-type {
	border:0;
}
.ly_wrap.border,
.ly_row.border {
	border-bottom: 1px solid black;
}
.ly_row:last-of-type,
.ly_row:last-of-type .ly_wrap {
	border:0;
}*/

.ly_center .ly_col {
	position:relative;
	width:auto;
	display:block;
	float:left;
	clear:both;
	left: 50%;
	transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
}

/*-----Buttons with Icons-----*/
.cstm_btn {
	width:100px;
	float:left;
	padding: 0 10px;
	box-sizing: border-box;
}
.ly_button_image {
	cursor:pointer;
	width:100%;
	margin: 0 auto;
	position:relative;
	box-sizing: border-box;
	
	background-color: black;
	border-radius: 1000px;
	
	transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
	
	border: solid 5px #1fa5e2;
}
.ly_button_image:after {
	content: "";
	display: block;
	padding-bottom:100%;
}
.cstm_btn .span {
	margin-top:15px;
	width:100%;
	text-align: center;
	font-weight: 700;
	line-height: 1;
}
.ly_button_image:before {
	color: #1fa5e2;
	position: absolute;
	font-family: "FontAwesome";
	left: 50%;
	top: 50%;
	font-size: 40px;
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
}

.ly_button_image:hover {
	transform: rotate(10deg);
	border-width: 10px;
}

.f_order {
	/*border: solid 5px #c17211;*/
	background-color:transparent;
}
.f_order:before {
	margin-top:5px;
	/*color:#c17211;*/
	content: "\f043";
}

.f_quote {
	/*border: solid 5px #1fa5e2;*/
	background-color:transparent;
}
.f_quote:before {
	/*color:#1fa5e2;*/
	content: "\f040";
}

.f_join {
	/*border: solid 5px #95cc00;*/
	background-color:transparent;
}
.f_join:before {
	/*color: #95cc00;*/
	content: "\f00c";
}















