/*
 Theme Name:   CodeWP Blog
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       CodeWP
 Author URI:   https://codewp.in
 Template:     generatepress
 Version:      1.0
*/

/* Link Underline CSS starts here */
h2 a, h3 a{
    --underline-position: bottom;
    --underline-size: 1px;
    background-image: linear-gradient(90deg, currentColor, currentColor);
    background-repeat: no-repeat;
    background-size: 0% var(--underline-size);
    background-position: 0% var(--underline-position);
    transition: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline;
    padding: 2px 0;
    color: var(--accent-color); /* Replace with your accent color */
    outline: 0;
    text-decoration: none;
}

h2 a:hover, h3 a:hover{
    background-size: 100% var(--underline-size);
}

/* Link Underline CSS Ends here */


/*Sticky Container Homepage CSS starts here */


@media (min-width: 768px) {
.sticky-container > .gb-inside-container,.sticky-container {
    position: sticky;
    top: 80px;
}
}

.sticky-container {
    position: sticky;
    top: 80px;
}

/*Sticky Container Homepage CSS Ends here */


/*Widget Title Bottom line CSS Starts here */

.widget-title {
    position: relative;
    line-height: 1;
    z-index: 1;
    color: var(--base-3) !important;
    display: inline-block;
	 padding: 5px 15px;

}

.widget-title::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: var(--accent);
    border-radius: 7px;
    z-index: -1;
    transform: skewX(-22deg);
    padding: 5px 13px;
}


/*Widget Title Bottom line CSS Ends here */

/*  Custom Overlay heading Homepage CSS Starts Here */

.custom-heading {
    position: relative;
    display: block;
    text-align: center;
}

.custom-heading .front-word {
	z-index: 2;
	position: relative;
	font-size: 30px; 
}

.custom-heading .back-word {
    font-size: 1.8em; 
    color: rgb(148 148 148 / 20%); 
    position: absolute;
    top: -5px;
    left: 50%; /* Center the back word */
    transform: translateX(-50%); /* Center the back word */
    z-index: 1; /* This keeps the back word behind the front word */
}

/* Custom Overlay heading Homepage CSS Ends Here */

/* Left Sidebar Social Share CSS starts Here */

.share-text {
    display: flex;
    align-items: center;
    font-weight: 500;
    flex-direction: column;
    font-size: 15px;
}

.share-icons {
    display: flex;
    align-items: center;
    flex-direction: column;
    row-gap: 20px;
    font-size: 22px;
    padding: 10px 10px;
    border-radius: 5px;
    transition: opacity 0.3s ease; /* Moved from .share-icons a for efficiency */
}

.share-icons a {
    text-decoration: none;
    font-weight: 500;
    display: flex;
    opacity: 1; /* Default opacity */
}

.share-icons a:hover, 
.share-icons a:focus, 
.share-icons a:active {
    opacity: 0.8;
    text-decoration: none;
}
.share-icons:hover a:not(:hover) {
    opacity: 0.3;
}


/* After Post Social Share CSS for mobile devices */
@media (max-width: 768px) {
    .share-icons {
        flex-wrap: wrap;
    }

    .share-icons a {
        font-size: 16px; /* Adjusted font size */
    }

    .share-icons svg {
        height: 22px; /* Adjusted SVG size */
        width: auto;  /* Keep aspect ratio of the SVG */
        margin-right: 5px;
    }
    
    .share-container {
        padding-bottom: 5px !important;
    }
}

.share-container1 {
    display: flex;
    flex-direction: column;
    z-index: 9999;
    row-gap: 10px;
    -webkit-transition: top 0.3s ease;
    transition: top 0.3s ease;
    margin-top: 50px;
}

@media (min-width: 769px) {
    .share-container1 {
        height: 99%;
        position: -webkit-sticky;
        position: sticky;
        top: 110px; /* Adjust position */
    }
}

.share-icons1 {
    background: none !important;
}

