/* 
Theme Name: deck13
Author: IntraLush - Shawn Bryant
Author URI: http://www.intralush.com
Description: A child theme template for Deck13
Template: Divi
Version: 1.0
*/

/* ----------- Deck13 Custom CSS - Child Theme ----------- */

.d13-top-divider {
	background-size: 100% 60px;
	background-image: url( data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSI2MHB4IiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0icmdiYSgwLDAsMCwwLjc1KSI+PHBhdGggZD0iTTEyODAgMTQwVjBIMGwxMjgwIDE0MHoiIGZpbGwtb3BhY2l0eT0iLjUiLz48cGF0aCBkPSJNMTI4MCA5OFYwSDBsMTI4MCA5OHoiLz48L2c+PC9zdmc+);
	transform: rotateY(180deg);
	width: 100%;
	position: absolute;
	height: 100%;
	background-repeat: no-repeat;
}
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
    background-color: rgb(0, 0, 0, 0) !important;
    color: rgba(255,255,255,0.85) !important;
}
.et_pb_slides{animation-name: fadeIn;}
.et_fixed_nav.et_show_nav #page-container, .et_non_fixed_nav.et_transparent_nav.et_show_nav #page-container {
    	padding-top: 0px !important;
    	margin-top: 0px !important;
}
.container.et_menu_container {height: 60px !important;}
.et_header_style_left #et-top-navigation, .et_header_style_left .et-fixed-header #et-top-navigation {padding-top: 18px; height: 0px;}
.box-container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 35px 15px;
  width: 100%;
}
@media screen and (min-width:481px) {
  .box-container {
    flex-direction: row
  }
}

.flip-box {
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  perspective: 1000px;
  -webkit-perspective: 1000px;
}

.flip-box-front,
.flip-box-back {
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  -ms-transition: transform 0.7s cubic-bezier(.4,.2,.2,1);
  transition: transform 0.7s cubic-bezier(.4,.2,.2,1);
  -webkit-transition: transform 0.7s cubic-bezier(.4,.2,.2,1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.flip-box-front {
  -ms-transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-front {
  -ms-transform: rotateY(-180deg);
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.flip-box-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  
  -ms-transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-back {
  -ms-transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.flip-box-front img {
	width: 100%;
	filter: drop-shadow(2px 4px 6px #00000030);
}
.flip-box-front > div, .flip-box-back > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	align-content: center;
	height: 100%;
}
.flip-box:before {
    content: '';
    padding-top: 80%;
    display: block;
    z-index: -5;
}
@media screen and (min-width:981px){
.career-kacheln .flip-box:not(:last-child):after {
	content: '';
	width: 20px;
	height: 20px;
	border-right: 4px solid #b32226;
	border-bottom: 4px solid #b32226;
	transform: rotate(-45deg);
	position: absolute;
	top: 40%;
	right: 0;
	margin-right: -41px;
}
.arrow-rt-lb hr {border-color: #b12226;border-style: dotted;border-width: 8px;border-top: 0;}

.arrow-rt-lb .arrow-down {
    width: 25px;
    height: 25px;
    border-right: 4px solid #b32226;
    border-bottom: 4px solid #b32226;
    transform: rotate(45deg);
    position: absolute;
    top: 20px;
    left: 0;
    margin-left: -9px;}

.arrow-rt-lb .arrow-down:before {width: 8px;height: 8px;content: '';display: block;border-radius: 100%;background: #b12226;}

.arrow-rt-lb .et_pb_code_inner {margin-left: 10%;margin-right: 10%;}

.arrow-rt-lb .from-top {
    width: 0;
    height: 25px;
    border-right: 9px #b32226;
    
    
    border-style: dotted;position: absolute;
    top: -32px;
    right: 0px;
    margin-left: -9px;
}
}
@media screen and (max-width:980px){
.arrow-rt-lb {
    display:none;
}
.flip-box {
    display: flex;
    justify-content: center;
}
.career-kacheln .flip-box:after {
    content: '';
    width: 20px;
    height: 20px;
    border-right: 4px solid #b32226;
    border-bottom: 4px solid #b32226;
    transform: rotate(45deg);
    position: absolute;
    bottom: 0;
}
}

.slider--text .et_pb_slide_content {width: 100%;}

.slider--buttons .et_pb_slide_content > p:last-child {display: flex;justify-content: center;flex-wrap: nowrap;}

.slider--buttons .et_pb_slide_content > p:last-child a:first-child {margin-right: 1rem;}

.slider--buttons .et_pb_slide_content > p:last-child a:hover {background: #ffffff82;}

.slider--text .et_parallax_bg {filter: brightness(0.5);}

.slider--buttons .et_pb_slide_content > p:last-child a {
	background: #ffffffc7;
    text-shadow: none;
    font-weight: 600;
    text-shadow: 0 0 2px #ffffff;
}

.slider--buttons .et_pb_slide_content > p:last-child a:hover {
	background: #B3222B;
	color: white;
	font-weight: unset;
	text-shadow: 0 0 2px #ffffff00;
}

@media screen and (max-width:720px){

.slider--buttons .et_pb_slide_content > p:last-child {
	display: flex;
    flex-direction: column;
    align-content: center;
	}

.slider--buttons .et_pb_slide_content > p:last-child a:first-child {
	margin-right: 0;
	margin-top: 2rem;
	}
}


.menu-item.menu-item-has-children:before {
    content: '';
    position: absolute;
    width: 60px;
    height: 45px;
    right: 0;
	z-index: 9999;
}

#main-header .et_mobile_menu .menu-item.menu-item-has-children:hover ul.sub-menu {
    display: block !important;
    visibility: visible !important;
}
#timeline > div >.et_pb_column:last-child {
    border-left: solid #b32226 5px;
    padding-left: 25px;
}

#timeline > div >.et_pb_column:last-child > div:before {
    content: '';
    width: 30px;
    height: 30px;
    background: #ffffff;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 100%;
    margin-left: -48px;
    border: #b32226 solid 5px;
    bottom: 0;
    margin-top: 2.5rem;
    margin-bottom: auto;
}

#timeline h3 {
    font-size: 3rem;
    text-decoration: underline;
    color: white;
}

#timeline h4, #timeline h4 b {
    font-weight: 300;
    color: white;
}
#timeline .et_pb_row > .et_pb_column:nth-child(2) .et_pb_row_inner:not(:hover) > .et_pb_column:first-child .et_pb_module {
    transition: border-radius 0.8s, min-height 1.2s;
    border-radius: 0 0 120px 0;
    overflow: hidden;
}
#timeline > div >.et_pb_column:last-child .et_pb_column:first-child .et_pb_text_inner {
    padding-left: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: linear-gradient(180deg, #000000, transparent);
    transition: all 1s;
}

#timeline > div >.et_pb_column:last-child .et_pb_column:hover:first-child .et_pb_text_inner {
	opacity: 0.4;
}

#timeline .et_pb_row > .et_pb_column:nth-child(2) .et_pb_row_inner > .et_pb_column:first-child .et_pb_module{
	border-radius: 0;
}

