/*
Theme Name: scuderia-azzurra
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: scuderia-azzurra

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

scuderia-azzurra is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/


/***********************
Fonts
***********************/

@font-face {
    font-family: 'Caviar-Dreams';
    src:url('fonts/Caviar-Dreams.ttf.woff') format('woff'),
        url('fonts/Caviar-Dreams.ttf.svg#Caviar-Dreams') format('svg'),
        url('fonts/CaviarDreams-Bold.eot'),
        url('fonts/Caviar-Dreams.ttf.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Caviar-Dreams-Bold';
    src:url('fonts/CaviarDreams-Bold.woff') format('woff'),
        url('fonts/CaviarDreams-Bold.svg#Caviar-Dreams') format('svg'),
        url('fonts/CaviarDreams-Bold.eot'),
        url('fonts/CaviarDreams-Bold.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Butler';
    src:url('fonts/butler_regular-webfont.woff') format('woff'),
        url('fonts/butler_regular-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Butler-Bold';
    src:url('fonts/butler_bold-webfont.woff') format('woff'),
        url('fonts/butler_bold-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/***********************
General
***********************/

body{font-family: 'Butler' !important;}
p, li{color: #1A3B4D;}
p{width: 100%;}
a{font-family: 'Butler';text-decoration: none;color: #008591;}
h1, h2, h3, h4, h5, h6{font-family: 'Caviar-Dreams';}

.text-right{text-align: right;}
.alignright{float: right;}

.row{max-width: 75rem;}

.hidden{opacity: 0;}
.visible{opacity: 1;}

.img{
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

.header-image{
	padding: 0 0 50px;
	background: #fff;
  position: relative;
}

.header-image .divider{
  position: absolute;
  top: 30%;
  width: 100%;
}

.header-image-row{
	position: relative;
	padding-top: 35px;
}

.header-image-row-button{
	margin-top: 36px;
}

.header-image-row-button .button{
	padding: 24px 18px 20px;
}

.subline{
	text-transform: uppercase;
	color: #008591;
	font-family: 'Caviar-Dreams-Bold';
	letter-spacing: 3px;
	margin-bottom: 30px;
}

.subline-with-line{
	padding-left: 40px;
}

.line-for-subline{
	background: #008591;
  height: 5px;
  width: 30px;
	float: left;
	margin-right: 10px;
	margin-top: 9px;
}

.line-left{
  padding-left: 25px;
  position: relative;
  left: -10px;
  top: -14px;
  border-bottom: 5px solid #008591;
}

.line-right{
  padding-left: 25px;
  position: relative;
  right: -2px;
  top: -14px;
  border-bottom: 5px solid #008591;
}

.subline-center{margin-bottom: 25px;}

@media only screen and (max-width: 640px) {
    .subline-center {
        flex: auto!important;
        max-width: unset!important;
        font-size: 90%!important;
    }
    .line-for-subline, .line-left, .line-right {display: none!important;}
    .subline-with-line{ padding-left: 0; text-align: center;}
}

.intro{margin-bottom: 30px;}

.intro .subline{
	margin-top: 0;
	margin-bottom: 25px;
}

.intro .headline{margin-top: 0;margin-bottom: 5px;}
.intro p{margin-top: 0;
}

.button{
	padding:24px 28px 20px;
	border: 2px solid #A78F7D;
	color:#A78F7D;
	text-decoration: none;
	font-family: 'Caviar-Dreams-Bold';
	letter-spacing: 3px;
	text-transform: uppercase;
  background: none;
  outline: none;
}

.button:hover{
	color: #008591;
	border: 2px solid #008591;
	box-sizing: inherit;
	transition-property: all;
	transition-duration: .6s;
	transition-timing-function: ease;
	cursor: pointer;
}

.button-2{
  color:#A78F7D;
	text-decoration: none;
	font-family: 'Caviar-Dreams-Bold';
	letter-spacing: 3px;
	text-transform: uppercase;
  background: none;
  outline: none;
}

.button-2:hover{
	color: #008591;
	transition-property: all;
	transition-duration: .6s;
	transition-timing-function: ease;
	cursor: pointer;
}

.button-send{
  background: green;
  border-color: green;
  color: #fff;
}

.button-row{
	margin:60px 0;
}

@media only screen and (max-width: 640px) {
    .button-row {text-align: center;}
}

.text-center{
	text-align: center;
}

.single-cars .content-area{
	padding-top: 151px;
}

.single-cars .print-button{
  float: right;
  margin-right: 14px;
	width: 30px;
  height: 30px;
  background: url('images/Printer_01.png');
  background-size: 24px;
  background-position: center;
  background-repeat: no-repeat;
}

.single-cars .print-button:hover{
  cursor: pointer;
  background: url('images/Printer_02.png');
  background-size: 24px;
  background-position: center;
  background-repeat: no-repeat;
}

.single-car-post-navigation-prev, .single-car-post-navigation-next{
  position: fixed;
  z-index: 999;
  top: 50%;
  height: 54px;
  width: 54px;
  background-image: url(/wp-content/themes/scuderia-azzurra/images/arrow_right_gold.png);
  background-repeat: no-repeat;
  background-position: center;
}

.single-car-post-navigation-prev{
  left: 0;
  -ms-transform: rotate(180deg); /* IE 9 */
  -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
  transform: rotate(180deg);

}

.single-car-post-navigation-next{
  right: 0;
}

.single-car-post-navigation-prev:hover{
  background-image: url(/wp-content/themes/scuderia-azzurra/images/arrow_right_white.png);
  background-color: #A78F7D;
}

.single-car-post-navigation-next:hover{
  background-image: url(/wp-content/themes/scuderia-azzurra/images/arrow_right_white.png);
  background-color: #A78F7D;
}

@media only screen and (max-width: 736px) {
    .single-car-post-navigation-prev, .single-car-post-navigation-next {
        display: none !important;
    }
}

.quote-container-white .line{
	background: #008591;
  height: 5px;
  width: 30px;
  margin: 0 auto;
}

.quote-container-div p{
	margin: 0;
	text-align: center;
}

.background-layer-left{
	position: absolute;
	z-index: 0;
	bottom: -15px;
	left: -15px;
	height: 180px;
	width:260px;
}

.background-layer-right{
	position: absolute;
	z-index: 0;
	bottom: -15px;
	right: 15px;
	height: 180px;
	width:260px;
}

.foreground-layer-left{
  margin-left: 15px;
}

.foreground-layer-right{
  position: relative;
  z-index: 10;
  margin-right: 15px;
}

.position-relative{
	position: relative;
}

.gold{
  background: #A78F7D;
}

.cyan{
  background: #008591;
}

.divider{
	margin-bottom: 60px;
	height: 50px;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

/***********************
Header
***********************/

.site-branding{
  position: fixed;
  z-index: 999;
  outline: none;
}

.menu-main-container{
	margin: 0;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 998;
	width: 100%;
	height: 100%;
	background: #fff;
}

.nav-menu li a:hover{
	color: #008591;
}

#submenu{
	text-align: center;
	padding-left: 0;
}

#submenu li a{
	color: #A78F7D;
	font-size: 17px;
	text-decoration: none;
	font-family: 'Caviar-Dreams-Bold';
	letter-spacing: 3px;
}

#submenu li a:hover{
	color: #008591;
}

.menu-toggle{
	position: fixed;
	z-index: 999;
	right: 30px;
	top: 40px;
  width: 40px;
  height: 30px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
	outline: 0;
}

button.menu-toggle:before{
  content: "Menu";
  font-size: 20px;
  font-family: 'Caviar-Dreams-Bold';
  text-transform: uppercase;
  color: #A78F7D;
  position: absolute;
  right: 50px;
  top: 3px;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #A78F7D;
  border-radius: 0;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
  top: 0px;
}

.menu-toggle span:nth-child(2),.menu-toggle span:nth-child(3) {
  top: 10px;
}

.menu-toggle span:nth-child(4) {
  top: 20px;
}

.menu-toggle.open span:nth-child(1) {
  top: 10px;
  width: 0%;
  left: 50%;
}

.menu-toggle.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.menu-toggle.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.menu-toggle.open span:nth-child(4) {
  top: 10px;
  width: 0%;
  left: 50%;
}

#language-select{
  position: fixed;
  top: 38px;
  right: 180px;
  z-index: 999;
  font-size: 20px;
  color: #A78F7D;
}

#language-select a{
  color: #A78F7D;
  text-decoration: none;
  font-family: 'Caviar-Dreams-Bold';
}

#language-select a:hover{
  color: #008591;
}

#language-select .active{
  color: #008591;
}

/***********************
Home
***********************/

#video video{
  width:100%;
	height:100%;
	position: absolute;
	top:0;
	left:0;
	object-fit:fill;
}

.video-claim{
  position: absolute;
  top: 40%;
  width: 100%;
}

#video .layer{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height:100%;
  z-index: 900;
}

