:root {
	/*--aom-main-color: #ba361f;*/
	/*--aom-main-color: #c64239;*/
	--aom-main-color: #3c5a72;
	/*--aom-main-color-hover: #ba361f55;*/
	/*--aom-main-color-hover: #c64239dd;#517490*/
	--aom-main-color-hover: #3c5a72dd;
	--aom-secondary-color: #dfab21;
	--aom-secondary-color-hover: #dfab2155;
	--aom-dark-grey: #5A5C5D;
	--aom-light-grey: #C2C6C9;

	/*--pfi-other-course-color:  #3c5a72;*/
	/*--pfi-short-course-color:  #30485b;*/
	/*--pfi-long-course-color:  #243644;*/

	--pfi-other-course-color:  var(--aom-main-color);
	--pfi-short-course-color:  var(--aom-main-color);
	--pfi-long-course-color:  var(--aom-main-color);
}

.top-bar {
	/*background-color: #ba361f08;*/
	background-color: #3c5a720A;
}

/*.top-bar a, 
.top-bar a:hover, 
.top-bar a:visited {
    text-shadow: 1px 1px 3px var(--aom-dark-grey);
}*/

::selection {
    background: var(--aom-main-color-hover);
}

article {
	-webkit-hyphens: unset;
    -moz-hyphens: unset;
    hyphens: unset;
}

article p a, article p a:visited,
a, a:visited {
    color: var(--aom-main-color);
    font-weight: bold;
}

article p a:hover,
a:hover {
    color: var(--aom-main-color-hover);
}


article p a.alt,
a.alt,
article p a.alt:visited,
a.alt:visited {
	color: var(--aom-secondary-color);
}

article p a.alt:hover,
a.alt:hover {
	color: var(--aom-secondary-color-hover);
}


.button {
	background-color: var(--aom-main-color);
}

.button:hover,
.button:focus {
	background-color: var(--aom-main-color-hover);
}

.button.disabled,
.button[disabled] {
	background-color: var(--aom-light-grey) !important;
}

.ff2 .menu li.menu-item a,
.ff2 a {
	color:  #fff !important;
}

.header_container {
	display: none;
}

.footer_container {
    background-color: var(--aom-main-color);
}

#footer {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

footer[role="contentinfo"] {
    padding: 1rem 0 4rem;
}

.ff1 .tc {
	padding-bottom: 0;
}

.ff1 .social-media {
	color: white;
}

.ff1 .social-media i {
	margin-top: 10px;
	margin-right: 5px;
}

.ff2 ul#menu-footer-menu li a {
    padding: 10px;
    text-align: right;
    line-height: 1;
}

.ff2 ul#menu-footer-menu {
    flex-direction: column;
}

@media screen and (max-width: 767px) {
	.nav_container  {
		background-color: #fff;
	}
	
	.title-bar {
		margin: 0;
	}
}

.dropdown .is-dropdown-submenu a {
	padding:  0.1rem 1rem;
}

.dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a::after {
	transition: all .2s ease-in !important;
	border-color: var(--aom-secondary-color) transparent transparent;
}
/*.dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a:hover::after {
	border-color: var(--aom-main-color) transparent transparent;
}*/
.menu li.menu-item a,
.dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a {
	color: var(--aom-secondary-color) !important;
}
/*.dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a:hover,
.dropdown.menu.medium-horizontal > li.is-dropdown-submenu-parent > a:focus {
	text-decoration-color: none;
	color: var(--aom-main-color) !important;
}*/

.menu > li:hover > a,
.is-dropdown-submenu > li:hover a {
    color: var(--aom-main-color) !important;
}



.top-bar ul.menu ul.submenu {
	background: white;
}
.top-bar ul.menu ul.submenu a {
	color: var(--aom-secondary-color);
}
.top-bar ul.menu ul.submenu a:hover,
.top-bar ul.menu ul.submenu a:focus {
	color: var(--aom-secondary-color-hover);
}


.moodle_container{
	background: white;
	border-bottom: 1px solid var(--aom-secondary-color);
}

.moodle_container .d-flex {
	display: flex;
	flex-direction: row;
	justify-content: space-between;	
	padding: 5px 15px;
}

.moodle_container .d-flex a {
	padding: 0 10px;
}


.moodle_container .d-flex .social a {
	padding: 0 5px;
}



@media screen and (min-width: 1025px) {
	:not(.home)>.content_container {
	    margin-top: 130px;
	}

	.moodle_container .d-flex .social {
		margin-left: 15px;
	}
}


.elementor-posts-container .course-image-ratio {
	padding-bottom: calc( 0.85 * 100% );
}

.elementor-posts-container .elementor-post__badge {
	right: 0;
}

article.course a {
	display: flex;
}

