/**
Theme Name: Unique Schools
Author: Unique Schools
Author URI: https://uniqueschools.ie/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: unique-schools
Template: astra
*/

/* Header */

#menu-top-menu{    display: flex;    gap: 15px;    justify-content: flex-end;    align-items: center;}
.app-icon img{ max-width: 30px; background: #fff;    padding: 2px!important;    border-radius: 5px;}
.ast-theme-transparent-header .ast-above-header, .ast-theme-transparent-header .ast-above-header.ast-above-header-bar{ background: #752143; }

.site-title { text-transform: uppercase;}
.site-primary-header-wrap{ background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(6px); border-radius: 50px 10px 10px 50px; padding: 0 10px; margin-top: 40px;}

header h2.widget-title { display: none;}
.menu-top-menu-container{ }

.background-image{ height: 400px; position: relative; background-repeat: no-repeat!important; background-size:cover!important;}
.background-image h1{ max-width: 400px; width: 100%; background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(6px); position: absolute; bottom: 0; left: 106px; padding: 20px; font-size: 36px; font-family: 'Lato', sans-serif; color: #fff;    font-weight: 400;}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column-standard, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item{ padding: 10px 0;}
.ast-builder-layout-element .ast-site-identity{ margin-left: -9px;}
.site-branding .ast-site-title-wrap{ padding-left: 10px;}
.ast-logo-title-inline .ast-site-identity{ padding: 0;}
span.site-logo-img{ /*width: 80px; height: 80px; position: absolute;*/ background: white; display: flex; align-items: center; justify-content: center; padding: 5px!important; border-radius: 50px; left: -10px;}

.mega-menu-primary > li a.mega-menu-link{ background: rgba(0,0,0,0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);}
#mega-menu-primary > li.mega-menu-item > a.mega-menu-link { font-weight: bold !important; font-size: 16px !important; text-transform: uppercase !important; background: rgba(0, 0, 0, 0.3) !important; backdrop-filter: blur(6px)!important;}

#mega-menu-primary { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: rgba(255, 255, 255, 0.3); border: 1px solid rgba(255,255,255,0.2);}

body.archive .ast-archive-description{ background: transparent; padding:0;}
/*  */

/*  Homepage News Section Start */
.news-section .media-posts{ display: flex; flex-wrap: wrap; gap: 15px; justify-content: space-between; align-items: center;}
.news-section .gal-col.all { max-width: 370px; width: 100%;}
.news-section .pic-section img{ object-fit:cover; height: 310px;}
.news-section .gal-col.all .text-box{ background: white; padding: 20px;}
/* Homepage News Section ENd */

/* News CSS Start */
.media-news{ margin-top: 17%; margin-bottom: 50px;}
.media-posts .content-wrap, .media-posts .small-content{ background: #752143; color: #fff; padding: 18px; width: 100%;}
.media-posts .small-content{ border-radius: 0 10px 10px 0;}
.media-posts .content-wrap a, .media-posts .small-content a, .media-posts .content-wrap .sub-heading, .media-posts .small-content .sub-heading{ color: #ffffff;}
h1.inner-heading-txt {
    margin-bottom: 1%;
}
/* News Style Start */
.news-row { gap: 30px; margin-bottom: 30px; max-width: 1140px; width: 100%;}
.big-post, .small-posts { width: 100%; display: flex; flex-direction: column;}
/* .big-post, .small-posts { width: 100%; display: flex; flex-direction: column;} */
.big-post h3, .small-post h3{  color: #ffffff!important; }
.big-post img { width: 100%; height: 240px; object-fit: cover; border-radius: 10px 10px 0 0;}
.small-posts{ gap: 30px;}
.small-post { display: flex;}
.small-img img{ width: 300px; height: 177px; object-fit: cover; border-radius: 10px 0 0 10px;}
.purple-btn { display: inline-block; background: purple; color: #fff; padding: 8px 15px; text-decoration: none; margin-top: 10px;}
/* .widget-area.secondary, .content-area.primary{ float; left!important;} */
/* Sidebar */

/* Page Sidebar */
.custom-sidebar{ color: #ffffff; font-size: 25px; text-transform: uppercase; font-weight: bold;padding-top: 15px;}
.custom-sidebar nav ul { margin: 0; list-style: none; text-transform: initial; font-size: 20px; font-weight: normal; font-style: italic;}
.custom-sidebar nav ul a { color: #fff; border-bottom: 1px solid #dddddd;    padding: 5px 0;    margin-bottom: 5px;    display: flex;    align-items: center;    justify-content: space-between; max-width: 330px;}
ul.menu li.current-menu-item a, .custom-sidebar nav ul a:hover, .custom-sidebar nav ul a:focus{    color: #d6ba01;}
.custom-sidebar nav ul a:after {    content: '';    display: block;    width: 15px;    height: 15px;    border-top: 2px solid;    border-right: 2px solid;    transform: rotate(45deg);}

/* Page siebar End */

#recent-posts-2 a { display: flex; justify-content: space-between; align-items: center;}
#recent-posts-2 a:after { content: ''; width: 15px; height: 15px; border-top: 2px solid; border-right: 2px solid; display: block; transform: rotate(45deg);}
.single-post .media-posts{ display: flex; flex-direction: row; gap: 20px;}
.single-post .media-posts .pic-section { /*height: 200;*/ overflow: hidden;}
.single-post .media-posts .text-box {    background: #fff;    padding: 20px;}
.single-post .pic-section img { object-fit: cover; object-position: center; height: 200px!important; -webkit-transform: scale(1); transform: scale(1); -webkit-transition: .3s ease-in-out; transition: .3s ease-in-out;}
.single-post .pic-section img:hover { -webkit-transform: scale(1.1); transform: scale(1.1);}
#secondary li { line-height: 1.5em; border-bottom: 1px solid #a8abaf; padding-bottom: 10px;}

.single-post .site-content .ast-container{ margin-top: 100px; }
.single-gallery .site-content .ast-container{ margin-top: 150px; }
.single .entry-header .post-thumb img { object-fit: cover; height: 480px; object-position: center;}
/* News Style End */

/* --------- Gallery ---------- */
.gallary .container{ max-width: 1290px; display: block; width: 100%; margin: 0 auto; }
/* .gallery h2.entry-title, .gallery .entry-header, .gallery p.ast-blog-single-element { display: none;} */
.gallery .post-content{ height: auto; padding: 0!important; }
.gallery .post-content h2, .gallery .post-content header{ padding: 10px 10px 0 10px;}
.gallery .post-content .read-more{ margin: 0; padding: 0 10px 20px;}
.gallery .post-content .post-thumb{ margin-bottom: 0;}
.gallery .blog-layout-4{ padding: 0;}

.site-branding.ast-site-identity{ display: flex; justify-content: start; text-align: center;}
.post-type-archive-gallery section.ast-archive-description { padding: 0; background: transparent;}

/* smart slider */
.n2-ss-slider .n2-ss-slider-controls-below{ margin: 0 auto!important;}
/* --------- Gallery ---------- */

/* Custom CSS */
.uppercase{ text-transform: uppercase;}
.white-text{ color: #ffffff!important;}
.font-lato{ font-family: 'Lato', sans-serif!important;}
.blur-box{ backdrop-filter: blur(5px);}
a.custom-btn { background: #752143; border-radius: 50px; border: 1px solid #752143; padding: 12px 24px!important; color: #ffffff!important;}
.read-more-link:before{ content: '+'; padding-right: 5px; }
.read-more-link{ color: #ffffff!important; }
a.custom-btn:hover { background: #D6BA01; border: 1px solid #D6BA01; transition: all .3s;}
p { margin-bottom: 15px;}
.table-scroll{ overflow: auto;}
.news_date{ margin-bottom: 24px; }

/* Policies Page CSS Start */
.policies-inner-wrap h6 a{ background-color: #752143; padding: 20px; border-radius: 20px; width: 100%; display: block;}
/* Policies Page CSS End */

/* Contact Form 7 start*/
.field-wrap{ display: flex; justify-content: space-between;  margin-bottom: 0!important;}
.field-wrap .field-inner-wrap p, .field-wrap .submit-wrap p{ margin-bottom: 0; }
.wpcf7-submit{ padding: 12px 24px!important; border-radius: 50px!important; background: #752143!important; text-transform: uppercase!important; font-family: 'Lato', sans-serif!important;}
.wpcf7-submit:hover, .wpcf7-submit:active{ background: #D6BA01!important; }
.wpcf7-response-output{ margin: 0!important; position: absolute!important; color: #fff!important; border: 0!important; padding: 0!important;}
/* Contact Form 7 end*/

/* ----------- Footer CSS Start ------------- */
/* Social Media Start */
#menu-social-media{ display: flex; align-items: center; justify-content: space-between; max-width: 120px;}
#menu-social-media li a i.fa{ font-size: 30px!important;}
/* Social Media End */

/* footer {max-width: 1140px;    margin: 0 auto;    padding: 0 50px;} */
footer a { color: #ffffff!important;}
footer a:hover { color: #D6BA01!important;}
/* ----------- Footer CSS End------------- */

/* Equal height columns start */
.reports-inner-wrap .e-con-inner > .elementor-element { background: #752143; padding: 20px; width: 25%; border-radius: 20px;}
/* Equal height columns start */

/* Responsive CSS */
@media only screen and (max-width: 991px) {
	.two-col-li{ column-count:1;}
	ul.mega-sub-menu li { width: 100% !important;}
	.site-content .ast-container { display: block; }
	.news-row { display: block;}
	.big-post, .small-posts{ max-width: 100%; margin-bottom: 20px;}
	.big-post { flex-direction: row;}
	.media-posts .content-wrap{ border-radius:  0 10px 10px 0;}
	.small-img img, .image-wrap img { width: 300px; height: 177px; object-fit: cover; border-radius: 10px 0 0 10px;}
}

@media only screen and (min-width: 992px) {
	.two-col-li{ column-count:2;}
	.news-row { display: flex;}
	.big-post, .small-posts { max-width: 50%;}
	.media-posts .content-wrap{ border-radius: 0 0 10px 10px;}
/* 	.sticky{ top: 0!important;} */
}

@media only screen and (min-width: 1100px) {
	ul.mega-sub-menu { column-count: 2; }
}

@media only screen and (min-width: 1300px) {
	ul.mega-sub-menu { column-count: 4;	}
	
}

@media only screen and (max-width: 2300px) {
	/* Mega Menu Start */
/* 	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item > ul.mega-sub-menu {flex-wrap: wrap!important; } */
/* 	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu, #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu.mega-menu-item.mega-toggle-on ul.mega-sub-menu, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{ display: flex; flex-wrap: wrap; } */
/*     #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item {        width: 25%; } */
	#mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open + #mega-menu-primary{ margin-top: 25px; /*height: 480px;*/ overflow: auto; border-radius: 10px;background-color: rgba(0, 0, 0, 0.5);}
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link { color: white; background-color: rgba(0, 0, 0, 0.85) !important; display: flex; text-transform: uppercase; }
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator { float: initial;}
	/* Mega Menu End */
}

/* Gallery */
.gallery { width: 100%; display: block; float: left;}
.gallary_section { width: 100%; display: block; float: left;}
.gallary-posts { width: 100%; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;}
.gallary-posts .pic-section:nth-child(4n+ 1) { margin-left: 0;}
.gallary-posts .pic-section { overflow: hidden; background: rgba(0, 0, 0, .1); width: 100%; max-width: 373px; margin-bottom: 45px; height: 298px; overflow: hidden; position: relative; border: 2px solid #c3c3c3;}
.gallary-posts .post-thumb-wrapp, .gallary-posts .gallary { height: 100%;}
/* .gallary-posts .post-thumb-wrapp, .gallary-posts .gallary { height: 100%;} */
.gallary { width: 100%; display: block; float: left; /*margin-top: 3%;*/}
.gallary-posts .pic-section a { width: 100%; display: block;}
.gallary-posts .pic-section img { -webkit-transform: scale(1); transform: scale(1); -webkit-transition: .3s ease-in-out; transition: .3s ease-in-out;}
.gallary-posts .pic-section img { width: 100%; max-width: 100%; object-fit: cover; max-height: 294px; height: 294px; object-position: center;}
.gallery img { width: auto; max-width: 100%; object-fit: cover; object-position: center; /*margin: 10px;*/ border: 2px solid #ddd;}
h2.entry-title.ast-blog-single-element a:after { content: "View More"; display: block; font-size: 14px; white-space: break-spaces; pointer-events: inherit; }

/* fancybox */
.fancybox-image, .fancybox-spaceball { height: auto; }

/* @media (max-width: 768px) {
 .media-posts .gal-col .text-box .sub-heading { font-size: 22px; line-height: 27px;}
 .media-posts .gal-col { max-width: 100%; margin-bottom: 20px; }
 .media-posts .gal-col:last-child { margin-top: 20px; }
 .media-posts .gal-col .text-box { height: calc(100% - 290px); }
 .ast-article-post .post-thumb-img-content img { aspect-ratio: auto; }
 .site-header-primary-section-right{ z-index: 9;}
}

@media (max-width: 917px) {
	.ast-header-break-point .ast-mobile-header-wrap .ast-flex.inline-on-mobile { display: ruby; justify-content: space-between; max-width: 520px;}
	.ast-header-break-point .main-navigation ul .menu-item .menu-link{ padding: 0 10px;}
} */

/* .events-calendar-bar .bar-btn.active, .events-calendar-bar .bar-btn:hover{ background: #5aa4a3!important; } */

/* Mega Menu */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
	color: #d7ba03;
}
.custom-sidebar {
    padding-top: 20px;
}
/*  */

/* News single page */
body.single #primary,
body.single #secondary {
    margin-top: 7em;
}
/*  */