/* =====================================================
========================================================
COLORS:
- Ripple Blue: #005e97
- Moonlit Sky: #0a4c75
- Sunlit Leaf: #39b54a
- Shader Grey: #e2e2e2
- Quenched Al: #2d3135
- Black Slate: #212529
- Moonlit Sea: #0f1113
========================================================
======================================================== */

body {
	margin: 0px;
	padding: 0px;
	background-color: #e2e2e2;
}

body.dark-mode {
    background-color: #0f1113;
    color: #e2e2e2;
}

::selection {
    background: #39b54a;
    color: #ffffff;
}
::-moz-selection {
    background: #39b54a;
    color: #ffffff;
}

body.dark-mode::selection {
    background: #0a4c75;
    color: #e2e2e2;
}
body.dark-mode::-moz-selection {
    background: #0a4c75;
    color: #e2e2e2;
}

#menu {
	-webkit-box-shadow: 0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.2);
    box-shadow: 0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.2);
	z-index: 1000;
	background-color: #ffffff;
	position: fixed !important;
}

.dark-mode #menu {
    background-color: #212529;
}

/* =====================================================
========================================================
HEADER
========================================================
======================================================== */

header {
	padding: 0px 30px 0px 30px;
}

header .brand {
	display: block;
	min-width: 100px;
	margin: 0px;
}

header .logo {
	max-width: 200px;
	padding: 20px 0px;
	display: block;
	width: 100%;
	height: 100%;
}

header .toggle-menu {
	min-width: 70px;
}

.break {
	border-top: 1px solid #e2e2e2;
	width: 100%;
	height: 1px;
	margin: 15px 0px 0px 0px;
}

/* =====================================================
========================================================
MEGA NAVIGATION
========================================================
======================================================== */

#mega-nav {
	padding: 20px 30px 0px 30px;
	height: calc(100vh - 95px);
	overflow-y: auto;
	border-top: 1px solid #e2e2e2;
}

/*#mega-nav > ul > li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
}*/

#mega-nav > ul > li.break {
	border-top: 1px solid #e2e2e2;
	width: 100%;
	height: 1px;
	margin: 20px 0px 20px 0px;
}

.dark-mode #mega-nav > ul > li.break {
	border-color: #e2e2e2;
}

#mega-nav a {
	display: flex;
	flex-wrap: nowrap;
	justify-content: start;
	align-items: baseline;
}

.dark-mode #mega-nav a {
    text-decoration: none;
}

#mega-nav a .fas {
	flex-shrink: 0;
	margin: 0px 10px 0px 0px;
	-webkit-transition-property: color;
	transition-property: color;
	-webkit-transition-duration: 0.2s;
	transition-duration: 0.2s;
	-webkit-transition-timing-function: ease-in-out;
	transition-timing-function: ease-in-out;
}

#mega-nav a:hover .fas,
#mega-nav a:focus .fas,
#mega-nav a:active .fas {
	color: #39b54a;
}

#mega-nav > ul > li ul {
	list-style: none;
	padding: 0px 0px 0px 20px;
	margin: 5px 0px;
}

#mega-nav > ul > li ul li a {
	color: #212529;
	text-decoration: none;
	margin: 0px 0px 12px 0px;
}

.dark-mode #mega-nav > ul > li ul li a {
    color: #e2e2e2;
}

#mega-nav > ul > li:last-child {
	padding-bottom: 60px;
}

#mega-nav .nav-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: stretch;
    -ms-flex-pack: stretch;
    justify-content: stretch;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    width: 100%;
}

#mega-nav .nav-group .nav-link {
	margin-right: auto;
}

#mega-nav .sub-nav {
	height:auto;
	max-height: 0px;
	margin: 0px;
	overflow: hidden;
	visibility: hidden;
	opacity: 0;
	padding: 0px 15px 0px 20px;
	-webkit-transition: max-height 0.1s ease-in-out;
    -moz-transition: max-height 0.1s ease-in-out;
    -ms-transition: max-height 0.1s ease-in-out;
    -o-transition: max-height 0.1s ease-in-out;
    transition: max-height 0.1s ease-in-out;
}

#mega-nav a.active .fas {
	color: #39b54a;
}

#mega-nav .sub-nav.open {
	max-height: 1000px;
	visibility: visible;
	opacity: 1;
}

#mega-nav a.nav-toggle {
	text-decoration: none;
	padding: 0px 10px 0px 0px;
}

#mega-nav a.nav-toggle .fas {
	margin: 0px;
}

/* =====================================================
========================================================
MAIN
========================================================
======================================================== */

main {
	position: relative;
}

