/*
Theme Name: Flight Digital Child Theme
Theme URI: http://flightdigital.co.
Description: Child theme created by Filght Digital
Version:0.1;
Aurthor: Flight Digital
Aurthor URI: http://flightdigital.co.nz;
Template: Divi
*/

@import url("../Divi/style.css");

/*
============================================================================
	CSS Variable 
============================================================================
*/
:root {
	--blue: #27AAE1;
}

/*
============================================================================
	CSS Animation 
============================================================================
*/
@-webkit-keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/*
============================================================================
	Global style setting 
============================================================================
*/
::-moz-selection {
	background-color: var(--blue);
	color: white;
}
::selection {
	background-color: var(--blue);
	color: white;
}

* {
	list-style-type: none;
}

#main-content {
	overflow: hidden;
}

/* ---------------------------- Theme btn one ---------------------------- */
a.theme-btn {
	position: relative;
	display: block;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	min-width: 160px;
	text-align: center;
	color: white;
	padding: 10px 16px;
	border: 1px solid white;
	-webkit-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

a.theme-btn.black {
	color: black;
	border-color: black;
}

a.theme-btn.blue {
	color: white;
	border-color: var(--blue);
	background-color: var(--blue);
	border: 0;
}

a.theme-btn:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	background-color: var(--blue);
	z-index: -1;
	-webkit-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

a.theme-btn.white:before {
	background-color: white;
}

a.theme-btn.blue:before {
	background-color: rgba(255,255,255,0.1);
	z-index: 1;
}

a.theme-btn:hover:before {
	width: 100%;
}

a.theme-btn:hover {
	border-color: var(--blue);
	color: white;
}

a.theme-btn.white:hover {
	border-color: white;
	color: var(--blue);
}

/* ---------------------------- Theme btn one ---------------------------- */
a.theme-btn2 {
	position: relative;
	color: var(--blue);
	border-bottom: 1px solid var(--blue);
	padding: 2px 4px;
	-webkit-transition: color 0.1s ease-out;
	-o-transition: color 0.1s ease-out;
	transition: color 0.1s ease-out;
	text-align: center;
	font-weight: bold;
}

a.theme-btn2.white {
	color: white;
	border-bottom-color: white;
}

a.theme-btn2:hover {
	color: white;
}

a.theme-btn2.white:hover {
	color: var(--blue);
}

a.theme-btn2:before {
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	height: 0;
	bottom: 0;
	left: 0;
	background-color: var(--blue);
	z-index: -1;
	-webkit-transition: height 0.1s ease-out;
	-o-transition: height 0.1s ease-out;
	transition: height 0.1s ease-out;
}

a.theme-btn2.white:before {
	background-color: white;
}

a.theme-btn2:hover:before {
	height: 100%;
}

/* -------------------- theme title -------------------- */
.theme-title {
	position: relative;
	text-transform: uppercase;
	font-weight: bold;
	margin-bottom: 10px;
}

.theme-title:after {
	content: "";
	position: absolute;
	display: block;
	top: -16px;
	left: 0;
	width: 50px;
	height: 2px;
	background-color: black;
}

.theme-title.white {
	color: white;
}

.theme-title.white:after {
	background-color: white;
}


/* -------------------- Courses menu -------------------- */
#courses_sub_menu+div {
	position: relative;
	z-index: 1;
}

ul.courses-menu,
ul.courses-menu * {
	margin: 0;
	padding: 0;
}

ul.courses-menu {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

ul.courses-menu>li {
	color: white;
	position: relative;
	-webkit-box-flex: 1;
	    -ms-flex-positive: 1;
	        flex-grow: 1;
	min-width: 200px;
}

ul.courses-menu>li>a {
	border-bottom: 1px solid white;
	border-right: 0.5px solid white;
	border-left: 0.5px solid white;
}

ul.courses-menu>li>a.current,
ul.courses-menu>li>a:hover {
	background-color: white;
	color: var(--blue);
}

ul.courses-menu>li>ul {
	position: absolute;
	display: none;
	z-index: 2;
	width: 100%;
	top: 100%;
	left: 0;
	background-color: rgba(0,0,0,.4);
	-webkit-animation: fadeIn 0.4s ease-out forwards;
	        animation: fadeIn 0.4s ease-out forwards;
}

ul.courses-menu>li:hover>ul {
	display: block;
}

ul.courses-menu li a {
	color: white;
	background-color: var(--blue);
	display:block;
	height: 50px;
	line-height: 50px;
	text-align: center;
	width: 100%;
	-webkit-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}

ul.courses-menu>li>ul>li>a {
	color: var(--blue);
	background-color: white;
	border-bottom: 1px solid var(--blue);
	border-right: 0.5px solid var(--blue);
	border-left: 0.5px solid var(--blue);
}

ul.courses-menu>li>ul>li>a.current,
ul.courses-menu>li>ul>li>a:hover {
	background-color: var(--blue);
	color: white;
}

/* ------------------ Key - Full Course / Theory / Practical ------------------ */
.course-key {
	position: relative;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	padding: 0 10px;
	color: var(--blue);
	font-weight: bold;
}

.course-key:after {
	content: "";
	position: absolute;
	display: block;
	width: 15px;
	height: 15px;
	top: 50%;
	right: 0;
	-webkit-transform: translateX(100%) translateY(-50%);
	    -ms-transform: translateX(100%) translateY(-50%);
	        transform: translateX(100%) translateY(-50%);
	background-size: contain;
	background-repeat: no-repeat;
}

.course-key.full-course:after {
	background-image: url("/wp-content/uploads/2019/10/full-course-icon.png");
	width: 20px;
	height: 20px;
}

.course-key.theory:after {
	background-image: url("/wp-content/uploads/2019/10/theory-icon.png");
}

.course-key.practical:after {
	background-image: url("/wp-content/uploads/2019/10/practical-icon.png");
}

/* ------------------ Course item ------------------ */
.course-item {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.course-item img {
	width: 40px;
	height: 40px;
}

.course-item div {
	margin-left: 20px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
}

.course-item div h5 {
	padding-bottom: 10px;
	text-transform: uppercase;
	font-weight: bold;
}

.course-item div p {
	color: var(--blue);
}

.course-item.white img {
	-webkit-filter: brightness(0) invert(1);
	        filter: brightness(0) invert(1);
}

.course-item.white div h5 {
	color: white;
}

.course-item.white div p {
	color: white;
}

/* ------------------ Course item ------------------ */
.testimonial-slider {
	position: relative;
	overflow: visible;
}

.testimonial-slider:before {
	content: '';
	display: block;
	background-image: url("/wp-content/uploads/2019/08/quote.png");
	background-repeat: no-repeat;
	background-size: 80px;
	width: 80px;
	height: 80px;
	position: absolute;
	left: 50%;
	top: -30px;
	color: var(--blue);
	-webkit-transform: translateX(-50%);
	    -ms-transform: translateX(-50%);
	        transform: translateX(-50%);
}

.testimonial-slider h4 {
	color: var(--blue);
	margin-top: 20px;
}

/* ------------------ Book section ------------------ */
.book_now {
	position: relative;
}

.book_now:before {
	content: "";
	display: block;
	position: absolute;
	width: 1px;
	height: 100%;
	left: 50%;
	top: 0;
	background-color: white;
}

@media only screen and (max-width: 980px) {
	.book_now>div:first-child {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
	}

	.book_now>div:first-child .et_pb_text_inner {
		text-align: center;
	}

	.book_now:before {
		display: none;
	}
}

/* ---------------- Book & Enquire section ---------------- */
.book-enquire {
	position: relative;
}

.book-enquire:before {
	content: "";
	display: block;
	position: absolute;
	width: 1px;
	height: 100%;
	left: 50%;
	top: 0;
	background-color: white;
}

@media only screen and (max-width: 980px) {
	.book-enquire:before {
		display: none;
	}
}

/* ---------------------- Toggle list ---------------------- */
h5.et_pb_toggle_title {
	line-height: 22px;
}

.et_pb_toggle_close>h5:before {
	content: "\4c"!important;
	color: white;
}

.et_pb_toggle_open>h5:before {
	content: "\4b"!important;	
	color: white;
}
/* ---------------------- formating ---------------------- */
.format-p {
	min-height: 120px;
	padding-bottom: 10px;
}

/* ---------------------- Mobile responsive ---------------------- */
@media only screen and (max-width: 980px) {
	.hide-on-mobile {
		display: none;
	}
}

@media only screen and (min-width: 980px) {
	.hide-on-desktop {
		display: none;
	}
}

/* ---------------------- Theme G Form ---------------------- */
.theme-g-form .ginput_container_select,
.theme-g-form select,
.theme-g-form input,
.theme-g-form textarea {
	border: 0;
	background-color: #f1f1f1;
	padding: 14px!important;
}

.theme-g-form span.gfield_required {
	color: var(--blue);
}

.theme-g-form .ginput_container {
	margin-top: 0!important;
}

.theme-g-form .gform_footer input[type="submit"] {
	position: relative;
	margin-left: auto!important;
	display: block!important; 
	border: 1px solid black;
	cursor: pointer;
	background-color: white;
	-webkit-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
	min-width: 100px;
}

.theme-g-form .gform_footer input[type="submit"]:hover {
	color: white;
	background-color: black;
}

/*
============================================================================
	Navigation
============================================================================
*/
/* navigation default style, when page was load or on the top, not scroll yet */
#main-header {
	position: fixed!important;
}

#main-header #et-top-navigation {
	float: unset;
	padding-left: 128px;
}