.share-only {
    font-size: 16px;
    background: transparent !important;
}

.whatsapp-icon {
    padding: 7px 4px 9px 8px !important;
}

.share-text-mobile {
    margin-left: 5px;
    font-size: 15px;
}

/* Left Sidebar Social Share CSS Ends Here */



/* Site General Styling CSS starts Here  */

.entry-content:not(:first-child), .entry-summary:not(:first-child), .page-content:not(:first-child) {
   margin-top: 0;
}

/* Post Template inside image-category CSS starts here */
	.geek-category{
		position: absolute;
    	top: 0;
    	left: 0;
	    z-index: 2;
		margin-top: 10px; 
		margin-left: 10px;
}
/* Post Template inside image-category CSS Ends here */

/* Image radius CSS starts here */

.wp-block-image img { border-radius: 5px; 
margin-bottom:5px;}

.featured-image img{border-radius: 5px;}

.img{border-radius :5px;}

/* Image radius CSS Ends here */

.post-term-item{
	margin-right: 5px;
}
.geekdroid-social-sharing {
     transition: transform 0.3s ease;
}
 .geekdroid-social-sharing:hover {
     transform: translateY(-5px);
     cursor: pointer;
}


.entry-meta{ 
	display: none; 
}

.main-nav .menu-item a{
border-radius: 5px;
	margin-top : 2px;
}

.term-guides a {
color:#fffaafc2 !important;

}
 .term-technology a {
color: #a9a9ff !important;

}
.term-review a{
color:#97ffd6 !important;

}

.term-best-of a{
color:#d897ff !important;

}
.single .site-main {
    border-right: 1px solid #eaeaea;
}

.home-right{ border-bottom: 1px solid #f1f1f1;
}

/* GeneratePress Site CSS */ 

@media (max-width: 768px) {
    .related-img, .archive-img img {
    height: 220px !important;
	}
}





/* Search results page header style */
.search-results .page-header .page-title {
	font-size: 36px;
	text-transform: uppercase;
	border-bottom: 2px solid var(--contrast);
}

/* Default theme button */

.form-submit .submit {
	padding-top: 16px;
	padding-bottom: 16px;
}

/* Sidebar */
.sidebar {
	margin-left: 0;
}
@media(min-width: 768px) {
	.sidebar {
		margin-top: 0;
	}
	
}

/* Single post - Sticky Related Posts sidebar */
@media(min-width: 769px) {
	.is-sticky {
			position: sticky;
			top: 112px;
	}
}

.recent-articles {
    border: 1px solid #ebebeb;
    padding: 10px;
    border-radius: 5px;
}

/* Search modal */
.gp-modal__container {
	overflow-y: auto;
}
.gp-search-modal .gp-modal__overlay {
    padding-top: 10vh;
}

@media(max-width: 767px) {
 .hide-date-mobile .entry-date {
			display:none;
	}
	.hide-date-mobile .gb-icon {
			display:none;
	}
	
	.hide-excerpt-mobile {
			display:none !important;
	}
	.menu-socials{display:none !important;}
}

.form-submit .submit {
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 5px;
}
.comment-form #url {
    
    display: none;
}

.wp-block-search__inside-wrapper, .wp-block-search__button, input, .wp-block-search__input{
	border-radius: 5px !important;
}

.wp-block-search__label{
display: none;}

#comment{
border-radius: 5px;
}

blockquote{
	background: rgb(241 244 255 / 68%);
    border: 1px dashed rgb(19 22 109 / 68%);
    margin-top: 10px;
	padding:15px;
	font-style:inherit;
	font-size:18px;
	margin:0 0 1.5em;
	border-radius: 5px;
}

@media (min-width: 769px) {

.inside-right-sidebar {
  height: 99%;
	}
	
.inside-right-sidebar aside:last-child {
	position: -webkit-sticky;
	position: sticky;
	top: 100px; /*Adjust position */
  }
}

