/*
Theme Name:     Divi-child
Description:    Child theme of Divi to add php and css edits
Author:         David
Template:       Divi

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

/*align the hamburger menu to the right*/

.pa-fullscreen-menu .et_pb_menu__wrap {
	justify-content: flex-end !important;
}

/*hide the desktop version of the menu*/

.pa-fullscreen-menu .et_pb_menu__wrap .et_pb_menu__menu {
	display: none !important;
}

/*show the mobile version of the menu on desktop*/

.pa-fullscreen-menu .et_pb_menu__wrap .et_mobile_nav_menu {
	display: block !important;
	align-items: center !important;
}

.mobile_menu_bar:before {
    transition: none !important;
}

/* style the menu */

.pa-fullscreen-menu .opened #mobile_menu1, .pa-fullscreen-menu .closed #mobile_menu1 {
	width: 30vw;
	position: fixed !important;
	top: 0em !important;
	left: 70vw;
	height: 100vh !important;
	display: flex !important;
	justify-content: center!important;
	flex-direction: column !important;
	opacity: 1 !important;
	visibility: visible !important;
	/*transition: visibility 0.3s, opacity 0.3s ease-in-out;*/
	padding: 0 !important;
	background-color: #eeeeee!important;
	transform: translateX(0%)!important;
	transition: all 0.8s ease!important;
	overflow-y: scroll!important;
}

.et_mobile_menu li a {
	padding: 10px 0!important;
}

.et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu ul {
    background-color: transparent !important;
}

/* set the width of the menu on smaller desktop screens */

@media (max-width: 1450px) {
	
	.pa-fullscreen-menu .opened #mobile_menu1, .pa-fullscreen-menu .closed #mobile_menu1 {
	width: 50vw !important;
	left: 50vw !important;
	}
}

/* set the width of the menu on larger desktop screens */
@media (min-width: 1451px) {
	.pa-fullscreen-menu .opened #mobile_menu1, .pa-fullscreen-menu .closed #mobile_menu1 {
	width: 30vw!important;
	left: 70vw!important;
	}
}
	
/* style the closed menu */

.pa-fullscreen-menu .closed #mobile_menu1 {
	transform: translateX(100%)!important;
}

/*remove the bullet points from the list items*/

.pa-fullscreen-menu #mobile_menu1 li {
	list-style: none !important;
	text-align: center !important;
	width: 100%
}

/*move the menu to the top above other elements*/

.pa-fullscreen-menu .et_pb_menu__wrap span.mobile_menu_bar {
	z-index: 999999 !important;
}

/*change the opened menu icon*/

.pa-fullscreen-menu .et_pb_menu__wrap .opened .mobile_menu_bar:before {
	content: "\4d" !important;
}

/*remove the default blue border top on the mobile menu*/

.pa-fullscreen-menu .et_mobile_menu {
	border-top: none;
}

/*remove the default background color on menu items*/

.pa-fullscreen-menu .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}

/*remove the default hover background color and adjust opacity*/

.et_mobile_menu li a:hover {
	background-color: transparent;
	opacity: 1;
}

/* remove indent on child menu items */

.et_mobile_menu li li {
    padding-left: 0;
}

.et-l--header ul {
	padding-left: 0 !important;
}

/* change active link colour on menu */
	.et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item a {
		font-weight: bold!important;
}

/*remove the default border bottom on menu items*/

.pa-fullscreen-menu .et_mobile_menu li a {
	border-bottom: none;
}

/* rotate the Divi Menu icons on click */

.mobile_nav.opened .mobile_menu_bar::before {
	transition: all .8s ease!important;
	transform: rotate(90deg)!important;
	display: block!important;
}

.mobile_menu_bar:before {
	transition: all .8s ease!important;
	transform: rotate(0deg)!important;
	display: block!important;
}

/* style the mobile menu */

@media (max-width: 767px) {
	.pa-fullscreen-menu .opened #mobile_menu1, .pa-fullscreen-menu .closed #mobile_menu1 {
	width: 100vw !important;
	left: 0vw !important;
	}
}
































