/**
Theme Name: FIT
Author: Create
Author URI: http://create.ie
Description: FIT Child theme for the Layers Framework
Version: 1.0.1
Text Domain: fit
Template: layers-elementor
License: GPL 2.0

**Color reference, for consistency**
  FIT navy: #002957
  link color: #
  yellow: #EFCD29
  light blue: #007AC1

**Table of contents**
*/
body {
    color: #54595F;
}
p,
.elementor-text-editor p {
    margin-bottom: 1.4em;
}
h1, h2, h3, h4, h5, h6 {
    color: #54595F;
    font-weight: 600;
    margin-top: 0.5em;
}
h1.elementor-icon-box-title,
h2.elementor-icon-box-title,
h3.elementor-icon-box-title,
h4.elementor-icon-box-title,
h5.elementor-icon-box-title {
    margin-top: 0;
}
h1 {
    font-size: 48px;
}
h2 {
    font-size: 40px;
}
h3 {
    font-size: 24px;
}
h4 {
    font-size: 18px;
}
.section-title .heading {
    color:#002957;
}
.section-title.large .heading {
    font-weight: 700;
}
.container {
   max-width: 1200px;
   margin: 0 auto;
}
a {
    color: #007ac1;
}
textarea, input, select, button {
    color:#54595F;
}
input[type=button],
input[type=submit],
button,
.button {
    background-color: #EFCD29;
    color: #002957;
    padding: 10px 15px;
    line-height: 1.5rem;
}
.button.print {
    background: #e3e3e3;
    color:#54595F;
}
input[type=button]:hover,
input[type=submit]:hover,
button:hover,
.button:hover,
.simplefavorite-button.active,
.button.print:hover {
    background-color: #002957;
    color: #EFCD29; 
    opacity: 1;
}
figcaption,
figcaption.wp-caption-text {
    font-size: 90%;
    padding-bottom: 5px;
    opacity: 0.8;
    border-bottom: 1px dashed #ccc;
    margin-bottom: 5px;
}
tr:nth-of-type(odd) {
    background: #f5f5f5;
}
/**  HEADER AND NAV **/
.header-site nav {
    margin-top: 35px;
}
.header-site, .header-site.header-sticky {
    box-shadow: rgba(204, 204, 204, .3) 0px 1px 2px;
}

.header-site .nav-horizontal > ul > li > a {
    color:#051A31;
    font-size: 18px;
    font-weight: 500;
}
/* Dropdown arrow */
.header-site .menu-item-has-children > a:after {
    opacity: 1;
    font-weight: bold;
    font-size: 1rem;
}
/* SUB MENU IN DROPDOWN */
.nav-horizontal .sub-menu li {
    float: none;
}
.nav-horizontal .sub-menu li a {
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    padding: 20px;
}
/* FIX SUB MENU FROM FRAMEWORK CSS. It was using the selector .header-site > .sub-menu but sub-menu is not a direct decendant*/
.header-site .sub-menu,
.nav .children{
	background-color: #041932;
	visibility: hidden;
	opacity: 0;
	position: absolute;
	top: 60px;
	left: 0;
    border-width: 5px 0 0 0;
	border-top: 5px solid #007AC1;
	z-index: 5;
	transition: all 0.4s ease-in-out;
	line-height: normal;
}
.header-site .nav li:hover > .sub-menu,
.header-site .nav li:hover .children {
    top:47px;
}
.header-site .sub-menu li,
.nav .children li{
	clear: both;
	display: block;
	margin: 0;
	border: none;
	border-bottom: 1px solid #ddd;
    width: auto;
}
.header-site .sub-menu li:last-child,
.nav .children li:last-child{
	border-bottom: none;
}
.header-site .sub-menu li a,
.nav .children li a{
	display: block;
	padding: 20px 13px 20px 20px;
	background: none;
	color: #fff;
	text-transform: none;
	text-align: left;
}
.header-site .sub-menu li a:hover,
.nav .children li a:hover{
	background-color: #333;
	color: #fff;
}
/* END FIX FRAMEWORK */
.header-site .sub-menu li .sub-menu li:hover a {
    background-color: #051a31;
}
/* MOBILE MENU */
div[class*=' off-canvas-'] {
    background: #051A31;
    font-size: 1.8rem;
    padding-top: 60px;
/*    z-index: 9999; causes issue with clicking icon*/
}
div[class*=' off-canvas-'] li a {
    color: #ffffff;
    font-weight: 500;
    padding: 10px 0;
}
div[class*=' off-canvas-'] .nav-vertical .sub-menu {
    margin-left: 20px;
    font-size: 1.4rem;
    transition: auto;
}
.close-canvas {
    background: #007ac1;
    top: 30px;
    font-size: 1.4rem;
}
.admin-bar div[class*=' off-canvas-'] .close-canvas {
    top: 62px;
}
.admin-bar div[class*=" off-canvas-"] {
    padding-top: 70px;
}
.off-canvas-right {
    width: 275px;
}
/* Main body when menu open*/
.off-canvas-right.open ~ .wrapper-site {
    left: -275px;
    opacity: 0.65;
}
/* Toggles added with js */
.sub-menu-toggle {
    background: transparent;
    color: #fff;
    display: block;
    font-family: 'Font Awesome 5 Free';
    font-weight:900;
    font-size: 17px;
    padding: 12px 18px;
    position: absolute;
    right: 0;
    top: 4px;
}
.sub-menu-toggle:hover {
    background: transparent;
    color: #fff;
}
.sub-menu-toggle:before {
    content: "\f067";
}
.sub-menu-toggle.activated:before {
    content: "\f068";
}

/* END FIX SUB MENU FROM FRAMEWORK CSS. */
/* Make Mobile Sub Menu Collapsible */
.nav-mobile .menu-item-has-children > a { background-color: transparent; position: relative; }
/*.nav-mobile .menu-item-has-children > a:after { text-align: center; speak: none; font-weight: normal; font-variant: normal; text-transform: none; -webkit-font-smoothing: antialiased; position: absolute; }*/
/*.nav-mobile .menu-item-has-children > a:after { font-family: 'Font Awesome 5 Free'; font-weight:900; font-size: 16px; content: '\f107';  right: 10px; }*/
/*.nav-mobile .menu-item-has-children.visible > a:after { content: '\f106'; }*/
/*.nav-mobile ul.sub-menu { display: none; visibility: hidden !important; transition: all 1.5s ease-in-out;}*/
div[class*=' off-canvas-'] .nav-mobile .nav-vertical ul.sub-menu {
    display: none;
}
/*.nav-mobile .visible > ul.sub-menu { display: block !important; visibility: visible !important; }*/

/* ------ COURSE SEARCH FILTER --------- */
/* no space on header on courses template. Second part added as when force template the page does not have page template class on body as normal. */
.page-template-page-search-courses header.section-title,
section.find-course + .grid .section-title {
        margin-bottom: 0;
}
section.find-course {
    background: url(images/course-search-background.jpg) no-repeat center top #0077c4;
    background-size: cover;
    padding: 11.5% 0;
    text-align: center;
}
section.find-course + h1,
#course-search-result + h1 {
    margin: 10px 0;
}
section.find-course h3,
section.find-course h1 {
    text-align: center;
    font-family: 'Rubik', sans-serif;
    font-size: 3.6rem;
    font-weight: 700;
    color: #EFCD29;
    margin-bottom: 40px;
}
section.find-course .searchandfilter li {
    margin-right: 10px;
/*  width: 24%;*/
}
section.find-course .searchandfilter li label {
    width: 100%;
}
section.find-course input[type=submit] {
    background-image: url(images/search-icon-long@2x.png);
    background-size: 17px 68px;
    background-repeat: no-repeat;
    background-position: 38px 11px;
    width: 100%;
    padding: 10px;
    transition: background-position 0s ease-in, background-color 0.1s ease-in;
}
section.find-course input[type=submit]:hover {
    background-position: 38px -40px;
}
li.sf-field-reset a {
    color: #fff;
}
li.sf-field-reset a:hover {
    text-decoration: underline;
}

