/* 
Theme Name: Dr. Herbert Stern Diaz
Theme URI: https://josedone.com
Description: Twenty Twenty One Child Theme for Dr. Herbert Stern Diaz
Author: Jose Done 
Author url: https://josedone.com
Template: twentytwentyone
Version: 1.0
*/
@import url("../twentytwentyone/style.css");

* {
	box-sizing: border-box;
}

body, html {
	overflow-x: hidden;
}

b {
	font-weight: 600 !important;
}

body,html,div,h1,h2,h3,h4,h5,h6,p {
	font-family: "Outfit", Sans-serif;
}

/* Layout */

img.attachment-full.size-full {
    height: auto !important;
}

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

body > header.entry-header,
body > .entry-content,
article:not(.has-post-thumbnail) > header.entry-header, 
article:not(.has-post-thumbnail) .entry-content, 
.masteriyo-container, 
header.page-header, 
.entry-title.default-max-width, 
figure.post-thumbnail {
    width: 1740px !important;
    max-width: 100% !important;
    padding: 10px 10px !important;
    margin: 0px auto !important;
    border: none !important;
}


.entry-content > div,
body article figure.post-thumbnail img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image,
body article .entry-content > * {
    width: 100% !important;
    max-width: 100% !important;
}

article figure.post-thumbnail, 
article figure.post-thumbnail img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
	padding: 0px !important;
	margin: 0px !important;
}

article:not(.has-post-thumbnail) > header.entry-header > .entry-title, 
header.page-header > h1.page-title {
    background-color: #FFD5F2;
    border-radius: 20px;
    border: none !Important;
    padding: 40px;
    text-align: center;
    font-weight: 600 !important;
    font-size: 60px;
}

article:not(.has-post-thumbnail) > header.entry-header.sub-header > .entry-title {
	font-size: 40px !important;
	padding: 20px;
}

article:not(.has-post-thumbnail) > header.entry-header > .entry-title svg {
		margin-right: 10px;
	margin-bottom: -10px;
	}

@media screen and (max-width: 1385px) {
	article:not(.has-post-thumbnail) > header.entry-header > .entry-title, 
header.page-header > h1.page-title {
    padding: 30px;
    font-size: 40px;
}

	article:not(.has-post-thumbnail) > header.entry-header.sub-header > .entry-title {
	font-size: 30px !important;
}
}

@media screen and (max-width: 767px) {
	article:not(.has-post-thumbnail) > header.entry-header > .entry-title svg {
		width: 50px;
	}
	article:not(.has-post-thumbnail) > header.entry-header > .entry-title, 
header.page-header > h1.page-title {
    padding: 40px;
    font-size: 35px;
}

	article:not(.has-post-thumbnail) > header.entry-header.sub-header > .entry-title {
	font-size: 25px !important;
}
	
}

header.entry-header.sub-header > .entry-title,
header.entry-header > h2.entry-title.default-max-width {
	font-size: 40px;
	font-weight: 500 !important;
}

/* Effects */
.onHover, .e-con-inner > a.elementor-element {
    transition: all 0.3s ease-in-out 0s;
}
.onHover:hover, .e-con-inner > a.elementor-element:hover  {
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    opacity: 0.9;
}

/* Header */

#header-container {
 transition: all 0.3s ease-in-out 0s;	
}

#header-container.elementor-sticky--active > div {
    padding-left: 20px;
    padding-right: 20px;
}

#header-container.elementor-sticky--active header {
    background-color: #ffffff !important;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
}

#header-container.elementor-sticky--active header .e-search .e-search-input {
    background-color: #efefef;
}

[class*="uk-modal-close-"] {
    padding: 20px;
    border-radius: 50px;
    color: #252b61 !important;
    background-color: #92bdf6 !important;
}

[class*="uk-modal-close-"]:hover {
    opacity: 0.8 !important;
    background-color: #ffffff !important;
}

[class*="uk-modal-close-"] > svg > line {
    stroke-width: 2px !important;
}