#main-header #et-top-navigation nav#top-menu-nav {
	float: unset;
	padding-top: 4px;
	padding-left: 10px;
}

#main-header #et-top-navigation nav#top-menu-nav ul#top-menu {
	float: unset;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

#main-header #et-top-navigation nav#top-menu-nav ul#top-menu li a {
	color: white;
	-webkit-transition-duration: 0.2s;
	     -o-transition-duration: 0.2s;
	        transition-duration: 0.2s; 
	text-transform: uppercase;
}

#main-header #et-top-navigation nav#top-menu-nav ul#top-menu li a:hover {
	opacity: 1;
	color: var(--blue)!important;
}
#main-header #et-top-navigation nav#top-menu-nav ul#top-menu li.current-menu-item a,
#main-header #et-top-navigation nav#top-menu-nav ul#top-menu li.current-page-ancestor a {
	color: var(--blue)!important;
}

#main-header #et-top-navigation nav#top-menu-nav ul#top-menu li:last-child {
	margin-left: auto;
}
/* ------------------ button style ------------------ */
#main-header #et-top-navigation nav#top-menu-nav ul#top-menu li:last-child a {
	position: relative;
	top: -10px;
	border: 1px solid white;
	padding: 10px 15px;
}

#main-header #et-top-navigation nav#top-menu-nav ul#top-menu li:last-child a[aria-current="page"] {
	color: white!important;
	background-color: var(--blue);
	border-color: var(--blue)!important;
}

#main-header #et-top-navigation nav#top-menu-nav ul#top-menu li:last-child a:hover {
	color: white!important;
	border-color: var(--blue)!important;
}

#main-header #et-top-navigation nav#top-menu-nav ul#top-menu li:last-child a:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%;
	background-color: var(--blue);
	z-index: -1;
	-webkit-transition: width 0.2s ease;
	-o-transition: width 0.2s ease;
	transition: width 0.2s ease;
}

#main-header #et-top-navigation nav#top-menu-nav ul#top-menu li:last-child a:hover:before {
	width: 100%;
}

#main-header.scroll #et-top-navigation nav#top-menu-nav ul#top-menu li:last-child a {
	border-color: black;
}

@media only screen and (max-width: 980px) {
	#main-header #et-top-navigation nav#top-menu-nav {
		display: none;
	}
}
/* navigation secondary style setting, when scroll the page */
header#main-header.scroll {
	background-color: white;
	-webkit-box-shadow: 0 0 6px rgba(0,0,0,.1)!important;
	        box-shadow: 0 0 6px rgba(0,0,0,.1)!important;
}

#main-header.scroll #et-top-navigation nav#top-menu-nav {
	padding-left: 0;
}

#main-header.scroll #et-top-navigation nav#top-menu-nav ul#top-menu li a {
	color: black;
}

/* ----------- mobile menu ----------- */
 #main-header #et-top-navigation #et_mobile_nav_menu span.mobile_menu_bar:before {
 	color: var(--blue);
 }

 #main-header #et-top-navigation #et_mobile_nav_menu ul#mobile_menu {
 	background-color: white;
 	border-color: var(--blue);
 }

 #main-header #et-top-navigation #et_mobile_nav_menu ul#mobile_menu li a {
 	text-align: center;
 }

 #main-header #et-top-navigation #et_mobile_nav_menu ul#mobile_menu li.current-menu-item a {
 	background-color: var(--blue);
 	color: white;
 }

 #main-header #et-top-navigation #et_mobile_nav_menu ul#mobile_menu li a:hover,
 #main-header #et-top-navigation #et_mobile_nav_menu ul#mobile_menu li.current-page-ancestor a {
 	background-color: var(--blue);
 	color: white;
 	opacity: 1;
 }

/*
============================================================================
	Home page
============================================================================
*/
/* ----------------------------- hero section ----------------------------- */
#home_hero_btns>div {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	padding-top: 20px;
}

#home_hero_btns>div>a:last-child {
	margin-left: 20px;
}

@media only screen and (max-width: 980px) {
	#home_hero {
		max-height: 800px;
	}

	#home_hero_btns>div {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}

	#home_hero_btns>div>a:last-child {
		margin-left: 0;
		margin-top: 20px;
	}
}

/* ----------------------------- Three links ----------------------------- */

.hero-blow-links div.et_pb_code_inner a {
	position: relative;
	display: block;
	width: 100%;
	height: 80px;
	line-height: 80px;
	padding-right: 80px;
	text-align: center;
	color: white;
	border-bottom: 1px solid white;
}

.hero-blow-links div.et_pb_code_inner a span {
	position: absolute;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	right: 0;
	top: 0;
	height: 100%;
	width: 80px;
	background-color: #2398CA;
}

.hero-blow-links div.et_pb_code_inner a span i {
	position: relative;
	z-index: 2;
	font-size: 26px;
}

.hero-blow-links div.et_pb_code_inner a:before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: var(--blue);
	z-index: -1;
}

.hero-blow-links div.et_pb_code_inner a:after {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 0%;
	background-color: #2398CA;
	-webkit-transition: width 0.3s ease-out;
	-o-transition: width 0.3s ease-out;
	transition: width 0.3s ease-out;
	z-index: -1;
}

.hero-blow-links div.et_pb_code_inner a:hover:after {
	width: 100%;
}

/* --------------------------- Courses Title ---------------------------- */
#home_courses_title h1 {
	position: relative;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	padding-right: 60px;
	background-color: white;
	bottom: -23px;
}

#home_courses_title h1:after {
	content: '';
	display: block;
	position: absolute;
	top: -20px;
	left: 0;
	width: 60px;
	height: 2px;
	background-color: black;
}

@media only screen and (max-width: 980px) {
	#home_courses_title h1 {
		width: auto;
		text-align: center;
		padding-right: 0;
	}

	#home_courses_title h1:after {
		left: 50%;
		-webkit-transform: translateX(-50%);
		    -ms-transform: translateX(-50%);
		        transform: translateX(-50%);
	}
}

