@font-face {
font-family: 'Mont-Heavy';
src: url(//cercork.ie/wp-content/themes/st-marys-new-ross/assets/fonts/Mont-Heavy.woff2) format('woff2'), url(//cercork.ie/wp-content/themes/st-marys-new-ross/assets/fonts/Mont-Heavy.woff) format('woff'), url(//cercork.ie/wp-content/themes/st-marys-new-ross/assets/fonts/Mont-Heavy.ttf) format('truetype');
font-weight: 800;
font-style: normal;
font-display: swap;
} ::selection {  background-color: #054f99;  color: #fff;}
.page-numbers{ color: grey;}
.page-numbers svg{ filter: grayscale(100%); width: 16px; }
.prev.page-numbers svg { margin: 0 5px 0 0; }
.next.page-numbers svg { margin: 0 0 0 5px; }
.top-mar-0{ margin-top: 0!important;} .yellowtail { font-family: "Yellowtail", serif!important; font-weight: 400!important; font-style: normal; color: #000000!important; }
footer a:hover, footer a:focus { color: #c8a349!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-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{ margin-right: 10px;}
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; } .ast-header-html-2 .ast-builder-html-element{ font-size: 17px;}
.astra-search-icon .screen-reader-text{ display: block; position: relative; width: auto; height: 20px; margin-right: 10px;}
.site-header-section>div:first-child, .site-header-section>div:last-child{ padding: 0;}
.ast-icon.icon-search svg{ margin-top: 0;}
.ast-dropdown-active span.ast-icon.icon-search { color: #054f99;}
.ast-builder-html-element img{ border-radius:5px; }
.ast-builder-html-element a{ margin: 0 10px 0 0;}
.tyro-menu .menu-image-title, .tyro-menu span{ display: none;}
a.app-icon img{ border: 2px solid #c3d4e6; padding: 3px;}
.ea11y-widget-typography{ display: none!important;} .ast-logo-title-inline .site-logo-img{ background: transparent!important; box-shadow:none!important; }
.site-title a{ line-height: 20px!important; float: left;}
header .ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-html-1{ max-width:200px; line-height:18.77px; }
header .custom-logo-link img{ box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);}
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 10px; 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: #c8a349; 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: #054f99;}
.ast-builder-menu-1 .menu-item > .menu-link{ color: #054f99; padding: 10px; }
.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: #c8a349 !important;} .main-header-menu .menu-link, .main-header-menu > a{ padding: 0 15px 0 0;}
.current-menu-ancestor > a.menu-link { color: #c8a349 !important;}
.ast-custom-button-link.current-menu-ancestor > a.menu-link{ color: #ffffff!important;} div#n2-ss-2 [data-hide-desktopportrait="1"]{ display: block!important;} .search .ast-archive-description h1, .search .ast-archive-description h1 *, .search .ast-archive-description a, .search .ast-archive-description a *, .search .ast-archive-description h1, .search .ast-archive-description h1 * {	color: #c8a349;} h2.custom-sidebar-widegt-title {font-size: 20px!important;}
.menu-item a{ color: #054f99; 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 #054f99!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: #c8a349; } .elementor-widget-sidebar ul.menu li.menu-item a{ display: flex; align-items: center; justify-content: space-between; } .entry-content p { margin-bottom: 0;}
ul.ul-spacing{ margin-top: 18px; margin-bottom: 18px;}
.hide-it{ display: none!important;}
.elementor-accordion-item:nth-child(odd) .elementor-tab-title, .elementor-accordion-item:nth-child(odd) .elementor-tab-content { background: #faf6ed!important;}
.elementor-accordion-item:nth-child(even) .elementor-tab-title { background: #e9dab6 !important;}
.entry-meta, .posted-by, .posted-on .published, header.entry-header *{ color: #c8a349!important;} ul.menu li a:after, .widget_recent_entries ul li a:after{
content: '';
width: 15px;
height: 15px;
border-top: 2px solid;
border-right: 2px solid;
transform: rotate(45deg);
display: inline-block;
}
.widget_recent_entries ul li a{
display: flex;
align-items: center;
justify-content: space-between;
} .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; }
#learning-section a.learning{ display: flex;    align-items: center;    justify-content: space-between;}
#learning-section a.learning:after{ border-top: 2px solid #054F99; border-right: 2px solid #054F99; content: ''; width: 20px; height: 20px; display: block; transform: rotate(45deg);}
#learning-section a.learning:hover::after{ border-top: 2px solid #C8A349; border-right: 2px solid #C8A349; } .single-post .entry-content p, .entry-content p, p{ margin-bottom: 20px;}
.elementor-accordion-item h4 { margin-bottom: 10px;}
h2.elementor-heading-title{ margin-bottom: 20px!important;} button.e-n-tab-title[aria-selected="true"]:after {
content: '';
display: block;
border-top: 2px solid #c8a349;
width: 10px;
height: 10px;
border-right: 2px solid #c8a349;
transform: rotate(135deg);
position: absolute;
bottom: -5px;
background: #c8a349;
} .app-icon span.menu-image-hover-wrapper{ padding-right:0; }
.app-icon .menu-image-title-after.menu-image-title{ }
.custom-social-icons img{ max-width: 30px; height: 30px;}
.app-icon img{ border-radius:5px; height: 30px; border: 2px solid #c3d4e6!important; padding: 3px!important }
.site-above-footer-wrap{ z-index: 999;}
footer a { color: #fff;}
.app-icon img:hover, .site-footer-above-section-2 li.custom-social-icons img.menu-image:hover { background: #C39A44; border-radius: 10px;} .blog h2, .page-template-template-gallery h1{ padding: 0 15px; margin-bottom: 20px; line-height: 45px; font-size: 40px; color: #054f99!important;}
.news-grid{ display: flex; flex-wrap: wrap;}
h1.entry-title, .widget-title, .news-inner-wrap a{ color: #054f99 !important;}
.news-inner-wrap { color: #c8a349 !important;}
.news-inner-wrap h3{ margin-top: 20px; color: #c8a349;}
aside.widget.widget_recent_entries nav ul li{ border-bottom: 1px solid #054f99 !important; float: left; display: block; width: 100%;}
#secondary li { margin-bottom: 0;}
aside.widget.widget_recent_entries nav ul li a{ color: #054f99; padding: 15px 0 !important; float: left; width: 100%;}
aside.widget.widget_recent_entries nav ul li a[aria-current="page"]{ color: #c8a349;}   .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: #054f99; border: 2px solid #c8a349; padding: 5px; text-transform: uppercase; }
aside#custom_html-10 .custom-html-widget a.transparent-btn:hover{ background-color: #054f99; border: 2px solid #054f99; color: #ffffff;}
.ast-blog-layout-4-grid .news-grid img {    height: 300px;    object-fit: cover;} .gallary .container{ max-width: 1370px; 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, body.archive .ast-archive-description{ padding: 0; background: transparent;}
body.archive .ast-archive-description h1.page-title.ast-archive-title{ font-size: 40px!important; line-height:45px; font-weight: bold;} .vertical-margin-0{ margin-top: 0!important; margin-bottom: 0!important;} table.custom-table thead{ background: #cdcdcd;} table tr td:first-child{ width: 160px;} .elementor-tab-content h4:first-child{ margin-top: 0px;}
.elementor-tab-content h4{ margin-top: 20px; float: left; width: 100%;} ul.flex-three-col-items, ul.flex-two-col-items{display: flex; gap: 12px; flex-wrap: wrap;} @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;}
.ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item > .menu-link, .ast-builder-menu-mobile .main-navigation .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle, .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-ancestor > .menu-link, .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-ancestor > .ast-menu-toggle{ color: #ffffff!important;} .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;} }
@media (max-width: 767px) {
.ast-header-search .astra-search-icon{ font-size: 14px;}
#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;}	
.gallary-posts{ max-width: 90%;}
.gallary-posts .pic-section { max-width: 100%!important;}
}
@media (min-width: 768px) {
.entry-content ul, ul{ margin-top: 0; margin-left: 30px;}
.ast-header-search .astra-search-icon{ font-size: 17px;}
}
@media (min-width: 834px) {
.site-header-primary-section-right.ast-g:rid-right-section { margin-right: 0; }
#ast-desktop-header{ position: fixed; width: 100%;}
}
@media (max-width: 1024px){
.ast-header-break-point .main-navigation .stack-on-mobile li:hover,
.ast-header-break-point .main-navigation .stack-on-mobile li:hover > a,
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item:hover > .menu-link,
li.menu-item:hover > a, li.menu-item:focus > a, li.menu-item:active > a{ color: #fff !important;}
#ast-mobile-site-navigation .menu-image-title-after.menu-image-title{ padding-left: 0;}
.gallary-posts .pic-section { max-width: 29%;} ul.flex-three-col-items li{flex: 1 2 calc(50% - 16px); }
ul.flex-two-col-items li{flex: 1 2 calc(50% - 16px); }
}
@media (min-width: 1025px){
.gallary-posts .pic-section { max-width: 30%;} ul.flex-three-col-items li{flex: 0 0 calc(33.333% - 16px); }
ul.flex-two-col-items li{flex: 1 2 calc(50% - 16px); }
}
@media (min-width: 1025px) and (max-width: 1175px) {
.ast-custom-button-link > ul.sub-menu{ margin-left: -85px; }
.site-logo-img{ display: block; position: absolute; top: -20px;}
}
@media (min-width: 1175px) {
.ast-custom-button-link > ul.sub-menu{ margin-left: -85px; }
.site-branding.ast-site-identity{ padding: 0;}
.site-logo-img{ display: block; }
}
@media (min-width: 1092px) and (max-width: 1399px) { }