/* COURSE SEARCH RESULTS */
#course-search-result .section-title.large .heading {
    font-size: 2.4rem;
}
#course-search-result .section-title.large .heading a {
    color:#0077c4;
}
.courses-found {
    color:#0075c7;
    font-size: 2.4rem;
    text-align: center;
    width: 100%;
    margin-bottom: 30px;
    margin-top: 30px;
}
.courses-found h1 {
    display: inline-block;
    font-size: 2.4rem;
    font-weight: 600;
}
.no-of-pages {
    margin-bottom: 15px;
}
.story.no-courses {
    padding: 30px 0;
}
/* -- SINGLE COURSE -- */

.single-course section.find-course {
    background-image: none;
    padding: 4% 0;
}
.back-to-results {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 40px;
    font-size: 1.8rem;
    font-weight: 500;
}
.back-to-results a {
    cursor: pointer;
}
.single-course .column.span-9 {
    border-top: 1px solid #1886C6;
    padding-top: 10px;
}

.grid .grid .column {
    margin-left: 0;
/*    margin-right: 0;*/
}
h1 span.college {
    color:#007AC1;
    display: block;
    font-size: 2.4rem;
    margin-bottom: 10px;
}
.course-actions {
    margin-bottom: 5px;
}
.course-actions button,
.course-actions .button {
    margin: 5px 10px 10px 0;
}
/* Share icons */
.course-actions .sfsi_shortcode_container {
    float: none;
}
/* course details */
.course-details .additional-course-info {
    background: #002957;
    color:#fff;
}
.course-details {
    font-size: 18px;
    font-size: 1.8rem;
    clear: left;
}
.course-details h2 {
    color: #007AC1;
    font-size: 24px;
    font-size: 2.4rem;
    font-family: 'Rubik', sans-serif;
}
.course-details ul {
    margin-left: 30px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.course-details li {

    display: block;
    list-style: none;
    line-height: 1.5em;
    margin: 0 0 10px 1.1225em;
  /* Give the bullet room on the left hand side */

  padding: 0;
  position: relative;
}
.course-details li:before {
    color: #0079c1;  
  /* color of bullet or square */

  content: "\2022"; 
  /* Unicode of character to precede the list item */

  display: inline-block;
  font-size: 1.5em; 
  /* use em or % */
 
  left: -1.1225em; 
  /* use em, line up bullet flush with left hand side */

  position: absolute;
  /* Set the bullet positioned absolutely top left */

  top: 0em; 
}
.course-content .field-name {
    margin: 30px 0 10px;
}
/* in sidebar */
.additional-course-info {
    background: #f5f5f5;
    color: #002957;
    font-size: 1.8rem;
    font-weight: 500;
}
.additional-course-info dt {
    color: #007AC1;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
}
.additional-course-info dd {
    margin-left: 0;
    padding-bottom: 40px;
    border-bottom: 1px solid #c7c7c7;
}
.additional-course-info dd:last-child {
    border-bottom: none;
}
.course-details .additional-course-info dd:last-child {
    padding-bottom: 0;
}
dt.college_address + dd {
    border-bottom: none;
    padding-bottom: 0;
}
.additional-fields-1,
.additional-fields-2,
.additional-fields-3 {
    padding: 16px;
}
.additional-fields-1 {
    background: #002957;
    color:#fff;
}
.additional-fields-1 dt,
.additional-fields-2 dt {
    color: #fff;
}
.additional-fields-1 dt {
    font-size: 2rem;
}
.additional-fields-1 dd {
    border-bottom: none;
    font-size: 2.4rem;
}
.additional-fields-2 {
    background: #F05A28;
    color:#fff;
}
.additional-fields-2 {
    background: #F05A28;
}
.additional-fields-2 dt,
.additional-fields-2 dd {
    font-size: 1.8rem;
    padding-bottom: 0;
}
.additional-course-info .button.apply,
.additional-course-info .button.apply_ext {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 10px;
}
.additional-course-info .button.apply:hover,
.additional-course-info .button.apply_ext:hover {
    background: #fff;
    color:#002957;
}
.college_address + dd:first-child {
    padding-bottom: 0;
}
/* SAVED COURSES */
.saved-outer-container {
    background: #f5f5f5;
}
.saved-courses {
    margin: 0 10px;
    padding: 40px 10px;
}
.saved-title {
    background: #f5f5f5;
    border-radius: 6px 6px 0 0;
    margin: 0 10px;
    display: inline-block;
    padding: 5px 15px 3px 15px;
}
.saved-title h3 {
    color:#002957;
    display: inline-block;
    font-size: 16px;
    font-size: 1.6rem;
    font-weight: 600;
}
.saved-title i.sf-icon-star-full {
    color: #EFCD29;
}
.favorites-list li {
    border-top: 0;
    font-weight: 700;
    font-size: 18px;
    font-size: 1.8rem;
    padding: .35em 0;
}

/**  FOOTER  **/
.footer-site {
    padding-top: 10px;
}
.footer-site .grid {
    border-bottom: 2px solid rgba(255,255,255,0.1);
}
.footer-site .grid:not(.copyright):not(.sec-menu) {
    padding: 40px 0 20px;
}
.footer-site .grid.sec-menu {
    padding-bottom: 5px;
}
.footer-site .grid.copyright {
    border-bottom: none;
}
.footer-site .nav-horizontal {
    text-align: center;
    display: block;
}
.footer-site .nav-horizontal > ul {
    float: none;
    display: inline-block;
}
.footer-site .nav-horizontal li a {
    color:#fff;
    font-size: 1.6rem;
    font-weight: 400;
    padding: 0 50px;
    margin: 10px 0;
}
.footer-site .nav-horizontal li a:hover {
    color:#007AC1;
}
.footer-site .column .widget {
    text-align: center;
}
.footer-site.invert .section-nav-title {
    color: #F7F7F7;
    margin: 5px 0 5px;
}
.footer-site.invert a:hover {
    color: #007ac1;
}
/* Logo in footer */
.footer-site .widget_media_image {
    max-width: 140px;
}
.footer-site .last {
    text-align: right;
}
/* Social icons in footer */
.footer-site .widget_cnss_widget {
    
}
.footer-site .cn-fa-icon a {
    min-width: 28px;
    min-height: 28px;
}
.footer-site .cn-fa-icon .fab {
    vertical-align: bottom;
}
/* copyright */
.footer-site .policy_menu li {
    display: inline-block;
}
.footer-site .policy_menu li a {
/*    color:#A3A5AC;*/
    margin: 0 0 0 5px;
    padding-left: 8px;
    border-left: 1px solid;
}
.footer-site .policy_menu li:first-of-type a {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
}
/* Back to top */
#back-to-top {
    display: block;
}
#back-to-top a {
    background-image: url(images/arrow-up-small-yellow.png);
    background-repeat: no-repeat;
}

/* swap facebook for facebook f*/
.fa-facebook-f:before, .fa-facebook:before {
    content: "\f39e";
}
/** SIGNATURE **/
.copyright .column.t-right {
    text-align: right;
}
.invert .copyright {
    color: rgba(255,255,255,1);
    border-top: none;
}
.screen-reader-text,
.screen-reader-text span,
.screen-reader-shortcut {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}
/* ADDITIONAL CLASSES */
.desktop-only {
    display: none;
}
/* password protected form */
.post-password-form {
    margin: 60px;
}
/* FORMS */
input[type="email"], input[type="text"], input[type="url"], input[type="search"], input[type="password"], input[type="number"], input[type="tel"], input[type="date"] {
    max-width: 600px;
}
input[type=search].elementor-search-form__input {
    padding-top: 13px;
}
/* GRAVITY FORMS */
body .gform_wrapper ul li.gfield {
    margin-top: 0;
}
body .gform_wrapper label.gfield_label,
body .gform_wrapper legend.gfield_label {
    font-size: 1.5rem;
}
.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    padding: 20px;
    line-height: 1.4;
    height: auto;
    margin-top: 6px;
}
body .gform_wrapper ul.gfield_checkbox li input[type=checkbox] {
    width: 14px!important;
    margin-left: 5px;
    margin-top: 6px;
    display: inline-block;
}
body .gform_wrapper .gfield .ginput_container_consent input[type=checkbox] {
    margin-top: 6px;
    vertical-align: initial;
}
label.gfield_consent_label {
    display: inline;
}
body .gform_wrapper .field_description_below .gfield_consent_description,
body .gform_wrapper .gfield_consent_description {
    font-size: .888em;
}
.gform_confirmation_wrapper {
    padding: 20px;
    border: 1px solid #EFCD29;
    color: #EFCD29;
    font-size: 1.5rem;
}
/* Enquire pop-up */
.gform_wrapper .enquire-popup label,
.gform_wrapper .enquire-popup label.gfield_label,
.gform_wrapper .enquire-popup legend.gfield_label,
.gform_wrapper .enquire-popup .gfield_consent_description {
    color:#fff;
}
.gform_wrapper .enquire-popup .gfield_consent_description a {
    color:#EFCD29;
}
.gform_wrapper .enquire-popup ul.gfield_checkbox li input[type=checkbox] {
    margin-top: 3px;
    margin-bottom: 3px;
}
.gform_wrapper .enquire-popup .gfield_checkbox label {
    margin-top: 6px;
}
.gform_wrapper.enquire-popup_wrapper .enquire-popup .ginput_container input[type=text],.gform_wrapper.enquire-popup_wrapper .enquire-popup .ginput_container input[type=email],.gform_wrapper.enquire-popup_wrapper .enquire-popup .ginput_container input[type=tel] {
    padding: 10px 20px!important;
}