#video h2{
	color: #fff;
	font-size: 52px;
	text-align: center;
  line-height: 70px;
}

#video .subline-center{
  margin: 0 auto;
  max-width: 470px;
}

#video .subline{
  color: #fff;
}

#video .line-left, #video .line-right{
  position: absolute;
  border-bottom: 5px solid #fff !important;
  top: 7px;
}

#video .line-left, #video .line-right{
  padding-left: 35px;
}

.scroll-button{
	position: absolute;
	bottom: 0;
	left: calc(50% - 21px);
	z-index: 990;
	display: inline-block;
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	text-decoration: none;
	padding-top: 60px;
  color: #fff;
  font-family: 'Caviar-Dreams-Bold';
}

.scroll-button span {
	position: absolute;
	top: 0;
	left: 50%;
	width: 46px;
	height: 46px;
	margin-left: -23px;
	border: 1px solid #fff;
	border-radius: 100%;
	box-sizing: border-box;
}

.scroll-button span::after {
	position: absolute;
	top: 50%;
	left: 50%;
	content: '';
	width: 16px;
	height: 16px;
	margin: -12px 0 0 -8px;
	border-left: 1px solid #fff;
	border-bottom: 1px solid #fff;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	box-sizing: border-box;
}

.scroll-button span::before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	content: '';
	width: 44px;
	height: 44px;
	box-shadow: 0 0 0 0 rgba(255,255,255,.1);
	border-radius: 100%;
	opacity: 0;
	-webkit-animation: sdb 3s infinite;
	animation: sdb 3s infinite;
	box-sizing: border-box;
}

