div#bx_yandex_map_control a {text-decoration: none; color: black;}
div.bx-yandex-map-controls-group {margin-bottom: 15px;}

div #bx_yandex_map_contol textarea {height: 80px; width: 200px;}

ul#bx_yandex_points, ul#bx_yandex_polylines, #bx_yandex_position, ul.bx-yandex-address-search-results {
	display: block; list-style-image: none; list-style-position: outside; list-style-type: none; margin: 0 0 10px 0; padding: 0px;
}
ul#bx_yandex_points li, ul#bx_yandex_polylines li, #bx_yandex_position li {
	font-size: 11px;
	display: block;
	overflow: hidden;
	height: auto;
	margin: 2px 0px 2px 15px;
	padding: 0px;
	white-space: nowrap;
}

ul#bx_yandex_points li a, ul#bx_yandex_polylines li a {display: block; font-size: 13px;}
ul#bx_yandex_points li a.bx-yandex-point, ul#bx_yandex_polylines li a.bx-yandex-poly {overflow: hidden; margin-right: 20px; padding: 2px;}
* html .bx-yandex-point {width: 215px;}
ul#bx_yandex_points li a.bx-yandex-delete, ul#bx_yandex_polylines li a.bx-yandex-delete {
	background-image: url(/bitrix/themes/.default/public/panel_new/buttons/delete.gif); 
	height: 18px; width: 18px; float: right;
}

div#bx_yandex_map_address_search {
	position: absolute; margin-top: 390px; text-align: right; width: 500px;
	padding: 4px 0px;
}

ul.bx-yandex-address-search-results {
	font-size: 12px;
	display: block;
	position: absolute;
	border: solid 1px #BDBDBD;
	z-index: 2005;
	min-width: 500px;
	color: black;
	background-color: white;
	padding: 4px 8px;
}

ul.bx-yandex-address-search-results li {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	padding: 0px;
	border-top: solid 1px #D2D2D2;
	height: 26px;
}

ul.bx-yandex-address-search-results li.bx-yandex-first {
	border-top: none;
}

ul.bx-yandex-address-search-results li.bx-yandex-notfound {
	border-top: none;
	padding-top: 5px;
}

ul.bx-yandex-address-search-results li a {
	display: block;
	text-decoration: none;
	padding-top: 6px;
	height: 26px;
}

ul.bx-yandex-address-search-results li a span {padding-left: 13px; display: block; color: black;}

ul.bx-yandex-address-search-results li a:hover {
	background-image: url(/bitrix/components/bitrix/map.yandex.view/images/gradient.gif);
}

ul.bx-yandex-address-search-results li a:hover span {
	background-image: url(/bitrix/components/bitrix/map.yandex.view/images/arrow.gif);
	background-position: left center;
	background-repeat: no-repeat;
}
.form_map .row {
	width: 100%;
    margin: 10px 0;
	position: relative;
}
.form_map .row.error{
	font-size:inherit;    color: inherit;
} 

.form_map .row label {
	min-width: 250px;
	display: inline-block;    font-style: normal;
}
.form_map .row input, .row select {
	padding: 5px;    font-style: normal;
}
.form_map .row input[type="submit"] {
	width:670px;
}
.form_map .row input#address{
	width: 630px;padding-right: 20px; display:inline-block;    font-style: normal;
	border: 1px solid #dbdee0;
}
.form_map .row select{
	display:inline-block; width:auto; padding-right: 40px;
}
.form_map #date{
	display:inline-block; width:auto;     border: 1px solid #dbdee0;
}
#map {
	width: 70%;
	height: 400px;
	display: inline-block;
	margin-bottom: 20px;
	float: left;
	position:relative;
	
}
#map:before{
	background:white;
	content:'карта загружается ...'; text-align: center;  font-size:2em;
	position: absolute; width:100%; height:100%; line-height: 400px;
}
#descr {
	display: inline-block;
    float: left;
    width: 30%;
    padding: 25px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
#descr+div {
    float: left;
    width: 100%;
}
.descr p {
    border: 1px solid black;
    padding: 10px;
}
.description p {
	padding: 10px;
}
.totalSum {
	text-align: center;
	color: rgb(192,57,43);
	font-weight:bold;
}
.bx-calendar-weekend,.disabled {
	pointer-events: none;
    text-decoration: line-through!important;
	color:gray;
}
::-webkit-input-placeholder {color:#c0392b;}
::-moz-placeholder          {color:#c0392b;}/* Firefox 19+ */
:-moz-placeholder           {color:#c0392b;}/* Firefox 18- */
:-ms-input-placeholder      {color:#c0392b;}

.preview{
	display: none;
}
.error #address{
	color: #c0392b;
}
.row .withEr {
	display:none;
	color: #c0392b;
	position: absolute;
}
.row.error .withEr {display:block;}
.totalSum.error {
	background-color: #f5aa03;
	color: black;
}
label.error {
	position: relative;
}
label.error:after {
	content:'';
	position: absolute;
	background: url('/bitrix/templates/mdm_catalog/components/mdm/catalog.detail_new/catalog/img/warning.jpg') no-repeat 0 0;
	width: 20px;
    height: 17px;
    right: 5px;
}
#form_error {
	float: left;
    margin-top: 15px;
}

.date-wrapper {
	position: relative;
	display: inline-block;
  }
  
  .test-2 {
	align-items: flex-start;
  }
  .test-2,
  .test {
	display: flex;
  }
  
  .descr {
	background: #edf0f2;
	margin-left: 20px;
  }
  #date {
	  min-width: 157px;	
  }
  
  .row-ab {
	position: relative;
	display: flex;
	align-items: center;
  }
  .form_map .row-ab label {
	min-width: 253px;
  }
  .description {
	padding: 0 0 0 10px;
  }
  .hide {
	display: none;
  }
  .error-new {
	color: red;
  }
  .form_map .row select {
	min-width: 312px; 
  }

  @media screen and (max-width: 1100px) {
	.row .withEr {
		bottom: 0;
		transform: translateY(100%);
		font-size: .85em;
	}
	.bx-yandex-address-search-results{
		max-width: calc(100% - 20px);
		min-width: auto !important;
	}
	.test-2,
	.test {
	  flex-direction: column;
	}
	.test-inner {
	  margin-bottom: 18px;
	}
	#descr {
	  padding: 0;
	  width: 100%;
	  margin: -20px 0 20px 0;
	}
  
	.form_map .row input#address {
	  width: 100%;
	}
  }
  @media screen and (max-width: 560px) {
	.preview, .totalSum{
		margin: 10px 0;
	}
	#descr {
		padding: 10px;
	}
	.row-ab {
	  display: inline-block;
	}
	.form_map .row{
		margin: 0 0 17px 0 
	}
	.date-wrapper, .form_map #date{
		width: 100%;
	}
  }
  @media screen and (max-width: 370px) {
	.form_map .row select {
	  width: 280px;
	  min-width: auto;
	}
  }