:root {
  --navbar-font-size: 0.6rem;
  --azul-lex: #001f2f;
  --gris-lex: #dfdfdf;
  --letter-spacing: 1px;
  --line-height: 1.8rem;
}

html {
  background-color: var(--azul-lex);
}

img {
  width: 100%;
}

.btn:hover {
  color: #b9b9b9;
}

.btn:focus,.e
.btn.focus {
  box-shadow: none;
}

.header {
  display: flex;
}

.logo > img {
  width: 300px;
}

.logo img.white-logo {
  display: none;
}

#mainNav {
  border-color: rgba(34, 34, 34, 0.05);
  background-color: #fff;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  font-family: 'Roboto', sans-serif;
  font-weight: 200;
  letter-spacing: 0.1rem;
}

.btn-twitter {
  display: none;
  color: #fff;
  font-size: var(--navbar-font-size);
  white-space: nowrap;
  align-items: center;
}

.btn-twitter > i {
  font-size: 1.6rem;
}

#mainNav .navbar-nav .nav-item .nav-link.active,
#mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #0098c1;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    flex-wrap: nowrap;
  }

  .navbar-expand-lg .navbar-nav {
    flex-wrap: wrap;
  }

  #mainNav {
    border-color: transparent;
    background-color: transparent;
  }

  #mainNav .navbar-brand {
    color: fade(white, 70%);
  }

  #mainNav.navbar-shrink .navbar-brand img.white-logo {
    display: none;
  }

  #mainNav.navbar-shrink .navbar-brand img.dark-logo {
    display: block;
  }

  #mainNav .navbar-brand:hover,
  #mainNav .navbar-brand:focus {
    color: white;
  }

  #mainNav .navbar-nav > li > a,
  #mainNav .navbar-nav > li > a:focus,
  #mainNav a.btn-twitter {
    color: rgba(255, 255, 255, 0.7);
  }

  #mainNav .navbar-nav > li > a:hover,
  #mainNav .navbar-nav > li > a:focus:hover,
  #mainNav a.btn-twitter {
    color: white;
  }

  #mainNav.navbar-shrink {
    border-color: rgba(34, 34, 34, 0.1);
    background-color: white;
  }

  #mainNav.navbar-shrink .navbar-brand {
    color: #222222;
  }

  #mainNav.navbar-shrink .navbar-brand:hover,
  #mainNav.navbar-shrink .navbar-brand:focus {
    color: #001f2f;
  }

  #mainNav.navbar-shrink .navbar-nav > li > a,
  #mainNav.navbar-shrink .navbar-nav > li > a:focus,
  #mainNav.navbar-shrink a.btn-twitter {
    color: #222222;
  }

  #mainNav.navbar-shrink .navbar-nav > li > a:hover,
  #mainNav.navbar-shrink .navbar-nav > li > a:focus:hover,
  #mainNav.navbar-shrink a.btn-twitter:hover {
    color: #001f2f;
  }

  #mainNav .navbar-brand img.white-logo {
    display: block;
  }

  #mainNav .navbar-brand img.dark-logo {
    display: none;
  }

  .nav-link i {
    display: none;
  }

  .btn-twitter {
    display: flex;
  }
}

.navbar .nav-link {
  font-size: var(--navbar-font-size);
  white-space: nowrap;
  color: var(--azul-lex);
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.navbar-collapse {
  width: 100%;
  overflow-x: scroll;
}

.carousel-item {
  height: 100vh;
  min-height: 300px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.carousel-item.active,
.carousel-item-right,
.carousel-item-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /* background: rgba(0, 0, 0, 0.6); */
}

.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 32rem;
}

.carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.carousel-caption {
  max-width: 70%;
  position: relative;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.carousel-caption a {
  color: #fff;
}

.carousel-caption p {
  letter-spacing: 2px;
  font-size: 10px;
}

.carousel-caption > img.logo {
  max-width: 600px;
}

.twitter-feed {
  /* visibility: hidden; */
  display: none;
  position: absolute;
  background-color: white;
  border-radius: 5px;
  top: 84px;
  right: 10px;
  opacity: 0;
  height: 300px;
  overflow: scroll;
  /* -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out; */
}

/* .twitter-feed>iframe .timeline-Body {
    border-top: 1px solid #fff !important;
} */

.arrow-up {
  visibility: hidden;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #f9f9f9;
  position: absolute;
  right: 62px;
  top: 74px;
}

/* .twitter-feed>iframe {
    visibility: hidden !important;
    display: none;
} */

.arrow-up.fadeInRight {
  visibility: visible;
}

.twitter-feed.fadeInRight {
  /* visibility: visible; */
  display: block;
  opacity: 1;
  right: 10px;
}

/* .twitter-feed.fadeInRight>iframe {
    visibility: visible !important;
} */

/* SECTIONS */

section p {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

section .section-heading h2 {
  font-size: 2.8rem;
}

section#empresa {
  background-color: #f7fafc;
}

section#empresa .quienes-somos-text > p {
  font-size: 1rem;
  letter-spacing: var(--letter-spacing);
  line-height: 1.8rem;
}

section#valores {
  background-color: var(--azul-lex);
  padding: 30px;
  color: #fff;
}

section#valores .valor-box > img {
  width: 170px;
}

section#valores .valor-box {
  cursor: pointer;
}

section#alianzas a img {
  border: 1px solid white;
  display: block;
  max-height: 95px;
  width: auto;
  height: auto;
}

section#alianzas .alianza {
  padding: 0 15px;
  max-height: 140px;
}

section#alianzas .container > div {
  padding: 100px 0;
}

section#alianzas .alianza p {
  color: white;
}

.valores-arrow-down {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 30px solid;
  border-top-color: #001f30;
}

div.valores-arrow-down:nth-child(1) {
  left: 20%;
}

div.valores-arrow-down:nth-child(2) {
  left: 40%;
}

div.valores-arrow-down:nth-child(3) {
  left: 60%;
}

section#definiciones {
  padding: 40px 0;
  background-color: var(--gris-lex);
}

section#definiciones .row p {
  font-size: 1rem;
  text-align: justify;
  letter-spacing: var(--letter-spacing);
  line-height: 1.8rem;
}

section#servicios .row {
  text-align: center;
}

section#servicios .row img {
  width: 130px;
  margin: 15px;
}

section#servicios .row p {
  color: #fff;
  letter-spacing: var(--letter-spacing);
}

section#servicios a.servicio > img {
  transition: transform 0.2s;
}

section#servicios a.servicio > img:hover {
  -ms-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

section#equipo .container img {
  max-width: 230px;
  max-height: 230px;
  border-radius: 50%;
  margin-bottom: 20px;
  -webkit-filter: grayscale(100%);
  transition: transform 0.2s;
  filter: grayscale(100%);
}

section#equipo .container img:hover {
  filter: none;
}

section#equipo .container p {
  font-family: 'Roboto', sans-serif;
  color: white;
  text-transform: capitalize;
  margin-bottom: 0;
}

section#equipo .container .gerencia {
  padding-top: 40px;
  padding-bottom: 40px;
}

section#equipo .container .equipo {
  padding-top: 40px;
  padding-bottom: 40px;
}

section#equipo .equipo .email {
  color: #0098c1;
}

section#clientes .container img {
  /* -webkit-filter: grayscale(100%);
    transition: transform .2s;
    filter: grayscale(100%); */
  max-width: 200px;
}

section#clientes .container img:hover {
  filter: none;
}

section#clientes .galapagos .title {
  display: table;
  white-space: nowrap;
  text-transform: uppercase;
  text-align: center;
  background: transparent;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
  font-size: 16px;
  font-weight: bold !important;
  letter-spacing: 5px;
  margin: 5px auto;
  width: 80%;
}

section#clientes .galapagos .title::before,
section#clientes .galapagos .title::after {
  content: '';
  display: table-cell;
  position: relative;
  top: 50%;
  width: 50%;
  border-top: 1px solid #001f30;
  -webkit-transform: translateY(50%);
  transform: translateY(50%);
}

section#contacto .formulario {
  border-right: 1px solid #0098c1;
  padding: 10px 80px;
}

