/*
 Theme Name:   Sarkari Result
 Theme URI:    https://roshkart.com
 Description:  GeneratePress Child theme for Sarkari Result website.
 Author:       https://roshkart.com
 Author URI:   https://roshkart.com
 Template:     generatepress
 Version:      1.0
*/

/* =====================================================
   NAVIGATION
===================================================== */
.main-navigation {
	box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}


/* =====================================================
   BREADCRUMB
===================================================== */
.rank-math-breadcrumb p {
	background: #e5e8ec;
	color: #000;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
}

@media (max-width: 768px) {
	.rank-math-breadcrumb p {
		margin: 0 10px;
	}
}


/* =====================================================
   HOVER EFFECTS
===================================================== */
.hover-link::after {
	content: '';
	display: block;
	width: 0;
	height: 2px;
	background: var(--color-background);
	transition: width .3s;
}

.hover-link:hover::after {
	width: 100%;
}

/* Underline Effect */
.underline-effect a,
.underline-effect-small a {
	text-decoration: none;
	background-image: linear-gradient(
		to right,
		var(--link-text-hover) 50%,
		var(--background) 50%
	);
	background-repeat: no-repeat;
	background-position: 100% 100%;
	transition: background-position .3s;
}

.underline-effect a {
	background-size: 200% 3px;
}

.underline-effect-small a {
	background-size: 200% 2px;
}

.underline-effect a:hover,
.underline-effect-small a:hover {
	background-position: 0% 100%;
}


/* =====================================================
   SOCIAL SHARING BUTTONS
===================================================== */
.roshkart-social-wrapper {
	margin: 10px;
	font-size: 0;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
}

.roshkart-social-sharing {
	padding: 8px;
	margin: 4px;
	border-radius: 3px;
	flex: 1;
	transition: background-color 0.3s, transform 0.3s, color 0.3s;
}

.roshkart-social-sharing:hover {
	transform: translateY(-3px);
	box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px,
	            rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

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

@media (max-width: 600px) {
	.roshkart-social-sharing {
		display: inline-block;
	}
}

/* Social Colors */
.roshkart-social-facebook  { fill: #fff; background: #3b5998; }
.roshkart-social-twitter   { fill: #fff; background: #000; }
.roshkart-social-whatsapp  { fill: #fff; background: #25d366; }
.roshkart-social-telegram  { fill: #fff; background: #027ebd; }
.roshkart-social-more      { fill: #fff; background: #000; }


/* =====================================================
   MOBILE FLOATING SHARE BUTTON
===================================================== */
#mobileShareFloatingButton {
	position: fixed;
	bottom: 25px;
	right: 25px;
	width: 50px;
	height: 50px;
	background: var(--color-background);
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	cursor: pointer;
	z-index: 1000;
	animation: whatsappButtonAnimation 0.5s;
}

#mobileShareFloatingButton svg {
	width: 30px;
	fill: #fff;
}

@keyframes whatsappButtonAnimation {
	0%   { transform: scale3d(0, 0, 0); }
	100% { transform: scale3d(1, 1, 1); }
}


/* =====================================================
   JOIN BUTTON HIGHLIGHT ANIMATION
===================================================== */
.whatsapphighlight {
	animation: greenBorder 1s infinite;
}

.telegramhighlight {
	animation: blueBorder 1s infinite;
}

@keyframes greenBorder {
	0%, 100% { border-color: transparent; }
	50%      { border-color: #25d366; }
}

@keyframes blueBorder {
	0%, 100% { border-color: transparent; }
	50%      { border-color: #0086ce; }
}


/* =====================================================
   COMMENT BOX
===================================================== */
.comment-respond .comment-reply-title {
	padding: 8px 8px 8px 20px;
	border-radius: 4px;
	color: #fff !important;
	background: var(--color-background);
	box-shadow: rgba(19, 20, 9, .2) 0 7px 28px;
}
