.address-container {
  margin-bottom: 10%;
}
.booking-form {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: -30px !important;
}

@media (max-width: 480px) {
  .booking-form {
    margin-bottom: 0;
    display: block;
  }
}

.booking-form-element {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-right: 14px;
  position: relative;
  margin-bottom: 40px !important;
}

@media (max-width: 480px) {
  .booking-form-element {
    margin-bottom: 20px;
    flex: 100;
  }
}

.booking-form-element input[type='text']:disabled {
  background-color: #ffffff;
}

.booking-form-element-selector {
  display: none;
  position: absolute;
  z-index: 9999;
  bottom: -143px;
  border: 1px solid rgba(0, 65, 101, 0.7);
  width: 100%;
  height: 144px;
  background-color: white;
  overflow-y: scroll;
  overflow-x: hidden;
}

.booking-form-element-selector .lie {
  height: 48px;
  line-height: 48px;
  cursor: pointer;
}

.booking-form-element-selector .lie:hover {
  color: #ffffff;
  background-color: #004165;
}

.booking-form-element .loading {
  background-color: #ffffff;
  background-image: url('./spinner.svg');
  background-size: 25px 25px;
  background-position: right center;
  background-repeat: no-repeat;
}

.booking-form label {
  height: 21px;
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  letter-spacing: 0px;
  color: #004165;
  margin-left: 8px;
}
.booking-form input[type='text'] {
  border: none;
  width: 100%;
  padding: 4px 8px 4px 8px;
  box-sizing: border-box;
  border: none;
  border-radius: 1rem;
  height: 60px;
}

.booking-form input[typetext]::first-letter {
  text-transform: uppercase;
}
.booking-form input[type='text']::placeholder {
  width: 244px;
  height: 24px;
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.5;
  letter-spacing: 0px;
  color: #c1b8b0;
}
.booking-form input[type='text']:focus {
  outline: none !important;
}
.booking-form input[type='text']:disabled {
  border-bottom: 0.5px solid #c1b8b0;
}
.booking-form input[type='submit'] {
  width: 164px;
  height: 48px;
  border-radius: 4px;
  background-color: #004165;
  color: #ffffff;
  margin: 16px auto 0px auto;
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.75;
  letter-spacing: 0.4px;
  outline: none;
  cursor: pointer;
}

.test-vivienda.list {
  position: absolute;
  z-index: 9999;
  width: 100%;
  max-height: 144px;
  background-color: white;
  overflow-y: scroll;
  overflow-x: hidden;
  margin: 0;
  list-style: none;
  margin-top: 0px;
  scrollbar-width: none;
}

.test-vivienda.list li {
  display: flex;
  flex-direction: row;
  line-height: 48px;
  height: 48px;
  cursor: pointer;
  align-items: center;
}

.test-vivienda.list li:hover {
  background-color: #004165;
  color: #ffffff !important;
}

.vivienda-error {
  display: flex;
  flex-direction: row;
  position: absolute;
  bottom: -24px;
  visibility: hidden;
}
.vivienda-error-icon {
  background-image: url('../assets/cancel.svg');
  width: 12px;
  height: 12px;
  background-size: 11px 12px;
  background-repeat: no-repeat;
  margin-top: 13px;
  margin-left: 8px;
  margin-right: 4px;
}
.vivienda-error-message {
  margin-top: 10px;
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  color: #b3272c;
}

#prefijo_input {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: normal;
  padding: 5px 4px;
  width: 100%;
  height: 60px;
  border-radius: 15px;
  background-color: white;
}

input[type='checkbox'] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

/*HHHHHHHHHHHHHHHHHHHHHHH*/

img.wp-smiley,
img.emoji {
  display: inline !important;
  border: none !important;
  box-shadow: none !important;
  height: 1em !important;
  width: 1em !important;
  margin: 0 0.07em !important;
  vertical-align: -0.1em !important;
  background: none !important;
  padding: 0 !important;
}

.wpml-ls-statics-footer a {
  color: #444444;
  background-color: #ffffff;
}
.wpml-ls-statics-footer a:hover,
.wpml-ls-statics-footer a:focus {
  color: #000000;
  background-color: #eeeeee;
}
.wpml-ls-statics-footer .wpml-ls-current-language > a {
  color: #444444;
  background-color: #ffffff;
}
.wpml-ls-statics-footer .wpml-ls-current-language:hover > a,
.wpml-ls-statics-footer .wpml-ls-current-language > a:focus {
  color: #000000;
  background-color: #eeeeee;
}

.tooltips_table .tooltipsall {
  border-bottom: none !important;
}
.tooltips_table span {
  color: inherit !important;
}
.qtip-content .tooltipsall {
  border-bottom: none !important;
  color: inherit !important;
}
#tipo-instalacion {
  display: flex;
  align-items: center;
}
input[type='checkbox'],
input[type='radio'] {
  opacity: 0;
  position: relative;
  width: 0;
  margin-top: 55px;
}

.booking-form label {
  height: 82px !important;
  width: 82px;
  font-size: 13px;
  margin-right: 25px !important;
  background-color: #f2f1ef;
  background-size: 82px 43px;
  background-position-y: 8px;
  border: solid 1px #c1b8b0;
  border-radius: 4px;
}
.selected {
  border: solid 2px #00955e !important;
  border-radius: 4px !important;
  background-color: #ffffff !important;
}

