/*
	Theme Name: Leasing
	Description: Responsive Wordpress template
	Version: 1.0
	Author: Carussel
*/
@font-face {
  font-family: 'OpelNext';
  src:  url('fonts/OpelNextW05-Regular.woff') format('woff');
	font-weight: 400;
}
@font-face {
  font-family: 'OpelNext';
  src:  url('fonts/OpelNextW05-Bold.woff') format('woff');
	font-weight: 700;
}
@font-face {
  font-family: 'OpelNext';
  src:  url('fonts/OpelNextW05-Light.woff') format('woff');
	font-weight: 300;
}
:root {
	--border: #CCCCCC;
	--black: #000000;
	--d-gray: #888888;
	--l-gray: #F3F3F3;
	--yellow: #F7FF14;
	--white: #FFFFFF;
	
	--e-global-color-secondary: #888888;
	--e-global-color-primary: #000000;
	--e-global-color-text: #F3F3F3;
	--e-global-color-17a1050: #FFFFFF;
	--e-global-color-1ffd2b6: #CCCCCC;
	--e-global-color-accent: #F7FF14;
}
* {	
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {  
	font-family: 'OpelNext', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	letter-spacing: 0.16px;
	background: #F9F9F9;
}
p {
	margin: 0;
}
ul, ol {
	margin: 0 0 0 13px;
}
img {
	max-width: 100%;
	vertical-align: middle;
}
h2 {
	font-weight: 400;
	font-size: 40px;
	line-height: 48px;
	color: var(--black);
	text-align: center;
	letter-spacing: normal;
	margin: 0;
}
h3 {
	font-weight: 700;
	font-size: 22px;
	line-height: 24px;
	color: var(--black);
	letter-spacing: normal;
	margin: 0;
}
.error {
	color: #FF0000;
}
.success {
	color: #00A40C;
}
.btn-style-1,
.btn-style-1 a {
	position: relative;
	display: inline-block;
	font-weight: 700;
	font-size: 16px;
	line-height: 24px;
	border: 1px solid var(--black);
	padding: 12px 48px;	
	overflow: hidden;
	border-radius: 0;
	transition: transform .55s cubic-bezier(0,.545,.19,1);
	transition: color .3s,border-color .3s;
}
.btn-style-1:after,
.btn-style-1 a:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 118%;
	height: 100%;
	background-color: var(--yellow);
	transform-origin: 200% 0;	
	transform: skew(-23deg) translateX(-101%);
	transition: transform .55s cubic-bezier(0,.545,.19,1);
}
.btn-style-1:hover,
.btn-style-1 a:hover {
	letter-spacing: 0.16px;
	border: 1px solid var(--yellow);
}
.btn-style-1:hover:after,
.btn-style-1 a:hover:after,
.btn-style-2:hover:after,
.btn-style-2 a:hover:after {
	transform: skew(-23deg) translateX(0);	
	transition: transform .55s cubic-bezier(0,.545,.19,1);
}
.btn-style-1 span,
.btn-style-1 a span,
.btn-style-2 span,
.btn-style-2 a span {
	position: relative;
	z-index: 2;
	border: 0;
}
.btn-style-2,
.btn-style-2 a {
	position: relative;
	display: inline-block;
	font-weight: 700;
	font-size: 16px;
	line-height: 24px;
	border: 0;
	padding: 12px 48px;	
	overflow: hidden;
	border-radius: 0;
	background-color: var(--yellow);
	transition: transform .55s cubic-bezier(0,.545,.19,1);
	transition: color .3s,border-color .3s;
}
.btn-style-2:after,
.btn-style-2 a:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 118%;
	height: 100%;
	border: 0;
	background-color: var(--black);
	transform-origin: 200% 0;	
	transform: skew(-23deg) translateX(-101%);
	transition: transform .55s cubic-bezier(0,.545,.19,1);
}
.btn-style-2:hover,
.btn-style-2 a:hover {
	color: var(--white);
	border: 0;
}

header {
	padding: 12px 0;
	background: var(--white);
}
header .container-fluid {
	max-width: 1278px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}
header .row {
	display: flex;
	align-items: center;
}
header ul {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	list-style: none;
}
header ul li {
	font-size: 16px;
	line-height: 24px;
	margin-right: 14px;
}
header ul li:last-child {
	margin: 0 0 0 12px;
}
header ul li a {
	padding: 0 10px;
	color: var(--black);
}
header ul li a:hover {
	font-weight: 700;
	color: var(--black);
	text-decoration: none;
	letter-spacing: -0.07px;
}

section.main-pic {
	position: relative;
}
section.main-pic .text {
	position: absolute;
	max-width: 1170px;
	left: 50%;
	bottom: 36px;
	width: 100%;
	transform: translateX(-50%);
}
section.main-pic h1 {
	font-weight: 700;
	font-size: 56px;
	line-height: 100%;
	color: var(--white);
	text-transform: uppercase;
}
section.main-pic img {
	object-fit: cover;
	width: 100%;
	max-height: 430px;
}

