/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/*Schriften*/
h1, h2, h3 {
    font-family: myriad-pro, sans-serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
}

h4, h5, h6 {
	font-family: myriad-pro, sans-serif !important;
}

h1 {
    font-size: 40px !important;
}

h2 {
    font-size: 40px !important;
    line-height: 1.2em;
    margin-bottom: 0.2em;
	hyphens: auto;
	-webkit-hyphens: auto;
  	-ms-hyphens: auto;
}

h3 {
    font-size: 32px !important;
    line-height: 1.1em;
}

h4 {
	font-weight: 600;
	margin-bottom: 0em;
}

h5 {
    font-size: 14px;
    font-weight: 200;
    line-break: 1.5em;
}

h6 {
	font-weight: 300 !important;
	text-transform: none;
	font-style: italic;
	font-size: 19px;
}

h6 span {
	font-weight: 300 !important;
}

p, a {
	font-family: myriad-pro, sans-serif !important;
	font-style: normal !important;
	font-size: 19px;
	line-height: 1.4rem;
	color: #000000;
}

ul li p {
	margin-bottom: 0;
}

sup {
	line-height: 0.5rem;
}

.column-count-2 .col-inner{
	-webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
  	-moz-column-fill: balance;
    column-fill: balance;
	-webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
	padding: 0px !important;
}

/*Navigation*/
.nav {
    display: table;
}

.nav li{
    display: inline;
}


.nav li a {
    font-size: 20px;
	font-weight: 400 !important;
}

.has-dropdown .icon-angle-down, .nav-dropdown-has-arrow li.has-dropdown:before, .nav-dropdown-has-arrow li.has-dropdown:after {
    display: none;
}

.nav-dropdown {
    box-shadow: none;
    border: none;
    /*left: 0px !important;*/
    opacity: 0;
    transition: opacity 0.7s;
    margin-left: -380px;
    background-color: unset;
}
/*
li.current-dropdown>.nav-dropdown, next-prev-thumbs li.has-dopdown:hover>.nav-dropdown, .no-js li.has-dropdown:hover>.nav-dropdown {
    left: -400px !important;
}*/

.nav-dropdown-default {
padding: 3px 0 0 0 !important;
}

.nav-dropdown li {
display: table-cell;
    /*position: absolute;
    transition: all 2s;
    background-color: #ffffff;*/
}
/*
.has-dropdown {
    transition: all 2s;
}*/
/*
.has-dropdown:hover .nav-dropdown li:nth-child(2){
    margin: 0 0 0 100px;
}

.has-dropdown:hover .nav-dropdown li:nth-child(3){
    margin: 0 0 0 200px;
}

.has-dropdown:hover .nav-dropdown li:nth-child(4){
    margin: 0 0 0 280px;
}
*/

.active>ul.sub-menu {
	display: initial !important;
}

.nav-dropdown {
    display: initial !important;
}

.nav-dropdown li.active>a {
    color: #3c89c9;
}

.nav-dropdown-default .nav-column li>a, .nav-dropdown.nav-dropdown-default>li>a {
    border: none;
}

.stuck .flex-right {
	margin-top: 40px;
}

/*Button allgemein*/
.button {
    margin: 0px;
	font-weight: 400;
}
    
/*Banner auf Homeseite*/
.home_banner {
    margin-bottom: -130px;
}

.flickity-slider>div:not(.col), .flickity-slider>a, .flickity-slider>p, .flickity-slider>a>img, .flickity-slider>img, .flickity-slider>figure {
	transition: transform 2s, opacity 2s, box-shadow 0.6s !important;
}

/*Kompetenzen - Grow Box*/
.grow_box {
    max-width: 23% !important;
    margin-top: 150px;
    margin-left: 1%;
    margin-right: 1%;
    z-index: 999;
    -webkit-box-shadow: 5px 5px 20px 5px rgba(0,0,0,0.25); 
box-shadow: 5px 5px 20px 5px rgba(0,0,0,0.25);
    height: 90px;
overflow: hidden;
    min-height: 90px;
    background: #ffffff;
    transition: all 0.3s ease-in-out;
}

.grow_box h2>span {
    transition: all 0.3s ease-in-out;
}

.grow_box p>span {
    color: #ffffff;
    transition: all 0.3s ease-in-out;
}

.grow_box:hover{
    margin-top: 0px;
    min-height: 240px;
    background: #3c89c9;
}