/* control size of logo */
.et_pb_menu__logo {
	width: 250px;
}

@media (max-width: 600px) {
.et_pb_menu__logo {
	width: 200px;
}
}

#logo {
	padding-top:15px;
}

.et_pb_bg_layout_light .et_pb_promo_button {
	color: #56d8d4;
}

/* Custom font CSS */

p, a, li, ul, ol, body, input, textarea, select {
font-family: 'metropolisregular', Arial, sans-serif!important;
font-weight:normal;
font-style:normal;
}

eds-bpm-section li span {
	font-family: 'metropolis', Arial, sans-serif!important;
font-weight:normal;
font-style:normal;
}

h1, h2, h3, h4, h5, h6, strong {
font-family: 'metropolisbold', Arial, sans-serif!important;
font-weight:normal;
font-style:normal;
}

blockquote {
	border-color: #56d8d4;
}

/* heading style for blog post subheadings */

h5 {
	font-size: 25px;
	padding: 20px 0px 15px 0px;
}

h6 {
	padding: 25px 0px 20px 0px;
}

.blogimage {
	padding: 25px 0px 25px 0px;
}

/* fixes blog page post links that were not bold */

.et_pb_post .entry-title a, .et_pb_post h2 a {
	font-family: 'metropolisbold', Arial, sans-serif!important;
}

em, .eds-bpm-view .eds-bpm-view-para{
	font-family: 'metropolisregular_italic', Arial, sans-serif!important;
font-weight:normal;
font-style:normal;
	
}


