/*
Theme Name: Essers Schärerei
Description: Child theme for Avada theme
Author: ThemeFusion
Theme URI: http://avada.theme-fusion.com/
Author URI: http://themeforest.net/user/ThemeFusion
Template: Avada
Version: 5.0.1
Text Domain: Avada
*/

/*Colors*/

.red {color:#d31d1c;}
.dkred {color:#b41918;}
.gray {color:#777574;}


body #main {
   padding-top: 0px;
}
   

/*Header*/

body .fusion-header-v4 .fusion-logo .fusion-header-content-3-wrapper {
    position: relative;
    width:auto;
    display:block;
    margin:auto;
    left:-50px;
}

.header-icons, #language-navi {float:left;}

.header-icons a { font-size:28px; float:left; margin:0; padding:0px 5px; color:#777574; }

#language-navi, #language-navi ul {list-style:none; margin:3px; padding:0}

#language-navi li a{font-size:22px;}

#iconnavi { position:absolute; top:31px; right:0px; }

#iconnavi a:hover { color:#d31d1c; }


body .fusion-header-v4 .fusion-header {
    padding-bottom: 10px;
    padding-top: 10px;
    position: relative;
    z-index: 300;
}

/*Navi*/

body .fusion-secondary-main-menu { background-color:#d31d1c; }

body .fusion-main-menu > ul > li > a, .side-nav li a {
    text-transform:uppercase;
}

body .fusion-main-menu > ul > li {
    padding: 0 20px;
}

body .fusion-main-menu .current_page_item a, body .fusion-main-menu .menu-item a{ 
	border-top:none !important;
}

body .fusion-main-menu .sub-menu li:last-child a {
    border-bottom: none !important;
    
}

body .fusion-main-menu li.current-menu-item  {
	background-color:#b41918;
}

body .fusion-main-menu li:hover  {
	background-color:#b41918;
}


body .fusion-main-menu .sub-menu {
    border-top: none !important;
}

body .fusion-secondary-main-menu {
    border-bottom: 0px !important;
}

body .fusion-main-menu > ul > li:last-child {
    padding-right: 20px;
}

body .fusion-secondary-main-menu .fusion-main-menu .lang-item { display:none !important; }



/*Searchbox*/

body .fusion-main-menu .fusion-main-menu-search .fusion-custom-menu-item-contents {
    border: none;
}

body #wrapper .search-table .search-field input, body .main-nav-search-form input, body .search-page-search-form input{
    color: #777574;
}

/*Search 404 Login*/

.search-results #main, .error404 #main, .search-no-results #main {
	padding-top:30px;
}

.post-password-form {
	padding:30px 0px 80px 0px;
}

/*Content*/

/*Slider*/

#rev_slider_2_1_wrapper {
	border: none;
}

/* Form */

.wpcf7-form label,
.wpcf7-form label .label {
	opacity: 0;
	visibility: hidden;
}

.wpcf7-form .uploadForm label,
.wpcf7-form .dropdown label,
.wpcf7-form .schaeranfrage label,
.wpcf7-form .wpcf7-list-item label {
	opacity: 1 !important;
	visibility: visible;
}

.wpcf7-form .pdf i {
	color: #d31d1c;
	margin-top: 2px;
}

.wpcf7-form-control-wrap .wpcf7-not-valid-tip {
	font-size: 13px;
}

.wpcf7-form-control.wpcf7-file:focus,
.wpcf7-list-item input[type="checkbox"] {
	border: 1px solid #d31d1c;
}

.wpcf7-form-control.wpcf7-submit:focus {
	border: 2px solid;
	border-color: #000 !important;
}

/* The container */
.wpcf7-form .wpcf7-list-item label {
	display: block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 12px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
  }
  
  /* Hide the browser's default checkbox */
  .wpcf7-form .wpcf7-list-item label input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 25px;
	width: 25px;
	background-color: #eee;
	font-size: 18px;
  }
  
  /* On mouse-over, add a grey background color */
  .wpcf7-form .wpcf7-list-item label:hover input ~ .checkmark {
	background-color: #ccc;
	border: 1px solid #ccc;
  }
  
  /* When the checkbox is checked, add a blue background */
  .wpcf7-form .wpcf7-list-item label input:checked ~ .wpcf7-list-item-label .checkmark {
	background-color: #d31d1c;
  }

  /* When the checkbox is checked, add a blue background */
  .wpcf7-form .wpcf7-list-item label input:focus ~ .wpcf7-list-item-label .checkmark {
	border: 1px solid #d31d1c;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
	content: "";
	position: absolute;
	display: none;
  }
  
  /* Show the checkmark when checked */
  .wpcf7-form .wpcf7-list-item label input:checked ~ .wpcf7-list-item-label .checkmark:after {
	display: block;
  }
  
  /* Style the checkmark/indicator */
  .wpcf7-form .wpcf7-list-item label .wpcf7-list-item-label .checkmark:after {
	left: 8px;
	top: 4px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
  }

 
/*1. Schäranfrage*/

.contact-number { width:auto; margin:auto;display:table; }
.contact-number .icon {display:table;float:left;}
.contact-number .icon i {background-color:transparent;border-color:transparent;color:#d31d1c;font-size:48px;}
.contact-number h2 {font-size: 34px; display:table; float:left;}

/*2. Page title*/

body .fusion-page-title-bar {
    background-position:center -80px;
    background-color:#000;
    border:none;
}    

/*Home*/

#Unternehmen .reading-box {
	background-position:center;
	background-repeat:none;
	background-image: url("https://www.essers-schaererei.de/wp-content/uploads/2017/01/essers_teaser_unternehmen.jpg");
    background-color:#000;
    color: #fff;
}


