/*
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: 1.0
*/

:root {
  --blanco: #FFFFFF;
  --negro: #000000;
  --principal: #34EF5A;
  --secundario: #0A3111;
}

.blanco {
  color: #ffffff !important;
}

.negro {
  color: #000000 !important;
}

.principal {
  color: #34EF5A !important;
}

.secundario {
  color: #0A3111 !important;
}

/* Util para centrar en vertical elementos que se muestran en columnas */
.flex-center .vc_column-inner {
  display: flex;
  justify-content: center;
}

/*Imagenes en full width container se adapten en altas resoluciones*/
.img-with-animation {
  width: 100%;
}

.current-menu-item a,
.current_page_item a {
  font-weight: 700 !important;
}

.small-nav #top .container .row .col_last nav {
  margin-bottom: 11px;
}

#top .container .row .col_last nav {
  align-items: flex-end;
  margin-bottom: 20px;
}

#top .container .row .col_last nav .buttons,
.small-nav #top .container .row .col_last nav .buttons {
  height: auto !important;
}

.nectar-global-section {
  z-index: 0 !important;
}

@media only screen and (min-width: 1000px) {
  .single-post .container-wrap {
    /* margin-bottom: 380px; */
    z-index: 0;
  }
}

body {
  &::-webkit-scrollbar {
      width: 10px;
  }

  &::-webkit-scrollbar-track {
      box-shadow: transparent;
      background-color: #eee;
  }

  &::-webkit-scrollbar-thumb {
      background: var(--secundario);
      border-radius: 10px;
  }
}

/*FORMULARIOS*/
.wpcf7-form-control-wrap textarea {
  resize: none !important;
}

.wpcf7-quiz-label {
    position: absolute;
    left: 1%;
    top: 20%;
    border-right: 1pt solid #000;
    padding-right: 5px;
}

.invalid .wpcf7-quiz-label {
    top: 10%;
}

.wpcf7-form-control.wpcf7-quiz {
    padding-left: 70px;
}

.grecaptcha-badge {
    visibility: hidden;
}

/* Botón flotante de Instagram, alineado junto a WhatsApp. */
.agro-floating-instagram {
  position: fixed;
  right: 92px;
  bottom: 20px;
  z-index: 99999;
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .06), 0 2px 32px rgba(0, 0, 0, .16);
  color: #fff !important;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}

.agro-floating-instagram:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, .09), 0 4px 40px rgba(0, 0, 0, .24);
  color: #fff !important;
  transform: translateY(-2px);
}

.agro-floating-instagram:focus-visible {
  outline: 3px solid rgba(52, 239, 90, .7);
  outline-offset: 3px;
}

.agro-floating-instagram svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.agro-floating-instagram__dot {
  fill: currentColor;
  stroke: none;
}

@media only screen and (max-width: 999px) {
  .agro-floating-instagram {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agro-floating-instagram {
    transition: none;
  }
}



.page-id-1803 .agro-floating-instagram {
  bottom: 100px !important;
}


.page-id-1803 .wptwa-toggle {
  bottom: 100px !important;
}

.page-id-1804 .agro-floating-instagram {
  bottom: 100px !important;
}


.page-id-1804 .wptwa-toggle {
  bottom: 100px !important;
}
