/*
Theme Name: Peter Downes
Theme URI: https://www.peterdownes.com.au
Template: Divi
Author: Presente
Author URI: http://www.presente.com.au
Version: 1.0
*/

/* --- BUTTONS --- */

.custom-button-1 {
	background: #74c6fb !important;
	color: #ffffff;
	display: inline-block;
	font-weight: bold;
	margin-bottom: 10px;
	padding: 10px 20px;
	text-align: center;
	text-transform: uppercase;
	-webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.custom-button-1:hover {
	background: #000000;
}

.header-button a
{
	background-color:#0e388c !important;
}

.header-button a:hover
{
	background-color:#0e388c !important;
	opacity:0.7;
}



/* --- FOOTER --- */

.et-social-icon a.icon:before {
	font-family: 'FontAwesome' !important;
}

.et-social-facebook a.icon:before {
    content: "\f082";
}

.et-social-twitter a.icon:before {
    content: "\f16d";
}

#menu-footer-menu, #footer-info {
	float: none;
	text-align: center;
}

#menu-footer-menu li:last-child {
	padding-right: 0;
}




/* --- GALLERY --- */

.mfp-title {
	display: none;
}




/* --- HEADER  --- */

.et_header_style_centered header#main-header.et-fixed-header .logo_container {
	height: 120px !important;
}

.highlight a {
	background: #105b55;
	color: #ffffff !important;
	-webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;	
}

.et_header_style_left #et-top-navigation {
    padding: 40px 0 !important;
}

#top-menu li {
	margin: 0 -2px;
    padding-right: 0;
}

#top-menu li a {
	padding: 10px !important;
}

.et-fixed-header #et-top-navigation {
    padding: 10px 0 !important;
}

#top-menu li.current-menu-item>a, #top-menu li.current-menu-ancestor>a {
	color: #105b55;
}

#top-menu .menu-item-has-children>a:first-child:after {
    position: relative;
}




/* --- HOME --- */

.border .et_pb_column_1_4 .et_pb_module {
	margin-bottom: 0 !important;
}

.border .et_pb_column {
    overflow: hidden;
    position: relative;
}
 