/* --------------------------- Courses Guide ---------------------------- */
#home_courses_guide {
	position: relative;
	z-index: 1;
	max-width: 1000px;
}

#home_courses_guide>div>div {
	margin-top: -2px;
}

#home_courses_guide .et_pb_code_inner {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

#home_courses_guide .et_pb_code_inner .content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-flex: 3;
	    -ms-flex-positive: 3;
	        flex-grow: 3;
	padding: 20px;
	border-top: 2px solid gray;
	border-bottom: 2px solid gray;
}

#home_courses_guide .et_pb_code_inner .content .img-wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	border: 4px solid var(--blue);
	width: 90px;
	height: 90px;
	padding: 14px;
	border-radius: 50px;
	margin: 0 10px;
}

#home_courses_guide .et_pb_code_inner .content .img-wrapper img {
	max-width: 100%;
	max-height: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
}

#home_courses_guide .et_pb_code_inner .content .text {
	margin: 0 30px;
}

#home_courses_guide .et_pb_code_inner .content .text h3 {
	color: var(--blue);
	text-transform: uppercase;
	font-weight: bold;
}

#home_courses_guide .et_pb_code_inner .content .text a {
	margin: 0 6px;
}

#home_courses_guide .et_pb_code_inner .stance {
	-webkit-box-flex: 1;
	    -ms-flex-positive: 1;
	        flex-grow: 1;
}

#home_courses_guide>div>div:nth-child(odd) .et_pb_code_inner {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	    -ms-flex-direction: row-reverse;
	        flex-direction: row-reverse;
}

#home_courses_guide>div>div:nth-child(odd) .et_pb_code_inner .content {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	    -ms-flex-direction: row-reverse;
	        flex-direction: row-reverse;
	border-right: 2px solid gray;
	border-top-right-radius: 200px;
	border-bottom-right-radius: 200px;
}

#home_courses_guide>div>div:nth-child(odd) .et_pb_code_inner .content .text {
	text-align: right;
}

#home_courses_guide>div>div:nth-child(odd) .et_pb_code_inner .content .text a:last-child {
	margin-right: 0;
}

#home_courses_guide>div>div:nth-child(even) .et_pb_code_inner .content {
	border-left: 2px solid gray;
	border-top-left-radius: 200px;
	border-bottom-left-radius: 200px;
}

#home_courses_guide>div>div:nth-child(even) .et_pb_code_inner .content .text a:first-child {
	margin-left: 0;
}

#home_courses_guide>div>div:last-child .stance {
	border-bottom: 2px solid gray;
}

@media only screen and (max-width: 980px) {
	#home_courses_guide>div>div {
		position: relative;
		margin-top: 50px;
	}

	#home_courses_guide>div>div:after {
		content: '⬇';
		position: absolute;
		bottom: -30px;
		left: 50%;
		-webkit-transform: translateX(-50%);
		    -ms-transform: translateX(-50%);
		        transform: translateX(-50%);
		font-size: 26px;
		color: #ccc;
	}

	#home_courses_guide>div>div:last-child:after {
		display: none;
	}

	#home_courses_guide>div>div .et_pb_code_inner .content {
		border: 0!important;
		-webkit-box-orient: vertical!important;
		-webkit-box-direction: normal!important;
		    -ms-flex-direction: column!important;
		        flex-direction: column!important;
	}

	#home_courses_guide>div>div .et_pb_code_inner .content .text h3 {
		text-align: center;
		font-size: 16px;
	}

	#home_courses_guide>div>div .et_pb_code_inner .stance {
		display: none;
	}

	#home_courses_guide .et_pb_code_inner .content .img-wrapper {
		padding: 0;
		border: 0;
		margin-bottom: 30px;
	}

	#home_courses_guide .et_pb_code_inner .content .text div {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
	}

}

/* ---------------------- Join mail list section ---------------------- */
#join_mail_list>div>p {
	padding: 0;
}

#join_mail_list>div>div {
	margin: 0;

}

#join_mail_list>div ul li {
	margin-top: 0;
}

#join_mail_list>div ul li>div {
	margin-top: 0;
}

#join_mail_list>div ul li input {
	border: 0;
	border-bottom: 1px solid black;
}

#join_mail_list form#gform_1 .gform_footer {
	padding-bottom: 0;
}

#join_mail_list form#gform_1 .gform_footer input[type="image"] {
	margin-left: auto!important;
	margin-right: 0!important;
	margin-bottom: 0!important;
	display: block;
	width: 70px!important;
	-webkit-transform: translateX(-15px);
	    -ms-transform: translateX(-15px);
	        transform: translateX(-15px);
	-webkit-transition: -webkit-transform 0.2s ease-out;
	transition: -webkit-transform 0.2s ease-out;
	-o-transition: transform 0.2s ease-out;
	transition: transform 0.2s ease-out;
	transition: transform 0.2s ease-out, -webkit-transform 0.2s ease-out;
}

#join_mail_list form#gform_1 .gform_footer input[type="image"]:hover {
	-webkit-transform: translateX(0px);
	    -ms-transform: translateX(0px);
	        transform: translateX(0px);	
}

/*
============================================================================
	About page
============================================================================
*/
.about-toggle>h5 {
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	margin: 0 auto;
	padding-right: 22px!important;
}

.about-toggle .et_pb_toggle_content {
	padding-top: 10px;
}

.team-section .et_pb_main_blurb_image {
	width: 100%;
}

.team-section .et_pb_main_blurb_image .et_pb_image_wrap {
	width: inherit;
}

.team-section .et_pb_main_blurb_image .et_pb_image_wrap img {
	width: inherit;
}

/*
============================================================================
	Course overview page
============================================================================
*/
.courses-keys {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	position: relative;
}

.courses-keys:before {
	content: "";
	position: absolute;
	top: 0;
	left: -80px;
	display: block;
	width: 1px;
	height: 100%;
	background-color: var(--blue);
}

.courses-keys>p.course-key {
	margin: 0 20px;
}

.courses-keys>p.course-key:after {
	left: 0;
	-webkit-transform: translateX(-100%) translateY(-50%);
	    -ms-transform: translateX(-100%) translateY(-50%);
	        transform: translateX(-100%) translateY(-50%);
}

@media only screen and (max-width: 980px) {
	.courses-keys {
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
	}

	.courses-keys:before {
		display: none;
	}
}

@media only screen and (max-width: 500px) {
	.courses-keys>p.course-key {
		padding: 0;
		margin: 0 10px;
		font-size: 10px;
	}

	.courses-keys>p.course-key:after {
		left: 50%;
		transform: translateX(-50%);
		top: -18px;
	}
}

/* ----------------------- courses overview guide section ----------------------- */
#courses_overview .et_pb_code_inner {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin-top: -2px;
}

#courses_overview .et_pb_code_inner>div {
	-webkit-box-flex: 1;
	    -ms-flex-positive: 1;
	        flex-grow: 1;
}

#courses_overview .et_pb_code_inner>div.content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	border: 2px solid gray;
	padding: 20px;
}

#courses_overview .et_pb_code_inner>div.content .img-wrapper {
	position: relative;
	margin: 0 10px;
	border: 4px solid var(--blue);
	border-radius: 200px;
	width: 150px;
	height: 150px;
	min-width: 150px;
	padding: 44px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	overflow: hidden;
}

#courses_overview .et_pb_code_inner>div.content .img-wrapper img {
	max-width: 100%;
	max-height: 100%;
}