main .toggle-menu {
	position: absolute;
	top: 5px;
	left: 12px;
}

main > .jumbotron {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	min-height: 315px;
	border-bottom: 1px solid #39b54a;
	position: absolute;
	right: 0px;
	top: 0px;
	width: 100%;
	z-index: 10;
}

.dark-mode main > .jumbotron {
    background-color: #212529;
    -webkit-filter: brightness(.8) contrast(1.2);
    filter: brightness(.8) contrast(1.2);
}

main > article {
	margin: 60px 80px 60px 80px;
	z-index: 100;
	position: relative;
}

main > article.banner-spacer {
	margin-top: 195px;
}

main > article > section {
	margin: 20px 0px 0px 0px;
	background-color: #ffffff;
	-webkit-box-shadow: 0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.2);
    box-shadow: 0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.2);
	position: relative;
}

.dark-mode main > article > section {
    background-color: #212529;
}

main > article > section .wrapper {
	padding: 60px;
}

.highlight .highlight-bg,
.highlight .highlight-video {
	background-color: #e2e2e2;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.dark-mode .highlight .highlight-bg,
.dark-mode .highlight .highlight-video {
    background-color: #212529;
    -webkit-filter: brightness(.8) contrast(1.2);
    filter: brightness(.8) contrast(1.2);
}

.highlight .highlight-bg {
	min-height: 225px;
}

.highlight .highlight-video {
	position: relative;
    width: 100%;
    height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
    text-decoration: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.highlight .highlight-video .fas {
	font-size: 6em;
}

.highlight a {
	text-decoration: none;
	color: rgba(256,256,256,0.80);
	-webkit-transition-property: color;
	transition-property: color;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
	min-height: 225px;
}

.highlight a:hover,
.highlight a:focus,
.highlight a:active {
	color: rgba(57,181,74,1.0);
}

a {
	color: #005e97;
}

.dark-mode a {
    color: #e2e2e2;
    text-decoration: underline;
}

.dark-mode a:hover,
.dark-mode a:focus,
.dark-mode a:active {
    color: #39b54a;
}

main > article .h1,
main > article .h2,
main > article .h3,
main > article .h4,
main > article .h5,
main > article .h6,
main > article h1,
main > article h2,
main > article h3,
main > article h4,
main > article h5,
main > article h6 {
	color: #005e97;
	margin: 0px 0px 30px 0px;
}

.dark-mode main > article .h1,
.dark-mode main > article .h2,
.dark-mode main > article .h3,
.dark-mode main > article .h4,
.dark-mode main > article .h5,
.dark-mode main > article .h6,
.dark-mode main > article h1,
.dark-mode main > article h2,
.dark-mode main > article h3,
.dark-mode main > article h4,
.dark-mode main > article h5,
.dark-mode main > article h6 {
  color: #39b54a;
}

.text-blend,
main > article .h1 .fas,
main > article .h2 .fas,
main > article .h3 .fas,
main > article .h4 .fas,
main > article .h5 .fas,
main > article .h6 .fas,
main > article h1 .fas,
main > article h2 .fas,
main > article h3 .fas,
main > article h4 .fas,
main > article h5 .fas,
main > article h6 .fas {
	color: #39b54a;
	background: -moz-linear-gradient(-90deg, rgba(57,181,74,1) 50%, rgba(0,94,151,1) 0%);
	background: -webkit-linear-gradient(-90deg, rgba(57,181,74,1) 50%,rgba(0,94,151,1) 0%);
	background: linear-gradient(90deg, rgba(57,181,74,1) 50%,rgba(0,94,151,1) 0%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

footer > section {
	margin: 0px 80px 25px 80px;
	font-size: 13px;
}

/* =====================================================
========================================================
BUTTONS
========================================================
======================================================== */

.btn {
	border-radius: 0px;
	position: relative;
}

.btn::before {
	content: "";
	position: absolute;
	z-index: 0;
	left: 0;
	right: 100%;
	bottom: -2px;
	background: #39b54a;
	height: 1px;
	-webkit-transition-property: right;
	transition-property: right;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}

.btn:hover::before {
	right: 0px;
}

.btn-primary {
    color: #212529;
    background-color: #ffffff;
    border-color: #e2e2e2;
	-webkit-transition-property: background-color;
	transition-property: background-color;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}

.dark-mode .btn-primary {
    background-color: #212529;
    border-color: #39b54a;
    color: #39b54a;
    text-decoration: none;
}

.btn-primary:hover {
    color: #005e97;
    background-color: #ffffff;
    border-color: transparent;
}

.dark-mode .btn-primary:hover {
    color: #e2e2e2;
    background-color: #0a4c75;
    border-color: transparent;
}

.btn-primary.focus, .btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 .2rem rgb(57, 181, 74, 0.5);
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled):active:focus {
	color: #212529;
    background-color: rgb(57, 181, 74, 0.5);
    border-color: transparent;
}

.dark-mode .card {
    background-color: #2d3135;
}

.dark-mode .card-header {
    background-color: #0a4c75;
}

/*.dark-mode .toggle-dark-mode[aria-checked="true"] .fas {
    color: #39b54a;
}*/

/*BOOTSTRAP FIXES*/
.card .card-footer {
    -ms-flex-item-align: end;
    align-self: flex-end;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

/* =====================================================
========================================================
BREADCRUMBS
========================================================
======================================================== */

.breadcrumbs {
    list-style: none;
    padding: 0px;
}

.breadcrumbs li a {
    background-color: #ffffff;
    -webkit-box-shadow: 0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.2);
    box-shadow: 0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.2);
    padding: 10px 15px 10px 15px;
}

.dark-mode .breadcrumbs li a {
    background-color: #212529;
}

.breadcrumbs li a:hover,
.breadcrumbs li a:focus {
    color: #39b54a;
    text-decoration: none;
}

.dark-mode .breadcrumbs li a {
    text-decoration: none;
}

.breadcrumbs li:not(:first-child) {
    margin: 0px 0px 0px 5px;
}

/*.breadcrumbs li:not(:last-child)::after {
    color: #39b54a;
    content: "\f0da";
    margin: 0px 0px 0px 15px;
    font-family: "Font Awesome 5 Free";
}*/

/* =====================================================
========================================================
ACCORDIONS
========================================================
======================================================== */

.accordion .btn-accordion,
.accordion .btn-sub-accordion {
    padding-right: 50px;
    white-space: normal;
    margin-bottom: 1px;
}

.accordion .btn-accordion::after {
    content: "\f067";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-style: normal;
    color: #39b54a;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    position: absolute;
}

.accordion .btn-accordion[aria-expanded="true"]::after {
    content: "\f068";
}

.accordion .btn-sub-accordion[aria-expanded="false"] {
    border-bottom: 0px;
}

.accordion .btn-sub-accordion[aria-expanded="true"] .fas::before {
    content: "\f07c";
    color: #39b54a;
}

.accordion .sub-accordion .list-group-item {
    padding-left: 40px;    
}

/* =====================================================
========================================================
VIDEO MODAL
========================================================
======================================================== */

#video-modal .frame {
    background-color: #000000;
}

#video-modal .frame::after {
    content: "\f110";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #ffffff;
    -webkit-animation: fa-spin 1s infinite steps(8);
    animation: fa-spin 1s infinite steps(8);
    font-size: 3em;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-align: center;
    z-index: 1;
}

