/*
 Theme Name:     CJT-Autogalerie
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme für CJT-Autogalerie
 Author:         Elmar Elberskirch
 Author URI:     https://www.bvfk.de
 Template:       Divi
  Text Domain:   cjt-autogalerie
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

.kontaktformular {
	color:#fff!important;
}

.et-fixed-header#top-header a {
	color:#fff!important;
}

.choices__item.is-highlighted, .choices__item.is-selected {
	color: #3b91e6!important;
}

.filter__headline {
    cursor: pointer;
}

.et_mobile_menu li a:hover, .nav ul li a:hover {
    background-color:transparent!important;
}
.search-box:hover{
	box-shadow:rgba(0, 0, 0, 0.2) 0px 2px 8px 0px;
	transition: all 0.2s ease;
}

.search-box:hover{
	cursor:pointer;
	box-shadow:rgba(0,0,0,0.5) 0px 2px 18px 0px;
}

.et_pb_row_0 {
    max-height:none!important;
}

.contact-btn {
	text-decoration:none!important;
    height:50px!important;
    text-align:center!important;
    width:auto;
    box-sizing: inherit;
    font: inherit;
    overflow: visible;
    text-transform: none;
    font-size: 20px!important;
    font-weight: 500!important;
    line-height: 1.7em!important;
    background-size: cover!important;
    background-position: 50%!important;
    background-repeat: no-repeat!important;
    transition-property: all!important;
    position: relative;
    font-family: inherit;
    display: inline-block;
    margin: 0 0 0 0px!important;
    cursor: pointer;
    -webkit-appearance: button;
    border-radius: 4px!important;
    background: #3b91e6!important;
    border: 2px solid #3b91e6!important;
    transition: all 0.2s ease!important;
    color: #f7f7f7!important;
}

.custom-btn {
	text-decoration:none!important;
    height:50px!important;
    text-align:center!important;
    width:auto;
    box-sizing: inherit;
    font: inherit;
    overflow: visible;
    text-transform: none;
    font-size: 20px!important;
    font-weight: 500!important;
    line-height: 1.7em!important;
    background-size: cover!important;
    background-position: 50%!important;
    background-repeat: no-repeat!important;
    transition-property: all!important;
    position: relative;
    font-family: inherit;
    display: inline-block;
    margin: 0 0 0 0px!important;
    cursor: pointer;
    -webkit-appearance: button;
    border-radius: 4px!important;
    background-color: #3b91e6!important;
    border: 2px solid #3b91e6!important;
    transition: all 0.2s ease!important;
    color: #f7f7f7!important;
}

.contact-btn:hover {
    color: #3b91e6!important;
    background: rgb(59,145,230, 0.2)!important;
	border: 2px solid rgb(59,145,230, 0.2)!important;
}

.custom-btn:hover {
    color: #3b91e6!important;
    background-color: rgb(59,145,230, 0.2)!important;
	border: 2px solid rgb(59,145,230, 0.2)!important;
}

#top-menu .menu-item.et-hover a:hover, .nav>li>a:hover, .nav>li>a:focus {
	background-color: rgb(59,145,230, 0.2)!important;
}

div.wpforms-container-full input[type=email], div.wpforms-container-full input[type=month], div.wpforms-container-full input[type=number], div.wpforms-container-full input[type=tel], div.wpforms-container-full input[type=text], .wp-core-ui div.wpforms-container-full input[type=email], .wp-core-ui div.wpforms-container-full input[type=tel], .wp-core-ui div.wpforms-container-full input[type=text], div.wpforms-container-full textarea, div.wpforms-container-full select{
	background-color:rgba(117, 171, 224, 0.5);
	color: #fff!important;
	border-radius:6px;
}

.wpforms-field-sublabel.after {
	color:#fff!important;
}

/* TOP HEADER */

#top-header .container{
    display: flex;
    justify-content: right;
}

.sub-menu{
	width:260px!important;
}

.sub-menu li, .sub-menu li a{
	width:100%!important;
}

.menu-item-411, .menu-item-412 {
	background-color: #2556b5;
}

.menu-item-411 a, .menu-item-412 a {
	color: #f7f7f7!important;
}

#top-header.et-fixed-header{
	background-color: #f7f7f7!important;
}

#top-menu > li:hover > a {
    color:#3b91e6!important;
    opacity: 1!important;
}

#top-menu .sub-menu > li:hover > a {
    color:#3b91e6!important;
    background-color:none!important;
    opacity: 1!important;
}

#top-header {
    background-color: #f7f7f7!important;
    color:#fff!important;
	font-size: 16px;
}


/* FLOATING CONTACT */

#menu-social-floating{
	color: #000;
	box-sizing: border-box;
	display: flex;
	font-size: 15px;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	list-style: none;
	flex-direction: column;
	z-index: 9;
	position: fixed;
	top: 250px;
	right: 0;
	margin: 0;
	padding: 0;
 }
