/*
Theme Name: Eduvert
Theme URI: https://www.nayrathemes.com/eduvert-free/
Author: Nayra Themes
Author URI: https://www.nayrathemes.com/
Description: Eduvert is a professional WordPress theme built specifically for schools, colleges, universities, and education academies. It comes with multiple custom page layouts for your blog, staff and professors, contact page, and more. The theme is easy to set up with WordPress live customizer. View the demo of Eduvert Pro https://www.nayrathemes.com/demo/pro/?theme=eduvert
Version: 17.8
Tested up to: 6.8
Requires PHP: 5.6
Requires at Least: 4.7
License: GPLv3 or later
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: eduvert
Template : eduvert
Tags: one-column, two-columns, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu,  custom-logo, featured-image-header, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, blog, education, portfolio, editor-style, grid-layout

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

*/

/* gallery cross buttom style */
button.featherlight-close-icon.featherlight-close {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    top: 40px;
    right: 40px;
    border-radius: 0;
}


/* circle hover */
.is-style-circle figure.tiled-gallery__item:before {
    content: '';
    position: absolute;
    inset: 0;
    background: #000;
    border-radius: 100%;
    opacity: 0;
    visibility: hidden;
    transition: 0.65s;
}
.is-style-circle figure.tiled-gallery__item:hover:before,
.is-style-circle figure.tiled-gallery__item:focus:before{
    visibility: visible;
    opacity: 0.5;
}

/* circle spacing */
.wp-block-jetpack-tiled-gallery .tiled-gallery__row{
	margin-right: calc(-.4 * var(--bs-gutter-x));
    margin-left: calc(-.4 * var(--bs-gutter-x));
    --bs-gutter-x: 1.5rem;
}

.wp-block-jetpack-tiled-gallery .tiled-gallery__row>* {
    padding-right: calc(var(--bs-gutter-x) * .4);
    padding-left: calc(var(--bs-gutter-x) * .4);
}

.wp-block-jetpack-tiled-gallery .tiled-gallery__row:not(:last-child) {
    margin-bottom: 20px;
}

.wp-block-jetpack-tiled-gallery .tiled-gallery__row+.tiled-gallery__row {
    margin-top: 0px;
}

.wp-block-jetpack-tiled-gallery .tiled-gallery__col+.tiled-gallery__col {
    margin-left: 0px;
}

/* circle box shadow */
.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item {
    border-radius: 50%;
    box-shadow: rgb(14 30 37 / 12%) 0px 2px 4px 0px, rgb(14 30 37 / 32%) 0px 2px 16px 0px;
}

.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item {
    width: 100%!important;
    height: 100%!important;
	box-shadow: rgb(14 30 37 / 12%) 0px 2px 4px 0px, rgb(14 30 37 / 32%) 0px 2px 16px 0px;
}

.wp-block-jetpack-tiled-gallery .tiled-gallery__item {
	box-shadow: rgb(14 30 37 / 12%) 0px 2px 4px 0px, rgb(14 30 37 / 32%) 0px 2px 16px 0px;
}

.wp-block-jetpack-tiled-gallery .tiled-gallery__gallery{
	justify-content: center;
}

.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item{
	width: 100%!important;
	margin-bottom: 20px
}
.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item:last-child{
	margin-bottom: 0px
}
.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item {
    margin-top: 0px;
}

blockquote.wp-block-quote.has-text-color p,blockquote.wp-block-quote.has-text-color p var,blockquote.wp-block-quote.has-text-color p cite,blockquote.wp-block-quote.has-text-color cite {
	color: inherit;
}
.wp-block-table figcaption {
     text-align: center;
 }
