/*
 * Header main
 */
/* Header -> Header top */
.header-top {
  position: relative;
  font-size: .9rem;
  width: 100%;
  max-height: 30px;
  margin: 0;
  padding: 0.5rem 0;
  background: #000
}

@media (min-width: 781px) {
  .header-top {
    padding: 2px 0 !important;
  }
}

/* SOCIAL - TOP HEADER */
.header-top .social {
  gap: 10px;
}

.header-top .social a {
  line-height: 10px;
  color: #FECC00;
}

.header-top .social ion-icon {
  font-size: 20px;
  color: #FECC00;
}

.header-top .social ion-icon:hover {
  color: #fff;
}

.header-top .social span {
  vertical-align: text-top;
}

.header-top-container {
  justify-content: right !important;
}

@media (max-width: 340px) {
  .header-top .social a.telf-social ion-icon[name="call"] {
    display: none;
  }
}

@media (max-width: 319px) {
  .header-top .social a.telf-social {
    font-size: .8em;
  }
}

.header-top-container {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;*/
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.header-top-block p:last-child {
  margin: 0;
}

/* Header -> Header main */
.homepage .header,
.homepage .header-main {
  /*position: fixed;*/
  position: relative;
  z-index: 10;
  background: #f7f7f7;
  /*background: linear-gradient(140deg, #25ACAF 0%, #0D5A7A 60%, #172C62 75%, #0A1835 100%);*/
  width: 100%;
  margin: 0;
  padding: 4px 0;
  border-bottom: 0 solid #ccc;
}

.header,
.header-main {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 8px 0;
  border-bottom: 0px solid #ccc;
  background: #f7f7f7;
  /*background: linear-gradient(140deg, #25ACAF 0%, #0D5A7A 60%, #172C62 75%, #0A1835 100%);*/
}

.header-container {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/* Header -> Site branding */
.site-branding {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.site-brand #block-xaraflexrd-logomoviles {
  padding: 14px 20px 0 0;
  display: none;
}

.site-brand #block-xaraflexrd-logomoviles img {
  width: 48px
}

.site-logo {
  padding: 8px 20px 8px 0;
}

.site-logo img {
  display: block;
  width: 260px;
}

@media (max-width: 1022px) {
  .site-logo img {
    width: 220px;
  }
}

@media (max-width: 780px) {
  .site-logo img {
    width: 200px;
  }
}

@media (max-width: 300px) {
  /*.site-logo img { display: none; }
  .site-brand #block-xaraflexrd-logomoviles { display: block; }*/
}

.site-name-slogan {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.site-name,
.site-slogan {
  line-height: 1.1;
}

/* Header -> header right */
.header-right {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.header-right .navbar-default.navbar-we-mega-menu {
  background-color: transparent;
}

.header-right .navbar-we-mega-menu.navbar ul>li ul {
  padding-left: 10px;
  margin: 4px 0 0;
}

.header-right .we-mega-menu-ul>.dropdown-menu .we-mega-menu-submenu {
  border-bottom: 0px solid #828989;
}

.navbar {
  margin-bottom: 0;
}

.homepage .overlay {
  z-index: 10;
}

/* MENU TOP */
.menutop ul.menu {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
}

.menutop ul.menu li.menu-item {
  margin: 0 12px;
}

.menutop ul.menu li.menu-item a:hover {
  color: #eee;
}

@media (max-width: 830px) {
  .menutop ul.menu {
    display: none;
  }
}

/* MEGAMENU */
@media (max-width: 991px) {

  .navbar-we-mega-menu.navbar .container,
  .navbar-we-mega-menu.navbar .container-fluid {
    padding: 12px;
    position: static;
    width: auto;
    height: 100vh;
    background: #fff;
    color: #888;
  }

  .navbar-we-mega-menu.navbar .container a,
  .navbar-we-mega-menu.navbar .container-fluid a {
    color: #333;
  }

  .we-mega-menu-submenu .col3 {
    display: block;
  }

  .we-mega-menu-submenu .col3 .item {
    width: 100%;
  }

  .we-mega-menu-submenu .col3 a::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 8px;
    background-image: none;
  }

  .navbar-we-mega-menu.navbar .we-mega-menu-ul>li>.we-megamenu-nolink,
  .navbar-we-mega-menu.navbar .we-mega-menu-ul>li>a {
    border-top: 0;
    text-shadow: 0 0 0 rgba(0, 0, 0, .5);
    -webkit-box-shadow: 0 0 0 rgba(255, 255, 255, .05) inset;
    box-shadow: 0 0 0 rgba(255, 255, 255, .05) inset;
  }

  .navbar-we-mega-menu.navbar .nav .open>a,
  .navbar-we-mega-menu.navbar .nav .open>a:focus,
  .navbar-we-mega-menu.navbar .nav .open>a:hover,
  .navbar-we-mega-menu.navbar .nav-tabs>li.active>a,
  .navbar-we-mega-menu.navbar .nav-tabs>li.active>a:focus,
  .navbar-we-mega-menu.navbar .nav-tabs>li.active>a:hover {
    background-color: #888;
  }

  .navbar-we-mega-menu.navbar .dropdown-menu>.we-megamenu-nolink:after,
  .navbar-we-mega-menu.navbar .dropdown-menu>a:after {
    content: '\f107';
    display: inline-block;
    font: 16px / 1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -11px;
    font-size: 24px;
  }
}


.navbar-we-mega-menu .type-of-block h2,
.navbar-we-mega-menu .type-of-block label {
  display: none;
}

.navbar-we-mega-menu .type-of-block h2.block-title {
  display: block;
}

.we-mega-menu-ul>.dropdown-menu .we-mega-menu-submenu {
  border-bottom: 3px solid #828989;
  border-radius: 18px;
}

.we-mega-menu-submenu-inner a {
  font-weight: bold !important;
  padding-top: .6em !important;
  padding-bottom: .6em !important;
}

.region-we-mega-menu {
  background-color: transparent;
  margin-bottom: 0;
}

.navbar-default.navbar-we-mega-menu {
  background-color: transparent;
  border-color: transparent;
  text-transform: uppercase;
}

.we-mega-menu-ul>.we-mega-menu-li>a,
.we-mega-menu-ul>.we-mega-menu-li>span {
  background-color: transparent;
  color: #4a4a4a;
}

.we-mega-menu-ul>.we-mega-menu-li>a:hover,
.we-mega-menu-ul>.we-mega-menu-li>span:hover {
  background-color: transparent;
  color: #787878;
}

.we-mega-menu-ul>.dropdown-menu>a,
.we-mega-menu-ul>.dropdown-menu>span,
.we-mega-menu-ul>.dropdown-menu>a,
.we-mega-menu-ul>.dropdown-menu>span {
  background: rgba(0, 0, 0, 0);
  color: #4a4a4a;
}

.we-mega-menu-ul>.dropdown-menu:focus>a,
.we-mega-menu-ul>.dropdown-menu:focus>span,
.we-mega-menu-ul>.dropdown-menu:hover>a,
.we-mega-menu-ul>.dropdown-menu:hover>span {
  color: #787878;
}

.we-mega-menu-ul>.we-mega-menu-li>a:after,
.we-mega-menu-ul>.we-mega-menu-li>span:after {
  opacity: 1;
}

.we-mega-menu-ul>.we-mega-menu-li.active-trail>a,
.we-mega-menu-ul>.we-mega-menu-li.active-trail>a:focus,
.we-mega-menu-ul>.we-mega-menu-li.active-trail>a:hover,
.we-mega-menu-ul>.we-mega-menu-li.active>a,
.we-mega-menu-ul>.we-mega-menu-li.active>a:focus,
.we-mega-menu-ul>.we-mega-menu-li.active>a:hover {
  background-color: transparent;
  color: #4a4a4a;
}

@media (min-width: 992px) {
  .we-mega-menu-ul>.we-mega-menu-li>a,
  .we-mega-menu-ul>.we-mega-menu-li>span {
    font-size: .86rem !important;
    font-weight: 700 !important;
  }
  .we-mega-menu-submenu>.we-mega-menu-submenu-inner {
    min-height: auto;
  }
}

@media (max-width: 991px) {
    .region-we-mega-menu {
        padding: 8px 8px;
    }
}

/* COTIZA */
ul.we-mega-menu-ul.nav.nav-tabs .cotiza {
  background: #B90000;
  border-radius: 30px;
}

ul.we-mega-menu-ul.nav.nav-tabs .cotiza:hover {
  background: #E52307;
}

@media (max-width: 991px) {
  .header-right .navbar-we-mega-menu ul.we-mega-menu-ul.nav.nav-tabs .cotiza {
    display: none;
  }
}

/* MEGAMENU TOGGLE */
.region-we-mega-menu .navbar-toggle .icon-bar {
  background-color: #4a4a4a;
  width: 30px;
  height: 3px;
}

.region-we-mega-menu .navbar-toggle .icon-bar+.icon-bar {
  margin-top: 6px;
}

/* MEGAMENU: Mostrar blocks */
@media (max-width: 991px) {
  .navbar-we-mega-menu .type-of-block {
    display: block;
  }

  .navbar-we-mega-menu.navbar ul {
    margin: 30px 0 0;
  }

  li.we-mega-menu-li.atajos.dropdown-menu.atajos {
    display: block;
  }

  li.we-mega-menu-li.atajos.dropdown-menu.atajos .menutop ul.menu {
    display: block;
  }

  li.we-mega-menu-li.atajos.dropdown-menu.atajos .menutop ul.menu li.menu-item {
    margin: 0;
  }

  .navbar-we-mega-menu .we-mega-menu-ul .center>.we-mega-menu-submenu {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }

  .navbar-we-mega-menu .type-of-block h2.block-title {
    margin-left: 24px;
  }
}

.menu-wrap {
  position: fixed;
  background-color: #222222;
  color: #ffffff;
  top: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 1rem 0;
  width: 100%;
  max-width: 320px;
  z-index: 25;
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: all 0.4s linear;
  -o-transition: all 0.4s linear;
  transition: all 0.4s linear;
}

.menu-wrap ul.menu {
  position: relative;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  z-index: 30;
  list-style: none;
  list-style-type: none;
}

.menu-wrap a {
  color: #000;
}

.menu-wrap ul.menu li {
  position: relative;
  padding: 0;
}

.menu-wrap ul.menu li a {
  border-bottom: 1px solid #434343;
}

.menu-wrap ul.menu>li {
  display: block;
  float: none;
  /*line-height: 1;*/
  margin: 0;
}

.menu-wrap ul.menu>li>a {
  display: block;
  margin: 0;
  padding: 10px 0;
}

.menu-wrap ul.menu>li a::after {
  content: none;
}

.menu-wrap ul.menu ul.submenu {
  position: relative;
  display: block;
  font-weight: 400;
  margin: 0;
  padding: 0;
  z-index: 30;
}

.menu-wrap ul.menu ul.submenu li {
  display: block;
  width: 100%;
}

.menu-wrap ul.menu ul.submenu li {
  background: none;
}

.menu-wrap ul.menu ul.submenu li a {
  display: block;
  width: 100%;
  padding: 10px 0 10px 20px;
}

.menu-wrap ul.menu ul.submenu li a::after {
  content: none;
}

.menu-wrap .menu li span.dropdown-arrow {
  position: relative;
  display: inline-block;
  right: 0;
  padding: 0;
}

/* Third level drop down */
.menu-wrap ul.menu ul.submenu ul.submenu {
  position: relative;
  display: block;
  margin: 0;
  padding: 0 0 0 30px;
  z-index: 30;
}

.menu-wrap ul.menu ul.submenu ul.submenu li {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}

.menu-wrap .menu ul.submenu li.expanded::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 10px;
}

/* Mobile Menu */
.mobile-menu {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 36px;
  height: 28px;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  padding: 0;
  cursor: pointer;
}

.mobile-menu span {
  width: 100%;
  height: 2px;
  background-color: #000;
}

.active-menu .menu-wrap {
  overflow-y: scroll;
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  -webkit-transition: all 0.4s linear;
  -o-transition: all 0.4s linear;
  transition: all 0.4s linear;
  padding: 5rem 1rem 1rem;
}

.close-mobile-menu {
  position: absolute;
  font-family: arial;
  top: 4px;
  right: 4px;
  display: none;
  width: 34px;
  height: 34px;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  z-index: 48;
  cursor: pointer;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  line-height: 1;
}

.active-menu .close-mobile-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.active-menu .menu {
  display: block;
}

/*slide up */
@-webkit-keyframes slideUp {
  0% {
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes slideUp {
  0% {
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    opacity: 1;
  }
}

/* Header -> header search form */
.full-page-search {
  position: relative;
  margin: 0;
  padding: 0;
}

.search-icon {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 0 0 .6rem;
  cursor: pointer;
  width: 30px;
  height: 30px;
  text-align: center;
  border-radius: 50%;
  background: #fff;
}

.search-icon img {
  height: 24px;
  width: auto;
}

.search-icon i,
.mobile-menu i {
  line-height: 24px;
}

.search-box {
  position: fixed;
  background-color: var(--light);
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  padding: 50px 0;
  z-index: 50;
  -webkit-transform: translate(0, -100%);
  -ms-transform: translate(0, -100%);
  transform: translate(0, -100%);
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  -o-transition: transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
}

.search-box.open {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}

.search-box-content {
  position: relative;
  z-index: 60;
  text-align: center;
}

.header-search-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 3px solid #000000;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
}

.search-box-content .block {
  width: 100%;
  margin: 0;
}

.search-box-content .block-title,
.search-box-content form label {
  display: none;
  color: #000000;
}

.search-box-content input[type="search"] {
  width: 100%;
  margin: 2rem 0;
  padding: 0 0 6px 0;
  font-size: 1.4rem;
  background: url("../images/icons/search.svg") top right no-repeat;
  background-size: contain;
  border: 0;
  border-bottom: 2px solid var(--border);
  border-radius: 0;
  outline: 0;
}

.search-box-content input[type="submit"] {
  display: none;
}

/* Header -> Page Header */
.page-header {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 2rem 0 1.6rem;
  /*background: #BDBFC1;*/
}

.region-page-header {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

/* Header -> Page Header-> breadcrumb */
.breadcrumb {
  position: relative;
  width: 100%;
}

ol.breadcrumb-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

ol.breadcrumb-items li {
  display: inline-block;
  padding: 0;
}

.breadcrumb-item span {
  margin: 0 10px;
}

/* COVER */
.cover .container {
  width: 100vw;
  max-width: 100vw;
  padding: 0;
  margin: 0 0 30px;
  /*height: 80vh;  Opcional*/
  overflow: hidden;
}

/* GTRANSLATE */
.header-top-container {
  height: 24px;
}

.gtranslate {
  position: absolute;
  right: 0;
  top: -14px;
}