/*
Theme Name:     Foxiz child
Template:      	foxiz
Theme URI:      https://foxiz.themeruby.com
Author:         Theme-Ruby
Author URI:     https://themeforest.net/user/theme-ruby/portfolio/
Description:    Make your modifications to Foxiz in this child theme.
Version:        1.0
Tags:           custom-background, custom-menu, featured-images, theme-options, custom-colors, translation-ready, threaded-comments, translation-ready
License:        Themeforest Licence
License URI:    https://themeforest.net/licenses/standard
*/

/* Your CSS code goes here
-------------------------------------- */


body.single-post .cta-top {
    margin: 0 0 15px;
}

body.single-post .cta-top + .elementor-element .e-con-inner {
	padding: 0;
}

body.single-post .cta-bottom {
    margin: -5px 0 0;
}

body.single-post .cta-middle p {
        margin-block-end: var(--cp-spacing, 1.5rem);
}

img.wpml-ls-flag {
	width: 24px;
	height: auto;
}

.hovering-bw .p-wrap:hover .p-featured img {
	filter: none;
	-webkit-filter: none;
}

.single-header-inner {
	overflow: hidden;
}

.single-standard-3 .single-header-inner:before, 
.single-standard-4 .single-header-inner:before {
    padding-bottom: 10%;
}

.leyka-tpl-star-form .stripe-card.card-mir {
	display: none !important;
}

.leyka-tpl-star-form .paypal-frontend {
    max-height: 50px !important;
    order: -1;
    margin-right: -7px !important;
}

.dark-mode-slide-btn svg {
	width: 18px;
	height: 18px;
}

div[id*="leyka-pf-"] {
	margin: 0;
}

.partner-blocks a img {
	width: 100%;
}

/*.partner-blocks a {
	color: #0038B8 !important;
	text-decoration: underline;
}

.partner-blocks a:hover {
	text-decoration: none;
}*/

.wp-playlist-item {
	padding: 3px !important;
	display: flex;
	align-items: center;
}

.wp-playlist-item .wp-playlist-item-length {
	position: relative;
	margin: 0 0 0 auto;
}

.wp-playlist-item .wp-playlist-caption .number {
    display: inline-block;
    width: 20px;
    text-align: right;
}

/*.slider-footer .slider-next {
	position: absolute;
	right: 0;
	top: 0;
	z-index: 2;
	height: 100%;
	width: 70px;
	background: rgba(0,0,0,0) linear-gradient(-90deg, #fff 0%, rgba(255, 255, 255, 0) 100%) 0% 0% no-repeat padding-box;
}*/

.slider-footer .slider-next:before, 
.slider-footer .slider-prev:before {
	display: block;
	width: 40px;
	height: 40px;
	content: '';
	cursor: pointer;
	background: url('/wp-content/themes/foxiz-child/images/arrow-next.svg') no-repeat center right transparent;
	background-size: contain;
}

.slider-footer .slider-prev:before {
	background-image: url('/wp-content/themes/foxiz-child/images/arrow-prev.svg');
}

/*.slider-footer .slider-prev {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 2;
	height: 100%;
	width: 70px;
	background: rgba(0,0,0,0) linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%) 0% 0% no-repeat padding-box;
}*/

body.single article div[data-elementor-type="wp-post"] .elementor-element {
	margin: 0;
	padding: 0;
}

.limited-text .elementor-widget-container {
	position: relative;
}

.limited-text {
	.read-more {
        position: absolute;
        width: 100%;
        height: 100px;
        background: linear-gradient(to top, #fff, transparent);
        left: 0;
        bottom: 0;
        z-index: 2;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;

        span {
        	font-weight: 700;
        	display: inline-block;
        	text-decoration: underline;
        	text-decoration-color: var(--g-color);
        	cursor: pointer;
        }

        span:hover {
        	color: var(--g-color);
        }
	}
}

.school-item .elementor-widget-image a {
	padding: 5px 10px;
	border-radius: 8px;
}

body[data-theme="dark"] {
	.limited-text {
		.read-more {
	        background: linear-gradient(to top, #191c20, transparent);
		}
	}

	.school-item .elementor-widget-image a {
		background-color: #fff;
	}
}

.limited-text.opened {
	max-height: 1000px !important;

	.read-more {
        display: none;
	}
}

#header-mobile .mobile-qview {
	display: none !important;
}

@media (width > 768px) {
    .p-gradient .p-highlight .overlay-inner {
        padding: 25px;
    }

	.main-featured-post,
	.main-featured-post .block-wrap, 
	.main-featured-post .block-wrap .block-inner, 
	.main-featured-post .block-wrap .overlay-holder, 
	.main-featured-post .block-wrap .overlay-holder .p-featured {
		height: 100%;
	}
}

@media (width <= 767px) {
	.mbnav-center .navbar-left, 
	.mbnav-center .navbar-right {
		width: 20%;
	}

	.mbnav-center .navbar-center {
		width: 60%;
	}

	.mobile-hidden {
		display: none;
	}

	.mobile-menu .sub-menu a {
		font-size: 16px;
	}

	body.single {
		.single-header {
			h2, 
			.single-meta {
				display: none;
			}
		}

		.cta-top {
			display: none;
		}
	}
}