textarea {
  background-color: #fff;
  border: 1px solid #aaa;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 1em;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 1em;
}

input {
  background-color: #fff;
  border: 1px solid #aaa;
  border-radius: 4px;
  width: 100%;
  height: 2em;
  margin-bottom: 1em;
  font-family: inherit;
  font-size: 1em;
  box-sizing: border-box;
}

label {
    display: block;
    font-size: 1em;
    margin-top: .5em;
    margin-bottom: .2em;
}

/* handle HTML multiselects */
select[multiple] {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
    width: 40%;
    height: auto; /*height: 1.8em;*/
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    color: #444;
    font-size: 1em;
    padding-left: .2em;
}

select {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
    width: 40%;
    height: 1.8em;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    color: #444;
    font-size: 1em;
    padding-left: .2em;
}

option {
    font-family: inherit;
    color: #444;
    font-size: 1em;
}

optgroup {
    font-family: inherit;

}

form {
    width: 100%;
}

input[type='file'] {
    border: unset;
}

/* Force input to uppercase-only */
.uppercase {
    text-transform: uppercase;
}

.form-radio {
    background-color: unset;
  border: 1px solid unset;
  border-radius: unset;
  width: unset;
  /*height: unset;*/
  margin: unset;
  font-family: unset;
  font-size: unset;
  box-sizing: unset;
  margin-right: .3em;
  vertical-align: middle;
}

.form-radio-label {
    padding-right: 1em;
}

.form-radio-container {
    display: flex;
}

.form-button {
  background: #1D6E91;
  border: 2px solid #1D6E91;
  color: white;
  padding: .5rem;
  text-align: center;
  position: relative;
  margin-bottom: 1em;
  font-family: inherit;
  min-width: 10em;
}

.form-button:hover {
  background: #38424D;
  border: 2px solid #1D6E91;
  color : white;
}

.form_input {
    padding-bottom: 1.2em;
}

.form-input-valid:focus {
    outline: 2px solid #77e877;
}

.form-input-invalid:focus {
    outline: 2px solid red;
}

.form_input input {
    width: 100%;
}

.select2-container {
    width: 100% !important;
}

.select2-results__option:empty {
    height: 20px;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}


input:checked + .slider {
    background-color: #34c759;
}

input:focus + .slider {
    box-shadow: 0 0 1px #34c759;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}



.radio-container {
   display: flex;
   padding: 0.5rem;
   flex-wrap: wrap;

}


.modern-label  {
  display: block;
  background: white;
  border: 2px solid #ccc;
  border-radius: 20px;
  padding: 1rem;
  text-align: center;
  position: relative;
}


.special_form_input {
  opacity: 0;
position: absolute;
top: 0;
left: 0;
height: 0;
width: 0;
z-index: -1;
}

.yes-no-inputs-div-wrapper {
  display: flex;
}

/*radio buttons*/

.radio-item {
  display: inline-block;
  position: relative;
  padding-right: 5px;
  margin: 10px 0 0;
}

.radio-item input[type='radio'] {
  display: none;
}

.radio-item label {
  color: #666;
  font-weight: normal;
}

.radio-item label:before {
  content: " ";
  display: inline-block;
  position: relative;
  top: 5px;
  margin: 0 5px 0 0;
  width: 20px;
  height: 20px;
  border-radius: 11px;
  border: 2px solid #004c97;
  background-color: transparent;
}

.radio-item input[type='radio']:checked {
  content: " ";
  border-radius: 11px;
  width: 1.5em;
  height: 2.5em;
  position: absolute;
  top: -4.9px;
  left: -5.6px;
  display: block;
  background: #004c97;
}

.form_message {
    /* display: block; */
    border: 2.2px solid rgba(139, 151, 153, 0.7);
    padding: 0.8em;
    /* background: rgb(51, 121, 164) none repeat scroll 0% 0%; */
    /* font-size: 1em; */
    color: rgb(115, 114, 114);
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 1em;
    font-size: .7em;
}

[data-tip] {
    position:relative;
    width: calc(100vw - 35px);

}
[data-tip]:before {
    content:'';
    /* hides the tooltip when not hovered */
    display:none;
    content:'';
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #1a1a1a;   
    position:absolute;
    top:30px;
    left:35px;
    z-index:8;
    font-size:0;
    line-height:0;
    width:0;
    height:0;
}
[data-tip]:after {
    display:none;
    content:attr(data-tip);
    position:absolute;
    top:35px;
    left:0px;
    padding:5px 8px;
    background:#1a1a1a;
    color:#fff;
    z-index:9;
    font-size: 0.75em;
    height:18px;
    line-height:18px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    white-space:nowrap;
    word-wrap:normal;
}
[data-tip]:hover:before,
[data-tip]:hover:after {
    display:block;
}

@media only screen and (max-width: 1000px) {
  select, input, textarea {
    width: 100%;
  }
}

@media only screen and (max-width: 700px) {
  section {
    flex-direction: column;
  }
}

