/* =============================== */
/* 				GENERAL 	       */
/* =============================== */

#wpadminbar {
	display:none;
}

body {
	max-width:1920px;
	margin:0 auto;
}

html {
	margin-top:0px !important;
	background-color:#e8e8e8;
}

main#tm-content {
	overflow-x: hidden;
	overflow-y: hidden;
}

.uk-container {
	max-width:1440px;
	padding:0 40px;
}

.page-id-10 .tm-top-b .widget_widgetkit {
	padding:0;
}

/*Cookie e privacy */

.page-id-54 #tm-main {
    padding: 0 5%;
}

.page-id-54 .CookieDeclarationDialogText, .page-id-54 .CookieDeclarationIntro {
    display: none;
}

#CookieDeclarationUserStatusLabelOff:after {
    content: 'Il suo stato attuale: Usa solo i cookie tecnici. ';
    color: #a59c94;
    position: absolute;
    left: 0;
}

#CookieDeclarationUserStatusLabelOff {
    color: transparent;
    position: relative;
}

/*Typo*/

h1, h3 {
	font-family: 'Exo 2', sans-serif !important;
	text-transform: uppercase !important;
}

.wk-h3 {
    color: #ffffff !important;
}

h1 {
	font-weight:900;
}

h2 {
	color:#C59C71;
	font-weight: normal;
	font-size: 56px;
	line-height: normal;
}

h3 {
	font-weight:800 !important;
	width:max-content;
	position: relative;
	margin-bottom: 56px !important;
	font-style: italic;
}

.uk-contrast h3 {
	color:#ffffff;
}

h3:after {
	content: '';
	position: absolute;
	bottom: -24px;
	left: 0;
	height: 2px;
	width: 100px;
	background: #C59C71;
	z-index:4;
}

h2 {
	font-family: 'Yellowtail', cursive;
}

p, ul li {
	font-family: 'Work Sans', sans-serif;
	font-size: 18px;
	line-height: 28px;
}

h5,  .uk-contrast h5 {
	font-style: normal;
	font-weight: normal;
	font-size: 20px;
	line-height: normal;
	color: #FFFFFF;
	text-transform: none;
}

/*Buttons*/

.uk-button, button, nav li a, .uk-contrast .uk-button, .wk-button {
	font-family: 'Barlow Condensed', sans-serif !important;
}

.uk-button, button, .uk-contrast .uk-button {
	border: 2px solid #C59C71;
	box-sizing: border-box;
	background:none;
	color:#C59C71;
	min-width: 160px;
	min-height:48px;
	margin-top:48px;
	padding: 0 20px;
}

.wk-button {
	border: 2px solid #C59C71 !important;
	box-sizing: border-box !important;
	background:none;
	color:#C59C71 !important;
	min-width: 160px;
	min-height:48px;
	margin-top:48px !important;
	padding: 0 20px !important;
	font-size: 18px !important;
	line-height: 43px !important;
	letter-spacing:2px;
}

.wk-button:hover, .wk-button:focus {
    background-color: #ffffff !important;
    color: rgba(36, 0, 0, 0.9) !important;
    outline: none;
    text-decoration: none;
    border-color: rgba(0, 0, 0, 0) !important;
    box-shadow: 0 17px 17px 0 rgb(0 0 0 / 0%);
    transform: none;
}

#tm-top-a .uk-button {
	margin-top: 64px;
}

.tm-navbar {
	padding: 20px 35px;
}

.uk-navbar-nav > li {
	margin:0;
}

.uk-navbar-nav > li > a:after {
	top:-34px;
}

.uk-flex-item-1 {
	margin-top: -14px;
}

.wk-scope .wk-tab a {
    letter-spacing:2px;
}

.wk-scope .wk-tab>.wk-active> a {
    color: #c49b71;
    border-color: #710000;
    border-width: 3px;
} 

.wk-scope .wk-tab::before {
    border-bottom: 1px solid #c49b71;
}

.wk-scope .wk-tab a:hover {
    text-decoration: none;
}

/*MENU*/

ul.uk-navbar-nav.uk-hidden-small, ul.tm-nav-secondary.uk-navbar-nav.uk-float-right {
	display: flex !important;
	justify-content: space-between !important;
	float:none;
}

