/* Card default
---------------------------------------------------------------------------- */

.card {
	height: 100%;
	font-size: 16px;
	position: relative;
	display: block;
	-webkit-transition: background-color 0.15s linear, -webkit-box-shadow 0.3s ease-in-out;
	transition: background-color 0.15s linear, -webkit-box-shadow 0.3s ease-in-out;
	-o-transition: box-shadow 0.3s ease-in-out, background-color 0.15s linear;
	-moz-transition: box-shadow 0.3s ease-in-out, background-color 0.15s linear, -moz-box-shadow 0.3s ease-in-out;
	transition: box-shadow 0.3s ease-in-out, background-color 0.15s linear;
	transition: box-shadow 0.3s ease-in-out, background-color 0.15s linear, -webkit-box-shadow 0.3s ease-in-out, -moz-box-shadow 0.3s ease-in-out;
	transition: box-shadow 0.3s ease-in-out, background-color 0.15s linear, -webkit-box-shadow 0.3s ease-in-out;
}

.card:hover {
	-webkit-box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
			-moz-box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
		 box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.card-img {
	position: relative;
	min-height: 240px;
	-webkit-border-bottom-left-radius: 0;
			-moz-border-radius-bottomleft: 0;
		 border-bottom-left-radius: 0;
	-webkit-border-bottom-right-radius: 0;
			-moz-border-radius-bottomright: 0;
		 border-bottom-right-radius: 0;
	width: -webkit-calc(100% + 2px);
	width: -moz-calc(100% + 2px);
	width: calc(100% + 2px);
	margin-left: -1px;
	margin-top: -1px;
}

.card .card-title {
	font-weight: 700;
}

.card-body {
	overflow: hidden;
	position: relative;
	z-index: 9;
}

.card-text {
	line-height: 1.4;
}

.card-link {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 19;
}

.card-info {
	font-size: 14px;
	font-weight: 600;
	font-family: 'Montserrat', sans-serif;
}

.card-img-wrap {
	padding: 15px;
	position: relative;
}

.card-img-left {
	width: 85px;
	height: 85px;
}

.card-post-type {
	width: 40px;
	height: 40px;
	line-height: 40px;
	-webkit-border-radius: 50%;
			-moz-border-radius: 50%;
		 border-radius: 50%;
	position: absolute;
	right: 0;
	top: 70px;
}

.card-img .card-post-type {
	width: 80px;
	height: 80px;
	line-height: 80px;
	font-size: 34px;
	bottom: -30px;
	right: -30px;
	top: auto;
}

.card-text p {
	margin-bottom: 20px;
}

.card-icon {
	position: absolute;
	bottom: 1.25rem;
	right: 1.25rem;
	z-index: 29;
}

.card:not(.card-news-home):not(.card-recent-resource):not(.mooore-magic-card):hover .btn-outline-primary {
	background: #fff;
	border-color: #fff;
}

.card-icon {
	font-size: 40px;
}

a.card {
	color: #333;
}

.card.hbg1:hover .text1,
.card.hbg1:hover .card-info {
	color: #fff;
}

.card.hbg1:hover .card-post-type {
	border: 2px solid #fff;
}

.card.htext6 {
	cursor: pointer;
}

.card-course,
.card-post {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: -moz-box;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
		-ms-flex-direction: column;
			-moz-box-orient: vertical;
			-moz-box-direction: normal;
		 flex-direction: column;
	-webkit-align-content: center;
		-ms-flex-line-pack: center;
			align-content: center;
	padding-bottom: 0;
}


.card-course .btn,
.card-post .btn{
	position: static;
	margin: auto 15px 15px 15px;
	width: auto;
}

/* Magic Card
----------------------------------------------------------------------------- */
.card.mooore-magic-card {
	padding: 0;
}

.card.mooore-magic-card,
.card.mooore-magic-card a {
	height: 100%;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: -moz-box;
	display: flex;
			-webkit-box-align: stretch;
			-webkit-align-items: stretch;
			   -moz-box-align: stretch;
				-ms-flex-align: stretch;
					align-items: stretch;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
		-ms-flex-direction: column;
			-moz-box-orient: vertical;
			-moz-box-direction: normal;
		 flex-direction: column;
}


.card.mooore-magic-card .resource-footer {
	min-height: unset;
	display: -webkit-inline-box;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: -moz-box;
	display: flex;
	-webkit-box-flex: 0;
	-webkit-flex: 0 1 auto;
	   -moz-box-flex: 0;
		-ms-flex: 0 1 auto;
			flex: 0 1 auto;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	   -moz-box-orient: vertical;
	   -moz-box-direction: normal;
		-ms-flex-direction: column;
			flex-direction: column;
}

.card.mooore-magic-card .resource-footer .author{
	margin: 0 0 10px 0;
	word-break: break-word;
}

.card.mooore-magic-card .resource-footer .resource_cat,
.card.mooore-magic-card .resource-footer .resource_cat:hover{
	padding: 12px 18px;
	height: auto;
	width: 100%;
	line-height: 12px;
	min-width: auto;
	min-height: auto;
	position: static;
	opacity: 1;
}

.card.mooore-magic-card > a{
	color: #444;
	line-height: 1.4rem;
	padding: 1rem;
	display: flex;
	width: 100%;
}

.card.mooore-magic-card > a strong {
	display: block;
	margin-bottom: 0.7rem;
}

.card.event .bg-image, 
.card.resource .bg-image {
	width: 100%;
	background-position: center;
	-webkit-background-size: cover;
	   -moz-background-size: cover;
		 -o-background-size: cover;
			background-size: cover;
	margin-bottom: 0.5rem;
	display: inline-block;
}

.card.resource .bg-image {
	height: 7rem;
}

.card-event {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	   -moz-box-orient: vertical;
	   -moz-box-direction: normal;
		-ms-flex-direction: column;
			flex-direction: column;
}

.card-event,
.card-course,
.card-post {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	   -moz-box-orient: vertical;
	   -moz-box-direction: normal;
		-ms-flex-direction: column;
			flex-direction: column;
}

.card-event .btn,
.card-course .btn,
.card-post .btn{
	z-index : 20;
	display: block;
	margin: auto 15px 15px 15px;
}

.card.card-event,
.card.event {
	display: flex;
}

.card.event > a {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}


/* Section Hero
---------------------------------------------------------------------------- */

.site-hero {
	min-height: 400px;
}

.home .site-hero {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: -moz-box;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
		-ms-flex-direction: column;
			-moz-box-orient: vertical;
			-moz-box-direction: normal;
		 flex-direction: column;
	-webkit-box-pack: end;
	-webkit-justify-content: flex-end;
		-ms-flex-pack: end;
			-moz-box-pack: end;
		 justify-content: flex-end;
}

/* Testimonial
---------------------------------------------------------------------------- */

.card-testimonial .card-img-left {
	width: 100px;
	height: 100px;
}

/* Call To Action
---------------------------------------------------------------------------- */

.cta-wrap {
	height: 100%;
	padding-top: 3rem;
	padding-bottom: 3rem;
	position: relative;
}

.cta-wrap:before {
	content:"";
	display: block;
	position:absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	-webkit-background-size: cover;
	   -moz-background-size: cover;
		 -o-background-size: cover;
			background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.6;
}

.cta-inside {
	z-index: 89;
	margin: 0 auto;
	padding: 0 30px;
	max-width: 620px;
}

.cta-inside * {
	cursor: pointer;
}

.cta-inside p {
	color: #fff;
	font-size: 22px;
	font-weight: 500;
	font-family: 'Montserrat', sans-serif;
}

.cta-contentwide .cta-inside {
	max-width: 100%; 
}

.cta-outline .cta-inside h3 {
	min-width: 300px;
	border: 2px solid;
	padding: 10px 30px;
	text-align: center;
}

.cta-textonly:before,
.cta-textonly .cta-inside * {
	cursor: default;
}

.cta-textonly .cta-inside:after {
	content: '';
	width: 200px;
	display: block;
	margin-top: 20px;
	border-bottom: 4px solid #fff;
}

.cta-inside .far {
	font-size: 28px;
	margin-left: 10px;
	vertical-align: middle;
}

.cta-inside h3 {
	margin-bottom: 0;
	letter-spacing: 1px; 
}

.cta-inside p {
	margin-bottom: 0;
}

.container-fluid .cta-wrap {
	margin-left: -15px;
	margin-right: -15px;
}

/* Card Accordion
---------------------------------------------------------------------------- */

.card-accordion {
	overflow: hidden;
	margin-bottom: 10px;
	padding-bottom: 0;
	-webkit-border-radius: .25rem !important;
			-moz-border-radius: .25rem !important;
		 border-radius: .25rem !important;
	border: 1px solid rgba(0,0,0,.125) !important;    
}

.card-accordion:hover {
	-webkit-box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
			-moz-box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
		 box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}

.card-accordion .card-header {
	cursor: pointer;
	padding: 14px 20px;
	position: relative;
	margin-bottom: -1px;
	color: inherit;
	background-color: rgba(0,0,0,.03);
	border-bottom: 1px solid rgba(0,0,0,.125);
}

.card-accordion .card-header .far {
	position: absolute;
	top: 13px;
	right: 20px;
	font-size: 24px;
}

.card-accordion [data-toggle="collapse"] .far:before {  
  content: "\f106";
}

.card-accordion [data-toggle="collapse"].collapsed .far:before {
  content: "\f107";
}

.widget-area .card-accordion {
	margin-bottom: 1.5rem;
	-webkit-box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
			-moz-box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
		 box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
}

.widget-area .card-accordion .card-header {
	padding: 20px;
	text-align: center; 
	background-color: #fff; 
}

.widget-area .card-accordion .card-body {
	padding-top: 5px;    
}

.widget-area .card-accordion .card-header .far {
	top: 18px;
}

.card-accordion ul {
	padding-left: 40px;
	margin-bottom: 30px;
}

.card-accordion ul li {
	list-style-type: disc;
	line-height: 1.625;
}

/* Card Tabs
---------------------------------------------------------------------------- */

.card-tabs .nav-pills {
	background-color: rgba(0,0,0,.03);    
}

.card-tabs .nav-pills .nav-link {
	color: #013e7d;
	-webkit-border-radius: 0;
			-moz-border-radius: 0;
		 border-radius: 0;
	padding: 15px 20px;
	position:relative;
}

.card-tabs .tab-content {
	padding: 20px;
	border: 1px solid rgba(0,0,0,.125); 
}

.card-tabs .tab-content .tab-pane ul {
	padding-left: 25px;
}

.card-tabs .tab-content .tab-pane ul li {
	list-style-type: disc;
}

.card-tabs .tab-pane > *:last-child {
	margin-bottom: 0;
}

.card-tabs .nav-pills .nav-link.active, 
.card-tabs .nav-pills .show>.nav-link{
	color: #fff;
	background-color: #013e7d;
}



/* Card News Home
---------------------------------------------------------------------------- */

.card-news-home:hover {
	-webkit-box-shadow: none !important;
			-moz-box-shadow: none !important;
		 box-shadow: none !important;
}

.card-news-home {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: -moz-box;
	display: flex;
	padding-bottom: 0;
}

.card-news-home .card-info {
	font-weight: 700;
	letter-spacing: 1px;
}

.card-news-home .card-body {
	padding-bottom: 60px;
}

.card-news-home .card-img {
	min-width: 300px;
	-webkit-border-radius: 0;
			-moz-border-radius: 0;
		 border-radius: 0;
}

.site-hero .card-news-home {
	border: none;
}

.site-hero .card-img {
	display: none;
}

.site-hero .card-news-home .card-body {
	padding-bottom: 80px;
}

.site-hero .card .btn {
	left: 0;
	position: absolute;
	bottom: 0;
	z-index: 29;
	margin: 0 15px 15px 15px;
}


.site-inner .card-news-home .btn {

	position: absolute;
	bottom: 1.25rem;
	right: 1.25rem;
	z-index: 29;
}
/* Card Recent Resources
---------------------------------------------------------------------------- */
.card-recent-resource {
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
		 border-radius: 0;
	font-family: 'Montserrat', sans-serif;
	padding: 1rem 1rem 1rem 0.5rem;
}
.card-recent-resource .resource-img {
	min-height: 50px;
	min-width: 50px;
	height: 50px;
	width: 50px;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	   -moz-background-size: cover;
		 -o-background-size: cover;
			background-size: cover;
	background-position: center;
}

.card-recent-resource .resource-info p:nth-of-type(1) {
	font-weight: 600;
	font-size: 11px;
	opacity: 0.5;
}

.card-recent-resource .resource-info p:nth-of-type(2) {
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.1rem;
}

.card-recent-resource .see-all {
	position: absolute;
	bottom: 0;
	right: unset;
	left: 0.5rem;
}

.card-recent-resource .see-all a {
	font-size: 0.9rem;
	font-weight: 500;
	text-align: center;
	display: inline-block;
}

.card-recent-resource .arrow {
	content: '';
	position: absolute;
	right: -0.5px;
	top: 0;
	bottom: 0;
	-webkit-clip-path: polygon(100% 100%, 100% 0, 0 50%);
			clip-path: polygon(100% 100%, 100% 0, 0 50%);
	border: 0;
	-webkit-box-shadow: unset;
			-moz-box-shadow: unset;
		 box-shadow: unset;
	z-index: 10;
	width: 3rem;
}
/*
.card-recent-resource .title-column {
	padding: 0 1rem 0 0;
	align-items: center;
	display: flex;
}*/

.card-recent-resource .title-column {
	padding: 0 1rem 0 0;
	-webkit-box-align: center;
	-webkit-align-items: center;
		-ms-flex-align: center;
			-moz-box-align: center;
		 align-items: center;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: -moz-box;
	display: flex;
	width: -webkit-calc(100% - 1rem);
	width: -moz-calc(100% - 1rem);
	width: calc(100% - 1rem);
	left: 0.5rem;
	position: relative;
	padding: 1rem;
	top: 0.5rem;
}

.card-recent-resource .title-column p {
	text-transform: uppercase;
	font-weight: 600;
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.25rem;
	line-height: 1.4rem;
}
.card-recent-resource .list-group-item {
	max-width: 100%;
}


/* Card Event Home
---------------------------------------------------------------------------- */

.row-events {
	margin-right: -10px;
	margin-left: -10px;
}

.row-events .col {
	padding-left: 10px;
	padding-right: 10px;
}

.card-event-home {
	border: none;
	min-height: 280px;
}

.card-event-home:hover {
	-webkit-box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
			-moz-box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
		 box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

.card-event-home:after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50%;
	content: '';
	z-index: 1;
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(1, 62, 125,0)), color-stop(75%, rgba(1, 62, 125,0.7)));
	background: -o-linear-gradient(top, rgba(1, 62, 125,0) 0%, rgba(1, 62, 125,0.7) 75%);
	background: -webkit-linear-gradient(top, rgba(1, 62, 125,0) 0%, rgba(1, 62, 125,0.7) 75%);
	background: -moz-linear-gradient(top, rgba(1, 62, 125,0) 0%, rgba(1, 62, 125,0.7) 75%);
	background: linear-gradient(to bottom, rgba(1, 62, 125,0) 0%, rgba(1, 62, 125,0.7) 75%);
}

