/* 
 Theme Name:     Divi Child Theme
 Author:         Marketing Together
 Author URI:     https://www.marketingtogether.com.au
 Template:       Divi
 Version:        1.0 
*/ 

/* THEME COLOURS | eg LOGO main #XXXXXX | BLue #0099cc */

/* -----------------------------------------------------------------------------------------------------HEADER AREA CSS */

.sp-header--section .et_pb_row {
	display: grid;
	grid-template-columns: 1fr;
}

.sp-header--section .et_pb_row .et_pb_column,
#et-boc .et-l .sp-header--section .et_pb_row .et_pb_column {
	width: 100% !important;
}

.sp-header--section .et_pb_row > .et-last-child {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	grid-row: 1;
	grid-column: 1;
}

.sp-main-nav .et-menu .menu-item {
	padding-left: 5px;
	padding-right: 5px;
}

.sp-main-nav .et-menu .menu-item > a {
	padding: 0.5em 2em;
	border-radius: 4px;
	position: relative;
}

.sp-main-nav .et-menu .menu-item > a:hover {
	opacity: 1;
}

.sp-main-nav .et-menu .menu-item > a::before {
	content: '';
	background-color: #128FBE;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	border-radius: 4px;
	z-index: -1;
}

.sp-main-nav .et-menu .menu-item > a::after {
	content: '';
	clip-path: circle(25% at -25% 180%);
	background-color: #FFC629;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	transition: all 0.5s ease, clip-path 1s ease;
	border-radius: 4px;
	z-index: -1;
	opacity: 0;
}

.sp-main-nav .et-menu .current-menu-item:not(.anchor-link) > a::after {
	clip-path: circle(145% at 98% 2%);
	opacity: 1;
}

.sp-main-nav .et-menu .menu-item > a:hover::after {
	clip-path: circle(145% at 98% 2%);
	opacity: 1;
}

.sp-header--call {
	width: 100%;
}

.sp-header--call i {
	font-size: 15px;
	background-color: #128FBE;
	padding: 5px;
	border-radius: 4px;
	margin-right: 10px;
}

@media screen and (min-width: 981px) {
	.sp-header--section .et_pb_row {
		grid-template-columns: 1fr 4fr;
	}
	
	.sp-header--section .et_pb_row > .et-last-child {
		grid-row: 1;
		grid-column: 2;
	}
	
	.sp-header--call p {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		flex-wrap: wrap;
	}
	
	.sp-header--call strong {
		font-size: 38px;
		width: 100%;
		margin-top: 15px;
	}
}

/* -----------------------------------------------------------------------------------------------------MAIN AREA CSS */

#et-main-area {
	margin-top: calc(-5vw + -35px);
	position: relative;
}

.sp-wave--orange .et_pb_row,
.sp-wave--blue .et_pb_row {
	-webkit-mask-image: url(images/image-mask-top.svg), url(images/image-mask-bottom.svg), url(images/all-in.svg);
	mask-image: url(images/all-in.svg), url(images/image-mask-top.svg), url(images/image-mask-bottom.svg);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-composite: destination-out, destination-out;
	mask-composite: subtract, add;
	-webkit-mask-size: contain, contain, cover;
	mask-size: cover, contain;
	-webkit-mask-position: center top -1px , center bottom -1px, center center;
	mask-position: center top -1px , center bottom -1px, center center;
}

.sp-wave--orange::before {
	content: '';
	background-image: url('images/orange-div.svg');
	background-repeat: no-repeat;
	background-position: left 5vw top 50px;
	background-size: 40vw;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

.sp-wave--blue::before {
	content: '';
	background-image: url('images/blue-div.svg');
	background-repeat: no-repeat;
	background-position: right -50px top 25px;
	background-size: 40vw;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

.sp-wave--orange .et_pb_row .et_pb_column,
.sp-wave--blue .et_pb_row .et_pb_column {
	max-width: 1200px;
	width: 80%;
	margin: 0 auto !important;
	float: none;
}

/* -----------------------------------------------------------------------------------------------------HOME PAGE GENERAL CSS */

ul.footer-blk li a {
    color: #fff;
}
ul.footer-blk li {
    list-style: none;
	  margin-bottom: 4px;
}
ul.footer-blk {
    padding-left: 0px;
    padding-bottom: 0px;
}

.footer-blk .fas.fa-angle-right {
    float: right;
}
.footer-blk .fas.fa-phone-alt {
    float: right;
    color: #ffc629;
}
.mt {
    align-items: center;
    display: inline-flex;
}
.mt img {
    padding-left: 18px;
}

.hd-sec {
	position: relative;
}

.hd-sec::before {
    content: '';
	background-image: url('images/light-blue-div.svg');
    background-position: right -100px top;
	position: absolute;
    top: -80px;
	right: 0;
	left: 0;
	bottom: 0;
	background-repeat: no-repeat;
}

/* -----------------------------------------------------------------------------------------------------FORMS CSS */

.gfield {
	position: relative;
}

.gfield_label {
	position: relative;
	transition: all 0.4s ease;
	top: calc(50% + 5px);
	left: 15px;
	color: #051140;
}

.active-field .gfield_label {
	top: 0;
	color: #fff;
}

.gfield.type-select .gfield_label {
	visibility: hidden;
}

.gfield input,
.gfield textarea,
.gfield select {
	border-radius: 4px;
	border: none;
	padding: 15px 15px !important;
	color: #051140;
}

.gform_button {
	background-color: #051140;
	padding: 10px 15px;
	border-radius: 4px;
	color: #fff;
	font-size: 16px;
	border: none;
	font-weight: 700;
	transition: all 0.3s ease;
	cursor: pointer;
}

.gform_button:hover {
	background-color: #ffc629;
}