/*
 Theme Name:   Happy Rider Child Theme
 Theme URI:    https://happy-rider.ancorathemes.com/
 Description:  Happy Rider Child Theme
 Author:       AncoraThemes
 Author URI:   http://ancorathemes.com/
 Template:     happy-rider
 Version:      1.0
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  happy-rider
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */
.wpml-ls-statics-footer.wpml-ls.wpml-ls-legacy-list-horizontal, .otgs-development-site-front-end {
    display: none!important;
}
/* From Custom CSS WP */
.post_meta.post_meta_other {
    display: none!important;
}
.milestone-services .category-milestones .post_header_wrap_style_style-6.with_featured_image img {
	width:100%
}

.milestone-services .category-milestones .post_header_wrap_style_style-6.with_featured_image .post_meta_other{
	display:none;
}

.milestone-services .category-milestones .post_header_wrap_style_style-6.with_featured_image  .post_header{
	text-align:center;
}

.milestone-services .category-milestones .sc_services_item_title,
.post_meta_rec span {
	text-transform: uppercase;
}

.milestone-services .category-milestones .post_footer.post_footer_single{
	display:none;
}
.milestone-services .category-milestones .widget.widget_contacts{
	display:none;
}
.sidebar.widget_area.right.sidebar_below .widget.widget_contacts{
	display:none;
}

.milestone-services .category-milestones .post_meta.post_meta_categories{
	margin-top: 35px;
}
.cr-layer-ovelap {
	margin:auto;
	margin-top: -50px;
	height: 70px;
}

.milestone-services .category-milestones .sc_services_item_info {
	background-color: #F0F0ED;
	margin: 10px;
  padding: 20px;
}
.milestone-services .category-milestones .sc_services_item_subtitle {
	display:none;
}
.milestone-services .category-milestones .sc_services_item_header {
	min-height: 65px;
}
.milestone-services .category-milestones .sc_services_item_content
{
		overflow: hidden;
    /*text-overflow: ellipsis;*/
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient:vertical;
	
}
.category-milestones .post_header_single {
	text-align:center;
}
.milestone-services .post_meta_other {
	display: none;
}

.category-milestones .post_meta_categories {
	padding-top:60px;
}

.category-milestones .post_meta.post_meta_single {
	display: none;
}

.category-milestones .post_header_single .post_meta_other {
	display: none;
}

.category-milestones .post_header_single .post_title.entry-title {
	text-transform:uppercase;
}
.sidebar.widget_area.right.sidebar_below.sidebar_default.scheme_default {
	padding-top: 70px;
}

.profile-media-spotlight .sc_blogger_item_title {
	text-align: center;
	text-transform: uppercase;
}

.profile-media-spotlight  .post_meta_item.post_date a {
	text-transform: uppercase;
	color: #C5B072!important;

}
.profile-media-spotlight .sc_blogger_item_excerpt
{
		overflow: hidden;
    /*text-overflow: ellipsis;*/
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient:vertical;
	
}
.profile-media-spotlight .sc_blogger_item_meta.post_meta {
	text-align: center;
}
.profile-media-spotlight .sc_blogger_item_title.entry-title {
	min-height:100px;
}

.profile-media-spotlight  .sc_blogger_item_excerpt,
.profile-media-spotlight 
.sc_blogger_item_button.sc_item_button
{
	text-align: center;
}
.elementor-element-36a57277 {
	background:#FFFFFF;
}
.page-id-21810 .page_content_wrap {
   padding-top: 0rem!important;
}

/* MENU */
header .sc_layouts_menu_nav>li ul:not(.sc_item_filters_tabs).animated {
    top: 50px;
}
header.top_panel_custom_header-fullwidth-bar-white-logo.without_bg_image.scheme_light {
    z-index: 9!important;
}


/* MEDIA QUERY */

/* Mobile */
@media only screen and (max-width: 767px){
    .page-id-21810	.elementor-element-ff1a944 .elementor-heading-title {
    	 line-height: 1.3;
        word-spacing: 100vw;
    }
	.profile-media-spotlight .sc_blogger_item_title.entry-title {
	    min-height: initial;	
	}
}

@media only screen and (min-device-width: 472px) and (max-width: 786px) {
    .page-id-21597	.page_content_wrap  {
        padding-top: 0.04rem!important;
	}
	.page-id-21810 .elementor-element-2997082 {
		display: none;
	}
	.page-id-21810 .elementor-widget-heading { 
		word-spacing: 9999999px; 
	}
}