#courses_overview .et_pb_code_inner>div.content .img-wrapper .links {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: cetner;
	    -ms-flex-align: cetner;
	        align-items: cetner;
	background-color: var(--blue);
	-webkit-transform: translateY(100%);
	    -ms-transform: translateY(100%);
	        transform: translateY(100%);
	-webkit-transition: -webkit-transform 0.2s ease-out;
	transition: -webkit-transform 0.2s ease-out;
	-o-transition: transform 0.2s ease-out;
	transition: transform 0.2s ease-out;
	transition: transform 0.2s ease-out, -webkit-transform 0.2s ease-out;
}

#courses_overview .et_pb_code_inner>div.content .img-wrapper:hover .links {
	-webkit-transform: translateY(0);
	    -ms-transform: translateY(0);
	        transform: translateY(0);
}

#courses_overview .et_pb_code_inner>div.content .img-wrapper .links a {
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	margin: 4px auto;
}

#courses_overview .et_pb_code_inner>div.content .context {
	margin: 0 8px;
}

#courses_overview .et_pb_code_inner>div.content .context h1 {
	text-transform: uppercase;
	color: var(--blue);
	font-weight: bold;
	font-size: 24px;
	line-height: 30px;
}

#courses_overview .et_pb_code_inner>div.content .context h1>span>span {
	padding: 15px;
}

#courses_overview .et_pb_code_inner>div.content .context h1>span>span:after {
	-webkit-transform: translateY(-50%);
	    -ms-transform: translateY(-50%);
	        transform: translateY(-50%);
}

#courses_overview .et_pb_code_inner>div.stance {
	min-width: 50%;
}

#courses_overview>div:first-child .et_pb_code_inner>div.stance {
	border-top: 2px solid gray;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

#courses_overview>div:first-child .et_pb_code_inner>div.stance h1 {
	color: var(--blue);
	text-transform: uppercase;
	font-size: 24px;
	font-weight: bold;
}

#courses_overview>div:first-child .et_pb_code_inner>div.stance p {
	color: var(--blue);
	font-size: 16px;
	font-weight: bold;
}

#courses_overview>div:first-child .et_pb_code_inner>div.stance img {
	margin-left: 20px;
}

#courses_overview>div:last-child .et_pb_code_inner>div.stance {
	border-bottom: 2px solid gray;
}

#courses_overview>div:nth-child(odd) .et_pb_code_inner {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	    -ms-flex-direction: row-reverse;
	        flex-direction: row-reverse;
}

#courses_overview>div:nth-child(odd) .et_pb_code_inner>div.content {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	    -ms-flex-direction: row-reverse;
	        flex-direction: row-reverse;
	border-left: 0;
	border-top-right-radius: 200px;
	border-bottom-right-radius: 200px;
}

#courses_overview>div:nth-child(even) .et_pb_code_inner>div.content {
	border-right: 0;
	border-bottom-left-radius: 200px;
	border-top-left-radius: 200px;
}

@media only screen and (max-width: 980px) {
	#courses_overview .et_pb_code_inner>div.stance {
		display: none!important;
	}

	#courses_overview .et_pb_code_inner .content {
		border: 0!important;
		-webkit-box-orient: vertical!important;
		-webkit-box-direction: normal!important;
		    -ms-flex-direction: column!important;
		        flex-direction: column!important;
		margin-top: 20px;
		margin-bottom: 40px;
	}

	#courses_overview .et_pb_code_inner .content:after {
		content: '⬇';
		position: absolute;
		bottom: 0;
		left: 50%;
		-webkit-transform: translateX(-50%);
		    -ms-transform: translateX(-50%);
		        transform: translateX(-50%);
		font-size: 26px;
		color: #ccc;
	}

	#courses_overview>div:last-child .et_pb_code_inner .content:after {
		display: none;
	}

	#courses_overview .et_pb_code_inner .content .img-wrapper {
		border-radius: 0!important;
		border: 0!important;
		overflow: visible!important;
		height: unset!important;
		width: unset!important;
		min-width: unset!important;

	}

	#courses_overview .et_pb_code_inner .content .img-wrapper .links {
		-webkit-transform: unset!important;
		    -ms-transform: unset!important;
		        transform: unset!important;
		position: relative!important;
		background-color: unset!important;
		margin-left: 30px;
	}

	#courses_overview .et_pb_code_inner .content .img-wrapper .links a {
		color: white;
		background-color: var(--blue);
		border: 0;
		margin: 6px 0;
		padding: 6px 10px;
		border-radius: 2px;
		overflow: hidden;
	}

	#courses_overview .et_pb_code_inner .content .img-wrapper .links a:after {
		content: "";
		display: block;
		position: absolute;
		width: 0;
		height: 100%;
		top: 0;
		left: 0;
		background-color: rgba(255,255,255,.2);
		-webkit-transition: width 0.2s ease-out;
		-o-transition: width 0.2s ease-out;
		transition: width 0.2s ease-out;
	}

	#courses_overview .et_pb_code_inner .content .img-wrapper .links a:hover:after {
		width: 100%;
	}

	#courses_overview .et_pb_code_inner .content .context {
		margin-top: 20px!important;
	}

	#courses_overview .et_pb_code_inner .content .context h1 {
		text-align: center;
	}

	#courses_overview .et_pb_code_inner .content .context p {
		text-align: center;
	}
}

/* ----------------------- Courses pathway ----------------------- */
#courses_pathway>div>div:first-child {
	margin-bottom: 30px;
}

#courses_pathway h4 {
	color: var(--blue);
	font-weight: bold;
}

#courses_pathway p {
	font-weight: 600;
}

/*
============================================================================
	TTM worker page - courses
============================================================================
*/
.ttm-intro-items {
	position: relative;
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 50% 40px 50%;
	grid-template-columns: 50% 50%;
	grid-gap: 40px;
	padding-left: 30px;
	height: 100%;
}

.ttm-intro-items:after {
	content: "";
	position: absolute;
	top: 0;
	left: -30px;
	width: 1px;
	height: 100%;
	background-color: black;
}

@media only screen and (max-width: 1500px) {
	.ttm-intro-items {
		grid-template-columns: 100%;
	}
}

@media only screen and (max-width: 980px) {
	.ttm-intro-items {
		grid-template-columns: 50% 50%;
	}
}

