.reg-page .checkbox input[type="checkbox"] + span {
    background: url("../img/checkbox/checkbox_unchecked_passive.svg") no-repeat center!important;
    background-position: 0 0!important;
}

.reg-page  .checkbox input[type="checkbox"]:checked + span {
    background: url("../img/checkbox/checkbox_checked_active.svg") no-repeat center!important;
    background-position: 0 0!important;
}
.reg-page  .checkbox:hover input[type="checkbox"] + span {
    background: url("../img/checkbox/checkbox_checked_passive.svg") no-repeat center!important;
    background-position: 0 0!important;
}

.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index:1000 !important;
    border: 1px solid #238900;
    border-radius: 5px;
    background: #eff7f8;
}

.ui-autocomplete li{
    cursor: pointer;
}

.reg label.checkbox {
    margin: 0;
}
.reg .agreement {
    margin: 0 0 0 10px!important;
  	padding-top: 2px;
  	font-size: 14px;
}
.form-div {
    display: flex!important;
}

.reg button {
	margin-left: 0;
	margin-right: 0;
}

.email.req {
	margin-bottom: 15px;
}

.reg button {
    margin-top: 10px;
}

.name_section {
	margin-bottom: 30px;
}

ul.ui-autocomplete {
  padding: 0;
  width: 100%!important;
}

ul.ui-autocomplete li {
    cursor: pointer;
    padding: 8px 15px 8px 25px;
}

ul.ui-autocomplete li:hover {
  background-color: #cfe2e6;
}

ul.ui-autocomplete li:before{
  display: none;
}
ul.ui-autocomplete li + li {
    margin-top: 0;
}

.mCSB_dragger_bar {
		position: relative;
    background-color: #0e9800!important;
}

.mCSB_dragger_bar:before,
.mCSB_dragger_bar:after {
    display: none;
}

.mCSB_draggerRail {
    background-color: #eaeeef!important;
}

.input_city_warp {
  margin-top: 15px;
  position: relative;
  width: 100%;
}

#menu-container {
	width: 100%;
	position: absolute;
}





@media (max-width: 1100px) {

	.reg .pre_reg {
		    margin: 0;
		    width: 100%;
		    text-align: center;
		    padding: 0 30px;
	}

	.reg {
		    background-size: 94%;
	}

	.reg form {
		
	}

}

@media (max-width: 991px) {

	.reg {
		background-size: 90%;
	}

	.reg .pre_reg {
	    margin-bottom: 20px;
	}
}

@media (max-width: 786px) {
	.reg {
    position: relative;
    background: none;
    min-height: auto;
    padding-bottom: 30px;  
    margin-bottom: 15px;
	}

	.pif-detail-question.reg {
		margin-bottom: 120px;
	}
	.pif-detail-question__form-block {
		right: 50%;
    	transform: translateX(50%);
	}

	.reg .pre_reg {
    padding: 0 15px;
	}

	.reg h1 {
    margin: 30px 0 25px;
    text-align: center;
    font-size: 26px;
    padding: 0 15px;
    line-height: 1.2em;
	}

	.reg form {
	    width: 100%;
	    margin: 0;
	    padding: 0 15px;
	    position: relative;
	    z-index: 2;
	}

	.reg .form-div {
	    margin-top: 15px;
	    margin-bottom: 15px;
	    border: 1px groove transparent;
      width: 100%;
	}

	.reg button {
	    margin: 0;
	    display: inline-block;
	    position: relative;
	    left: 50%;
	    transform: translateX(-50%);
	    margin-top: 5px;
	}

	.reg-page .pre_map.clearfix, .reg-page .preloader_wrapper_default, .reg-page .bottom_map {
	    display: block;
	}

}


@media (max-width: 768px) {
	.pif-detail-question.reg {
		margin-bottom: 15px;
	}
	.pif-detail-question__form-block {
		right: auto;
    	transform: none;
	}
}



@media (max-width: 543px) {

	.reg .agreement {
	    width: calc(100% - 45px);
	}

	.reg-page .map_search {
	    margin-left: 90px;
	    float: left;
	    width: 430px;
	    display: none;
	}

	.reg-page .pre_map h1 {
	    font-size: 26px;
	    line-height: 1.2;
	}


	.reg #name + label {
	    margin-top: 20px;
	}

	.reg .captcha_waper > span {
		width: 100%;
    		display: inline-block;
    		margin-bottom: 15px;
	}

	.reg .captcha_waper .inputtext {
		margin-bottom: 15px;
	}
	
	.reg .pre_reg {
	    font-size: 14px;
	    padding: 0 15px;
	    line-height: 25px;
	    text-align: left;
	}

	.reg button {
		width: 100%;
		left: auto;
		transform: translateX(0);
	}

	.reg input, .reg textarea {
	  width: 100%!important;
	  font-size: 14px!important;
	  padding: 19px 15px!important;
	}

	ul.ui-autocomplete li {
	  cursor: pointer;
	  padding: 9px 15px;
	  font-size: 14px;
	}
}