/* Custom font CSS for Metropolis */
@font-face {
    font-family: 'metropolisbold';
    src: url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-bold-webfont.eot');
    src: url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-bold-webfont.woff2') format('woff2'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-bold-webfont.woff') format('woff'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-bold-webfont.ttf') format('truetype'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-bold-webfont.svg#metropolisbold') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'metropolisbold_italic';
    src: url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-bolditalic-webfont.eot');
    src: url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-bolditalic-webfont.woff2') format('woff2'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-bolditalic-webfont.woff') format('woff'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-bolditalic-webfont.ttf') format('truetype'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-bolditalic-webfont.svg#metropolisbold_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'metropolisextra_light';
    src: url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-extralight-webfont.eot');
    src: url('https://.skyavenue.com.au/wp-content/uploads/2020/03/metropolis-extralight-webfont.eot?#iefix') format('embedded-opentype'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-extralight-webfont.woff2') format('woff2'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-extralight-webfont.woff') format('woff'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-extralight-webfont.ttf') format('truetype'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-extralight-webfont.svg#metropolisextra_light') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'metropolisextra_light_italic';
    src: url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-extralightitalic-webfont.eot');
    src: url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-extralightitalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-extralightitalic-webfont.woff2') format('woff2'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-extralightitalic-webfont.woff') format('woff'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-extralightitalic-webfont.ttf') format('truetype'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-extralightitalic-webfont.svg#metropolisextra_light_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'metropolisregular';
    src: url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-regular-webfont.eot');
    src: url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-regular-webfont.woff2') format('woff2'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-regular-webfont.woff') format('woff'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-regular-webfont.ttf') format('truetype'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-regular-webfont.svg#metropolisregular') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'metropolisregular_italic';
    src: url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-regularitalic-webfont.eot');
    src: url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-regularitalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-regularitalic-webfont.woff2') format('woff2'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-regularitalic-webfont.woff') format('woff'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-regularitalic-webfont.ttf') format('truetype'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-regularitalic-webfont.svg#metropolisregular_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'metropolissemi_bold';
    src: url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-semibold-webfont.eot');
    src: url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-semibold-webfont.woff2') format('woff2'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-semibold-webfont.woff') format('woff'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-semibold-webfont.ttf') format('truetype'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-semibold-webfont.svg#metropolissemi_bold') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'metropolissemi_bold_italic';
    src: url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-semibolditalic-webfont.eot');
    src: url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-semibolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-semibolditalic-webfont.woff2') format('woff2'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-semibolditalic-webfont.woff') format('woff'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-semibolditalic-webfont.ttf') format('truetype'),
         url('https://skyavenue.com.au/wp-content/uploads/2020/03/metropolis-semibolditalic-webfont.svg#metropolissemi_bold_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* Services blurb spacing */

.et_pb_blurb_description {
padding: 0px 30px 30px 30px;
}

/* Header spacing */
/*
@media only screen and (min-width: 1350px) {
.et_fullwidth_nav #main-header .container,
.et_fullwidth_secondary_nav #top-header .container {
max-width: 1145px!important;
}}

@media only screen and (min-width: 363px) {
#et-info, #et-secondary-menu {
text-align: left;
}}

@media only screen and (max-width: 362px) {
#top-header #et-info {
line-height: 1.5em;
padding: 6px;
}}

@media only screen and (max-width: 480px) {
#logo {
max-width: 100%!important;
}}
*/

/* Universal text styles */

p, ul, li {
font-weight: 400;
line-height: 1.5;
}

h4 {
font-size: 25px !important;
}

/*p {
font-size: 19px !important;
}*/

/* Ensures mobile menu is at right of logo on mobile view*/
/*
@media only screen 
and (min-width : 768px) 
and (max-width : 1024px)
{
#et-top-navigation {
padding-left: 0 !important;
}
.mobile_menu_bar.et_pb_header_toggle.et_toggle_slide_menu {
padding-bottom: 0 !important;
}
}
*/
/* Banner iframe responsive */
.et_pb_fullwidth_code_0 .tourWindow
{
 width: 100%;
 height: 35vw; 
 min-height: 260px;
 max-height: 920px;
}


/* Virtual tour display */
.et_pb_fullwidth_code_0,
.tourWindow,
.tourDisplay,
.tourContainer {
	width: 100%;
	height: 38vw;	
	min-height: 200px;
	max-height: 900px;
}


@media only screen and (min-width: 2415px) {
.et_pb_fullwidth_image img {
margin-top: 2vw;
}}

@media only screen and (max-width: 2414px) {
.et_pb_fullwidth_image img {
margin-top: 3vw;
}}

@media only screen and (max-width: 1660px) {
.et_pb_fullwidth_image_0 {
width: 110vw;
}
.et_pb_fullwidth_image img {
margin-top: 4vw;
}}

@media only screen and (max-width: 1000px) {
.et_pb_fullwidth_image img {
margin-top: 6vw;
}}

@media only screen and (max-width: 782px) {
.et_pb_fullwidth_image img {
margin-top: 10vw;
}}

@media only screen and (max-width: 767px) {
.et_pb_fullwidth_image_0 {
width: 120vw;
}

.et_pb_fullwidth_code_0,
.tourWindow,
.tourDisplay,
.tourContainer {
	min-height: 340px;
}

.et_pb_fullwidth_image img {
margin-top: 14vw;
}}

@media only screen and (max-width: 730px) {
.et_pb_fullwidth_image img {
margin-top: 16vw;
}}

@media only screen and (max-width: 700px) {
.et_pb_fullwidth_image img {
margin-top: 18vw;
}}

@media only screen and (max-width: 680px) {
.et_pb_fullwidth_code_0,
.tourWindow,
.tourDisplay,
.tourContainer {
	min-height: 300px;
}}

@media only screen and (max-width: 660px) {
.et_pb_fullwidth_code_0,
.tourWindow,
.tourDisplay,
.tourContainer {
	min-height: 280px;
}}

@media only screen and (max-width: 630px) {
.et_pb_fullwidth_image_0 {
width: 760px;
}

.et_pb_fullwidth_image img {
margin-right: -5vw;
}}




/* Blurb banner padding for images on laptop size screens and smaller */

@media only screen and (max-width: 1289px) {
.et_pb_image_0, .et_pb_image_1, .et_pb_image_2 {
padding-top: 65px;
padding-bottom: 65px;
}
}

/* Example tour second column padding for mobile */

@media only screen and (max-width: 479px) {
.et_pb_column_15 {
padding-top: 35px;
}
}

/* Image overlay fade on mouseover and hand pointer*/
.fancybox-iframe:hover{
/*opacity: 0.6;
filter: alpha(opacity=60); */ /* For IE8 and earlier */
/*-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
-ms-transition: all 1s ease;
-o-transition: all 1s ease;
transition: all 1s ease;*/
cursor: pointer;

}


/* Divi light-box border styling */
.mfp-figure:after {
border: solid 2px #ffffff;
margin: -1px;
}

.mfp-title {
padding-top: 10px;
font-weight: bold;
}
.mfp-counter {
padding-top: 10px;
font-weight: bold;
}

/*Gallery 3 images wide*/
@media only screen and ( min-width: 981px ){
.et_pb_gallery_grid .et_pb_gallery_item {
width: 33.33% !important;
margin-right: 0% !important;
margin-bottom: 0% !important;
}
.et_pb_gallery_grid .et_pb_gallery_item:nth-child(2n+1) {
clear: none !important;
}
.et_pb_gallery_grid .et_pb_gallery_item:nth-child(3n) {
margin-right: 0 !important;
}
}


/*
#top-menu li li a {
    width: 220px;
    padding: 6px;
}
*/
.et_pb_gallery_title, .mfp-gallery .mfp-title { display: none; }

/* No right click css */
#wpcp-error-message {
    direction: ltr;
    text-align: center;
    transition: opacity 0ms ease 0s !important;
    transition-property: opacity;
    transition-duration: 200ms !important;
    transition-timing-function: ease;
    transition-delay: 0s;
    z-index: 99999999;
}
.warning-wpcp {
    background: #ffffff url('https://skyavenue.com.au/wp-content/plugins/wp-content-copy-protector/images/warning.png') no-repeat 10px 15% !important;
    border: none !important;
}
.msgmsg-box-wpcp {
    border-radius: 0px !important;
    color: #000 !important;
    font-family: Roboto !important;
    font-size: 14px !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

/* Change font of email optin form to site font */
#mc_embed_signup .mc-field-group label {
    font-family: 'metropolisregular',Arial,sans-serif!important;
}


/* Font size for 2 column text modules */
@media (min-width: 981px) and (max-width: 1500px) {
.text-2-column h1 {
font-size: 26px;
}
}

/* Font size for 2 column text modules */
@media (min-width: 981px) and (max-width: 1500px) {
.text-2-column {
font-size: 15px;
}
}



/* Fix jumping header */
/*
#page-container {
padding-top: 114px;
}

#main-header {
top: 65.5px;
}
*/

/*move and position the Text module over the center of the Image module*/

.text-over-image > .et_pb_text {
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -45%);
	z-index: 10;
	width: 100%;
	transition: opacity 0.3s ease-in-out;
	/*opacity: 0; remove comment for hover reveal effect*/
}

