/*
Theme Name: Divi Child
Theme URI: https://diviextended.com/
Version: 1.0
Description: Child Theme of Divi
Author: Divi Extended
Template: Divi
*/
@import url("../Divi/style.css");

div#header-menu-wrap {
    min-width: 360px;
    max-width: 360px;
    min-height: 100vh;
    max-height: 100vh;
    background-color: #606473;
    padding-left: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    left: -360px;
    position: absolute;
    top: 0;
    transition: .35s ease;
    padding-top: 0;
    padding-bottom: 0;
    z-index: 3;
}

div#header-menu-wrap ul {
    display: flex;
    flex-direction: column;
}

div#site-header {
    z-index: 2;
}

div#menu-hamburger {
    margin: 0;
}

html.menu__active div#header-menu-wrap {
    transform: translateX(0);
}

div#header-menu-wrap ul li a {
    padding: 20px;
    justify-content: center;
    display: flex;
}

div#header-menu-wrap ul li {
    justify-content: center;
} 

div#menu-hamburger {
    border: .5px solid #9c9ca7;
    cursor: pointer;
    border-radius: 100%;
    justify-content: center;
    align-items: center;
    min-width: 60px;
    max-width: 60px;
    min-height: 60px;
    max-height: 70px;
    transition: border-color .25s;
    display: flex;
    inset: 2% auto auto 20%;
    overflow: hidden;
}

div#menu-hamburger > div {
    min-width: 50px;
    max-width: 50px;
    min-height: 50px;
    max-height: 50px;
}

div#header-text {
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 0;
    font-family: Barlow Condensed, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    white-space: nowrap;
    transform: rotate(-90deg);
    height: calc(100% - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
	color: #9c9ca7;
}

div#header-hamburger {
    height: 100%;
}

div#header-main {
    height: 100vh;
    position: relative;
    z-index: 99;
    background: #1c293d;
    margin: 0;
    width: 96px;
    overflow: hidden;
}

html.menu__active div#header-menu-wrap {
    left: 0;
}

div.service-slide {
    width: 480px;
    margin-right: 32px;
    height: auto!important;
}

div#services-carousel .slick-track {
    display: flex;
}

div#services-carousel .slick-list {
    overflow: visible;
}

div#services {
    overflow: hidden;
}

.services-slider-arrows {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.s-arrow-prev {
    transform: scaleX(-1);
}

.services-slider-arrows > div {
    cursor: pointer;
}

.slick-arrow.slick-disabled {
    opacity: .5;
}

.service-slide .et_pb_blurb_content {
    position: static;
}

.service-slide h3.et_pb_module_header a:after {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#services-carousel .service-slide:hover {
    background: #212d4e;
}

#services-carousel .service-slide:hover .et_pb_module_header a{
    color: #9c9ca7!important;
}

div#news-press-grid .et_pb_column_single {
    display: none;
}

div#news-press-grid .et_pb_column.et_pb_column_1_2 {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

div#news-press-grid .et_pb_column.et_pb_column_1_2 > div {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between!important;
}

div#news-press-grid .news-grid-image {
    max-width: 350px;
    margin: 0;
    width: 100%;
}

div#news-press-grid .news-grid-content {
    background: #0f152c;
    padding: 64px 30px 64px 60px;
    margin-left: -120px;
    max-width: 300px;
    width: 300px;
}

div#news-press-grid .news-cat-vertically{
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%) rotate(180deg);
    width: 50px;
    height: 250px;
    background: #606473;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: tb-rl;
}

.news-read-more h6 {
    display: inline-flex;
    position: relative;
    align-items: center;
}

.news-read-more h6:after {
    background-color: #9c9ca7;
    width: 32px;
    height: .5px;
    content: '';
    display: block;
    margin-left: 6px;
}

.new-press-grid-item:hover .news-grid-image {
    transform: scale(1.05);
}

.new-press-grid-item .news-grid-image {
    transition: .35s ease;
}


@media all and (max-width: 1400px){
    div#news-press-grid .news-grid-content {
        padding: 36px 20px 36px 40px;
        min-height: 360px;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
    }
    
    div#news-press-grid .et_pb_column.et_pb_column_1_2 > div {
        width: 48%;
    }
}

@media all and (max-width: 1200px){
	div#news-press-grid h3 {
		font-size: 24px;
	}

	div#news-press-grid .news-grid-content {
		min-height: 320px;
	}
}

@media all and (max-width: 1000px){
	div#news-press-grid .et_pb_column.et_pb_column_1_2 > div {
		width: 100%;
	}
}

@media all and (max-width: 767px){
	div#news-press-grid .news-cat-vertically {
		transform: none;
		writing-mode: horizontal-tb;
		width: 100%;
		height: 50px;
		top: 0;
		left: 0;
	}

	div#news-press-grid .news-cat-vertically h4 {
		padding: 0;
	}

	div#news-press-grid .news-grid-content {
		padding: 64px 30px 32px;
		text-align: center;
		align-items: center;
	}

	div#news-press-grid .news-grid-content * {
		text-align: center;
	}

	.news-read-more h6 {
		padding: 0;
		margin-top: 20px;
	}
	
	div.service-slide {
		width: 320px;
		margin-right: 20px;
	}
	
	div#services {
		background-attachment: scroll;
/*     	transform: translateZ(0); */
	}
	
	div#site-header {
		width: 100%;
		height: 90px;
		padding: 0;
		position: relative!important;
	}

	div#header-main {
		width: 100%;
		height: auto;
		padding: 20px 20px;
	}

	div#header-hamburger {
		height: auto;
		width: auto;
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	}

	div#header-text {
		transform: none;
		
	}

	div#menu-hamburger {
		right: 0;
		top: 0;
		left: auto;
		min-width: 40px;
		min-height: 40px;
		order: 2;
	}

	div#header-menu-wrap {
		max-width: 100vw;
		width: 100%;
		transform: none;
		opacity: 0;
		visibility: hidden;
		padding: 70px 30px;
		left: 0;
	}

	html.menu__active div#header-menu-wrap {
		opacity: 1;
		visibility: visible;
	}

	div#header-menu-wrap span.mobile_menu_bar {
		display: none;
	}

	div#header-menu-wrap ul {
		background: transparent !important;
		box-shadow: none;
		border: 0;
	}
}

@media all and (max-width: 360px){
	div#header-text{
		font-size: 12px;
	}
}