/*
Theme Name: Start Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://startdigital.com.au/
Author: Start Digital
Author URI:  https://startdigital.com.au/
Template: start
Version: 1.2
Last Updated: 16/12/2021
Last Updated By: Joe Grant
*/

ul li::marker {
    color: #ff8502 !important;
}

/* --- GLOBAL STYLING --- */
@media screen and (min-width: 1000px) {
    body {
        clip-path: inset(10px round 20px 20px 20px 20px);
        -webkit-clip-path: inset(10px round 20px 20px 20px 20px);
        border: 10px solid #fff;
    }
}

/* --- GLOBAL HEADER / MENU STYLING --- */
@media screen and (min-width: 1000px) {
    #header-outer nav .sub-menu {
        width: 56em;
        border: none !important;
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 10px;
    }
    
    #header-outer nav .sub-menu li.menu-item:not(last-of-type) {
        border-bottom: 1px solid #f2f2f2;
        /*width: 50%;*/
        /*float: left;*/
    }
    
    #header-outer nav .sub-menu li.menu-item:last-of-type {
        border: none !important;
    }
    
    #search-outer .ui-widget-content li:hover *, #search-outer .ui-widget-content .ui-state-focus *, body #top nav .sf-menu ul .sfHover > a, #header-secondary-outer ul ul li:hover > a, #header-secondary-outer ul ul li:hover > a i, #header-secondary-outer ul .sfHover > a, body[data-dropdown-style="minimal"] #header-secondary-outer ul > li:not(.megamenu) .sfHover > a, body #top nav .sf-menu ul .sfHover > a .sf-sub-indicator i, body #top nav .sf-menu ul li:hover > a .sf-sub-indicator i, body #top nav .sf-menu ul li:hover > a, body #top nav .sf-menu ul .current-menu-item > a, body #top nav .sf-menu ul .current_page_item > a .sf-sub-indicator i, body #top nav .sf-menu ul .current_page_ancestor > a .sf-sub-indicator i, body #top nav .sf-menu ul .sfHover > a, body #top nav .sf-menu ul .current_page_ancestor > a, body #top nav .sf-menu ul .current-menu-ancestor > a, body #top nav .sf-menu ul .current_page_item > a, body .sf-menu ul li ul .sfHover > a .sf-sub-indicator i, body .sf-menu > li > a:active > .sf-sub-indicator i, body .sf-menu > .sfHover > a > .sf-sub-indicator i, body .sf-menu li ul .sfHover > a, #header-outer nav > ul > .megamenu > ul ul .current-menu-item > a, #header-outer nav > ul > .megamenu > ul > li > a:hover, #header-outer nav > ul > .megamenu > ul > .sfHover > a, body #header-outer nav > ul > .megamenu ul li:hover > a, #header-outer #top nav ul li .sfHover > a .sf-sub-indicator i, #header-outer #top nav > ul > .megamenu > ul ul li a:hover, #header-outer #top nav > ul > .megamenu > ul ul li a:focus, #header-outer #top nav > ul > .megamenu > ul ul .sfHover > a, #header-outer #header-secondary-outer nav > ul > .megamenu > ul ul li a:hover, #header-outer #header-secondary-outer nav > ul > .megamenu > ul ul li a:focus, #header-outer #header-secondary-outer nav > ul > .megamenu > ul ul .sfHover > a, #header-outer #top nav ul li li:hover > a .sf-sub-indicator i, #header-outer[data-format="left-header"] .sf-menu .sub-menu .current-menu-item > a, body:not([data-header-format="left-header"]) #header-outer #top nav > ul > .megamenu > ul ul .current-menu-item > a, body:not([data-header-format="left-header"]) #header-outer #header-secondary-outer nav > ul > .megamenu > ul ul .current-menu-item > a, #header-outer #top nav > ul > li:not(.megamenu) ul a:hover, body[data-dropdown-style="minimal"] #header-secondary-outer ul >li:not(.megamenu) ul a:hover, #header-outer #top nav > ul > li:not(.megamenu) .sfHover > a, #header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) .sfHover > a, #header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) ul a:hover, #header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) .current-menu-item > a, #header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) ul .current-menu-item > a, #header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) ul .current-menu-ancestor > a, #header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) ul .current-menu-ancestor > a .sf-sub-indicator i, #header-outer:not([data-format="left-header"]) #top nav > ul > .megamenu ul ul .current-menu-item > a, #header-outer:not([data-format="left-header"]) #header-secondary-outer nav > ul > .megamenu ul ul .current-menu-item > a, body:not([data-header-format="left-header"]) #header-outer nav > ul > .megamenu > ul > li > ul > .has-ul > a:hover, body:not([data-header-format="left-header"]) #header-outer nav > ul > .megamenu > ul > li > ul > .has-ul > a:focus, body:not([data-header-format="left-header"]) #header-outer nav > ul > .megamenu > ul > li:hover > a, body:not([data-header-format="left-header"]) #header-outer nav > ul > .megamenu > ul > li > ul > .has-ul:hover > a, #header-outer:not([data-format="left-header"]) nav > ul > .megamenu ul ul .current-menu-item.has-ul > a, #header-outer:not([data-format="left-header"]) nav > ul > .megamenu ul ul .current-menu-ancestor.has-ul > a {
        background: rgb(255 133 2 / 5%) !important;
    }
    
    #header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) ul a i, 
    #header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) ul a .nectar-menu-icon-text {
        transition: cubic-bezier(0.46, 0.03, 0.52, 0.96) 0.2s;
    }
    
    #header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) ul a i {
        color: #000000 !important;
    }
    
    #header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) ul a:hover i {
        transform: translateX(4px);
        transition: cubic-bezier(0.46, 0.03, 0.52, 0.96) 0.2s;
        color: #ff8500 !important;
    }
    
    #header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) ul a:hover .nectar-menu-icon-text {
        transform: translateX(4px);
        transition: cubic-bezier(0.46, 0.03, 0.52, 0.96) 0.2s;
    }
    
    div#header-outer.scrolled-down, 
    div#header-outer.small-nav {
        width: 95%;
        border-radius: 20px;
        left: 0;
        right: 0;
        margin: 0 auto;
        top: 40px !important;
        transform: translateY(0) !important;
    }
    
    #header-outer:not(.small-nav) {
        top: 10px !important;
    }
    
    div#header-outer.scrolled-down div#header-secondary-outer, 
    div#header-outer.small-nav div#header-secondary-outer {
        display: none;
    }
    
    body.material #header-secondary-outer nav > ul > li > a {
        font-family: united-sans-smcd !important;
        text-transform: uppercase !important;
        font-size: 14px !important;
        font-weight: 700 !important;
    }
    
    body.material #header-secondary-outer nav>.sf-menu {
        height: 47px;
        align-items: center;
        display: flex;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 1000px) {
	body #slide-out-widget-area .inner .off-canvas-menu-container li a {
		font-size: 20px !important;
		line-height: 22px !important;
	}
	body #slide-out-widget-area .inner .off-canvas-menu-container .sub-menu li a {
		font-size: 16px !important;
	}
	body #slide-out-widget-area .inner .off-canvas-menu-container .sub-menu li.menu-item {
		border-bottom: 2px solid rgb(255 255 255 / 5%);
	}
}

