/***************************** services section **********************************/
.section__services {
	padding-top: 102px;
	padding-bottom: 158px;
	background-image: url('../img/bg.jpg');
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
	background-size: cover;
}
.advantages__items .advantages__item img {
    width: 285px;
    height: 127px;
    margin-bottom: 38px;
    border-radius: 12px;
}
@media (max-width: 1180px) {
.section__franchise .franchise__wrapper {
    grid-template-columns: 1fr;
    justify-items: left !important;
}
}
.section__services .services__items {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 30px;
	margin-top: 35px;
}
.services__items .services__item {
	max-width: 534px;
	width: calc(100% - 6px);
	height: 294px;
	border-width: 3px;
  border-color: #fdd88a;
  border-style: solid;
  border-radius: 10px;
	box-shadow: 0px 20px 65px 0px rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: flex-end;
}
.services__items .services__item p {
	font-size: 4.6rem;
	line-height: 5.3rem;
	color: #fff;
	width: min-content;
	margin: 0 0 21px 25px;
}
/**************************** end services *****************************************/
/***************************** franchise section **********************************/
.section__franchise {
	background-image: url('../img/franchise-bg.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	padding-top: 162px;
	padding-bottom: 158px;
}
.section__franchise::before {
	content:'';
	width: 100%;
	height: 130px;
	position: absolute;
	top: 0;
	background-image: url('../img/franchise-top-bg.png');
	background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
	background-size: cover;
	z-index: 2;
}
.section__franchise::after {
	content:'';
	width: 100%;
	height: 88px;
	position: absolute;
	bottom: 0;
	background-image: url('../img/franchise-bottom-bg.png');
	background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
	background-size: cover;
	z-index: 2;
}
.section__franchise .franchise__wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 16px;
	margin-top: 32px;
}
.section__franchise .advantages__items {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 10px;
}
.advantages__items .advantages__item {
	text-align: center;
	border: 1px solid #fdd88a;
	padding: 52px 15px 40px 15px;
	width: 286px;
	border-radius: 10px;
}