/* Newsletter sign up with only email field */
.newsletter-email-only .gform_footer.top_label input.gform_button {
    padding: 10px 7px;
    line-height: 1!important;
    height: auto;
    font-size: 1.8rem;
}
.gform_wrapper .newsletter-email-only input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    padding: 7px 10px;
    border-radius: 6px;
    border: 1px solid transparent;
}
.gform_wrapper .newsletter-email-only input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus {
    border: 1px solid #EFCD29;
}
/* Alternate colour for use if on background colour */
.gform_wrapper .newsletter-email-only.alt-dark-bg input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]){
    background-color: rgba(255, 255, 255, 0.3);
    color:white;
}
.gform_wrapper .newsletter-email-only.alt-dark-bg input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #fff;
}
.gform_wrapper .newsletter-email-only.alt-dark-bg input::-moz-placeholder { /* Firefox 19+ */
  color: #fff;
}
.gform_wrapper .newsletter-email-only.alt-dark-bg input:-ms-input-placeholder { /* IE 10+ */
  color: #fff;
}
.gform_wrapper .newsletter-email-only.alt-dark-bg input:-moz-placeholder { /* Firefox 18- */
  color: #fff;
}
.newsletter-email-only.alt-dark-bg .ginput_container.ginput_container_consent,
.newsletter-email-only.alt-dark-bg .gfield_consent_description {
    color: #fff;
}
.newsletter-email-only.alt-dark-bg .ginput_container.ginput_container_consent a,
.newsletter-email-only.alt-dark-bg .gfield_consent_description a {
    color: #EFCD29;
}
.newsletter-email-only.alt-dark-bg  .gform_footer.top_label input.gform_button {
    background-color: #002957;
    color:#fff;
}
.newsletter-email-only.alt-dark-bg  .gform_footer.top_label input.gform_button:hover {
    transform: scale(1.1);
}

/* gravity forms break point */
@media only screen and (min-width: 641px) {

    .newsletter-email-only .gform_body {
        position: relative;
        width: 70%;
    }
    .newsletter-email-only .gform_footer.top_label {
        position: absolute;
        right: 0;
        width: 30%;
        top: 0px;
        margin: 6px 0 0;
    }
    .newsletter-email-only .gform_footer.top_label input.gform_button {
        width:100%;
    }
}
/* END GRAVITY FORMS */

/* # Rotating Tweets / twitter
---------------------------------------------------------------------------------------------------- */
.rotatingtweets {
    color: #002957;
    max-width: 80%;
    margin:-70px auto 0;
}
.rtw_time_short {
    float: none;
}
.rotatingtweet div.rtw_id {
    font-size: 1.2em;
}
.rtw_intents img {
    filter: brightness(100);
}
.rtw_wide div.rtw_wide_icon {
    display: none;
}
.rtw_wide div.rtw_wide_block {
    padding-left: 0;
}
.rotatingtweet {
    text-align: center;
    width: 100% !important;/*firefox width no same as chrome */
}
.rtw_main a.rtw_hashtag_link:first-child:before {
    clear: left;
    content:' ';
    display: table;
    background: aqua;
}
.rotatingtweet a:hover {
    color:#fff;
}
.rtw_info {
    margin-bottom: 20px;
}
.rtw_wide_block .rtw_info .rtw_name {
    display: none;
}
.rotatingtweets_nextprev {
    text-transform: uppercase;
    font-size: 3rem;
    font-family:"Font Awesome 5 Free";
    font-weight:900;
    text-align: center;
    padding-bottom: 10px;
    position: relative;
    visibility: hidden;/* to hide dot*/
}
.rotatingtweets_nextprev .rtw_prev {
    position: absolute;
    left:0;
    
}
.rotatingtweets_nextprev .rtw_next {
    position: absolute;
    right:0;
}
.rotatingtweets_nextprev .rtw_prev:before {
    content: '\f0a8';
    display: block;
    visibility: visible;
}
.rotatingtweets_nextprev .rtw_next:before {
    content: '\f0a9';
    display: block;
    visibility: visible;
}
.rtw_follow.follow-button {
    text-align: center;
    margin-top: 15px;
}

/*
.rtw_main:nth-last-child(2) {
    padding-top: 11%;
}
*/
/* ELEMENTOR ADJUSTMENTS */
.story .elementor-tab-title a {
    text-decoration: none;
}

body .elementor-widget-heading .elementor-heading-title {
    line-height:1.5;
}
/* add bullets back to list */
.elementor-tab-content ul,
.elementor-text-editor ul {
    margin-bottom: 20px;
}
.elementor-tab-content li,
.elementor-text-editor li {
    margin-left: 25px;
    margin-bottom: 15px;
}
.elementor-tab-content ul li,
.elementor-text-editor ul li {
    list-style-type: disc;
}
.elementor-tab-content ol li,
.elementor-text-editor ol li {
    list-style-type: decimal;
}
/* Replace the bullet part with this as did not apply to posts, toggles or accordions using elementor theme */
/*--------------- Elementor default adjustments */
/* Bullets */
.elementor-text-editor ul,
.elementor-text-editor ol,
.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol,
.elementor-widget-theme-post-content ul,
.elementor-widget-theme-post-content ol,
.elementor-widget-accordion .elementor-accordion .elementor-tab-content ul,
.elementor-widget-accordion .elementor-accordion .elementor-tab-content ol,
.elementor-widget-toggle .elementor-toggle .elementor-tab-content ul,
.elementor-widget-toggle .elementor-toggle .elementor-tab-content ol {
    margin: 15px;
}
.elementor-text-editor ul li,
.elementor-widget-text-editor ul li,
.elementor-widget-theme-post-content ul li,
.elementor-widget-accordion .elementor-accordion .elementor-tab-content ul li,
.elementor-widget-toggle .elementor-toggle .elementor-tab-content ul li {
    list-style: disc;
    margin-left: 15px;
    margin-bottom: 5px;
}
.elementor-text-editor ol li,
.elementor-widget-text-editor ol li,
.elementor-widget-theme-post-content ol li,
.elementor-widget-accordion .elementor-accordion .elementor-tab-content ol li,
.elementor-widget-toggle .elementor-toggle .elementor-tab-content ol li {
    list-style: decimal;
    margin-left: 15px;
    margin-bottom: 5px;
}
/* Bullet markers */
.elementor-text-editor ul li::marker,
.elementor-widget-text-editor ul li::marker,
.elementor-widget-theme-post-content ul li::marker,
.elementor-widget-accordion .elementor-accordion .elementor-tab-content ul li::marker,
.elementor-text-editor ol li::marker,
.elementor-widget-theme-post-content ol li::marker,
.elementor-widget-accordion .elementor-accordion .elementor-tab-content ol li::marker,
.elementor-widget-toggle .elementor-toggle .elementor-tab-content ol li::marker,
.elementor-widget-toggle .elementor-toggle .elementor-tab-content ul li::marker {
    color: #041932;
    font-weight: 900;
}
.elementor hr {
    margin: 1em 0;
}
nav.elementor-pagination {
    margin: 25px 0;
}
/*----------- MEDIA QUERIES ----------*/
@media only screen and (max-width: 479px) {
    /* tweet twitter rotator */
    .rotatingtweet div.rtw_id {
        font-size: 1em;
        }
    .rtw_info .rtw_time_short {
        float: none;
    }
    /* FOOTER */
    .column.span-2.last {
        margin-left: auto;
        margin-right: auto;
    }
    .column.span-2.last ul.cnss-social-icon {
        text-align: center!important;
    }
    .grid.copyright,
    .copyright .column.t-right {
        text-align: center;
    }
    .dev {
        margin-top: 15px;
    }
} /* END 479 media queries */

