/*
Theme Name: Cognición
Theme URI: 
Author: Aldair DM
Author URI: https://linktr.ee/aldairdm
Description: Tema personalizado para el sitio de Sarraute Educación, hoy Cognición.
Tags: blog, custom-background, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Cognición
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

body {
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

/*card inicio*/
.card-galeria-container {
  perspective: 1000px;
}

.card-galeria {
  width: 300px;
  height: 400px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  cursor: pointer;
}

.card-galeria:hover {
  transform: rotateY(180deg);
}

.card-galeria-front, .card-galeria-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-galeria-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-galeria-back {
  background-color: #333;
  color: white;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.card-galeria-back h2 {
  margin: 0;
  font-size: 24px;
}

.card-galeria-back button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  color: #333;
  background-color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.card-galeria-back button:hover {
  background-color: #ddd;
}

.vivino {
border-radius: 0px 0px 200px 0px !important;
}
img { max-width: 100%;!important
    height: auto !important}
/*Colores*/

.bg-cognicion {
    background-color: #505F99 !important;
}

.bg-cognicion-light {
    background-color: #7396d1 !important;
}

.bg-cognicion-dark {
    background-color: #44435F !important;
}

.bg-footer {
    background-color: #d3d4d7 !important;
}

.text-cognicion-dark {
    color: #44435F !important
}

.text-cognicion {
    color: #505F99 !important
}

.text-cognicion-light {
    color: #7396d1 !important
}

/*fin Colores*/

/*Footer*/
.divider-f {
    margin-top: 1rem;
    width: 100%;
    border-top: 1px solid #505F99;
}

/*fin footer*/

/* Botón Ir Arriba */
#boton-arriba {
    width: 50px;
    height: 50px;
    background: #505f99;
    color: white;
    font-size: 20px;
    bottom: 45px;
    right: 45px;
    cursor: pointer;
    border: 4px solid transparent;
    transition: all 300ms ease;
    transform: scale(0);
    z-index: 4;
}

#boton-arriba:hover {
    transform: scale(1.1);
    border-color: rgba(0, 0, 0, 0.1);
}

/*Inicio*/

.bannerInicio {
    background-image: url("http://www.cognicion.com.mx/wp-content/uploads/2023/10/fondo-inicio-scaled.jpg");
    background-size: cover;
    background-position: center center;
}

.image-overlay {
    background-color: rgba(0, 0, 0, 0.4) !important;
    background-size: cover;
    z-index: 3;
}

.bannerInicio .row {
    height: 44rem;
}

body,
div,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

.divider {
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    height: 1rem;
    color: rgba(0, 0, 0, 0.5);
    margin-right: auto !important;
    margin-left: auto !important
}

/*Categorías*/
.encabezado-cat {
    border-top: 1rem solid #7396d1 !important
}

.card-noticias:hover {
    transition: all 300ms ease-in-out;
    transform: translateY(10px);
}

@media screen and (max-height: 500px) and (min-width: 992px) {
    .card-noticias {
        transform: translateY(80px);
    }
}

.gradiente {
    background: linear-gradient(180deg, rgba(115, 209, 204, 0.2) 0%, rgba(115, 209, 204, 1) 100%);
}

/*Cards*/
.card-has-bg {
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    background-size: 120%;
    background-repeat: no-repeat;
    background-position: center center;

    &:hover {
        transform: scale(0.98);
        box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0.3);
        background-size: 130%;
        transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);

        .card-img-overlay {
            transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
            background: linear-gradient(0deg, rgba(115, 150, 209, 0.5) 0%, rgba(115, 150, 209, 1) 100%);
        }
    }
}

/*Ecoturismo*/
.carousel {
    margin-bottom: 4rem;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height: 32rem;
}

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

