#form-fields, #optional-fields
{
    display: none;
    text-align: left;
    width: 100%;
}
.estimate-form
{
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
}
.estimate-form .house, .estimate-form .float{
    display: none;
}
.estimate-form .row
{
    margin: 0 -15px;
}
.estimate-form hr
{
    border: none;
    height: 1px;
    background-image: linear-gradient(to right,transparent,#ccc,transparent);
}
.estimate-form h3
{
    font-size: 24px;
    letter-spacing: normal;
    margin-bottom: 20px;
    margin-top: 30px;
    text-transform: none;
}
.estimate-form input[type="text"], .estimate-form input[type="number"], .estimate-form input[type="email"], .estimate-form select
{
    height: 45px;
    font-size: 16px;
    border-radius: 5px;
    width: 100%;
    margin-right: 5px;
    margin-bottom: 10px;
    padding-left: 15px;
    background: #f6f6f6;
    border: none;
}
.estimate-form input[type="submit"]
{
    margin-top: 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 18px;
    width: 100%;
}
.estimate-form input::placeholder, .estimate-form select
{
    color: #888;
    opacity: 1;
}
.estimate-form select
{
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    border-right: 15px solid transparent;
}
.estimate-form select.valid
{
    color: #000;
}
.estimate-form input.with-unit
{
    width: calc(100% - 40px);
}

.estimate-form span.unit
{
    font-size: 18px
}

.estimate-form input.input-error, .estimate-form select.input-error
{
    border-bottom: 1px solid #ff0000;
}

/* Customize the label (the radio-list) */
.radio-list, .checkbox-container {
  display: inline-block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  margin-right: 10px;
  cursor: pointer;
  font-size: 20px;
  line-height: 26px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkbox-container a.iframe-protection
{
    font-size: 20px;
    line-height: 1em;
}

.radio-list.img
{
    padding-left: 0;
    margin-right: 0;
}

.radio-list.img img
{
    margin-bottom: 20px;
    border-radius: 10px;
    border: 7px solid #fff;
}

.field-error, .format-error
{
    color: #ff0000;
    display: none;
}

/* Hide the browser's default radio button */
.radio-list input, .checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom radio button */
.estimate-form input[type=checkbox]
{
    float: none;
}
.estimate-form .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 26px;
  width: 26px;
  background-color: #dedede;
  border-radius: 50%;
}

.checkbox-container .checkmark 
{
    border-radius: 0;
}

/* On mouse-over, add a grey background color */
.radio-list:hover input ~ .checkmark, .checkbox-container:hover input ~ .checkmark {
  background-color: #ccc;
}
.radio-list.img:hover input ~ img {
  border-color: #ccc;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkmark:before {
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio-list input:checked ~ .checkmark:after, .checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.radio-list .checkmark:after, .checkbox-container .checkmark:after {
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.checkbox-container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 7px;
  height: 12px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  border-radius: 0;
  background: transparent;
}

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

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

.switch p {
  font-size: 18px;
  margin-left: 70px;
  margin-top: -22px;
  cursor: pointer;
  width: 740px;
}

@media (max-width: 800px)
{
    .switch p {
      width: 300px;
      margin-top: -19px;
    }
    .switch p .hide-mobile {
        display: none;
    }
}

/* Checkbox */
.estimate-form .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

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

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

.flat-info
{
    display: none;
    margin-bottom: 5px;
}

@media (min-width: 768px)
{
    .flat-info
    {
        margin-top: -15px;
    }
}
