/**
 * Theme Name:     CPLR ODK FantasticWeb.bg
 * Author:         FanstaticWeb.bg
 * Template:       histudy
 * Text Domain:	   cplr-odk-fantasticweb-bg
 * Description:    CPLR ODK Petrich city
 * Theme URI:      https://fantasticweb.bg
 * Author URI:     https://fantasticweb.bg
 * Version:        1.0.0
 */

/* Mobile */
@media (max-width: 1024px) {
body .elementor .rbt-gallery img {
    height: 135px;
    object-fit: fill;
	padding: 5px;
}	
}
@media only screen and (min-width: 1200px) and (max-width: 1599px) {
    body .rbt-header .mainmenu-nav .mainmenu > li > a {
        padding: 0 9px;
        font-size: 15px !important;
    }
}

@media (max-width: 767px) {
	body.home .rbt-team-area .container .g-5 .col-lg-7{
		order: 2 !important;
	}
	
	body.home .rbt-team-area .container .g-5 .col-lg-5{
		order: 1 !important;
	}
}	

body .elementor-element.elementor-element-79c230d .default-callto-action-overlap {
    padding-top: 100px;
}

body.archive .rbt-blog-area.rbt-section-overlayping-top.rbt-section-gapBottom.style-2 {
    margin: 0;
}

body .rbt-btn.rbt-marquee-btn.marquee-auto span {
    animation: btnTxtMarqueeX 3.5s linear infinite;
    white-space: nowrap;
}

body header.rbt-header.rbt-header-1 .logo {
    padding: 0;
}
body .rbt-header .logo a img {
	max-height: 75px;
}
.post-thumbnail {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
}

body .logo-dark-mode,
body.home .rbt-banner-1 .content .banner-card {
	display: none !important;
}

.post-thumbnail figure {
    width: 100%;
    text-align: center;
    margin-bottom: 15px; /* Adds space between the image and the text */
}

.post-thumbnail img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
body:not(.rtl) .elementor-14302 .elementor-element.elementor-element-6e67249 {
    right: 0px;
    height: 100vh;
}
body .rb-top-popular-tab-online-academy {
    background-color: transparent;
    position: inherit;
    overflow: hidden;
}
body .elementor-14302 .elementor-element.elementor-element-58c075c > .elementor-widget-container {
    background-color: transparent;
    padding: 0% 0% 0% 0%;
    background-image: none;
}
body .bg-color-white {
    background: #ffffff00!important;
}
body .grid-metro3 .maso-item {
    padding: 0;
}
.post-thumbnail + p {
    clear: both; /* Ensures text doesn't wrap around the image */
    text-align: center;
    width: 100%;
}

.rbt-gallery img {
    width: 100% !important;  /* Ensures images take full width of the container */
    height: 300px !important; /* Set a fixed height */
    object-fit: fill !important; /* Ensures images fill the space without distortion */
    display: block !important;
}

body .left-text-part{
	display: none !important;
}


.home .elementor-element-f822587 {
	display: none !important;
}

body .rbt-card .rbt-card-body .rbt-card-title.no-meta-img {
    height: 130px !important;
}

body .rbt-card .rbt-card-body .rbt-card-title {
    height: 50px;
}
body .rbt-card .rbt-card-body .rbt-card-title {
    font-size: 20px;
}

body .elementor-15890 .elementor-element.elementor-element-e182806 {
    --display: black;
}

body .rbt-flipbox {
    display: flex;
    flex-direction: column;
    height: 590px;
}

.rbt-flipbox-front .content .rbt-list-style-3 {
    height: 240px;
}


/* Documents images same size */
/* Target only images inside the specified element */
body .elementor-element-d927808 .rbt-card-img img {
    height: 350px !important; /* Set a fixed height */
    object-fit: cover; /* Ensures images maintain aspect ratio and fill the space */
}
/* Blog same size */

body .elementor-post__title {
    font-size: 20px; /* Standardized title size */
    line-height: 1.3;
    overflow: hidden; /* Prevents text overflow */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limits title to 3 lines */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis; /* Adds "..." if text is too long */
    word-break: break-word;
    height: 80px;
}
body .elementor-post__text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px; /* Ensures uniform height */
}

body .elementor-post__excerpt {
     flex-grow: 1;
     height: 130px; /* Adjust this value to control the excerpt height */
     overflow: hidden;
     display: -webkit-box;
     -webkit-line-clamp: 4; /* Limits to 4 lines */
     -webkit-box-orient: vertical;
     text-overflow: ellipsis;
}

body .elementor-post__read-more {
     margin-top: auto; /* Keeps button at the bottom */
     white-space: nowrap; /* Prevents button text from wrapping */
}
body .rbt-card.variation-03 {
    margin: 5px;
}
body .rbt-card.variation-03 .card-information {
    display: flex;
    align-items: center;
    margin-top: 10px;
    align-content: center;
    flex-direction: column-reverse;
}
body .card-flag {
	padding-top: 20px;
}
body .rbt-card.variation-03 .card-information .card-count {
    max-height: 160px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-word;
    height: 140px;
    padding-left: 0;
}
body .rbt-banner-21 .title {
	font-size: 120px;
}
body .maso-item .card-flag:before {
    display: block;
    content: "⭐⭐⭐⭐⭐ 39 препоръки";
}

body .maso-item+.maso-item .card-flag:before {
    display: block;
    content: "⭐⭐⭐⭐⭐ 62 препоръки";
}

body .maso-item+.maso-item+.maso-item .card-flag:before {
    display: block;
    content: "⭐⭐⭐⭐⭐ 22 препоръки";
}

body .maso-item+.maso-item+.maso-item+.maso-item .card-flag:before {
    display: block;
    content: "⭐⭐⭐⭐⭐ 58 препоръки";
}

body .maso-item+.maso-item+.maso-item+.maso-item+.maso-item .card-flag:before {
    display: block;
    content: "⭐⭐⭐⭐⭐ 45 препоръки";
}

body .maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item .card-flag:before {
    display: block;
    content: "⭐⭐⭐⭐⭐ 31 препоръки";
}

body .maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item .card-flag:before {
    display: block;
    content: "⭐⭐⭐⭐⭐ 27 препоръки";
}

body .maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item .card-flag:before {
    display: block;
    content: "⭐⭐⭐⭐⭐ 55 препоръки";
}

body .maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item .card-flag:before {
    display: block;
    content: "⭐⭐⭐⭐⭐ 39 препоръки";
}

body .maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item .card-flag:before {
    display: block;
    content: "⭐⭐⭐⭐⭐ 12 препоръки";
}


body .maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item .card-flag:before {
    display: block;
    content: "⭐⭐⭐⭐⭐ 18 препоръки";
}

body .maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item .card-flag:before {
    display: block;
    content: "⭐⭐⭐⭐⭐ 21 препоръки";
}

body .maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item+.maso-item .card-flag:before {
    display: block;
    content: "⭐⭐⭐⭐⭐ 29 препоръки";
}
body .rbt-card .rbt-card-img a img {
    height: 250px !important;
}
body .meta-list li .author-thumbnail {
    background: url(https://cplr-odkpetrich.bg/wp-content/uploads/2025/03/favicon.png) no-repeat;
    background-size: 90%;
    background-position: 0 0;
    height: 45px;
    width: 100px;
}
body .breadcrumb-image-container.breadcrumb-style-max-width .meta-list li .author-thumbnail img {
    width: 0px;
}