/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
#CodeWP-feedback-form {
    background-color: #FDFDFD;
    border: 1px solid #a7bad3;            
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 200ms, box-shadow 200ms;
    margin: 20px 0px;
}

#CodeWP-feedback-form p {
    font-size: 20px;
    color: #333;
    font-weight: 500;
    margin-bottom: 0px;
}

#CodeWP-yes-button, #CodeWP-no-button {
    color: rgba(255,0,0,0.68);
    padding: 1px 15px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    background-color: white;
    border: 1px solid rgb(255 0 0 / 7%);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#CodeWP-feedback-form span:hover {
    box-shadow: 0 0 6px 0 rgba(0,0,0,.3);
}

#CodeWP-thank-you-message {
    display: none;
    opacity: 0;
    transition: opacity 1s;
    color: rgba(255,0,0,0.68);
    text-align: center;
    font-size: 20px;
    font-weight: 500;
}

.entry-meta{ 
	display: none; 
}

#mobile-header, #site-navigation{
	    box-shadow: 0 5px 20px 0 rgb(88 83 153 / 8%);
	    border-bottom: 1px solid #f4f4f4;
}

.geek-cat{
    box-shadow: 0 0 15px 0 rgba(186, 30, 66, 0.6);
}

.widget-title {
    position: relative;
	font-weight: 600;
}

.widget-title:after {
        position: absolute;
    bottom: -8px;
    left: 0;
    height: 3px;
    width: 110px;
    background-color: rgba(255,0,0,0.68);
    display: block;
    content: '';
}


.comments-area, .separate-containers .page-header, .sidebar .widget, body:not(.home) .inside-article{
box-shadow: 0 5px 20px 0 rgb(88 83 153 / 8%);
border-radius: 8px;
}




.img-hover:hover, img:hover {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}


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


/* 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 */






/* After Post SOcial Share CSS for larger screens starts Here  */
.share-container {
    border-top: 1px dashed #a5a5a5;
    border-bottom: 1px dashed #a5a5a5;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
	    margin-top: 10px;

}

.share-text {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.share-text svg {
    font-size: 18px;

}

.share-icons svg{
 margin-right: 5px;
	font-size:19px;
}
.share-text i.fa-share-alt {
    margin-right: 8px;
}

.share-icons {
    display: flex;
    align-items: center;
}

.share-icons a {
    margin-left: 10px;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
   background-color: #88888812;  
    padding: 6px 9px;
    border-radius: 3px;
    font-size: 15px; /* Decrease the font size */
	font-weight:500;
}

.share-icons i.fa {
    font-size: 20px;
    margin-right: 5px;
}
.share-only{
	font-size: 16px;
background:none !important;
}

/* Hover effects */
.share-icons a:hover {
    opacity: 0.8;
}


.share-icons a {
    transition: opacity 0.3s ease; /* Smooth transition for opacity changes */
}

/* Default state: all icons are visible */
.share-icons a {
    opacity: 1;
}

/* When hovering over any icon within the share-icons container, reduce the opacity of all other icons */
.share-icons:hover a {
    opacity: 0.3;
}

/* When hovering over a specific icon, retain its full opacity */
.share-icons a:hover {
    opacity: 1;
}
a:hover, a:focus, a:active {
    text-decoration: none;
}
 .share-text-mobile {
       margin-left: 5px;
	 font-size:16px;
}


/* After Post SOcial Share CSS for larger screens Ends Here  */


/* After Post SOcial Share CSS for mobile devices starts Here  */

@media (max-width: 768px) {
    .share-icons {
        flex-wrap: wrap;
    }

    .share-icons a {
        margin-left: 10px;
        margin-bottom: 10px;
        padding: 5px 7px;
        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;
    }
}


@media (max-width: 768px) {
    .share-text-mobile {
        display: none; /* Hide the "Share" text on mobile devices */
    }
    .share-container1{
		padding: 5px 12px 0 12px;}
	
	.share-container{
		padding-bottom:5px !important;
	}
}

/* After Post SOcial Share CSS for mobile devices Ends Here  */



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


/* Before Post SOcial Share CSS for Desktop devices Starts Here  */

.share-container1 {
    justify-content: space-between;
	padding: 5px 12px 5px 12px;
    border-radius: 5px;
    background-color: #88888812;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 10px;

}

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

.share-only{font-size:16px;background:0 0!important}.share-icons:hover a{opacity:.3}.share-icons a:hover{opacity:1}.share-icons1{background:0 0!important}.whatsapp-icon{padding: 7px 4px 9px 8px !important;}.share-text-mobile{margin-left:5px;font-size:18px;}

/* Before Post SOcial Share CSS for Desktop devices Ends Here  */




/* Below Post grid navigation number  CSS  Starts Here  */

.page-numbers:not(:last-child) {
    margin-right: 10px;
}
.page-numbers{
    display: block;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none!important;
    padding: 7px 15px!important;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.page-numbers {
    display: block;
    text-align: center;
}
.next {
    display: block;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none!important;
    padding: 7px 15px!important;
    color: var(--contrast);
    border: 1px solid #ddd;
    border-radius: 4px;
}


/* Below Post grid navigation number  CSS  Ends Here  */


/* Site General Styling CSS starts Here  */

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

/* GeneratePress Site CSS */ /* Top Menu */
.menu-bar-items {
	flex-direction: row-reverse;
}

/* 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 */
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: 15vh;
}

.inside-navigation, .grid-container{    background-color: #745acc !important;
}

@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;}
}