section#contacto form {
  background-color: white;
  padding: 15px 30px;
  margin: 50px 0;
}

section#contacto form input,
section#contacto form textarea {
  border: none;
  border-bottom-color: currentcolor;
  border-bottom-style: none;
  border-bottom-width: medium;
  border-bottom: 1px solid #0098c1;
  border-radius: unset;
  font-family: 'Roboto', sans-serif;
}

section#contacto form input::placeholder,
section#contacto form textarea::placeholder {
  color: #c6c6c6;
}

section#contacto form button {
  width: 170px;
  display: block;
  margin: 0 auto;
  background-color: #001f2f;
  border-radius: unset;
  border-color: unset;
  letter-spacing: 4px;
  font-family: 'Roboto', sans-serif;
}

section#contacto form p {
  flex-grow: 2;
  color: #c6c6c6;
  font-size: 30px;
  max-width: 80%;
  letter-spacing: 3px;
  line-height: 30px;
  font-weight: bold;
}

section#contacto form img.icono-lapiz {
  max-width: 20%;
  flex-grow: 1;
}

section#contacto .ubicaciones {
  font-family: 'Roboto', sans-serif;
}

section#contacto .ubicaciones h5 {
  color: white;
  border-bottom: 1px solid #0098c1;
  padding-bottom: 12px;
  letter-spacing: 5px;
}

section#contacto .ubicaciones p {
  color: white;
  border-bottom: 1px solid #0098c1;
  padding-bottom: 12px;
  font-size: 12px;
}

section#contacto .ubicaciones .datos {
  width: 300px;
  padding: 0 10px;
}

section#contacto .ubicaciones .mapa {
  max-width: 200px;
  margin-left: 25px;
}

section#contacto .ubicaciones .mapa iframe {
  border: 0;
  height: 180px;
  width: 100%;
  border-radius: 10px;
}

/* .modal-body p:not(:first-child) {
    text-indent: 15px;
} */

#modal-servicios .modal-header > div {
  text-align: center;
  width: 100%;
}

#modal-equipo .modal-header .photo,
#modal-alianzas .modal-header .photo {
  text-align: center;
  width: 100%;
  background-color: var(--azul-lex);
  height: 155px;
}

#modal-servicios .modal-header .modal-title {
  max-width: 80%;
  margin: 0 auto;
  border-top: solid 1px;
  padding-top: 10px;
}

#modal-equipo .modal-header .modal-title,
#modal-alianzas .modal-header .modal-title {
  max-width: 90%;
  margin: 0 auto;
  margin-top: 58px;
  padding-top: 10px;
}

#modal-equipo .modal-header button[class='close'],
#modal-alianzas .modal-header button[class='close'] {
  position: absolute;
  right: 12px;
  top: 10px;
  color: #fff;
}

#modal-alianzas .modal-header .modal-title {
  margin-top: 0px;
}

#modal-servicios .modal-header > div img {
  width: 160px;
  margin: 15px;
}

#modal-equipo .modal-header .img-wrapper {
  display: table;
  width: fit-content;
  border: 1px solid #0098c1;
  margin: 15px auto 15px;
  border-radius: 50%;
  left: 0;
  right: 0;
}

#modal-alianzas .modal-header .img-wrapper {
  display: table;
  width: fit-content;
  border: 2px solid #0098c1;
  margin: 75px auto 15px;
  left: 0;
  right: 0;
}

#modal-equipo .modal-header img {
  width: 180px;
  height: 180px;
  position: relative;
  border: 2px solid #fff;
  border-radius: 50%;
  margin: 5px;
}

#modal-alianzas .modal-header img.logo {
  width: 200px;
  position: relative;
  border: 1px solid #fff;
  margin: 5px;
}

#modal-servicios .modal-header {
  background-color: var(--azul-lex);
  color: white;
}

#modal-equipo .modal-footer {
  flex-direction: column;
  align-items: baseline;
}

#modal-equipo .modal-footer a {
  color: var(--azul-lex);
  font-family: 'Roboto', sans-serif;
  text-align: left;
  margin-top: 10px;
  margin-left: 10px;
  font-weight: bold;
}