.industry-sectors {
	padding: 13% 0;
}

.industry-sectors__grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-column-gap: 30px;
	grid-row-gap: 30px;
}

.grid-item {
	position: relative;
	display: flex;
	flex-direction: column;
}

.grid-item__link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
	cursor: pointer;
}

.grid-item__link:hover ~ .grid-item__img {
	filter: grayscale(0);
}

.grid-item__img {
	flex: 1;
	margin-bottom: 0 !important;
	object-fit: cover;
	filter: grayscale(100%);
	transition: filter 0.3s ease;
}

.grid-item__overlay {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(255 133 0 / .4);
    transition: opacity .2s ease;
    mix-blend-mode: overlay;
}

.grid-item:hover .grid-item__overlay {
	opacity: 0;
}

.grid-item__title {
	position: absolute;
	z-index: 2;
	bottom: 0;
	left: 0;
	padding: 12px 16px;
	color: #ff8500;
	background-color: #000;
	font-size: 18px;
	font-weight: bold;
	font-family: 'united-sans-smcd' !important;
}

@media (min-width: 768px) {
	.industry-sectors__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.industry-sectors__grid {
		grid-template-columns: 1.5fr 1fr 1fr;
		grid-template-rows: repeat(6, 1fr);
	}
	
	/* Cool masonry grid */
	.grid-item:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
	.grid-item:nth-child(2) { grid-area: 3 / 1 / 5 / 2; }
	.grid-item:nth-child(3) { grid-area: 5 / 1 / 7 / 2; }
	.grid-item:nth-child(4) { grid-area: 1 / 2 / 4 / 3; }
	.grid-item:nth-child(5) { grid-area: 4 / 2 / 7 / 3; }
	.grid-item:nth-child(6) { grid-area: 1 / 3 / 4 / 4; }
	.grid-item:nth-child(7) { grid-area: 4 / 3 / 7 / 4; }
}


