/*
Theme Name: 	Betheme Child
Theme URI: 		http://themes.muffingroup.com/betheme
Author: 		Muffin group
Author URI: 	http://muffingroup.com
Description:	Child Theme for Betheme - Premium WordPress Theme
Template:		betheme
Version: 		1.6.1
*/

/* Theme customization starts here
-------------------------------------------------------------- */

.center{text-align: center;}
.wpcf7-spinner{position: absolute;}
.wpcf7-form-control-wrap{margin-top: 10px;}
.popup_form{
	display: none;
	width: 300px;
	padding: 20px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-left: -175px;
	margin-top: -150px;
	border-radius: 10px;
	z-index: 9;
	background: #fff;
	color: #000;
}
.popup_form .title{
	text-align: center;
	margin-bottom: 15px;
	font-size: 18px;
}
.fonka{
	z-index: 8;
	position: fixed;
	background: rgba(0,0,0,0.3);
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	display: none;
}
.form_wrapper{
	position: relative;
}
.closerka{
	position: absolute;
    right: -30px;
    top: -30px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e1306c;
    color: #fff;
    cursor: pointer;
}
.h4{
	    font-family: "Patua One",Arial,Tahoma,sans-serif;
	        font-size: 21px;
    line-height: 25px;
    font-weight: 300;
    letter-spacing: 0;
        margin-bottom: 15px;
}
.flex{
	display: flex;
} 
.jc-sb{
	justify-content: space-between;
}
.al-c{
	align-items: center;
}
.al-t{
	align-items: flex-start;
}
.single_prem{
	border: 1px solid #ccc;
	margin-bottom: 20px;
	border-radius: 10px;
	display: flex;
	flex-flow: column;
	padding: 15px;
	justify-content: space-between;
}
.single_prem .title{display: flex;justify-content: space-between;cursor: pointer;    font-size: 18px;font-weight: bold;
    line-height: 25px;

    letter-spacing: 0;
width: 100%;}
.single_prem .text{display: none;padding-top: 10px;}
.single_prem .title .close-button{transform: rotate(45deg);transition: all 0.3s;z-index: -10;}
.single_prem.active .title .close-button{transform: rotate(0deg);}
.accordion{margin-bottom: 50px;font-family: 'Montserrat', sans-serif;}