@-webkit-keyframes sdb {
	0% {
		opacity: 0;
	}
	30% {
		opacity: 1;
	}
	60% {
		box-shadow: 0 0 0 60px rgba(0,133,145,.5);
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}
@keyframes sdb {
	0% {
		opacity: 0;
	}
	30% {
		opacity: 1;
	}
	60% {
		box-shadow: 0 0 0 60px rgba(0,133,145,.5);
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}

.pagination {
    position: fixed;
    right: 20px;
    top: 40%;
    font-size: 1.4em;
    z-index: 990;
    list-style: none;
}

.pagination a {
    display: block;
    height: 20px;
    margin-bottom: 5px;
    color: white;
    position: relative;
    padding: 4px;
}

.pagination a.active:after {
    background: #008591;
    border:2px solid #008591;
}

.pagination a .hover-text {
  position: absolute;
  right: 15px;
  top: -6px;
  width: 200px;
  text-align: right;
  opacity: 0;
  font-family: 'Caviar-Dreams-Bold';
  font-size: 18px;
  color: #008591;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
  padding-right: 15px;
}

.pagination a:hover .hover-text {
	opacity: 1;
}

.pagination a:after {
	-webkit-transition:box-shadow 0.5s ease;
	transition:box-shadow 0.5s ease;
	width:14px;
	height:14px;
	display: block;
	border:2px solid #A78F7D;
	content:'';
	position: absolute;
	margin:auto;
	top:0;
	right:4px;
	bottom:0;
}

.pagination a:hover:after {
  border:2px solid #008591;
  opacity: 1;
}

/***********************
Sale
***********************/

.sale-filter{
	margin-bottom: 18px;
}

.sale-filter .row{
	position: relative;
}

.simplefilter{
  padding: 0 10px;
}

.simplefilter li{
	list-style: none;
	display: inline-block;
	padding:0 25px;
	color: #A78F7D;
	text-transform: uppercase;
	font-family: 'Caviar-Dreams-Bold';
	letter-spacing: 3px;
}

.simplefilter li:hover{
	cursor: pointer;
}

.simplefilter .active{
	color: #008591;
}

.filtr-container{
	width: 100%;
}

.filtr-item a{
	text-decoration: none;
}

.filtr-search{
	position: absolute;
  left: 0;
	display: none;
	height: 100%;
	width: 100%;
	border: none;
	border-bottom: 2px solid #A78F7D;
	outline: none;
}

#search-close{
	position: absolute;
	right: 0;
	top: 20px;
	color: #A78F7D;
	display: none;
	font-family: 'Caviar-Dreams-Bold';
}

.sale-cars-container .intro{
  margin-bottom: 0;
}

.sale-cars{
	padding-top: 50px;
}

.sale-car-box{
	aspect-ratio: 303 / 260;
	height: 260px;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

.sale-car-box:hover{
	cursor: pointer;
}

.sale-car-box-content{
	display: flex;
	height: 100%;
	opacity: 0;
	padding: 20px;
}

.sale-car-box-content h3{
	width: 100%;
	color: #fff;
}

.car-details, car-details2{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 25px;
}

.car-details p{
    background: transparent;
    color: #ffffff;
    height: 100%;
    text-transform: uppercase;
    font-family: 'Caviar-Dreams-Bold';
    font-size: 28px !important;
    padding-top: 78px !important;
}

.car-sold{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 30px;
}

.car-sold p{
  background: #fff;
  color: #008591;
  height: 100%;
  text-transform: uppercase;
  font-family: 'Caviar-Dreams-Bold';
  font-size: 28px !important;
  padding-top: 78px !important;
}

.car-year{
  text-align: center;
	text-transform: uppercase;
	color: #008591;
	font-family: 'Caviar-Dreams-Bold';
	letter-spacing: 3px;
  margin-top: 0;
	margin-bottom: 0;
  font-size: 14px;
}

.car-title{
    text-transform: uppercase;
  text-align: center;
	color: #A78F7D;
	font-family: 'Caviar-Dreams-Bold';
	letter-spacing: 0;
  margin-top: 9px;
  margin-bottom: 2px;
}

.sale-car-box .award{
  position: absolute;
  top: 16px;
  right: 0;
  padding: 10px 10px 10px 40px;
  font-family: 'Caviar-Dreams-Bold';
  font-size: 14px;
  color: #fff;
  background-image: url('images/trophy.png');
  background-position: 8px 6px;
  background-repeat: no-repeat;
}

/***********************
Car Single
***********************/

.single-cars video{
  width: 100%;
  height: 100%;
}

.single-cars .layer{
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
}

.single-cars .play-button{
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background-image: url('images/note_02.png');
  background-repeat: no-repeat;
  z-index: 100;
}

.single-cars .play-button:hover{
  cursor: pointer;
}

.single-cars .headline{
	margin-top: 18px;
}

.single-car .quote-container{
	margin-left:0;
	margin-bottom: 35px;
}

.car-brand-logo{
  border: 2px solid #008591;
  padding: 40px;
  margin-bottom: 20px;
}

#contact-form-close{
  position: absolute;
  top: -50px;
  right: 0;
  font-family: 'Caviar-Dreams-Bold';
  font-size: 16px;
  color: #A78F7D;
}

#contact-form-close:hover{
  cursor: pointer;
}