@media only screen and (min-width: 480px) {
    /* tweet twitter rotator */
    .rtw_wide_block .rtw_media img {
        height: 300px;
        max-height: 300px; 
    }
    .rotatingtweets {
        font-size: 130%;
    }
}/*  End media queries */

@media only screen and (max-width: 767px) {
    .course .section-title.large .heading {
        font-size: 3rem;
    }
    /*  TABLES */
    /* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
    /* Hide table headers (but not display: none;, for accessibility) */
	th { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
    tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none!important;
		border-bottom: 1px solid #dedede!important; 
		position: relative!important;
		padding-left: 40%!important;
        min-height: 45px;
        font-size: 1.4rem;
	}
    td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 40%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
    /*
	Label the data for cookie table
	*/
	#cookies td:nth-of-type(1):before { content: "Cookie"; }
	#cookies td:nth-of-type(2):before { content: "Type"; }
	#cookies td:nth-of-type(3):before { content: "Description"; }
	
    /* END  TABLES */
    /* MOBILE MENU */
    .admin-bar div[class*=" off-canvas-"] {
        padding-top: 70px;
    }
    
    .nav-horizontal li {
        float: none;
    }
}
/*--------------------------------------------------------------*/
/*- EVERYTHING BIGGER THAN TABLETS -----------------------------*/
/*--------------------------------------------------------------*/
@media only screen and (min-width: 769px) {
    .five-column .span-2 {
        width: calc(((100% / 10) * 2) - 20px);
    }
    .five-column-foot .span-2.first  {
        margin-left: 0;
        margin-right: calc(8.3333332% + 20px);
    }
    .five-column-foot .span-2.last  {
        /*margin-left: calc(8.3333332% + 20px);*/
        margin-left: 15px;
        margin-right: 0;
        width: calc(((100% / 12)* 3) - 20px);/* added to fit more icons */
    }
    /* single course spans 9 and 3 */
    .single-course .column.span-9 {
        width: calc(((100% / 12) * 8.9) - 40px);
        margin-right: 40px;
    }
    .single-course .grid .grid .column.span-3 {
        margin-right: 0;
        width: calc(((100% / 12) * 3.1) - 0px)
    }
    .additional-course-info.mobile-only {
        display: none;
    }
    .desktop-only {
        display: block;
    }
    /* Adjust secondary sticky nav on course page */
    .elementor-element-437f1e4.elementor-sticky--active {
        margin-top: 10px!important;
    }
    /* Social icons in footer */
    .footer-site .widget_cnss_widget {
        margin-top: 38px;
    }
    section.find-course h3,
    section.find-course h1 {
        font-size: 5.6rem;
    }
}
/*--------------------------------------------------------------*/
/*- EVERYTHING BIGGER THAN TABLETS -----------------------------*/
/*--------------------------------------------------------------*/
@media only screen and (min-width: 769px) and (max-width: 959px) {
    /* navigation */
    .header-site .nav-horizontal > ul > li > a {
        font-size: 14px;
        padding: 0 5px;
    }
    .nav-horizontal .sub-menu li a {
        font-size: 13px;
            padding: 20px 12px;
        max-width: 150px;
    }
    .header-site .nav > ul > li .sub-menu .sub-menu,
    .header-site .nav li:hover > .sub-menu .sub-menu,
    .header-site .nav > ul > li .children .children,
    .header-site .nav li:hover > .children .children {
        left:137px;
    }
    
}
/*--------------------------------------------------------------*/
/*- EVERYTHING BIGGER THAN 960 -----------------------------*/
/*--------------------------------------------------------------*/
@media only screen and (min-width: 960px) {
    .header-site .nav > ul > li .sub-menu .sub-menu,
    .header-site .nav li:hover > .sub-menu .sub-menu,
    .header-site .nav > ul > li .children .children,
    .header-site .nav li:hover > .children .children {
        left: 178px;
        top: -5px;
    }
    /* ------ COURSE SEARCH FILTER --------- */
    section.find-course .searchandfilter li {
        display: inline-block;
        width: 24%;
    }
    section.find-course .searchandfilter li label {
        width: 100%;
    }
    .mobile-only {
        position: absolute !important;
        clip: rect(0, 0, 0, 0);
        height: 1px;
        width: 1px;
        border: 0;
        overflow: hidden;
    }
}/* END 960 WIDTH */
/*--------------------------------------------------------------*/
/*- EVERYTHING BIGGER THAN 1400 -----------------------------*/
/*--------------------------------------------------------------*/
@media only screen and (min-width: 1400px) {
    
    .header-site .sub-menu li,
    .nav .children li {
	    width: 218px;
    }
    .header-site .nav > ul > li .sub-menu .sub-menu,
    .header-site .nav li:hover > .sub-menu .sub-menu,
    .header-site .nav > ul > li .children .children,
    .header-site .nav li:hover > .children .children {
        left:218px;
    }
}
/* ==========================================================================
   FIT 2026 REDESIGN: course pages, the Search courses page and news posts
   Paste this whole block into Appearance > Customize > Additional CSS, at the
   end of anything already there, then Publish. Changes show straight away.
   The fonts (Rubik and Work Sans) are already loaded by the site.
   ========================================================================== */


/* ==========================================================================
   2026 REDESIGN: SINGLE COURSE PAGES AND THE COURSE SEARCH BAND
   Rules start with body.single-course; the search band rules (section 2)
   apply to every page with the course search band. Sizes are in px because
   the theme sets 1rem to 10px.
   ========================================================================== */
/* ---------- 1. Keyboard focus: the redesign's yellow outline with a navy ring ---------- */
body.single-course a:focus-visible,
body.single-course button:focus-visible,
body.single-course input:focus-visible,
body.single-course select:focus-visible {
  outline: 3px solid #FFCE34;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px #002957;
}


/* ---------- 2. Course search band: on single course pages and the Search courses page ----------
   The three dropdowns and the Search button sit on one row, with "Clear search" underneath.
   To hide the band on single course pages, add:
   body.single-course section.find-course { display: none; }                 */