ul.uk-navbar-nav.uk-hidden-small a, ul.tm-nav-secondary.uk-navbar-nav.uk-float-right a, .tm-navbar-primary .uk-navbar:not(.uk-active) .uk-navbar-nav > li > a {
	color:white;
}

div#tm-top-a {
	margin-top:-34px;
}

.uk-flex-item-1 {
	margin-top: -34px;
}

.tm-navbar.uk-navbar.uk-active {
	height:90px !important;
}

a.tm-logo.uk-align-center {
	position: relative;
	z-index: 4;
}

.uk-active a {
	font-style: normal;
	font-weight: 600;
	font-size: 12px;
	color: #C59C71;
}

.uk-navbar-nav > li > a:after {
	content: '';
	position: absolute;
	bottom: 7px;
	left: 0;
	height: 0;
	width: 100%;
	background: #C59C71;
	-webkit-transition: height 0.15s ease, color 0.15s ease;
	transition: height 0.15s ease, color 0.15s ease;
	top: -23px;
}

.home-widgetkit .uk-panel {
	padding:35px;
}

.height-viewport-70 {
	height:80vh;
	background-size: cover;
	background-repeat:no-repeat;
	position:relative;
	z-index: 1;
}

.height-viewport-50 {
	height:50vh;
	background-size: cover;
	background-repeat:no-repeat;
	position:relative;
	z-index:1;
}

.height-viewport-70:after, .height-viewport-50:after {
	position:absolute;
	content:"";
	width:100%;
	height:100%;
	background:linear-gradient(180deg, rgba(37, 35, 33, 0.9) 9.94%, rgba(37, 35, 33, 0.5) 72.93%);
	top:0;
	left:0;
	z-index:2;
}

#tm-top-a .title-container.uk-container.uk-container-center.tm-container-90 {
	position:relative;
	z-index:3;
	top:30%;
}


.uk-container-center.home-container-left img{
	margin-left: -60%;
	width:100%;
	transform: scale(1.3);
	margin-top: 100px;
}

.uk-container-center.home-container-right img{
	margin-right: -60%;
	transform: scale(1.3);
	margin-top: 100px;
}

.uk-navbar-nav > li > a {
	line-height: 34px;
}

/* CONTATTI */

div#tm-bottom-b {
	padding-bottom: 0;
	padding-top:0;
}

.container-contatti {
	padding:120px 35px;
	background-size:cover;
	background-position: center center;
	position:relative;
}

.container-contatti:after {
	position:absolute;
	content:"";
	width:100%;
	height:100%;
	background:rgba(37, 35, 33, 0.6);
	top:0;
	left:0;
	z-index:2;
}

.container-contatti .title-container {
	position:relative;
	z-index: 3;
	color:#ffffff;
}

.container-contatti .title-container h3 {
	color: #FFFFFF;
	margin-bottom:40px;
	position:relative;
}

.content-contatti {
	column-count: 2;
}

span.contatti-head {
	font-family: 'Exo 2', sans-serif;
	text-transform: uppercase;
	color: #c59c71;
	font-weight: 600;
	font-size: 26px;
	line-height: 44px;
	font-style: italic;
	display:block;
	margin-top: 56px;
}

a.link-button {
	background: url(https://autofficinagamberini.com/wp-content/uploads/2019/04/arrow.png);
	background-repeat: no-repeat;
	background-position: right;
	padding-right: 64px;
	width: fit-content;
	display: block;
	font-family: 'Exo 2', sans-serif;
	font-style: italic;
	font-weight: 600;
	font-size: 26px;
	line-height: normal;
	text-transform: uppercase;
	color: #C59C71;
	transition: all 0.1s ease-in-out;
}

a.link-button:hover {
	background: url(https://autofficinagamberini.com/wp-content/uploads/2019/04/arrow-1.png);
	background-repeat: no-repeat;
	background-position: right;
	padding-right: 82px;
	color: #fff;
	transition: all 0.1s ease-in-out;
}

.home-container-left p {
	margin-bottom:80px;
}

#tm-bottom-a {
	padding:0;
}

#tm-bottom-a .header-container.uk-container-100 {
	padding: 176px 0;
	background-size:cover;
	position:relative
}