.border .et_pb_column img {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
 
.border .et_pb_column:hover img {
    transform: scale(1.1);
}
 
.border .et_pb_column .et_pb_image:after {
	background: rgba(0,0,0,0.4);
    content: '';
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
 
.border .et_pb_promo {
	padding: 10px !important;
    position: absolute;
    top: 0;
	height: 100%;
    width: 100%;
}

.border .et_pb_promo_description {
	border: 1px solid #ffffff;
	cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
	height: 100%;
}
 
.border .et_pb_column .et_pb_promo_description h2 {
    color: #ffffff;
    margin: 0;
    padding: 0;
	text-transform: uppercase;
}

.border .et_pb_button_wrapper {
	display: none;
}

.full-image-slider .et_pb_slide {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
 
.full-image-slider .et_pb_slide:first-child .et_pb_slide_image img.active {
	animation: unset !important;
}
 
.full-image-slider .et_pb_container {
	max-width: 100% !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
}
 
.full-image-slider .et_pb_slide_image img {
	max-height: none !important;
	width: 100% !important;
}
 
.full-image-slider .et_pb_slide_image {
	margin: 0 !important;
	padding: 0 !important;
	top: 0 !important;
	position: relative !important;
	width: 100% !important;
	display: block !important;
	-webkit-animation-name: fade !important;
	-moz-animation-name: fade !important;
	-ms-animation-name: fade !important;
	-o-animation-name: fade !important;
	animation-name: fade !important;
}
 
.full-image-slider .et_pb_slider_container_inner {
	position: relative;
}
 
.full-image-slider .et_pb_slide_description {
	position: absolute !important;
	top: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	right:  0 !important;
	padding: 0 !important;
	margin: 0 !important;
	width: auto !important;
	height: auto !important;
}
 
.full-image-slider .et_pb_slide_description .et_pb_button_wrapper,
.full-image-slider .et_pb_slide_description .et_pb_button_wrapper a,
.full-image-slider .et_pb_slide_description .et_pb_button_wrapper a:hover {
	width: 100% !important;
	height: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	color: rgba(0, 0, 0, 0) !important;  
	border: none !important;
	background: none !important;
}
 
.et_pb_column.et_pb_slider_fullwidth_off.full-image-slider .et_pb_slide_description .et_pb_slide_title,
.et_pb_column.et_pb_slider_fullwidth_off.full-image-slider .et_pb_slide_description .et_pb_slide_content,
.full-image-slider .et_pb_slide_description .et_pb_slide_title,
.full-image-slider .et_pb_slide_description .et_pb_slide_content {
	display: none;
}





/* --- INTERNAL PAGES --- */






.et_pb_gallery_image.landscape {
padding-top: 56.25%;
display: block;
}

.et_pb_gallery_image.landscape img {
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
object-fit: cover;
}
/*header
.et_pb_header_content_wrapper home_video
{padding-bottom:100px;} */

/* Footer Menu CSS*/
a.footer-link{
  color: #666 !important;
}
a.footer-link:hover {
  color: #fff !important;
}
/* Disable Header Menu */
.et_header_style_centered #main-header div#et-top-navigation {
    position: relative;
    bottom: 0;
    width: 100%;
    display: none;
}


/* Header Button */
.header-button {
  position: absolute;
	right: 50px;
  top: 50px;
}
.header-button a {
  color: #fff !important;
  padding:0.5em 0.75em;
  background-color:#00a49a;
  border: 0;
  border-radius:5px;
  font-size: 16px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.header-button a:hover {
  background: #282560;
  border: 0;
}

@media all and (max-width: 980px) {
  .header-button {
    top: 20px;
    right: 50px;
    font-size: .8em;
  }
}
@media all and (max-width: 768px) {
  .header-button {
    top: 23px;
		display:none;
  }
}
/* This CSS code shrinks the button to only show the icon on a smartphone */
@media all and (max-width: 768px) {
  .header-button {
    top: 23px;
    width:  40px;
    height:  40px;
    overflow: hidden;
    font-size: 24px;
    padding-left: 8px;
    padding: 8px;
  }
  .header-button a {
    visibility: hidden;
  }
  .icon_phone::before {
    visibility: visible;
	}
}
/*Form*/
.gform_wrapper .top_label .gfield_label, .gform_wrapper legend.gfield_label {
    display: none;
}
.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="submit"]
{
    padding: 10px 20px;
	  border:0 solid;
	  background-color:#105b55;
	  color:#fff;
	  font-size: 20px;
	  border-radius: 5px;
}
.gform_wrapper .gform_footer input[type=submit]:hover {
    background-color: #000000;
}
.gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]) {
    padding: 15px 15px;
    letter-spacing: normal;
	 background: #eee;
}
.gform_wrapper textarea.medium {
    background: #eee;
}
/*Button*/
.custom-button-1 {
	background: #74c6fb !important;
}
.custom-button-1:hover {
    background: #000000 !important;
}
/*Background-Color*/
.et_pb_fullwidth_header.et_pb_fullwidth_header_0 {
    background-color: #74c6fb !important;
}
#main-header {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
   }
/*Image Padding Mobile*/
@media (max-width: 980px){
.et_pb_section .et_pb_column .et_pb_module {
    margin-bottom: 0px!important;
	}}





/* --- RESPONSIVE --- */

@media (max-width: 1200px) {
	
	#logo {
		float: left !important;
		margin-top: 25px;
	}
	
}

@media (max-width: 980px) {
	
	.two-col-1 .et_pb_row .et_pb_column .et_pb_text {
		margin-top: 0 !important;
	}
	
	#logo {
		margin-top: 0;
	}
	
	.header-button {
		right: -30px !important;
	}
	
}

@media (max-width: 767px) {
	
	.two-col-1 .et_pb_row .et_pb_column .et_pb_text {
		padding: 5% 10%;
	}
	
	#logo {
		float: none !important;
	}
	
}

.sitmap_box{ margin:0px 0px; padding:10px 0px 20px; text-align:center;}
.lanmenu { margin:0px 0px; padding:0px 5px; cursor: pointer; color:#0e388c; font-size:14px; font-weight:600;}
.all_landing_menu{ margin:0px auto; padding:0px 5px 40px; max-width:1150px; display:none; text-align:center;}
.all_landing_menu ul{ margin:0px 0px; padding:0px 0px; list-style-type:none;}
.all_landing_menu ul li{ margin:0px 0px; padding:0px 0px; display:inline-block; line-height:normal; font-size:14px; color:#0e388c;}
.all_landing_menu ul li a{padding:5px 7px; display:block; text-decoration:none; color:#0e388c; text-transform:capitalize;}
.all_landing_menu ul li a:hover{color:#0e388c; text-decoration:underline;}
.all_landing_menu ul li.current-menu-item a{color:#0e388c; font-weight:bold;}