.sidebar .widget .wp-block-group .wp-block-image {
	margin-bottom: 0;
}
ul.wp-block-rss {
 	list-style: disc;
}
.has-text-color a:hover, .has-text-color a:focus {
	color: inherit;
}
.entry-content ul:last-child {
 margin-bottom: 0;
}
.wp-block-code.has-text-color code {
 	      color: inherit;
}
.sidebar .widget .wp-block-group .is-nowrap p {
 	padding: 0;
 }
 .sidebar .widget .wp-block-group .wp-block-latest-comments .wp-block-latest-comments__comment .wp-block-latest-comments__comment-date {
	padding-top: 0.5rem;
 	padding-bottom: 0.5rem;
 	font-size: 0.875rem;
}

/*wp-Block-RSS*/
ul.wp-block-rss {
     list-style: none;
     margin-left: 0;
}
ul.wp-block-rss li.wp-block-rss__item {
    margin-bottom: 1rem;
}
ul.wp-block-rss li.wp-block-rss__item:last-child {
    margin-bottom: 0;
}

.sidebar .widget .wp-block-group .wp-block-pullquote blockquote {
	margin-top: 0;
	margin-bottom: 0;
}

.sidebar .widget .wp-block-group .wp-block-rss .wp-block-rss__item-title > a {
 	font-weight: 600;
}

.wp-block-quote.is-style-large {
	padding-top: 1.10rem;
	padding-bottom: 1.10rem;
}

.sidebar .widget .wp-block-group .wp-block-file, .sidebar .widget .wp-block-group .wp-block-image {
	padding: 1.563rem 1.000rem 1.563rem;
}

.widget .wp-block-group .is-vertical a {
    color: inherit;
}

.entry-content ol.wp-block-latest-comments {
	padding-left: 2rem;
}

.wp-block-table figcaption {
  text-align: center;
}

.post .entry-content ul.wp-block-archives {
	margin-left: 1.125rem;
	list-style: disc
}

.wp-block-code.has-background code {
	background: inherit;
}

.wp-block-group .wp-block-embed,
.wp-block-group .wp-block-image {
	 padding: 1.563rem 1.000rem 1.563rem;
}

.wp-block-archives-dropdown select,
.wp-block-categories-dropdown select {
     width: auto;
}

.widget .wp-block-group .wp-block-columns {
	margin-bottom: 0;
}

.widget .wp-block-group .wp-block-rss li:last-child {
    padding-bottom: 0;
}

ul.wp-block-page-list a {
    text-decoration: none;
}

.sidebar .wp-block-group .is-nowrap {
    margin: 1.563rem 1.000rem 1.563rem;
}

.sidebar .widget .wp-block-group .wp-block-latest-comments__comment-meta {
    font-weight: 600;
    line-height: 1.5;
}

.wp-block-woocommerce-customer-account a .wc-block-customer-account__account-icon {
	height: 2em;
	width: 2em;
}

.sidebar .widget .wp-block-group .is-layout-flow h2 {
	border-left: 0 none;
}

.wc-block-components-product-title a,
.wc-block-components-product-title a:hover,
.wc-block-components-product-title a:focus {
	text-decoration: none;
}

.wp-block-details summary { 
	font-weight: 600;
}

.wp-block-verse {
	padding: 10px;
}

.wp-block-calendar .wp-calendar-nav {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
}

.wc-block-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-cart__totals-title {
    font-size: 24px;
    line-height: 34px;
    text-transform: capitalize;
    margin-bottom: 15px;
}

.sidebar .widget .wp-block-group .wp-block-latest-comments,
.sidebar .widget .wp-block-group .wp-block-loginout,
.sidebar .widget .wp-block-group .wp-block-table,
.sidebar .widget .wp-block-group .wp-block-buttons {
	padding: 1.563rem 1.000rem 1.563rem;
}

.sidebar .widget .wp-block-group .wp-block-embed {
    margin: 0;
}

.sidebar .widget .wp-block-group ol li {
	padding-bottom: 0.625rem;
}

.wp-block-details summary {
	font-weight: 600;
	padding: 10px;
}

a.wc-block-grid__product-link {
	text-decoration: none;
}

.wp-block-latest-posts__post-author {
	font-size: 1.7rem;
 	font-weight: 600;
}