@media only screen and (max-width: 960px)  {
    .page-id-21597	.page_content_wrap  {
        padding-top: 0.8rem!important;
	}
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .milestone-services	.sc_services_item_title.entry-title {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }	
    	
    .milestone-services .category-milestones .sc_services_item_header {
        min-height: 95px;
    }	
}

/* From Additional CSS WP */


.milestone-services .category-milestones .sc_services_item_info {
    background-color: #F0F0ED;
    margin: 0!important;
    padding: 20px;
}
.milestone-services .sc_services_slider .swiper-slide {
	padding-right:15px;
}
.milestone-services .sc_services_slider .swiper-slide::last-child {
	margin-right:0;
}

.milestone-services .sc_services_item_content {
	min-height:136px;
}

.milestone-services .category-milestones .sc_services_item_header {
    min-height: 101px;
}
.category-milestones .post_featured img {
    width: 100%;
}

.category-milestones h1.post_title.entry-title {
	margin-top: 4rem;
}

@media (min-width:1200px) and (max-width:1300px) {
	 .section-milestones .category-milestones h4.entry-title {
		min-height: 98px;
	}
}

@media (max-width: 915px){
	.milestone-services .category-milestones .sc_services_item_header {
    min-height: 72px;
		}
	
	.milestone-services .sc_services_item_content {
    min-height: 143px;
			}
}
/* From Additional CSS WP */

/* MIX CUSTOM HOME */

.d-none, .logo-ar, .text-ar{display:none!important;}
.bg-transparent{background:transparent!important;}
.sc_layouts_logo_text:hover, .sc_layouts_logo:hover .logo_text {
    color: #C4B073 !important;
}
.d-flex .e-con-inner {
    flex-wrap: initial!important;
}
.testimonialWrap{
    
}
.testimonialWrap svg{
    width:50px!important;
}
.tertmonialSection .sc_testimonials_item_author{
    display:none!important;
}
.sc_testimonials_simple [class*="column"] .sc_testimonials_item_content:before, .sc_testimonials_simple .sc_testimonials_item_content:before{
    display:none!important;
}
.sc_testimonials_item_content p{
    color:#fff;
}
.fc-white{color:#fff!important;}
.fc-white span:before{
    color:#fff!important;
}
.text-center{
    text-align:center!important;
}
.heading{
    font-family: 'alga',serif!important;
}
.logo-main a span {
    letter-spacing: 0.4rem;
    font-weight:500;
}

.slider_outer .slider_pagination_wrap .swiper-pagination-bullet.swiper-pagination-bullet-active, .slider_outer .slider_pagination_wrap .swiper-pagination-bullet:hover{
    background: #C4AF72;
    border-color: #C4AF72;
}
.slider_outer .slider_pagination_wrap .swiper-pagination-bullet{
    background: #F0F0ED;
    border-color: #F0F0ED;
}
.blogWrapper .post_title{text-transform:uppercase!important;}
.threeWords .sc_testimonials_item_author{display:none!important;}


/* Blog */
.post_meta_rec span{
    background-color: #C4B073;
    color: #ffffff!important;
    padding: 3px 10px 4px;
    font-family: 'alga',serif;
}
.page_content_wrap, .remove_margins .page_content_wrap {
    padding-top: 3rem!important;
}
.single .page_content_wrap{padding-top: 0!important;}
.home .page_content_wrap{
    padding-top: 0rem!important;
}
.blog .page_content_wrap .sec-heading, .category .page_content_wrap .sec-heading, .page .page_content_wrap .sec-heading{
    letter-spacing:0.5rem;
        margin-top: 20px;
}
.menu-blog-menu-container{text-align: center;margin-top:50px;}
.menu-blog-menu-container ul li{display:inline-block;}
.menu-blog-menu-container ul li a{
    font-size:2rem;font-family:'alga', serif;text-transform:uppercase;margin-right:2rem;
}
@media screen and (max-width: 767px) {
    .menu-blog-menu-container ul li a {
        font-size: 1.2rem;
        margin-right: 1rem;
    }
}
.menu-blog-menu-container ul li a:before{
    display:none!important;
}
.single_style_style-3 .page_content_wrap {
    padding-top: 0!important;
}

.home .post_layout_excerpt .post_title a {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    line-clamp: 2;
    -moz-line-clamp: 2;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    white-space: normal;
}

/* HERO */

@media screen and (max-width: 991px) {
    .HeroTextWrap {
        top: -21rem;
    }
}
.menu_mobile_fullscreen a span.logo_text{text-transform: uppercase;
    letter-spacing: 0.5rem;
    width: 190px;}
    .socials_mobile{display:none!important;}
.menu-blog-menu-container .current-menu-item a {
    border-bottom: 1px solid #C5B072;
    color: #C5B072;
}
    
/* Gallery */
.galleryWrap figure {
    margin-bottom: 30px!important;
}
.galleryWrap figcaption {
    overflow: visible;
    display: inline-block;
    padding: 20px!important;
}
@media screen and (max-width: 660px) {
    .galleryWrap .gallery.gallery-columns-3 .gallery-item{
        width: 100% !important;
    }
}

@media screen and (max-width: 767px){
    #menu-blog-menu li {
      display: none;
      cursor: pointer;
      padding: 5px 10px;
      border-top: 1px solid black;
    }
    
    #menu-blog-menu li:first-child {
      display: block;
      border-top: 0px;
    }
    
    #menu-blog-menu {
      border: 1px solid black;
      display: inline-block;
      padding: 0;
      border-radius: 4px;
      position: relative;
      width: 100%;
    }
    
    #menu-blog-menu li:hover {
      background-color: #ddd;
    text-decoration:none
    }
    #menu-blog-menu li a{
      color: #000!important;
      text-decoration: none!important;
      border-bottom: 0;
    }
    #menu-blog-menu li:first-child:hover {
      background-color: transparent;
    }
    
    #menu-blog-menu.open li {
      display: block;
    text-decoration:none
    }
    
    #menu-blog-menu:before {
      position: absolute;
      top: 5px;
      right: 15px;
      content: "\2193";
    }
    
    #menu-blog-menu.open:before {
      content: "\2191";
    }
}