main,
.form {
	max-width: 1278px;
	margin: 30px auto 0 auto;
	padding: 0 24px;
}

.form form {
	margin: 0 auto;
	padding: 24px 0;
	background: var(--l-gray);
}
.form input,
.form select {
	width: 100%;
	padding: 11px 15px;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	background: var(--white);
	color: var(--black);
	border: 1px solid var(--border);
}
.form select {
	padding: 12px 15px;
}
.form input:focus,
.form select:focus {
	outline: 0;
	border: 1px solid var(--black);
}

.main-page-cars .rt-holder {
	box-shadow: none !important;
}
.main-page-cars .tpg-excerpt {
	margin: 0 !important;
}
.main-page-cars .tpg-excerpt {
	padding: 0 !important;
	border: 1px solid var(--border);
}
.main-page-cars .tpg-excerpt a,
.main-page-cars .tpg-excerpt img {
	width: 100%;
}
.main-page-cars .tpg-excerpt img {
	margin: -12px -24px;
}
.main-page-cars .tpg-excerpt h3,
.main-page-cars .tpg-excerpt p:not(:first-child) {
	padding: 12px 24px;
}
.main-page-cars .rt-holder .price {
	display: flex;
	justify-content: space-between;
	background: var(--l-gray);
}

.service-box {
	position: relative;
	display: inline-block;
	text-align: center;
	margin: 30px 0;
}
.service-box p {
	font-weight: 700;
	font-size: 14px;
	line-height: 18px;
	color: var(--d-gray);
	margin: 12px 0 0 0;
}
.service-box .tp {
	position: absolute;
	top: 110%;
	left: 50%;
	transform: translateX(-50%);
	width: 230px;
	padding: 12px;
	text-align: left;
	font-size: 14px;
	line-height: 16px;
	background: var(--white);
	border: 1px solid var(--border);
	transition: visibility 0s, opacity 0.5s linear;
	z-index: 2;
	opacity: 0;
	visibility: hidden;
}
.service-box .tp:after {
	content: '';
	position: absolute;
	top: -5px;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--yellow);
}
.service-box .tp:before {
	content: '';
	position: absolute;
	top: -11px;
	left: 50%;
	transform: translateX(-50%);
	border: 9px solid transparent;
  border-top: 0;
  border-bottom: 9px solid var(--yellow);
}
.service-box:hover .tp {
	opacity: 1;
	visibility: visible;
}
.service-box .tp em {
	display: block;
	font-weight: 700;
	font-size: 14px;
	line-height: 16px;
	font-style: normal;
	margin: 0 0 14px 0;
}
.service-box .tp span {
	display: inline-block;
	margin: 4px 0 0 0;
	font-size: 12px;
	line-height: 14px;
	color: var(--d-gray);
}

.nav-tabs {
	margin: 0;
}
.nav-tabs .nav-link {
	border: 0;
	padding: 12px 0;
	margin-right: 24px;
	font-size: 16px;
	line-height: 24px;
	color: var(--black);
}
.nav-tabs .nav-link:focus, 
.nav-tabs .nav-link:hover,
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
	font-weight: 700;
	color: var(--black);
	text-decoration: none;
	letter-spacing: -0.07px;
	border-left: 0;
	border-right: 0;
	border-top: 0;
	border-bottom: 3px solid var(--black);
	background: transparent;
}
.tab-pane {
	padding: 20px;
	border: 1px solid var(--border);
}

dl {
	display: flex;
	margin-bottom: 10px;
}
dt {	
	min-width: 200px;
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	color: var(--d-gray);
}
dd {
	margin: 0;
}
.oc-box em {
	cursor: pointer;
	font-weight: 700;
	font-style: normal;
}
.oc-box em:after {
	content: ' 🞣';
}
.oc-box .content {
	display: none;
	padding-top: 10px;
}

.lead {
	font-weight: 400;
	font-size: 21px;
	line-height: 29px;
	text-align: center;
}

.wide-box {
	display: flex;
	align-items: center;
	padding: 24px;
	border: 1px solid var(--border);
}
.wide-box .pic {
	margin-right: 25px;
}
.wide-box h3 {
	font-weight: 400;
	font-size: 28px;
	line-height: 44px;
	margin: 0 0 12px 0;
}
.wide-box p {
	font-size: 14px;
	line-height: 18px;
	color: var(--d-gray);
	margin: 0;
}


#pic-gallery .carousel-indicators {
	position: relative;
}
#pic-gallery .carousel-indicators li {
	width: 120px;
	height: auto;
	text-indent: 0;
	padding-bottom: 3px;
	border-bottom: 4px solid transparent;
}
#pic-gallery .carousel-indicators li.active {
	border-bottom: 4px solid var(--black);
}
#pic-gallery .carousel-indicators li img {
	width: 100%;
	height: auto;
}
#pic-gallery .carousel-inner {
	width: 80%;
	margin: 0 auto;
}
#pic-gallery .carousel-control-prev {
	justify-content: flex-start;
}
#pic-gallery .carousel-control-prev-icon {
	width: 49px;
	height: 49px;	
	background: url('/wp-content/uploads/2023/03/left-arrow.svg') no-repeat;
}
#pic-gallery .carousel-control-next {
	justify-content: flex-end;
}
#pic-gallery .carousel-control-next-icon {
	width: 49px;
	height: 49px;	
	background: url('/wp-content/uploads/2023/03/right-arrow.svg') no-repeat;
}