.icon-enlarge{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  background:url('images/icon-enlarge.png');
  background-size: 100px 100px;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  -webkit-transition: all 0.7s ease;
	transition: all 0.7s ease;
}

/***********************
Press
***********************/

.press-container{
	padding-top: 65px;
}

.press .filtr-item{
  padding-top: 40px;
  padding-bottom: 40px;
  width: 100%;
}

.press .subline{
  margin-bottom: 5px;
}

.press .intro a{
  font-family: 'Butler' !important;
}

.press h3{
  margin-bottom: 0;
  font-size: 24px;
  line-height: 34px;
}

.press .button-row{
  margin-top: 5px;
  margin-bottom: 0;
}

.press .flex-video{
  margin-top: 20px;
}

.press-image{
  height: 250px;
}

/***********************
Press-Single
***********************/

.single-press .entry-content{
  margin-bottom: 100px;
}

.download-area img{
  margin-bottom: 25px;
}

/***********************
Contact
***********************/

#contact-form{
  margin-bottom: 100px;
}

#contact-form input[type="text"], #contact-form textarea{
  width: 100%;
  background: #EDEDED;
  padding:22px 20px;
  border: none;
  outline: none;
  margin-bottom: 30px;
}

#contact-form textarea{
  height: 481px;
  border-radius: 0;
}

#contact-form #success{
  display: none;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #9B9B9B;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #9B9B9B;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #9B9B9B;
}
:-moz-placeholder { /* Firefox 18- */
  color: #9B9B9B;
}

#languageContainer #maileon_contact_form_languageInput{
  -webkit-appearance: none;
    -moz-appearance: none;
      appearance: none;
  width: 37px;
  height: 37px;
  outline: none;
  cursor: pointer;
  position: absolute;
  background-color: #EDEDED;
}

#languageLabel{
  display: grid;
  width: 77% !important;
  cursor: default;
  color: #1A3B4D;
}

#maileonContainer{
  margin-top: 15%;
}

#newsletterLabel{
  display: inline-block;
  width: 85% !important;
  cursor: default;
  color: #1A3B4D;
	line-height: 42px;
	margin-bottom: 12px;
}

#selectLanguageLabel{
  display: inline-block;
  width: 62% !important;
  cursor: default;
  margin-top: 10%;
  color: #1A3B4D;
	line-height: 42px;
	margin-bottom: 20px;
}

#newsletterEN, #newsletterDE{
  -webkit-appearance: none;
    -moz-appearance: none;
      appearance: none;
  width: 55px;
  height: 62px;
  outline: none;
  cursor: pointer;
  position: absolute;
  background-color: #EDEDED;
  margin-top: 25px;
}

#abo{
  -webkit-appearance: none;
    -moz-appearance: none;
      appearance: none;
  width: 35px;
  height: 42px;
  outline: none;
  cursor: pointer;
  position: absolute;
  border: 2px solid #A78F7D;
  margin-left: 5px;
}

#newsletterEN::before, .languageEN::before, .languageEN:checked::before{
  content: 'EN' !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #A78F7D;
}

#newsletterDE::before, .languageDE::before, .languageDE:checked::before{
  content: 'DE';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #A78F7D;
}

#abo:checked::before{
  content: 'X';
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 24px;
  color: #A78F7D;
}

#newsletterDE:checked::before, .languageDE:checked::before{
  content: 'DE';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #A78F7D;
  border: 2px solid #A78F7D;
}

#newsletterEN:checked::before, .languageEN:checked::before{
  content: 'EN';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #A78F7D;
  border: 2px solid #A78F7D;
}

#languageContainer{
  margin-bottom: 50px;
}

/***********************
Myth
***********************/

.myth-header img{
	position: absolute;
	z-index: 100;
}

