/*
 Theme Name:   UAL Child
 Theme URI:    https://iqe.al
 Description:  UAL Child
 Author:       IQE
 Author URI:   http://iqe.al
 Template:     ual
 Version:      1.0.162
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 */

:root {
    /* --font-primary: "Canela trial", sans-serif; */
    --font-primary: "Aachen", sans-serif;
}

@font-face {
    font-family: "Aachen";
    src: url('/wp-content/uploads/fonts/Aachen-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.hfe-site-logo .wp-caption {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hfe-site-logo figcaption {
    font-size: 1.2em !important;
}

.hfe-site-logo figcaption::after {
    position: relative;
    content: "Trust the Professionals";
    font-size: 0.5em;
    top: 20px;
    display: block;
}

html[lang="sq"] .hfe-site-logo figcaption::after {
    content: "Besoni te Profesionistët";
}

/**
 * Homepage Scrolled and Inner Pages
 */
.widget-image-caption.wp-caption-text,
.hfe-site-logo figcaption::after {
    color: #ED1C24;
}

.sticky-header .widget-image-caption.wp-caption-text,
.sticky-header .hfe-site-logo figcaption::after {
    color: #ED1C24; /** Primary Red Color of UAL **/
}

.hfe-caption-width .widget-image-caption.wp-caption-text {
    font-style: normal !important;
}

/**
 * Homepage Not Scrolled
 */
.page-id-35 :not(.sticky-header) .widget-image-caption.wp-caption-text,
.page-id-35 :not(.sticky-header) .hfe-site-logo figcaption::after,
.page-id-20386 :not(.sticky-header) .widget-image-caption.wp-caption-text,
.page-id-20386 :not(.sticky-header) .hfe-site-logo figcaption::after {
    color: #FFFFFF;
}

.rts-header-after-position .e-con-inner {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

footer .e-con>.e-con-inner {
    max-width: 100% !important;
    padding-left: 20px;
    padding-right: 20px;
}

.hfe-site-logo figcaption {
    /* font-family: "Aachen", sans-serif; */
}

#top-to-bottom {
    border: 1px solid #FFFFFF !important;
}

.rtmega-menu-area ul.rtmega-megamenu {
    flex-wrap: nowrap;
    width: 100%;
}

.page-header {
    padding: 0 !important;
    min-height: initial !important;
}

.page-header > div {
    background-color: #0000008c;
    width: 100% !important;
    max-width: 100% !important;
}

/* Keep menu text and + icon on the same line 
.rtmega-menu-area ul.rtmega-megamenu > li > a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
*/

/* Sticky header logo text */
body:not(.page-id-35):not(.page-id-20386) #menu-ual-main-menu > .main-menu-item > a,
body:not(.page-id-20386):not(.page-id-35) #menu-ual-main-menu-albanian > .main-menu-item > a,
.page-id-35 .sticky-header .widget-image-caption.wp-caption-text,
.page-id-35 .sticky-header .hfe-site-logo figcaption::after,
.page-id-20386 .sticky-header .widget-image-caption.wp-caption-text,
.page-id-20386 .sticky-header .hfe-site-logo figcaption::after {
    color: #890C25; 
}

.rtmega-menu-container .vertical-expaned-menu-area .rtmega-megamenu > .menu-item > .menu-link {
    padding-left: 0px !important;
}

.rtmega-menu-area .mobile-menu-area .rtmega-menu-mobile-sidebar ul.rtmega-megamenu,
body.logged-in .rtmega-menu-area .mobile-menu-area .rtmega-menu-mobile-sidebar ul.rtmega-megamenu {
    padding-top: 5px;
    padding-bottom: 10px;
}

.rtmega-menu-container .desktop-menu-area .rtmega-megamenu .menu-item ul.sub-menu:not(.rtmegamenu-contents):not(.rtmegamenu-contents) {
    min-width: 250px !important;
    width: 250px !important;
}

body.page-id-35 .rev-img-home .rts__single--testimonial--text.des::after,
body.page-id-20386 .rev-img-home .rts__single--testimonial--text.des::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #333;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

body.page-id-35 .rev-img-home .rts__single--testimonial--text.des:hover::after,
body.page-id-20386 .rev-img-home .rts__single--testimonial--text.des:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.grid-faculty .rts__program--item {
    width: 100% !important;
    max-width: 100% !important;
}

.transparent-header .rtmega-menu-area.rtmega-menu-mobile-button-wrapper.enabled-mobile-menu rect {
    fill: #ffffff !important;
}

.sticky-header .transparent-header .rtmega-menu-area.rtmega-menu-mobile-button-wrapper.enabled-mobile-menu rect {
    fill: #000000 !important;
}

.hfe-caption-width {
    cursor: pointer;
}

.rts__single--member--thumb.thumbnail img {
    width: 100% !important;
    object-fit: cover !important;
}

footer .menu-text {
    font-weight: 600 !important;
}

footer .menu-link.main-menu-link span {
    font-weight: 400;
}

footer .menu-link.main-menu-link {
    font-size: 14px !important;
}

footer .rtmega-menu-container .vertical-expaned-menu-area .rtmega-megamenu > .menu-item > .menu-link {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

footer .rt-default-class .elementor-widget.elementor-widget-heading {
    margin-bottom: 0 !important;
}

footer .e-con-full.e-flex.rt-default-class.e-con.e-child {
    --widgets-spacing-row: 5px !important;
}

footer .rtmega-elelmentor-widget.menu-wrapper.rtmega-menu-container {
    margin-bottom: 15px !important;
    display: block;
}

.program-list.row .cat-thumb .cat-link-btn,
.page-id-20386 .elementor-element-4d01df39,
.reactheme-blog-details .bs-img, 
.reactheme-blog-details .blog-img, 
.reactheme-blog .bs-img, 
.reactheme-blog .blog-img, 
.blog .bs-img, 
.blog .blog-img,
.accordion-header:before,
.react-sideabr .widget:last-child,
.accordion-button::after,
.accordion-header:after,
.accordion-header:after,
.accordion-header:before,
.accordion-button::before,
.all-program-category .cat-link-btn,
footer .vertical_menu_active_icon {
    display: none !important;
}

.program-list.row .cat-thumb img {
    height: 250px !important;
    width: 100% !important;
    object-fit: cover;
}

.partners-logo  img {
   object-fit: contain; height: 100px; width: 100px
}

#programTableItems .single-plan__content td p {
    margin-bottom: 0 !important;
}

#programTableItems .single-plan {
    margin-bottom: 0 !important;
}


