@font-face {
    font-family: 'Idealista';
    font-weight: normal;
    src: local('Idealista'),url('../fonts/IdealistaLight.otf') format('opentype');
}

@font-face {
  font-family: 'Idealista';
  font-weight: bold;
  src: local('Idealista'),url('../fonts/IdealistaBold.otf') format('opentype');
}

* {
  text-rendering: optimizeLegibility;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  font-family: "Segoe UI", "SegoeUI", "Open Sans", "Helvetica", sans-serif;
  font-size: 15px;
  color: #000000;
  height: 100%;
}

body {
  margin: 0px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

h1 {
  font-family: "Idealista", sans-serif;
  font-weight: bold;
  font-size: 30px;
  line-height: normal;
  margin: 40px 0;
}

h2 {
  font-weight: 600; /* Semibold */
  font-size: 24px;
  line-height: normal;
  margin-bottom: 32px;
}

#nos-header {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 12100;
  
  padding-bottom: 4px;
  
  transition: background 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  background: white;
}

#nos-header_placer {
  flex-shrink: 0;
}

#nos-header.header__collapsed {
  background: transparent;
}

#nos-header_content {
  display: flex;
  align-items: center;
  padding: 2px 40px 4px 50px;
  white-space: nowrap;
  
  transition: margin-top 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

#nos-header_content>div {
  margin-right: 15px;
}

#nos-header_content>div:last-child {
  margin-right: 0;
}

#nos-header #loader {
  position: absolute;
  left: 0px;
  bottom: 0px;
  right: 0px;
  height: 4px;
  overflow: hidden;
}

#nos-header.header__collapsed #loader {
  background: #ECECEC;
}

#nos-header #loader.__loading {
  background: #C1C1C1;
}

@keyframes nos_loader {
  0% {
    left: -10%;
    width: 0px;
  }
  
  50% {
    width: 225px;
  }
  
  to {
    left: 110%;
    width: 1px;
  }
}

#nos-header #loader.__loading>div {
  position: absolute;
  top: 0;
  bottom: 0;
  
  background: #DA1931;
  box-shadow: 0px 0px 20px 20px #DA1931;
  
  animation: nos_loader 1.8s ease-in-out infinite;
}

#nos-header .portal_logo {
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  width: 216px;
  height: 77px;
}

#nos-header .portal_operator {
  position: relative;
}

#portal_operator_but {
  font-size: 15px;
  font-family: "Idealista";
  font-weight: bold;
  line-height: 34px;
  text-align: center;
  
  color: white;
  background: #DA1931;
  
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

#portal_operator_detail {
  position: absolute;
  top: 100%;
  right: 0px;
  margin-top: 4px;
  min-width: 180px;
  padding: 1.75em 1.75em 0 1.75em;
  
  border-radius: 20px 0px 20px 0px;
  background-color: #DA1931;
  
  font-size: 14px;
  color: white;
  text-align: center;
  line-height: 1.5;
  
  display: none;
}

#portal_operator_detail>div {
}

#portal_operator_detail a, #portal_operator_detail a:visited {
  color: white;
  text-underline-position: under;
}

#portal_operator_detail a:hover {
  color: black;
}

#portal_operator_detail b {
  /* semibold */
  font-weight: 600;
}

#portal_operator_detail button {
  border: 2px solid white;
  border-radius: 20px;
  background: transparent;
  color: white;
  
  padding: 5px;
  width: 75%;
  font-size: inherit;
  /* semibold */
  font-weight: 600;
  line-height: inherit;
  margin: 1.75em 0;
  cursor: pointer;
}

#portal_operator_detail button:hover {
  background: white;
  border-color: black;
  color: black;
}

#portal_operator_detail #portal_logout_but {
  background: white;
  color: #DA1931
}

#portal_operator_detail #portal_logout_but:hover {
  background: black;
  color: white;
}

.portal_logout_banner {
  display: block;
  margin: 20px auto;
  width: auto;
  max-width: 750px;
}

#nos-header .spanner {
  flex-grow: 1;
}

@media only screen and (max-width: 991px) {
  #nos-header_content {
    padding-right: 32px;
  }
}

@media only screen and (max-width: 575px) {
  #nos-header_content {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  #nos-header .portal_logo {
    flex-grow: 1;
  }
  
  #nos-header .portal_logo .icon_nos_mxm {
    width: 164px;
    height: 60px;
  }
  
  #nos-header .portal_name {
    display: none;
  }
  
  #portal_operator {
    font-size: 16px;
    width: 47px;
    height: 47px;
    border-radius: 50%;
  }
  
  #nos-header .spanner {
    display: none;
  }
}