@media (min-width: 981px) and (max-width: 1500px) {
.text-over-image > .et_pb_text h1 {
	font-size: 34px;
	padding-top: 2%;
	margin-left: -50px;
}
}

@media (min-width: 981px) and (max-width: 1500px) {
.text-over-image > .et_pb_text  {
	background-size: 120px;
}
}

/* Change font in mid sentence */
.font-change {
    font-family: 'playlist';
	font-size: 50px;
}

/* About Us page banner text */
.text-over-image-about > .et_pb_text {
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -45%);
	z-index: 10;
	width: 100%;
	transition: opacity 0.3s ease-in-out;
	/*opacity: 0; remove comment for hover reveal effect*/
}

/* Home page banner text */
.text-over-image-home > .et_pb_text {
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -45%);
	z-index: 10;
	width: 100%;
	transition: opacity 0.3s ease-in-out;
	/*opacity: 0; remove comment for hover reveal effect*/
}


/*move and position the icon module over the center of the Image module*/
.icon-over-image {
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -45%);
	z-index: 10;
	width: 100%;
	transition: opacity 0.3s ease-in-out;
	/*opacity: 0; remove comment for hover reveal effect*/
}

.et_pb_promo_description {
    padding-bottom: 0px;
}

/* Fix first 2 jumping images in 4 column layout */
.et_pb_image_0, .et_pb_image_1, .et_pb_image_2 {
    padding-top: 0px;
    padding-bottom: 0px;
}