.wp-block-cover.has-background-dim-60.has-background-dim .wp-block-cover-text a:hover {
	color: inherit;
}

.sidebar .widget .wp-block-group .wp-block-cover,
.sidebar .widget .wp-block-group .wp-block-separator {
  margin-bottom: 0rem;
}

.wp-block-quote .wp-block-search {
	padding-bottom: 5px;
}

.wc-block-mini-cart__icon,
.wc-block-mini-cart__badge {
	color: inherit;
}

.sidebar .widget .wp-block-pullquote cite {
    z-index: 1;
}

.sidebar .widget .wp-block-group .is-nowrap {
	margin: 1.563rem 1.000rem 1.563rem;
}

.wp-block-post-title a {
    text-decoration: none;
}

.wp-block-details summary {
	font-weight: 600;
}

.wp-block-group.has-black-border-color {
	border-color: #333 !important;
}

.widget .wp-block-group .wp-block-preformatted a {
	color: inherit;
}

.wp-block-woocommerce-single-product .wp-block-post-title a {
	text-decoration: none;
}

.wc-block-grid__products .wc-block-components-product-sale-badge.wc-block-grid__product-onsale {
	letter-spacing: 0.2px;
	border: none;
}

.footer-sidebar .widget .wp-block-group .wp-block-image .wp-element-caption a {
	color:inherit;
}

.sidebar .widget .wp-block-group .is-nowrap p {
	padding: 0;
}

.sidebar .widget.widget_block .wp-block-group ul.wp-block-latest-posts__list {
    margin-left: 0;
}

.sidebar .widget .wp-block-group .wp-block-latest-comments__comment-meta {
	font-weight: 600;
	line-height: 1.5;
}

.wc-block-components-product-title a.wc-block-components-product-name:hover,
.wc-block-components-product-title a.wc-block-components-product-name:focus {
	color: inherit;
}

.wp-block-code.has-text-color code {
    color: inherit;
}

.wc-block-grid__products .wc-block-components-product-button__button {
    border-radius: 0;
}

.widget .wp-block-heading:before {
	left: 0;
	top: 0;
}

div.wc-block-components-sidebar-layout.wc-block-cart .wc-block-cart__totals-title {
	font-weight: 700;
	font-size: 24px;
}

.wc-block-components-checkout-place-order-button{
	background: inherit;
}

.widget .wp-block-social-links {
    margin-bottom: 0;
}

.wp-block-latest-comments article{
	margin-bottom: 0px;
}

.sidebar .widget .wp-block-group .wp-block-button .wp-block-button__link {
	color: #fff;
}

button.wp-block-search__button.wp-element-button:hover,
button.wp-block-search__button.wp-element-button:focus{
    border: 2px solid;
}

.wc-block-components-totals-coupon__content button.components-button {
	border-radius: 4px;
}

.wp-block-code code img {
	padding: 10px;
}

.wp-block-latest-posts__list .wp-block-latest-posts__post-author,
.wp-block-latest-posts__list .wp-block-latest-posts__post-date {
	text-decoration: none;
}

.wc-block-cart-items td {
	color: inherit;
}

.wc-block-components-totals-coupon__content button.components-button {
	border-radius: 0;
}

ul.wp-block-page-list a {
	text-decoration: none;
}

.wc-block-featured-product__price .woocommerce-Price-amount.amount {
	color: inherit;
}

.wp-block-post-comments-form .comment-reply-title {
	margin-bottom: 1.4rem;
}

.wp-block-group .wp-block-details p {
	margin-top: 1rem;
    padding-top: 1rem;
}

.woocommerce table.shop_attributes td {
	text-decoration: none;
}

.wc-block-cart-items th {
	color: inherit;
}

.wp-block-latest-posts__post-author {
	font-size: 18px;
	font-weight: 600;
}

.post .entry-content ul.wp-block-post-template li.wp-block-post .wp-block-post-date {
	padding-bottom: 1.2rem;
}