footer {
	padding: 30px 0;
	background: var(--black);
}
footer .container-fluid {
	max-width: 1278px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}
footer h2 {
	display: inline-block;
	font-weight: 400;
	font-size: 24px;
	line-height: 30px;
	color: var(--white);
	text-align: left;
	padding-right: 22px;
	margin-bottom: 16px;	
}
footer h2:after {
	content: '';
	position: relative;
	top: 1px;
	display: inline-block;
	width: 24px;
	height: 18px;
	background: url('img/sprite-slash.webp') no-repeat right center;
}
footer ul {
	list-style: none;
	columns: 2;
	margin: 0;
}
footer ul li {
	padding: 3px 0;
}
footer ul.text li a {
	position: relative;
	display: inline-block;
	font-size: 14px;
	line-height: 18px;
	color: var(--white);
	padding: 0 .125rem;
	overflow: hidden;
	z-index: 2;
	transition: color .3s,border-color .3s;
}
footer ul.text li a:hover {
	color: var(--black);
	text-decoration: none;
}
footer ul.text li a:after {
  content: '';
  position: absolute;
  top: 0;
  z-index: 1;
  width: 125%;
  height: 100%;
  background-color: #f7ff14;
  transform-origin: 200% 0;
  left: 0;
  transform: skew(-23deg) translateX(-101%);
	z-index: -1;
	transition: transform .55s cubic-bezier(0,.545,.19,1);
}
footer ul.text li a:hover:after {
	transform: skew(-23deg) translateX(0);
}
footer .container-fluid .row > div:last-child ul {
	columns: 1;
}
footer .container-fluid .row > div:last-child ul li {
	display: inline-block;
	margin-right: 20px;
}
footer .container-fluid .row > div:last-child ul li:last-child {
	margin-right: 0;
}


.elementor-accordion .elementor-tab-title {
	display: flex;
	align-items: center;
}

@media (max-width: 1199.98px) { 

}

@media (max-width: 991.98px) { 
	h2 {
		font-size: 30px;
		line-height: 38px;
	}
	header > div:first-child {
		text-align: right;
	}
	header img {
		max-height: 40px;
	}
	header .main-menu > span {
		display: block;
		width: 21px;
		height: 16px;
		cursor: pointer;
		background: url('img/sprite-menu.webp') no-repeat;
	}
	header ul {
		display: none;
		position: absolute;
		top: 64px;
		left: 0;
		width: 100vw;
		z-index: 2;
		background: var(--white);
		text-align: left;
		flex-direction: column;
		align-items: flex-start;
	}
	header ul li {
		width: 100%;
		padding: 0 1.5rem;
	}
	header ul li:last-child {
		margin: 0;
		padding: 0 1.5rem 1.5rem 1.5rem;
	}
	header ul li a {
		display: block;
		padding: 20px 0;
	}
	header ul li .btn-style-1 {
		margin-top: 20px;
		text-align: center;
	}
	

	footer ul {
		columns: 1;
	}
	footer .container-fluid .row > div:last-child ul {
		margin-bottom: 30px;
	}
}

@media (max-width: 767.98px) { 
	main .nav-tabs {
		margin: 0;
		flex-direction: column;
	}
	main .nav-tabs .nav-link {
		margin: 0;
		padding: 12px 24px;
		text-align: center;
	}
	main .nav-tabs .nav-link:hover {
		border: 0;
	}
	main .nav-tabs .nav-link.active {
		border: 0;		
		padding: 12px 24px;
		background: var(--yellow);
	}
	#pic-gallery .carousel-inner {
		width: 100%;
	}
	#pic-gallery .carousel-control-prev-icon,
	#pic-gallery .carousel-control-next-icon {
		width: 30px;
		height: 30px;
		background-size: cover;
	}
}

@media (max-width: 575.98px) { 
	dl {
		flex-direction: column;
	}
	
	.btn-style-1.on-black {
		border: 1px solid var(--white);
	}
	.on-black,
	.btn-style-1.on-black a {
		color: var(--white) !important;
	}
	.btn-style-1.on-black:hover a {
		color: var(--black) !important;
	}
	
	.wide-box {
		flex-direction: column;
	}
	.wide-box .pic {
		margin: 0 0 20px 0;
	}
	.wide-box .text {
		text-align: center;
	}
	.wide-box h3 {
		font-size: 24px;
		line-height: 32px;
	}
	
	#top-sticky {
		position: sticky;	
		text-align: right;
		margin-bottom: 10px;
		right: 0;
		bottom: 10px;
		z-index: 30;	
	}
	#top-sticky div {
		display: inline-block;
		width: 62px;
		height: 63px;
		cursor: pointer;
		background: url('img/sprite-totop.webp') no-repeat;
	}
}