/* Gallery Page */
.gallery-icon.landscape img, .gallery-icon.portrait img{
    height: 350px;
    object-fit: cover;
    object-position: top center;
}

@media screen and (max-width: 1200px){
    .gallery-icon.landscape img, .gallery-icon.portrait img{height: 280px;}
}
@media screen and (max-width: 767px){
    .gallery-icon.landscape img, .gallery-icon.portrait img{height: 300px;}
}
.elementor-slideshow__footer, .elementor-slideshow__header {left: -70px;}
.elementor-slideshow--ui-hidden .elementor-slideshow__footer, .elementor-slideshow--ui-hidden .elementor-slideshow__header, .elementor-slideshow__header>i, .elementor-slideshow__title{
  opacity: 1;
  color: #000;
}


/* Gallery New Custom */
.galleryWrap .col-md-4 p {
    font-size: 16px;
    line-height: 22px;
    padding: 0 3%;
    padding-top: 12px;
}

.galleryWrap .row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.galleryWrap .col-md-4 {
    width: 30.33%;
    margin-bottom: 20px;
    padding: 0 1%;
    margin-left: 4px;
}
.galleryWrap .col-md-4 a {
    display: block;
    overflow: hidden;
    height: 328px;
}

.galleryWrap .col-md-4 img {
    min-height: 100%;
    object-fit: cover;
}
@media screen and (max-width: 812px){
    .galleryWrap .col-md-4 {
        width: 47.33%;
        margin-left: -5px;
    }
}
@media screen and (max-width: 460px){
    .galleryWrap .col-md-4 {
        width: 100%;
        padding: 0;
        margin-left: -10px;
    }
}

/* From Subharsree CUSTOM */
@media (min-width:1200px) and (max-width:1300px) {
	 .section-milestones .category-milestones h4.entry-title {
		min-height: 94px;
	}
}

/* CUSTOM LANGUAGES CSS */
.single .show_comments_single, .logo-ar{display:none!important;}
.footer_wrap {
    position: relative !important;
}
/* Pointer Event Stop */
.category-interviews .post_layout_excerpt .post_title a {
    cursor: auto;
    pointer-events: none;
}
/* D None */
.category-interviews .post_layout_excerpt .post_header + .post_content {
    display: none;
}
.category-interviews .post_layout_excerpt .post_featured.hover_link .link {
    visibility:hidden;
}
.header_position_under .top_panel_mask{background-color:rgba(0,0,0,0);}
.category .search_header_wrap img, .page .search_header_wrap img{filter: invert(1);}