.card-event-home .card-body {
	z-index: 2;
}
	
.card-event-home .card-info {
	font-size: 12px;
	font-weight: 500;
}

/* Card Search
---------------------------------------------------------------------------- */

.card-search {
	padding-bottom: 50px;
}


/* Prev-Next Card
---------------------------------------------------------------------------- */

.next-prev-link.btn {
	min-width: 220px;
}

.next-prev-link a,
.next-prev-link a:hover {
	margin: 0 5px;
	color: inherit;
	padding: 10px 0;
}

/* Media style
---------------------------------------------------------------------------- */
@media only screen and (max-width: 576px) {

	.row-prev-next .text-left,
	.row-prev-next .text-right{
		text-align: center !important;
	}
}

@media only screen and (min-width: 576px) {
	.card-recent-resource .title-column {
		position: static;
		width: auto;
		padding: 0 1rem 0 0;
	}

	.card-recent-resource .title-column p {
		width: min-intrinsic;
		width: -webkit-min-content;
		width: -moz-min-content;
		width: min-content;
		display: table-caption;
		display: -ms-grid;
		-ms-grid-columns: min-content;
	}
}

@media only screen and (min-width: 768px){
	.post-type-archive-resources .mooore-magic-card .resource-footer{
		margin: auto 0 0 0;
		-webkit-box-pack: justify;
		-webkit-justify-content: space-between;
			-ms-flex-pack: justify;
				-moz-box-pack: justify;
			 justify-content: space-between;
		min-height: unset;
		-webkit-box-flex: unset;
		-webkit-flex-grow: unset;
			-ms-flex-positive: unset;
				-moz-box-flex: unset;
			 flex-grow: unset;
	}

	/* enquire */
	.widget-area .sticky-bar-enquire .card-accordion {
		box-shadow: none !important;
		margin-bottom: 0;
		border: none !important;
	}

	.widget-area .sticky-bar-enquire .card-accordion .card-header {
		display: none;
		padding: 15px 15px 5px 15px;
		border-bottom: 0;
	}

	.widget-area .sticky-bar-enquire .card-header i {
		display: none;
	}

	.widget-area .sticky-bar-enquire .collapse {
		display: block;
		height: auto !important;
		visibility: visible;
	}

	.widget-area .sticky-bar-enquire .card-body,
	.widget-area .sticky-bar-enquire .card-text {
		padding: 0;
	}
}

