::selection {  background-color: #1b2c65;  color: #fff;}
.ast-menu-toggle:focus { outline: none;}
.mar-top-50{ margin-top: 50px!important;}
.mar-bot-50{ margin-bottom: 50px!important;}
#content.site-content .ast-container .content-area { width: 100%;}
.post-type-archive-gallery .content-area{ margin: 4em 0;}
.gallery-container { display: flex; flex-wrap: wrap; gap: 15px; justify-content: flex-start;}
.gallery-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 95%; background: rgba(0, 0, 0, 0.7); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; opacity: 0; transition: opacity 0.3s ease-in-out; padding: 10px;}
.gallery-overlay h3 { margin: 0; font-size: 23px; color: #fff;}
.gallery-overlay p { margin: 5px 0 0; font-size: 14px;}
.gallery-item:hover .gallery-overlay {    opacity: 1;}
.gallery-item{ position: relative;}
.gallery-thumbnail img {    width: 100%;    object-fit: cover;} .yellowtail { font-family: "Yellowtail", serif!important; font-weight: 400!important; font-style: normal; color: #000000!important; }
footer a:hover, footer a:focus { color: #378CD5!important;}
.ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a){ text-decoration: none;}
.gallary-posts .gallary{ margin-top: 0; }
.gallary_section h2.inner-heading-txt { margin-bottom: 20px;} .ast-site-identity{ padding: 0;}
.ast-above-header-wrap{transition: opacity 0.3s ease, transform 0.3s ease;}
.hide-bar{ display: none; opacity: 0; transform: translateY(-100%);}
header .header-widget-area[data-section="sidebar-widgets-header-widget-2"]{ margin-left: 0;}
header .top-header-contact{ font-size:14px; } header .top-header-contact span i{ margin-right: 5px;}
header .ast-header-search .astra-search-icon, .ast-header-search .search-field::placeholder{ color:#ffffff; }
.ast-dropdown-active .search-field::placeholder, .ast-dropdown-active .ast-header-search .ast-icon{ color: black!important; }
span.ast-icon.icon-search:before{ display:none; }
.ast-dropdown-active span.ast-icon.icon-search { color: #1b2c65;}
.ast-builder-html-element img{ border-radius:5px; }
.ast-builder-html-element a{ margin: 0 10px 0 0;}
.ast-above-header-wrap .ast-builder-menu-2 .current-menu-item a{ color: #ffffff!important;} .menu-item-gtranslate select{ margin-left: 10px;} .ast-logo-title-inline .site-logo-img{ background: transparent!important; box-shadow:none!important; }
header .ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-html-1{ max-width:200px; line-height:18.77px; }
header .ast-custom-button{ max-width:160px; text-align:center; }
.ast-builder-menu-1 .sub-menu, .ast-builder-menu-1 .inline-on-mobile .sub-menu{ border-top: none; padding: 30px 0; background: rgba(255, 255, 255, 0.9); }
img.footer-logo { padding: 5px 10px; max-width: 150px;}
.ast-custom-button-link:hover > a { color: #ffffff!important; }
.ast-custom-button-link > a.menu-link{ padding: 10px; color: #ffffff!important; background: #378cd5; text-transform: uppercase; };
.ast-custom-button-link{ background: #ed593f; color: #ffffff;}
.main-header-bar-wrap .main-header-menu li.menu-item.ast-custom-button-link > a.menu-link:hover{ color: #ffffff!important; background: #1b2c65;}
.ast-builder-menu-1 .menu-item > .menu-link{ color: #1b2c65; }
.custom-button {  background: #a0cb37;  padding: 10px 20px;  color: #fff;  text-transform: uppercase;}
.custom-button:hover {  background: #d91a01; color: #ffffff;}
.main-header-menu .sub-menu { width: 220px;}
li.current-menu-item a{ color: #378cd5 !important;}
.main-header-menu .sub-menu .menu-link{ padding: 5px 10px; } div#n2-ss-2 [data-hide-desktopportrait="1"]{ display: block!important;} h2.custom-sidebar-widegt-title {font-size: 20px!important;}
.menu-item a{ color: #1B2C65; text-decoration: none !important;  }
.current-menu-item > a, .current-menu-item > a:hover .current-menu-item > a, { color: #5f6198!important; }
aside.widget.widget_nav_menu nav ul, .custom-sidebar-menu nav ul{ padding: 0; list-style: none; margin: 0;}
aside.widget.widget_nav_menu nav ul li, .custom-sidebar-menu nav ul li{ border-bottom: 1px solid #1B2C65!important; padding: 10px 0!important; float: left; display: block; width: 100%;}
.custom-sidebar-menu nav ul li a.menu-link{ float: left; width: 100%; display: block;}
aside.widget.widget_nav_menu nav ul li.current-menu-item a, .custom-sidebar-menu nav ul li.current-menu-item a{ color: #0aa8ed; }
aside.widget.widget_nav_menu nav ul li.current-menu-item a:after, .custom-sidebar-menu nav ul li.current-menu-item a:after { background: url(//cnocmhuiregranard.ie/wp-content/themes/st-marys-new-ross/assets/images/menu-arrow-light-blue.png)!important;}
aside.widget.widget_nav_menu nav ul li a:after , .custom-sidebar-menu .elementor-widget-container nav ul li a:after { content: ''; background: url(//cnocmhuiregranard.ie/wp-content/themes/st-marys-new-ross/assets/images/menu-arrow-blue.png); float: right; background-size: 100%; height: 20px; width: 10px; background-repeat: no-repeat; margin-top: 9px;} .entry-content p { margin-bottom: 0;}
.entry-content ul, ul{ margin-top: 0;}
ul.ul-spacing{ margin-top: 18px; margin-bottom: 18px;}
.hide-it{ display: none!important;}  .blue-strip-content p{ margin-bottom: 0; }
.history tr:nth-child(even), .subjects tr:nth-child(even), .transition tr:nth-child(even), .senior tr:nth-child(even){ background: rgba(8,50,141,.4)!important; color: #08328d!important; } .no-list-style{ list-style:none; padding:0!important; } .single-post .entry-content p, .entry-content p, p{ margin-bottom: 20px;} .app-icon span.menu-image-hover-wrapper{ padding-right:0; }
.app-icon img{ border-radius:5px; padding-right: 0!important; }
.site-above-footer-wrap{ z-index: 999;}
footer a { color: #fff;}
#astra-footer-menu{ margin-top: 0;} footer .site-above-footer-wrap{ padding: 20px;}
.ast-builder-footer-grid-columns { grid-column-gap: 10px;} .blog h2, .page-template-template-gallery h1{ padding: 0 15px; margin-bottom: 20px; line-height: 45px; font-size: 40px; color: #1B2C65;}
.news-grid{ display: flex; flex-wrap: wrap;}
.news-inner-wrap, .news-inner-wrap a, h1.entry-title, .widget-title{ color: #378cd5 !important;}
.news-inner-wrap h3{ margin-top: 20px; color: #1b2c65;}
aside.widget.widget_recent_entries nav ul li{ border-bottom: 1px solid #1B2C65 !important; float: left; display: block; width: 100%;}
#secondary li { margin-bottom: 0;}
aside.widget.widget_recent_entries nav ul li a{ color: #1B2C65; padding: 15px 0 !important; float: left; width: 100%;}
aside.widget.widget_recent_entries nav ul li a[aria-current="page"]{ color: #378CD5;}
aside.widget.widget_recent_entries nav ul li a:after { content: ''; background: url(//cnocmhuiregranard.ie/wp-content/themes/st-marys-new-ross/assets/images/menu-golden-arrow.png); float: right; background-size: 100%; height: 20px; width: 10px; background-repeat: no-repeat; margin-top: 4px;}
aside.widget.widget_recent_entries nav ul li.current-menu-item a:after { background: url(//cnocmhuiregranard.ie/wp-content/themes/st-marys-new-ross/assets/images/menu-golden-arrow.png)!important;}
.ast-single-post-featured-section img { display: none;}
.ast-separate-container .site-content .ast-single-post-featured-section + article{ margin-top: 0;}
.single .widget-area.secondary .sidebar-main{ max-height: max-content!important;}
aside#recent-posts-2{ float: left; margin-bottom: 0!important;}
aside#custom_html-10{ float: left; width: 100%;}
aside#custom_html-10 .custom-html-widget a.transparent-btn{ width: 100%; display: block; text-align: center; color: #1B2C65; border: 2px solid #378cd5; padding: 5px; text-transform: uppercase; }
aside#custom_html-10 .custom-html-widget a.transparent-btn:hover{ background-color: #1B2C65; border: 2px solid #1B2C65; color: #ffffff;} .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 .post-thumb{ margin-bottom: 0;}
.gallery .blog-layout-4{ padding: 0;}   @media only screen and (max-width: 600px) {
.hide-for-mobile{ display: none!important;} .ast-above-header.ast-above-header-bar{ text-align: center;}
.ast-builder-grid-row>.site-header-section{ flex-wrap: wrap;}
.ast-header-search{ margin: 0 auto; display: none!important;}
.top-header-contact{ display: flex; flex-wrap: wrap; justify-content: space-around;}
li.menu-item:hover > a, li.menu-item:focus > a, li.menu-item:active > a { } .foot-info{ display: block;}
.custom-social-icons img, .app-icon .menu-image-title-after.menu-image-title{ margin-top: 0;}
#astra-footer-menu li{ margin-bottom: 10px;} .staff-list table tr{ display: flex; flex-direction: column; width: 330px;}
.gallery-item { width: 100%; height: 315px;}
.full-mobile-img{ width: 100%; margin-bottom: 20px;}
}
@media (min-width: 601px) and(max-width: 767px) {
.gallery-item { width: 48%; height: 315px;}
}
@media (max-width: 767px) {
#ast-mobile-header .site-header-above-section-right { position: relative; }
.ast-header-break-point .header-widget-area[data-section="sidebar-widgets-header-widget-2"]{ display: block; top: 0; position: relative; }
#ast-mobile-header .ast-builder-grid-row{ display: block; }
.ast-primary-header-bar.ast-primary-header.main-header-bar .ast-builder-grid-row{ display: grid!important; }
.ast-menu-toggle{ box-shadow: none!important;}
.site-header-section{ height: auto;}	
}
@media (min-width: 768px) and (max-width: 1023px) {
.gallery-item { width: 31%; height: 315px;}
}
@media (min-width: 834px) {
.site-header-primary-section-right.ast-g:rid-right-section { margin-right: 0; }
#ast-desktop-header{ position: fixed; width: 100%;}
.site-logo-img{ display: block; position: absolute; top: -10px;}
.gallery-item { width: 32%; height: 315px;}
}
@media (max-width: 1024px) {  .site-above-footer-wrap[data-section="section-above-footer-builder"].ast-footer-row-tablet-inline .site-footer-section{ justify-content: flex-start;}
.footer-widget-area[data-section="section-fb-html-1"]{ margin-left: 0;}
#astra-footer-menu{ margin-left: 15px;}	
.ast-builder-grid-row-container.ast-builder-grid-row-tablet-4-equal .ast-builder-grid-row { grid-template-columns: repeat(1, 1fr); }
}
@media (max-width: 1349px) {
.site-footer-section-1, .site-footer-section-2{ width: 380px;}
}
@media (min-width: 1350px) {
.site-footer-section-1{ width: 400px}
.site-footer-section-2{ width: 420px;}
}
@media (min-width: 1092px) and (max-width: 1399px) {
.site-header-primary-section-left{ width: 238px; }
.gallery-item { width: 32%; height: 315px;}
.ast-custom-button-link > ul.sub-menu{ margin-left: -85px; }
.ast-builder-grid-row-container.ast-builder-grid-row-tablet-4-equal .ast-builder-grid-row { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1400px) {
.gallery-item { width: 32%; height: 315px;}
.ast-custom-button-link > ul.sub-menu{ margin-left: -85px; }
.ast-builder-grid-row-container.ast-builder-grid-row-tablet-4-equal .ast-builder-grid-row { grid-template-columns: repeat(2, 1fr); }
}
.footer-section{ background: #1B2C65; border-top: 30px solid #378cd5; padding: 20px;}
.footer-container-wrap{ display: flex; align-items: flex-start; color: #fff; flex-wrap: wrap; justify-content: space-between; gap: 10px;}
.footer-col.footer-col-3 ul{ display: flex; flex-wrap: wrap; gap: 5px; list-style: none;}
.footer-col { font-size: 14px;}
.learning-section h3 a{ width: 100%;    display: flex;    justify-content: space-between;    align-items: center;}
.learning-section h3 a:after { content: ""; border-top: 2px solid #043a93; border-right: 2px solid #043a93; width: 20px; height: 20px; display: inline-block; transform: rotate(45deg);}