/*
Theme Name: Posty Child
Theme URI:  https://www.ictframe.com
Author:     Devendra Pali
Author URI: https://www.devendrapali.com.np
Template:   posty
Version:    1.0
License:    GNU General Public License v2 or later
*/

/* CUSTOM CSS  */
:root{
    --primary-blue:#4e62ad;
    --primary-red: #ef3226;
}

.default-btn, .mid-header-wrap .mid-header-right .user:hover, .tab-wrap .nav-item .nav-link.active, .post-carousel .swiper-arrow .swiper-nav:hover, .news-carousel .swiper-arrow .swiper-nav:hover, .top-area .right-btn .default-btn:hover, .categorie-wrap .categorie-list li:before, .carousel-post .video-btn a, .thumb-carousel-wrap .swiper-slide.swiper-slide-thumb-active .thumb-content .thumb-video, .carousel-thumb-post .thumb-content .thumb-video:hover, ul.wp-block-latest-posts li:before, .scroll-to-top, .sidebar-content .sidebar-social li a:after, .main-menu li li a:before, .main-menu li a:before, .site-preloader .spinner, .header-2 .main-menu li li a:hover:before, .video-post .post-thumb .video-btn a, .blog-sidebar .widget_block li.wp-block-latest-comments__comment::before, .blog-sidebar ul.wp-block-categories-list.wp-block-categories li:before, #comments .form-submit input[type="submit"], .skills-items .skills-item .progress .progress-bar, .error-section .default-btn{
    background: var(--primary-blue) !important;
}

::selection {
    background-color: var(--primary-blue);
    color: #fff;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red);
}

.post-list li span a:hover {
    color: var(--primary-blue);
}

.elementor-location-header {
    position: sticky;
    top: 0;
    z-index: 99;
    background: #FFF;
}

.post-content h3 a {
    line-height: 1.5;
}

.home-side-posts .tab-wrap {
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
}
.post-author-box {
    background-color: #fafafa;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.post-content .card-btn.cat-color-bg,
.post-carousel-content .card-btn.cat-color-bg{
    background: var(--primary-blue)!important;
}

.post-content .card-btn,
.post-carousel-content .card-btn{
    clip-path: unset;
    border-radius: 50px;
}

.post-content .card-btn:after,
.post-carousel-content .card-btn:after{
    background-color: unset;
}

.post-content .card-btn:hover,
.post-carousel-content .card-btn.cat-color-bg:hover{
    color: #fff!important;
    background: var(--primary-red) !important;
}


.post-carousel-wrap .post-carousel .swiper-arrow {
    right: 50%;
	top: auto;
    transform: translate(-50%,-50%);
    bottom: -15px;
    display: flex;
    width: 80px;
    left: 50%;
    gap: 0 10px;
}

.bg-dark-new .section-heading .section-title span {
    background-color: #f8faff;
    line-height: 1.2;
}

body.page:not(.home) .main-container {
    max-width: 1130px;
    margin: 0 auto;
	padding-top:40px;
    padding-bottom: 40px;
}

.archive .elementor-posts .elementor-post__card .elementor-post__title {
    line-height: 1.2;
}

 .single-post .elementor-widget-posts-block-list-item-grid-two .top-area .default-btn {
    color: #FFF !important;
}
	
.single-post .elementor-post-navigation {
    gap: 30px;
}

 .single-post  .heateor_sss_sharing_container a {
    margin: 5px 0;
}

.sub-post-grid .tpg-el-main-wrapper .tpg-el-image-wrap img {
    aspect-ratio: 4/3;
}

.home-featured-posts .rt-img-holder.tpg-el-image-wrap {
    width: 100%;
}

@media screen and (min-width: 768px){
.elementor-location-header .elementor-element.header-menu-row{
		width: 16.25% !important;
        position: relative !important;
		padding: 0;
		align-self: center;
	}
}
@media screen and (max-width:768px){
	
	h1.elementor-heading-title,h1 {
		font-size:26px;
        line-height: 1.2;
	}
	
	h2.elementor-heading-title, h2 {
		font-size:24px;
        line-height: 1.2;
	}
	    h3.elementor-heading-title, h3 {
		font-size:22px;
        line-height: 1.2;
	}
	
	.elementor-location-header {
		position: unset;
	}
	
	.header-menu-row {
   		gap: 0;
    	justify-content: center !important;
		max-height: 110px;    
		background: #FFF;
	}
	
	.header-logo .elementor-widget-container img{
		width: 90% !important;
	}
	
	.header-menu {
		height: 100%;
	}
	
	.header-menu-row.she-header .header-menu {
		top: 50%;
		position: absolute;
		right: 15px;
		transform: translateY(-50%);
	}

	.header-menu .elementor-widget-container {
    	justify-content: center;
	}
	
 	.header-menu .elementor-nav-menu--dropdown {
    top: 100% !important;
	         padding-top: 20px;
	      padding-bottom:10px
	}
	.header-menu .elementor-menu-toggle .e-font-icon-svg {
    fill: #FFF;
	}
	
	 .header-menu .elementor-nav-menu--dropdown::-webkit-scrollbar {
    display: none;
	}
	
	.header-logo .elementor-widget-container {
    display: flex;
	}
	
	.top-ad img {
    height: auto !important;
	}
    .post-carousel-wrap .post-carousel .swiper-arrow {
        top: 90%;
	}
	
	.home-side-posts .tab-wrap {
    	padding-bottom: 30px;
	}
	
}


