/*///////////////////////// GENERALES /////////////////////////*/
* {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  color: #404040;
  background-color: white;
}

img {
  width: 100%;
}

a:hover {
  text-decoration: none;
}

strong,
b {
  font-weight: 700;
}

.main-wrapper {
  overflow: hidden !important;
}

.fw-300 {
  font-weight: 300;
}

.fw-400 {
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.primary {
  color: #b9b17e;
}

.secondary {
  color: #02327c;
}

.blue {
  color: #0053cd;
}

.fs-18 {
  font-size: 18px;
}

.montserrat {
  font-family: "Montserrat", sans-serif;
}

.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.underline {
  text-decoration: underline;
}

/*///////////////////// BOTONES QUE PISAN BS //////////////////*/
.btn {
  border-radius: 35px;
  font-size: 16px;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  align-items: center;
  justify-content: center;
  padding: 10px 25px;
  text-decoration: none !important;
  width: fit-content;
  position: relative;
  transition: 0.3s !important;
}

.btn-primary {
  border: 1px solid #b9af7a;
  color: #fff;
  background-color: #b9af7a;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
  border: 1px solid #8d8664;
  color: #fff;
  background-color: #8d8664;
}

/*///////////////////////// HEADER /////////////////////////*/
header {
  position: absolute;
  z-index: 10;
  width: 100%;
}

.header-overlay {
  background: rgb(0, 0, 0);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 0) 84%
  );
  width: 100%;
  height: 300px;
  position: absolute;
  left: 0;
  opacity: 0.5;
  top: 0;
}

.navbar-toggler {
  padding: 0;
}

/* Navegador principal */
.navbar-collapse {
  justify-content: center;
  display: flex;
}

.navbar {
  padding: 2rem;
}

.custom-nav {
  justify-content: center;
  width: 100%;
}

.custom-nav-items {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 450px;
}

.navbar-brand {
  min-width: 340px;
  height: 152px;
  background-image: url(../images/logo.svg);
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

.nav-link {
  font-size: 18px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  color: #ffffff !important;
  margin-right: 1.8rem !important;
  margin-left: 1.8rem !important;
  position: relative;
  padding: 6px 0px !important;
}

.nav-link:not(.nav-link-d)::after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0rem;
  content: "";
  display: block;
  height: 2px;
  left: 0;
  right: 0;
  margin: 0 auto;
  position: absolute;
  background: #b9af7a;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}

.nav-link:hover:after,
.nav-item.active .nav-link:after {
  width: 30px;
}

/* Bs nav para el menú mobile */
.bsnav-mobile .navbar {
  left: 0 !important;
  color: #fff !important;
  transform: translate3d(-300px, 0, 0) !important;
  width: 80%;
  max-width: 300px;
}

.bsnav-mobile.in .navbar {
  transform: translate3d(0px, 0, 0) !important;
}

.bsnav-mobile .navbar.bsnav-dark {
  background: #ffffff !important;
  color: #003e51 !important;
  padding: 0px 0 15px;
  box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.65);
  -webkit-box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.65);
  -moz-box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.65);
}

.bsnav-sticky.bsnav-sticky-slide.sticked.in {
  background: #fff;
  padding: 1.4rem 3rem;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 8px 15px -5px,
    rgba(0, 0, 0, 0.25) 0px 4px 10px -8px;
}

.bsnav-sticky.bsnav-sticky-slide.sticked.in .navbar-brand {
  min-width: 84px;
  height: 77px;
  background-image: url(../images/logo-scroll.svg);
  margin: 0 2rem;
}

.bsnav-sticky.bsnav-sticky-slide.sticked.in .nav-link {
  color: #404040 !important;
}

.bsnav-sticky.bsnav-sticky-slide.sticked.in
  .navbar-toggler
  .navbar-toggler-icon,
.bsnav-sticky.bsnav-sticky-slide.sticked.in
  .navbar-toggler
  .navbar-toggler-icon::after,
