/*----------------------------*/
/* 30. Advance Tabs
/*----------------------------*/
.eael-advance-tabs {
	display: block;
}

.eael-advance-tabs .eael-tabs-nav>ul {
	position: relative;
	padding: 0px;
	margin: 0px;
	list-style-type: none;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	z-index: 1;
}

.eael-advance-tabs .eael-tabs-nav>ul li {
	position: relative;
	padding: 1em 1.5em;
	flex: 1 1 auto;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.eael-advance-tabs .eael-tabs-nav>ul li:after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 0px;
	right: 0px;
	margin: 0 auto;
	z-index: 1;
	width: 0px;
	height: 0px;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid #444;
	border-bottom: 0px;
	display: none;
}

.eael-advance-tabs.active-caret-on .eael-tabs-nav>ul li.active:after,
.eael-advance-tabs.active-caret-on .eael-tabs-nav>ul li.active-default:after {
	display: none;
}

.eael-advance-tabs .eael-tabs-nav>ul li.active:after,
.eael-advance-tabs .eael-tabs-nav>ul li.active-default:after {
	display: block;
}

.eael-tabs-content {
	display: flex;
	flex: 1 1 auto;
}

.eael-advance-tabs .eael-tabs-content>div {
	display: none;
	opacity: 0;
}

.eael-advance-tabs .eael-tabs-content>div.active,
.eael-advance-tabs .eael-tabs-content>div.active-default {
	display: block;
	width: 100%;
	padding: 1em;
	opacity: 1;
	animation: fadeIn linear 0.3s;
}


/*--- Inline Icon ---*/

.eael-tab-inline-icon li a .fa {
	margin-right: 10px;
	line-height: 1;
}

.eael-tab-top-icon li a {
	display: flex;
	flex-wrap: wrap;
	text-align: center;
}

.eael-tab-top-icon li a .fa,
.eael-tab-top-icon li a .eael-tab-title {
	flex: 1 1 100%;
	line-height: 1;
}

.eael-tab-top-icon li a .eael-tab-title {
	margin-top: 10px;
}


/*--- Vertical Tabs ---*/

.eael-advance-tabs.eael-tabs-vertical {
	display: flex;
}

.eael-advance-tabs.eael-tabs-vertical .eael-tabs-nav {
	flex: 0 0 auto;
}

.eael-advance-tabs.eael-tabs-vertical .eael-tabs-nav>ul {
	flex-flow: column wrap;
}

.eael-advance-tabs.eael-tabs-vertical .eael-tabs-nav>ul>li {
	width: 100%;
	justify-content: start;
}

.eael-advance-tabs.eael-tabs-vertical .eael-tabs-nav>ul li::after {
	bottom: auto !important;
	right: -10px;
	top: calc(50% - 10px) !important;
	left: auto !important;
	border-left: 10px solid #444;
	border-right: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
}

@media only screen and (max-width: 767px) {
	.eael-advance-tabs .eael-tabs-nav>ul {
		flex-wrap: wrap;
	}
	.eael-advance-tabs .eael-tabs-nav>ul li {
		flex: 1 100%;
	}
}