/*
Theme Name: esc mediagroup GmbH
Description: Child theme for Avada theme
Author: fancylab
Author URI: https://fancylab.de/
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/


/*******************
	BASIC
*******************/
html, body {
  scroll-padding-top: 125px; /* height of sticky header */
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #666 !important;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #666 !important;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #666 !important;
}
:-moz-placeholder { /* Firefox 18- */
  color: #666 !important;
}
::selection {
  background: #e10423; /* WebKit/Blink Browsers */
  color:#fff;
}
::-moz-selection {
  background: #e10423; /* Gecko Browsers */
  color:#fff; 
}
p:last-child {
    margin-bottom: 0;
}
/* Editor Format */
.highlight {
    color: #e10423;
}
.whitetxt {
    color: #fff;
}
.blacktxt {
    color: #000;
}
.uppercase {
    text-transform: uppercase;
}
.notransform {
    text-transform: none;
}
.nowrap {
    white-space: nowrap;
}
.linkinfo {
    color: #848484;
}
.wp-caption-text {
    margin-top: 5px;
    font-style: italic;
    font-size: .9em;
    text-align: left;
    color: #b4b4b4;
}
.fusion-button {
    background: #e10423;
    color: #fff;
}
.fusion-button:hover {
    background: #bb041d;
    color: #fff;
}
.fusion-button.btn-gray {
	background: #b3b3b3;
	color: #fff;
}
.fusion-button.btn-gray:hover {
	background: #666;
	color: #fff;
}
.btnGroup .fusion-button {
    margin-right: 10px;
}
.margin-20 {
	margin-top: 20px;
}
.redline {
	border: none;
    border-top: 5px solid #e10423;
    margin-top: 40px;
    margin-bottom: 40px;
}
.fusion-slider-119 .tfs-slider .background-image {
    background-size: contain !important;
}
.tfs-slider .slide-content-container .slide-content .title,
.tfs-slider .slide-content-container .slide-content h2 {
    font-size: 20px !important;
    line-height: normal !important;
    margin: 0 !important;
    padding: 0 !important;
}
.tfs-slider .slide-content-container {
    top: 50px !important;
}
.tfs-slider .slide-content-container .with-bg .fusion-title-sc-wrapper {
    background-color: #e10423 !important;
}
.page-id-4692 ul li {
    font-size: 16px;
    color: rgb(102,102,102) !important;
}


/*******************
    TMP
*******************/
.cvinfobox {
    padding: 30px;
    background: #bb041d;
    color: #fff;
}
.cvinfobox a,
.cvinfobox a:hover,
.cvinfobox a:focus {
    color: #fff;
    text-decoration: underline;
}

/*******************
	HEADER
*******************/
.fusion-main-menu ul li a {
    text-transform: uppercase;
}
.fusion-main-menu ul li ul li a {
    text-transform: none;
}
.fusion-page-title-bar .fusion-page-title-row h1 {
    font-size: 50px !important;
    background-color: rgba(0, 0, 0, 0.5);
    display: inline-block;
    color: #fff;
    padding: 0 15px;
}


/*******************
	CONTENT
*******************/
.fusion-title h2,
.fusion-title h3 {
	margin-bottom: 15px;
}
.nouppercase h2 {
	text-transform: none;
}
.fusion-text ul {
    padding-left: 20px;
}
.fusion-content-boxes .content-container img {
    width: auto;
    height: 80px;
}
.fusion-content-boxes.content-boxes-icon-boxed .content-wrapper-boxed {
    padding: 0 20px 30px !important;
}
.fusion-video {
    width: 1000%;
    max-width: none !important;
    max-height: none !important;
}
.post-content p, 
.fusion-accordian .panel-title .fusion-toggle-heading {
    text-align: justify;
}
.fusion-vimeo .video-shortcode, 
.fusion-youtube .video-shortcode {
    max-width: none !important;
    max-height: none !important;
}

/*** CONTENT - Blog Single ***/
.single #main {
    margin-bottom: 50px;
}
.single .fusion-post-title {
    color: #e10423 !important;
    font-size: 25px !important;
}
.fusion-blog-archive .entry-title {
    margin-bottom: 20px;
}
.single .flexslider .slides img {
    border: 1px solid #eee;
}
.single .wp-caption {
    margin-bottom: 40px;
}
.single .wp-caption-text {
    padding-top: 0;
}