:is(body.single-course, body:has(section.find-course)) section.find-course {
  padding: 34px 0 30px;
  background-color: #002957;
  background-image: radial-gradient(circle at 85% 0%, rgba(0, 108, 163, 0.55), rgba(0, 108, 163, 0) 55%);
  text-align: center;
}
body:has(#course-search-result) section.find-course {
  padding: 52px 0 44px;
}
:is(body.single-course, body:has(section.find-course)) section.find-course h1,
:is(body.single-course, body:has(section.find-course)) section.find-course h3 {
  margin: 0 0 18px;
  color: #FFFFFF;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
body:has(#course-search-result) section.find-course h1,
body:has(#course-search-result) section.find-course h3 {
  margin-bottom: 24px;
  font-size: clamp(30px, 4vw, 44px);
}
:is(body.single-course, body:has(section.find-course)) section.find-course .searchandfilter ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
:is(body.single-course, body:has(section.find-course)) section.find-course .searchandfilter li {
  flex: 1 1 220px;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
:is(body.single-course, body:has(section.find-course)) section.find-course .searchandfilter li label {
  display: block;
  width: 100%;
}
:is(body.single-course, body:has(section.find-course)) section.find-course .searchandfilter li.sf-field-submit {
  flex: 0 1 180px;
}
:is(body.single-course, body:has(section.find-course)) section.find-course .searchandfilter li.sf-field-reset {
  flex: 1 0 100%;
}
:is(body.single-course, body:has(section.find-course)) section.find-course select,
:is(body.single-course, body:has(section.find-course)) section.find-course input[type="text"],
:is(body.single-course, body:has(section.find-course)) section.find-course input[type="search"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  padding: 10px 40px 10px 14px;
  border: 0;
  border-radius: 8px;
  background-color: #FFFFFF;
  color: #002957;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 16px;
}
:is(body.single-course, body:has(section.find-course)) section.find-course input[type="submit"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 4px;
  background-color: #FFCE34;
  background-image: none; /* the theme's magnifier sprite was made for the old colours */
  color: #002957;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
:is(body.single-course, body:has(section.find-course)) section.find-course input[type="submit"]:hover {
  background-color: #FFFFFF;
  color: #002957;
}
:is(body.single-course, body:has(section.find-course)) section.find-course li.sf-field-reset a {
  color: #FFFFFF;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #FFCE34;
  text-underline-offset: 3px;
}
@media only screen and (max-width: 640px) {
  :is(body.single-course, body:has(section.find-course)) section.find-course .searchandfilter li.sf-field-submit {
    flex-basis: 100%;
  }
}


/* ---------- 3. "Back to search results" (styled like the redesign's breadcrumb) ---------- */
body.single-course .back-to-results {
  max-width: 1200px;
  margin: 28px auto 8px;
  padding: 0 20px;
  color: #46617D;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
}
body.single-course .back-to-results a {
  display: inline-block;
  margin: 0 14px 4px 0;
  color: #006CA3;
  text-decoration: none;
  white-space: nowrap;
}
body.single-course .back-to-results a:hover {
  color: #002957;
  text-decoration: underline;
}


/* ---------- 4. Title: college as a yellow-dash label, course name below ---------- */
body.single-course .column.span-9 {
  border-top: 0;
  padding-top: 0;
}
body.single-course .section-title h1,
body.single-course .section-title .heading,
body.single-course .section-title.large .heading,
body.single-course h1:has(> span.college) {
  margin: 8px 0 22px;
  color: #002957;
  font-family: "Rubik", Arial, sans-serif;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
body.single-course h1 span.college {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #006CA3;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
body.single-course h1 span.college::before {
  content: "";
  flex: none;
  width: 22px;
  height: 2px;
  background: #FFCE34;
}


/* ---------- 5. Buttons: apply (navy), save / print / clear (outline) ---------- */
body.single-course .course-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
}
body.single-course .course-actions .button,
body.single-course .course-actions button,
body.single-course .simplefavorite-button,
body.single-course .simplefavorites-clear,
body.single-course .button.print {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  margin: 0;
  padding: 10px 22px;
  border: 2px solid #002957;
  border-radius: 4px;
  background: transparent;
  color: #002957;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  opacity: 1;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
body.single-course .course-actions .button:hover,
body.single-course .course-actions button:hover,
body.single-course .simplefavorite-button:hover,
body.single-course .simplefavorites-clear:hover,
body.single-course .button.print:hover {
  border-color: #002957;
  background: #002957;
  color: #FFFFFF;
}
body.single-course .simplefavorite-button.active {
  border-color: #FFCE34;
  background: #FFF4BF;
  color: #002957;
}
/* "View more and apply": the main button, in navy */
body.single-course .course-actions .button.apply,
body.single-course .course-actions .button.apply_ext,
body.single-course .course-details .button.apply,
body.single-course .course-details .button.apply_ext,
body.single-course .additional-course-info .button.apply,
body.single-course .additional-course-info .button.apply_ext {
  border-color: #002957;
  background: #002957;
  color: #FFFFFF;
}
body.single-course .course-actions .button.apply:hover,
body.single-course .course-actions .button.apply_ext:hover,
body.single-course .course-details .button.apply:hover,
body.single-course .course-details .button.apply_ext:hover,
body.single-course .additional-course-info .button.apply:hover,
body.single-course .additional-course-info .button.apply_ext:hover {
  border-color: #006CA3;
  background: #006CA3;
  color: #FFFFFF;
}
body.single-course .course-details .button.apply,
body.single-course .course-details .button.apply_ext {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin: 24px 0 0;
  padding: 12px 26px;
  border: 2px solid #002957;
  border-radius: 4px;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
/* share icons sit on their own line, a little apart */
body.single-course .course-actions .sfsi_shortcode_container {
  flex-basis: 100%;
  margin-top: 4px;
}


/* ---------- 6. Course text: headings, paragraphs and check-mark lists ---------- */
body.single-course .course-details {
  margin-bottom: 48px;
  color: #46617D;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
}
body.single-course .course-details p {
  max-width: 68ch;
  margin: 0 0 1em;
}
body.single-course .course-details strong,
body.single-course .course-details b {
  color: #002957;
  font-weight: 600;
}
body.single-course .course-details a {
  color: #006CA3;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.single-course .course-details h2,
body.single-course .course-content .field-name {
  margin: 44px 0 16px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 41, 87, 0.14);
  color: #002957;
  font-family: "Rubik", Arial, sans-serif;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
body.single-course .course-details h2:first-of-type,
body.single-course .course-content .field-name:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
body.single-course .course-details h3,
body.single-course .course-details h4 {
  margin: 1.4em 0 0.5em;
  color: #002957;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}
body.single-course .course-details ul {
  display: grid;
  gap: 12px;
  max-width: 68ch;
  margin: 16px 0 24px;
  padding: 0;
}
/* long lists, like a module list, run in two columns where there is room */
body.single-course .course-details ul:has(> li:nth-child(7)) {
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}
body.single-course .course-details li {
  position: relative;
  margin: 0;
  padding: 0 0 0 36px;
  color: #002957;
  line-height: 1.5;
  list-style: none;
}
body.single-course .course-details li::before {
  content: "";
  position: absolute;
  top: 0.12em;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFCE34 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002957' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
  font-size: 0;
}


/* ---------- 7. Course facts card (the sidebar) ---------- */
body.single-course .additional-course-info {
  position: relative;
  overflow: hidden;
  padding: 10px 0 8px;
  border: 1px solid rgba(0, 41, 87, 0.14);
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 41, 87, 0.10);
  color: #002957;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
}
body.single-course .additional-course-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: #FFCE34;
}
body.single-course .additional-course-info dl {
  margin: 0;
}
body.single-course .additional-fields-1,
body.single-course .additional-fields-2,
body.single-course .additional-fields-3 {
  margin: 0;
  padding: 18px 26px 6px;
  background: transparent;
  color: #002957;
}
body.single-course .additional-course-info dt,
body.single-course .additional-fields-1 dt,
body.single-course .additional-fields-2 dt,
body.single-course .additional-fields-3 dt {
  margin: 0 0 4px;
  padding: 0;
  color: #46617D;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
body.single-course .additional-course-info dd,
body.single-course .additional-fields-1 dd,
body.single-course .additional-fields-2 dd,
body.single-course .additional-fields-3 dd {
  margin: 0 0 14px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(0, 41, 87, 0.14);
  color: #002957;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: break-word;
}
/* no line under the last fact in the card */
body.single-course dl.additional-course-info > dd:last-child,
body.single-course .additional-course-info > dl > dd:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}
/* the college name and its address read as one fact */
body.single-course .additional-course-info dt.college_address + dd {
  margin-bottom: 2px;
  padding-bottom: 0;
  border-bottom: 0;
}
body.single-course .additional-course-info dd a {
  color: #006CA3;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* the old orange box (e.g. a closing date): kept as a highlight, in the redesign's soft yellow */
body.single-course .additional-course-info .additional-fields-2 {
  margin: 4px 16px 10px;
  padding: 14px 16px 2px;
  border-left: 4px solid #FFCE34;
  border-radius: 0 8px 8px 0;
  background: #FFF4BF;
}
body.single-course .additional-course-info .additional-fields-2 dd {
  border-bottom: 0;
}
/* the apply buttons in the card: full width, navy */
body.single-course .additional-course-info .button.apply,
body.single-course .additional-course-info .button.apply_ext {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 52px);
  min-height: 50px;
  margin: 12px 26px 18px;
  padding: 12px 20px;
  border: 2px solid #002957;
  border-radius: 4px;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
/* the card a little apart from the title on phones and tablets */
@media only screen and (max-width: 768px) {
  body.single-course .additional-course-info {
    margin: 28px 0;
  }
}


/* ---------- 8. Course code / award box inside the course text ---------- */
body.single-course .course-details .additional-course-info:not(.mobile-only):not(.desktop-only) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 18px;
  align-items: baseline;
  margin: 0 0 32px;
  padding: 18px 22px;
  border: 0;
  border-left: 4px solid #FFCE34;
  border-radius: 0 8px 8px 0;
  background: #F7F8FA;
  box-shadow: none;
  color: #002957;
}
body.single-course .course-details .additional-course-info:not(.mobile-only):not(.desktop-only)::before {
  display: none;
}
body.single-course .course-details .additional-course-info:not(.mobile-only):not(.desktop-only) dt {
  margin: 0;
}
body.single-course .course-details .additional-course-info:not(.mobile-only):not(.desktop-only) dd {
  margin: 0;
  padding: 0;
  border: 0;
  color: #002957;
  font-weight: 600;
}


/* ---------- 9. Saved courses ---------- */
body.single-course .saved-outer-container {
  border-top: 1px solid rgba(0, 41, 87, 0.14);
  background: #F7F8FA;
}
body.single-course .saved-title {
  margin: 0;
  padding: 26px 20px 0;
  border-radius: 0;
  background: transparent;
}
body.single-course .saved-title h3 {
  margin: 0;
  color: #002957;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
}
body.single-course .saved-title i.sf-icon-star-full {
  color: #FFCE34;
}
body.single-course .saved-courses {
  padding: 16px 20px 40px;
}
body.single-course .favorites-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
body.single-course .favorites-list li {
  list-style: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 41, 87, 0.14);
  color: #002957;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
}
body.single-course .favorites-list li a {
  color: #002957;
  text-decoration: none;
}
body.single-course .favorites-list li a:hover {
  color: #006CA3;
  text-decoration: underline;
}


/* ---------- 10. Phones ---------- */
@media only screen and (max-width: 640px) {
  :is(body.single-course, body:has(section.find-course)) section.find-course h1,
  :is(body.single-course, body:has(section.find-course)) section.find-course h3 {
    font-size: 24px;
  }
  body.single-course .course-details {
    font-size: 17px;
  }
  body.single-course .course-details ul:has(> li:nth-child(7)) {
    grid-template-columns: minmax(0, 1fr);
  }
  body.single-course .course-actions .button.apply,
  body.single-course .course-actions .button.apply_ext {
    width: 100%;
  }
}

/* Reduced motion: no button transitions */
@media (prefers-reduced-motion: reduce) {
  body.single-course .course-actions .button,
  body.single-course .course-actions button,
  body.single-course .simplefavorite-button,
  body.single-course .button.print {
    transition: none;
  }
}


/* ==========================================================================
   2026 REDESIGN: SEARCH COURSES PAGE: RESULTS AS COURSE CARDS
   Every rule starts with #course-search-result (the results area), so
   only the Search courses page changes.
   ========================================================================== */
/* ---------- 1. Heading and count above the results ---------- */
#course-search-result {
  display: block;
  margin: 0;
  padding: 44px 0 64px;
}
#course-search-result .courses-found {
  width: auto;
  margin: 0 10px 28px;
  color: #46617D;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}
#course-search-result .courses-found h1 {
  display: block;
  margin: 0 0 6px;
  color: #002957;
  font-family: "Rubik", Arial, sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: none;
}
#course-search-result > .column {
  float: none;
  width: auto;
  margin: 0 10px;
}


/* ---------- 2. The list: a grid of cards instead of table rows ---------- */
#course-search-result .divTable {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  background: none;
  text-align: left;
}
#course-search-result .divTableHeading {
  display: none; /* the cards label each fact themselves */
}
#course-search-result .divTableBody {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}


/* ---------- 3. One course card ---------- */
#course-search-result .divTableBody > .divTableRow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto auto auto 1fr;
  grid-template-areas:
    "college  college"
    "title    title"
    "location award"
    "duration ."
    "cta      cta";
  column-gap: 18px;
  margin: 0;
  padding: 30px 28px 26px;
  border: 1px solid rgba(0, 41, 87, 0.14);
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 6px 22px rgba(0, 41, 87, 0.07);
}
/* the yellow bar along the top */
#course-search-result .divTableBody > .divTableRow::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  border-radius: 14px 14px 0 0;
  background: #FFCE34;
}
/* "View course", at the foot of every card */
#course-search-result .divTableBody > .divTableRow::after {
  content: "View course \2192";
  grid-area: cta;
  align-self: end;
  margin-top: 10px;
  color: #006CA3;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