.residencial {
  background-image: url('/wp-content/plugins/FormularioContratacion/includes/assets/residencial.svg');
  background-repeat: no-repeat;
}
.negocio {
  background-image: url('/wp-content/plugins/FormularioContratacion/includes/assets/negocio.svg');
  background-repeat: no-repeat;
  text-align: center;
}

input:not([type]),
input[type='text'],
input[type='password'],
input[type='date'],
input[type='datetime'],
input[type='datetime-local'],
input[type='month'],
input[type='week'],
input[type='email'],
input[type='number'],
input[type='search'],
input[type='tel'],
input[type='time'],
input[type='url'],
input[type='color'],
textarea {
  margin: auto !important;
}
.list li {
  padding-top: 15px !important;
}

/* Popup box BEGIN */
.hover_bkgr_fricc {
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  display: none;
  height: 100%;
  position: fixed;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 10000;
}

.hover_bkgr_fricc_new_popup {
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  display: none;
  height: 100%;
  position: fixed;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 10000;
  overflow-y: auto;
}

.hover_bkgr_fricc .helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.hover_bkgr_fricc_new_popup .helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.hover_bkgr_fricc > div {
  background-color: #fff;
  display: inline-block;
  max-width: 551px;
  min-height: 100px;
  width: 60%;
  position: relative;
  padding: 50px;
}

.hover_bkgr_fricc_new_popup > div {
  background-color: #fff;
  display: inline-block;
  min-height: 100px;
  width: 60%;
  position: relative;
  padding: 50px;
}

@media only screen and (max-width: 600px) {
  .hover_bkgr_fricc_new_popup > div {
    width: 95%;
  }
}

.popupCloseButton:hover {
  background-color: #ccc;
}

.trigger_popup_fricc {
  cursor: pointer;
  font-size: 20px;
  margin: 20px;
  display: inline-block;
  font-weight: bold;
}

.body_popup {
  width: 500px;
  min-height: 213px;
  background-color: #ffffff;
  margin-right: auto;
  margin-left: auto;
  margin-top: 15%;
  padding-top: 55px;
  padding-right: 40px;
  padding-left: 40px;
  padding-bottom: 40px;
}

/* CSS Txema 
TÍTULO
*/
.hover_bkgr_fricc_new_popup #titulo {
  width: 100%;
  /* height: 40px; */
  font-family: FSEmeric;
  font-size: 24px !important;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: 0.18px;
  line-height: normal;
  color: #1a171b !important;
  margin-bottom: 10px;
}

/* CSS Txema 
TEXTO
*/
.hover_bkgr_fricc_new_popup #texto {
  width: 100%;
  /* height: 44px; */
  font-family: FSEmeric;
  font-size: 18px !important;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.11;
  letter-spacing: 0.13px;
  text-align: initial;
  color: #63666a !important;
  margin-left: 50px;
}

@media only screen and (max-width: 600px) {
  .hover_bkgr_fricc_new_popup #texto {
    margin-left: 0px;
  }
}

/* CSS Txema 
OTRO TEXTO
*/
.hover_bkgr_fricc_new_popup #otro {
  width: 100%;
  /* height: 44px; */
  font-family: FSEmeric;
  font-size: 18px !important;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.11;
  letter-spacing: 0.13px;
  text-align: center;
  color: #63666a !important;
  margin-left: 0px;
}

.hover_bkgr_fricc_new_popup #texto > li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* CSS Txema 
BOTÖN
*/
.hover_bkgr_fricc_new_popup #boton {
  width: 211px;
  /* height: 50px; */
  font-family: FSEmeric;
  height: 50px;
  border-radius: 4px !important;
  color: #fafafa !important;
  background-color: #004165 !important;
  font-size: 14px;
  font-stretch: normal;
  line-height: 1.5 !important;
  letter-spacing: -0.04px;
  margin-top: 10px;
}

/* Popup box BEGIN */

#checkcondiciones input,
#checkpoliticadatos input {
  opacity: 1;
  position: inherit;
  width: auto;
  margin-right: 10px;
}

/*que es mostre el scroll en llistats*/

.gnf-child-theme ::-webkit-scrollbar {
  width: 5px;
}

.list::-webkit-scrollbar {
  width: auto !important;
}

/*Llistat per que mostre el border de baix*/
.list-direccion,
.list-municipio,
.list-numero,
.list-piso {
  border-bottom: 1px solid rgba(0, 65, 101, 0.7) !important;
}

/*
Linea de dalt quan surt l'Error 
*/

.error_line {
  border-bottom: 2px solid #b3272c !important;
}

input[type='text'][readonly] {
  background-color: #fff !important;
}

input[type='text'] {
  font-family: 16px !important;
}
.loading_block_page {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin-bottom: auto !important;
}

/* Transparent Overlay */
.loading_block_page:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

/* :not(:required) hides these rules from IE9 and below */
.loading_block_page:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading_block_page:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0,
    rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0,
    rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0,
    rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0,
    rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0,
    rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0,
    rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0,
    rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0,
    rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#checkcondiciones a,
#checkpoliticadatos a {
  font-size: 16px !important;
  text-decoration: underline !important;
}

.booking-form input[type='submit'] {
  font-family: arial !important;
  font-size: 18px !important;
  font-weight: normal !important;
}

.booking-form-element {
  margin-bottom: 25px !important;
}