/*Carrusel Vertical*/
.vert .carousel-item-next.carousel-item-left,
.vert .carousel-item-prev.carousel-item-right {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.vert .carousel-item-next,
.vert .active.carousel-item-right {
    -webkit-transform: translate3d(0, 100%, 0);
            transform: translate3d(0, 100% 0);
}

.vert .carousel-item-prev,
.vert .active.carousel-item-left {
-webkit-transform: translate3d(0,-100%, 0);
        transform: translate3d(0,-100%, 0);
}

.site-blocks-cover h1 {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 991.98px) {
  .site-blocks-cover h1 {
    font-size: 4rem;
  }
}

.site-blocks-cover .sub-text {
  font-size: 1.4rem;
  color: gray;
  font-weight: 300;
}

@media (max-width: 991.98px) {
  .site-blocks-cover .sub-text {
    color: gray;
  }
}

.carousel-control-prev,
.carousel-control-next{
      top: 75% !important;
}
.carousel-control-prev{
  left:65% !important
}

.carousel-control-next{
	left:75% !important
}
/*fin Inicio*/

/*Enlace Términos y condiciones*/

.copy {
    padding: 10px;
    border-top: 1px solid rgba(51, 51, 51, 0.13);
}

/* Botón Ver más... */

.btn-uneir {
    color: #505f99 !important;
    border: 2px solid #505F99 !important;
    background-color: transparent;
}

.btn-uneir:hover {
    color: #ffffff !important;
    background-color: #505F99;
    border: 2px solid #505F99
}

.btn-cognicion{
    border: 2px solid #505F99 !important;
    background-color: transparent;
}

.btn-cog-busqueda {
    background-color: transparent;
    border: none;
}

.btn-cog-busqueda:hover{
	color: #000000 !important;
}

.btn-uneir-b {
    background-color: transparent;
}

.btn-cog-b {
    background-color: transparent;
    border: none;
}

.btn-uneir-b:hover {
    background-color: #505F99;
}

/* FIN Botón Ver más... */

/*single*/

.imagen-destacada {
    background-size: cover;
}


.bg-comentarios {
    background-color: #ffffee !important;
}

/* FIN single*/



/* Scrollbar */

body::-webkit-scrollbar {
    width: 10px;
    background: #d3d4d7;
}

body::-webkit-scrollbar-thumb {
    background: #44435F;
    border-radius: 5px;
}


/* Menú Desplegable*/
.dropdown:hover .dropdown-menu {
    display: block;
}



/* Change navbar styling on small viewports */
@media (max-width: 991.98px) {
    .navbar {
        background: #fff;
    }

    .navbar .navbar-brand,
    .navbar .nav-link {
        color: #555;
    }
}



/*Submenú*/


nav ul li .dropdown-menu a {
  color: #505F99;
  position: relative;
  text-decoration: none;
}

nav ul li .dropdown-menu a:hover {
background-color: transparent !important;
}

nav ul li .dropdown-menu a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background-color: #505F99;
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform .3s ease-in-out;
}

nav ul li .dropdown-menu a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

/* fin Menú Desplegable*/


/* Página de error 404 */