#video-modal .frame iframe {
    z-index: 5;
}

#video-modal .frame iframe::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 90%;
    z-index: 100;
}

/* =====================================================
========================================================
BOOTSTRAP OVERRIDES
========================================================
======================================================== */
.dark-mode .list-group-item {
    background-color: #2d3135;
    border: 1px solid #0f1113;
    text-decoration: none;
}

.list-group-item-action {
	color: #005e97;
    cursor: pointer;
    text-decoration: none;
}

.dark-mode .list-group-item-action {
	color: #e2e2e2;
}

.list-group-item:focus .fas,
.list-group-item:active .fas,
.list-group-item:hover .fas {
	color: #39b54a;
}

.dark-mode .nav-tabs {
    border-color: #e2e2e2;
}

.nav-tabs .nav-link {
    text-decoration: none;
}

.dark-mode .nav-tabs .nav-item.show .nav-link,
.dark-mode .nav-tabs .nav-link.active {
    color: #e2e2e2;
    background-color: #212529;
    border-color: #e2e2e2;
}

.dark-mode .modal-content {
    background-color: #212529; 
}

.dark-mode .close {
    color: #e2e2e2;
}

.text-primary {
    color: #005e97 !important;
}

.text-secondary {
    color: #39b54a !important;
}

/* =====================================================
========================================================
COURSE ADVERT
========================================================
======================================================== */

.course-ad .bg-img,
.course-ad .bg-img-alt {
	background-size: cover;
	z-index: 1;
	background-repeat: no-repeat;
	background-position: center top;
	position: absolute;
	width: 200%;
	max-width: 300px;
}

.course-ad .bg-img-alt,
.course-ad:hover .bg-img,
.course-ad:focus-within .bg-img {
	background-position: -99999px -99999px;
}