.myth-header .divider{
	margin-top: 250px;
	margin-bottom: 200px;
}

.myth-section-3 img{
  width: 100%;
  margin-top: 15px;
  margin-bottom: 15px;
}

.divider{
	margin-bottom: 0;
}

/***********************
Restauration
***********************/
.restauration-nav{
	padding-right: .9375rem;
	padding-left: .9375rem;
}

.restauration-nav li a{
  text-transform: uppercase;
  color: #A78F7D;
  text-transform: uppercase;
  font-family: 'Caviar-Dreams-Bold';
  letter-spacing: 3px;
	display: flex;
}

.restauration-nav li a:hover{
  color: #008591;
}

.restauration-nav .button{
  padding: 24px 20px 20px;
}

.restauration-image{
  height: 350px;
}

.restauration-image-full{
  height: 500px;
}

.restauration .subline-with-line{
  margin-top: 0;
}

.caption{
  text-transform: uppercase;
  color: #008591;
  font-family: 'Caviar-Dreams-Bold';
  letter-spacing: 1px;
  margin-top: 5px;
  font-size: 12px;
  margin-bottom: 30px;
}

/***********************
Memberarea
***********************/

.members input[type="text"], .members input[type="password"] {
  width: 100%;
  padding: 24px;
  border: none;
  background: #EDEDED;
  outline: none;
  margin-bottom: 34px;
}

/***********************
Newsletter
***********************/

.newsletter input[type="text"]{
  width: 100%;
  /*padding: 24px;*/
  padding: 10px;
  border: none;
  background: #EDEDED;
  outline: none;
  margin-bottom: 34px;
}

.newsletter .quote-container{
  background-size: 100% 98% !important;
}

.newsletter .quote-container-white{
  padding: 0;
}

.newsletter .quote-container-white .float-fix-image{
  display: flex;
  justify-content: end;
}

.newsletter .quote-container {
    padding: 58px !important;
}

.newsletter .quote-container-div p{
  text-align: left;
}

.newsletter .newsletter-lines{
  margin-bottom: 20px;
}

/***********************
Impressum und Datenschutz
***********************/



/***********************
Footer
***********************/

footer{
	padding:18px 0;
	background: #008591;
	color: #fff;
	font-size: 12px;
	font-family: 'Caviar-Dreams-Bold';
}

#up-button{
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 999;
  height: 54px;
  width: 54px;
  background-color: #A78F7D;
  display: none;
  background-image: url('images/up_button.png');
  background-repeat: no-repeat;
  background-position: center;
}

#footer-menu{
  margin: 0;
  text-align: right;
}

#footer-menu li{
  display: inline-block;
  margin-right: 20px;

}

#footer-menu li a{
  color: #fff;
  font-family: 'Caviar-Dreams-Bold';
}

#footer-menu li a:hover{
  text-decoration: underline;
}

/*---------------*/
/***** Ming *****/
/*---------------*/

.grid {
	text-align: center;
  margin-bottom: 0;
}

/* Common style */
.grid figure {
	position: relative;
	overflow: hidden;
	margin: 10px 1%;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	max-width: 100%;
	opacity: 0.8;
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}

figure.effect-ming {
	background: #030c17;
}

figure.effect-ming img {
	opacity: 0;
}

figure.effect-ming figcaption::before {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 2px solid #fff;
	box-shadow: 0 0 0 30px rgba(255,255,255,0.2);
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale3d(1.4,1.4,1);
	transform: scale3d(1.4,1.4,1);
}