/*** CONTENT - Blog Archive ***/
.archive #main {
    padding-bottom: 30px;
}
.archive .fusion-page-title-bar {
    height: auto;
    margin-top: 50px;
}
.archive .fusion-page-title-bar .fusion-page-title-row h1 {
    font-size: 20px;
}
.archive .fusion-page-title-bar-center .fusion-page-title-captions {
    border-bottom: 5px solid #e10423;
    padding-bottom: 15px;
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
}

/* SLIDER */
.flgallery {
    max-height: 350px;
    overflow: hidden;
    margin-bottom: 0;
}
.flgallery .flgallery-item {
    max-height: 350px;
}
.flgallery .flgallery-item .flgallery-item-content {
    z-index: 9;
    position: absolute;
    height: 100%;
    width: 100%;
}
.flgallery .flgallery-item .flgallery-item-content .flgallery-item-content-inner {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}
.flgallery-item-txt {
    font-size: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    display: inline-block;
    color: #fff;
    padding: 0 15px;
}
.flgallery .slick-dots {
	position: absolute;
    width: auto;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
    height: auto;
    text-align: left;
}
.flgallery .slick-dots li {
    position: relative;
    display: block;
    width: 12px;
   	height: 12px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    right: 0;
    margin-bottom: 10px;
}
.flgallery .slick-dots li button {
	width: 12px;
    height: 12px;
    padding: 0;
    position: absolute;
    background: rgba(170, 170, 170, 1);
    border: 1px solid rgba(229, 229, 229, 1);
    cursor: pointer;
    box-sizing: content-box;
}
.flgallery .slick-dots li button:before {
    display: none;
}
.flgallery .slick-dots li.slick-active button {
    background: rgba(225, 4, 35, 1);
}
.flgallery .slick-dots li:last-child {
    margin-bottom: 0;
}
.flgallery .slick-dots li:first-child {
    margin-top: 0;
}


/* Career */
.single-fl_career #main {
    padding-bottom: 50px;
}
.single .fl_career h2 {
    text-transform: uppercase;
    padding-bottom: 20px;
}
.jobcategorie .esc_comma:last-child {
    display: none;
}

/* FORM */
#main .wpcf7-form .fusion-layout-column, 
.fusion-modal .wpcf7-form .fusion-layout-column {
    margin-right: 1%;
    width: 49.5%;
    margin-bottom: 0;
}
#main .wpcf7-form .fusion-column-last, 
.fusion-modal .wpcf7-form .fusion-column-last {
    margin-right: 0;
}
#main .wpcf7-form .wpcf7-form-control-wrap, 
.fusion-modal .wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 20px;
}
#main input, 
#main select {
    height: 3em !important;
}
#main input[type=checkbox], 
#main #wp-comment-cookies-consent {
    vertical-align: middle;
    margin-top: 0px;
    padding: 0;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    text-align: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: inset 0 0 2px rgba(0,0,0,.12);
}
#main .wpcf7-form .wpcf7-list-item input[type="checkbox"], 
.fusion-modal .wpcf7-form .wpcf7-list-item input[type="checkbox"], 
#main .wpcf7-form .wpcf7-list-item input[type="radio"], 
.fusion-modal .wpcf7-form .wpcf7-list-item input[type="radio"] {
    width: 20px;
    height: 20px;
    line-height: 20px;
    display: inline-block;
    margin: 0 5px 0 0;
}
#main input[type=checkbox]:checked:before, 
#main #wp-comment-cookies-consent:checked:before {
    content: "\2713";
    display: inline-block;
    color: #666 !important;
    line-height: 16px;
    font-family: Arial,sans-serif;
    font-size: 12px;
    vertical-align: text-top;
    font-weight: bold;
}
#main input, #main textarea, #main select {
    font-size: 14px !important;
    background: #fff !important;
    border: 1px solid #d2d2d2 !important;
    color: #666 !important;
}
#main input[type="submit"] {
	background: #e10423 !important;
	color: #fff !important;
	border: none !important;
}
#main .wpcf7-form .termswrapper .wpcf7-list-item-label, 
.fusion-modal .wpcf7-form .termswrapper .wpcf7-list-item-label {
    display: none;
}
#main .wpcf7-form .termswrapper .kterms-label, 
.fusion-modal .wpcf7-form .termswrapper .kterms-label {
    padding: 0 0 0 10px;
    font-size: 14px;
    color: #454545;
    line-height: 1.4em;
}
#main .wpcf7-form .termswrapper label > span, 
.fusion-modal .wpcf7-form .termswrapper label > span {
    display: table-cell;
    position: static;
    vertical-align: top;
}
.fusion-modal .wpcf7-form .wpcf7-list-item:last-child, 
#main .wpcf7-form .wpcf7-list-item:last-child {
    margin: 0;
}