.accordion-header {
	padding: 0px !important;
}

/**
 * Departament height box home 
 */
.single-cat-item .cat-meta {
    height: 118px !important;
}

.study-program-sidebar {
    width: 100% !important;
}

.study-program-sidebar .count-number.rt-clip-text {
    font-size: 26px;
}

.study-program-sidebar .rts-event-section-content .single-event-content {
    padding-left: 10px !important;
}

.study-program-sidebar .rts-event-section-content .single-event::before {
    left: 15%;
}

.study-program-sidebar .rts-event-section-content .single-event {
    gap: 0;
}

.study-program-sidebar .rts-event-section-content .single-event-counter {
    padding-right: 10px;
}

.study-program-footer .blog-style-seven.blog-item img {
    width: 300px !important;
    height: 250px !important;
    object-fit: cover !important;
}

.homepage-video-cover::before {
    display: none !important;
}

/*student reviews in home*/
.rev-img-home img{
     object-fit: cover;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    padding: 2px;
    border: 1px solid black;
}
.rts__single--testimonial--text {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/*plus sign in menu al*/
.rtmega-menu-area .desktop-menu-area ul.rtmega-megamenu .menu-item-has-children .menu-link .submenu-parent-icon svg {
    display: none;
}

.widget-image-caption.wp-caption-text, .hfe-site-logo figcaption::after {
    color: #ED1C24;
}

header.sticky-header .rtmega-menu-container .desktop-menu-area > .rtmega-megamenu > .menu-item > .menu-link {
    color: #ED1C24 !important;
}

.page-id-35 .rts__single--testimonial--text.des,
.page-id-20386 .rts__single--testimonial--text.des {
    cursor: pointer;
}

html[lang="sq"] .sub-menu .menu-text span {
    text-transform: none !important;
}

@media (min-width: 1180px) and (max-width: 1425px) {
    .website-header {
        gap: 0 !important;
    }

    .website-header .elementor-hidden-mobile {
        width: 15% !important;
    }

    .website-header > div:nth-child(1) {
        width: 35%;
    }
}

@media (min-width: 1024px) and (max-width: 1230px) {
    #menu-ual-main-menu > li > a.menu-link.main-menu-link {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .website-header {
        gap: 0 !important;
    }

    .elementor-hidden-mobile {
        width: 15% !important;
    }

    .hfe-site-logo figcaption {
        font-size: 1em !important;
    }

    .desktop-menu > li > a > div.menu-text span {
        font-size: 14px !important;
    }

    .website-header > div:nth-child(1) {
        width: 37%;
    }
}

