/*!
Theme Name: Esgalla new
Theme URI: http://www.campustraining.es/
Author: Esgalla 
Author URI: http://www.esgalla.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: esgalla
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Campus Training is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Elements
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}
.widget-title {
  font-size: 1.5rem;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.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;
}

.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: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

.gfield_error.gf-check .gfield_checkbox li label:before {
  background: #f8d7da;
}

.validation_message {
  display: block !important;
  color: red;
  font-size: 11px;
}

.ficha a:focus {
  outline: none;
}

.ficha a:hover {
  text-decoration: none;
}

#openEbookPopupMobile {
  z-index: 10 !important;
}

html.mobile body:not(.page-id-167) #openEbookPopupMobile,
html.mobile body:not(.page-id-167) > jdiv > jdiv > jdiv {
  transition: all 0.5s !important;
  transform: translateY(-50px);
}
html.mobile body > jdiv > jdiv > jdiv {
  z-index: 1049 !important;
  /* display:inline!important;
	position:relative!important; */
}

/* body.scrolled.scroll-down:not(.page-id-167) #openEbookPopupMobile,
body.scrolled.scroll-down:not(.page-id-167) > jdiv > jdiv > jdiv {
	transform: translateY(0px);
	transition: all 0.5s;
} */

#gform_fields_13 .ginput_container_checkbox label.form-check-label {
  display: inline;
  font-size: 14px;
}
#gform_fields_13 .ginput_container_checkbox label.form-check-label a {
  color: white;
}

/* Bolsa de empleo css */
.yiiPager {
  display: flex;
  justify-content: center;
}
.yiiPager li {
  list-style: none;
}

html.modal-open {
  /* overflow-y: hidden!important; */
}

.gform_body li {
  opacity: 1 !important;
}

.contenido-post.wysiwyg table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: scroll;
  height: fit-content !important;
}

/* Banner guia noticias */
.banner-guia-sueldo {
  background: url(/wp-content/themes/esgalla_new/img/forma_verde_izq.svg),
    url(/wp-content/themes/esgalla_new/img/forma_verde_dcha.svg);
  background-repeat: no-repeat, no-repeat;
  background-size: auto, auto;
  background-position-x: left, right;
  background-position-y: 50px, 50px;
}

