/*!
 * Componente Nombre:  main    | default
 * Base: Bootstrap v4.6.2
 * Autor: DEX360
 * Copyright: DEX360

    0.  :root
    1.  general
    2.  header
    3.  footer
    4.  news
    5.  animation fadein
    6.  fonts

    10. responsive
*/

/*
Required WordPress CSS
*/
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

body {
  font-family: var(--font-family-sans-serif) !important;
  font-size: 17px;
  line-height: inherit;
  color: var(--primary);
}

/* 0. :root */
:root {
  --primary: #081f2c !important; /* rgb(8, 31, 44) */
  --light-primary: #e4e4e4;
  --secondary: #1c2d3a;
  --light-bg: #f8f8f8;
  --text-title: #f36e29;
  --grey-1: #1c2d3a !important;
  --grey-2: #081f2c !important;
  --font-family-sans-serif: "Gilroy", "Roboto", -apple-system,
    BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans",
    "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
}

/* 1. general */
h2 {
  font-size: 52px;
}
h3 {
  font-size: 34px;
  font-weight: bold;
}
h4 {
  font-size: 27px;
}
.btn {
  padding-left: 1.3rem;
  padding-right: 1.3rem;
}
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover,
.slider-main .slider-main-content .btn-dark:hover {
  background-color: var(--light-primary);
  border-color: var(--light-primary);
  color: var(--primary);
}
.btn-primary-light {
  background-color: white;
  border-color: var(--primary);
  color: var(--primary);
  text-transform: uppercase;
}
.btn-primary-light:hover {
  background-color: var(--primary);
  color: var(--light-bg);
}
.text-primary {
  color: var(--primary) !important;
}
.text-title {
  color: var(--text-title);
}
.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.alignleft {
  float: left;
  margin-right: 1.5em;
}
.alignright {
  float: right;
  margin-left: 1.5em;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  background-color: var(--primary);
}

/* WordPress gallery */
.gallery-caption {
}

.gallery {
  margin-bottom: 1.6em;
}
.gallery-item {
  display: inline-block;
  padding: 1.79104477%;
  text-align: center;
  vertical-align: top;
  width: 100%;
}
.gallery-columns-2 .gallery-item {
  max-width: 50%;
}
.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
  max-width: 25%;
}
.gallery-columns-5 .gallery-item {
  max-width: 20%;
}
.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}
.gallery-icon img {
  margin: 0 auto;
}
.gallery-caption {
  color: #707070;
  color: rgba(51, 51, 51, 0.7);
  display: block;
  font-family: "Noto Sans", sans-serif;
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 1.5;
  padding: 0.5em 0;
}
.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
  display: none;
}

/*
Text meant only for screen readers.
copied from https://codex.wordpress.org/CSS
*/
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

.sticky {
}

.wp-caption {
  border: 1px solid #ccc;
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 1.2% auto 0;
  max-width: 98%;
}
.wp-caption-text {
  text-align: center;
}
.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}
/*
.tabs-main .nav-link {
    padding: .5rem 1rem !important;
    font-size: 1.2em;
}
.tabs-main .nav-tabs .nav-link.active {
    border: none !important;
    border-bottom: 4px solid #000 !important;
}
*/