#main .wpcf7-form .formhint, 
.fusion-modal .wpcf7-form .formhint {
    font-size: 12px;
    text-align: right;
    color: #666;
    font-weight: 400;
}
#main .wpcf7-form .formstar,
.fusion-modal .wpcf7-form .formstar {
	font-family: Arial,sans-serif;
}

/* LISTSTYLE */
.privacy-policy ul li {
    list-style: none;
}
.privacy-policy ul li ul li {
    list-style: disc;
}

/* PRIVACY MASSAGE */
.fusion-privacy-placeholder {
    border: 1px solid #e7e7e7;
}

/* FL CAREER */
.flcareer-post-grid .fl-career-title h1 {
    color: #e10423;
    font-size: 25px;
}
.flcareer-post-grid h2 {
    font-size: 30px;
    font-family: "Raleway", Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    border-bottom: 5px solid #e10423;
    padding-bottom: 0;
}
.flcareer-txt,
.fl-career-hint {
    color: #666;
    font-size: 16px;
    margin: 0 0 10px;
    word-wrap: break-word;
    font-family: "Roboto", sans-serif;
}
.flcareer-txt ul {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}
.flcareer-txt ul li {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 24px;
    padding-left: 15px;
    position: relative;
}
.flcareer-txt ul li:before {
    color: #e10423;
    content: "\f101";
    font-family: "Font Awesome 5 Pro";
    font-size: 10px;
    line-height: 22px;
    left: 0;
    position: absolute;
    top: 0;
}

/* FL CAREER */
.fl-career-hintbox-1 .fusion-column-wrapper,
.fl-career-hintbox-2 .fusion-column-wrapper {
    padding: 60px 20px 20px;
    background-image: url('https://escmediagroup.de/wp-content/uploads/2020/01/karriere-box.jpg');
    background-position: left top;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 197px !important;
    height: auto;
}
.fl-career-hintbox-3 .fusion-column-wrapper {
    background-color: rgb(187, 4, 29);
    padding: 60px 20px 20px;
    background-position: left top;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 197px;
    height: auto;
}
.fl-career-hintbox .fusion-column-wrapper .fusion-column-content-centered {
	min-height: 197px;
}
.flredbox h3 {
    margin-top: 0;
    margin-bottom: 15px;
}
.boxtitle {
    color: #666;
    font-size: 16px;
    margin: 0 0 10px;
    word-wrap: break-word;
    font-weight: 700;
    text-align: center;
    line-height: 20px;
}
.fl-career-hintbox-3 .fusion-column-wrapper .boxtitle {
	color: #fff;
}
.boxtext {
    color: #fff;
    font-weight: 400;
    text-align: center;
    font-family: "Roboto", sans-serif;
    line-height: 1.4em;
}
.fl-career-hintbox-2 .fusion-column-wrapper .fa-file-pdf {
	color: rgb(187, 4, 29);
    font-size: 80px;
}
.fl-career-hintbox .fusion-button-wrapper {
	margin-top: 20px;
}