figure.effect-ming h2 {
	margin: 20% 0 10px 0;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

figure.effect-ming p {
	padding: 1em;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
}

figure.effect-ming:hover h2 {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
}

figure.effect-ming:hover figcaption::before,
figure.effect-ming:hover p,
figure.effect-ming:hover .icon-enlarge{
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

figure.effect-ming:hover figcaption {
	background-color: rgba(58,52,42,0);
}

figure.effect-ming:hover img {
	opacity: 0.5;
}

.grid figure {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #008591;
	text-align: center;
	cursor: pointer;
	margin:0;
}

.grid figure:hover figcaption{
	background: #666666 !important;
	-webkit-transition: all 0.7s ease;
	transition: all 0.7s ease;
	opacity: 0.5;
}

.grid figcaption img{
	margin: 28px auto 0;
}


/* Media queries */
@media screen and (max-width: 50em) {

	.grid figure {
		display: inline-block;
		float: none;
		margin: 10px auto;
		width: 100%;
	}
}

.filteredOut {
    display: none;
}



/* Small screens */
@media only screen {

  section{
    background: #fff;
    position: relative;
  }

  .video{
    background: none;
  }

  .nav-menu{
  	position: relative;
  	top: 120px;
  	text-align: center;
    padding: 0;
  }

  .nav-menu li{
  	padding: 0 15px;
  	display: block;
    margin-bottom: 10px;
  }

  .nav-menu li a{
  	color: #A78F7D;
  	font-size: 24px;
  	text-decoration: none;
  	text-transform: uppercase;
  	font-family: 'Caviar-Dreams-Bold';
  	letter-spacing: 3px;
  }

  #submenu{
    position: fixed;
    bottom: 3%;
    width: 100%;
  	text-align: center;
  	padding-left: 0;
  }

  #submenu li{
  	padding: 0 15px;
  	display: block;
    margin-bottom: 10px;
  }

  .menu-submenu-container{
  	margin: 0;
  	display: none;
  	position: absolute;
  	top: 0;
  	left: 0;
  	z-index: 998;
  	width: 100%;
  }

  .content-area{
  	padding-top: 120px;
  	padding-bottom: 20px;
  }

  .headline{
  	width: 100%;
  	text-transform: uppercase;
  	color: #A78F7D;
  	font-size: 28px;
  	line-height: 38px;
  	letter-spacing: 3px;
  	margin-top: 0;
    word-wrap: break-word;
  }

    @media only screen and (max-width: 640px) {
        .headline { font-size: 22px; text-align: center;}
    }

  h1.headline {
      text-transform: uppercase;
  }

  .header-image-container{height: 200px;}

  .quote-container{padding: 20px !important;}
  .quote-container-white{padding-top:40px;padding-bottom: 40px;background: #fff;}
  .quote-container-div{padding: 30px;}
  .quote-container .subline{margin-top: 20px;}
  .quote-container-div .quote{font-size: 24px;color: #A78F7D;font-family: 'Butler-Bold';}

  #video .play-button{
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-image: url('images/note_02.png');
    background-repeat: no-repeat;
    z-index: 999;
  }

  #video .play-button:hover{
    cursor: pointer;
  }

  .slider {
    z-index: 99;
    margin-bottom: 0;
  }

  .slider-content{
    position: absolute;
    top: 35px;
    width: 100%;
    height: 100%;
    z-index: 100;
  }

  .slider-content h1{
    padding: 0 10px;
    position: absolute;
    top: 70px;
    margin-top: 10px;
    width: 100%;
    font-size: 22px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 0px 30px rgba(0,0,0,0.4);
  }

  .slider-button{
    position: absolute;
    bottom: 50px;
    left: calc(50% - 90px);
    z-index: 990;
    color: #fff;
    border-color: #008591;
    background: #008591;
    padding: 18px 18px 18px;
  }

  .slider-button:hover{
    color: #fff;
    border-color: #A78F7D;
    background: #A78F7D;
  }

  .slick-arrow{
    display: none !important;
  }

  .home-slider-button-row{
  	margin-top: 36px;
    text-align: right;
  }

  .home-slider-button-row .button{
  	padding: 24px 18px 20px;
  }

  #home-sale{
    padding: 40px 0;
  }

  .home-passion{
  	background: #fff;
  	padding: 40px 0;
  	position: relative;
    z-index: 1;
  }

  .home-slogan{
  	text-align: center;
  	position: relative;
  	padding:40px 0 60px;
  	background: #fff;
  }

  .home-slogan .medium-4{
  	background: #fff;
  	position: relative;
  	z-index: 5;
  }

  .home-slogan img{
    width: 100%;
  }

  .home-slogan-background{
  	position: absolute;
  	top: 45%;
  	z-index: 0;
  	width: 100%;
  	height: 50px;
  }

  #restauration{
    padding-top: 0;
  }

  .home-restauration{
  	padding: 60px 0 120px;
  	background: #fff;
  }

  .home-restauration .subline{
  	margin-bottom: 38px;
  }

  .home-about-us{
  	padding: 40px 0 80px;
  	background: #fff;
  }

  .home-portraits img{
    width: 100%;
  	margin-top: 24px;
  	margin-bottom: 5px;
  }

  .home-portraits span{
  	font-family: 'Caviar-Dreams-Bold';
  	color: #008591;
  }

  .home-portraits-offset{
    padding-top: 0;
  }

  .sale-cars .filtr-item{
  	width: 100% !important;
    padding-bottom: 30px;
  }

  .simplefilter{
  	text-align: center;
  }

  .simplefilter li{
    margin-bottom: 10px;
  	list-style: none;
  	display: inline-block;
  	padding:0 10px;
  	color: #A78F7D;
  	text-transform: uppercase;
  	font-family: 'Caviar-Dreams-Bold';
  	letter-spacing: 3px;
  }

  .single-cars .intro{
    margin-bottom: 40px;
  }

  .single-car .grid {
    margin-bottom: 0;
  }

  #contact-form .img{
    position: relative;
    z-index: 1;
    padding: 10px;
    background: url('images/water_background.jpg');
  }

  .contact-form-container{
    padding: 15px;
    background: #fff;
  }

  .myth-section-1 img{
  	margin-bottom: 50px;
  }

  .myth-section-1 .quote-container{
  	margin-top: 30px;
  }

  .myth-section-2{
  	margin-top: 80px;
  }

  .myth-section-2-text{
  	margin-top: 40px;
  	margin-bottom: 40px;
  }

  .myth-section-4{
    margin-bottom: 40px;
  }

  .restauration-nav li{
    display: flex;
	  justify-content: center;
	  align-content: center;
    margin: 0 0 20px;
  }

  .restauration-nav{
    text-align: center;
    margin-bottom: 40px;
  }

  .restauration-section{
    margin-bottom: 30px;
  }

  .watermark{
    width: 100%;
    max-width: 250px;
    position: absolute;
    bottom: 0;
    right: 25px;
    z-index: 990;
  }

  @media only screen and (max-width: 640px) {
      .watermark {display: none !important;}
  }

  .lb-layer {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    background: url(images/Wasserzeichen.png);
    background-repeat: no-repeat;
    background-position: right 0px bottom 5px;
    background-size: auto 80px;
  }

    @media only screen and (max-width: 736px) {
        .lb-layer {display: none !important;}
    }

  .jobs{
    padding-top: 100px;
  }

  .job-divider{
    margin-top: 30px;
    margin-bottom: 20px;
    background: #ccc;
    height: 1px;
  }

}