.advantages__items .advantages__item .advantages__title{
	font-size: 3.3rem;
	line-height: 4.5rem;
	color: #fff;
}
.advantages__items .advantages__item .advantages__info{
	font-family: 'open_sanslight';
	font-size: 1.7rem;
	line-height: 2.3rem;
	color: #ffffff;
}
.page-bid {
	max-width: 378px;
	width: calc(100% - 70px);
	border: 3px solid #fdd88a;
	background-color: #ffffff;
	box-shadow: 0px 20px 65px 0px rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	padding: 20px 32px 38px 32px;
	text-align: center;
	position: relative;
}
.bid .section__title_underline,
.modal .section__title_underline {
	margin-bottom: 13px;
}
.bid .bid__title,
.modal .bid__title {
	font-size: 3.3rem;
	line-height: 4.5rem;
	color: #000000;
	width: 100%;
	text-align: center;
	margin-bottom: 6px;
}
.bid .bid__fieldset {
	width: calc(100% - 54px);
	margin: 0 auto 14px auto;
	padding: 0 22px 0 32px;
	border: 1px solid #efefef;
	border-radius: 35px;
	height: 6.9rem;
	position: relative;
}
.bid .bid__fieldset input{
	width: 100%;
	font-family: 'open_sansregular';
	color: #2d2d2d;
	font-size: 1.7rem;
	line-height: 6.9rem;
	background-color: transparent;
	border: 0;
	text-align: left;
	outline: none;
}
.bid .bid__fieldset::before {
	content: '';
	position: absolute;
	width: 29px;
	height: 29px;
	top: 21px;
	right: 21px;
	background-size: 29px 29px;
}
.bid .bid__fieldset.fieldset_name::before {
	background-image: url('../img/form-user.png');
}
.bid .bid__fieldset.fieldset_phone::before {
	background-image: url('../img/form-telephone.png');
}
.bid .bid__fieldset.fieldset_email::before {
	background-image: url('../img/form-mail.png');
}
.bid .bid__fieldset.fieldset_city::before {
	background-image: url('../img/form-place.png');
}
.bid .btn.submit_btn {
	line-height: 8.4rem;
	width: 100%;
	margin-bottom: 25px;
}
.bid .page-bid_chek {
	width: 100%;
	color: #696969;
}
.bid .check-item {
	margin: 0 auto;
	text-align: center;
}
.bid .check-item label {
	display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-size: 1.3rem;
	line-height: 1.5rem;
  font-family: 'open_sansregular';
  position: relative;
	padding-left: 20px;
}
.bid .check-item label a {
	color: #fdd88a;
	text-decoration: underline;
}
.bid .check-item label a:hover {
	color: #fdd88a;
	text-decoration: none;
}
.bid .check-item input {
  display: none;
}
.bid .check-item .check {
  vertical-align: middle;
  display: inline-block;
  width: 20px;
	height: 20px;
  position: absolute;
	background-color: #fdd88a;
  border-radius: 50%;
  left: -7px;
	top: -4px;
}
.bid .check-item .check::before {
  position: absolute;
  content: "";
  width: 8px;
	height: 3px;
	left: 5px;
	top: 6px;
  color: #000000;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  border-left-width: 2px;
  border-left-style: solid;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: .2s;
  transition: .2s;
}
.bid .check-item input:checked + label .check::before {
  visibility: visible;
  opacity: 1;
}
/***************************** end franchise section **********************************/
/*.section__splitter {
	height: 50px;
}*/
/***************************** map section **********************************/
.section__map {
	position: relative;
	padding-top: 132px;
	padding-bottom: 136px;
}
#map__content {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
#map__content::before {
	content:'';
	width: 100%;
	height: 110px;
	position: absolute;
	top: 0;
	background-image: url('../img/map-top-bg.png');
	background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
	background-size: cover;
	z-index: 2;
}
#map__content::after {
	content:'';
	width: 100%;
	height: 110px;
	position: absolute;
	bottom: 0;
	background-image: url('../img/map-bottom-bg.png');
	background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
	background-size: cover;
	z-index: 2;
}
.contacts__wrapper {
	position: relative;
	width: calc(95% - 56px);
	max-width: 484px;
	border: 3px solid rgb(253, 216, 138);
	border-radius: 10px;
  background-color: rgb(255, 255, 255);
	box-shadow: 0px 20px 65px 0px rgba(0, 0, 0, 0.2);
	padding: 20px 25px 54px 25px;
	left: 21%;
}
.contacts__info {
	margin-top: 18px;
}
.contacts__info .contacts__info_item {
	font-size: 3.5rem;
	line-height: 4rem;
	color: #000000;
	text-decoration: none;
	width: 100%;
	text-align: center;
	display: block;
	margin-bottom: 2px;
}
.contacts__info .contacts__info_item.__link {
	cursor: pointer;
}
.contacts__info .small {
	font-family: 'open_sanslight';
	font-size: 1.5rem;
	line-height: 1.7rem;
	color: #000000;
	width: 100%;
	text-align: center;
	margin-bottom: 11px;
}
.btn.contact_call {
	margin: 32px auto 0 auto;
	width: 100%;
	max-width: 350px;
}

/*************************** end reviews section *****************************/
/**************************** footer *****************************/
.footer {
	padding: 24px 0;
	background-image: url('../img/bg.jpg');
background-position: center center;
-webkit-background-size: cover;
}
.footer .footer__wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.footer .footer__wrapper a {
	font-family: 'open_sansregular';
	font-size: 1.4rem;
	line-height: 1.7rem;
	color: #000000;
	margin: 0;
	text-decoration: none;
}
.footer .footer__wrapper .footer__conf {
	padding: 0 0 4px 0;
	border-bottom: 1px solid #000;
}
.footer .footer__wrapper a:hover {
	border-bottom: 0;
}
.footer .footer__wrapper .footer__logo {
	width: 226px;
}