#modal-servicios .modal-body > p,
#modal-equipo .modal-body > p,
#modal-equipo .modal-footer > ul,
#modal-alianzas .modal-body > p,
#modal-equipo .modal-footer > p {
  margin: 0 10px;
}

#modal-equipo .modal-footer > ul {
  padding-inline-start: 15px;
  margin-bottom: 10px;
}

#modal-servicios p,
#modal-equipo p,
#modal-alianzas p {
  margin-bottom: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  text-align: justify;
}

#modal-alianzas .card-representante p {
  font-family: 'PT Serif', serif;
}

#modal-alianzas img.representante {
  max-width: 60px;
  border-radius: 50%;
  margin-right: 10px;
}

#modal-alianzas .card-representante {
  display: flex;
  align-items: center;
  margin: 20px 0 10px 0px;
}

#modal-alianzas .card-representante .nombre-representante {
  font-size: 16px;
}

#modal-clientes p {
  text-indent: 30px;
}

#modal-equipo .modal-body,
#modal-equipo .modal-footer {
  padding: 0 2rem 0;
}

#modal-equipo .modal-footer {
  border-top: none;
  margin-bottom: 25px;
}

#modal-equipo .modal-body p,
#modal-equipo .modal-footer ul {
  margin-bottom: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  text-align: justify;
}

.modal .divider {
  display: table;
  white-space: nowrap;
  text-align: center;
  background: transparent;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
  font-size: 16px;
  margin: 15px auto;
  width: 80%;
}

.modal .divider::before,
.modal .divider::after {
  content: '';
  display: table-cell;
  position: relative;
  top: 50%;
  width: 50%;
  border-top: 1px solid #001f30;
  -webkit-transform: translateY(50%);
  transform: translateY(50%);
}

.modal .divider > span {
  display: inline-block;
  padding: 0 10px;
}

.modal .divider > span img {
  width: 40px;
}

.publicaciones .sidebar {
  background-color: var(--azul-lex);
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 105px);
  padding-top: 0.5rem;
  overflow-x: hidden;
  overflow-y: auto;
}

.sidebar-sticky {
  position: -webkit-sticky;
  position: sticky;
}

[role='main'] {
  padding-top: 133px;
  /* Space for fixed navbar */
}

.sidebar .nav-item {
  padding: 5px 0;
}

.sidebar .nav-link.active {
  color: #d4f9ff;
}

.sidebar .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
  border-bottom: 1px solid #d4f9ff;
}

@media (min-width: 768px) {
  [role='main'] {
    padding-top: 105px;
    /* Space for fixed navbar */
  }
}

.tab-content > .tab-pane {
  display: none;
}

.tab-content > .active {
  display: block;
}

#listado-publicaciones {
  font-family: 'Roboto', sans-serif;
}

#listado-publicaciones ul {
  list-style-type: none;
  padding-left: 0;
}

#listado-publicaciones ul > li {
  padding: 15px;
}

#listado-publicaciones ul > li i {
  margin-right: 10px;
}

#listado-publicaciones ul > li a {
  margin-left: 5px;
}

#listado-publicaciones ul > li:nth-child(odd) {
  background-color: #d4f9ff;
}

#listado-publicaciones ul > li:nth-child(even) {
  background-color: #f4f4f4;
}

footer {
  display: flex;
  font-family: 'Roboto', sans-serif;
}

footer > div {
  height: 380px;
  width: 50%;
  background-color: #e1e1df;
}

footer > div:first-child {
  position: relative;
}

footer > div .links {
  list-style: none;
  width: auto;
  position: absolute;
  color: white;
  right: 40px;
  bottom: 50px;
  letter-spacing: 3px;
  font-size: 12px;
  line-height: 28px;
}