/* Font size for industry CTA's */
@media (min-width: 981px) and (max-width: 1280px) {
.et_pb_column_1_3 h2, .et_pb_column_1_4 h2, .et_pb_column_1_5 h2, .et_pb_column_1_6 h2, .et_pb_column_2_5 h2 {
font-size: 18px;
}
}





/* Make text into 4 columns, then  3, 2 and 1 columns for mobile, tablet */
@media (min-width: 1501px) and (max-width: 5000px) {
.my-columns .et_pb_text_inner {
  width: 100%;
	font-size: 19px;
	-webkit-columns: 4;
  -moz-columns: 4;
  columns: 4;
  -webkit-column-gap: 3em;
  -moz-column-gap: 3em;
  column-gap: 3em;
	
}
}

@media (max-width: 1500px) {
.my-columns .et_pb_text_inner {
font-size: 15px;
	-webkit-columns: 3;
  -moz-columns: 3;
  columns: 3;
	 -webkit-column-gap: 2em;
  -moz-column-gap: 2em;
  column-gap: 2em;
}
}

@media (max-width: 1024px) {
.my-columns .et_pb_text_inner {
font-size: 15px;
	-webkit-columns: 2;
  -moz-columns: 2;
  columns: 2;
	 -webkit-column-gap: 2em;
  -moz-column-gap: 2em;
  column-gap: 2em;
}
}

@media (max-width: 599px) {
.my-columns .et_pb_text_inner {
font-size: 15px;
	-webkit-columns: 1;
  -moz-columns: 1;
  columns: 1;
}
}


@media (min-width: 981px) and (max-width: 1500px) {
.icon-over-image {
	max-width: 150px;
	
}	
}


/* Keeps image at the same height no matter the width without resizing */
.two-col-image img {
	 width: 100%;
  height: 1000px;
  object-fit: cover;
	object-position: center centre;
}

@media (max-width: 1500px) {
.two-col-image img {
	height: 800px;
	object-fit: cover;
	
}
}

@media (max-width: 980px) {
.two-col-image img {
	height: 80%;
	object-fit: contain;
}
}

/* Keeps image at the same height and to the left no matter the width without resizing */
.two-col-image-left img {
	 width: 100%;
  height: 1000px;
  object-fit: cover;
	object-position: center left;
}

@media (max-width: 1500px) {
.two-col-image-left img {
	height: 800px;
	object-fit: cover;
	
}
}

@media (max-width: 980px) {
.two-col-image-left img {
	height: 80%;
	object-fit: contain;
}
}

/* Keeps image at the same height and to the right no matter the width without resizing */
.two-col-image-right img {
	 width: 100%;
  height: 1000px;
  object-fit: cover;
	object-position: center right;
}

@media (max-width: 1500px) {
.two-col-image-right img {
	height: 800px;
	object-fit: cover;
	
}
}

@media (max-width: 980px) {
.two-col-image-right img {
	height: 80%;
	object-fit: contain;
}
}



/* adjust font size about us blurbs */
@media (min-width: 981px) and (max-width: 1500px) {
.et_team_member, .et_pb_team_member_description {
	font-size: 15px;
}
}
/* adjust image size for blurbs */
.et_pb_team_member_image {
	width: 150px !important;
	height: 150px !important;
	text-align: center !important;
}

.parent-column .et_pb_team_member_image {
	text-align: center !important;
}

/* reduce padding and font size on industry cta when needed */
/*@media (min-width: 981px) and (max-width: 1500px) {
.cta-long-copy {
	padding-top: 10px !important;
	padding-bottom:10px !important;
}
}
*/
@media (min-width: 981px) and (max-width: 1500px) {
.et_pb_button, .et_pb_promo_button {
	font-size: 16px;
}
}