/* 2. header */
.page-header {
  background: var(--primary);
  background: linear-gradient(
    180deg,
    rgba(8, 31, 44, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  left: 0px;
  padding: 18px 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 990;
}
.page-header.is_overlay {
  position: absolute !important;
}
.site-branding {
  position: absolute;
  top: 0px;
  transition: opacity ease-in-out;
}
.page-header .navbar-dark .navbar-nav .nav-link {
  border: 1px solid transparent;
  color: white;
  opacity: 1;
  border-radius: 5px;
  padding-left: 1.3rem;
  padding-right: 1.3rem;
}
.page-header .navbar-dark .navbar-nav .active .nav-link {
  background-color: var(--light-primary);
  color: var(--primary);
}
.page-header .navbar-dark .navbar-nav .nav-link:focus,
.page-header .navbar-dark .navbar-nav .nav-link:hover {
  border-color: var(--light-primary);
}

.page-header .navbar-dark .navbar-nav .active .nav-link {
  font-weight: bold;
}

.page-header .navbar-dark .navbar-nav .nav-link:hover,
.page-header .navbar-dark .current-menu-item {
  /*opacity:.8;*/
}

.page-header .dropdown-item {
  background-color: var(--white);
  border-radius: 5px;
  color: var(--primary);
  margin-bottom: 0.25em;
  padding: 0.5em 0;
  text-decoration: none;
  text-align: center;
  width: 100%;
}

.page-header .dropdown-item.active,
.page-header .dropdown-item:hover,
.page-header .dropdown-item.active,
.page-header .dropdown-item:active {
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
}

.page-header .dropdown-menu {
  opacity: 70%;
  background-color: transparent !important;
  border: none;
  padding: 0px !important;
  min-width: 100% !important;
}

#footer-row .dropdown-item:focus,
#footer-row .dropdown-item:hover,
#footer-row .dropdown-item.active,
#footer-row .dropdown-menu {
  opacity: 100%;
  background-color: transparent !important;
}
.page-header .menu-intranet a {
  background: url(../img/icono-intranet.svg) no-repeat right center;
  padding-right: 28px !important;
  background-size: 20px;
}
.page-header .menu-intranet a:hover {
  border:1px solid transparent !important;
}



/* 3. footer */
.site-footer a,
.site-footer a:hover {
  color: var(--white);
}
.site-footer {
  background-color: var(--primary);
  margin-top: 0px;
  padding: 3rem 0rem 5rem;
  position: relative;
  z-index: 100;
}
.site-footer .footer-left h3 {
  padding: 3rem 0rem 2.4rem 10px;
  font-size: 1.4em;
}
.site-footer .footer-right h3 {
  margin: 1.5rem 0rem 1.4rem;
  padding: 0rem 0rem 0rem;
}
.site-footer h3,
.site-footer h4 {
  color: var(--white);
  font-size: 1.3em;
  font-weight: bold;
}
.site-footer h4 {
  margin-top: 5px;
}

.socials-footer h4 {
  margin-top: 45px;
}

.site-footer::after,
.site-footer::before {
  content: " ";
  border-top: 1px solid var(--white);
  background-color: var(--white);
  /*margin-top:-205px;*/
  position: absolute;
  /*top:35%;*/
  top: 154px;
  width: 50%;
  z-index: 110;
}
.site-footer::before {
  /*margin-top: 105px;*/
  right: 0px;
  width: 28%;
}
.site-footer-menu-list,
.site-footer-menu-list ul,
.site-footer-menu-list li,
.footer-menu-list,
.footer-menu-list li {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}
.site-footer .navbar {
  padding: 0.5rem 0rem !important;
}
.site-footer .nav-link {
  padding: 0.1rem 1rem;
}
.site-footer .socials-footer a {
  display: inline-block;
  font-size: 2em;
  margin-right: 1rem;
}
.footer-logo {
  /* border-bottom: 1px solid var(--white); */
  margin-bottom: 33px;
}
.site-footer .footer-right h4 {
  font-size: 1.2em !important;
}

/* 4. news */

/* 5. animation fadein */
.logos-business,
.fade-show,
.fadein {
  opacity: 0;
  transition: all 1s;
  transform: translate(0, 100px);
}
.fadein-show,
.fadein.visible,
.fadein0.visible,
.fadein1.visible,
.fadein2.visible,
.fadein3.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.fadein0 {
  transition: all 0.5s;
  transform: translate(0, 120px);
}
.fadein1 {
  transition: all 1s;
  transform: translate(0, 160px);
}
.fadein2 {
  transition: all 1.5s;
  transform: translate(0, 190px);
}
.fadein3 {
  transition: all 2s;
  transform: translate(0, 220px);
}

/* zoom */
.efecto-zoom {
  -webkit-transition: 0.4s ease !important;
  transition: 0.4s ease !important;
}
.efecto-zoom:hover {
  -webkit-transform: scale(1.08) !important;
  transform: scale(1.08) !important;
}

/* 6. fonts */
/* light */
@font-face {
  font-display: swap;
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 200;
  src: url("../fonts/Gilroy-Light.woff2") format("woff2"),
    url("../fonts/Gilroy-Light.woff") format("woff"),
    url("../fonts/Gilroy-Light.otf") format("opentype");
}
/* regular */
@font-face {
  font-display: swap;
  font-family: "Gilroy";
  font-style: normal;
  font-weight: bold;
  src: url("../fonts/Gilroy-ExtraBold.woff2") format("woff2"),
    url("../fonts/Gilroy-ExtraBold.woff") format("woff"),
    url("../fonts/Gilroy-ExtraBold.otf") format("opentype");
}

/* 10. responsive */
@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 85%;
  }
  .navbar-nav > .menu-item {
    margin-left: 0.6rem;
  }
  #site-footer .navbar-nav .menu-item {
    margin-left: 0;
  }
}