article.course .inline a{
	display: inline-flex;
}


article.course a img {
	width: 70%;
}

div#secondary {
    font-size: 1.1rem;
}


.menu > li.astm-search-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu > li.astm-search-menu:not(.menu-text) > a {
    line-height: 1.5;
}

li.astm-search-menu svg.search-icon path.search-icon-path {
    fill: var(--aom-secondary-color);
}

li.astm-search-menu form.is-search-form label input.is-search-input {
	max-width: 100%;
}

/* General Rule for Course Types */
.elementor-posts-container .type-course .elementor-post__thumbnail__link {
	margin-bottom: 0;
	border-bottom: 20px solid var(--pfi-other-course-color);
}

.elementor-posts-container .type-course .elementor-post__meta-data {
	background: var(--pfi-other-course-color);
	color: white;
	margin-top: 0 !important;
}

.elementor-posts-container .type-course .elementor-post__badge {
	background:	var(--pfi-other-course-color);
}

/* General Rule for Training Course Types */
.elementor-posts-container .type-training .elementor-post__thumbnail__link {
	margin-bottom: 0;
	border-bottom: 20px solid var(--aom-secondary-color);
}

.elementor-posts-container .type-training .elementor-post__meta-data {
	background: var(--aom-secondary-color);
	color: white;
	margin-top: 0 !important;
}

.elementor-posts-container .type-training .elementor-post__badge {
	background:	var(--aom-secondary-color);
}


/* OTHER COURSES */
.elementor-posts-container .course-type-other .elementor-post__thumbnail__link {
	margin-bottom: 0;
	border-bottom: 20px solid var(--pfi-other-course-color);
}

.elementor-posts-container .course-type-other .elementor-post__meta-data {
	background: var(--pfi-other-course-color);
	color: white;
	margin-top: 0 !important;
}

.elementor-posts-container .course-type-other .elementor-post__badge {
	background:	var(--pfi-other-course-color);
}

/* SHORT COURSES */
.elementor-posts-container .course-type-short-course .elementor-post__thumbnail__link {
	margin-bottom: 0;
	border-bottom: 20px solid var(--pfi-short-course-color);
}

.elementor-posts-container .course-type-short-course .elementor-post__meta-data {
	background: var(--pfi-short-course-color);
	color: white;
}

.elementor-posts-container .course-type-short-course .elementor-post__badge {
	background:	var(--pfi-short-course-color);
}

/* LONG COURSES */
.elementor-posts-container .course-type-long-course .elementor-post__thumbnail__link {
	margin-bottom: 0;
	border-bottom: 20px solid var(--pfi-long-course-color);
}

.elementor-posts-container .course-type-long-course .elementor-post__meta-data {
	background: var(--pfi-long-course-color);
	color: white;
}

.elementor-posts-container .course-type-long-course .elementor-post__badge {
	background:	var(--pfi-long-course-color);
}



/* TRAINING COURSES */
.elementor-posts-container .type-training .elementor-post__card .elementor-post__text {
	background: var(--aom-secondary-color);
}

.elementor-posts-container .type-training .elementor-post__thumbnail__link {
	margin-bottom: 0;
	border-bottom: 20px solid var(--aom-secondary-color);
}

.elementor-posts-container .type-training .elementor-post__meta-data {
	background: var(--aom-secondary-color);
	color: white;
}

.elementor-posts-container .type-training .elementor-post__badge {
	background:	var(--aom-secondary-color);
}

.elementor-post.type-training .elementor-post__card .elementor-post__text {
	background: var(--aom-secondary-color);
}



.elementor-posts.elementor-posts-container {
	height: 100%;
}

.elementor-post .elementor-post__card {
	display: flex;
	flex-direction: column;
}

.elementor-post .elementor-post__card .elementor-post__text {
	background: var(--aom-main-color);
	margin-top: 0 !important;
	flex-grow: 1;
	padding: 10px 30px;
}

a.link-white,
a.link-white:active,
a.link-white:focus,
a.link-white:hover {
	color: white;
	font-weight: normal;
}

.elementor-post .elementor-post__card .elementor-post__text a {
	color: white;
}

.elementor-posts.elementor-posts-container article + p.selectionShareable {
	display: none;
}


.kt-blocks-accordion-header.kt-accordion-panel-active {
	border-color: #eeeeee #eeeeee #eeeeee var(--aom-secondary-color) !important;
}


.wpv-custom-search-filter__input input[type="checkbox"] {
	width: auto;
	margin-bottom: 5px;
}

.date .wpv-custom-search-filter__input {
	padding: 7px 0;
	margin-bottom: 15px;
}


.gform_wrapper .gfield input[type='radio'] {
	width: auto;
    margin: 5px 0;
}