/**************************** end footer *****************************/
/****************************** media **************************/
@media all and (max-width:1550px) {
	.contacts__wrapper {
		left: 5%;
	}
}
@media all and (max-width:1180px) {
	.section__franchise .franchise__wrapper {
    grid-template-columns: 1fr;
		justify-items: center;
	}
}
@media all and (max-width:900px) {
	.contacts__wrapper {
		left: unset;
		margin: 0 auto;
		padding: 20px 20px 54px 20px;
		width: calc(95% - 46px);
	}
	.section__map {
		padding-top: 0;
		padding-bottom: 56px;
		background-image: url('../img/bg.jpg');
		background-position: center center;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}
	#map__content {
		height: 400px;
		position: relative;
	}
	#map__content::after {
		content: unset;
	}
	.header .menu,
	.get__app p,
	.header .header__splitter {
		display: none;
	}
	.header .instagram {
		flex-grow: unset
	}
	.btn.yellow_btn.sign_up__btn {
		color: #fcd47e !important;
		border: 1px solid #fcd47e !important;
		background-image: none !important;
		box-shadow: none !important;
	}
	.btn.yellow_btn.sign_up__btn:hover {
		color: #3a3530;
		background-image: -moz-linear-gradient( 90deg, rgb(248,197,89) 0%, rgb(255,223,154) 100%);
		background-image: -webkit-linear-gradient( 90deg, rgb(248,197,89) 0%, rgb(255,223,154) 100%);
		background-image: -ms-linear-gradient( 90deg, rgb(248,197,89) 0%, rgb(255,223,154) 100%);
	}
}
@media all and (max-width:800px) {
	.section__services .services__items {
		grid-template-columns: 1fr;
		justify-items: center;
 }
 .services__items .services__item {
	 height: calc(100vh * 0.32);
 }
 .services__items .services__item p {
	 font-size: 3.6rem;
	 line-height: 4.3rem;
 }
 .masterhead .masterhead__buttons {
		flex-direction: column;
		align-items: center;
	}
	.masterhead .masterhead__buttons a {
		margin-bottom: 20px;
	}
	
}
@media all and (max-width:600px) {

}
@media all and (max-width:500px) {

	.header .header_bottom {
		align-items: center;
		flex-direction: column;
	}
	.header .logo {
		margin-bottom: 20px;
	}
	.masterhead .masterhead_container {
		margin-top: 5vh;
	}
	.masterhead .masterhead__title {
    font-size: 5rem;
		line-height: 5rem;
		margin-bottom: 5vh;
	}
	.btn.sign_up__btn {
		max-width: unset;
	}
	.btn {
    font-size: 1.6rem;
		line-height: 6.2rem;
	}
	.btn.get_franchise__btn,
	.bid .btn.submit_btn  {
   	line-height: 6.2rem;
	}
	.btn.get_franchise__btn::after {
		bottom: -28px;
		font-size: 1.4rem;
	}
	.section__title {
    font-size: 4rem;
    line-height: 5.2rem;
		margin: 0;
	}
	.section__services {
    padding-top: 61px;
    padding-bottom: 79px;
	}
	
	.section__franchise .advantages__items {
    grid-template-columns: 1fr;
		justify-items: center;
	}
	.section__title_underline::after, .section__title_underline::before {
   	width: 100px;
	}
	.section__title_underline::before {
    left: -130px;
	}
	.section__title_underline::after {
    right: -130px;
	}
	.page-bid {
    width: calc(100% - 50px);
   	padding: 20px 22px 38px 22px;
	}
	.bid .bid__fieldset {
 		height: 5.9rem;
	}
	.bid .bid__fieldset input {
    font-size: 1.5rem;
		line-height: 5.9rem;
	}
	.bid .bid__fieldset::before {
		top: 15px;
	}
	.footer .footer__wrapper {
		flex-direction: column
	}

	.contacts__info .contacts__info_item {
    font-size: 3rem;
		line-height: 3.5rem;
	}
	.white-popup {
		width: 90%;
	}
	.modal-page {
   	padding: 20px 10px;
	}
	.modal-page h1 {
    font-size: 1.8rem;
		line-height: 2rem;
	}
	.modal-page p {
    font-size: 1.2rem;
		line-height: 1.4rem;
	}
	.modal-page h4 {
    font-size: 1.4rem;
    line-height: 1.6rem;
	}
	.advantages__items .advantages__item .advantages__title {
    font-size: 2.8rem;
		line-height: 3rem;
	}
	.advantages__items .advantages__item .advantages__info {
    font-size: 1.5rem;
		line-height: 1.7rem;
	}
	.get-city .get-city__header .logo {
		margin-left: 20px;
	}
	.get-city .get-city__header .close-modal {
		margin-right: 20px;
	}
	.cities__items .cities__item {
    width: calc(100% - 40px);
		padding-left: 40px;
	}
	.cities__items {
   	overflow-y: scroll;
	}
	/*.header .logo {
		width: 82px;
	}
	.header .logo img {
   	width: 82px;
	}*/
	.footer .footer__wrapper .footer__logo {
		margin-bottom: 20px;
	}
}