@media only screen and (max-width: 768px) {
	.ttm-intro-items {
		-ms-grid-columns: 100%;
		grid-template-columns: 100%;
		padding-top: 50px;
		padding-left: 0;
	}

	.ttm-intro-items:after {
		left: 0;
		width: 100%;
		height: 1px;
	}
}
/* ---------------------------- Next section ---------------------------- */
.ttm-intro2-items {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.ttm-intro2-items .course-item {
	margin-right: 40px;
}

@media only screen and (max-width: 768px) {
	.ttm-intro2-items .course-item {
		margin-bottom: 20px;
	}	
}

.ttm-intro2-items:after {
	content: "";
	position: absolute;
	top: 0;
	left: -60px;
	display: block;
	width: 1px;
	height: 100%;
	background-color: white;
}

@media only screen and (max-width: 980px) {
	.ttm-intro2-items {
		padding-top: 30px;
	}

	.ttm-intro2-items:after {
		left: 0;
		width: 100%;
		height: 1px;
	}
}

/*
============================================================================
	Mobile Driver1, 2, 3 - courses and some other page template
============================================================================
*/
.md-intro-items {
	position: relative;
	padding-left: 60px;
}

.md-intro-items:before {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	left: -10px;
	width: 1px;
	height: 100%;
	background-color: black;

}

.md-intro-items .course-item {
	margin-bottom: 30px;
}

@media only screen and (max-width: 768px) {
	.md-intro-items {
		padding-left: 12px;
	}
}

/*
============================================================================
	Level 1 TC page
============================================================================
*/
.tc1>div:last-child {
	position: relative;
}

.tc1>div:last-child:after {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	left: -30px;
	width: 1px;
	height: 100%;
	background-color: white;
}

.tc1>div:last-child .et_pb_code_inner {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.tc1>div:last-child .et_pb_code_inner a {
	margin-right: 20px;
	margin-top: 10px;
	margin-bottom: 10px;
	min-width: 180px;
}

@media only screen and (max-width: 980px) {
	.tc1>div:last-child:after {
		display: none;
	}
}

/*
============================================================================
	Refresher courses page
============================================================================
*/
.refresher-courses-items {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	margin: 20px 0;
}

.refresher-courses-items .course-item {
	margin-right: 40px;
	margin-bottom: 10px;
}

/*
============================================================================
	Contact page
============================================================================
*/
.contact-page>div:first-child ul li {
	margin-bottom: 10px;
	font-size: 16px;
}

.contact-page>div:first-child ul li i {
	margin-right: 10px;
}

.contact-page>div:first-child ul li a {
	color: black;
}

.contact-page>div:last-child {
	position: relative;
	padding-left: 80px;
}

.contact-page>div:last-child:before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 100%;
	background-color: black;
}

@media only screen and (max-width: 980px) {
	.contact-page>div:last-child {
		padding-left: 0;
		padding-top: 50px;
	}

	.contact-page>div:last-child:before {
		width: 100%;
		height: 1px;
	}
}
/*
============================================================================
	Book page
============================================================================
*/
.wrapper-more-info>div {
	display: -ms-grid;
	display: grid;
	grid-gap: 10px;
	-ms-grid-columns: 100%;
	grid-template-columns: 100%;
}

.more-info {
	margin-bottom: 0!important;
}

.more-info>div {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 2.2fr 1.2fr 1.2fr 0.5fr;
	grid-template-columns: 2.2fr 1.2fr 1.2fr 0.5fr;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	border: 1px solid #bbb;
	padding: 10px 20px!important;
	height: 100%;
}

.more-info>div>h4 {
	padding-bottom: 0;
}

.more-info>div>div {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	position: relative;
	font-size: 16px;
	line-height: 16px;
}

.more-info>div>div i {
	margin-right: 6px;
	color: var(--blue);
}

.more-info>div>div:before {
	content: "";
	display: block;
	width: 1px;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: #bbb;
}

.more-info>div>p a.theme-btn {
	padding: 6px 26px;
	min-width: unset;
	margin-left: auto;
}

.more-info>div>p a.theme-btn:hover {
	color: white;
}

@media only screen and (max-width: 980px) {
	.wrapper-more-info>div {
		-ms-grid-columns: 1fr 10px 1fr;
		grid-template-columns: repeat(2, 1fr);
	}

	.more-info>div {
		-ms-grid-columns: (1fr)[2];
		grid-template-columns: repeat(2, 1fr);
		grid-row-gap: 30px;
	}

	.more-info>div>h4 {
		-ms-grid-column: 1;
		-ms-grid-column-span: 2;
		grid-column: 1/3;
		text-align: center;
		font-weight: bold;
	}

	.more-info>div>div:before {
		display: none;
	}

	.more-info>div>p {
		-ms-grid-column: 1;
		-ms-grid-column-span: 2;
		grid-column: 1/3;
	}

	.more-info>div>p a.theme-btn {
		width: 100%;
		margin: unset;
	}
}

@media only screen and (max-width: 768px) {
	.wrapper-more-info>div {
		-ms-grid-columns: 100%;
		grid-template-columns: 100%;
	}
}

/*#arlo ul.arlo-book-list li {
	display: grid;
	grid-template-columns: 3fr 1fr 1fr 1fr;
	border: 1px solid #979797;
	padding: 10px 16px;
	margin: 10px 0;
	align-items: center;;
}

#arlo ul.arlo-book-list li div.title {
	font-weight: bold;
}

#arlo ul.arlo-book-list li div.price {
	margin: 0 auto;
}

#arlo ul.arlo-book-list li div.duration {
	width: 100%;
	height: 100%;
	border-left: 1px solid #979797;
	border-right: 1px solid #979797;
	display: flex;
	justify-content: center;
	align-items: center;
}

#arlo ul.arlo-book-list li div.register a {
	position: relative;
	padding: 8px 15px;
	color: #27AAE1;
	border: 1px solid #27AAE1;
	display: block;
	width: fit-content;
	margin-left: auto;
	transition: color 0.2s ease-out;
}

#arlo ul.arlo-book-list li div.register a:hover {
	color: white;
}

#arlo ul.arlo-book-list li div.register a:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	display: block;
	width: 0;
	height: 100%;
	background-color: #27AAE1;
	transition: width 0.2s ease-out;
}

#arlo ul.arlo-book-list li div.register a:hover:before {
	width: 100%;
}

@media only screen and (max-width: 980px) {
	#arlo ul.arlo-book-list li {
		grid-template-columns: 1fr 1fr;
		grid-gap: 10px;
	}

	#arlo ul.arlo-book-list li div.title {
		grid-column: 1/3;
		text-align: center;
	}

	#arlo ul.arlo-book-list li div.duration {
		border: 0;
	}

	#arlo ul.arlo-book-list li div.register {
		grid-column: 1/3;
	}

	#arlo ul.arlo-book-list li div.register a {
		width: 100%;
		text-align: center;
	}
}*/

.arlo-pagination {
	margin-top: 20px;
}

/* -------------------------- book schedule -------------------------- */
#book-schedule #arlo form .arlo-filters-buttons a {
	position: relative;
}

#book-schedule #arlo form .arlo-filters-buttons a:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	display: block;
	height: 100%;
	background-color: var(--blue);
	z-index: -1;
	transition: width 0.2s ease-out;
}

#book-schedule #arlo form .arlo-filters-buttons a:hover:before {
	width: 100%;
}

#book-schedule #arlo ul.schedule a.book {
	position: relative;
	background-color: transparent;
	border: 1px solid var(--blue);
	width: fit-content;
	padding: 6px 12px;
	margin-left: auto;
	text-align: center;
	min-width: 95px;
}

@media only screen and (max-width: 768px) {
	#book-schedule #arlo ul.schedule a.book {
		width: 100%;
		margin: 0;
	}
}

#book-schedule #arlo ul.schedule a.book:hover {
	color: white;
}

#book-schedule #arlo ul.schedule a.book:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 0;
	height: 100%;
	background-color: var(--blue);
	z-index: -1;
	transition: width 0.2s ease-out;
}

#book-schedule #arlo ul.schedule a.book:hover:after {
	width: 100%;
}

#book-schedule #arlo ul.schedule li {
	display: grid;
	grid-template-columns: 4fr 1fr 1fr 1fr;
	align-items: center;
	padding: 10px 15px;
	margin: 10px 0;
	border: 1px solid #aaa!important;
}

@media only screen and (max-width: 768px) {
	#book-schedule #arlo ul.schedule li {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
}

#book-schedule #arlo ul.schedule li>div {
	width: 100%;
}

@media only screen and (max-width: 768px) {
	#book-schedule #arlo ul.schedule li>div {
		margin-bottom: 10px;
	}

	#book-schedule #arlo ul.schedule li>div.arlo-event-name {
		grid-column: 1/3;
		padding: 0;
	}
}


#book-schedule #arlo ul.schedule li>div.arlo-duration {
	opacity: 1;
}

#book-schedule #arlo ul.schedule li>div.arlo-duration>div {
	text-align: center;
	border-right: 1px solid black;
	border-left: 1px solid black;
}

@media only screen and (max-width: 768px) {
	#book-schedule #arlo ul.schedule li>div.arlo-duration>div {
		border: 0;
	}
}

#book-schedule #arlo ul.schedule li>div div.arlo-offers {
	text-align: center;
	opacity: 1;
}