@media only screen and (max-width: 40em) {

  .site-header{
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    height: 80px;
    width: 100%;
    background: #fff;
    border-bottom: 2px solid #A78F7D;
  }

  .site-branding {
    top: 10px;
    left: 14px;
  }

  .site-branding img{
    max-width: 98px;
  }

  #language-select{
    right: 80px;
    top: 28px;
  }

  .menu-toggle{
    right: 14px;
    top: 30px;
  }

  button.menu-toggle:before{
    content: "";
  }

  .page-template-page-gallery .site-main{
    padding-top: 80px;
  }

  footer{
    text-align: center;
  }

  #footer-menu{
    margin: 20px 0;
    text-align: center;
  }

  .newsletter{
    padding-bottom: 60px;
  }

  .newsletter .quote-container{
    background: #fff !important;
    padding: 15px !important;
  }

  .newsletter .quote-container-div div:first-child{
    margin-bottom: 30px;
  }

  .quote-container-div {
    padding: 5px;
  }

}

/* Medium screens */
@media only screen and (min-width: 40.063em) {

  .nav-menu{
  	top: 40%;
  }

  .nav-menu li{
  	padding: 0 15px;
  	display: inline-block;
    margin-bottom: 0;
  }

  .nav-menu li a{
  	font-size: 30px;
  	text-decoration: none;
    margin-bottom: 0;
  }

  #submenu li{
  	display: inline-block;
  }

  .menu-submenu-container{
  	bottom: 60px;
  }

  .content-area{
  	padding-top: 100px;
  	padding-bottom: 150px;
  }

  .headline{
  	font-size: 38px;
  	line-height: 45px;
    word-wrap: normal;
  }

  .header-image-container{
  	height: 600px;
  }

  .header-image-row-button{
    text-align: right;
  }

  .quote-container{
  	padding: 30px !important;
  }

  .quote-container-white{
  	padding-top:60px;
  	padding-bottom: 60px;
  }

  .quote-container-div{
  	padding: 50px;
  }

  .quote-container .subline{
  	margin-top: 20px;
  }

  .quote-container-div .quote{
  	font-size: 36px;
  }

  .slider-content{
    position: absolute;
    top: 22px;
    width: 100%;
    height: 100%;
    z-index: 100;
  }

  .slider-content h1{
    position: absolute;
    top: 0;
    left: 155px;
    margin-top: 10px;
    width: 100%;
    max-width: 505px;
    font-size: 30px;
    color: #fff;
    text-align: left;
    text-transform: uppercase;
    text-shadow: 0 0px 30px rgba(0,0,0,0.4);
  }

  .slider-button{
    position: absolute;
    bottom: 50px;
    left:auto;
    right: 0;
    z-index: 990;
    color: #fff;
    padding: 18px 18px 18px;
  }

  #home-sale{
    padding: 120px 0 0;
  }

  .home-passion{
  	padding: 120px 0 0;
  }

  .home-slogan{
  	padding:100px 0 100px;
  }

  #restauration{
    padding-top: 60px;
  }

  .home-about-us{
  	padding: 60px 0 140px;
  }

  .home-portraits-offset{
    padding-top: 90px;
  }

  .simplefilter{
  	text-align: left;
  }

  .simplefilter li{
  	padding:0 25px;
  }

  .sale-cars .filtr-item{
  	width: 33.3% !important;
    height: 360px !important;
  }

  .single-cars .intro{
    margin-bottom: 100px;
  }

  .single-car .grid {
    margin-bottom: 30px;
  }

  #contact-form .img{
    padding: 30px;
  }

  .contact-form-container{
    padding: 30px;
  }

  .myth-section-1 img{
  	margin-bottom: 50px;
  }

  .myth-section-1 .quote-container{
  	margin-top: 80px;
  }

  .myth-section-2{
  	margin-top: 50px;
  }

  .myth-section-2-text{
  	margin-top: 150px;
  	margin-bottom: 80px;
  }

  .myth-section-3{
  	margin-bottom: 140px;
  }

  .myth-section-4{
            margin-bottom: 140px;
        }

    .myth-section-5{
        margin-bottom: 0;
    }

  .restauration-nav li{
    display: inline-block;
    margin: 0 25px 20px;
  }

  .restauration-nav{
    margin-bottom: 40px;
  }

  .restauration-textfield{
    padding-top: 60px;
  }

  .restauration-section{
    margin-bottom: 110px;
  }

  .site-branding {
      top: 20px;
      left: 20px;
  }

  .site-branding img{
    width: 125px;
  }

  .watermark{
    width: auto;
    max-width: inherit;
    position: absolute;
    bottom: 0;
    right: 25px;
    z-index: 990;
  }

  .lb-layer {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    background: url(images/Wasserzeichen.png);
    background-repeat: no-repeat;
    background-position: right 20px bottom 20px;
    background-size: auto 100px;
  }

}