footer .redes-sociales {
  position: relative;
  height: 380px;
  background-color: #d5dce4;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

footer .footer-links svg {
  position: absolute;
  top: 0px;
  width: 40px;
  height: 282.5pt;
  /* background-color: #e2e2e0; */
  right: 0px;
}

footer .redes-sociales > a {
  width: 60px;
}

footer .redes-sociales > a:first-child {
  margin-left: 40px;
}

footer .redes-sociales > a:last-child {
  margin-right: 40px;
}

div.ubicaciones > div {
  margin: 50px 0;
  justify-content: center;
  align-items: center;
}

/* footer .redes-sociales {
    position: relative;
    float: left;
} */

/* footer .redes-sociales::after {
    content: '';
    position: absolute;
    top: 0px;
    left: -40px;
    border-top: 318px solid #e1e1df;
    border-left: 40px solid #001f2f;
    bottom: 34px;
    z-index: 10;
} */

footer ul.links a {
  padding: 0;
  color: #fff;
}

#sidebar {
  width: 250px;
  position: fixed;
  top: 105px;
  left: 0;
  height: 100vh;
  z-index: 999;
  background-color: var(--azul-lex);
  color: #fff;
  transition: all 0.3s;
  height: calc(100vh - 105px);
}

.btn-autores {
  color: white;
  background-color: #011e2e;
  border-color: white;
}

@media screen and (max-width: 800px) {
  section#contacto {
    margin-bottom: 0px !important;
  }

  footer {
    flex-direction: column-reverse;
  }

  footer .redes-sociales {
    height: 100px;
  }

  footer > div:first-child {
    background-position: -75px 0 !important;
  }

  footer > div .links {
    right: 10px;
    top: 40px;
    width: auto;
  }

  footer > div {
    width: 100%;
  }

  footer .footer-links svg {
    display: none;
  }

  section#valores .row {
    flex-wrap: nowrap;
    justify-content: space-evenly;
  }

  section#valores .valor-box > img {
    width: 85px;
  }
}

@media screen and (max-width: 500px) {
  .logo > img {
    width: 270px;
  }

  section#alianzas a img {
    max-height: 100%;
    max-width: 300px;
  }

  section#contacto .formulario {
    padding: 10px 5px;
  }

  section#contacto form p {
    font-size: 22px;
    letter-spacing: 3px;
    margin-left: 10px;
  }

  section#alianzas .alianza {
    max-height: 210px;
    margin: 10px 0;
  }

  .carousel-caption.d-md-block h1 {
    font-size: 24px;
  }

  div.ubicaciones > div {
    flex-direction: column;
    margin: 0;
  }

  section#contacto .ubicaciones .mapa {
    margin: 20px 0;
  }

  .carousel-item.active,
  .carousel-item-right,
  .carousel-item-left {
    background-position: center !important;
  }

  .carousel-item.equipo {
    background-size: 141% 60% !important;
    background-position: center 98px !important;
  }

  .carousel-item.equipo .carousel-caption {
    top: 38% !important;
    color: #000;
  }

  .carousel-item.equipo .carousel-caption h1 {
    font-size: 19px;
  }
}

@media screen and (max-width: 1024px) and (min-width: 992px) {
  section#contacto .formulario {
    padding: 10px 40px;
  }

  section#contacto form p {
    font-size: 22px;
    letter-spacing: 3px;
    margin-left: 10px;
  }
}

@media screen and (max-width: 992px) and (min-width: 500px) {
  section#alianzas a img {
    max-height: 100%;
    max-width: 340px;
  }

  section#alianzas .alianza {
    padding: 0 15px;
    max-height: 230px;
  }

  .carousel-item.active,
  .carousel-item-right,
  .carousel-item-left {
    background-position: center !important;
  }

  footer > div:first-child {
    background-position: 0 0 !important;
  }

  section#contacto .formulario {
    padding: 10px 40px;
  }

  section#contacto form p {
    font-size: 22px;
    letter-spacing: 3px;
    margin-left: 10px;
  }
}

.estudio-pacto-ambiental {
  font-family: 'Roboto', sans-serif;
}

.video {
  width: 100%;
  text-align: center;
  background-color: white;
  height: 70%;

  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

.video .title {
  color: #001f2f;
  margin: 40px;
  text-transform: uppercase;
}

.video iframe {
    width: calc(100% - 100px);
    height: 75%;
}
