/*!
Theme Name: velmar-brands-fiat
Author: extend.gr
Description: Description
Version: 1.0.0
*/

*{ box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box;}

body{
	font-family: 'Roboto', sans-serif;
    color: #000;
	margin:0;
	padding:0;
    font-size: 16px;
    line-height: 25px;
}

a { text-decoration: none; }
.page main a, .default-link { color: #000; }
.page main a:hover, .page main a:focus { color: #000; }
.colored-link { position: relative; display: inline-block; font-size: 11px; font-weight: bold; letter-spacing: 0.125em; margin-right: 8px; transition: all 0.3s ease; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease;}
.colored-link:last-child { margin-right: 0; }
.colored-link:hover { color: #fff !important;  }
.colored-link:hover > span { height: 30px; }
.colored-link span { position: absolute; width: 100%; left: 0; bottom: -2px; height: 3px; transition: all 0.3s ease; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; z-index: -1;}
.content-wrapper { max-width: 1436px; width: 94%; margin: auto; }
.narrow-container { max-width: 900px;}

main { padding-bottom: 60px;}
.page main { padding: 24px 0 60px; }

header { background: #f7f7f7; transition: all 0.8s ease; -webkit-transition: all 0.8s ease; -moz-transition: all 0.8s ease; }
#bottom-header.sticky { position: fixed; z-index: 1000; top: 0; background: #f7f7f7; width: 100%; }
#bottom-header { box-shadow: 0 0 30px rgba(0,0,0,.4); }

h2 { font-size: 38px; line-height: 48px; margin-top: 64px; margin-bottom: 36px; color: #000; font-weight: 900}
main h2 { margin-top: 40px; }
h3 { color: #000; font-size: 20px; line-height: 26px; }
h4 { font-size: 18px; line-height: 30px; color: #000; margin-bottom: 7px;}


#top-header, #bottom-header { text-align: right;}
#top-header { background: #ad0c33; }
#top-header a { line-height: 29px; color: #fff; font-weight: 500; }
#contact-top:hover { opacity: 0.7; }
header .content-wrapper { display: flex; align-items: center; justify-content: space-between;}
#bottom-header .content-wrapper { position: relative; }
#velmar-logo, #velmar-logo a { line-height: 0; }
#velmar-logo img{ border-bottom: solid 1px #ad0c33; }
#contact-top { padding: 0 16px; }
#brand-logo { border-right: 1px solid rgba(255,255,255,0.4); padding: 10px 25px 10px 12px; line-height: 0; }
#header-right { display: flex; justify-content: center; flex: 1; }

ul#primary-menu, ul#top-links-menu { list-style: none; margin:0; padding:0; display: flex; align-items: center; justify-content: space-between; }
ul#primary-menu { margin-left: 16px; }
ul#primary-menu li, ul#top-links-menu li { margin: 0 16px; }
ul#primary-menu li.menu-btn { background: #ad0c33; padding: 4px 10px; border-radius: 2px; font-weight: 500;}
ul#primary-menu li.menu-btn a{ color: #fff }
ul#primary-menu li.menu-btn:hover { background: #000; }
ul#primary-menu li.menu-btn:hover a { color: #fff; }
ul#primary-menu a { line-height: 29px; color: #777; padding: 0 0 30px; }
ul#primary-menu a:hover, ul#primary-menu a.active { color: #ad0c33 }


.slide { height: 685px; display: flex; align-items: center; background-position: center; background-size: cover;}
.slide-contents { color: #fff; padding-left: 10%; }
.slide-title { font-weight: 900; font-size: 34px; line-height: 40x; margin-bottom: 20px; }
.slide-contents h5 { font-size: 16px; font-weight: normal; line-height: 20px;}
.left-side { max-width: 610px; /*background: rgb(203,188,188,0.3);*/ padding: 14px 30px 30px; min-width: 520px;}
.slide-subtitle { font-size: 21px; line-height: 28px; margin-bottom: 32px;}
.slide-more { background: #ad0c33; padding: 8px 16px; font-size: 16px; font-weight: 700; color: #fff; border-radius: 2px; }
.slide-more:hover { background: #840a27; color: #fff; }

.owl-dots { margin-top: -50px; margin-top: -56px; position: relative; text-align: center; }
.owl-dot { border: 2px solid #bdbdbd !important; width: 16px; height: 16px; border-radius: 50%; margin: 0 5px; background: #fff !important; }
.owl-dot.active { background: #000 !important}


#main { padding: 60px 0; }
.home main .content-wrapper { box-shadow: 0 0 30px #d9d9d9; padding: 10px 60px; }
#banner { height: 200px; background-position: center; background-size: cover; display: flex; align-items: center; justify-content: center;}
.auto-list { display: flex; flex-wrap: wrap; align-items: flex-start;}
.auto-block { width: 23%; margin: 0 2% 70px 0; }
.vertical-img { padding: 0 10px; max-width: 245px; margin: auto;}
.vertical-img img { border-radius: 14px; max-width: 100%;}
.horizontal-img { margin-top: -143px;}
.horizontal-img img { width: 120%; max-width: none; margin-left: -10%; height: auto;}
.auto-block img { height: auto;  }
.orange-btn-outer { background: #ad0c33; width: 160px; padding: 5px 10px; border-radius: 2px; margin-bottom: 5px;}
.orange-btn-outer:hover { background: #840a27 }
.orange-btn { color: #fff !important; font-weight: 900; position: relative; padding-right: 20px; text-decoration: none !important; display: block; width: 125px; }
.orange-btn:after { content: ''; background: url(/wp-content/themes/velmar-brands-fiat/images/arrow-white.svg); background-repeat: no-repeat;
    background-size: cover; background-position: center; width: 8px; height: 14px; position: absolute; right: 0; top: 6px; transition: all 0.5s ease; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; }
.orange-btn:hover:after { right: -15px; }
.auto-list-content { margin-top: -50px;}


#three-banners-homepage { font-size: 18px; line-height: 24px;}
#three-banners-homepage .banners-top { display: flex; justify-content: space-between;}
#three-banners-homepage .banners-top img { margin-bottom: 30px; }
.banner-left-01 { width: 48.5%; background-color: #e0e0e0; padding: 40px 60px; text-align: center; margin: 40px 0;}
.banner-left-02 { width: 48.5%; background-color: #bdbdbd; padding: 40px 60px; text-align: center; margin: 40px 0;}
#three-banners-homepage h2 { margin: 0;}
.banner-bottom h2 { color: #000; }
.banner-left-01 p, .banner-left-02 p { min-height: 48px; max-width: 420px; margin: 15px auto 35px;}
.banner-left-01 img, .banner-left-02 img { width: 100%; max-width: 450px; height: auto;}
.black-btn { color: #0f0f0f !important; position: relative; padding-right: 20px; text-decoration: none !important; font-weight: 700;}
.black-btn:after { content: ''; background: url(/wp-content/themes/velmar-brands-fiat/images/arrow-black.svg); background-repeat: no-repeat;
    background-size: cover; background-position: center; width: 8px; height: 14px; position: absolute; right: 0; top: 5px; transition: all 0.5s ease; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease;}
.black-btn:hover:after { right: -15px;}
.banner-bottom { background: #dedad4; text-align: center; padding: 40px 60px; margin-bottom: 40px;} 
#stores-home-img { margin-bottom: 50px; margin-top: 30px; }
#stores-home-img img { width: 100%; height: auto; }


.page-template-offer h1 { color: #fff; font-size: 40px; padding: 0 20px; text-align: center; line-height: 44px; }
#offer-page .content-wrapper, #default-page .content-wrapper { box-shadow: 0 0 30px #d9d9d9; padding: 10px 60px; max-width: 900px; }
form { margin-top: 40px; }
input[type=text], input[type=email], input[type=tel], select, textarea { border: solid 1px #ddd; width: 100%; outline: none; }
input[type=text], input[type=email], input[type=tel], select { height: 40px; border-radius: 2px; margin-top: 3px;}
textarea { height: 100px; margin-top: 3px; }
input[type=submit] { background-color: #ad0c33; color: white; padding: 12px 30px; margin-top: 25px; border: none; outline: none; cursor: pointer; font-size: 16px; font-weight: 500; border-radius: 2px; }
input[type=submit]:hover { background-color: #840a27; }

.page-template-fiat-professional h1{ text-align: center;}
.fiat-pro-carousel { margin-bottom: 40px;}
.page-template-fiat-professional .main-content { text-align: center; }
.page-template-fiat-professional .main-content ul { max-width: 265px; text-align: left; margin: auto; list-style: none;}
.page-template-fiat-professional .main-content ul li { padding: 2px 0;}
.page-template-fiat-professional .main-content ul li:before { content: '✓'; margin-right: 10px; color: #a80c32; font-weight: 900; font-size: 20px; }


.fiatpro-models-blocks { margin: 80px 0;}
#fiatpro-contact-form { text-align: left; margin-top: 50px; box-shadow: 0 0 30px #d9d9d9; padding: 10px 60px 30px;}
#fiatpro-contact-form h2 { font-size: 30px; margin-top: 30px; }
.fiatpro-models-blocks-outer { display:grid; grid-template-columns: 1fr 1fr; gap:35px;}
.model-block { width: 100%; padding: 22px; box-shadow: 0 0 30px #d9d9d9; }
.contact-form-header { display: flex; justify-content: space-between; align-items: center;}
.contact-form-header a.red-button-link{ color: #fff; background-color: #ad0c33; font-weight: 500; letter-spacing: 0.1em; padding: 10px 40px; border-radius: 20px;}
.contact-form-header a.red-button-link:hover { background-color: #000; color: #fff; }

#fiatpro-contact-form .double-group { display: flex; justify-content: space-between; flex-wrap: wrap;}
#fiatpro-contact-form .form-group { width: 48%; margin-bottom: 50px; position: relative;}
#fiatpro-contact-form .form-single { position: relative;}
#fiatpro-contact-form .form-group label, #fiatpro-contact-form .form-single label { position: absolute; top: 0; padding-bottom: 12px; transition: all 100ms ease; -webkit-transition: all 100ms ease; -moz-transition: all 100ms ease; }
#fiatpro-contact-form label.active { top:-24px; font-size: 12px; line-height: 22px; }
#fiatpro-contact-form input[type=text],
#fiatpro-contact-form input[type=email],
#fiatpro-contact-form input[type=tel],
#fiatpro-contact-form textarea, 
#fiatpro-contact-form select { 
	border-top: none; border-left: none; border-right: none; background-color: transparent; height: auto; padding: 5px 0;
}
#fiatpro-contact-form textarea { height: 60px;}
#fiatpro-contact-form br { display: none;}
.wpcf7-list-item { margin-left: 0;}
.wpcf7-acceptance label {
    position: relative;
}
input[type=checkbox] {
    width: 24px;
    height: 24px;
    display: none;
}
input[type=checkbox] + .wpcf7-list-item-label {
    display: block;
    cursor: pointer;
    padding-left: 44px;
    position: relative;
}
input[type=checkbox] + .wpcf7-list-item-label:before {
    content: "";
    border-radius: 4px;
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid rgba(15, 15, 15, 0.2);
    transition: .2s;
    position: absolute;
    left: 0;
    top: 0;
}
span.wpcf7-list-item-label::before, span.wpcf7-list-item-label::after {
    content: " ";
}
input[type=checkbox]:checked + .wpcf7-list-item-label:after {
    position: absolute;
    left: 8px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid #757271;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.wpcf7-list-item-label a { text-decoration: underline;}

.fiatpro-models-list h2 { font-size: 30px; text-align: center; }
.fiatpro-models-list-outer { display: flex; flex-wrap: wrap; margin-left: -1%; margin-right: -1%; }
.model-list { width: 23%; padding: 22px; margin: 0 1%; }
.model-list img {max-width: 100%; height: auto;}
.model-list h4 { text-align: center;}

#social-fp {display: flex; align-items: center; justify-content: center; margin: 60px 0 20px;}
#social-fp a { line-height: 0; margin: 6px}
#social-fp svg { width: 32px; height: 32px;}
#social-fp svg path{ fill: #000; stroke: #000 }
#social-fp svg:hover path { fill: #ad0c33; stroke: #ad0c33; }


footer { background: #000; padding: 32px 0; }
footer .content-wrapper { display: flex; justify-content: space-between; border-top: 1px solid #82807f; margin-top: 40px; padding: 40px 0 10px;
}
#copyright { text-align: center;}
#copyright a { color: rgba(255,255,255,0.6); color: rgba(255,255,255,0.6); font-size: 12px; }
#footer-bottom-right { text-align: right;}
#vasilakis-logo { line-height: 0; margin: 14px 0 16px;}
.footer-bottom-right-wrapper { display: flex;}
footer .content-wrapper ul { list-style: none; margin: 0; padding: 0; display: flex;}
footer .content-wrapper ul li { padding-left: 25px;}
footer .content-wrapper ul li a { color: #fff; font-size: 14px;}
footer a:hover { opacity: 0.75 }
#inst-icon svg{ height: 25px; width: 25px; position: relative; top: 1px; margin-left: 10px; }

#mobile-btn { display: none; padding: 23px 0 23px 24px; border-left: 1px solid #ccc; cursor: pointer;}
#mobile-btn span {
    display: block;
    width: 24px;
    height: 24px;
    background: url(/wp-content/themes/velmar-brands-fiat/images/mobile-btn.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
#mobile-btn.active span {
    background: url(/wp-content/themes/velmar-brands-fiat/images/icon_close_menu.svg);
    background-repeat: no-repeat;
    background-size: 86%;
    background-position: center;
}

@media(max-width:1280px){
	.auto-block { width: 31.3333%; }
}

@media(max-width:1160px){
	#header-right { flex: 0; }
	.main-navigation { display: none; position: absolute; width: 100%; left: 0; background: #000; top: 70px; z-index: 1000; text-align: center; padding: 10px 0 30px; border-top: solid 1px rgba(255,255,255,0.4);}
	#mobile-btn, ul#primary-menu { display: block; }
	ul#primary-menu li { padding: 5px 0; border-top: 1px solid rgba(255,255,255,0.4);}
    ul#primary-menu li.menu-btn { margin: 25px auto 0; max-width: 200px; border-top: none; }
    ul#primary-menu li:first-child { border-top: none; }
    ul#primary-menu a { color: #fff; }
    .slide { height: 460px; }
    
}

@media(max-width:1340px){
	.slide { background-position: 60% center;}
	.slide-contents { padding-left: 0; }
	footer .content-wrapper { flex-direction: column-reverse; }
	#footer-bottom-right, #copyright { text-align: center; }
	.footer-bottom-right-wrapper { justify-content: center;}
	#copyright { margin-top: 25px; }
	.footer-bottom-right-wrapper { display: block; }
	footer .content-wrapper ul { justify-content: center; margin-top: 5px;}
}

@media(max-width:1020px){
	footer .content-wrapper ul { display: block; }
	footer .content-wrapper ul li { padding-left: 0; }
}


@media(max-width:900px){
	.auto-block { width: 48%; }
	.slide { height: 320px; }
	#offer-page .content-wrapper, #fiatpro-contact-form { padding-left: 40px; padding-right: 40px;}
	.model-list { width: 48%; }
}

@media (max-width: 768px) {
	#velmar-logo img { height: 52px; width: auto; }
	#brand-logo img { height: 32px; width: auto; }
	.main-navigation { top: 54px; }
	#mobile-btn { padding: 15px 0 15px 24px; }
    .fiatpro-models-blocks-outer {grid-template-columns: 1fr;}
}
@media (max-width: 767px) {
	.slide-title { margin-bottom: 15px;}
	.slide { background-position: 70% center; }
	.slide-subtitle { display: none;}
}

@media (max-width: 680px){
	#main h2 { text-align: center; }
	.auto-block { width: 100%; max-width: 300px; margin-left: auto; margin-right: auto; text-align: center;}
	#three-banners-homepage .banners-top { display: block; }
	.banner-left-01, .banner-left-02 { width: 100%; }
	.orange-btn-outer { margin-left: auto; margin-right: auto;}
	h2 { font-size: 32px; line-height: 38px;}
	.slide-title { font-size: 25px; line-height: 30px; }
}

@media (max-width: 600px){

	.slide-title { font-size: 20px; line-height: 24px; margin-bottom: 10px;}
	.slide-subtitle { font-size: 14px; line-height: 18px; }
	#offer-page .content-wrapper, #fiatpro-contact-form { padding-left: 22px; padding-right: 22px;}
	#fiatpro-contact-form .form-group { width: 100%; }
}

@media (max-width: 560px){
	.left-side { min-width: auto; width: 92%;}
	.home main .content-wrapper { padding: 10px 30px; }
	.contact-form-header { flex-wrap: wrap; flex-direction: column-reverse; }
	.red-button { margin-top: 40px;}
}


@media (max-width: 480px){
	.slide-subtitle { font-size: 14px; line-height: 18px; }
	}