/* Tablet */
@media (min-width: 601px) and (max-width: 1024px) {
  .site-footer .offset-md-3 {
    margin-left: 12% !important;
    flex: 0 0 35%;
  }
  .site-footer::before {
    width: 37%;
  }
  .navbar-expand-lg > .container,
  .navbar-expand-lg > .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  .navbar-expand-lg .navbar-toggler {
    display: block;
  }
  .navbar-expand-lg .navbar-collapse {
    display: none !important;
  }
  .navbar-expand-lg .navbar-collapse.collapse.show {
    display: block !important;
    position: absolute;
    top: 14px;
    background-color: var(--primary);
    /* background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0)); */
    right: 64px;
  }
  .navbar-expand-lg .navbar-collapse.collapse.show ul {
    margin-top: 0px !important;
  }
  .navbar-expand-lg .navbar-nav {
    flex-direction: column;
  }
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: inherit !important;
  }
  .footer-logo h3 a img {
    width: 260px !important;
  }
  .site-footer .offset-md-3.col-md-3 {
    max-width: 36% !important;
  }
}

@media (max-width: 600px) {
  /* general */
  body {
    font-size: 14px;
  }
  h2 {
    font-size: 30px;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 20px;
  }

  /* header */
  .page-header {
    position: absolute;
  }
  .page-header .logo img {
    display: block;
    width: 200px;
  }
  .page-header .navbar {
    width: 100%;
  }
  .page-header .navbar-collapse {
    background-color: var(--primary);
  }
  .page-header .nav-link {
    padding: 0.5rem 1.5rem !important;
  }
  .page-header .site-title-heading {
    position: absolute;
    z-index: 2;
  }

  /* footer */
  .site-footer {
    text-align: center;
  }
  .site-footer .footer-left h3 {
    padding: 1rem 0rem 1rem;
  }
  .site-footer .navbar {
    display: block;
  }
  .site-footer::after,
  .site-footer::before {
    display: none;
  }
  .site-footer h4 {
    margin-top: 1.5rem;
  }
  .site-footer .footer-left h3 {
    border-bottom: 1px solid var(--white);
    margin: auto;
    margin-bottom: 1rem;
    padding-bottom: 2rem;
    width: 80%;
  }
  .site-footer .footer-right {
    margin-top: 2rem;
    text-align: center;
  }
  .site-footer .footer-right h3 {
    padding: 2.5rem 0rem 0.2rem;
    text-align: center;
  }
  .site-footer .logo img {
    display: block;
    margin: auto;
    width: 65%;
  }
  .site-footer .footer-right h4 {
    border-top: 1px solid var(--white);
    margin: auto;
    padding-top: 1rem;
    width: 80%;
  }
  .footer-logo {
    border-bottom: none;
  }
  .site-content {
    position: relative;
    z-index: 10;
  }
  /* .tabs-main .nav-tabs::before  {
        border-bottom: 1px solid #000;
        content: '';
        left: 5%;
        position: absolute;
        top: 90px;
        width: 90%;
        z-index: 900;
    }*/
  .site-footer .socials-footer > a:first-of-type {
    margin-left: 1rem;
  }
  .page-header .menu-intranet a {
    background-size: 17px;
    background-position-x: 85px;
  }	
}