#book-schedule #arlo ul.schedule li>div div.arlo-offers:before {
	display: none;
}

#book-schedule #arlo ul.schedule li>div h6 {
	padding-bottom: 0;
	font-size: 16px;
}

@media only screen and (max-width: 768px) {
	#book-schedule #arlo ul.schedule li>div h6 {
		text-align: center;
	}
}

#book-schedule #arlo ul.schedule li:before,
#book-schedule #arlo ul.schedule li:after {
	display: none;
}

/*
============================================================================
	Book sub page - courses
============================================================================
*/
.sub-book-row .et_pb_text_inner {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	padding: 4px 10px;
}

.sub-book-row .et_pb_text_inner>div {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-flex: 1;
	    -ms-flex-positive: 1;
	        flex-grow: 1;
	margin: 10px;
	font-size: 16px;
	line-height: 16px;
}

.sub-book-row .et_pb_text_inner>div.location {
	-webkit-box-flex: 2;
	    -ms-flex-positive: 2;
	        flex-grow: 2;
}

.sub-book-row .et_pb_text_inner>div.location,
.sub-book-row .et_pb_text_inner>div.cost {
	position: relative;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}

.sub-book-row .et_pb_text_inner>div.location:before,
.sub-book-row .et_pb_text_inner>div.cost:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: -4px;
	height: 100%;
	width: 1px;
	background-color: #bbb;
}

.sub-book-row .et_pb_text_inner>div i {
	margin-right: 10px;
	color: var(--blue);
}

.sub-book-row .et_pb_text_inner>div.links {
	-webkit-box-pack: end;
	    -ms-flex-pack: end;
	        justify-content: flex-end;
	-webkit-box-flex: 0.5;
	    -ms-flex-positive: 0.5;
	        flex-grow: 0.5;
}

.sub-book-row .et_pb_text_inner>div.links>a {
	padding: 5px 10px;
	min-width: 90px;
}

.sub-book-row .et_pb_text_inner>div.links>a:first-child {
	color: var(--blue);
	border-color: var(--blue);
	margin-right: 10px;
}

.sub-book-row .et_pb_text_inner>div.links>a:first-child:hover {
	color: white;
}

@media only screen and (max-width: 980px) {
	.sub-book-row .et_pb_text_inner>div {
		-webkit-box-pack: start!important;
		    -ms-flex-pack: start!important;
		        justify-content: flex-start!important;
		-webkit-box-flex: 1!important;
		    -ms-flex-positive: 1!important;
		        flex-grow: 1!important;
	}

	.sub-book-row .et_pb_text_inner>div.location:before,
	.sub-book-row .et_pb_text_inner>div.cost:before {
		display: none;
	}
}

/*
============================================================================
	Blog page
============================================================================
*/
#blogs>div {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 20px 1fr 20px 1fr;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 20px;
}

#blogs>div .pagination {
	-ms-grid-column: 1;
	-ms-grid-column-span: 3;
	grid-column: 1/4;
}

#blogs>div>article {
	position: relative;
	padding-bottom: 0;
	margin-bottom: 0;
	overflow: hidden;
}

#blogs>div>article:nth-child(1) {
	-ms-grid-column: 1;
	-ms-grid-column-span: 2;
	grid-column: 1/3;
	-ms-grid-row: 1;
	-ms-grid-row-span: 2;
	grid-row: 1/3;
}

#blogs>div>article:nth-child(11) {
	-ms-grid-column: 2;
	-ms-grid-column-span: 2;
	grid-column: 2/4;
	-ms-grid-row: 5;
	-ms-grid-row-span: 2;
	grid-row: 5/7;
}

#blogs>div>article>a {
	height: 100%;
	margin-bottom: 0;
}

#blogs>div>article>a>img {
	height: 100%;
	width: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
}

#blogs>div>article .content-wrapper {
	position: absolute;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	-webkit-box-align: end;
	    -ms-flex-align: end;
	        align-items: flex-end;
	background-color: rgba(0,0,0,.4);
	padding: 30px;
	-webkit-transition: opacity 0.2s ease-out;
	-o-transition: opacity 0.2s ease-out;
	transition: opacity 0.2s ease-out;
}

#blogs>div>article:hover .content-wrapper {
	opacity: 1;
}

@media only screen and (max-width: 768px) {
	#blogs>div>article .content-wrapper {
		opacity: 1;
		position: relative;
		background-color: var(--blue);
		padding: 20px;
	}
}

#blogs>div>article .content-wrapper .inner-wrapper {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 50% 50%;
	grid-template-columns: 50% 50%;
	width: 100%;
}

#blogs>div>article .content-wrapper .inner-wrapper h2.entry-title {
	-ms-grid-column: 1;
	-ms-grid-column-span: 2;
	grid-column: 1/3;
	font-weight: bold;
}

#blogs>div>article .content-wrapper .inner-wrapper * {
	color: white;
}

#blogs>div>article .content-wrapper .inner-wrapper div.post-content {
	margin-left: auto;
}

#blogs>div>article .content-wrapper .inner-wrapper div.post-content a span {
	position: relative;
	left: 2px;
	-webkit-transition: left 0.2s ease-out;
	-o-transition: left 0.2s ease-out;
	transition: left 0.2s ease-out;
}

#blogs>div>article .content-wrapper .inner-wrapper div.post-content a:hover span {
	left: 8px;
}

#blogs>div>div.pagination a {
	display: block;
	position: relative;
	color: black;
	border: 1px solid black;
	padding: 12px 18px;
	-webkit-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}

#blogs>div>div.pagination a:hover {
	color: white;
	border-color: var(--blue);
}

#blogs>div>div.pagination a:after {
	content: "";
	display: block;
	width: 0;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: var(--blue);
	z-index: -1;
	-webkit-transition: width 0.2s ease-out;
	-o-transition: width 0.2s ease-out;
	transition: width 0.2s ease-out;
}

#blogs>div>div.pagination a:hover:after {
	width: 100%;
}

@media only screen and (max-width: 980px) {
	#blogs>div {
		-ms-grid-columns: 1fr 20px 1fr;
		grid-template-columns: repeat(2, 1fr);
	}

	#blogs>div .pagination {
		-ms-grid-column: 1;
		-ms-grid-column-span: 2;
		grid-column: 1/3;
	}

	#blogs>div>article:nth-child(1),
	#blogs>div>article:nth-child(11) {
		grid-column: unset;
		grid-row: unset;
	}
}

@media only screen and (max-width: 768px) {
	#blogs>div {
		-ms-grid-columns: 100%;
		grid-template-columns: 100%;
	}

	#blogs>div .pagination {
		-ms-grid-column: 1;
		-ms-grid-column-span: 1;
		grid-column: 1/2;
	}
}

/*
============================================================================
	Single blog page - template
============================================================================
*/
.blog-title>.et_pb_text_inner {
	font-size: 40px;
}

#left-area {
	padding-bottom: 0;
}

#left-area article {
	margin-bottom: 0;
	padding-bottom: 0;
}

body.arlo_event-template-default #main-content {
	overflow: unset;
}

body.arlo_event-template-default #main-content>div.container:before {
	display: none;
}

body.arlo_event-template-default #sidebar {
	display: none;
}

body.arlo_event-template-default #sidebar form.searchform input {
	border-color: var(--blue);
	border-radius: 0;
}

body.arlo_event-template-default #sidebar form.searchform input[type="submit"] {
	background-color: var(--blue);
	color: white;
}

body.arlo_event-template-default #sidebar .widget_recent_comments,
body.arlo_event-template-default #sidebar .widget_archive,
body.arlo_event-template-default #sidebar .widget_categories,
body.arlo_event-template-default #sidebar .widget_meta {
	display: none;
}

