/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 17.4.2
*/
/* TIPOGRADFIES */
@font-face {
  font-family: 'GothamBook';
  src: url('/wp-content/themes/salient-child/fonts/Gotham-Book.woff2') format('woff2'),
    url('/wp-content/themes/salient-child/fonts/Gotham-Book.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GothamMedium';
  src: url('/wp-content/themes/salient-child/fonts//Gotham-Medium.woff2') format('woff2'),
    url('/wp-content/themes/salient-child/fonts//Gotham-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GothamBold';
  src: url('/wp-content/themes/salient-child/fonts//Gotham-Bold.woff2') format('woff2'),
    url('/wp-content/themes/salient-child/fonts//Gotham-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'GothamBook', Arial, sans-serif !important;
}

p {
  font-family: 'GothamBook', Arial, sans-serif !important;
  color: #000;
}

#top nav>ul>li {
  font-family: 'GothamMedium', Arial, sans-serif !important;
}

/* SLIDE HOME */
.swiper-slide .content p {
  font-size: 18px !important;
  line-height: 28px !important;
  font-weight: 400px;
  font-family: 'GothamMedium', Arial, sans-serif !important;
}

/* Botón del menú (escritorio) */
.bt-truquem>a, a.bt-truquem {
  height: 100%;
  display: flex !important;
  align-items: center;
  background: #1f2a7a !important;
  color: #fff !important;
  line-height: 1.1;
  text-align: center;
  padding: 14px 22px !important;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s;
  border-radius: 0;
}

.bt-truquem a span {
  color: #fff !important;
  text-transform: none;
}

.bt-truquem>a:hover, a.bt-truquem:hover {
  background: #161f5c !important;
  color: #fff !important;
}

/* Modal */
.modal-truquem {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.modal-truquem.is-open {
  display: block;
}

.modal-truquem__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
}

.modal-truquem__box {
  position: relative;
  background: #f7bb07;
  max-width: 480px;
  width: 90%;
  margin: 8vh auto;
  padding: 30px;
  border-radius: 20px;
  max-height: 84vh;
  overflow: auto;
  box-shadow: 0px 0px 30px 0px rgba(2, 2, 2, 1);
  border: 4px solid white !important;
}

.modal-truquem__x {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  color: #000;
}

.modal-truquem__box h3 {
  margin: 40px 0;
  color: #fff;
  text-align: center;
  font-size: 30px;
}

nav ul.sf-menu.sf-js-enabled.sf-arrows {
  text-align: right;
}

.modal-truquem input[type="submit"] {
  background-color: #2a3283 !important;
  color: white;
  width: 150px;
  padding: 10px;
  margin-top: 50px;
  transition: 0.3s ease-in-out;
  border: 0;
  transform: translateY(0px);
  background: #f8bb09;
  max-width: 200px;
  display: block;
  margin: auto;
}

.modal-truquem input[type="submit"]:hover {
  transform: translateY(-5px);
  -webkit-box-shadow: 5px 5px 13px 2px rgba(0, 0, 0, 0.17);
  box-shadow: 5px 5px 13px 2px rgba(0, 0, 0, 0.17);
  transition: 0.3s ease-in-out;
}

.modal-truquem .wpcf7-text {
  background: #fff;
  text-align: center;
  color: #000;
}

.ct-checks2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-checks2 .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  line-height: 1.3;
}

.ct-checks2 .wpcf7-list-item label a {
  text-decoration: underline;
}

.wpcf7-form .ct-checks2 p span {
  margin: 0;
}

.wpcf7-form .wpcf7-not-valid-tip {
  background: #000000;
  text-align: center;
}

body.material #header-secondary-outer nav>ul>li>a {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
}

body .full-width-section .row-bg-wrap {
  margin-left: -50vw !important;
}

#footer-outer #copyright[data-layout="centered"] .col.span_5 {
  max-width: 100%;
}

li.wpml-ls-first-item {
	border-right: 1px solid;
}

/* Móvil: ocultar botón del menú, mostrar flotante */
@media (max-width:1100px) {
  .bt-truquem, .bt-truquem>a {
    display: none !important;
  }

  .bt-float {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 99998;
    border-radius: 20px;
    background: #1f2a7a;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
    padding: 20px;
    font-family: 'Baskervville';
  }

  #header-secondary-outer[data-mobile=display_full] #social, #header-secondary-outer[data-mobile=display_full] ul {
    text-align: right;
  }

  .modal-truquem__box h3 {
    font-size: 24px !important;
  }

  body.material #header-secondary-outer nav>ul>li>a {
    font-size: 11px;
  }
}

@media (min-width:1101px) {
  .bt-float {
    display: none;
  }
}