#myHeader a:hover{ color: #a68cff !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(255 241 241 / 68%) ;
	border:1px dashed rgba(255,0,0,0.68) !important;
    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 */
  }
}

/* Site General Styling CSS Ends Here  */

/* GeekDroid Author Box Styles Starts Here */

.geekdroid-author-box {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	margin-top :20px;
	border : 1px dashed #adadad;
}

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

.geekdroid-author-info {
    margin-left: 20px;
    color: #000;
}

.geekdroid-author-name {
    font-size: 1.5em;
    margin: 0;
    font-weight: bold;
}

.geekdroid-author-title {
    font-size: 1.2em;
    margin: 5px 0;
    color: #ffc63b;
}

.geekdroid-author-description {
    font-size: 1em;
    margin: 10px 0;
}

.geekdroid-author-social {
    margin-top: 15px;
    display: flex;
}

.geekdroid-social-icon {
    text-decoration: none;
    color: #fff;
    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;
        align-items: center;
        text-align: center;
        padding: 15px;
			margin-top: 50px;
    }

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

    .geekdroid-author-info {
        margin-left: 0;
        margin-top: 10px;
    }

    .geekdroid-author-name {
        font-size: 1.2em;
    }

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

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

    .geekdroid-author-social {
        margin-top: 15px;
        display: flex;
        justify-content: center;
    }

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

    
}
/* GeekDroid Author Box Styles Ends Here */

/* GeekDroid TOC Styles Starts Here */

#toc-toggle {
    
    border: none;
    color: #ffffff;
    padding: 2px 5px;
    transition: background-color 0.3s;
    display: flex !important;
    z-index: 99;
	margin-top:5px;
background-color: rgb(255 86 86 / 68%);
}

#toc-toogle:hover{

background-color: rgb(255 86 86 / 68%);
}


#geekdroid-toc-container {
    display: block;
}

#geekdroid-toc-container ul li {
    font-weight: 500;
}


div#geekdroid-toc-container {
    background: #ffffff;
border: 1px solid rgba(255,0,0,0.68);
border-radius: 4px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    display: table;
    margin-bottom: 1em;
    position: relative;
    width: 100%;
}

#geekdroid-toc-container {
    height: 40px;
    margin-top: 40px;
}

#geekdroid-toc-container .geekdroid-toc-title {
    text-align: left;
    line-height: 1.45;
    margin: 0;
    padding: 0;
    font-family: 'Lora', serif;
    font-weight: 600 !important;
    display: flex !important;
    z-index: 99;
    width: 100%;
    font-size: 18px !important;
background-color: rgba(255,0,0,0.68);
padding: 10px 18px;
	color:white;


}

#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: 16px;
    line-height: .9;
    margin: 5px 5px 5px 11px;
    z-index: 1;
    
}

#toc-list {
    display: block;
}

.toc-title1{
	    text-align: left;
    line-height: 1.45;
    padding: 5px 25px !important;
    position: absolute;
    top: -23px;
    /* display: flex !important; */
    /* z-index: 99; */
    width: fit-content;
    background: white;
}
.geekdroid-toc-entry a{
	line-height:1.4;
}

/* GeekDroid TOC Styles Ends Here */