.banner-guia-sueldo .bgs-titulo-1 {
  font-family: Roboto;
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
  line-height: 21px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #009539;
  padding-bottom: 3px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.banner-guia-sueldo .bgs-titulo-2 {
  font-family: Roboto;
  font-style: normal;
  font-weight: 900;
  font-size: 50px;
  line-height: 64px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .banner-guia-sueldo {
    background: url(/wp-content/themes/esgalla_new/img/forma_verde_top.svg);
    background-repeat: no-repeat;
    background-size: auto;
    background-position-x: center;
    background-position-y: top;
  }
  .banner-guia-sueldo .bgs-titulo-2 {
    font-size: 35px;
    line-height: 44px;
  }
}

.banner-guia-sueldo .bgs-titulo-3 {
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 21px;
}

.banner-guia-sueldo .bgs-titulo-4 {
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
}

/* Banner guia noticias */

/* Formulario noticia bottom */
.form-noticia-bottom .bg-forma-circular-verde-izq {
  background: url(/wp-content/themes/esgalla_new/img/forma_circular_verde_izq.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position-x: left;
  background-position-y: top;
}

@media (max-width: 991px) {
  .form-noticia-bottom .bg-forma-circular-verde-izq {
    background: url(/wp-content/themes/esgalla_new/img/forma_circular_verde_top.svg);
    background-repeat: no-repeat;
    background-size: 300px;
    background-position-x: center;
    background-position-y: bottom;
  }

  .form-noticia-bottom .img-info {
    max-width: 60px;
  }
}
@media (max-width: 370px) {
  .form-noticia-bottom .bg-forma-circular-verde-izq {
    background: url(/wp-content/themes/esgalla_new/img/forma_circular_verde_top.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position-x: center;
    background-position-y: top;
  }
}

.form-noticia-bottom .sticky-form {
  background: white !important;
}

.form-noticia-bottom .tit-form-lateral {
  display: none;
}

.form-noticia-bottom .legal-html p {
  color: rgb(0, 69, 21) !important;
}

.form-noticia-bottom #form-cuerpo .gform_footer button {
  color: rgb(0, 69, 21) !important;
  width: 100%;
}
.form-noticia-bottom {
  position: relative;
}
.form-noticia-bottom:before {
  content: "";
  background: rgb(0, 69, 21) !important;
  width: 992px;
  height: 100%;
  position: absolute;
  top: 0;
  left: -20%;
}
/* Formulario noticia bottom */

/* Nueva plantilla producto */
.cuadrado-back::before {
  content: "";
  display: block;
  width: 80%;
  height: 100%;
  position: absolute;
  top: 30px;
  left: -20px;
  background: #009539;
  z-index: -1;
  border-radius: 4px;
}
.accordion-bordes .card {
  border: none;
  border-width: 3px !important;
  border-radius: 0px;
}
.accordion-bordes .card .collapse {
  border-width: 3px !important;
}
.accordion-bordes .card .collapsing {
  border-width: 3px !important;
}
.accordion-bordes .card .card-header {
  background: white;
  border-width: 3px !important;
  border-radius: 0px;
  margin-bottom: -3px;
}
.accordion-bordes .card .card-header a {
  padding-right: 30px;
}

.accordion-bordes .collapsible-link::before {
  content: "";
  width: 14px;
  height: 2px;
  background: #333;
  position: absolute;
  top: calc(50% - 1px);
  right: 1rem;
  display: block;
  transition: all 0.3s;
}

/* Vertical line */
.accordion-bordes .collapsible-link:hover {
  text-decoration: none !important;
}
.accordion-bordes .collapsible-link::after {
  content: "";
  width: 2px;
  height: 14px;
  background: #333;
  position: absolute;
  top: calc(50% - 7px);
  right: calc(1rem + 6px);
  display: block;
  transition: all 0.3s;
}

.accordion-bordes .collapsible-link[aria-expanded="true"]::after {
  transform: rotate(90deg) translateX(-1px);
}

.accordion-bordes .collapsible-link[aria-expanded="true"]::before {
  transform: rotate(180deg);
}

#form-lateral.sticky-form {
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.metodologia .card {
  transition: all 0.2s linear;
}
.metodologia .card.slick-current.slick-active {
  background: rgb(0, 69, 21) !important;
  transition: all 0.2s linear;
  cursor: pointer;
}
.metodologia .card.slick-current.slick-active .card-title,
.metodologia .card.slick-current.slick-active .card-text-bottom {
  color: #009539 !important;
  transition: all 0.2s linear;
}
.metodologia .card.slick-current.slick-active .card-text {
  color: white !important;
  transition: all 0.2s linear;
}
.metodologia .card .card-title,
.metodologia .card .card-text-bottom {
  transition: all 0.2s linear;
}
.metodologia .card .card-title {
  font-size: 1.5rem !important;
}
.metodologia .card .card-text {
  transition: all 0.2s linear;
}
.metodologia .card {
  box-shadow: 0 0 8px 0 rgb(18 32 60 / 25%);
}

.metodologia .slick-track,
.corporativo .slick-track {
  display: flex !important;
}

.metodologia .slick-slide,
.corporativo .slick-slide {
  height: inherit !important;
}
.metodologia .slick-list,
.corporativo .slick-list {
  padding-left: 6px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.slick-slider-corporativo .slick-list {
  padding-top: 40px;
  padding-bottom: 40px;
}
@media (max-width: 991px) {
  .metodologia .slick-list,
  .corporativo .slick-list {
    padding: 0 10% 0 0;
    padding-left: 6px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

.slick-opiniones-n .slick-list {
  padding-left: 0px;
  padding-right: 0px;
}
.slick-dots li.slick-active button:before {
  background: #009539 !important;
}

.border-3 {
  border-width: 3px !important;
}

@media (min-width: 1200px) {
  .container.nueva-plantilla,
  .container-sm.nueva-plantilla,
  .container-md.nueva-plantilla,
  .container-lg.nueva-plantilla,
  .container-xl.nueva-plantilla {
    max-width: 1280px;
  }
}

/* .video-cover {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: url('https://www.campustraining.es/wp-content/themes/esgalla_new/img/cover-video-correos-pc.png.webp');
	background-size: cover;
	background-position: bottom;
	background-repeat: no-repeat;
	z-index: 8;
} */

.video-cover::after {
  content: url("https://www.campustraining.es/wp-content/themes/esgalla_new/img/ico-youtube-play.svg");
  width: 80px;
  height: auto;
  position: absolute;
  left: calc(50% - 40px);
  top: calc(50% - 10px);
}
@media (min-width: 768px) {
  .video-cover::after {
    content: url("https://www.campustraining.es/wp-content/themes/esgalla_new/img/ico-youtube-play.svg");
    width: 80px;
    height: auto;
    position: absolute;
    left: calc(50% - 40px);
    top: calc(50% - 40px);
  }
}

.video-cover:hover {
  cursor: pointer;
}
.video-cover:hover::after {
  animation-name: bounce-7;
  animation-duration: 0.8s;
}

@keyframes bounce-7 {
  0% {
    transform: scale(1, 1) translateY(0);
  }
  10% {
    transform: scale(1.1, 0.9) translateY(0);
  }
  30% {
    transform: scale(0.9, 1.1) translateY(-20px);
  }
  50% {
    transform: scale(1.05, 0.95) translateY(0);
  }
  57% {
    transform: scale(1, 1) translateY(-7px);
  }
  64% {
    transform: scale(1, 1) translateY(0);
  }
  100% {
    transform: scale(1, 1) translateY(0);
  }
}

.btn-accede-guia::after {
  content: "";
  display: inline-block;
  background-image: url("https://www.campustraining.es/wp-content/themes/esgalla_new/img/ico-guia.svg");
  background-repeat: no-repeat;
  width: 2rem;
  height: 2rem;
}
.btn-accede-guia {
  transition: all 0.2s linear;
}
.btn-accede-guia:hover {
  transform: scale(1.08);
  transition: all 0.2s linear;
}

.numero-plazas {
  font-size: 3rem;
}
@media (min-width: 992px) {
  .numero-plazas {
    font-size: 3rem;
  }
}
@media (min-width: 1200px) {
  .numero-plazas {
    font-size: 5rem;
  }
}

.bg-banner-convocatoria-left {
  background: url("https://www.campustraining.es/wp-content/themes/esgalla_new/img/banner-convocatoria-left.jpg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: right;
  background-position-y: top;
}
.bg-banner-convocatoria-right {
  background: url("https://www.campustraining.es/wp-content/themes/esgalla_new/img/banner-convocatoria-right.jpg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: left;
  background-position-y: bottom;
}
@media (max-width: 400px) {
  .texto-plazas {
    line-height: 28px !important;
    font-size: 20px !important;
  }
}

@media (min-width: 576px) {
  .banner-row {
    border: none !important;
  }
}

.quotes-top-left:before {
  content: "\f10d";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 30px;
  color: rgb(0, 69, 21) !important;
  pointer-events: none;
  font-family: "FontAwesome";
}
.quotes-bottom-right:before {
  content: "\f10e";
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 30px;
  color: rgb(0, 69, 21) !important;
  pointer-events: none;
  font-family: "FontAwesome";
}

@media (max-width: 425px) {
  .extensiones-primarias a {
    font-size: 13px;
  }
  .extensiones-secundarias a {
    font-size: 0.9rem;
  }
}
.embed-responsive.embed-responsive-16by9::before {
  display: none;
}

#video-producto-top.modal .close {
  position: absolute;
  top: -30px !important;
  right: 0px !important;
  color: white !important;
  opacity: 1 !important;
}

.button:focus,
button:focus {
  outline: none !important;
}
#gform_submit_button_3 {
  color: #253645 !important;
}

h2 {
  margin-bottom: 24px !important;
}

.row-temario li {
  margin-bottom: 5px;
}
.site-footer {
  padding-top: 15px;
  padding-bottom: 15px;
}

#gform_submit_button_1 {
  margin-top: 0px;
  margin-bottom: 15px;
}

.single-producto .nueva-plantilla .wysiwyg p,
.single-producto .nueva-plantilla .wysiwyg ul li {
  color: rgb(0, 69, 21) !important;
  opacity: 1 !important;
}
.single-producto .nueva-plantilla .wysiwyg ul li {
  margin-bottom: 5px;
}
.single-producto .nueva-plantilla .wysiwyg h2 {
  font-size: 2.25rem;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

/* Nueva plantilla producto */

/* Nuevo botón descarga guía*/

.descarga-guia-green {
  max-width: 310px;
}
.descarga-guia-green .descargar-guia {
  font-family: Roboto;
  font-style: normal;
  font-weight: bold;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
}

.descarga-guia-green:hover {
  text-decoration: none !important;
}
/* Nuevo botón descarga guía*/

@media (min-width: 576px) {
  .slick-posts .slick-track {
    display: flex !important;
  }

  .slick-posts .slick-slide {
    height: inherit !important;
  }
}

.producto-template-page-extension-producto
  .embed-responsive.embed-responsive-16by9:before {
  content: "";
  padding-bottom: 0;
  display: flex;
}

@media (max-width: 767px) {
  .page-template-page-centros-opiniones .header-paginas,
  .page-id-136 .header-paginas {
    padding: 70px 40px 35px;
  }
}