/* --- INTERNAL SIDEBAR	 --- */
.page-template .main-content .internal_sidebar  {
	background:#071019;
	padding:40px 0;
	margin-bottom:50px;
}

.page-template .main-content .internal_sidebar h4 {
	font-family:'united-sans-smcd' !important;
	text-transform:uppercase;
    padding-left: 50px;
    margin-bottom: 20px;
}

.page-template .main-content .internal_sidebar h4,
.page-template .main-content .internal_sidebar a {
	color:#fff;	
}

.page-template .main-content .internal_sidebar ul {
    margin: 0;
}

.page-template .main-content .internal_sidebar li {
    padding: 10px 40px;
    border-top: 1px solid #864910;
    list-style: none;
	position: relative;
	text-transform: uppercase;
}

.page-template .main-content .internal_sidebar li .line {
    height: 1px;
    width: 25px;
    position: absolute;
    content: '';
    left: 0;
    display: block;  
    transform-origin: left;
    background-color: #fff;
    transform: translateY(calc(-50% + 0.5px)) translateZ(0);
	animation: ctaArrowLineStart .45s cubic-bezier(.23,.46,.4,1) forwards;
}

.page-template .main-content .internal_sidebar li  svg {	
    position: absolute;
    left: 25px; 
    width: 6px;
}

.page-template .main-content .internal_sidebar li .line,
.page-template .main-content .internal_sidebar li  svg {
	top: 12px;
}

.page-template .main-content .internal_sidebar li  svg,
.page-template .main-content .internal_sidebar li  svg polyline {
	animation: ctaArrowLineEnd .45s cubic-bezier(.23,.46,.4,1) forwards;	
	stroke: currentColor;
}
.page-template .main-content .internal_sidebar li  svg polyline {
	stroke-dashoffset: 140px;
    stroke-dasharray: 140px;
}

.page-template .main-content .internal_sidebar li:hover .line {
	animation: ctaArrowLineEnd .45s cubic-bezier(.23,.46,.4,1) forwards;
}

.page-template .main-content .internal_sidebar li:hover svg polyline {
	animation: ctaArrowStart .45s ease .25s forwards;
}

.page-template .main-content .internal_sidebar li a {	
	font-family: united-sans-smcd;
    font-size: 20px;
	position:relative;
	display:block;
	padding-left:40px;
}

.page-template .main-content .internal_sidebar ul li:hover a {
	animation: ctaArrowTextEnd .45s cubic-bezier(.23,.46,.4,1) forwards;
}

.page-template .main-content .internal_sidebar li:last-child {
    border-bottom: 1px solid #864910;
}

.page-template .main-content .iwithtext {
    margin-bottom: 5px !important;
}

.page-template .main-content .iwithtext img {
    width: 15px !important;
    margin: 0 !important;
}

.page-template .main-content .iwithtext .iwt-text {
    padding-left: 25px;
}

.page-template .header_section {
	margin-bottom:50px;
}

/* --- SERVICES TEMPLATE --- */
.header_section {
    background: linear-gradient(180deg, rgba(8,16,25,1) 50%, #f6f6f6 50%);
}

.header_section .container {
    padding: 90px;
}

.header_section .container .header_wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    border-radius: 40px;
    min-height: 420px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.header_section .container .header_wrapper h1 {
    color: #fff;
    text-transform: uppercase;
    font-size: 80px;
    line-height: 90px;
    text-align: center;
}

.header_section .container .header_wrapper h4 {
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0;
}


.page-template .main-content {
    margin-bottom: 100px;
}

.rad_txt {
    color: #ff8502 !important;
}



@media screen and (min-width: 1000px) {
    .page-template .main-content .row {
        width: 72%;
        float: left;
    }
	
	.page-template-contact-template .main-content .row,
	.page-template-recruitment-template .main-content .row {
		width: min(100%, 1000px);
		float: none;
		margin: 0 auto;
	}
	
    .page-template .main-content .internal_sidebar {
        width: 100%;
        max-width: 25%;
        float: right;
        padding: 40px 0;
        border-radius: 20px;
    }
}

@media screen and (max-width: 1000px) {
    .header_section .container {
        padding: 90px 0 !important;
    }
}

@media screen and (max-width: 768px) {
	.page-template-services-template h2 {
		font-size:36px;	
	}
	
	.page-template-services-template .header_section .container {
    	padding: 40px 0 !important;
	}
	
	.page-template-services-template .header_section .container .header_wrapper {
		min-height:0px;
		padding:60px 0;
	}
	
	.header_section .container .header_wrapper h1 {
		font-size: 40px;
	    line-height: 1.25;;
	}		
}