.course-ad:hover .bg-img-alt,
.course-ad:focus-within .bg-img-alt {
	background-position: center top;
}

.dark-mode .course-ad .text-success {
    color: #ffffff !important;
}

/* =====================================================
========================================================
MEDIA QUERIES
========================================================
======================================================== */

/*Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
	main > article {
		margin: 30px 5px 30px 5px;
	}
	
	main > article.banner-spacer {
		margin-top: 60px;
	}
	
	main > .jumbotron {
		min-height: 90px;
	}
	
	main > article > section .wrapper {
		padding: 20px;
	}
	
	header {
		padding: 0px 10px;
	}
	
	header .logo {
		max-width: 100px;
		padding: 15px 0px 15px 0px;
	}
	
	#menu {
		position: relative !important;
		max-height: 100vh;
		overflow-x: auto;
		padding: 0px;
	}
	
	#mega-nav {
		padding: 0px;
		height: 0vh;
		max-height: 0;
		overflow: hidden;
		border-top: 0px;
	}
	
	#mega-nav.open {
		padding: 20px 5px 0px 0px;
		max-height: unset;
		height: calc(100vh - 85px);
		overflow-y: auto;
		border-top: 1px solid #e2e2e2;
	}
	
	#mega-nav a.nav-toggle .fas {
		padding: 5px 0px 5px 0px;
		font-size: 20px;
	}
	
	footer > section {
		margin: 0px 20px 25px 20px;
	}
}

/*Small devices (landscape phones, less than 768px)*/
@media (min-width: 576px) and (max-width: 767.98px) {
	main > article {
		margin: 60px 20px 60px 20px;
	}
	
	main > article.banner-spacer {
		margin-top: 115px;
	}
	
	main > .jumbotron {
		min-height: 90px;
	}
	
	main > article > section .wrapper {
		padding: 30px;
	}
	
	header .logo {
		max-width: 150px;
		padding: 20px 0px 20px 0px;
	}
	
	#menu {
		position: relative !important;
		max-height: 100vh;
		overflow-x: auto;
		padding: 0px;
	}
	
	#mega-nav {
		height: 0vh;
		max-height: 0;
		overflow: hidden;
		border-top: 0px;
		padding: 0px;
	}
	
	#mega-nav.open {
		max-height: unset;
		height: calc(100vh - 120px);
		overflow-y: auto;
		border-top: 1px solid #e2e2e2;
	}
	
	#mega-nav a.nav-toggle .fas {
		padding: 5px 0px 5px 0px;
		font-size: 20px;
	}
	
	footer > section {
		margin: 0px 20px 25px 20px;
	}
	
	/*main > article h1 {
		font-size: 2rem;
	}
	
	main > article h2 {
		font-size: 1.75rem;
	}
	
	main > article h3 {
		font-size: 1.5rem;
	}
	
	main > article h4 {
		font-size: 1.25rem;
	}
	
	main > article h5 {
		font-size: 1rem;
	}
	
	main > article p {
		font-size: 0.75rem;
	}*/
}

/*Medium devices (tablets, less than 992px)*/
@media (min-width: 768px) and (max-width: 991.98px) {
	main > article {
		margin: 60px 20px 60px 20px;
	}
	
	main > article.banner-spacer {
		margin-top: 165px;
	}
	
	main > .jumbotron {
		min-height: 260px;
	}
	
	main > article > section .wrapper {
		padding: 30px;
	}
	
	header .logo {
		max-width: 150px;
		padding: 20px 0px 20px 0px;
	}
	
	#menu {
		position: relative !important;
		max-height: 100vh;
		overflow-x: auto;
		padding: 0px;
	}
	
	#mega-nav {
		padding: 0px;
		height: 0vh;
		max-height: 0;
		overflow: hidden;
		border-top: 0px;
	}
	
	#mega-nav.open {
		max-height: unset;
		height: calc(100vh - 120px);
		overflow-y: auto;
		border-top: 1px solid #e2e2e2;
	}
	
	footer > section {
		margin: 0px 20px 25px 20px;
	}
	
}

/*Large devices (desktops, less than 1200px)*/
@media (min-width: 992px) and (max-width: 1199.98px) {
	main > article {
		margin: 60px 40px 60px 40px;
	}
	
	main > article.banner-spacer {
		margin-top: 170px;
	}
	
	main > .jumbotron {
		min-height: 260px;
	}
	
	main > article > section .wrapper {
		padding: 60px;
	}
	
	footer > section {
		margin: 0px 40px 25px 40px;
	}
}

/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
	
}