:root {
  --c_pri:#1A41E5;
  --c_sec:#FDB718;
  --c_parr:#1B1B1A;
  --c_link:#1A41E5;
  --color-grad_blanco:linear-gradient(104.32deg, #FFFFFF 0%, #E4E4E4 100%), #C2C2C2;
  --color-grad_azul_osc:linear-gradient(135.57deg, #4565B3 0%, #2B478B 54.17%, #13203E 100%);
  --color-grad_azul_cla:linear-gradient(115.4deg, #2B478B 29.76%, #5077D6 85.08%);
}
*{
  box-sizing: border-box;
}
/* HEADER */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
}

.topbar_h {
  width: 100%;
  background: #f4f4f4;
  box-sizing: border-box;
  padding: 4px 2.5%;
  display: flex;
  justify-content: flex-end;
}

.cnt_inf_topbar_h {
  display: flex;
  align-items: center;
}

.btn_z_clientes {
  padding: 0 16px;
  font-size: 15px;
  color: #3f3f3f;
  display: block;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

.btn_z_clientes:hover {
  color: var(--c_link);
}

.btn_oikos_logos {
  display: flex;
  align-items: center;
  margin: 0 12px;
  height: 38px;
}
.btn_oikos_logos img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 38px;
}

.btn_pse {
  padding: 0 0 0 12px;
  display: flex;
  align-items: center;
}

.btn_pse:hover .txt_pse {
  color: var(--c_link);
}

.txt_pse {
  font-size: 15px;
  color: #3f3f3f;
  padding-right: 8px;
}

.ic_pse {
  width: 51px;
  height: 23px;
  box-shadow: 0px 6px 2px -5px rgba(0, 0, 0, 0.29), inset 1px 1px 1px #FFFFFF, inset -1px -1px 1px rgba(0, 0, 0, 0.19);
  border-radius: 11.5px;
  background: url(../images/diseno/pse.svg) no-repeat center, radial-gradient(100.89% 100.9% at 0% 49.82%, #2D5CA8 0%, #285496 33.33%, #1F4272 63.54%, #0D2D4D 100%);
  background-size: auto 67%;
  display: block;
}

.nav_bar_h {
  width: 100%;
  background: var(--c_pri);
  display: flex;
  justify-content: flex-end;
  box-sizing: border-box;
  padding: 0px 2.5%;
  position: relative;
  z-index: 1;
}

.logo_pri {
  width: 193px;
  height: 119px;
  transform: skewX(-20deg);
  background: #fff;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.28);
  text-indent: -999em;
  border-radius: 0 0 20px 0;
  position: absolute;
  top: -43px;
  left: -10px;
  margin: 0;
}
.logo_pri a {
  width: 100%;
  height: 100%;
  display: block;
  transform: skewX(20deg);
  background: url(../images/diseno/logo_inmobiliaria.svg) no-repeat center;
  background-size: auto 56%;
}
.logo_pri:after {
  content: "";
  width: 13%;
  height: 50%;
  background: #fff;
  position: absolute;
  top: 0;
  left: -7%;
  transform: skewX(20deg);
}

.nav {
  width: 80%;
  justify-content: flex-end;
  transition: 400ms ease-out;
}
.nav > ul {
  width: auto;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
}
.nav > ul > li {
  margin: 0 2%;
  color: #fff;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav > ul > li .dspl_ic {
  color: #fff;
  cursor: pointer;
}
.nav > ul > li > a {
  color: #fff;
  display: flex;
  height: 100%;
  align-items: center;
  position: relative;
  font-weight: bold;
  cursor: pointer;
  padding: 27px 0;
  gap: 8px;
}
.nav > ul > li > a:before {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: -14px;
  opacity: 0;
  transition: all 0.3s;
}
.nav > ul > li:hover a:before, .nav > ul > li.active a:before {
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  background: var(--c_sec);
  padding: 12px 24px;
  font-size: 16px;
  line-height: 24px;
  border-radius: 3px;
  color: #000;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
  font-weight: bold;
  z-index: 1;
  overflow: hidden;
  border: none;
}
.btn.outline {
  background: transparent;
  color: var(--c_sec);
  padding: 8px 20px;
  border: 2px solid var(--c_sec);
}
.btn.outline span, .btn.outline .material-icons {
  color: var(--c_sec∂);
}
.btn.outline:hover {
  background: var(--c_sec);
  color: var(--c_parr);
}
.btn.outline:hover span, .btn.outline:hover .material-icons {
  color: var(--c_parr);
}

.btn input {
  width: 100%;
  height: 24px;
  cursor: pointer;
  border: none;
  background: transparent;
  font-weight: bold;
  font-size: 18px;
}

.btn .material-icons {
  font-size: 16px;
  color: #000;
  padding-right: 16px;
}

.btn:before {
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  z-index: -1;
  position: absolute;
  left: -100%;
  top: 0;
  transition: all 0.4s;
}

.btn:after {
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  z-index: -1;
  position: absolute;
  bottom: 0;
  right: -100%;
  transition: all 0.4s;
}

.btn:hover:before {
  left: 0;
}

.btn:hover:after {
  right: 0;
}

.btn_med {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 206px;
  background: var(--c_pri);
  padding: 10px 16px;
  font-size: 15px;
  line-height: 18px;
  border-radius: 2px;
  color: #000;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
  font-weight: bold;
  z-index: 1;
  overflow: hidden;
}

.btn_med input {
  width: 100%;
  height: 18px;
  cursor: pointer;
  border: none;
  background: transparent;
  font-weight: bold;
  font-size: 18px;
}

.btn_med .material-icons {
  font-size: 24px;
  color: #000;
  padding-right: 16px;
}

.btn_med:before {
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  z-index: -1;
  position: absolute;
  left: -100%;
  top: 0;
  transition: all 0.4s;
}

.btn_med:after {
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  z-index: -1;
  position: absolute;
  bottom: 0;
  right: -100%;
  transition: all 0.4s;
}

.btn_med:hover:before {
  left: 0;
}

.btn_med:hover:after {
  right: 0;
}

.btn.contacto_h {
  color: var(--c_pri);
  background: #fff;
  align-self: center;
  padding: 8px 16px;
  font-size: 16px;
}
.btn.contacto_h:before {
  mix-blend-mode: darken;
}
.btn.contacto_h:hover {
  color: #fff;
  background: #0030ff;
}

.btn_menu_movil {
  display: none;
}
/******** megamenu *******/
.megamenu_serv {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: -1;
  display: flex;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  max-height: 0;
  transition: all 0.5s;
  text-align: left;
}
.megamenu_serv.active {
  max-height: 600px;
}
.megamenu_serv.active .col_der_megam {
  display: flex;
}

.col_izq_megam {
  width: 37%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: #fff;
  position: relative;
  z-index: 2;
}

.col_der_megam {
  width: 63%;
  display: flex;
  align-items: center;
  background: #F1F3F9;
  justify-content: left;
  position: relative;
  z-index: 1;
  display: none;
  transform: translateX(-100%);
  animation: in_pro 0.5s forwards 0.2s;
}

@keyframes in_pro {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0%);
  }
}
.cnt_sumbm_inmb {
  width: 100%;
  height: 100%;
  max-width: 400px;
  padding: 72px 8%;
}

.h_submen {
  width: 100%;
  font-size: 26px;
  color: #000;
  font-weight: bold;
  padding-bottom: 56px;
}
.h_submen span {
  color: var(--c_pri);
}

.submen_inmb {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  list-style: none;
}
.submen_inmb > li > a {
  display: block;
  width: auto;
  color: var(--c_parr);
}
.submen_inmb > li > a:hover {
  color: var(--c_link);
}

.cnt_subm_pro {
  width: 100%;
  height: 100%;
  max-width: 900px;
  padding: 72px 8%;
}

.row_sumbn_pro {
  width: 100%;
  display: flex;
  gap: 10%;
}

.col_subm_pro {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.col_subm_pro .submen_inmb {
  gap: 16px;
}

.ic_menu_pro {
  width: 100%;
  border-bottom: 1px solid #D9D9D9;
  padding: 0 0 16px;
}
.ic_menu_pro img {
  width: 50px;
  height: auto;
}

.h_sub_subm {
  width: 100%;
  font-size: 16px;
  color: var(--c_parr);
  font-weight: 700;
  padding: 24px 0;
}
.h_sub_subm .dspl_ic {
  display: none;
}

.close_megamenu {
  position: absolute;
  top: 16px;
  right: 16px;
  cursor: pointer;
  z-index: 3;
  color: #000;
}
.close_megamenu:hover {
  transform: scale(1.2);
}

/******/

@media screen and (max-width: 1400px) {
  .nav ul li {
    margin: 0 1%;
  }
}
@media screen and (max-width: 1200px) {
  .nav ul li a {
    font-size: 15px;
    font-weight: 600;
    text-align: center;
  }
}
@media screen and (max-width: 1050px) {
  .ic_pse {
    height: 18px;
    width: 40px;
  }
  .btn_z_clientes, .txt_pse {
    font-size: 12px;
    text-align: center;
  }
  .nav_bar_h {
    padding: 0 24px;
    position: relative;
    z-index: 1;
  }
  .logo_pri {
    width: 136px;
    height: 78px;
    top: -30px;
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 2;
    background: var(--c_pri);
    box-sizing: border-box;
    padding: 32px 80px 32px 40px;
    width: 100%;
    height: 100%;
    max-width: 410px;
    margin: 0;
    overflow-y: auto;
    transition: 400ms ease-out;
  }
  .nav.active {
    right: 0;
  }
  .nav > ul {
    width: 100%;
    flex-direction: column;
  }
  .nav > ul > li {
    margin: 0;
    border-bottom: 1px solid #516af2;
    position: relative;
    flex-wrap: wrap;
    gap: 0;
  }
  .nav > ul > li:before {
    display: none;
  }
  .nav > ul > li > a {
    padding: 16px 0;
    width: 100%;
    justify-content: space-between;
  }
  .nav > ul > li:hover > ul.submenu {
    display: none;
  }
  .nav > ul .btn_med {
    margin: 8px 0;
  }
  .btn_menu_movil {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    padding: 8px;
    float: right;
    position: relative;
    z-index: 3;
    transition: 300ms ease-out;
    cursor: pointer;

  }
  .btn_menu_movil > span {
    transition: 300ms ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    padding: 2px;
    background: transparent;
  }
  .btn_menu_movil > span span {
    transition: 300ms ease-out;
    width: 100%;
    display: block;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    margin: 2px 0;
  }
  .btn_menu_movil span:nth-child(2){
    margin: 2px 0;
  }
  .btn_menu_movil.active > span span {
    width: 84%;
  }
  .btn_menu_movil.active > span span:first-child {
    transform: rotate(45deg) translate(33%, 133%);
  }
  .btn_menu_movil.active > span span:nth-child(2) {
    opacity: 0;
  }
  .btn_menu_movil.active > span span:last-child {
    transform: rotate(-45deg) translate(31%, -144%);
  }
  /******** megamenu *******/
  .megamenu_serv {
    position: relative;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
  }
  .megamenu_serv.active {
    max-height: 1000px;
  }
  .close_megamenu, .ic_menu_pro {
    display: none !important;
  }
  .col_izq_megam {
    border-bottom: 1px solid #516af2;
  }
  .col_izq_megam, .col_der_megam {
    width: 100%;
    background: transparent;
  }
  .col_der_megam {
    display: flex;
    transform: translateX(0);
    animation: none;
  }
  .cnt_sumbm_inmb, .cnt_subm_pro {
    padding: 16px;
    background: transparent;
  }
  .submen_inmb {
    gap: 12px;
  }
  .submen_inmb li a {
    color: #fff;
    text-align: left;
    font-weight: 400 !important;
  }
  .nav ul li a {
    text-align: left;
  }
  .h_submen {
    font-size: 20px;
    color: #fff;
    padding-bottom: 16px;
  }
  .h_submen span {
    color: #2196f3;
  }
  .row_sumbn_pro {
    flex-direction: column;
  }
  .col_subm_pro {
    padding-bottom: 16px;
  }
  .col_subm_pro .submen_inmb {
    width: 100%;
    overflow: hidden;
    max-height: 0;
  }
  .col_subm_pro .submen_inmb.show {
    max-height: 300px;
  }
  .h_sub_subm {
    color: #fff;
    padding: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .h_sub_subm .dspl_ic {
    display: block;
  }
  /***/
}
@media screen and (max-width: 768px) {
  .btn_oikos_logos {
    margin: 0 5px;
    width: 18px;
    height: auto;
  }
  .title_section {
    font-size: 20px;
    padding: 32px 0 24px;
  }
  .cuerpo {
    padding-top: 66px;
  }
  /*   ESTILOS FOOTER */
  .cnt_cols_pie {
    flex-direction: column;
  }
  .cnt_mid_pie {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 20px;
  }
  .cnt_bot_pie {
    flex-direction: column;
    gap: 10px;
    padding: 10px 20px;
  }
  .copyr_pie {
    font-size: 12px;
  }
  .menu_pie {
    display: none;
  }
  .menu_pie li {
    margin: 0 0 24px;
  }
  .h_cl_pie::before {
    content: "\f106";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    height: 20px;
    font-family: "Font Awesome 5 Pro";
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .txt_pie {
    padding: 32px 0px 32px 0;
  }
  .cnt_lat_pie {
    padding: 20px;
    transform: skewX(0deg);
    border-radius: 0 0 50px 50px;
    overflow: hidden;
  }
  .cnt_gen_susc_pie {
    padding-top: 0;
  }
  .cnt_gen_inf_lat_pie {
    transform: skewX(0deg);
  }
  .cnt_gen_cert_pie {
    justify-content: center;
  }
  .cnt_central {
    padding: 0 24px;
  }
  /************* buscador banner*************/
  .cnt_gen_inf_banner_busc_inm {
    gap: 0;
  }
  .desp_busc_avz .cnt_camp_esp {
    flex-basis: 200px;
  }
  .fomr_bus_cod {
    flex-direction: column;
  }
  .acampo_busq_codigo {
    border-right: 1px solid #B6B6B6;
  }
  .btn_busq_cod {
    width: 100%;
    margin-top: 16px;
  }
  .btn {
    font-size: 14px;
    padding: 8px 16px;
    min-width: inherit;
  }
  /********/
  .cnt_logos_pie{
    justify-content: center;  
    align-items: center;
  }
  .miga{
    padding-top: 24px;
  }
  .txtNoticiaSmall > span:first-child, .txtNoticiasInmo > span:first-child {
    font-size: 12px !important;
  }
  .txtNoticiaSmall > span:nth-child(3), .txtNoticiasInmo > span:nth-child(3){
    display: none;
  }
}
@media screen and (max-width: 480px) {
  .nav_bar_h {
    padding: 0 8px;
  }
  .nav {
    max-width: none;
    display: block;
  }
  .logo_pri {
    width: 84px;
    height: 50px;
    top: 0;
    box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.3);
  }
  .logo_pri a {
    background-size: auto 70%;
  }
  .cont_input_x2 {
    grid-template-columns: 1fr;
  }
  .copyr_pie {
    text-align: center;
  }
  .miga{
    font-size: 10px;
    text-align: left;
  }
}