#pub-header {
  background: #DA1931;
  display: flex;
  justify-content: center;
}

#pub-header_content {
  flex-grow: 1;
  max-width: 1185px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 2px 15px 4px 0px;
}

#pub-header .portal_logo {
  width: 216px;
  height: 77px;
}

#pub-header_ctrl {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  font-size: 19px;
  font-weight: 600 /* semibold */;
  color: white;
}

#pub-header_ctrl a, #pub-header_ctrl a:visited {
  color: inherit;
  text-decoration: none;
}

#pub-header_ctrl .separator {
  height: 38px;
  width: 16px;
  display: inline-block;
  background: url(../images/pub_header_separator.svg) 50% 50% no-repeat;
  background-size: contain;
}

#pub-header_ctrl .ctrl_icon {
  height: 24px;
  width: 32px;
}

@media only screen and (max-width: 767px) {
  #pub-header_ctrl {
    display: none;
  }
  
  #pub-header .portal_logo {
    flex-grow: 1;
  }
}

main {
  flex-grow: 1;
  flex-shrink: 0;
  display: flex;
  overflow-x: hidden;
}

#nos-menu {
  position: fixed;
  z-index: 12000;
  left: 0;
  top: 0;
  bottom: 0;
  /* cz.ais.sirael.usrMXM.nos.common.client.NOSStyle.MENU_WIDTH */
  width: 69px;
  background: #CECECE;
  flex-shrink: 0;
}

#nos-menu_toggle {
  display: none;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.nos-menu_button {
  cursor: pointer;
  padding: 15px 5px;
  /* 86px to make it flush with a NOSNotice */
  min-height: 86px;
  color: #000;
  /* semibold */
  font-weight: 600;
  font-size: 10px;
  text-align: center;
}

.nos-menu_button:hover {
  background: #ececec;
}

.nos-menu_button__active, .nos-menu_button__active:hover {
  cursor: default;
  background: #DA1931;
  color: #fff;
}

.nos-menu_button_icon {
  height: 25px;
  width: 100%;
  margin-bottom: 1em;
}

#nos-menu_header-placer {
  background: white;
  display: flex;
  align-items: stretch;
  cursor: default;
}

#nos-menu_header-placer .nos-menu_button_icon {
  height: auto;
  margin-bottom: 0;
}

.main {
  flex-grow: 1;
  max-width: 100%;
}

.main-nos-app, .main-pub-app {
  flex-grow: 1;
  max-width: 100%;
  padding-bottom: 80px;
}

.main-nos-app {
  background-color: #ececec;
}

.main-nos-app.has-nos-menu {
  /* cz.ais.sirael.usrMXM.nos.common.client.NOSStyle.MENU_WIDTH */
  padding-left: 69px;
}

@media only screen and (max-width: 768px) {
  #nos-header.header__collapsed {
    /* white again */
    background: white;
  }

  #nos-header_content {
    padding-left: 16px;
  }
  
  #nos-menu {
    width: 150px;
    display: none;
    /* Here we let the nos-menu be above footer */
    z-index: 12002;
  }
  
  #nos-menu_toggle {
    display: block;
  }
  
  .main-nos-app.has-nos-menu {
    /* Here we let the nos-menu overflow content */
    padding-left: 0;
  }
}

#session-ctrl {
  display: none;
  
  position: fixed;
  z-index: 12000;
  left: 0;
  bottom: 0;
  right: 0;
  top: 100%;
  transition: top 0.6s ease-in;
  padding: 0 2em;
  
  background-color: #ececec;
  text-align: center;
}

#session-ctrl h1 {
  text-align: center;
  margin: 20px 0;
  color: #DA1931;
}

#session-ctrl .g2Button {
  margin-bottom: 20px;
}

#session-ctrl .timeout_icon {
  background-repeat: no-repeat;
  background-size: contain;
  width: 100px;
  height: 100px;
  margin: 0px auto 20px auto;
  background-image: url('../images/nos_timeout.svg');
}

#session-ctrl .__var1, #session-ctrl .__var2 {
  display: none;
}

#session-ctrl.var1 .__var1 {
  display: inline-block;
}

#session-ctrl.var2 .__var2 {
  display: inline-block;
}