@media (min-width: 765px) and (max-width: 1024px) {
    #menu-ual-main-menu > li > a.menu-link.main-menu-link {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .website-header > div:nth-child(1) {
        width: 37% !important;
    }

    .website-header {
        gap: 0 !important;
    }

    .elementor-hidden-mobile {
        width: 15% !important;
    }

    .hfe-site-logo figcaption {
        font-size: 1em !important;
    }

    .desktop-menu > li > a > div.menu-text span {
        font-size: 14px !important;
    }
}

@media (max-width: 1400px) {
    .elementor-element-5aec772d {
        width: 400px !important;
    }
}

@media (min-width: 980px) and (max-width: 1600px) {
    /** Hide Home menu item in small screens **/
    #nav-menu-item-14878 {
        display: none !important;
    }

    .rtmega-menu-area ul.rtmega-megamenu > .menu-item {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (min-width: 981px) {
    #menu-ual-main-menu > li > a .submenu-parent-icon,
    #menu-ual-main-menu-albanian > li > a .submenu-parent-icon { 
        display: none !important;
    }

    .rtmega-menu-container .vertical-expaned-menu-area .rtmega-megamenu > .menu-item > .menu-link {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .rtmegamenu-contents.sub-menu.submenu a.menu-link.main-menu-link {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
        
    .transparent-header #menu-ual-main-menu > li > a.menu-link.main-menu-link,
    .transparent-header #menu-ual-main-menu-albanian > li > a.menu-link.main-menu-link {
        color: #ffffff !important;
    }

    .transparent-header #menu-ual-main-menu > li > a:hover,
    .transparent-header #menu-ual-main-menu-albanian > li > a:hover {
        color: #f4f0f0 !important;
    }

    .sticky-header #menu-ual-main-menu > li > a.menu-link.main-menu-link,
    .sticky-header #menu-ual-main-menu-albanian > li > a.menu-link.main-menu-link {
        color: #890C25 !important;
    }

    .rts__research--single--thumb img {
        height: 250px !important;
        border-radius: 15px !important;
    }

    .rts__single--event--thumb img {
        height: 300px !important;
    }
	

}

@media (max-width: 1180px) {
    ul.sub-menu .sub-menu-item.menu-item > a.menu-link.sub-menu-link {
        padding: 12px 0 12px 0 !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #890C25 !important;
    }

    ul.sub-menu .sub-menu-item.menu-item > a.menu-link.sub-menu-link a {
        color: #5b5b5b !important;
    }
}

@media (max-width: 980px) {
    .rtmega-menu-area .mobile-menu-area ul.rtmega-megamenu .menu-item.menu-item-has-children .rtmegamenu-contents.sub-menu {
        width: 100% !important;
        max-width: 100% !important;
    }

    .rtmega-menu-area .mobile-menu-area .rtmega-menu-mobile-sidebar {
        padding: 40px 18px 40px 18px;
    }

    #menu-ual-main-menu > li > ul > div > div > div > div,
    #menu-ual-main-menu-albanian > li > ul > div > div > div > div {
        padding-top: 0;
        padding-left: 0;
    }

    #menu-ual-main-menu > li > ul > div > div > div > div a.menu-link,
    #menu-ual-main-menu-albanian > li > ul > div > div > div > div a.menu-link {
        padding-left: 0 !important;
    }

    #menu-ual-main-menu .e-grid.e-con-full.rt-default-class.e-con.e-child,
    #menu-ual-main-menu-albanian .e-grid.e-con-full.rt-default-class.e-con.e-child {
        --e-con-grid-template-rows: repeat(1, 1fr) !important;
    }

    .rtmega-menu-area .mobile-menu-area .rtmega-menu-mobile-sidebar ul.rtmega-megamenu {
        padding: 0;
    }

    header .rt-default-class.e-con.e-child > .rt-default-class.elementor-widget.elementor-widget-heading {
        border-bottom: 1px solid #890C25 ;
    }

    .study-program-sidebar-shortcode {
        width: 100%;
    }
    
    .study-program-footer .blog-style-seven.blog-item img {
        width: 100% !important;
        height: 200px !important;
    }

    footer > div > div > div > div.e-con-inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
	
	/*before change (-49px) text overlay fix */
	#programTableItems .single-plan {
        margin-bottom: 0px !important;
	}

}

@media (max-width: 780px) {
    .hfe-site-logo figcaption {
        font-size: 1em !important;
    }
	
	.wpml-ls-legacy-list-horizontal .wpml-ls-flag {
        /* margin-right: 30px;
        margin-top: -131px; */
        max-width: unset;
	}
	
	.elementor-10170 .elementor-element.elementor-element-252e1faa {
        /* --padding-bottom: 0px !important; */
    }

    .wpml-ls-legacy-list-horizontal,
    .wpml-ls-legacy-list-horizontal a {
        padding: 0;
    }
}