/* BOXEN HOME */
.fusion-content-boxes.content-boxes-icon-boxed .content-wrapper-boxed {
    min-height:400px;
}
.fusion-content-boxes.content-boxes-icon-boxed .content-wrapper-boxed h3 {
    font-weight: 600;
}
.content-box-column-1 > div {
    background-image: url('/wp-content/uploads/2020/01/programmatic-advertising-box.jpg');
    background-size:100% 100%;
}
.content-box-column-2 > div {
    background-image: url('/wp-content/uploads/2020/01/email-marketing-box.jpg');
    background-size:100% 100%;
}
.content-box-column-3 > div {
    background-image: url('/wp-content/uploads/2020/01/leadgenerierung-box.jpg');
    background-size:100% 100%;
}
.content-box-column-4 > div {
    background-image: url('/wp-content/uploads/2020/01/grafik-web-design-box.jpg');
    background-size:100% 100%;
}
.content-box-column-5 > div {
    background-image: url('/wp-content/uploads/2020/01/sea-box.jpg');
    background-size:100% 100%;
}
.content-box-column-6 > div {
    background-image: url('/wp-content/uploads/2020/01/seo-box.jpg');
    background-size:100% 100%;
}

/* BORLABS COOKIE */
#BorlabsCookieBox .cookie-box ._brlbs-btn {
    text-transform: uppercase;
}
.BorlabsCookie ._brlbs-btn-switch ._brlbs-slider {
	border-radius: 4px;
}
._brlbs-table tr th {
    background:#f5f5f5;
    border-right: 4px solid #fff;
    font-weight: bold;
}
._brlbs-table tr th, 
._brlbs-table tr td {
    text-align: left;
    padding: 10px 15px;
}
.fusion-single-line-meta {
	font-size: 14px !important;
	text-align: left !important;	
}
.fusion-single-line-meta a {
	color: #777 !important;
}
#main .gotolinkbtn {
    position: absolute;
    bottom: 45px;
    right: 20px;
}

/* Landingpage */
.sonderformate .fusion-image-element {
    margin: 0 auto;
}
.sonderformate img {
    height: 550px;
    width: auto;
}

/*******************
	FOOTER
*******************/
.fusion-footer footer .fusion-row .fusion-columns {
    display: flex !important;
}
.fusion-footer footer .fusion-columns .fusion-column {
    align-items: stretch;
    align-self: flex-start;
}
.fusion-footer footer .fusion-columns .fusion-column:first-child {
    align-self: auto;
}
.fusion-social-links-footer .fusion-social-networks a {
    font-size: 34px !important;
    float: left;
}
.fusion-social-links-footer .fusion-social-networks a.fusion-icon-facebook {
    margin-right: 0 !important;
}
.fusion-footer .widget_nav_menu li {
    display: inline !important;
    line-height: normal;
    margin: 0;
    padding: 0 !important;
}
.fusion-footer .widget_nav_menu li a {
    padding-right: 1px;
    display: inline !important;
}
.fusion-footer .widget_nav_menu li a:before {
    display: none;
}
.fusion-footer .widget_nav_menu li a:after {
    content: "|";
    color: #fff;
    padding-left: 5px;
}
.fusion-footer .widget_nav_menu li:last-child a:after {
    display: none;
}
footer #custom_html-2 {
    margin: 0 0 10px 0;
}

@media screen and (max-width: 1200px) {
    .page-id-4692 #sliders-container {
        padding: 0;
    }
    .page-id-4692 .flexslider,
    .page-id-4692 .fusion-slider-container,
    .page-id-4692 .tfs-slider .background-image {
        height: auto !important;
    }
    .page-id-4692 .tfs-slider .background-image {
        padding-top: 56.25%;
        background-size: contain;
    }
    .fusion-mobile-menu-icons a {
        font-size: 30px !important;
    }
    html.avada-is-100-percent-template #main.width-100 {
        padding: 0;
    }
    
}


@media screen and (max-width: 930px) {
    #flteam.flteam-grid .flteam-member {
        width: 50%;
    }
}
@media screen and (max-width: 800px) {
    #flteam.flteam-grid .flteam-member {
        width: 100%;
    }
    .flgallery-item-txt {
    	font-size: 35px;
    	line-height: normal;
	}
	.flgallery .slick-slide img {
    	width: auto;
    	height: 100%;
    	max-width: none;
	}
	.fusion-column-content-centered img {
    	margin: 0 auto;
    	display: block;
	}
	.to-top-right #toTop {
    	right: 20px;
    	bottom: 20px;
	}
    .page-id-4692 .fusion-button {
        margin-bottom: 20px !important;
    }
}