/* 
Theme Name: De Bono Conveyancing
Theme URI: https://github.com/elementor/hello-theme-child/
Description: A custom-crafted theme for De Bono Conveyancing by Weber Design Studio
Author: Weber Design Studio
Author URI: https://weberdesignstudio.com.au/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* TYPOGRAPHY */
.dbc-section-heading h2 {margin-bottom:10px;}
.dbc-section-heading h2::after {content:""; display:block; padding-bottom:25px; border-bottom:2px solid #FF6700; width:60px; margin:0 auto;} /* divider line after H2 heading */

.dbc-processes p:last-child {margin-bottom:0 !important;}
.dbc-processes ul li {margin-bottom:6px;}

/* STICKY HEADER EFFECTS */

/* header */
.dbc-header {transition: background-color 1s ease !important; width:100% !important;} 
.dbc-header.elementor-sticky--effects{
	background-color: #fff !important; transition: all 1s ease !important;
	-webkit-box-shadow:0px 4px 12px 0px rgba(62,66,66,0.1);
	-moz-box-shadow: 0px 4px 12px 0px rgba(62,66,66,0.1);
	box-shadow: 0px 4px 12px 0px rgba(62,66,66,0.1);
}

/* logo size */
.dbc-header .dbc-logo img {max-width:260px; transition: height ease-in-out 1s !important; padding:12px 0; }

/* ANCHOR SCROLL */

/* vertical offset anchor links when sticky header is active */
body:not(.elementor-editor-active) .elementor-widget-menu-anchor {
	position: relative;
	z-index: -1;
}
body:not(.elementor-editor-active) .elementor-menu-anchor:before {
	content: "";
	display: block;
	height: 79px; /* fixed header height */
	margin: -79px 0 0; /* negative fixed header height */
	visibility: hidden;
	pointer-events: none;
}

/* content */

.dbc-hero h1, .dbc-hero h2, .dbc-hero p {text-wrap:balance;}

/* MEDIA QUERIES */

/* min width 1025px - breakpoint for larger devices */
@media screen and (min-width:1025px){
	.dbc-header {min-height:120px; position:absolute;} /* height before scroll */
	.dbc-header.elementor-sticky--effects {min-height:80px;} /* shrink nav header on scroll */
	.dbc-header.elementor-sticky--effects .dbc-logo img {max-width:190px; transition: all ease-in-out 0.6s !important;}	
}

/* min width 768px */
@media screen and (min-width:768px){
	
	.left-heading h2::after {margin:0 !important;}
	
}

/* max width 1024px - tablet */
@media screen and (max-width:1024px){
	
	/* remove absolute positioning on tablet and mobile and make nav background opaque */
	.dbc-header {position:relative; height:80px; padding:15px; background:#fff !important;}
	
	/* reduce logo size on mobile */
	.dbc-header .dbc-logo img {max-width:200px; padding:5px 0;}
	
}