 .border{
 border: 1px solid #e2e2e2;
 border-radius: 10px;
 padding: 10px; 
 }
.form-wrap {
  width: 650px;
  background: #7ecefd;
  border-radius: 20px;
}
.form-wrap-lab {
  width: 850px;
  background: #7ecefd;
  border-radius: 20px;
}	
.form-wrap *{transition: .1s linear}
.form-wrap-lab *{transition: .1s linear}
.profile {
  width: 240px;
  float: left;
  text-align: center;
  padding: 30px;
}
.profile-lab {
  width: 240px;
  float: left;
  text-align: center;
  padding: 30px;
}
form {
  background: white;
  float: left;
  width: calc(100% - 240px);
  padding: 30px;
  border-radius: 0 20px 20px 0;
  color: #7b7b7b; 
}
.form-wrap:after, form div:after {
  content: "";
  display: table;
  clear: both;
}
.form-wrap-lab:after, form div:after {
  content: "";
  display: table;
  clear: both;
}
form div {
  margin-bottom: 15px;
  position: relative;
}
h1 {
  font-size: 20px;
  font-weight: 400;
  position: relative;
  margin-top: 30px;
  color	: #fff;
}
	/*h1:after {
  content: "\f138";
  font-size: 40px;
  font-family: FontAwesome;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
}*/

/********************** стилизация элементов формы **********************/
label, /*span*/ {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}
input[type="text"], input[type="email"] {
		/*border-width: 0;
  outline: none;
  margin: 0;
  width: 100%;
  padding: 10px 15px;
		background: #e6e6e6;*/
outline: none;
	box-shadow: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	float: left;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
	color: #/*aaadb1*/000;
	width: 100%;
	height: 33px;
	border-radius: 5px;
	padding: 6px 10px 5px 10px;
	border: 1px solid #d7d7d7;
	background: /*#f6f6f7*/#fff;
}
input[type="search"] {
	outline: none;
	box-shadow: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	float: left;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
	color: #/*aaadb1*/000;
	width: 100%;
	height: 33px;
	border-radius: 5px;
	margin-right: 10px;
	padding: 6px 10px 5px 10px;
	border: 1px solid #d7d7d7;
	background: /*#f6f6f7*/#fff;
}
input[type="text"]:focus, input[type="search"]:focus, input[type="email"]:focus {
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);/*inset 0 0 0 3px rgba(102,175,233,.2);*/
  border-color: #66afe9;
}
.radio label {
  position: relative;
  padding-left: 50px;
  cursor: pointer;
  width: 50%;
  float: left;
  line-height: 40px;
}
.radio input {
  position: absolute;  
  opacity: 0;
}
.radio-control {
  position: absolute;
  top: 0;
  left: 0;
  height: 40px;
  width: 40px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid #d7d7d7;
  text-align: center;
}
.male:before {
		content:"\f222" /*"\f222"*/;
  font-family: FontAwesome;
  font-weight: bold;
}
.female:before {
		content: "\f221"/*"\f221"*/;
  font-family: FontAwesome;
  font-weight: bold;
}
.radio label:hover input ~ .radio-control,
.radiol input:focus ~ .radio-control {
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);/*inset 0 0 0 2px rgba(0,0,0,.2);*/
  border-color: #66afe9;
}
.radio input:checked ~ .radio-control {
  color: red;
}
select {
		/*width: 100%;
  cursor: pointer;
  padding: 10px 15px;
  outline: 0;
  border: 0;
  background: #e6e6e6;
		color: #7b7b7b;*/
outline: none;
	box-shadow: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	float: left;
	font-family: 'Arial', sans-serif;
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
	/*color: #aaadb1;*/
	width: 100%;
	height: 33px;
	border-radius: 5px;
	padding: 6px 10px 5px 10px;
	border: 1px solid #d7d7d7;
	background: #fff;

  -webkit-appearance: none; /*убираем галочку в webkit-браузерах*/
		-moz-appearance: none; /*убираем галочку в Mozilla Firefox*/
}
	select[type="birthday"]{
		width: 31%;
		position: static;
	}