/* Large screens */
@media only screen and (min-width: 64.063em) {

  .site-branding{
  	top: 30px;
  	left: 30px;
  }

  .site-branding img{
    width: 100%;
  }

  .slider-content{
    position: absolute;
    top: 35px;
    width: 100%;
    height: 100%;
    z-index: 100;
  }

  .slider-content h1{
    position: absolute;
    top: 0;
    left: 194px;
    margin-top: 10px;
    width: 100%;
    max-width: 655px;
    font-size: 30px;
    color: #fff;
    text-align: left;
    text-transform: uppercase;
    text-shadow: 0 0px 30px rgba(0,0,0,0.4);
  }

  .slider-button {
    bottom: 100px;
  }

} /* min-width 1025px, large screens */

@media only screen and (min-width: 64.063em) and (max-width: 90em) {} /* min-width 1025px and max-width 1440px, use when QAing large screen-only issues */

/* XLarge screens */
@media only screen and (min-width: 90.063em) { } /* min-width 1441px, xlarge screens */

@media only screen and (min-width: 90.063em) and (max-width: 120em) { } /* min-width 1441px and max-width 1920px, use when QAing xlarge screen-only issues */

/* XXLarge screens */
@media only screen and (min-width: 120.063em) { } /* min-width 1921px, xxlarge screens */


@media only screen and (max-height: 420px) {
  .nav-menu li{display: inline-block;}
  #submenu li {display: inline-block;}
}

.print-only{display: none !important;}

@media print{
  .single-cars .content-area {
    padding-top: 10px;
  }

  .print-logo{
    position: relative;
    left: calc(50% - 74px);
    margin-bottom: 20px;
  }

  .no-print, .no-print *{
      display: none !important;
  }

  .print-only{
    display: inline-block !important;
  }

  img.print-only{
    min-width: inherit;
    max-width: 100%;
    min-height: inherit;
    max-height: 100%;
    vertical-align: unset;
  }
}


@media only screen and (max-height: 319px){
  .home #language-select{top: 90px;right: 30px;}
}

@media only screen and (max-width: 820px) and (max-height: 420px){
  .home .slider-content h1{padding-right: 140px;text-align: left;}
}

@media only screen and (min-width: 641px) and (max-width: 667px) and (max-height: 375px){
  .home #language-select{
    top: 90px;
    right: 30px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 768px) and (min-height: 900px){
  .home #language-select{
    top: 90px;
    right: 30px;
  }
}

@media only screen and (max-height: 420px) {
  .home .scroll-button{
    display: none !important;
  }
}

@media only screen and (max-width: 950px) {
  .home .scroll-button{
    display: none !important;
  }
}

@media only screen and (max-height: 500px) {
  .home .pagination{
    display: none !important;
  }
}



@media only screen and (max-width: 375px) {
  .home .slick-slide{
    max-height: 330px;
  }
}

@media only screen and (max-width: 640px) {
  .home .slick-slide{
    max-height: 400px;
  }
  .car-details {
      display: none!important;
  }
    figure.effect-ming:hover figcaption::before, figure.effect-ming:hover p, figure.effect-ming:hover .icon-enlarge {
        display: none!important;
    }
}


.yikes-easy-mc-form .yikes-easy-mc-submit-button {
    display: block;
    width: 100%;
    margin-top: .5em;
    min-height: 40px;
    padding: 10px;
    cursor: pointer;
    background: #A78F7D;
    color: #fff;
}

@media only screen and (max-width: 600px) {

    #moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme {
        display: none;
    }
}

/* Responsive Video 02/2019 */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    color: rgba(255, 255, 255, 0);
}

@media only screen and (min-width: 40.063em) {
    .video-container iframe {height: 600px}
}

@media only screen and (min-width: 1300px) {
    .video-container iframe {height: 650px}
}