.bsnav-sticky.bsnav-sticky-slide.sticked.in
  .navbar-toggler
  .navbar-toggler-icon::before {
  background-color: #02327c;
}

/*//////////////////////// MAIN-HERO ////////////////////////////*/
/* MAIN */
.main-section {
  min-height: 100vh;
  color: white;
  display: flex;
  align-items: center;
  position: relative;
}

.main-section-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  background-color: #002257;
}

.main-video {
  width: 100%;
  position: absolute;
  height: 100%;
  object-fit: cover;
  z-index: -5;
}

.main-section h1 {
  font-size: 50px;
  text-shadow: #0000002a 1px 0 6px;
}

.main-title-deco {
  position: relative;
  z-index: 1;
}

.main-title-deco::after {
  content: "";
  width: 100%;
  height: 8px;
  border-radius: 15px;
  background-color: #b9b17e;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.4rem;
  z-index: -1;
}

/*///////////////////////// animation zoom /////////////////////////*/

.animaZoom {
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100%;
}

.infinite-zoom {
  -webkit-animation: zoomSlow 35s infinite linear;
  -moz-animation: zoomSlow 35s infinite linear;
  animation: zoomSlow 35s infinite linear;
}

@-webkit-keyframes zoomSlow {
  0% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -moz-transform: scale(1.3) rotate(0.1deg);
    -webkit-transform: scale(1.3) rotate(0.1deg);
    transform: scale(1.3) rotate(0.1deg);
  }

  100% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@-moz-keyframes zoomSlow {
  0% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -moz-transform: scale(1.3) rotate(0.1deg);
    -webkit-transform: scale(1.3) rotate(0.1deg);
    transform: scale(1.3) rotate(0.1deg);
  }

  100% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes zoomSlow {
  0% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -moz-transform: scale(1.3) rotate(0.1deg);
    -webkit-transform: scale(1.3) rotate(0.1deg);
    transform: scale(1.3) rotate(0.1deg);
  }

  100% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

/*///////////////////////// NOSOTROS //////////////////////////*/
.about-us {
  padding: 5rem 0;
  scroll-margin-top: 5rem;
}

.deco-about-us {
  height: 570px;
  width: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.mision-blocks-container {
  margin-top: -4rem;
  padding: 0 2rem;
}

.mision-blocks {
  background-color: #f7fafe;
  border-radius: 10px;
  padding: 1.2rem;
  min-height: 182px;
}

.mision-blocks-title {
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
}

.mision-blocks-title img {
  height: 38px;
  width: auto;
  margin-right: 0.8rem;
}

.education-deco-container {
  position: relative;
}

.education-text {
  background: url(../images/deco-educacion-icon.svg) #02327c;
  background-size: auto;
  background-position: left center;
  background-position-x: 10%;
  background-repeat: no-repeat;
  border-radius: 8px;
  position: absolute;
  padding: 1rem;
  width: 245px;
  height: 120px;
  top: 3rem;
  right: -4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Formación */
.training {
  padding: 6rem 0;
  background: #0053cd;
  background: linear-gradient(
    224deg,
    rgba(0, 83, 205, 1) 0%,
    rgba(2, 50, 124, 1) 45%
  );
  scroll-margin-top: 4rem;
}

.training-container {
  position: relative;
  height: 580px;
  width: 100%;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.training-container-content {
  text-align: center;
  color: white;
  padding: 1rem 1rem 1.6rem 1rem;
  position: relative;
  z-index: 5;
  transition: 0.4s;
  width: 100%;
}

.training-container-hide {
  overflow: hidden;
  transition: opacity 0.4s ease-in-out, height 0.4s ease-in-out;
  height: 0px;
  opacity: 0;
}

.training-container-hide a {
  position: absolute;
  bottom: 1.4rem;
  left: 0;
  right: 0;
}

.training-card-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all 0.4s ease-in-out;
}

.training-container-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  opacity: 0.2;
  transition: all 0.4s ease-in-out;
  z-index: 1;
}

.training-container-bottom-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: #000000;
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 94%);
  z-index: 2;
}