.grow_box:hover h2>span{
    color: #ffffff !important;
}

.grow_box:hover p>span{
    color: #ffffff !important;
}

/*Kunden - Kompetenzbox*/
.blue_box {
    max-width: 23% !important;
    margin-left: 1%;
    margin-right: 1%;
    z-index: 999;
    -webkit-box-shadow: 5px 5px 20px 5px rgba(0,0,0,0.25); 
box-shadow: 5px 5px 20px 5px rgba(0,0,0,0.25);
overflow: hidden;
    background:#3c89c9;
    transition: all 0.3s ease-in-out;
}

/*Referenz Hover Effekt*/
.ref_semi {
    background-image: url('/wp-content/uploads/2020/11/semikolon.png');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 80px;
    transition: all 0.2s ease-in-out;
}

/*
.ref_hover h3>span{
    transition: all 0.2s ease-in-out;
}

.ref_hover:hover h3>span{
    color: #27557c !important;	
}

.ref_hover:hover .ref_semi{
    background-image: url('/wp-content/uploads/2020/11/semikolon_dunkel.png');
}
*/

/*Coaching Tab Box*/

.tab {
    padding-top: 50px;
    margin-bottom: 20px;
    overflow: hidden;
    background: #fff;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 400;
    color: #888;
}

.tabs {
    width: 100%;
}

.tab_title {
    -webkit-box-shadow: 5px 5px 20px 5px rgba(0,0,0,0.25); 
    box-shadow: 5px 5px 20px 5px rgba(0,0,0,0.25);
    background: #ffffff;
    margin: 1%;
    max-width: 23%;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.tab_title:hover {
    background: #3c89c9;
}

.tab_title h3>span, .tab_title p>span {
    transition: all 0.2s ease-in-out;
}

.tab_title h3>span {
	font-size: min(max(2.7vw, 23px), 32px);
	hyphens: auto;
	-webkit-hyphens: auto;
  	-ms-hyphens: auto;
}

.tab_title h3 {
    line-height: min(max(2.7vw, 23px), 32px);	
}

.tab_title p>span {
	hyphens: auto;
	-webkit-hyphens: auto;
  	-ms-hyphens: auto;
}

.tab_title:hover h3>span, .tab_title:hover p>span {
    color: #ffffff !important;
}

.tabs_item {
    display: none;
    padding: 30px 0;
    &:first-child {display: block;}
}

.tab .current {
    background: #3c89c9;
}

.current h3>span, .current p>span {
    color: #ffffff !important;
}

li.p1::marker {
	color: #3c89c9;
	font-size: 22px;
}

li.p1 {
	margin-bottom: 0;
}

.tab_main p , .tab_main ul{
	margin-bottom: 0;
}

/*Team*/

.team-member .box-text img {
	vertical-align: baseline;
}

.team-member h6 {
	font-size: 21px;
}

@media only screen and (max-width: 1024px) {
	
	/*Navigation*/
	.nav-vertical>li>ul>li a, .nav-vertical>li>a {
		display: inline-block;
	}
	
	.nav-dropdown li.active>a {
    	color: none;
	}
	
	.nav-sidebar.nav-vertical>li.menu-item.active, .nav-sidebar.nav-vertical>li.menu-item:hover {
		background-color: unset !important;
	}
	
	.nav-sidebar.nav-vertical>li+li {
    	border-top: none !important;
	}
	
	.nav-sidebar.nav-vertical>li+li {
    	margin-right: 70px;
	}
	
	.tabs {
    	padding: 10px;
	}
	
	h3 > span{
		font-size: 21px;
	}
	
	.ref_hover h3 {
		line-height: 21px;
	}
	
	.home_banner {
    	margin-bottom: 20px;
	}
	
	.tab_title {
		min-width: 48%;
	}
	
	.ref_semi {
    	background-size: 50px;
	}
	
	.tab_main p , .tab_main ul{
	margin-bottom: 1.3rem;
}
}


@media only screen and (max-width: 400px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.column-count-2 .col-inner{
	-webkit-columns: 1;
    -moz-columns: 1;
    columns: 1;
  	-moz-column-fill: balance;
    column-fill: balance;
	-webkit-column-gap: 0px;
    -moz-column-gap: 0px;
    column-gap: 0px;
}
	
	
	.tab_title .col-inner p {
		display: none;
	}
	
	.ref_semi {
    	background-size: 30px;
	}
}