@media only screen and (min-width: 981px) {
	body.arlo_event-template-default #sidebar {
		position: -webkit-sticky;
		position: sticky;
		top: 100px;
		padding: 16px;
		border-radius: 4px;
		-webkit-box-shadow: 0 4px 10px -4px rgba(0,0,0,0.1);
		        box-shadow: 0 4px 10px -4px rgba(0,0,0,0.1);
	}
}

/*
============================================================================
	Book Course - Blog page
============================================================================
*/

.arlo_event-template-default .container #left-area {
	padding-right: 0;
	width: 100%!important;
	margin-bottom: 60px;
	min-height: calc(100vh - 600px);
}

.arlo_event-template-default .container #left-area article h1 {
	position: relative;
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 0;
}

.arlo_event-template-default .container #left-area article p.arlo-description {
	margin-bottom: 35px;
}

.arlo_event-template-default .container #left-area article h1:before {
	content: "";
	display: block;
	position: absolute;
	top: -10px;
	left: 0;
	width: 40px;
	height: 2px;
	background-color: black;
}

.arlo_event-template-default .container #left-area article ul.booking-list,
.arlo_event-template-default .container #left-area article ul.arlo-show-more-hidden {
	padding-left: 0;
	padding-bottom: 0;
}

.arlo_event-template-default .container #left-area article ul.arlo-show-more-hidden {
	margin-top: -1px;
}

.arlo_event-template-default .container #left-area article ul.booking-list>li,
.arlo_event-template-default .container #left-area article ul.arlo-show-more-hidden>li {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	justify-content: center;
	padding: 10px 0;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	margin-top: -1px;
	width: 100%;
}

@media only screen and (max-width: 980px) {
	.arlo_event-template-default .container #left-area article ul.booking-list>li,
	.arlo_event-template-default .container #left-area article ul.arlo-show-more-hidden>li {
		grid-template-columns: 1fr;
		padding: 20px 0;
	}
}

.arlo_event-template-default .container #left-area article ul.arlo-show-more-hidden>li {
	margin-top: 0;
	border-right: 0;
}

.arlo_event-template-default .container #left-area article ul.booking-list>li>div,
.arlo_event-template-default .container #left-area article ul.arlo-show-more-hidden>li>div {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.arlo_event-template-default .container #left-area article ul.booking-list>li>div.time,
.arlo_event-template-default .container #left-area article ul.arlo-show-more-hidden>li>div.time {
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.arlo_event-template-default .container #left-area article ul.booking-list>li>div.time>div.date,
.arlo_event-template-default .container #left-area article ul.arlo-show-more-hidden>li>div.time>div.date {
	font-weight: bold;
	font-size: 18px;
}

.arlo_event-template-default .container #left-area article ul.booking-list>li>div.location,
.arlo_event-template-default .container #left-area article ul.arlo-show-more-hidden>li>div.location {
	color: var(--blue);
	font-weight: bold;
}

.arlo_event-template-default .container #left-area article ul.booking-list>li>div.location i,
.arlo_event-template-default .container #left-area article ul.arlo-show-more-hidden>li>div.location i {
	margin-right: 4px;
}

.arlo_event-template-default .container #left-area article ul.booking-list>li>div.price>ul>li,
.arlo_event-template-default .container #left-area article ul.arlo-show-more-hidden>li>div.price>ul>li {
	border: 0!important;
}

@media only screen and (max-width: 980px) {
	.arlo_event-template-default .container #left-area article ul.booking-list>li>div.location,
	.arlo_event-template-default .container #left-area article ul.arlo-show-more-hidden>li>div.location,
	.arlo_event-template-default .container #left-area article ul.booking-list>li>div.price,
	.arlo_event-template-default .container #left-area article ul.arlo-show-more-hidden>li>div.price {
		justify-content: flex-start;
	}
}

.arlo_event-template-default .container #left-area article ul.booking-list>li>div.book a,
.arlo_event-template-default .container #left-area article ul.arlo-show-more-hidden>li>div.book a {
	margin-bottom: 0;
	position: relative;
	top: 3px;
	color: white;
	padding: 8px 12px;
}

.arlo_event-template-default .container #left-area article ul.booking-list>li>div.book a:after,
.arlo_event-template-default .container #left-area article ul.arlo-show-more-hidden>li>li>div.book a:after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 0;
	background-color: rgba(255,255,255,0.1);
	transition: width 0.1s ease-out;
}

.arlo_event-template-default .container #left-area article ul.booking-list>li>div.book a:hover:after,
.arlo_event-template-default .container #left-area article ul.arlo-show-more-hidden>li>li>div.book a:hover:after {
	width: 100%;
}

.arlo_event-template-default .container #left-area article .arlo-show-more-link-container a.arlo-show-more-link {
	margin-top: 20px;
	background-color: var(--blue);
}

.arlo_event-template-default .container #left-area article .arlo-show-more-link-container a.arlo-show-more-link:after {
	background-color: rgba(255,255,255,0.1);
}

.arlo_event-template-default .container #left-area article .suggestion {
	text-align: center;
}

/*
============================================================================
	The Sction Before Footer
============================================================================
*/
.before-footer {
	position: relative;
}

.before-footer:after {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 80vw;
	height: 1px;
	background-color: white;
	-webkit-transform: translateX(-50%);
	    -ms-transform: translateX(-50%);
	        transform: translateX(-50%);
}

.before-footer a img {
	-webkit-transition: -webkit-transform 0.2s ease;
	transition: -webkit-transform 0.2s ease;
	-o-transition: transform 0.2s ease;
	transition: transform 0.2s ease;
	transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}

.before-footer a:hover img {
	-webkit-transform: scale(1.1);
	    -ms-transform: scale(1.1);
	        transform: scale(1.1);
}

.before-footer>div>div {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.before-footer>div>div:last-child:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 1px;
	height: 50%;
	-webkit-transform: translateY(-50%);
	    -ms-transform: translateY(-50%);
	        transform: translateY(-50%);
	background-color: white;
}

.before-footer>div>div:last-child>div {
	-webkit-box-align: end;
	    -ms-flex-align: end;
	        align-items: flex-end;
}

.before-footer>div>div:last-child>div {
	margin: 0!important;
}

.before-footer img {
	height: 80px;
	padding: 24px;
}

@media only screen and (max-width: 980px) {
	.before-footer>div>div:last-child:after {
		display: none;
	}
}

/*
============================================================================
	Footer
============================================================================
*/
#main-footer {
	padding-bottom: 50px;
}

#footer-widgets {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

#footer-widgets:after {
	display: none;
}

#footer-widgets .footer-widget {
	float: unset;
	margin: 0;
	width: auto;
}

#footer-widgets .footer-widget>div {
	float: unset;
}

@media only screen and (max-width: 1150px) {
	#footer-widgets {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
	}
}

/* The footer widgets which contain logo and three menus */
#footer-widgets .footer-widget:nth-child(1) {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: end;
	    -ms-flex-align: end;
	        align-items: flex-end;
}

#footer-widgets .footer-widget:nth-child(1)>div {
	margin-bottom: 0;
	margin-right: 50px;
}

#footer-widgets .footer-widget:nth-child(1)>div.widget_media_image {
	width: 150px;
}

#footer-widgets .footer-widget:nth-child(1) ul.menu li a:hover {
	color: var(--blue);
}

#footer-widgets .footer-widget:nth-child(1) ul.menu li.current-menu-item a {
	color: var(--blue);
}