#course-search-result .divTableBody > .divTableRow:hover {
  border-color: rgba(0, 108, 163, 0.28);
  box-shadow: 0 20px 46px rgba(0, 41, 87, 0.16);
}
#course-search-result .divTableBody > .divTableRow:hover::after {
  color: #002957;
}

/* every cell: no table look */
#course-search-result .divTableRow > .divTableCell {
  display: block;
  min-width: 0;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: none;
  color: #002957;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  overflow-wrap: break-word;
}
#course-search-result .divTableRow > .divTableCell p {
  margin: 0;
  color: inherit;
  font: inherit;
}
#course-search-result .divTableRow > .divTableCell:nth-child(1) { grid-area: title; }
/* the course code is left off the cards, as on the redesign's course cards (FIT's own apprenticeships have
   none, which left an empty label); it is still on each course page */
#course-search-result .divTableRow > .divTableCell:nth-child(2) { display: none; }
#course-search-result .divTableRow > .divTableCell:nth-child(3) { grid-area: college; }
#course-search-result .divTableRow > .divTableCell:nth-child(4) { grid-area: location; }
#course-search-result .divTableRow > .divTableCell:nth-child(5) { grid-area: award; }
#course-search-result .divTableRow > .divTableCell:nth-child(6) { grid-area: duration; }

/* the college: a small blue label above the title */
#course-search-result .divTableRow > .divTableCell:nth-child(3) {
  margin-bottom: 10px;
  color: #006CA3;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* the course name: the card's title, and its link covers the whole card */
#course-search-result .divTableRow > .divTableCell:nth-child(1) {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 41, 87, 0.14);
}
#course-search-result .divTableCell h2.heading {
  margin: 0;
  padding: 0;
  color: #002957;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-align: left;
  text-transform: none;
}
#course-search-result .divTableCell h2.heading a {
  color: #002957;
  text-decoration: none;
}
#course-search-result .divTableCell h2.heading a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 14px;
}
#course-search-result .divTableRow:hover .divTableCell h2.heading a {
  color: #006CA3;
}
#course-search-result .divTableCell h2.heading a:focus-visible {
  outline: none;
  box-shadow: none;
}
#course-search-result .divTableCell h2.heading a:focus-visible::after {
  outline: 3px solid #FFCE34;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #002957;
}

/* the labels ("Location(s):", "Duration:"...): shown on every screen, as small capitals */
#course-search-result .divTableRow > .divTableCell strong.mobile-only {
  position: static !important; /* the theme hides these on wide screens */
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 3px;
  padding: 0;
  overflow: visible;
  clip: auto;
  border: 0;
  color: #46617D;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
/* ...except "Course:" and "College:", which the card shows by position (kept for screen readers) */
#course-search-result .divTableRow > .divTableCell:nth-child(1) strong.mobile-only,
#course-search-result .divTableRow > .divTableCell:nth-child(3) strong.mobile-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}


/* ---------- 4. Page numbers ---------- */
#course-search-result .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 44px 10px 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
}
#course-search-result .pagination .no-of-pages {
  flex: 1 0 100%;
  margin: 0 0 6px;
  color: #46617D;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
#course-search-result .pagination .no-of-pages br {
  display: none;
}
#course-search-result .pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(0, 41, 87, 0.24);
  border-radius: 999px;
  background: #FFFFFF;
  color: #002957;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}
#course-search-result .pagination a.page-numbers:hover {
  border-color: #002957;
  background: #002957;
  color: #FFFFFF;
}
#course-search-result .pagination .page-numbers.current {
  border-color: #002957;
  background: #002957;
  color: #FFFFFF;
}
#course-search-result .pagination .page-numbers.dots {
  min-width: 24px;
  padding: 0;
  border-color: transparent;
  background: none;
}
#course-search-result .pagination :is(.next, .prev).page-numbers {
  padding: 0 20px;
}
#course-search-result .pagination a.page-numbers:focus-visible {
  outline: 3px solid #FFCE34;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px #002957;
}


/* ---------- 5. Phones, and less movement for those who ask for it ---------- */
@media only screen and (max-width: 640px) {
  #course-search-result {
    padding: 32px 0 48px;
  }
  #course-search-result .divTableBody > .divTableRow {
    padding: 26px 20px 22px;
  }
  #course-search-result .pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  #course-search-result .divTableBody > .divTableRow {
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  }
  #course-search-result .divTableBody > .divTableRow:hover {
    transform: translateY(-5px);
  }
}


