body { line-height: normal; }
body, a { color: #000; }
a {
    transition: all 0.2s ease-in-out;	
}

.responsive-iframe {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.responsive-iframe iframe {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
}
.border-seperator {
	position: relative;
	height: 40px;
}

.border-seperator:after {
	content: '';
	position: absolute;
    width: 100%;
    height: 4px;
    left: 0;
    top: 0;
    border-bottom: 2px solid #000;
    transform: rotate(2deg);	
}
.default-background-color { background-color: #f1f1f1; }

.no-scroll { 
	height: 100vh;
	overflow: hidden; 
}

.error-404 {
	background-color: #95c2de;
	padding-top: 30px;
	padding-bottom: 40px;
}

.error-404 .header-404 {
	display: flex;
	flex-direction: row;
	justify-content: center;
}
.error-404 .header-404 span { 
	font-size: 62px;
	font-weight: bold;
	color: #FFF;
	position: relative;
}
.error-404 .header-404 span:nth-child(2) {
	margin-left: 40px; 
	margin-right: 40px;
	font-size: 52px;
	line-height: 88px;  	
}

.error-404 .header-404 span:nth-child(2):after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border: 4px solid #FFF;
	border-radius: 100%;
	width: 70px;
    height: 70px;
}

figure.fade-in { overflow: hidden; }

figure.fade-in a img, figure.fade-in img {
    transition: all 0.2s ease-in-out;	
}

figure.fade-in:hover a img, figure.fade-in:hover a img { transform: scale(1.1); }

.top-header { margin-top: 16px; }
.top-header-nav { font-size: 16px; }
.social-media { font-size: 24px; }

.breadcrumbs { 
    display:flex; 
    font-size: 18px;
    margin-bottom: 20px;
}
.breadcrumbs > * + * { margin-left: 8px; }
.breadcrumbs li a { color: #363636; }
.breadcrumbs li .bread-current { font-weight: bold; } 

.navbar-burger span { height: 2px; }
.main-navigation { 
	display: flex;
	justify-content: end;
}
.main-navigation li { 
	margin-right: 10px; 
	position:relative;
}

.main-navigation li ul {
	position:absolute;
	left:0;
	top:20px;
	background-color:#FFF;
	z-index:1000;
	padding:8px 10px;
}

.main-navigation li ul li {
	display:block;
}

.main-navigation li ul li a {
	color:#000;
}

.main-navigation li:last-child { margin-right: 0; }
.main-navigation li a {
	display: flex;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-right: 10px;
	padding-left: 10px;
	color: #000;
	font-weight: bold;
	border-bottom: 1px solid transparent;
}
.main-navigation li a:hover { border-color: #000; }

.main-navigation li a i { margin-right: 10px; }
.main-navigation li { position: relative; }
.main-navigation li .sub-menu {
	opacity: 0;
	visibility: hidden;
	position: absolute;
	left: 0;
	top: 36px;
	width: 320px;
	padding-top: 10px;
	padding-right: 16px;
	padding-bottom: 18px;
	padding-left: 16px;
	font-size: 14px;
	background-color: #FFF;
    box-shadow: -3px 3px 5px 0px rgb(28 66 140 / 18%);
    transition: all 0.2s ease-in-out;	
    z-index: 999;    
}

.main-navigation li:hover .sub-menu {
	opacity: 1;
	visibility: visible;
}

.mobileNavWrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	padding-top: 40px; 
	z-index: 100;
	background-color: #FFF;
}

.mobileNavWrapper .close-btn {
	position: absolute;
	right: 20px;
	top: 0;
}
.mobileNavWrapper .close-btn a {
	font-size: 32px;
	font-weight: bold;
}

.mobileNavWrapper .main-navigation { flex-direction: column; }
.mobileNavWrapper .main-navigation li a { 
	margin-top: 8px;
	margin-bottom: 8px;
}

.mobileNavWrapper div {
	margin-left: 10px;
	margin-top: 8px;
	margin-bottom: 8px;
}

.main-carousel .slide .slide-description {
	position: absolute;
	width: 25%;
	left: 0;
	bottom: 120px;
	background-color: #FFF;
	padding-top: 40px;
	padding-bottom: 40px;
	padding-right: 20px;
	padding-left: 20px;
	z-index: 100;
}

.posts.read-more {
	display: inline-block;
	border: 1px solid #000;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-right: 14px;
	padding-left: 14px;
	color: #000;
}

.posts.read-more:hover {}

.single-post-title {
	position: absolute;
	display: inline-block;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

.content * a { color: #0000ff; }

.tabs-wrapper {
	display: flex;
	flex-direction: column;
}

.tabs-wrapper .tabs-nav {
	margin-bottom: 40px;
	border-bottom: 1px solid #000;
}
.tabs-wrapper .tabs-nav a {
	position: relative;
	padding-bottom: 4px;
	margin-right: 20px;
	display: inline-block;
	color: #7b7b7b;
}

.tabs-wrapper .tabs-nav a:last-child { margin-right: 0; }

.tabs-wrapper .tabs-nav a:hover,
.tabs-wrapper .tabs-nav a.is-active { color: #000; }

.tabs-wrapper .tabs-nav a:hover:after,
.tabs-wrapper .tabs-nav a.is-active:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	border-bottom: 3px solid #000;
}
.tabs-wrapper .tabs-nav a:hover:before,
.tabs-wrapper .tabs-nav a.is-active:before {
	content: '';
	position: absolute;
	display: inline-block;
	left: 50%;
	bottom: -12px;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;  
	border-top: 10px solid #000;
	transform: translateX(-50%) ;
}

.tabs-wrapper .tabs-content .content { display: none; }

.post-main-gallery.owl-theme .owl-nav button[class*=owl-]  {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);	
	width: 40px;
    height: 40px;  
    background-color: #7f7e80; 
    color: #FFF; 
    border-radius: 0;
}
.post-main-gallery.owl-theme .owl-nav button[class*=owl-]:first-child { left: 0; }
.post-main-gallery.owl-theme .owl-nav button[class*=owl-]:last-child { right: 0; }

footer.site-footer {
	position: relative;
	margin-top: 80px;
	padding-top: 30px;
	padding-bottom: 30px;
	/* border-top: 2px solid #000; */
}
footer.site-footer:after {
	content: '';
	position: absolute;
    width: 100%;
    height: 4px;
    left: 0;
    top: 0;
    border-bottom: 2px solid #000;
    transform: translateY(-20px) translateX(5px) rotate(2deg);
}

.footer-nav {

}

.footer-nav li { margin-bottom: 8px; }

.footer-nav li a {
	font-weight: bold;
	color: #000;
}

.footer-nav li a:hover { color: #363636; }

input.newsletter,
select[name="languages"] {
	position: relative;
	border: 1px solid #000;
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 10px;
	padding-right: 14px;
	width: 100%;
	outline: none;
}


input.newsletter:after {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%) rotate(-45deg);
	right: 8px;
	border-style: solid;
	border-color: #000;
	border-width: 0 3px 3px 0;
	padding: 3px;
}

.video-thumb-link:after {
	content: '\f144';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #EEE;
	border: 4px solid #000;
	border-radius: 100%;
	font-size: 62px;	
}

.partner-wrapper {
	position: relative;
	margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.partner-wrapper:after {
	content: '\f0fe';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	font-size: 32px;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);	
}


.partner-wrapper.active:after { content: '\f146'; }
.partner-wrapper .partner-description { 
	padding-right: 60px; 
	align-items: center;
    display: flex;	
}

/* 
.learndash-wrapper .wpProQuiz_content .wpProQuiz_quiz .wpProQuiz_list .wpProQuiz_listItem .wpProQuiz_response {
	background-color: #eee;
	color: #000;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_quiz .wpProQuiz_list .wpProQuiz_listItem .wpProQuiz_response > div span { 
	margin-bottom: 20px; 
	font-size: 22px;
	display: block
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_quiz .wpProQuiz_list .wpProQuiz_listItem .wpProQuiz_response * p {
	margin-bottom: 10px;
	font-size: 16px;
}
*/

.learndash-wrapper .wpProQuiz_content .wpProQuiz_button { 
	color: #000 !important; 
	font-size: 16px !important;
}

.content .gallery figure.gallery-item figcaption {
	font-style: normal;
	font-size: 18px;
}

.content .gallery figure.gallery-item:not(:first-child) { margin-top: 0; }
.content .gallery figure.gallery-item {
	text-align: left;
}
.gallery {
	display: grid;
	align-items: center;
}
.gallery.gallery-columns-2 {
	
	grid-template-columns: repeat(2,minmax(0,1fr));
}

.gallery.gallery-columns-3 {
	grid-template-columns: repeat(3,minmax(0,1fr));
}

.gallery.gallery-columns-4 {
	grid-template-columns: repeat(4,minmax(0,1fr));
}

.gallery.gallery-columns-5 {
	grid-template-columns: repeat(5,minmax(0,1fr));
}

.gallery.gallery-columns-6 {
	grid-template-columns: repeat(6,minmax(0,1fr));
}

.gallery.gallery-columns-7 {
	grid-template-columns: repeat(7,minmax(0,1fr));
}

.gallery.gallery-columns-8 {
	grid-template-columns: repeat(8,minmax(0,1fr));
}

.gallery.gallery-columns-9 {
	grid-template-columns: repeat(9,minmax(0,1fr));
}
.gallery .gallery-item {
	display: flex;
    flex-direction: column;
}

.gallery .gallery-item > * + * { margin-top: 20px; }
ul.main-navigation li.menu-item-has-children ul.sub-menu li.menu-item-has-children {
	position: relative;
}
ul.main-navigation li.menu-item-has-children ul.sub-menu li.menu-item-has-children:after {
	content: '';
	position: absolute;
	right: 0.25rem;
	top: 50%;
	display: block;
	border-right: 0.125rem solid #000;
	border-bottom: 0.125rem solid #000;
	width: 0.5rem;
	height: 0.5rem;
	transform: translate(-50%, -50%) rotate(-45deg);
}
ul.main-navigation li.menu-item-has-children ul.sub-menu li.menu-item-has-children ul {
	display: none;
	position: absolute;
	top: 0;
	right: calc(-100% - 2rem);
    left: unset;
}

ul.main-navigation li.menu-item-has-children ul.sub-menu li.menu-item-has-children:hover ul {
	display:block;
}

@media (max-width: 1216px) {
	.top-header-nav { font-size: 14px; }
	.social-media { font-size: 18px; }	
}

@media (max-width: 1142px) {
	.main-carousel .slide .slide-description { width: 33.3333%; }
}

@media (max-width: 1024px) {
	.container {
		padding-left: 10px;
		padding-right: 10px;
	}
	.top-header-wrapper {
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}
	.top-header { margin-top: 0; }
	.main-carousel .slide .slide-description { 
		width: 50%; 
		bottom: 40px;
		background-color: rgba(255, 255, 255, 0.8);
	}
	.site-header > div { align-items: center; }
	.main-navigation li .sub-menu,
	ul.main-navigation li.menu-item-has-children ul.sub-menu li.menu-item-has-children ul{
		opacity: 1;
		visibility: visible;
		box-shadow: none;
		padding-left: 0;
		padding-top: 4px;
		padding-bottom: 4px;
		position: relative;
		top: unset;
		left: unset;
		right: unset;
		display: block;
	}		
}

@media (max-width: 768px) {
	.main-carousel .slide .slide-description { 
		width: 100%; 
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		bottom: unset;
	}
}