select::-ms-expand {
  display: none; /*убираем галочку в IE*/
}
.select-arrow {
  position: absolute;
  top: 38px;
  right: 15px;
  width: 0;
  height: 0;
  pointer-events: none; /*активизируем показ списка при нажатии на стрелку*/
  border-style: solid;
  border-width: 8px 5px 0 5px;
  border-color: #7b7b7b transparent transparent transparent;
}
select:focus {
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);/*inset 0 0 0 3px rgba(102,175,233,.2);*/
  border-color: #66afe9;
}
/*select option { color: #000; }
select option:first-child{
color: #aaadb1;}*/

.checkbox {
      margin-bottom: 1.0em;
    }

    /* для элемента input c type="checkbox" */
    .custom-checkbox>input {
      position: absolute;
      z-index: -1;
      opacity: 0;
    }

    /* для элемента label, связанного с .custom-checkbox */
    .custom-checkbox>span {
      display: inline-flex;
      align-items: center;
      user-select: none;
    }

    /* создание в label псевдоэлемента before со следующими стилями */
    .custom-checkbox>span::before {
      content: '';
      display: inline-block;
      width: 1.25em;
      height: 1.25em;
      flex-shrink: 0;
      flex-grow: 0;
      border: 1px solid #adb5bd;
      border-radius: 0.25em;
      margin-right: 0.5em;
      background-repeat: no-repeat;
      background-position: center center;
      background-size: 50% 50%;
    }

    /* стили при наведении курсора на checkbox */
    .custom-checkbox>input:not(:disabled):not(:checked)+span:hover::before {
      border-color: #b3d7ff;
    }

    /* стили для активного чекбокса (при нажатии на него) */
    .custom-checkbox>input:not(:disabled):active+span::before {
      background-color: #b3d7ff;
      border-color: #b3d7ff;
    }

    /* стили для чекбокса, находящегося в фокусе */
    .custom-checkbox>input:focus+span::before {
      box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

    /* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
    .custom-checkbox>input:focus:not(:checked)+span::before {
      border-color: #80bdff;
    }

    /* стили для чекбокса, находящегося в состоянии checked */
    .custom-checkbox>input:checked+span::before {
      border-color: #0b76ef;
      background-color: #0b76ef;
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
    }

    /* стили для чекбокса, находящегося в состоянии disabled */
    .custom-checkbox>input:disabled+span::before {
      background-color: #e9ecef;
    }

.form-item {
  &:not(:first-child) {
    margin-top: 1em;
  }
  
  > :not(:first-child) {
    margin-top: 0.25em;
  }
}

.form-item__label {
  display: block;
}

.form-item__element {
  display: inline-block;
  padding: 0.5em;
  vertical-align: middle;
  background: #fff;
  border-radius: 4px;
  border: 1px solid gray;
}

.form-item__element--select {
  appearance: none;
  padding-right: 2em;
  

  &:invalid {
    color: gray;
  }

  [disabled] {
    color: gray;
  }
  
  option {
    color: $default-color;
  }
}

.select-wrap {
  &::after {
    margin-left: -2em;
    font-size: 0.75em;
    pointer-events: none;
    content: '▼';
  }
}
/*button {
  padding: 10px 0;
  border-width: 0;
  display: block;
  width: 120px;
  margin: 25px auto 0;
  background: #60e6c5;
  color: white;
  font-size: 14px;
  outline: none;
  text-transform: uppercase;
}*/

.textarea-anketa
{
	width: 100%;
    resize: none;
}

/********************** добавляем форме адаптивность **********************/
@media (max-width: 767px) {
  .form-wrap {margin: 20px auto; max-width: 100%; width:100%;}
  .form-wrap-lab {margin: 20px auto; max-width: 100%; width:100%;}
  .profile, form {float: none; width: 100%;}
  h1 {margin-top: auto; padding-bottom: 30px;}
  form {border-radius: 0 0 20px 20px;}
  .profile-lab, form {float: none; width: 100%;}
  h1 {margin-top: auto; padding-bottom: 30px;}
  form {border-radius: 0 0 20px 20px;}
}