.fondo-404 {
    background-image: url("https://sarrauteducacion.com/wp-content/uploads/2023/10/404.jpg");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.fondo-404 .row {
    height: 28rem;
}

.fondo-404 .contenido .h1 {
    font-weight: 700;
    font-size: 2.4rem;
}

/*Página Conócenos*/

/* ===== ABOUT PAGE ===== */
.team-item {
  padding: 35px;
  padding-right: 0;
  position: relative;
  z-index: 0;
}

.team-item:after, .team-item:before {
  content: "";
  position: absolute;
  -webkit-box-shadow: 0 5px 30px 0 rgba(39, 39, 39, 0.15);
          box-shadow: 0 5px 30px 0 rgba(39, 39, 39, 0.15);
  border-radius: 10px;
  z-index: -1;
}

.team-item:before {
  height: 100%;
  background-color: #fff;
  left: 0;
  top: 0;
  right: 30px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.team-item:after {
  height: 6px;
  width: calc(100% - 30px);
  background-color: #505F99;
  left: 0;
  bottom: 0;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.team-item:hover:after {
  height: 100%;
}

.team-item .img-holder {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-box-shadow: 0 0 20px 0 rgba(51, 51, 51, 0.2);
          box-shadow: 0 0 20px 0 rgba(51, 51, 51, 0.2);
  border-radius: 10px;
  width: calc(100% - 70px);
  margin-left: 70px;
}

.team-item .img-holder img {
  border-radius: 10px;
  width: 100%;
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

.team-item:hover .img-holder img {
  -webkit-transform: scale(1);
          transform: scale(1);
}

.team-item .socials {
  position: absolute;
}

.team-item .socials a {
  display: block;
  margin-right: 0;
  margin-bottom: 15px;
  -webkit-box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.12);
          box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.12);
}

.team-item .socials a:last-of-type {
  margin-bottom: 0;
}

.team-item .team-content {
  margin-right: 70px;
  text-align: center;
}

.team-item .team-content h5 {
  color: #101f41;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.team-item .team-content p {
  color: #505F99;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  font-weight: 600;
  font-size: 14px;
}

.team-item:hover .team-content h5, .team-item:hover .team-content p {
  color: #fff;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.d-inline-block {
    display: inline-block!important;
}

.socials a {
    width: 35px;
    height: 35px;
    background-color: #7396D1;
    border-radius: 50%;
    -webkit-box-shadow: 0 3px 2px 0 #516cd9;
    box-shadow: 0 3px 2px 0 #516cd9;
    text-align: center;
    color: #fff;
    padding-top: 10px;
    font-size: 16px;
    margin-right: 10px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.conocenos.mb-2, .conocenos.my-2 {
    margin-bottom: .5rem!important;
}

.conocenos.h5 {
    font-size: 21px;
}

.conocenos.mb-30 {
    margin-bottom: 30px;
}

.inicio-gradiente {
    border-color: #fff; /* fallback */
    border-image: linear-gradient(-45deg, #3498db, #e67e22) 2;
  	border-radius: .3rem !important
  }

/* Botón cursos*/
.btn-cursos {
	--b:4px;   /* border length*/
	--c:20px;  /* the cube perspective */
	
	--g:calc(var(--c)*0.707); /* 0.707 = cos(45deg) = sin(45deg) */
	
	
	padding:8px;
	color:#90419e;
	transition: 0.5s;
	border: solid transparent;
	border-width:var(--b) calc(var(--c) + var(--b)) calc(var(--c) + var(--b)) var(--b);
	background:
	  linear-gradient(  45deg,transparent var(--g),rgba(255,255,255,0.6) 0) right  /var(--c) 100%,
	  linear-gradient(-135deg,transparent var(--g),rgba(255,255,255,0.3) 0) bottom /100% var(--c),
	  conic-gradient(from -180deg at top var(--b) left var(--b),currentColor 270deg,transparent 0),
	  conic-gradient(from    0deg at bottom calc(var(--c) + var(--b)) right calc(var(--c) + var(--b)),currentColor 270deg,transparent 0);
	background-repeat:no-repeat;
	background-origin:border-box;
	transform:translate(calc(var(--c)/1),calc(var(--c)/1));
	clip-path: 
	  polygon(calc(100% - var(--c)) 0%, calc(100% - var(--c)) 0%, 
	  0% 0%, 
	  0% calc(100% - var(--c)),0% calc(100% - var(--c)),
	  calc(100% - var(--c)) calc(100% - var(--c)),
	  calc(100% - var(--c)) calc(100% - var(--c)));
  }
  .btn-cursos:hover {
    color:#6138d8 !important;
	transform:translate(0,0);
	clip-path: 
	  polygon(100% var(--c), calc(100% - var(--c)) 0%, 
	  0% 0%, 
	  0% calc(100% - var(--c)), var(--c) 100%, 
	  100% 100%,
	  100% 100%);
  }