.wc-block-mini-cart__empty-cart-wrapper .wc-block-mini-cart__shopping-button:focus {
	color: #fff;
}

.wc-block-featured-product__price .woocommerce-Price-amount.amount {
	text-decoration: none;
}

.widget .wp-block-group pre.wp-block-preformatted {
	background: rgba(26, 26, 26, 0.8);
	color: #ddd;
}

.sidebar .widget .wp-block-file .wp-block-file__button {
	background-color: #1b8415;
}

.wp-block-social-links .wp-social-link:last-child {
    margin-bottom: 8px;
}

.wp-block-code.has-background code {
	background: inherit;
}

.wc-block-mini-cart__footer-checkout:focus {
    background-color: inherit;
    color: #fff;
}

.wc-block-cart__submit-button,
.wc-block-cart__submit-button:hover,
.wc-block-cart__submit-button:focus {
	text-decoration: none;
}

.wc-block-mini-cart__badge {
	color: inherit;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
    line-height: 16px;
}

.wc-block-mini-cart__footer .wc-block-mini-cart__footer-actions a {
	font-size: 1.2rem;
	text-decoration: none;
}

.wc-block-mini-cart__footer span.wc-block-components-totals-item__label {
	font-size: 16px;
	line-height: 20px;
}

.wp-block-file.has-background {
	padding: 0.5rem;
}

.wc-block-cart-item__remove-link {
	text-decoration: none !important;
}

a.wp-block-latest-posts__post-title {
	text-decoration: none;
}

.wp-block-latest-comments__comment a {
	text-decoration: none;
}

.has-background.wp-block-read-more {
	padding: 0.25em 1.375em;
}

.wc-block-components-product-badge {
    font-size: 1rem !important;
}

.wc-block-components-totals-coupon-link {
	text-decoration: none;
}

.wc-block-grid__product-price.price ins {
	line-height: 18px;
}

.wc-block-components-product-badge {
    text-decoration: none;
}

.wp-block-latest-comments__comment a {
    text-decoration: none;
}

.wp-block-file a {
	line-height: 18px;
}

.wp-block-file.has-background {
	margin: 0.5rem;
}

.wc-block-components-product-badge {
	line-height: 18px;
}

.wc-block-components-totals-coupon-link {
    line-height: 18px;
}

.wp-block-comment-date a {
	color: inherit;
}

.wp-block-comment-author-name a {
    color: inherit;
}

.widget .wp-block-heading:after {
	background: inherit;
}

.wp-block-comment-date span a {
    color: inherit;
}

.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {
	text-decoration: none;
}

.wc-block-components-product-metadata .wc-block-components-product-metadata__description>p	{
	font-size: 1.2rem;
}

.wc-block-mini-cart__empty-cart-wrapper .wc-block-mini-cart__shopping-button:hover	{
	color: #fff;
}

.wc-block-mini-cart__empty-cart-wrapper .wc-block-mini-cart__shopping-button:focus	{
	color: #fff;
}

.widget.widget_shopping_cart span a:before	{
	display: none;
}

.wp-block-page-list a:hover,
.wp-block-page-list a:focus {
	color: inherit;
}

.wp-block-page-list a {
	text-decoration: none;
	font-weight: 600;
}

.wp-block-page-list {
	list-style: none;
}

.sidebar .widget .wp-block-group .wp-block-audio {
	padding: 1.563rem 1.000rem 1.563rem;
}

.wp-block-social-links .wp-social-link:last-child {
	margin-bottom: 10px;
}

.wp-block-social-links .wp-social-link:last-child {
	margin-bottom: 5px;
}

.wp-block-social-links .wp-social-link a {
	box-shadow: none;
}

.wp-block-calendar table th {
	font-weight: 600;
}

.wp-block-calendar a {
	text-decoration: none;
	box-shadow: none;
}

.widget .wp-block-read-more {
	font-weight: 500;
}

.footer-sidebar .widget .wp-block-group .wp-block-quote cite a {
	color: inherit;
}