#menu-social-floating li{
	color: #000;
	font-size: 15px;
	list-style: none;
	box-sizing: border-box;
	height: 50px;
	margin: 0;
	padding: 0;
	width: 50px;
	position: relative;
}
#menu-social-floating li a{
	border-radius: 4px 0px 0px 4px;
	font-size: 15px;
	list-style: none;
	box-sizing: border-box;
	text-decoration: none;
	display: flex;
	line-height: 50px;
	transition: all .5s ease 0s;
	position: absolute;
	right: -280px;
	color: #fff;
	text-align: left;
	box-shadow: 0px 0px 4px rgba(0,0,0,0.5);
}
#menu-social-floating li a.anrufenflat{
	background: #3b91e6;
}
#menu-social-floating li a.mailenflat{
	background: #6d6e71;
}
#menu-social-floating li a.googleflat{
	background: #f7f7f7;
}
#menu-social-floating li a span{
	list-style: none;
	color: #fff;
	text-align: left;
	box-sizing: border-box;
	font-weight: bold;
	line-height: 50px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 280px;
	display: block;
	order: 2;
	padding-right: 10px;
}

#menu-social-floating li a.googleflat span{
	background: #f7f7f7;
	color: #3b91e6;;
}

#menu-social-floating li a i {
	box-sizing: border-box;
	display: flex;
	justify-content:center;
	align-items:center;
	font: normal normal normal 14px/1 FontAwesome;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-size: 20px;
	line-height: 50px;
	text-align: center;
	width: 50px;
	order: 1;
}

#menu-social-floating li a svg {
	margin:auto;
	width:30px;
	height: 30px;
}

#menu-social-floating li a:hover{
	right:0;
}


/* FOOTER */

.bottom-footer-wrap{
	display:flex;
	justify-content:space-between;
	align-items:center;
	width:100%;
}
.bottom-footer-credits{
	font-size:12px;
	font-weight:normal;
}
.bottom-footer-menu{
	font-size:12px;
	font-weight:normal;
	display:flex;
	gap:18px;
}

.bottom-footer-menu a, .bottom-footer-credits a {
	color: #f7f7f7!important;
}

.footer-bottom-info{
	margin-top:16px;
	margin-bottom:16px;
	font-size:10px;
	font-weight:normal;
	text-align: justify;
}

#footer-bottom .container{
	width:100%;
}

.fhzg-filter-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.fhzg-filter {
	padding:6px;
	width: 50%;
}

/* Screen Size Adjustments */

@media only screen and (min-width: 982px) {
	.et-fixed-header #top-menu .menu-item:nth-child(1) li:nth-child(2) a, .et-fixed-header #top-menu .menu-item:nth-child(1) li:nth-child(3) a {
		color:#f7f7f7!important;
	}
	.et-fixed-header #top-menu .menu-item:nth-child(1) li:nth-child(2):hover a, .et-fixed-header #top-menu .menu-item:nth-child(1) li:nth-child(3):hover a {
		color:#3b91e6!important;
	}
}


@media (max-width: 1070px)/* Hier Wert anpassen */ {
    #et_mobile_nav_menu {
       display: block !important;
    } 
    #top-menu {
       display: none;
    }
}

@media all and (max-width: 1700px) {
	.fhzg-filter {
		width: 25%;
	}
	#main-header-start{
		display:flex;
		flex-direction:column-reverse!important;
	}
	.header-col-1{
		display:flex;
		flex-direction:column!important;
		flex-wrap:nowrap;
		width:100%!important;
	}
	.header-col-2{
		width:100%!important;
	}
	.header-col-1 > div:nth-child(1){
		width:100%!important;
	}
	.header-col-1 > div:nth-child(2){
		width:100%!important;
		margin-top:18px;
		margin-bottom:48px!important;
	}
}

@media all and (max-width: 1200px) {
	.fhzg-filter {
		width: 33.33%;
	}
}

@media screen and (max-width: 980px) {
    .col-reverse {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 920px) {
	.bottom-footer-wrap{
		flex-direction: column-reverse;
		align-items:center;
		text-align:center;
	}
	.bottom-footer-menu{
		margin-bottom:16px;
}
}

@media all and (max-width: 1200px) {
	#footer-cols .et_pb_column {
		width:100%!important;
	}

	#footer-cols .footer-cols-text h2, #footer-cols .footer-cols-text p, .footer-cols-heading h2 {
		text-align:center!important;
	}
	#footer-cols .footer-cols-text, .footer-cols-map {
		margin-bottom:24px!important;
	}
}

@media all and (min-width: 981px) and (max-width: 1420px) {
	.filter-buttons-wrapper {
	   display: flex!important;
	   flex-wrap: wrap!important;
	}
	.filter-buttons-wrapper .et_pb_column {
		width: 25%!important;
	 }
}

@media all and (min-width: 765px) and (max-width: 980px) {
	
	.fhzg-filter {
		width: 50%;
	}
	.filter-buttons-wrapper {
	   display: flex!important;
	   flex-wrap: wrap!important;
	}
	.filter-buttons-wrapper .et_pb_column {
		width: 33.33%!important;
	 }
}

@media all and (min-width: 520px) and (max-width: 764px) {
	
	.fhzg-filter {
		width: 50%;
	}
	.filter-buttons-wrapper .et_pb_column {
	   width:50%!important;
	}
}

@media all and (max-width: 520px) {
	
	.fhzg-filter {
		width: 100%;
	}
	.filter-buttons-wrapper .et_pb_column {
	   width:100%!important;
	}
}

.footer-cols-heading {
	margin-bottom:0px!important;
 }