@media only screen and (max-width: 980px) {
	#footer-widgets .footer-widget:nth-child(1) {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
	}

	#footer-widgets .footer-widget:nth-child(1)>div {
		margin-right: 0;
		margin-bottom: 20px;
	}

	#footer-widgets .footer-widget:nth-child(1)>div:nth-child(3) {
		margin-bottom: 0;
	}

	#footer-widgets .footer-widget:nth-child(1)>div.widget_media_image {
		-webkit-box-ordinal-group: 3;
		    -ms-flex-order: 2;
		        order: 2;
		margin-bottom: 0;
		margin-top: 50px;
	}

	#footer-widgets .footer-widget:nth-child(1) ul.menu li {
		padding: 0;
		text-align: center;
	}
}

/* The footer widgets which contain social media logo/icon link */
#footer-widgets .footer-widget:nth-child(2)>div {
	height: 100%;
}

#footer-widgets .footer-widget:nth-child(2) div.custom-html-widget {
	height: 100%;
}

#footer-widgets .footer-widget:nth-child(2) div.custom-html-widget ul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	height: 100%;
	-webkit-box-pack: end;
	    -ms-flex-pack: end;
	        justify-content: flex-end;
	-webkit-box-align: end;
	    -ms-flex-align: end;
	        align-items: flex-end;
}

#footer-widgets .footer-widget:nth-child(2) div.custom-html-widget ul li {
	padding-left: 20px;
}

#footer-widgets .footer-widget:nth-child(2) div.custom-html-widget ul li a i {
	font-size: 20px;
	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

#footer-widgets .footer-widget:nth-child(2) div.custom-html-widget ul li a:hover i {
	-webkit-transform: scale(1.2);
	    -ms-transform: scale(1.2);
	        transform: scale(1.2);
	color: var(--blue);
}

@media only screen and (max-width: 1150px) {
	#footer-widgets .footer-widget:nth-child(2) {
		width: 100%;
	}

	#footer-widgets .footer-widget:nth-child(2) div.custom-html-widget ul {
		border-top: 1px solid white;
		padding-top: 20px;
		margin-top: 20px;
	}

	#footer-widgets .footer-widget:nth-child(2) div.custom-html-widget ul li {
		padding: 0 10px;
	}
}

@media only screen and (max-width: 980px) {
	#footer-widgets .footer-widget:nth-child(2) div.custom-html-widget ul {
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
		-webkit-box-align: cetner;
		    -ms-flex-align: cetner;
		        align-items: cetner;
	}
}


/*
============================================================================
	Arlo
============================================================================
*/
.arlo#arlo a {
	border-radius: 0!important;
}

.arlo#arlo .arlo-category-list {
	display: none;
}

.arlo#arlo .arlo-category-list li a {
	background-color: var(--blue);
}

.arlo#arlo .arlo-category-list li a:after {
	background-color: rgba(255, 255, 255, 0.1);
}

.arlo#arlo .arlo-filter-region {
	display: none;
}

.arlo#arlo form#arlo-event-filter {
	position: relative;
}

.arlo#arlo form#arlo-event-filter select {
	margin-right: 20px;
	border: 1px solid black;
	-webkit-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
	background-color: transparent;
	border-radius: 0;
}

.arlo#arlo form#arlo-event-filter select:hover {
	color: white;
	background-color: var(--blue);
	border-color: var(--blue);
}

.arlo#arlo form#arlo-event-filter a.button {
	color: black;
	background-color: transparent;
	border: 1px solid black;
	-webkit-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
	padding: 5px 20px;
	display: none;
}

.arlo#arlo form#arlo-event-filter a.button:hover {
	border-color: var(--blue);
	color: white;
}

.arlo#arlo form#arlo-event-filter a.button:after {
	background-color: var(--blue);
	z-index: -1;
}

.arlo#arlo ul.arlo-list>li {
	padding: 10px 0;
	border-left: 0!important;
	border-top: 1px solid #888!important;
	border-bottom: 1px solid #888!important;
	background-color: transparent!important;
	margin-bottom: -1px!important;
}

.arlo#arlo ul.arlo-list>li.arlo-group-divider {
	border-top: 0!important;
	padding: 0;
}

.arlo#arlo ul.arlo-list>li.arlo-group-divider h2 {
	color: #555;
}

.arlo#arlo ul.arlo-list>li .arlo-event-name>a {
	font-size: 16px;
	color: var(--blue);
	font-weight: bold;
}

.arlo#arlo ul.arlo-list>li .arlo-event-name>div.arlo-advertised-duration {
	background-color: #ccc;
	color: white;
	padding: 0px 15px;
	border-radius: 30px;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	margin-top: 6px;
}

.arlo#arlo ul.arlo-list>li .arlo-catalogue-details {
	color: black;
	font-weight: bold;
}

.arlo#arlo ul.arlo-list>li .arlo-next-running a[title="Register interest"] {
	border: 1px solid black;
	-webkit-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
	background-color: transparent!important;
}

.arlo#arlo ul.arlo-list>li .arlo-next-running a[title="Register interest"]:hover {
	color: white;
	border-color: var(--blue);
}

.arlo#arlo ul.arlo-list>li .arlo-next-running a[title="Register interest"]:after {
	background-color: var(--blue);
	z-index: -1;
}

.arlo#arlo ul.arlo-list>li .arlo-next-running a.arlo-register {
	background-color: var(--blue)!important;
	color: white!important;
}

.arlo#arlo ul.arlo-list>li .arlo-next-running a.arlo-register:after {
	background-color: rgba(255,255,255,0.1);
}

.arlo#arlo .arlo-pagination a {
	color: #282828;
}

.arlo#arlo .arlo-pagination a:hover {
	color: var(--blue)!important;
}

.arlo#arlo .arlo-pagination span.dots:hover {
	color: var(--blue)!important;
}

.arlo#arlo .arlo-pagination span.current {
	color: var(--blue)!important;
}

.arlo#arlo .arlo-pagination a.prev,
.arlo#arlo .arlo-pagination a.next {
	color: #282828;
	background-color: transparent;
	min-width: 110px;
	border: 1px solid #282828;
}

.arlo#arlo .arlo-pagination a.prev:hover,
.arlo#arlo .arlo-pagination a.next:hover {
	color: white!important;
	border-color: var(--blue);
}

.arlo#arlo .arlo-pagination a.prev:after,
.arlo#arlo .arlo-pagination a.next:after {
	background-color: var(--blue);
	z-index: -1;
}

@media only screen and (min-width: 750px) {
	.arlo#arlo ul.arlo-list>li .arlo-event-name {
		padding-right: 70px!important;
	}

	.arlo#arlo ul.arlo-list>li .arlo-catalogue-details {
		position: relative;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
	}

	.arlo#arlo ul.arlo-list>li .arlo-offers {
		position: relative;
	}

	.arlo#arlo ul.arlo-list>li .arlo-offers:before {
		content: "";
		position: absolute;
		display: block;
		top: 0;
		left: -30px;
		width: 1px;
		height: 100%;
		background-color: #999;
	}

	.arlo#arlo .arlo-pagination a.prev {
		margin-right: 10px;
	}

	.arlo#arlo .arlo-pagination a.next {
		margin-left: 10px;
	}
}

@media only screen and (max-width: 550px) {
	.arlo#arlo ul.arlo-list>li {
		border: 1px solid #eee!important;
		margin-bottom: 16px!important;
	}
}

/* ---------------------- single page of arlo ---------------------- */

#arlo.arlo form#arlo-event-filter .arlo-filters-buttons>a:hover {
	color: white;
}

#arlo.arlo form#arlo-event-filter .arlo-filters-buttons>a:after {
	display: none;
}

#arlo.arlo ul.arlo-show-more>li {
	background-color: #f8f8f8!important;
	margin-bottom: 10px!important;
}

#arlo.arlo ul.arlo-show-more>li a:after {
	background-color: rgba(255,255,255,0.1);
}
