/* ----------------------------------------------------------------
	Canvas: Forum
-----------------------------------------------------------------*/

* {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}



.alt-color,
.h-alt-color:hover { color: #006992 !important; }

.bg-alt,
.h-bg-alt:hover,
.page-item:not(.disabled):hover .page-link,
.page-item.active .page-link {
	background-color: #006992 !important;
	border-color: #006992 !important;
}

/* Search Overlay */
.search-overlay.top-search-open .top-search-parent #logo,
.search-overlay.top-search-open .top-search-parent .primary-menu,
.search-overlay.top-search-open .top-search-parent .header-misc > *:not(#top-search),
.top-search-open .top-search-parent #primary-menu-trigger { opacity: 1; }

.top-search-open #top-search a i.icon-line-cross {
	font-size: inherit;
	color: #ff715b;
}

.search-overlay .top-search-form {
	top: 81px;
	height: calc(100vh - 81px);
	transition: all .4s ease;
}

.search-overlay .sticky-header-shrink .top-search-form {
	top: 61px;
	height: calc(100vh - 61px);
}

.search-overlay .dark.top-search-form input {
	border: 2px solid rgba(255, 255, 255, 0.7) !important;
	height: calc(2em + 1rem + 2px);
	padding: .5rem 1rem;
	font-size: 1.25rem;
	line-height: 1.5;
	border-radius: .3rem;
	text-align: left;
	letter-spacing: 0px;
	font-weight: 500;
	margin: 0;
	max-width: 100%;
	color: #EEE;
}

.search-overlay .dark.top-search-form input:focus,
.search-overlay .dark.top-search-form input:active {
	border-color: #ff715b !important;
}

.search-overlay .dark.top-search-form input::-moz-placeholder { text-transform: none; color: rgba(255,255,255,0.4); }
.search-overlay .dark.top-search-form input:-ms-input-placeholder { text-transform: none; color: rgba(255,255,255,0.4); }
.search-overlay .dark.top-search-form input::-webkit-input-placeholder { text-transform: none; color: rgba(255,255,255,0.4); }

@media (max-width: 767.98px) {
	.top-search-form .container {
		max-height: 100%;
		padding-top: 3rem;
		padding-bottom: 3rem;
		overflow-y: scroll;
	}
}

@media (min-width: 992px) {

	.header-misc-icon {
		display: -ms-flex;
		display: flex;
		align-items: center;
		transition: all .3s ease;
		padding: 0 0.75rem;
		margin: 0;
	}

	.header-misc-icon > a {
		width: 24px;
		height: 24px;
		font-size: 20px;
		line-height: 24px;
	}

	.profile-image > a {
		width: 32px;
		height: 32px;
		line-height: 32px;
	}
}

.menu-link {
	font-weight: 500;
	text-transform: none;
	font-size: 14px;
	letter-spacing: 0;
}

.dropdown-menu .dropdown-item,
.dropdown-menu .list-group-item {
	padding: 0.75rem 1.25rem;
	font-size: 14px;
	font-weight: 500;
	border-bottom: 1px solid #EEE;
}

.dropdown-menu {
	border-radius: 4px;
	border-color: #EEE;
	overflow: hidden;
}
.dropdown-item:last-child,
.dropdown-menu .list-group-item:last-child {
	border-bottom: 0;
}

.dropdown-menu .dropdown-item:hover {
	background-color: #2F2E41;
	color: #F9BE79;
}

.dropdown-menu .list-group-item:hover {
	background-color: #F9BE7910;
}

.dropdown-menu .dropdown-header,
.dropdown-menu .list-group-item small {
	color: #BBB;
	font-size: 12px;
}

.badge-icon {
	width: 35px;
	height: 35px;
	line-height: 35px !important;
	font-size: 18px;
	border-radius: 50%;
	text-align: center;
}

.header-misc-icon.profile-image.show > a img { box-shadow: 0 0 0 3px #F9BE79; }

.notification-badge::after {
	content: '';
	display: inline-block;
	position: absolute;
	top: -2px;
	right: -2px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid #FFF;
	background-color: #dc3545;
}

.header-misc-icon.show .notification-badge { color: #F9BE79; }

/* Course Categories
---------------------------------------------------------------------------- */
.course-categories .card a span {
	display: block;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
	position: absolute;
	top: 50%;
	left: 50%;
	text-align: center;
	color: #FFF;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.course-categories .card a span i {
	display: block;
	margin-bottom: 5px;
	font-size: 20px;
}

.hover-effect {
	-webkit-transition:  transform .25s ease, box-shadow .3s ease;
	-o-transition:  transform .25s ease, box-shadow .3s ease;
	transition:  transform .25s ease, box-shadow .3s ease;
	-webkit-transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
	box-shadow: none;
	border: 0;
}

.hover-effect:hover {
	-webkit-transform: translateY(-5px);
	-ms-transform: translateY(-5px);
	-o-transform: translateY(-5px);
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.course-card .card-footer { border-top-color: #EEE; }

.rating-stars i { color: #f4c150; }

.course-card .card-title a { color: #333; }

.course-card .card-title a:hover { color: var(--themecolor); }

.course-card  .card-title-sub { font-size: 11px; }

/*-- BOTON MENU OR WHATSAPP --*/

.container-fluid {
	padding-right: 75px;
	padding-left: 75px;
}

.masonry-thumbs a::before {
	opacity: 0;
	display: flex;
	content: "\e9bc";
	font-family: 'lined-icons';
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: scale(1);
	font-size: 24px;
	color: #FFF;
	background-color: rgba(0, 0, 0, 0.5);
	transition: opacity .3s, transform .3s ease;
}

.masonry-thumbs a:hover::before {
    opacity: 1;
    transform: scale(1.2);
}


#modal-subscribe {
	left: auto;
	right: 0;
	top: auto;
	bottom: 0;
    max-width: 550px;
    height: auto;
}

#modal-subscribe .modal-dialog {
	margin: 0;
    border-radius: 0;
    max-width: 550px;
}

#modal-subscribe .modal-content {
	background-color: #EEE;
	border: 8px solid #FFF;
	border-radius: 0;
}

body.modal-open { overflow-y: auto; }