@media only screen and (min-width: 960px) { 
	.card-news-home {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-webkit-flex-direction: row;
			-ms-flex-direction: row;
				-moz-box-orient: horizontal;
				-moz-box-direction: normal;
			 flex-direction: row;
	}

	.card-news-home .card-img {
		width: 300px;
	}

	.widget-area .sticky-bar-enquire .card-accordion .card-header {
		display: block;
	}
}

@media only screen and (min-width: 1200px) {
	.post-type-archive-resources .mooore-magic-card .resource-footer { 
		-webkit-box-align: center;
		-webkit-align-items: center;
			-ms-flex-align: center;
				-moz-box-align: center;
			 align-items: center;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-webkit-flex-direction: row;
		   -moz-box-orient: horizontal;
		   -moz-box-direction: normal;
			-ms-flex-direction: row;
				flex-direction: row;
	}


	.post-type-archive-resources .mooore-magic-card .resource-footer .author{
		margin-right: 10px;
		margin-bottom: unset;
		-webkit-box-flex: 1;
		-webkit-flex: 1 1 auto;
		   -moz-box-flex: 1;
			-ms-flex: 1 1 auto;
				flex: 1 1 auto;
	}

	.post-type-archive-resources .mooore-magic-card .resource-footer .resource_cat,
	.post-type-archive-resources .mooore-magic-card .resource-footer .resource_cat:hover{
		width: auto;
	}
}