#timeline >div > .et_pb_column:first-child h3 {
    text-decoration: none;
    color: #b32226;
    font-size: 1.2rem;
}

#timeline >div > .et_pb_column:first-child h2 {
    font-size: 4rem;
    text-transform: uppercase;
    font-weight: 800;
}

#timeline .et_pb_row > .et_pb_column:nth-child(2) .et_pb_row_inner > .et_pb_column {
    transition: all 0.5s;
}

#timeline .et_pb_row > .et_pb_column:nth-child(2) .et_pb_row_inner > .et_pb_column:first-child .et_pb_module {
	transition: all 0.5s;
}
#timeline .et_pb_row > .et_pb_column:nth-child(2) .et_pb_row_inner:not(:hover) > .et_pb_column:first-child .et_pb_module {
    min-height: 100px;
}
#timeline .et_pb_row > .et_pb_column:nth-child(2) .et_pb_row_inner:hover > .et_pb_column:first-child .et_pb_module {
    min-height: 400px;
}
@media screen and (min-width:768px){
	#timeline .et_pb_row > .et_pb_column:nth-child(2) .et_pb_row_inner:not(:hover) > .et_pb_column:first-child {
		width: 100%;
		z-index:5;
	}

	#timeline .et_pb_row > .et_pb_column:nth-child(2) .et_pb_row_inner > .et_pb_column:last-child {
		position:absolute;
		right: 0;
		z-index: 1;
		opacity: 1;
	}
}
#timeline .et_pb_row > .et_pb_column:nth-child(2) .et_pb_row_inner:not(:hover) > .et_pb_column:last-child {
    opacity: 0;
}
.plattform-icons {
    width: 100%;
    display: block;
    height: 25px;
}

.plattform-icons p {
    display: flex;
    justify-content: flex-start;
}

.plattform-icons img, .plattform-icons p > * {
    height: 25px;
    width: auto;
}

.plattform-icons img:not(:last-child), .plattform-icons p > a:not(:last-child) {
    margin-right: 0.5rem;
}

.plattform-icons p > a:hover {
    transform: scale(1.1);
    filter: drop-shadow(2px 4px 6px #1019368f);
}

.plattform-icons p > a {
    transition: all 0.5s;
    filter: drop-shadow(0px 0px 0px #1019368f);
}
.plattform-icons p {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
}