/* Most Popular Overlay  */

.vertical-text {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%) rotate(90deg);
    z-index: 0; /* Lowered z-index */
    width: 100%;
    pointer-events: none; /* Allows click events to pass through */
}


/* Site General Styling CSS Ends Here  */
.main-navigation{
	    border-bottom: 4px solid var(--accent) !important;

	
}
.custom-breadcrumb nav {
    border-bottom: none;
}

/* GeekDroid Author Box Styles Starts Here */
.geekdroid-author-box {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 20px 0px;
    margin-top: 30px;
    border-bottom: 1px dashed #20202054;
    border-top: 1px dashed #20202054;

}

.geekdroid-author-avatar img {
    border-radius: 50%;
    width: 5em;
    height: 5em;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.author-title {
    margin-top: -35px;
    border: 1px solid #505050;
    background: white;
    padding: 4px 30px;
    border-radius: 50px;
    width: fit-content;
}

.geekdroid-author-name,
.geekdroid-author-title,
.geekdroid-author-description {
    margin: 10px 0;
    font-weight: 400; /* Only for .geekdroid-author-name */
    color: #000; /* Only for .geekdroid-author-title */
}
.geekdroid-author-name{
    font-weight: bold; /* Only for .geekdroid-author-name */

}
.geekdroid-social-icon {
    text-decoration: none;
    color: #1981ff;
    font-size: 1.5em;
    margin-right: 10px;
    transition: transform 0.2s;
}

.geekdroid-social-icon:hover {
    transform: scale(1.2);
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
    .geekdroid-author-box {
        flex-direction: column;
    }

    .geekdroid-author-avatar img {
        width: 80px;
        height: 80px;
    }

    .geekdroid-author-name,
    .geekdroid-author-title,
    .geekdroid-author-description {
        font-size: 1em;
    }

    .geekdroid-social-icon {
        font-size: 1.3em;
        margin-right: 8px;
    }
}

.upper {
    display: flex;
    flex-direction: row;
}

.upper-right {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    font-size: 15px;
}

.geekdroid-author-avatar,
.geekdroid-author-info {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.geekdroid-author-avatar {
    margin-right: 20px;
}

.geekdroid-author-name {
    margin-bottom: 2px !important;
}
/* GeekDroid Autor Styles Ends Here */


/* GeekDroid TOC Styles Starts Here */

#toc-toggle {
    border: none;
    padding: 2px 5px;
    display: flex !important;
    z-index: 99;
	margin-top:5px;
	background-color: white;
	color: #000;
}



#geekdroid-toc-container ul li {
    font-weight: 500;
	    border-bottom: 1px solid #e9e9e9;
}

div#geekdroid-toc-container {
border-radius: 5px;
    display: table;
    margin-bottom: 1em;
    position: relative;
    width: 100%;
	    padding: 10px;
	 height: 40px;
    margin-top: 40px;
    box-shadow: 2px 2px 3px black !important;
}



#geekdroid-toc-container .geekdroid-toc-title {
    text-align: left;
    line-height: 1.45;
    margin: 0;
    padding: 0;
    font-weight: 600 !important;
    display: flex !important;
    z-index: 99;
	padding: 10px 18px;
	color: #000;
	align-items:center;
}

#geekdroid-toc-container label {
    cursor: pointer;
    position: relative;
}

:where(a) {
    border-color: currentcolor;
    color: currentcolor;
    cursor: pointer;
    text-decoration: none;
}

#geekdroid-toc-container ul ul,
.geekdroid-toc div.geekdroid-toc-widget-container ul ul {
    margin-left: 16px;
    margin-top: 4px;
}


  
#geekdroid-toc-container li,
#geekdroid-toc-container ul,
#geekdroid-toc-container ul li,
div.geekdroid-toc-widget-container,
div.geekdroid-toc-widget-container li {
     font-size: 15px;
    line-height: .9;
    margin: 5px 5px 5px 11px;
    z-index: 1;
  
}

