/*
Theme Name: NYStringAcademy
Author: Bishwas Thapa
Author URI: https://bishwas.me
Description: A custom child theme based on GeneratePress developed for NYStringAcademy by Bishwas
Version: 1.0
Template: generatepress

This is the child theme for GeneratePress theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* Normalization */
*,
*::after,
*::before {
	margin: 0;
	padding: 0;
	box-sizing: border-box;

}

body,
* {
	font-family: "Roboto Condensed", sans-serif;

}

html {
	overflow-x: hidden;
	-webkit-tap-highlight-color: transparent;

}

h1,
h2 {
	font-weight: 600;
}

a {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	display: inline-block;
}

ul {
	text-decoration: none;
}

li {
	list-style: none;
	cursor: pointer;
}

ul {
	list-style: none;
	text-decoration: none;
}

h1 {
	font-weight: 600;
}

img {
	width: 100%;
}

.sl-get-started-btn {
	border: none;
	background: #CC0000;
	border-radius: 30px;
	font-weight: 700;
	padding-top: 16px;
	padding-bottom: 16px;
	font-size: 18px;
	display: inline-block;
	padding-inline: 25px;
	color: #fff;
}

.item {
	position: relative;
}

.mid-sec {
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	z-index: 3;
}

/* .slick-track{
margin-inline:-15px;	
} */
.slick-slide {
	margin-inline: 15px;
}

.display-table-cell>*,
.normal-text>* {
	color: #fff;
}

.rs-team .team-item .team-img .normal-text {
	background-color: #CC0000 !important;
}

.slick-arrow svg path {
	fill: #fff;
}

.slick-arrow {
	position: absolute;
	top: 50%;
	width: 42px;
	height: 42px;
	line-height: 42px;
	text-align: center;
	background-color: #444;
	color: #fff;
	transform: translateY(-50%);
	font-size: 22px;
	border-radius: 50%;
	opacity: 0;
	-webkit-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
	z-index: 2;
	display: grid;
	place-content: center;
}

#rs-team-slider:hover .slick-arrow,
.rs-courses:hover .slick-arrow,
#rs-team-slider-inside-faculty-page:hover .slick-arrow {
	opacity: 1;
}

.owl-next {
	right: -42px
}

.owl-prev {
	left: -42px;
}

.slick-arrow:hover {
	background: #CC0000;
}

.news_inner,
.news_inner a {
	width: 100%;
	height: 100%;
}

.news_inner {
	padding-bottom: 88px;
	height: 350px;
}

.news_inner img {
	height: 100%;
	object-fit: cover;
}

#rs-courses .course-title a {
	font-size: 20px;
}

#rs-slider .item {
	height: 800px;
	overflow: hidden;
	position: relative;
}

#rs-slider .item:before {
	content: '';
	position: absolute;
	inset: 0;
	background: #0000002b;
	width: 100%;
	height: 100%;
}

#rs-slider .item img {
	height: 100%;
	overflow: hidden;
	object-fit: cover;
	object-position: top;
}

#rs-team-slider :is(.normal-text, .display-table-cell) p span:not(:first-child):before {
	content: " / ";
}

.services-icon svg {
	width: 42px;
}

.services-desc {
	display: inline-block;
	width: 100%;
}

.rs-services {
	margin-top: 15px;
}

.rs-courses .slick-slide {
	height: 450px;
	overflow: hidden;
}

.rs-courses .slick-slide img {
	height: 350px;
	object-fit: cover;
	margin-bottom: 100px;
}

.rs-courses :is(.rs-carousel, .owl-item, .cource-item) {
	height: 100%;
	border-radius: unset !important;
}

.rs-courses .cource-item {
	position: relative;
}

.rs-courses .course-body {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

.cource-item:hover .cource-img svg {
	opacity: 1;
}

.cource-img svg {
	opacity: 0;
}

.rs-courses {
	padding-block: 60px;
}


#home-slider .item {
	margin-inline: 0 !important;
}

.rs-header .rs-header-top .header-contact .widget-text {
	padding-left: 0 !important;
	display: flex;
	gap: 20px;
}

.rs-footer .footer-contact-desc {
	background: #cc0000 !important;
}

.rs-about:not(.active) {
	display: none;
}

@media(min-width:980px) {
	.container {
		max-width: 1250px !important;
		padding-inline: 60px;
	}


}

@media(max-width:980px) {

	.rs-header-top .row>div:not(:nth-child(2)) {
		display: none;
	}

	#rs-slider .item {
		height: 650px;
	}

	.rs-services .row {
		gap: 80px;
	}

	#rs-about .sec-title {
		margin-top: 30px;
	}
}

.single .rs-event-details img {
	width: auto;
}

.page-item.active .page-link{
	color:#fff!important;
}