@media (min-width: 981px) and (max-width: 1500px) {
	.et_pb_button:after, .et_pb_button:before {
	font-size: 26px;	
}
}

	
/* Minimise margin on fancy-box window for maximum video size */
#fancybox-wrap {
	margin-left: 1px;
}

/* allow GSV badge to float left when single column is shown on mobile devices */
@media (max-width: 980px) {
.gsv-badge {
    
    float: left;
}
}

/*@media (max-width: 1500px) {
.gsv-badge {
	padding-top: 0px;
	width: 80%;
  
}
}
*/

/* Custom Video Popup */
/* Popup Close Icon Tweak */
.mfp-wrap.mfp-close-btn-in.mfp-auto-cursor.mfp-fade.mfp-ready {
  top: 0px !important;
  position: fixed !important;
	content: 'I';
	
}

.mfp-iframe-holder .mfp-content {
    max-width: 90%;
}

@media (min-width: 980px) {
.mfp-iframe-holder .mfp-content {
    max-width: 80%;
}
}
.mfp-iframe-scaler button.mfp-close {
    top: -50px ;
}

.mfp-iframe-holder .mfp-close,
.mfp-image-holder .mfp-close,
.mfp-wrap .mfp-close:active {
    top: -50px !important;
}

.video_popup_lightbox .mfp-iframe-holder .mfp-close {
    top: -50px;
}

.video_popup {
    position: relative;
    /*-webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
*/
}
.video_popup a:before {
    content: 'I';
	font-family: 'ETmodules';
    cursor: pointer;
    position: absolute;
    top: calc(50% - 55px);
    left: calc(45% - 47px);
    z-index: 20;
    background-color: transparent;
    padding: 0px;
    border-radius: 100%;
    font-size: 150px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
   /* -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;*/
}

.video_popup a:after {
    content: 'I';
    cursor: pointer;
    font-family: 'ETmodules';
    position: absolute;
    top: calc(50% - 55px);
    left: calc(45% - 47px);
    z-index: 20;
    background-color: transparent;
    padding: 0px;
    border-radius: 100%;
    font-size: 150px;
	letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    /*-webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;*/
}

.video_popup.no_icon:before,
.video_popup.no_icon:after {
    display: none!important;
}

.video_popup:not(.no_icon):hover {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.video_popup:hover a:before {
    opacity: 0;
    padding: 0px;
   top: calc(50% - 55px);
    left: calc(45% - 47px);
	font-size: 150px;
}

.video_popup:hover a:after {
    opacity: 1;
    padding: 0px;
   top: calc(50% - 55px);
    left: calc(45% - 47px);
    font-size: 150px;
}

@media all and (max-width: 980px) {
    .video_popup a:before {
		
        top: calc(45%);       
        font-size: 100px;
		padding-left: 5%;
		
    }
    .video_popup a:after {
       
        top: calc(45%);       
        font-size: 100px;
		padding-left: 5%;
		
    }
    .video_popup:hover a:before {
        opacity: 0;
        
        top: calc(45%);       
        font-size: 100px;
		padding-left: 5%;
    }
    .video_popup:hover a:after {
        opacity: 1;
        
        top: calc(45%);       
        font-size: 100px;
		padding-left: 5%;
    }
}
/* Add buttons to photography menu*/
.menu-button a {
  background-color: #efefef;
  padding: 15px 25px !important;
  border-radius: 5px;
  color: #fff !important;
  text-align: center;
}















/* Style 'read more' blocks on home page */

.et-learn-more {
	border: none !important;
	box-shadow: none !important;
}

.heading-more {
	border: none !important;
	
}

.learn-more-content {
    background-color: #eeeeee !important;
    text-shadow: none !important;
	webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: none !important;
	padding-top: 10px !important;
	padding-left: 0px !important;
	padding-right: 0px !important;
}