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

/* Blog Style */
.bshadow{
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

/* FAQs Accordion CSS */
	#rank-math-faq {
    background: #f0f4f8;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 1rem;
}
	.rank-math-list-item {
    background: #fff;
    padding: 15px;
    box-shadow: 0 0 10px #d1d8dd,0 0 40px #fff;
    margin-bottom: 1rem;
    border-radius: 5px;
}
	
	.rank-math-question {
	cursor: pointer;
    position: relative;
    border-bottom: 1px solid #f0f4f8;
    padding-bottom: .825rem;
    margin-bottom: .825rem;
    padding-right: 35px;
    font-size: 1.6rem;
    color: #795548!important;
}

.rank-math-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.rank-math-question::after {
    content: "+";
    position: absolute;
    right: 0;
    width: 30px;
    line-height: 30px;
    background: #f0f4f8;
    color: #ffb549;
    border-radius: 50%;
    text-align: center;
    top: 15px;
    transform: translateY(-50%);
    font-size: 2.5rem;
	font-weight: bold;
    transition: transform 0.2s ease-out;
}

.rank-math-question.active::after {
  transform: translateY(-50%) rotate(45deg);
}

.rank-math-answer p:last-child {
  margin-bottom: 0;
}
	.TopAd { width: 320px; height: 50px; }
@media(min-width: 500px) { .TopAd { width: 468px; height: 60px; } }
@media(min-width: 800px) { .TopAd { width: 728px; height: 90px; } }
	/* copy paste block */
body {
-webkit-user-select: none !important;
-moz-user-select: -moz-none !important;
-ms-user-select: none !important;
user-select: none !important;
}
.post blockquote,.wp-block-code code {
-webkit-user-select: text !important;
-moz-user-select: text !important;
-ms-user-select: text !important;
user-select: text !important;
}
	/* Auther Section */
	@media (max-width: 768px){
	.entry-meta{
		font-size: 15px;
	}
	}
	
	.entry-meta a{
		text-decoration: none;
		color: var(--contrast-2);
	}
	
	/* Read More Button */
	a.read-more.button, input#submit {
    border-radius: 5px;
	}
	/* TOC */
	.lwptoc_i {
	padding: 5px !important;
    border-radius:5px;
    border: 1px dashed #ff6d00!important;
   }
	li.wp-social-link.wp-social-link-github.wp-block-social-link {
    margin-bottom: auto;
}
	/* Breascrumbs */
	nav.rank-math-breadcrumb {
    font-size: 14px;
    overflow: auto;
    text-overflow: unset;
    white-space: nowrap;
	padding-bottom: 2px;
	margin-bottom: 10px;
}
	nav.rank-math-breadcrumb a, span.last {
    color: var(--contrast-2);
    text-decoration: none;
	transition: all 300ms ease;
}
	nav.rank-math-breadcrumb a:hover {
    color: var(--accent);
}
	.rank-math-breadcrumb p {
    margin-bottom: 0;
}

/* Jalandhar Social Wrapper */
.jp-social-wrapper{
	margin-top: 15px;
	margin-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 0;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
}

.jp-social-sharing {
    padding: 8px;
    margin: 4px;
    border-radius: 4px;
    flex: 1;
}
.jp-social-facebook {
    fill: #fff;
    background-color: #3b5998;
}
.jp-social-twitter {
    fill: #fff;
    background-color: rgba(0,0,0);
}
.jp-social-whatsapp {
    fill: #fff;
    background-color: #25d366;
}
.jp-social-telegram {
    fill: #fff;
    background-color: #027ebd;
}
#jp-social-more {
    background-color: #000000;
}

/* Author Box CSS */

	.author-box {
	padding: 15px;
	margin-top: 20px;
	font-size: 0.9em;
	background-color: #fff;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex!important;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	border-radius: 5px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px!important;
	border-left: 3px solid #b11f24;
}
.author-box .avatar {
	width: 250px;
	height: auto;
	border-radius: 100%;
	margin-right: 30px;
}
p.author-title {
	margin-bottom: 0.1em;
	font-weight: 600;
}
.author-description {
	line-height: 1.6em;
}
.author-links a {
	margin-top: -1.5em;
	font-size: 2em;
	line-height: 2em;
	float: left;
}
@media (max-width: 768px) {
	.author-box {
		padding: 15px;
		margin-top: 55px;
		margin-bottom: auto;
		flex-direction: column;
		text-align: center;
	}
	.author-box .avatar {
		margin-right: 0;
		width: 100%;
		margin-top: -25px;
	}
	.author-box .avatar img {
		max-width: 100px;
	}
	.author-links a {
		float: none;
		align-self: center;
	}
	.author-description {
		margin-bottom: -0.1em;
	}
}