/* Carrusel */
/*.elementor-widget-n-carousel.e-widget-swiper > .elementor-widget-container {
    padding-top: 60px !important;
	position: relative !important;
}

.elementor-widget-n-carousel.e-widget-swiper > .elementor-widget-container .swiper-wrapper{
    display: flex !important;
    overflow: inherit !important;
}

.elementor-widget-n-carousel.e-widget-swiper .elementor-swiper-button {
    width: 60px !important;
    height: 60px !important;
    position: absolute;
    top: 20px !important;
    display: flex;
    justify-content: center;
    cursor: pointer !important;
}

.elementor-widget-n-carousel.e-widget-swiper .elementor-swiper-button > svg {
	width: 14px !important;
}

 .elementor-widget-n-carousel.e-widget-swiper .elementor-swiper-button.elementor-swiper-button-prev {
     right: 70px !important;
     left: inherit !important;
 }

 .elementor-widget-n-carousel.e-widget-swiper .elementor-swiper-button.elementor-swiper-button-next {
     right: 0px !important;
     left: inherit !important;
 }*/

/* Header */

.search-bar button.e-search-submit
 {
    position: absolute;
    z-index: 1;
    left: 8px;
	top: 50%;
    transform: translateY(-50%);
}


*[class*="menu-icon"] {
  display: inline-block;
  margin-left: 10px;
}

body .e-search input {
    width: 100%;
    max-width: 100%;
}