.single_prem.active .text{display: block;}
.dops{
	padding-top: 20px;
    padding-bottom: 20px;
    background-color: #F4FA58;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}
.dops .h4{
	font-size: 32px;
	 font-family: 'Montserrat', sans-serif;
	 margin-bottom: 40px;
}
.dps{display: flex;}
.dps > div{
	width: 33%;
	font-size: 18px;

}
.single_dop > div{	margin-bottom: 10px;}
.single_dop .name,
.single_dop .price{font-weight: bold;}
.button_order{transition: all 0.5s;}
.button_order:hover{text-decoration: none;color: #fff;background:#0c6236;}
.popup-gallery{margin-right: 20px;display: flex;flex-flow: wrap;}
.hidden_mobile{display: none;max-width: 30%;margin-bottom: 10px;margin-right: 10px;}
.button_new{
	display: flex;
    border-radius: 8px;
    background: #129853;
    color: #fff;
    padding: 10px 16px;
    justify-content: center;
    font-weight: 600;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    transition: 1s all;
}
.button_new:hover{
	color: #fff;
	text-decoration: none;
	    background: #0c6236;
}
.top_all_cars h1{text-align: center;font-size: 28px;text-transform: uppercase;}
form .wpcf7-submit.wpcf7-form-control{
	display: flex;
    border-radius: 8px!important;
    font-size: 16px;
    background: #129853;
    color: #fff;
    padding: 10px 16px;
    justify-content: center;
    font-weight: 600;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
form .wpcf7-submit.wpcf7-form-control:hover{
	text-decoration: none;
    color: #fff;
    background: #0c6236;
}
.popup_form form .themecolor .wpcf7-checkbox{
	display: flex;
	flex-flow: column;
	gap:10px;
}
.popup_form .column.one-second{
	width: 100%;
}
.popup_form .column.one-second p{
	margin-bottom: 0px;
}
.list_of_cars,
.page_all_cars.container{margin-top: 0;}
.grey{color: #9A9A9A;}
.inline-block{display: inline-block!important;}
.h3_bold{font-weight: bold;font-size: 25px;}
.list_price{line-height: normal;display: flex;font-size: 12px;}
.flex-column{display: flex;flex-flow: column;padding: 5px 1px!important;background: #9ffb9e;width: 20%;color: #000;}
.flex-column:nth-child(odd){
	background: #59fa54;
}
.list_of_cars .one-fourth.column{width: 30%;}
.list_of_cars .image_wrapper img{ max-width: 100%;height: auto;max-height: 162px;
    width: auto;}
.pricing-box .plan-header h2{height: 55px;}
.main_page{display: inline-block!important;margin-bottom: 15px;}
.list_of_cars .image_wrapper{height: 240px;}
.pricing-box .plan-inside ul li:nth-child(1),
.pricing-box .plan-inside ul li:nth-child(2){
	font-weight: bold;
	color: #129853;
}
.image img{
	max-width: 100%;
	height: auto;
}
.ocenka{margin-bottom: 10px;}
#Wrapper #next_video{margin-top: 0 !important; padding-top: 0 !important;}
.reviews{
	background: #27ae60!important;padding: 20px;color: #fff;
}
.reviews .title{
	margin: 30px;
	text-align: center;
	color: #fff;
}
.author small{font-size: 12px;}
.car_main{
	margin-top: 20px;
	display: block;
	font-style: normal;
	text-align: center;
	-webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
	-moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
	box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
	text-decoration: none;
	border-radius: 15px;
	    background-color: #37a7dc;
	    transition: background-color 1s;
}
.car_main:hover{color: #fff;text-decoration: none;background-color: #27ae60}
.car_main .car_im{
    display: flex;
    align-items: center;

    
    color: #fff;
    font-weight: bold;
    position: relative;
    padding: 15px 15px 15px 70px;
    text-decoration: none;
    cursor: pointer;
  	justify-content: center;
    text-align: center;
    text-transform: uppercase;
        font-family: 'Montserrat', sans-serif;
}
.car_main .image_block{
	position: absolute;
	background: #fff;
	border-radius: 50%;
	width: 80px;
	height: 80px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
-moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    left: 10px;
}
.car_main .car_im img{
    width: 80px;
    height: auto;
    border-radius: 0px;
}
figure.snip1157 {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  overflow: visible!important;
  margin: 10px;
  min-width: 220px;
  max-width: 375px;
  width: 100%;
  color: #333;
  text-align: left;
  box-shadow: none !important;
}
figure.snip1157 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s cubic-bezier(0.25, 0.5, 0.5, 0.9);
  transition: all 0.35s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}
figure.snip1157 img {
  max-width: 100%;
  vertical-align: middle;
  height: 90px;
  width: 90px;
  border-radius: 50%;
}
figure.snip1157 blockquote {
  display: block;
  border-radius: 8px;
  position: relative;
  background: #f5f5f5;
  padding: 30px 30px 30px 30px!important;
  font-size: 0.9em;
  font-weight: 500;
  margin: 0;
  line-height: 1.6em;
  font-style: italic;

}
.with_form.snip1157 blockquote{
  max-height: 100%;
}
figure.snip1157 blockquote:before,
figure.snip1157 blockquote:after {
  font-family: 'FontAwesome';
  content: "\201C";
  position: absolute;
  font-size: 50px;
  opacity: 0.3;
  font-style: normal;
}
figure.snip1157 blockquote:before {
  top: 15px!important;
  left: 20px;
}
figure.snip1157 blockquote:after {
  content: "\201D";
  right: 20px;
  bottom: 0;
}
figure.snip1157 .arrow {
  top: 100%;
  width: 0;
  height: 0;
  border-left: 0 solid transparent;
  border-right: 25px solid transparent;
  border-top: 25px solid #f5f5f5;
  margin: 0;
  position: absolute;
}
figure.snip1157 .author {
 
    font-family: 'Montserrat', sans-serif;
  padding: 0 10px 0 0px;
  margin: 0;
  text-transform: uppercase;
  color: #ffffff;
  margin-top:45px!important;
}
figure.snip1157 .author  span{display: flex;gap:10px;}
figure.snip1157 .author h5 {
  opacity: 0.8;
  margin: 0;
  font-weight: 800;
}
figure.snip1157 .author h5 span {
  font-weight: 400;
  text-transform: none;
  padding-left: 5px;
}
.list_of_revs{flex-flow: wrap;gap:15px;justify-content:flex-start;}
.flex-c{flex-flow: column;}
.text_front{
  padding-top:20px; padding-bottom:30px; background-color:#27ae60;color: #fff;
}
.text_front h1{font-size: 30px;line-height: normal;}
.text_front h1,.text_front h2{
  color: #fff;text-align: center;
}
.text_front .column_column  ul{color: #fff;}
.popup_form.form_car{overflow: visible!important;}

.show_more{
  background: url('/wp-content/themes/betheme-child/arrow-down-circle-svgrepo-com.svg');
}
.show-more{
    background: url(/wp-content/themes/betheme-child/images/arrow.svg) no-repeat center center #007cef;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    padding: 0px;
    background-size: 50%;
    position: absolute;
    right: -10px;
    transition: 1s all;
}
.opened .show-more{
  transform: rotate(180deg);
}
.show-more img{
    width: 12px !important;
    height: 25px !important;
}
.to_long{max-height: 195px!important;overflow: hidden;}
.home .reviews{
  background: #fff!important;
}
.home .reviews .title{font-size: 28px;}
.home .reviews .title,
.home .reviews figure.snip1157 .author{color: #000!important;}
.all_revs {justify-content: center;margin-bottom: 20px;}
figure.snip1157 blockquote{
  -webkit-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
-moz-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
}

.city-selector {
  position: relative;
  display: inline-block;
  font-family: Arial, sans-serif;
  transition: 1s all;
}

.city-selector label {
  margin-right: 10px;
  font-size: 16px;
  font-weight: bold;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.city-selector .dropbtn {
  background-color: #129853;
  border-radius: 8px;
  color: white;
  padding: 10px 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 0px;
    height: 41px;
    font-weight: bold;
    width: 159.24px;
}

.city-selector:hover svg{transform: rotate(180deg);transition: 0.3s all;}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 4px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 16px;
}

.dropdown-content a:hover {
  cursor: pointer;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #0056b3;
}
 .dropdown-content .active {
    font-weight: bold;
    color: #129853; /* Цвет активного элемента */
  }

@media screen and (max-width: 1240px){
  .flex-c-mob{margin-right: 30px;display: flex;justify-content: space-between;}
}

@media screen and (max-width: 1024px){
	.pricing-box .plan-header{padding: 20px 5px 0px!important;}
	
	.list_price > div{justify-content: center; align-items: center;}
	.pricing-box .plan-header h2{height: auto;}
	.flex-mobile-column{flex-flow: column;margin-top: 20px;}
	.top-car-part{order: 2;}
	.button_order{order: 1;margin-bottom: 10px;}
	.dops .h4{font-size: 20px;}
	.dps{flex-flow: column;}
	.dps >div{width: 100%;margin-bottom: 10px;}
	.video-container .button_order{width: 215px!important;
    margin-left: -107.5px!important;}
}
@media screen and (max-width: 768px){
      body {
        padding-top: 0px !important;
    }
  #Content{padding-top: 0px!important;}
  .flex-c-mob{
    
    margin-right: 0px;
    
  }
	.list_of_revs.flex{max-width: 100%!important;}
	.single_car{
		flex-flow: column;
	    margin-bottom: 30px;
	    padding-bottom: 30px;
	    border-bottom: 1px solid #ccc;
	}
	.single_car h3{
		margin-top: 10px;
	}
}
.video-container h1{
    position: absolute;
    text-align: center;
    width: 80%;
    margin: 0 auto;
    left: 10%;
    color: #fff;
    top: 20%;
    line-height: 2rem;
    font-weight: bold;
    font-size: 42px;
}
@media screen and (max-width: 768px){
  .video-container h1{font-size: 25px;}
}
/* Global font weight & smooth animations */
body, p, li, span, div {
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
}
a, button, .button_order, .button_new, .car_main,
figure.snip1157 *, .city-selector *, .dropdown-content a,
.single_prem .title .close-button, .show-more {
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Fix white space on mobile - betheme JS sets padding-top dynamically */
@media screen and (max-width: 1239px) {
  body {
    padding-top: 0 !important;
  }
  #Wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}

/* Fix: cars disappearing on mobile - force visible */
@media screen and (max-width: 1239px) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Fix: WhatsApp button size on mobile */
@media screen and (max-width: 768px) {
  .joinchat,
  .joinchat__button,
  #joinchat {
    --s: 48px !important;
    width: 48px !important;
    height: 48px !important;
    right: 10px !important;
    bottom: 10px !important;
  }
  .joinchat .joinchat__button {
    width: 48px !important;
    height: 48px !important;
  }
}

/* FINAL FIX - white space top */
body, #Wrapper, #Header_wrapper, #Header {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
#Header {
  min-height: 0 !important;
}

/* Remove all top spacing */
#Action_bar, #Top_bar {
  margin-top: 0 !important;
}
#Subheader {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.section:first-child, .mcb-section:first-child {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
#Content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
html {
  margin-top: 0 !important;
}

/* Aggressive top space removal */
.video-container,
.section.mcb-section:first-of-type,
#Wrapper > *:first-child,
.sections_group > .section:first-child,
#Header_wrapper + #Content,
.template-slider #Header_wrapper {
  margin-top: -1px !important;
  padding-top: 0 !important;
}
#Header_wrapper {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.video-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
  top: 0 !important;
}
body.home #Content,
body.home .sections_group {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Remove gap between sections */
.section, .mcb-section {
  margin: 0 !important;
}
.section + .section,
.mcb-section + .mcb-section {
  margin-top: 0 !important;
}
.section_wrapper {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.list_of_cars,
.page_all_cars.container {
  margin-top: 0 !important;
  padding-top: 20px !important;
}
.text_front {
  margin: 0 !important;
}
.video-container + * {
  margin-top: 0 !important;
}
#Content .sections_group > .section {
  margin-bottom: 0 !important;
}

/* Fix white line between video and green section */
.video-container {
  display: block !important;
  margin-bottom: -2px !important;
  padding-bottom: 0 !important;
}
.video-container + .section,
.video-container + div {
  margin-top: -2px !important;
}
.section.mcb-section {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