#gform_2 select[name="input_15"] option,
#gform_2 select[name="input_15"] {
	text-transform: capitalize;
}

.gsection {
    margin-top: 40px;
}

/* TIMELINE */
.uael-timeline-main .uael-days .in-view .in-view-timeline-icon,
.uael-timeline__line__inner {
	background: var(--aom-secondary-color);
}


span.elementor-post-date.hide-date {
    visibility: hidden;
}


.lecturer-name { 
	margin-top: 20px;
	color:var(--aom-secondary-color);
}
.lecturer .lecturer-image figure.wp-block-media-text__media {
    border-radius: 20px;
    aspect-ratio: 1;
    /* border: 1px solid black; */
}
.lecturer-image h5.tb-heading {
    color: var(--aom-main-color);
    font-weight: bold;
}
.venue h4.lectures-in-title,
.lecturer h4.lectures-in-title {
    color: var(--aom-main-color);
    border-top: 5px solid var(--aom-secondary-color);
    padding-top: 20px;
}

.ginput_container_consent input {
    width: auto;
}

.gfield.consent div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
}

.gfield .ginput_container_checkbox .gfield-choice-input,
.gfield.consent div input[type="checkbox"] {
	width: auto;
	margin-bottom: 0;
}


/* LECTURERS START */
.page-id-3123 .elementor-widget-posts .elementor-post__thumbnail__link { margin-bottom: 0; }
.page-id-3123 .elementor-widget-posts .elementor-post__text { 
	width: 100%; 
	min-height: unset !important;
	display: flex;
    flex-direction: column;
    justify-content: center;
}
.page-id-3123 .elementor-widget-posts .elementor-post__text h3 {
	margin: 10px 0 !important;
}

h4.tb-heading + p.selectionShareable  { margin: 0 !important; }

.title-blue { color: var(--aom-main-color) !important; }

/* LECTURERS END */

/* VENUES START */
.facility-infobox { 
	display: flex;
    flex-wrap: nowrap; 
    margin-bottom: 10px;
}

.facility-infobox .info-box-media-container,
.facility-infobox .infobox-textcontent {
	display: flex;
    flex-direction: column;
    justify-content: center;
}

.facility-infobox .infobox-textcontent h5 {
	margin: 0 0 0 10px;
    font-size: 16px;
}

.facilites-container {
    display: flex;
}

.facilites-container .facility-infobox {
    padding: 0 10px;
}

.justify-center {
    justify-content: center !important;
    flex-direction: column;
}

hr.separator-margin {
    margin: 10px 0px;
    border: 1px solid var(--aom-secondary-color);
}

/* VENUES END */


#menu-item-323 .is-dropdown-submenu {
    min-width: 205px;
}



button.gpnf-add-entry {
    background: var(--e-global-color-primary);
    color: white;
    padding: 0.5rem 0.5rem;
    border-radius: 5px;
    font-size: 85%;
}





.page-id-7197 .content_wrap.grid-container{
	max-width: 85%;
}

.page-id-7197 .gform_wrapper .gchoice { display:flex; }
.page-id-7197 .gform_wrapper .gchoice .gfield-choice-input { width: 25px; margin-top: auto; margin-bottom: auto; }


#ginput_product_price_2_68 .ginput_product_price_label { display: none; }

body:not(.elementor-editor-active) section.elementor-section.hide-if-no-posts:not(:has(article)) { display: none; }
body.elementor-editor-active section.elementor-section.hide-if-no-posts:not(:has(article)) { display: block; opacity: 0.5; }


.content_container .gravityflow_workflow_wrap #post-body table.entry-detail-view,
table.entries.fixed { position: relative; z-index: auto; }

/* CUSTOM STYLING FOR RCIA */
/*




.button
{
	background-color: #e5c100;
	border: 2px solid #55595c;
	color: #55595c;
	border-radius: 3px;
	font-weight: bold;
}

.button:hover, .button:focus {
    background-color: #512179;
	color: white;
}








.elementor-widget-image-gallery .gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.final-footer {
	flex-wrap: wrap;
}




.footer_wrap a>img {
    padding: 10px 0;
}	
}

.home .gform_confirmation_wrapper {
	color: #fff;
	margin: 20px 0;
}



.elementor-lightbox footer {
	display: none;
}

.nav_container .sticky-container {
	padding: 0;
}


*/
.get-formed-ribbon .course-section-get-formed-eligible {
    position: relative;
    overflow: hidden; 
}

.get-formed-ribbon .course-section-get-formed-eligible:before {
    content: 'Get Formed!';
    color: white;
    background: var(--e-global-color-secondary);
    position: absolute;
    z-index: 1;
    width: 250px;
    height: 40px;
    transform: rotate(-45deg) translate(-50%, -20px);
    top: -9%;
    left: 8%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}