/* Cursos */
.menu-icon-cursos::before {
  content: url("data:image/svg+xml,%3Csvg width='23' height='23' viewBox='0 0 23 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_279_552)'%3E%3Cpath d='M21.5 3H3.5C2.4 3 1.5 3.9 1.5 5V17C1.5 18.1 2.4 19 3.5 19H8.5V20C8.5 20.55 8.95 21 9.5 21H15.5C16.05 21 16.5 20.55 16.5 20V19H21.5C22.6 19 23.5 18.1 23.5 17V5C23.5 3.89 22.6 3 21.5 3ZM20.5 17H4.5C3.95 17 3.5 16.55 3.5 16V6C3.5 5.45 3.95 5 4.5 5H20.5C21.05 5 21.5 5.45 21.5 6V16C21.5 16.55 21.05 17 20.5 17ZM16.5 11C16.5 11.55 16.05 12 15.5 12H13.5V14C13.5 14.55 13.05 15 12.5 15C11.95 15 11.5 14.55 11.5 14V12H9.5C8.95 12 8.5 11.55 8.5 11C8.5 10.45 8.95 10 9.5 10H11.5V8C11.5 7.45 11.95 7 12.5 7C13.05 7 13.5 7.45 13.5 8V10H15.5C16.05 10 16.5 10.45 16.5 11Z' fill='%2392BDF6'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_279_552'%3E%3Crect width='23' height='22' fill='white' transform='translate(0 0.5)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

/* Publicaciones */
.menu-icon-publicaciones::before {
  content: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_279_556)'%3E%3Cpath d='M17 20H5C4.45 20 4 19.55 4 19V7C4 6.45 3.55 6 3 6C2.45 6 2 6.45 2 7V20C2 21.1 2.9 22 4 22H17C17.55 22 18 21.55 18 21C18 20.45 17.55 20 17 20ZM20 2H8C6.9 2 6 2.9 6 4V16C6 17.1 6.9 18 8 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2ZM20 12L17.5 10.5L15 12V4H20V12Z' fill='%2392BDF6'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_279_556'%3E%3Crect width='24' height='24' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

/* Podcast */
.menu-icon-podcast::before {
  content: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 14C13.66 14 15 12.66 15 11V5C15 3.34 13.66 2 12 2C10.34 2 8.99999 3.34 8.99999 5V11C8.99999 12.66 10.34 14 12 14ZM17.91 11C17.42 11 17.01 11.36 16.93 11.85C16.52 14.2 14.47 16 12 16C9.52999 16 7.47999 14.2 7.06999 11.85C6.98999 11.36 6.57999 11 6.08999 11C5.47999 11 4.99999 11.54 5.08999 12.14C5.57999 15.14 7.97999 17.49 11 17.92V20C11 20.55 11.45 21 12 21C12.55 21 13 20.55 13 20V17.92C16.02 17.49 18.42 15.14 18.91 12.14C19.01 11.54 18.52 11 17.91 11Z' fill='%2392BDF6'/%3E%3C/svg%3E");
}

/* Login */
.menu-icon-login::before {
  content: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 21V19C20 17.9391 19.5786 16.9217 18.8284 16.1716C18.0783 15.4214 17.0609 15 16 15H8C6.93913 15 5.92172 15.4214 5.17157 16.1716C4.42143 16.9217 4 17.9391 4 19V21' stroke='%2392BDF6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z' stroke='%2392BDF6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}


/* Cursos */
li:hover a .menu-icon-cursos::before {
  content: url("data:image/svg+xml,%3Csvg width='23' height='23' viewBox='0 0 23 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_279_552)'%3E%3Cpath d='M21.5 3H3.5C2.4 3 1.5 3.9 1.5 5V17C1.5 18.1 2.4 19 3.5 19H8.5V20C8.5 20.55 8.95 21 9.5 21H15.5C16.05 21 16.5 20.55 16.5 20V19H21.5C22.6 19 23.5 18.1 23.5 17V5C23.5 3.89 22.6 3 21.5 3ZM20.5 17H4.5C3.95 17 3.5 16.55 3.5 16V6C3.5 5.45 3.95 5 4.5 5H20.5C21.05 5 21.5 5.45 21.5 6V16C21.5 16.55 21.05 17 20.5 17ZM16.5 11C16.5 11.55 16.05 12 15.5 12H13.5V14C13.5 14.55 13.05 15 12.5 15C11.95 15 11.5 14.55 11.5 14V12H9.5C8.95 12 8.5 11.55 8.5 11C8.5 10.45 8.95 10 9.5 10H11.5V8C11.5 7.45 11.95 7 12.5 7C13.05 7 13.5 7.45 13.5 8V10H15.5C16.05 10 16.5 10.45 16.5 11Z' fill='%23252B61'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_279_552'%3E%3Crect width='23' height='22' fill='white' transform='translate(0 0.5)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

/* Publicaciones */
li:hover a .menu-icon-publicaciones::before {
  content: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_279_556)'%3E%3Cpath d='M17 20H5C4.45 20 4 19.55 4 19V7C4 6.45 3.55 6 3 6C2.45 6 2 6.45 2 7V20C2 21.1 2.9 22 4 22H17C17.55 22 18 21.55 18 21C18 20.45 17.55 20 17 20ZM20 2H8C6.9 2 6 2.9 6 4V16C6 17.1 6.9 18 8 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2ZM20 12L17.5 10.5L15 12V4H20V12Z' fill='%23252B61'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_279_556'%3E%3Crect width='24' height='24' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

/* Podcast */
li:hover a .menu-icon-podcast::before {
  content: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 14C13.66 14 15 12.66 15 11V5C15 3.34 13.66 2 12 2C10.34 2 8.99999 3.34 8.99999 5V11C8.99999 12.66 10.34 14 12 14ZM17.91 11C17.42 11 17.01 11.36 16.93 11.85C16.52 14.2 14.47 16 12 16C9.52999 16 7.47999 14.2 7.06999 11.85C6.98999 11.36 6.57999 11 6.08999 11C5.47999 11 4.99999 11.54 5.08999 12.14C5.57999 15.14 7.97999 17.49 11 17.92V20C11 20.55 11.45 21 12 21C12.55 21 13 20.55 13 20V17.92C16.02 17.49 18.42 15.14 18.91 12.14C19.01 11.54 18.52 11 17.91 11Z' fill='%23252B61'/%3E%3C/svg%3E");
}

/* Login */
li:hover a .menu-icon-login::before {
  content: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 21V19C20 17.9391 19.5786 16.9217 18.8284 16.1716C18.0783 15.4214 17.0609 15 16 15H8C6.93913 15 5.92172 15.4214 5.17157 16.1716C4.42143 16.9217 4 17.9391 4 19V21' stroke='%23252B61' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z' stroke='%23252B61' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Publicaciones */

body:not(.elementor-editor-active) .publicacion-button {
    position: absolute !important;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

body:not(.elementor-editor-active) .publicacion-button a[href] {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    color: transparent;
    display: block;
}


/* Articulos */

body.category-articulos-cientificos .title-header,
body.category-articulos-de-opinion .title-header,
body.category-articulos-destacados .title-header {
	background-color: #E0CEEE !important;
}

.elementor-element.wpr-taxonomy-list-vertical.elementor-widget.elementor-widget-wpr-taxonomy-list ul > li.active > a {
	background-color: #FFD5F2;
}

.category-articulos-cientificos > a.elementor-element,
.category-articulos-de-opinion > a.elementor-element,
.category-articulos-destacados > a.elementor-element {
    background-color: #E0CEEE !important;
}

.elementor-element.wpr-taxonomy-list-vertical.elementor-widget.elementor-widget-wpr-taxonomy-list ul > li > a[href*="/articulos-cientificos"],
.elementor-element.wpr-taxonomy-list-vertical.elementor-widget.elementor-widget-wpr-taxonomy-list ul > li > a[href*="/articulos-de-opinion"],
.elementor-element.wpr-taxonomy-list-vertical.elementor-widget.elementor-widget-wpr-taxonomy-list ul > li > a[href*="/articulos-destacados"]{
    border-color: #E0CEEE;
}

.elementor-element.wpr-taxonomy-list-vertical.elementor-widget.elementor-widget-wpr-taxonomy-list ul > li.active > a[href*="/articulos-cientificos"],
.elementor-element.wpr-taxonomy-list-vertical.elementor-widget.elementor-widget-wpr-taxonomy-list ul > li.active > a[href*="/articulos-de-opinion"],
.elementor-element.wpr-taxonomy-list-vertical.elementor-widget.elementor-widget-wpr-taxonomy-list ul > li.active > a[href*="/articulos-destacados"],
.elementor-element.wpr-taxonomy-list-vertical.elementor-widget.elementor-widget-wpr-taxonomy-list ul > li > a[href*="/articulos-cientificos"]:hover,
.elementor-element.wpr-taxonomy-list-vertical.elementor-widget.elementor-widget-wpr-taxonomy-list ul > li > a[href*="/articulos-de-opinion"]:hover,
.elementor-element.wpr-taxonomy-list-vertical.elementor-widget.elementor-widget-wpr-taxonomy-list ul > li > a[href*="/articulos-destacados"]:hover { 
    background-color: #E0CEEE !important;
}

/* Galeria */

.galeria-teaser > .uk-inline {
    border-radius: 20px;
    overflow: hidden;
}

.galeria-teaser .uk-overlay-primary.uk-position-cover {
    background-color: rgba(37, 43, 97, 0.5);
}

.galeria-teaser h3 {
    color: #ffffff !important;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 600;
}

.galeria-teaser .uk-overlay.uk-position-bottom.uk-light {
    width: 480px;
    max-width: 100%;
    padding: 40px;
}

.galeria-teaser .uk-inline {
	width: 100%;
}

.galeria-teaser .uk-overlay.uk-position-bottom.uk-light > p:last-child {
    text-transform: capitalize;
}

.galeria-teaser img {
    transform-origin: center;
    transition: all 0.3s ease-in-out 0s;
    max-height: 590px !important;
    height: 590px !important;
	width: 100%;
}

.galeria-teaser:hover img {
    transform: scale(1.2);
}

body.single-galeria div#elementor-lightbox-slideshow-single-img {
    display: none !important;
}

/* Search */

.search-result-count.default-max-width {
    text-align: center;
    padding: 20px 0px;
}

body.search-results article {
    border-top: 2px solid #e7e7e7 !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

body.search-results img.uk-object-cover:not([href]) {
    display: none;
}

body.search-results article footer.post-footer.default-max-width {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 20px !important;
}

body.search-results article a.post-button.uk-button.uk-button-primary {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    padding: 0px;
    text-align: center;
    display: flex;
    justify-content: center;
    background-color: #252b61;
    
}

body.search-results article a.post-button.uk-button.uk-button-primary:hover {
    opacity: 0.8;
}





/* Footer */


.menu-footer,
.menu-footer nav,
.menu-footer nav > ul,
.menu-footer nav > ul > li > ul.sub-menu,
.menu-footer nav > ul > li > ul.sub-menu > li,
.menu-footer nav > ul > li > ul.sub-menu > li > a {
     width: 100%;
}

.menu-footer nav > ul {
    display: inline-block !important;
}

.menu-footer nav > ul > li {
    width: 100%;
    display: block !important;
    height: auto;
}

@media screen and (min-width: 960px) {
.menu-footer nav > ul > li {
    width: 25%;
    float: left;
}
}

.menu-footer nav > ul > li > ul.sub-menu {
    display: block !important;
    position: initial;
}

.acf_pgf_modal {
	display: none !important;
}

/* Blog */

ul.elementor-inline-items.elementor-icon-list-items.elementor-post-info {
    list-style: none;
    padding-left: 0px;
}

#archive-post > .post-teaser > article {
    padding: 30px;
    border-radius: 20px;
    background-color: #ffd5f2;
    color: #252b61;
}

.post-teaser .post-title {
    font-weight: 600;
    font-size: 30px;
}

.post-teaser header.post-header {
    margin-bottom: 20px;
}

.post-teaser .post-thumbnail > img {
    border-radius: 20px;
}

.post-teaser  footer.post-footer.default-max-width {
    margin-top: 20px;
}

.post-teaser .post-button {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    justify-items: center;
    padding: 0;
    border-radius: 50px;
    background-color: #252b61;
}

div#comments {
    display: none !important;
}


body.search article {
    width: 1760px;
    max-width: 100%;
    margin: 0px auto;
    padding: 0px 20px;
}

/* Cursos */

.masteriyo-course-item--wrapper.masteriyo-course--card {
    border-radius: 20px;
}

.masteriyo-course-item--wrapper.masteriyo-course--card .masteriyo-course--img-wrap {
    padding: 20px;
}

.masteriyo-course-item--wrapper.masteriyo-course--card .masteriyo-course--img-wrap img {
    border-radius: 20px;
    overflow: hidden;
}

.masteriyo-course--content__stats,
.masteriyo-course-card-footer.masteriyo-time-btn {
    border-color: #f5c894 !important;
}

/* Login */

@media screen and (min-width: 770px) {
	.masteriyo-login {
    margin-right: 20px;
}
}

@media screen and (max-width: 770px) {
	.masteriyo-login {
    margin-bottom: 20px;
}
}

body.page-id-8 h1.entry-title {
  background-color: #f8ca96 !important;
}

section.masteriyo-login,
section.masteriyo-signup {
  background-color: rgba(248, 202, 150, 0.1) !important;
  border-radius: 20px;
  color: #252b61 !important;
}

.masteriyo-title {
  color: #252b61 !important;
  font-weight: 600;
}

.masteriyo-btn {
  background-color: #f8ca96 !important;
  border: none !important;
  border-radius: 20px !important;
  color: #252b61 !important;
  font-size: 18px !important;
}

.masteriyo-btn:hover {
  background-color: #252b61 !important;
  color: #FFFFFF !important;
}

input,
textarea,
select {
  border-color: #252b61 !important;
  border-radius: 20px !important;
}

.masteriyo-login--wrapper {
  width: 420px !important;
  max-width: 100% !important;
  margin: 0px auto !important;
  flex: inherit !important;
}

.masteriyo-link-primary {
  color: #252b61 !important;
}

.masteriyo-login-form-wrapper {
  border: none !important;
}

@media screen and (min-width: 1024px) {
.horizontal-courses .masteriyo-course--img-wrap {
    width: 293px;
    height: 273px !important;
}

.horizontal-courses .masteriyo-course-item--wrapper.masteriyo-course--card {
    display: flex;
}

.horizontal-courses .masteriyo-course--content {
    width: calc(100% - 293px);
}
}

@media screen and (max-width: 1385px) {
    body div#contact-form-modal > .uk-modal-dialog {
        transform: translate(0, 9%) !important;
    }
}


.article-text-1 .elementor-post.category-noticia-destacada .elementor-widget-text-editor {
    display: none !important;
}

.article-text-2 .elementor-post.category-noticia-destacada .elementor-widget-text-editor {
    max-height: 32rem;
    overflow: hidden;
    color: #252b61;
}