#toc-list {
    display: block;
}

.geekdroid-toc-entry a{
	line-height:1.4;
}

.fa-bookmark:before {
    color: currentColor;
}


@media screen and (min-width: 1024px) {
    /* CSS styles for desktop devices */


#toc-list {
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2;    /* Firefox */
	column-count: 2;/* standard syntax */
}
}
#geekdroid-toc-container ul {
    padding: 0;
}

#geekdroid-toc-container ul li {
    font-weight: 500;
    break-inside: avoid-column; /* Prevents breaking list items between columns */
}

/* GeekDroid TOC Styles Ends Here */



/* Sidebar Social Follow CSS Starts	 Here */

	.geekdroid-sidebar {
            box-sizing: border-box;
        }

        .geekdroid-social-buttons {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            margin-bottom: 5px;
        }

        .geekdroid-social-button:hover {
            transform: translateY(-5px);
            border: none;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .geekdroid-social-button {
            width: 48%;
    		padding: 10px 15px;
            border: 1px solid #88888826;
            border-radius: 5px;
            transition: background-color 0.3s, transform 0.3s, color 0.3s;
            cursor: pointer;
            box-sizing: border-box;
            text-decoration: none;
            display: flex;
            flex-direction: column;
			margin-top: 5px;
        }

		.geekdroid-icon {
            margin-right: 5px;
        }

        .geekdroid-social-button:hover svg,
        .geekdroid-social-button:hover svg path {
            fill: #fff !important;
        }

        .geekdroid-social-button {
            font-weight: 600;
            color: #000 ;
        }

        .geekdroid-facebook:hover {
            background-color: #89abfc;
            color: #fff ;
        }

        .geekdroid-twitter:hover {
            background-color: #212121f2;
            color: #fff;
        }

        .geekdroid-whatsapp:hover {
            background-color: #14d275a1;
            color: #fff;
        }


.geekdroid-instagram:hover {
    background-color: #ba32c2cf;
    color: #fff;
}


a.geekdroid-social-button:hover {
    color: white !important;
}

.geekdroid-social-button {
    position: relative;
}

.follower-container {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
}

.follower-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
        margin-left: 15px;  /* Adjust margin as needed */
}

.follower-count {
    font-weight: bold;
}

.follower-text {
    font-weight: 600;
}






/*After Post social-sharing-buttons CSS Starts Here*/

.geekdroid-social-wrapper {
    margin: 20px auto;
    font-size: 0;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
}

.geekdroid-social-sharing {
    padding: 12px;
    flex: 1;
    margin-right: 5px;
    border-radius: 6px;
    transition: transform 0.3s ease; /* Added transition for smooth effect */
}

@media only screen and (max-width: 600px) {
    .geekdroid-social-sharing {
        display: inline-block;
    }
}

.geekdroid-social-sharing svg {
    position: relative;
    top: 0.15em;
    display: inline-block;
}

.geekdroid-social-facebook {
    fill: #fff;
    background-color: rgba(59, 89, 152, 1);
}

.geekdroid-social-twitter {
    fill: #fff;
    background-color: rgba(29, 161, 242, 1);
}

.geekdroid-social-whatsapp {
    fill: #fff;
    background-color: rgba(37, 211, 102, 1);
}

.geekdroid-social-telegram {
    fill: #fff;
    background-color: rgb(2, 126, 189);
}

.geekdroid-social-reddit {
    fill: #fff;
    background-color: #000;
}

#menu-main a:hover{
    transition: transform 0.3s ease; /* Added transition for smooth effect */
}

/* Hover Animations */
.geekdroid-social-sharing:hover {
    transform: translateY(-5px); /* Move the icon upwards on hover */
    cursor: pointer; /* Change cursor to indicate a clickable item */
}

/*After Post social-sharing-buttons CSS Ends Here*/