.training-container:hover .training-container-hide {
  opacity: 1;
  height: 30px;
}

.training-container:hover .training-card-bg {
  transform: scale(1.1);
}

.training-container:hover .training-container-overlay {
  opacity: 0;
}

.button-link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #b9b17e;
  font-weight: 600;
  cursor: pointer;
}

.button-link span {
  margin-left: 0.4rem;
  transition: 0.3s;
}

.button-link:hover {
  color: #b9b17e;
}

.button-link:hover span {
  margin-left: 0.8rem;
}

/* Modal */
.close {
  position: absolute;
  right: 1rem;
  top: 0.6rem;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  color: #02327c;
  opacity: 0.8;
  z-index: 5;
  transition: 0.3s;
}

.modal-content {
  border-radius: 15px;
}
.modal-body {
  padding: 1.4rem;
}
/*///////////////////// Red laboral //////////////////*/
.work-network {
  background-color: #f7fafe;
  scroll-margin-top: 3rem;
}

.work-network-deco-container {
  min-height: 750px;
  position: relative;
}

.work-network-deco-container img {
  position: absolute;
  width: auto;
  height: 100%;
  right: 0;
  border-radius: 0 200px 0 0;
  object-fit: cover;
}

.work-network-block {
  background-color: #dce8f9;
  padding: 1.6rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  line-height: 1;
}

.work-network-block img {
  width: 54px;
  height: 54px;
  margin-right: 0.6rem;
}

/*///////////////////// Contacto //////////////////*/
.contact {
  background: url(../images/bg-contact.png) #fcf8ef;
  background-position: right center;
  background-size: auto;
  background-repeat: no-repeat;

  padding-top: 8rem;
  padding-bottom: 6rem;
}

.contact iframe {
  height: 450px;
}

/*///////////////////////// FOOTER //////////////////////////*/
footer {
  background: #02327c;
  padding-top: 4rem;
  color: white;
}

.footer-logo {
  width: 100%;
  max-width: 300px;
}

footer h6 {
  font-size: 18px;
  font-weight: 700;
  position: relative;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
}

footer h6::after {
  content: "";
  width: 25px;
  height: 3px;
  background-color: #b9b17e;
  position: absolute;
  left: 0;
  bottom: 0;
}

footer h6.h6-center::after {
  content: "";
  width: 25px;
  height: 3px;
  background-color: #b9b17e;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: 0;
}

.footer-contact {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.8rem;
}

.footer-contact li:not(:last-child) {
  margin-bottom: 0.8rem;
}

.footer-contact li,
.footer-contact li a {
  transition: 0.3s;
  color: #fff;
}

.footer-contact li a:hover {
  color: #b9b17e !important;
  margin-left: 4px;
}

.footer-contact li img {
  width: 18px;
  margin-right: 0.6rem;
}

.footer-border-top {
  border-top: 1px solid #ffffff18;
}

.footer-partners {
  width: 100%;
  max-width: 150px;
  display: block;
  margin: auto;
}

.copy-end {
  border-top: 1px solid #ffffff18;
}

.copy-end p {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.464);
}

.copy-end img {
  width: 24px;
  height: 24px;
}

/*////////////////// FORMULARIO ///////////////*/
.form-control {
  border: 1px solid #3a5f99;
  background-color: rgba(255, 255, 255, 0.158);
  border-radius: 5px;
  transition: 0.3s;
  color: white;
  padding: 0.4rem 0.6rem;
  font-weight: 300;
}

.form-control:hover,
.form-control:focus {
  box-shadow: none;
  border: 1px solid #3a5f99;
  background-color: rgba(255, 255, 255, 0.158);
  font-weight: 600;
  color: white;
}