.entry-content blockquote cite a:hover,
.entry-content blockquote cite a:focus {
	text-decoration: underline;
}

.widget .wp-block-group ul li {
	padding-bottom: 14px;
}

.widget .wp-block-group ul li a {
	text-decoration: none;
}

.wp-block-archives {
	list-style: none;
}

.wp-block-list.has-background {
	padding: 1.25em 2.375em;
}

.wp-block-preformatted.has-background {
	padding: 1em;
}

.sidebar .widget .wp-block-group .wp-block-preformatted a {
	color: inherit;
}

.sidebar .widget .wp-block-group .is-vertical a {
	color: inherit;
}

.sidebar .widget.widget_block .wp-block-group p {
	padding: 0.78125rem 1.000rem 0.78125rem;
}

.footer-sidebar .widget.widget_block .wp-block-group p a {
	color: inherit;
}

.wp-block-page-list.has-background {
	padding: 1rem;
}

.wp-block-page-list p a {
	padding: 1rem;
}

.wp-block-post-author img {
    border-radius: 100%;
}

a.wp-block-button__link:focus {
	color: #fff;
	text-decoration: none;
}

.post.grid-view-news-area ul.wp-block-rss {
	list-style: disc;
}

.post .wp-block-archives li {
	padding-bottom: 0.625rem;
}

.widget .wp-block-embed .wp-element-caption a {
	color: inherit;
}

.sidebar .widget .textwidget a span{
	color: inherit;
}

.wp-block-file .wp-block-file__button {
   text-decoration: none;
   border: none;
}
/* ===== Align slider images to the bottom of the slider (HowToPing / Eduvert) ===== */

/* 1) Generic slider container -> use flex to align children to bottom */
.slider-area,
.banner-section,
.hero-slider,
.hero-banner,
.single-slider,
.carousel,
.carousel-inner,
.carousel-item,
.home .slider-area {
  display: flex !important;
  align-items: flex-end !important;  /* force bottom alignment of children */
  min-height: 380px;                 /* adjust base height if needed */
}

/* 2) If the slide uses a direct <img> inside the item */
.carousel-item img,
.single-slider img,
.hero-slider img,
.slider-area img {
  display: block;
  width: auto !important;    /* keep aspect ratio */
  max-width: 55%;           /* adjust ratio of image to slider (tweak to taste) */
  height: auto !important;
  align-self: flex-end !important; /* make the image sit on the bottom */
  object-fit: contain;      /* keeps full image visible without stretching */
  vertical-align: bottom;
  margin-bottom: 0 !important;
}

/* 3) If the slide image is applied as a background-image */
.slider-area .slide-background,
.banner-section .slide-bg,
.hero-slider .slide-bg,
.carousel-item {
  background-position: center bottom !important; /* keep background anchored to bottom */
  background-size: cover !important;             /* or use 'contain' if you prefer letterbox */
}

/* 4) Ensure text/controls stay vertically centered visually (don't push down) */
.slider-area .container,
.banner-section .container,
.carousel-caption,
.slider-content {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* center text vertically while images align bottom */
  height: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* 5) Responsive tweaks: on small screens, allow image to shrink and reposition */
@media (max-width: 991px) {
  .carousel-item img,
  .single-slider img,
  .hero-slider img {
    max-width: 40%;
  }
  .slider-area,
  .banner-section {
    min-height: 420px; /* give more vertical space on mobile if image floats */
  }
}
@media (max-width: 575px) {
  .carousel-item img,
  .single-slider img,
  .hero-slider img {
    max-width: 60%;
    margin: 0 auto;
  }
  .slider-area,
  .banner-section {
    min-height: 520px;
    align-items: center !important; /* stack for very small screens if needed */
  }
}

/* 6) If specificity problems appear, use a stronger rule (apply only if necessary) */
.slider-area .carousel-item img,
.banner-section .carousel-item img {
  /* uncomment if your theme's rules override the align-self */
  /* align-self: flex-end !important; */
}

/* End of slider bottom-alignment helpers */