#nos-footer {
  display: flex;
  align-items: center;
  white-space: nowrap;
  /* Even more than nos-menu on desktop*/
  z-index: 12001;
  
  width: 100%;
  flex-shrink: 0;
  padding: 15px 60px;
  background: #111111;
  color: white;
}

#nos-footer a, #nos-footer a:visited {
  color: inherit;
  text-decoration: none;
}

#nos-footer p {
  margin: 0 15px 0 0;
  padding: 10px 0;
  display: inline-block;
}

#nos-footer p:last-child {
  margin-right: 0;
}

#nos-footer #footer_feedback {
  cursor: pointer;
}

#nos-footer .footer_phone {
  font-family: "Idealista";
  font-size: 18px;
  font-weight: bold;
}

#nos-footer .footer_phone a {
  font-size: 30px;
}

#nos-footer .portal_logo {
  width: 230px;
  height: 85px;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  margin-right: 50px;
}

#nos-footer .separator {
  height: 1px;
  width: 100%;
  background: white;
  margin: 15px 0;
  display: none;
}

@media only screen and (max-width: 991px) {
  #nos-footer {
    flex-direction: column-reverse;
    justify-content: center;
  }
  
  #nos-footer p {
    display: block;
    text-align: center;
    margin: 0;
  }
  
  #nos-footer .footer_phone {
    text-align: center;
  }
  
  #nos-footer .portal_logo {
    margin: 0;
  }
  
  #nos-footer .separator {
    display: block;
  }
}

.pub-footer_content {
  flex-grow: 1;
  max-width: 1185px;
}

.pub-footer_1 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 72px 0;
  background: #EEEEEE;
}

.pub-footer_1 .pub-footer_content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0 15px;
}

.pub-footer_1 .promo_item {
  text-align: center;
  white-space: nowrap;
  font-size: 20px;
}

.pub-footer_1 .promo_icon {
  width: 100px;
  height: 70px;
  margin-bottom: 0.5em;
}


.pub-footer_1 .promo_item b {
  color: #DA1931;
}

.pub-footer_1 .separator {
  height: 100px;
  width: 38px;
  display: inline-block;
  background: url(../images/pub_footer_separator.svg) 50% 50% no-repeat;
  background-size: contain;
}

@media only screen and (max-width: 767px) {
  .pub-footer_1 .pub-footer_content {
    column-gap: 100%;
    justify-content: center;
  }
  
  .pub-footer_1 .separator {
    display: none;
  }
}

.pub-footer_2 {
  display: flex;
  flex-wrap: wrap;
  column-gap: 100%;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 40px 0;
  background: #111111;
  color: white;
}

.pub-footer_links_1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 15px 0 0;
  font-size: 21px;
  font-weight: 600 /* semibold */;
}

.pub-footer_links_1 a, .pub-footer_links_2 a {
  color: inherit;
  text-decoration: none;
}

.pub-footer_links_2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 15px;
  color: #595959;
  font-size: 19px;
}

.pub-footer_links_2 a:hover {
  color: #858585;
  text-decoration: underline;
}

.pub-footer_2 .footer_phone {
  font-family: "Idealista";
  font-size: 24px;
  display: flex;
  align-items: center;
  column-gap: 1em;
  flex-wrap: wrap;
  justify-content: center;
  white-space: nowrap;
}

.pub-footer_2 .footer_phone a {
  font-size: 40px;
}

.pub-footer_2 .portal_logo {
  width: 230px;
  height: 85px;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.pub-footer_2 .separator {
  height: 1px;
  background: #595959;
  margin: 25px 0;
}

@media only screen and (max-width: 991px) {
  .pub-footer_links_1 {
    flex-wrap: wrap;
    column-gap: 100%;
    justify-content: center;
  }
}

@media only screen and (max-width: 575px) {
  .pub-footer_2 .footer_phone {
    column-gap: 100%;
  }
  
  .pub-footer_links_2 {
    flex-wrap: wrap;
    column-gap: 100%;
    justify-content: center;
  }
}

.g2Button {
  border: 2px solid #DA1931;
  background: none;
  padding: 7px 20px;
  border-radius: 20px;
  color: #DA1931;
  
  font-family: inherit;
  font-weight: bold;
  font-size: inherit;
  line-height: normal;
  text-align: center;
  text-decoration: none;
  
  display: inline-block;
  cursor: pointer;
}

.g2Button:hover {
  background: white;
  color: black;
  border-color: black;
}

.mxmButton  {
  height: 46px;
  line-height: 46px;
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}