.form-control::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: white;
  font-weight: 300;
  transition: 0.3s;
}

.form-control:focus::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: white;
  font-weight: 600;
}

.form-control::-moz-placeholder {
  /* Firefox 19+ */
  color: white;
  font-weight: 300;
}

.form-control:-ms-input-placeholder {
  /* IE 10+ */
  color: white;
  font-weight: 300;
}

.form-control:-moz-placeholder {
  /* Firefox 18- */
  color: white;
  font-weight: 300;
}

form label {
  display: none;
}

.relative {
  position: relative;
}

#response {
  background: #2ec770;
  color: #fff;
  text-align: center;
  width: 100%;
  padding: 25px 10px;
  position: absolute;
  top: 0px;
}

.fx-fading-circle {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  background: #02327c99 url(../images/loading.gif) center no-repeat;
}

.loading {
  display: none;
}

/*////////////////////// RESPONSIVE //////////////////*/

@media (max-width: 1360px) {
  .navbar,
  .bsnav-sticky.bsnav-sticky-slide.sticked.in,
  .internal-header .bsnav-sticky.bsnav-sticky-slide.sticked.in {
    padding: 1.4rem 1rem;
  }

  .nav-link {
    margin-right: 1.2rem !important;
    margin-left: 1.2rem !important;
  }
}

@media (max-width: 1200px) {
  .navbar-brand {
    min-width: 300px;
  }

  .bsnav-sticky.bsnav-sticky-slide.sticked.in .navbar-brand {
    min-width: 84px;
  }
}

@media (max-width: 1024px) {
  .navbar-brand {
    min-width: 240px;
  }

  .nav-link {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .navbar,
  .bsnav-sticky.bsnav-sticky-slide.sticked.in,
  .internal-header .bsnav-sticky.bsnav-sticky-slide.sticked.in {
    padding: 1.2rem;
  }
  .bsnav-sticky.bsnav-sticky-slide.sticked.in .navbar-brand {
    margin: 0;
  }

  .navbar-brand {
    min-width: 380px;
    height: 90px;
    background-image: url(../images/logo-wide-negativo.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
  }

  .bsnav-sticky.bsnav-sticky-slide.sticked.in .navbar-brand {
    min-width: 380px;
    height: 90px;
    background-image: url(../images/logo-wide-positivo.svg);
  }

  .custom-nav {
    padding: 60px 30px !important;
  }

  .custom-nav-items {
    display: flex;
    flex-direction: column;
  }

  .nav-link {
    color: #404040 !important;
    margin-bottom: 0.6rem;
  }

  .nav-link::after {
    content: "";
    left: 0;
    right: auto;
  }

  .custom-nav .navbar-nav {
    padding: 10px 20px;
  }

  .bsnav-mobile .navbar-nav .nav-item .nav-link {
    margin-left: 0 !important;
  }

  .mision-blocks {
    min-height: 300px;
  }

  .education-text {
    right: -0.5rem;
  }

  .training-container {
    height: 420px;
  }

  .work-network {
    padding: 5rem 0;
    scroll-margin-top: 5rem;
  }
}

@media (max-width: 525px) {
  .mobile-alignment {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

    .navbar,
  .bsnav-sticky.bsnav-sticky-slide.sticked.in,
  .internal-header .bsnav-sticky.bsnav-sticky-slide.sticked.in {
    padding: 1rem;
  }

 .navbar-brand,
  .bsnav-sticky.bsnav-sticky-slide.sticked.in .navbar-brand {
    min-width: 285px;
    height: 55px;
  }

  .main-section h1 {
    font-size: 40px;
  }

  .mision-blocks-container {
    padding: 0;
  }

  .mision-blocks {
    min-height: auto;
  }
  .education-text {
    bottom: 1rem;
    top: auto;
  }
}

@media (max-width: 376px) {
}