#Leistungen .reading-box {
	background-position:center;
	background-repeat:none;
	background-image: url("https://www.essers-schaererei.de/wp-content/uploads/2016/11/essers_teaser_leistungen.jpg");
    background-color:#000;
}

#Anwendungen .reading-box {
	background-position:center;
	background-repeat:none;
	background-image: url("https://www.essers-schaererei.de/wp-content/uploads/2016/11/essers_teaser_anwendungen.jpg");
    background-color:#000;
}


#Matratzen .reading-box {
	background-position:center;
	background-repeat:none;
	background-image: url("http://localhost:8888//wp-content/uploads/2016/11/essers_teaser_matratze.jpg");
    background-color:#000;
}


body .reading-box h2, body .reading-box-description {
    color: #fff;
    text-shadow: 0px 0px 6px rgba(0, 0, 0, 1);
}

body .reading-box-description {
	min-height: 120px;
}

/*Leistung*/

.panel-title.toggle { font-size:20px; }

div.icon_width {
	display: block;
	float: none;
	clear: both;
	margin-bottom: 15px;
}



/*Anwendung*/

.fusion-portfolio-content h2 a {
	font-size: 22px; 
}


.fusion-portfolio-content .fusion-post-content {
	min-height: 180px;
	border-bottom: 1px solid #d31d1c;
}

/*Backimage Font*/

.backimageFont h2, .backimageFont  h3, .backimageFont  p, .backimageFont h1{
	color: #fff !important;
}

/*Footer*/

.footer-navi { width:100%; display:table; border-bottom:1px solid #FFF; margin-top:30px; padding-bottom:30px; }

.footer-navi ul { list-style:none; width:auto; display:table; margin:0 auto; }

.footer-navi li { float:left; padding: 5px 20px; }

.footer-navi li a { color:#FFF; font-size:13px; }

.footer-navi li a:hover { text-decoration:underline; }

.fusion-footer-widget-area  i, .fusion-footer-widget-area  p { float:left; margin:0; font-size:13px; }

.fusion-footer-widget-area  i { padding-right:10px; }

/*Cookies*/

	#cookie-notice .button {
	color: #fff!important;
	background-color: #b41918 !important;}
    
    #cookie-notice {
        padding: 5px;
        background: rgba(0, 0, 0, 0.8) none repeat scroll 0 0!important;
        color: #fff!important;
    }
    
    body #cookie-notice .button.bootstrap {
        text-shadow: inherit;
        background-color: #b41918 !important;
        background-image: none;
        border:none;
        box-shadow: inherit;
        padding: 12px 15px;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
    }

/* Bild Captcha*/

.captcha-image {
	width: 100% !important;
}

/* Responsive */

/*ipad quer*/

@media only screen and (min-width: 801px) and (max-width: 1024px){
	
	body .fusion-reading-box-container { padding: 0px 30px 0px 30px; }
}

/*ipad hoch*/

@media only screen and (min-width: 481px) and (max-width: 800px){

	
}

/*ipad hoch*/ /*iphone*/

@media only screen and (min-width: 320px) and (max-width: 800px){ 

	
	.fusion-mobile-nav-item.lang-item { display: block; }

	body .fusion-header-v4 .fusion-logo .fusion-header-content-3-wrapper {
    display:none;
}
	body  .fusion-mobile-menu-design-modern.fusion-header-v4 .fusion-logo a {
    float: left;

}
    body .lang-item { display: block !important; }
	
	#iconnavi { right:50px; top:-10px; display: none;}
	
	#iconnavi .fusion-main-menu { display:block; }
	
	/*body .fusion-mobile-menu-icons a { font-size:28px; margin-top:5px;}*/
	
	body .fusion-mobile-menu-icons a::before {
    color:#777574;
}

	
	/*Slider*/
	
	body .Essers_Layerslider { padding:0px !important; margin: 0px -30px 30px !important; }
	
	body .rev_slider_wrapper .rev_slider .tp-leftarrow.tparrows::before, body .rev_slider_wrapper .rev_slider .tp-rightarrow.tparrows::before { font-size: 15px; line-height: 33px;}
	
	body .rev_slider_wrapper .rev_slider .tp-leftarrow.tparrows, body .rev_slider_wrapper .rev_slider .tp-rightarrow.tparrows {
    height: 33px !important;
    width: 33px !important;
}
	
	body .tp-shadow2::before, .tp-shadow2::after, body .tp-shadow3::before, .tp-shadow4::after {
	box-shadow:none !important;
}
	
	/*Content*/
	
	body #main { padding-top: 0px; } 
	
	body .fusion-page-title-bar { background-position: center center; }
	
	body .fusion-reading-box-container { padding: 0px 15px; }
	
	#Anfrage { padding: 0px 15px !important; }
	
	body .fusion-column-wrapper img {
	padding-bottom: 15px;
}
	body .fusion-reading-box-container {
	margin-bottom:30px!important;
}

	.home_divider {
	padding: 0px 20px;
}
	
	/*Footer*/
	
	footer .fusion-columns .fusion-column:not(.fusion-column-last) { margin: 0 0 20px;}
	
	.footer-navi ul { padding-left: 0px; }
	
	.footer-navi li { padding: 5px 10px 5px 0px; }

}


/*iphone*/

@media only screen and (min-width: 320px) and (max-width: 480px){
	
	/*Typo -4px*/
	
	body h1 {font-size: 30px !important;}
	body h2 {font-size: 22px !important;}
	body h3, body h3 p {font-size: 20px !important;}
	body p {font-size: 14px !important;}
	
	/* hyphens */

#main {
	-moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto; 	
   padding-top: 0px;
}

body #cookie-notice .button.bootstrap {
    margin-top: 10px;
    display: block;
    font-size: 16px;
    padding: 5px 10px;
}
	
}