#tm-bottom-a .header-container.uk-container-100:after {
	background: linear-gradient(180deg, #240000 0%, rgba(36, 0, 0, 0.9) 8.43%, rgba(37, 35, 33, 0.6) 72.93%);
	position:absolute;
	top:0;
	left:0;
	content:"";
	width:100%;
	height:100%;
	z-index:2;
}

#tm-bottom-a .title-container.uk-container.uk-container-center.tm-container-90 {
	position:relative;
	z-index:3;
}

.intro-container {
	padding: 80px 0 0 0;
}

#tm-bottom-d .uk-width-large-1-3  input {
	background: transparent;
	padding: 16px;
	border: 1px solid #fff;
	color: white;
	font-family: 'Work Sans', sans-serif;
	margin-bottom: 32px;
	width: 100%;
	box-sizing: border-box;
}

textarea.wpcf7-form-control.wpcf7-textarea {
	background: transparent;
	padding: 16px;
	border: 1px solid #fff;
	color: white;
	font-family: 'Work Sans', sans-serif;
	margin-bottom: 32px;
	width: 100%;
	box-sizing: border-box;
}

.wpcf7-form-control-wrap {
	position: relative;
	display: block;
}

.tm-totop-scroller.ag-totop {
	right:50%;
	margin-right: -10px;
	height: 30px;
}

.tm-totop-scroller.ag-totop img {
	height: 85%;
}

.tm-totop-scroller:after {
	display:none;
}

#tm-footer p {
	font-size: 14px;
}

.tm-footer-left {
	padding-left:50px;
}

span.wpcf7-list-item-label {
	font-size: 12px;
}

input[type="checkbox"] {
	height:12px;
}

.grecaptcha-badge {
	z-index: 9;
}

/* ============================================= */
/* 							LANDING	 	 +    THANK YOU  	     */
/* ============================================= */

.page-id-155 .tm-navbar .uk-flex-item-1, .page-id-155 .uk-navbar-toggle,
.page-id-158 .tm-navbar .uk-flex-item-1, .page-id-158 .uk-navbar-toggle {
	display:none !important;
}

.page-id-155 .tm-logo-small img,
.page-id-158 .tm-logo-small img {
	margin-left:0 !important;
}

.page-id-155 .tm-navbar .uk-grid > .uk-text-center,
.page-id-158 .tm-navbar .uk-grid > .uk-text-center {
	left: 50%;
	position: relative;
	transform: translateX(-50%);
	z-index: 9;
}

.page-id-155 .tm-logo-small,
.page-id-158 .tm-logo-small {
	left: 50%;
	position: relative;
	transform: translateX(-50%);
	top: 30px;
	z-index: 9;
}

.page-id-155 #tm-bottom-d,
.page-id-158 #tm-bottom-d {
	display:none;
}

.page-id-155 .height-viewport-50 {
	height: 100%;
	padding: 80px 0;
	position:relative;
	background-position: center top;
}

.page-id-155 .header-container.uk-container-100.height-viewport-50:before {
	content: "";
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	top: 0;
	left: 0;
	position: absolute;
	background: linear-gradient(180deg, rgba(36, 0, 0, 0.9) 43.67%, rgba(37, 35, 33, 0.5) 100%);
	transform: rotate(-180deg);
}

.page-id-155 .height-viewport-50:after {
	content:none;
}

.page-id-155 input[type="text"], .page-id-155 input[type="email"], .page-id-155 input[type="tel"] {
	background: transparent;
	padding: 16px;
	border: 1px solid #fff;
	color: white;
	font-family: 'Work Sans', sans-serif;
	margin-bottom: 32px;
	width: 100%;
	box-sizing: border-box;
	font-size: 16px;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: white;
}
::-moz-placeholder { /* Firefox 19+ */
	color: white;
}
:-ms-input-placeholder { /* IE 10+ */
	color: white;
}
:-moz-placeholder { /* Firefox 18- */
	color: white;
}

.page-id-155 input[type="submit"] {
	position: relative;
}

.page-id-155 .ag--landing-form {
	padding: 70px;
	padding-bottom: 0;
}

.page-id-155 textarea {
	margin-bottom:0 !important;
	font-size: 16px;
}

.page-id-155 #tm-top-a .uk-button {
	margin-top: 0 !important;
}

.page-id-155 .ag--padding-x {
	padding: 0 35px;
}