/* ==========================================================================
   2026 REDESIGN: NEWS POSTS
   Only single news posts change: body.single-post, built with the Elementor
   single-post template. ":not(#fit-news)" matches every element; it only
   gives these rules priority over the template's own Elementor settings.
   ========================================================================== */
/* ---------- 1. Keyboard focus: yellow outline with a navy ring ---------- */
body.single-post:not(#fit-news) .elementor-location-single a:focus-visible,
body.single-post:not(#fit-news) .elementor-location-single button:focus-visible,
body.single-post:not(#fit-news) .elementor-location-single input:focus-visible,
body.single-post:not(#fit-news) .elementor-location-single select:focus-visible,
body.single-post:not(#fit-news) .elementor-location-single textarea:focus-visible {
  outline: 3px solid #FFCE34;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px #002957;
}


/* ---------- 2. Categories above the title: a yellow-dash label ---------- */
body.single-post:not(#fit-news) .elementor-widget-post-info .elementor-post-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.single-post:not(#fit-news) .elementor-widget-post-info .elementor-post-info::before {
  content: "";
  flex: none;
  width: 22px;
  height: 2px;
  background: #FFCE34;
}
body.single-post:not(#fit-news) .elementor-widget-post-info .elementor-icon-list-item {
  margin: 0;
  padding: 0;
}
/* Elementor's own icon and divider are replaced by the dash (and a dot if a date is ever added) */
body.single-post:not(#fit-news) .elementor-widget-post-info .elementor-icon-list-icon,
body.single-post:not(#fit-news) .elementor-widget-post-info .elementor-icon-list-item::after {
  display: none;
}
body.single-post:not(#fit-news) .elementor-widget-post-info .elementor-icon-list-item + .elementor-icon-list-item::before {
  content: "\00B7";
  margin-right: 12px;
  color: rgba(0, 41, 87, 0.4);
  font-weight: 700;
}
body.single-post:not(#fit-news) .elementor-widget-post-info .elementor-icon-list-text,
body.single-post:not(#fit-news) .elementor-widget-post-info .elementor-icon-list-item a {
  color: #006CA3;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}
body.single-post:not(#fit-news) .elementor-widget-post-info .elementor-icon-list-item a:hover {
  color: #002957;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ---------- 3. Title: large and navy ---------- */
body.single-post:not(#fit-news) .elementor-widget-theme-post-title .elementor-heading-title {
  max-width: 24ch;
  margin: 0;
  color: #002957;
  font-family: "Rubik", Arial, sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: left;
  text-transform: none;
  text-wrap: balance;
  overflow-wrap: break-word;
}


/* ---------- 4. Featured photo: full width, rounded corners ---------- */
body.single-post:not(#fit-news) .elementor-widget-theme-post-featured-image {
  text-align: left;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-featured-image figure {
  display: block;
  width: 100%;
  margin: 0;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-featured-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 560px;
  margin: 0;
  border: 0;
  border-radius: 14px;
  box-shadow: none;
  object-fit: cover;
  background: #F7F8FA;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-featured-image figcaption {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  opacity: 1;
  color: #46617D;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
}


/* ---------- 5. The story: readable text, navy headings, yellow tick lists ---------- */
body.single-post:not(#fit-news) .elementor-widget-theme-post-content {
  max-width: 720px;
  color: #46617D;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  text-align: left;
  overflow-wrap: break-word;
}
/* stories built with Elementor blocks: their text blocks follow the story style too */
body.single-post:not(#fit-news) .elementor-widget-theme-post-content .elementor-widget-text-editor {
  color: #46617D;
  font-family: "Rubik", Arial, sans-serif;
  font-size: inherit;
  font-weight: 500;
  line-height: 1.7;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content p {
  margin: 0 0 1em;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content :is(h2, h3, h4, h5, h6) {
  margin: 1.6em 0 0.5em;
  color: #002957;
  font-family: "Rubik", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-transform: none;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content h2 { font-size: 1.6em; }
body.single-post:not(#fit-news) .elementor-widget-theme-post-content h3 { font-size: 1.3em; }
body.single-post:not(#fit-news) .elementor-widget-theme-post-content :is(h4, h5, h6) { font-size: 1.1em; }
body.single-post:not(#fit-news) .elementor-widget-theme-post-content :is(h2, h3, h4, h5, h6):first-child {
  margin-top: 0;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content a {
  color: #006CA3;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content a:hover {
  color: #002957;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content :is(strong, b) {
  color: #002957;
  font-weight: 600;
}
/* bulleted lists: yellow tick circles */
body.single-post:not(#fit-news) .elementor-widget-theme-post-content ul:not(.wp-block-gallery):not(.blocks-gallery-grid):not(.wp-block-social-links) {
  display: grid;
  gap: 10px;
  margin: 0 0 1.2em;
  padding: 0;
  list-style: none;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content ul:not(.wp-block-gallery):not(.blocks-gallery-grid):not(.wp-block-social-links) > li {
  position: relative;
  margin: 0;
  padding-left: 36px;
  color: #002957;
  list-style: none;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content ul:not(.wp-block-gallery):not(.blocks-gallery-grid):not(.wp-block-social-links) > li::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFCE34 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002957' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
/* numbered lists */
body.single-post:not(#fit-news) .elementor-widget-theme-post-content ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content ol > li {
  margin: 0;
  padding-left: 4px;
  color: #002957;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content ol > li + li {
  margin-top: 8px;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content ol > li::marker {
  color: #006CA3;
  font-weight: 700;
}
/* quotes */
body.single-post:not(#fit-news) .elementor-widget-theme-post-content blockquote {
  margin: 1.4em 0;
  padding: 6px 0 6px 22px;
  border: 0;
  border-left: 4px solid #FFCE34;
  background: none;
  color: #002957;
  font-size: 1.15em;
  font-style: normal;
  line-height: 1.5;
  quotes: none;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content blockquote p {
  margin: 0 0 0.5em;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content blockquote cite {
  display: block;
  margin-top: 8px;
  color: #006CA3;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}
/* pictures, captions, videos */
body.single-post:not(#fit-news) .elementor-widget-theme-post-content img:not(.emoji) {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content figure {
  max-width: 100%;
  margin: 1.4em 0;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content :is(figcaption, .wp-element-caption, .wp-caption-text) {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  opacity: 1;
  color: #46617D;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content :is(iframe, video) {
  max-width: 100%;
  border: 0;
  border-radius: 8px;
}
/* tables and dividers */
body.single-post:not(#fit-news) .elementor-widget-theme-post-content table {
  width: 100%;
  margin: 0 0 1.2em;
  border-collapse: collapse;
  font-size: 0.9em;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content tr {
  background: transparent;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content :is(th, td) {
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid rgba(0, 41, 87, 0.14);
  text-align: left;
  vertical-align: top;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content th {
  background: #F7F8FA;
  color: #002957;
  font-family: "Work Sans", Arial, sans-serif;
  font-weight: 700;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content :is(hr, .wp-block-separator) {
  height: 1px;
  margin: 2em 0;
  border: 0;
  background: rgba(0, 41, 87, 0.14);
  opacity: 1;
}
/* buttons added in the post editor */
body.single-post:not(#fit-news) .elementor-widget-theme-post-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 2px solid #002957;
  border-radius: 4px;
  background: #002957;
  color: #FFFFFF;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content .wp-block-button__link:hover {
  border-color: #006CA3;
  background: #006CA3;
  color: #FFFFFF;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content .is-style-outline .wp-block-button__link {
  background: transparent;
  color: #002957;
}
body.single-post:not(#fit-news) .elementor-widget-theme-post-content .is-style-outline .wp-block-button__link:hover {
  border-color: #002957;
  background: #002957;
  color: #FFFFFF;
}
/* no extra space under the last paragraph, list or picture */
body.single-post:not(#fit-news) .elementor-widget-theme-post-content :is(p, ul, ol, blockquote, figure, table):last-child {
  margin-bottom: 0;
}


/* ---------- 6. Author, under the story ---------- */
body.single-post:not(#fit-news) .elementor-widget-author-box {
  max-width: 720px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 41, 87, 0.14);
}
body.single-post:not(#fit-news) .elementor-author-box {
  align-items: center;
  gap: 16px;
  text-align: left;
}
body.single-post:not(#fit-news) .elementor-author-box__avatar {
  margin: 0;
}
body.single-post:not(#fit-news) .elementor-author-box__avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
body.single-post:not(#fit-news) .elementor-author-box__name {
  margin: 0;
  color: #002957;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
}
body.single-post:not(#fit-news) .elementor-author-box__name::before {
  content: "Written by";
  display: block;
  margin-bottom: 4px;
  color: #46617D;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
body.single-post:not(#fit-news) .elementor-author-box__bio {
  margin-top: 6px;
  color: #46617D;
  font-size: 15px;
  line-height: 1.6;
}


/* ---------- 7. Sidebar headings (Search, About FIT, Recent Posts...): small labels with a yellow dash.
   Headings inside the story itself keep the story style (section 5). ---------- */
body.single-post:not(#fit-news) .elementor-location-single .elementor-widget-heading:not(.elementor-widget-theme-post-title):not(.elementor-widget-theme-post-content *) {
  padding-top: 22px;
  border-top: 1px solid rgba(0, 41, 87, 0.14);
}
body.single-post:not(#fit-news) .elementor-location-single .elementor-widget-heading:not(.elementor-widget-theme-post-title):not(.elementor-widget-theme-post-content *) .elementor-heading-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #002957;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-align: left;
  text-transform: uppercase;
}
body.single-post:not(#fit-news) .elementor-location-single .elementor-widget-heading:not(.elementor-widget-theme-post-title):not(.elementor-widget-theme-post-content *) .elementor-heading-title::before {
  content: "";
  flex: none;
  width: 22px;
  height: 2px;
  background: #FFCE34;
}
body.single-post:not(#fit-news) .elementor-location-single .elementor-widget-heading:not(.elementor-widget-theme-post-title):not(.elementor-widget-theme-post-content *) .elementor-heading-title a {
  color: inherit;
  text-decoration: none;
}


/* ---------- 8. Search box ---------- */
body.single-post:not(#fit-news) .elementor-location-single .elementor-search-form__container {
  overflow: hidden;
  min-height: 48px;
  border: 1px solid rgba(0, 41, 87, 0.24);
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: none;
}
body.single-post:not(#fit-news) .elementor-location-single .elementor-search-form__container:focus-within {
  border-color: #006CA3;
  box-shadow: 0 0 0 3px rgba(0, 108, 163, 0.18);
}
body.single-post:not(#fit-news) .elementor-location-single .elementor-search-form__input {
  min-height: 46px;
  padding: 10px 14px;
  border: 0;
  background: #FFFFFF;
  color: #002957;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
}
body.single-post:not(#fit-news) .elementor-location-single .elementor-search-form__input::placeholder {
  color: #46617D;
  opacity: 1;
}
body.single-post:not(#fit-news) .elementor-location-single .elementor-search-form__submit {
  min-width: 52px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: #002957;
  color: #FFFFFF;
  font-size: 16px;
}
body.single-post:not(#fit-news) .elementor-location-single .elementor-search-form__submit:hover {
  background: #006CA3;
  color: #FFFFFF;
}
body.single-post:not(#fit-news) .elementor-location-single .elementor-search-form__submit svg {
  fill: currentColor;
}


/* ---------- 9. Sidebar text (About FIT) ---------- */
body.single-post:not(#fit-news) .elementor-location-single .elementor-widget-text-editor:not(.elementor-widget-theme-post-content *) {
  color: #46617D;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}
body.single-post:not(#fit-news) .elementor-location-single .elementor-widget-text-editor:not(.elementor-widget-theme-post-content *) p {
  margin: 0 0 0.8em;
}
body.single-post:not(#fit-news) .elementor-location-single .elementor-widget-text-editor:not(.elementor-widget-theme-post-content *) p:last-child {
  margin-bottom: 0;
}
body.single-post:not(#fit-news) .elementor-location-single .elementor-widget-text-editor:not(.elementor-widget-theme-post-content *) a {
  color: #006CA3;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ---------- 10. Social icons: navy circles ---------- */
body.single-post:not(#fit-news) .elementor-location-single .elementor-social-icon {
  --e-social-icon-icon-color: #FFFFFF;
  border-radius: 50%;
  background-color: #002957;
}
body.single-post:not(#fit-news) .elementor-location-single .elementor-social-icon i {
  color: #FFFFFF;
}
body.single-post:not(#fit-news) .elementor-location-single .elementor-social-icon svg {
  fill: #FFFFFF;
}
body.single-post:not(#fit-news) .elementor-location-single .elementor-social-icon:hover {
  background-color: #006CA3;
}


/* ---------- 11. Recent Posts: cards with a yellow top bar, the whole card clickable ---------- */
body.single-post:not(#fit-news) .elementor-widget-posts .elementor-posts-container {
  row-gap: 18px;
  --grid-row-gap: 18px;
}
body.single-post:not(#fit-news) .elementor-widget-posts .elementor-post {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 41, 87, 0.14);
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 6px 22px rgba(0, 41, 87, 0.07);
}
body.single-post:not(#fit-news) .elementor-widget-posts .elementor-post::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 5px;
  background: #FFCE34;
}
body.single-post:not(#fit-news) .elementor-widget-posts .elementor-post:hover {
  border-color: rgba(0, 108, 163, 0.28);
  box-shadow: 0 16px 36px rgba(0, 41, 87, 0.14);
}
body.single-post:not(#fit-news) .elementor-widget-posts .elementor-post__thumbnail__link {
  margin: 0;
}
body.single-post:not(#fit-news) .elementor-widget-posts .elementor-post__thumbnail {
  border-radius: 0;
}
body.single-post:not(#fit-news) .elementor-widget-posts .elementor-post__text {
  padding: 16px 18px 18px;
}
body.single-post:not(#fit-news) .elementor-widget-posts .elementor-post__title {
  margin: 0 0 10px;
  color: #002957;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
}
body.single-post:not(#fit-news) .elementor-widget-posts .elementor-post__title a {
  color: #002957;
  font: inherit;
  text-decoration: none;
}
body.single-post:not(#fit-news) .elementor-widget-posts .elementor-post__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
body.single-post:not(#fit-news) .elementor-widget-posts .elementor-post:hover .elementor-post__title a {
  color: #006CA3;
}
body.single-post:not(#fit-news) .elementor-widget-posts :is(.elementor-post__excerpt, .elementor-post__excerpt p) {
  margin: 0 0 10px;
  color: #46617D;
  font-size: 15px;
  line-height: 1.55;
}
body.single-post:not(#fit-news) .elementor-widget-posts .elementor-post__meta-data {
  color: #006CA3;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
body.single-post:not(#fit-news) .elementor-widget-posts .elementor-post__read-more {
  position: relative;
  z-index: 2;
  color: #006CA3;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}
body.single-post:not(#fit-news) .elementor-widget-posts .elementor-post:hover .elementor-post__read-more {
  color: #002957;
}


/* ---------- 12. Buttons and form fields in the template (e.g. a sign-up form) ---------- */
body.single-post:not(#fit-news) .elementor-location-single .elementor-button {
  min-height: 48px;
  padding: 12px 26px;
  border: 2px solid #002957;
  border-radius: 4px;
  background: #002957;
  box-shadow: none;
  color: #FFFFFF;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: none;
}
body.single-post:not(#fit-news) .elementor-location-single .elementor-button:hover {
  border-color: #006CA3;
  background: #006CA3;
  color: #FFFFFF;
}
body.single-post:not(#fit-news) .elementor-location-single .elementor-field-group :is(input.elementor-field, select.elementor-field, textarea.elementor-field) {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 41, 87, 0.24);
  border-radius: 8px;
  background: #FFFFFF;
  color: #002957;
  font-family: "Rubik", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
}
body.single-post:not(#fit-news) .elementor-location-single .elementor-field-label {
  color: #002957;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}


/* ---------- 13. Phones, and less movement for those who ask for it ---------- */
@media only screen and (max-width: 767px) {
  body.single-post:not(#fit-news) .elementor-widget-theme-post-content {
    font-size: 17px;
  }
  body.single-post:not(#fit-news) .elementor-widget-theme-post-featured-image img {
    border-radius: 10px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  body.single-post:not(#fit-news) .elementor-widget-posts .elementor-post {
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  }
  body.single-post:not(#fit-news) .elementor-widget-posts .elementor-post:hover {
    transform: translateY(-3px);
  }
}