/*
Theme Name: DermatoAPP
Theme URI: https://www.dermatoapp.net/
Description: DermatoAPP Theme
Author: Suport Brebel
Author URI: https://brebel.beer
Template: masterstudy
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dtappltd
*/


body.theme-dtapp:not(.logged-in):has(div[data-elementor-id="10237"]) #colophon {
	padding-bottom: 280px;
}
body:not(.home) .dtapp-logos-footer{display:none!important}
body.theme-dtapp .container {
    max-width: 1360px !important;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

body.theme-dtapp .dtapp-search-wrapper {
    transform: translateY(-200%);
    overflow: hidden;
    opacity: 0;
    height:0px;
    transition: transform 0.5s, opacity 0.5s;
}

body.theme-dtapp.dtapp-search-open .dtapp-search-wrapper {
    opacity: 1;
    height:auto;
    transform: translateY(0%);
}

body.theme-dtapp .stm_lms_user_float_menu {
    display: none !important;
}
@media(min-width:767px) {
    body.theme-dtapp nav.hfe-nav-menu__layout-horizontal.hfe-nav-menu__submenu-arrow{width:100%!important}
}

body.theme-dtapp .breadcrumbs_holder,body.theme-dtapp .breadcrumbs_holder_empty{display:none;}
body.theme-dtapp .dtapp-home-grid .ms_lms_courses_card .ms_lms_courses_card_item_image {
    width: 100%!important;
    height: 100%!important;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    left: 0;
    top: 0;
}

body.theme-dtapp .dtapp-home-grid .ms_lms_courses_card .ms_lms_courses_card_item_image_link {
    position: relative;
    aspect-ratio: 16/9;
}
body.theme-dtapp .dtapp-home-grid .ms_lms_courses_card .ms_lms_courses_card_item_info {
    position: absolute;
    background: transparent!important;
    top: unset;
	  bottom:0;
    height:auto!important;
    transition: transform 0.5s, background 0.5s, opacity 0.5s;
    opacity: 0;
}

body.theme-dtapp .dtapp-home-grid .ms_lms_courses_card .ms_lms_courses_card_item {
    padding: 0px;
}
body.theme-dtapp .dtapp-home-grid .ms_lms_courses_card .ms_lms_courses_card_item:hover .ms_lms_courses_card_item_info_title {
    transform: translateY(0%);
}

body.theme-dtapp .dtapp-home-grid .ms_lms_courses_card.card-style-1 .ms_lms_courses_card_item_info_title {
    transform: translateY(200%);
}


body.theme-dtapp .dtapp-home-grid .ms_lms_courses_card .ms_lms_courses_card_item:hover .ms_lms_courses_card_item_info {
    background: rgba(255,255,255,0.5)!important;
    opacity: 1;
}


.dtapp-temario-grid {
}

body.theme-dtapp .dtapp-temario-grid  .ms_lms_courses_card_item {
	padding:0 clamp(0.5rem,0.5vw,0.5vw);
}
body.theme-dtapp .dtapp-temario-grid .ms_lms_courses_card_item .ms_lms_courses_card_item_info {
	padding:clamp(0.5rem,0.5vw,0.5vw)!important;
	margin-bottom:1rem;
}



body.theme-dtapp .ms_lms_course_search_box__search_input.search_button_inside input {
    background: #000!important;
    color: #fff!important;
    border-radius: 1rem!important;
    overflow: hidden;
}

body.theme-dtapp .course-access-notice {
    padding: 1rem;
    background-color: #eee;
    display:flex;
    flex-direction: column;
    align-items:center;
   
}
body.theme-dtapp .course-access-notice h3    {margin:0px;}
body.theme-dtapp .course-access-notice p {margin-bottom:0px;}

body.theme-dtapp .masterstudy-single-course-minimalistic{width:100%;max-width:100%;}
body.theme-dtapp .masterstudy-single-course-minimalistic__main{width:100%;max-width:100%;}

body.theme-dtapp .masterstudy-single-course-wishlist {display: none;}
body.theme-dtapp .masterstudy-single-course-share-button-modal__wrapper {width:90%;max-width:640px;}

body.theme-dtapp .masterstudy-single-course-minimalistic__info-wrapper {flex-direction: row!important;flex-wrap: nowrap;width: 100%;flex: 1;align-items: center;border:none}
body.theme-dtapp .masterstudy-single-course-minimalistic__info-wrapper-column {margin: 0;border: none;flex:1;}
body.theme-dtapp .masterstudy-single-course-minimalistic__info-block.masterstudy-single-course-minimalistic__info-block_instructor {margin: 0!important;border:none!important;}
body.theme-dtapp .masterstudy-single-course-minimalistic__info {margin: 0;border: none;padding: 0;}
body.theme-dtapp .masterstudy-single-course-minimalistic__buttons{flex:0;}
body.theme-dtapp .masterstudy-single-course-instructor__avatar{width:100%;}
body.theme-dtapp .masterstudy-single-course-instructor__avatar img{width:100%;max-width:64px;height:auto;max-height:initial;aspect-ratio:1;}

body.theme-dtapp .masterstudy-single-course-share-button__title,body.theme-dtapp .masterstudy-single-course-share-button__title:before {color: #242424;}
body.theme-dtapp .masterstudy-single-course-share-button__title:hover,body.theme-dtapp .masterstudy-single-course-share-button__title:hover:before {color: #000000;}
body.theme-dtapp .masterstudy-single-course-complete-block.masterstudy-single-course-complete-block_in-progress{display:none!important}
body.theme-dtapp .masterstudy-single-course-complete-block {display: none !important;}
body.theme-dtapp .masterstudy-single-course-minimalistic__desc + .masterstudy-single-course-minimalistic__info {margin-top: 1rem !important;}
body.theme-dtapp .masterstudy-single-course-instructor{pointer-events:none}
body.theme-dtapp .masterstudy-single-course-instructor .masterstudy-single-course-instructor__title{font-size:22px;color:#000000;font-weight:700;margin-bottom:0.5rem;}
body.theme-dtapp .masterstudy-single-course-instructor .masterstudy-single-course-instructor__name{text-transform:uppercase;}
body.theme-dtapp .masterstudy-single-course-categories {display: none;}

@media (max-width:767px){
body.theme-dtapp nav.hfe-nav-menu__layout-horizontal.hfe-nav-menu__submenu-arrow.hfe-dropdown {position: fixed;width: 100% !important;margin-top: 2rem !important;left:0px!important}
.elementor-10381 .elementor-element.elementor-element-760e6f5 .ms_lms_course_search_box__popup {background-color: #000000BF;align-items: flex-start;padding: 15rem 0;}
}





body.theme-dtapp li.masterstudy-curriculum-list__item:hover {
    background: #83bce5;
}
body.theme-dtapp li.masterstudy-curriculum-list__item:hover .masterstudy-curriculum-list__title {
    color: #000000 !important;
}

body.theme-dtapp .masterstudy-curriculum-list a.masterstudy-curriculum-list__link:hover {cursor: pointer;}
body.theme-dtapp .masterstudy-single-course-minimalistic__cta { display: none;}
body.theme-dtapp .masterstudy-single-course-minimalistic__buttons {display: none;}
body.theme-dtapp .masterstudy-course-player-curriculum__progress {display: none;}
body.theme-dtapp .masterstudy-curriculum-accordion__section-count {display: none;}
body.theme-dtapp .masterstudy-curriculum-accordion__check {display: none;}
body.theme-dtapp .masterstudy-curriculum-accordion__meta-wrapper {display: none;}
body.theme-dtapp .masterstudy-course-player-header__back {display: none;}
body.theme-dtapp .masterstudy-course-player-header__curriculum {display: none;}
body.theme-dtapp .masterstudy-course-player-header__login {display: none;}
body.theme-dtapp .masterstudy-course-player-curriculum {width: initial;}
body.theme-dtapp .masterstudy-course-player-header__course {padding-left: 1rem;}

body.theme-dtapp .masterstudy-curriculum-accordion-gallery h4{text-transform: uppercase;}

.masterstudy-curriculum-accordion__gallery__popup {position: fixed;left: 50%;width: 100%;z-index: 10000;top: 50%;transform: translate(-50%, -50%);width: 80%;    background: #ccc;
    padding:0rem;
    background-color:#eee;
    border-radius: 1rem;
    max-height: 60%;
    overflow: auto;
    border:1px solid #666;
}

.masterstudy-curriculum-accordion__gallery__popup .ms-course-gallery-container{width:100%;max-height:100%;overflow:auto;}


/* galería */
body.theme-dtapp .ms-course-gallery-container {margin: 20px 0;padding: 20px;background: #f9f9f9;border-radius: 8px;}
body.theme-dtapp .ms-gallery-grid {display: grid;grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));gap: 20px;margin-bottom: 20px;}
body.theme-dtapp .ms-gallery-item {background: white;border-radius: 8px;overflow: hidden;box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);transition: transform 0.3s, box-shadow 0.3s;}
body.theme-dtapp .ms-gallery-item:hover {transform: translateY(-5px);box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);}
body.theme-dtapp .ms-gallery-link {display: block;text-decoration: none;}
body.theme-dtapp .ms-gallery-image {position: relative;overflow: hidden;aspect-ratio: 4/3;}
body.theme-dtapp .ms-gallery-image img {width: 100%;height: 100%;object-fit: cover;transition: transform 0.5s;}
body.theme-dtapp .ms-gallery-item:hover .ms-gallery-image img {transform: scale(1.05);}
body.theme-dtapp .ms-gallery-overlay {position: absolute;top: 0;left: 0;right: 0;bottom: 0;background: rgba(0, 0, 0, 0.5);display: flex;align-items: center;justify-content: center;opacity: 0;transition: opacity 0.3s;}
body.theme-dtapp .ms-gallery-item:hover .ms-gallery-overlay {opacity: 1;}
body.theme-dtapp .ms-zoom-icon {color: white;font-size: 24px;background: rgba(0, 124, 186, 0.8);width: 50px;height: 50px;border-radius: 50%;display: flex;align-items: center;justify-content: center;}
body.theme-dtapp .ms-gallery-caption {padding: 12px 15px;font-size: 14px;color: #555;text-align: center;border-top: 1px solid #eee;}
body.theme-dtapp .ms-gallery-info {text-align: center;padding-top: 15px;border-top: 2px solid #ddd;color: #666;font-size: 14px;}
body.theme-dtapp .ms-gallery-info strong {color: #007cba;font-size: 18px;}
body.theme-dtapp .ms-gallery-info p {margin: 0;}

body.theme-dtapp .masterstudy-curriculum-accordion__gallery__popup .header {padding:1rem;display: flex;align-items: flex-start;justify-content: space-between;background-color:#eee;position:sticky;top:0;z-index:100;}
body.theme-dtapp .masterstudy-curriculum-accordion__gallery__popup .header h3 {margin: 0;}
body.theme-dtapp .masterstudy-curriculum-accordion__gallery__popup .header h3 > span {display:block;margin: 0;font-size:1rem;}
body.theme-dtapp .masterstudy-curriculum-accordion__gallery__popup .header .close {padding:0.5rem 1rem;background-color:#333;border:1px solid #666;color:#fff;border-radius:8px;}
body.theme-dtapp .masterstudy-curriculum-accordion__gallery__popup .header .close:hover,
body.theme-dtapp .masterstudy-curriculum-accordion__gallery__popup .header .close.closeing  {cursor:pointer;background-color:#ddd;color:#111;}