.page-id-155 .tm-logo,
.page-id-158 .tm-logo {
	cursor:default;
}

.page-id-155 p.uk-text-left-small {
	color:white;
}

.page-id-158 .ag--padding-header {
	padding:0 70px;
}

.page-id-155 .wpcf7-response-output.wpcf7-display-none.wpcf7-spam-blocked {
	position: relative;
}

/* =============================== */
/* 						RESPONSIVE	 	       */
/* =============================== */


@media screen and (max-width:400px) {
	.home-widgetkit .uk-panel {
		padding: 0px;
		}

	.container-contatti .title-container {
		padding:0;
	}
}

@media screen and (min-width:300px) and (max-width:767px) {
	h1 {
		font-size: 32px;
	}

	h2 {
		font-size:28px;
		width:auto;
	}

	h3 {
		font-size:24px !important;
		width:auto;
	}

	a.link-button {
		font-size:20px;
	}

	html .uk-nav.uk-nav-offcanvas a {
		background: rgba(0, 0, 0, 0);
		color: #ffffff;
		font-family: 'Barlow Condensed', sans-serif !important;
	}

	.uk-panel-box {
		padding: 0px;
	}

	.uk-panel-space {
		padding: 0px;
	}

	#tm-bottom-d .uk-panel-box {
		padding:16px;
	}

	p, li {
		font-size:16px;
	}

	div#tm-top-a {
		margin-top: 0;
	}

	.uk-container-center.home-container-left img {
		margin-left: -60%;
		width: 100%;
		transform: scale(1);
	}

	#tm-top-a .title-container.uk-container.uk-container-center.tm-container-90 {
		position: relative;
		z-index: 3;
		top: 10%;
	}

	.page #tm-top-a .title-container.uk-container.uk-container-center.tm-container-90 {
		top: 25%;
	}

	#tm-top-a .uk-button {
		margin-top: 8px;
		font-size:14px;
	}

	.uk-container-center.home-container-right img {
		margin-right: 0;
		margin-top: 32px;
	}

	.uk-container-center.home-container-left img {
		margin-left: 0;
		width: 100%;
		margin-top: 48px;
	}
	.content-contatti {
		column-count: 1;
	}

	textarea.wpcf7-form-control.wpcf7-textarea {
		display: block;
	}

	form .uk-grid > * {
		padding-left:16px;
	}

	.tm-footer-left + .tm-totop-scroller + .tm-footer-right {
		margin-top:56px;
	}

	.text-center-mobile {
		text-align:center !important;
	}

	span.wpcf7-list-item-label {
		font-size: 16px;
	}

	div.wpcf7 .ajax-loader {
		display: block;
	}

	.tm-logo-small img {
		width: 100px;
		margin-left: -20px;
	}

	.tm-footer-left {
		padding-left:0;
	}

	.uk-container {
		padding:0 24px;
	}

	.container-contatti:after {
		background: rgba(37, 35, 33, 0.8);
	}

	/* LANDING */
	.page-id-155 .tm-navbar.uk-navbar,
	.page-id-158 .tm-navbar.uk-navbar {
		padding-top: 0;
		padding-bottom: 10px;
	}

	.page-id-155 .ag--landing-form,
	.page-id-158 .ag--padding-header {
		padding: 15px 35px;
		padding-bottom: 0;
	}

	.page-id-155 .ag--padding-x {
		padding: 0;
	}

}

@media screen and (min-width: 768px) and (max-width:810px) {
	ul.uk-navbar-nav.uk-hidden-small, ul.tm-nav-secondary.uk-navbar-nav.uk-float-right {
		display: inline-block !important;
	}
	.uk-flex-item-1 {
		margin-top: 0px;
	}
	.container-contatti:after {
		background: rgba(37, 35, 33, 0.8);
	}

}

@media screen and (min-width:768px) and (max-width:1220px) {
	.uk-navbar-nav > li > a {
		line-height: 22px;
	}
}

@media (min-width: 1220px) {
	.uk-container {
		padding: 0 35px;
	}

	#tm-bottom-d .widget_custom_html {
		padding-left: 0;
		padding-right: 0;
	}

	.page .uk-panel.uk-panel-box.uk-container-90.widget_widgetkit {
		padding: 0;
	}

	.uk-panel-box {
		padding: 0;
	}
}

