/*
Theme Name: 
Theme URI: http://prosoft-phils.com/
Author: | Prosoft Phils
Author URI: http://prosoft-phils.com/
Description: Responsive Theme for
*/

/*--------------------------------------------------------------
STYLE FOR CUSTOM THEME
--------------------------------------------------------------*/
html {
	scroll-behavior: smooth;
	scroll-padding-top:  150px;
}

blockquote {
	color: #fbae0a;
	font-family: Open Sans Bold;
}

.line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

.line-clamp-1 {
	display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

.box-shadow {
	box-shadow: rgb(100 100 111 / 50%) 0px 10px 10px 0px;
}

.gray a {
	color: var(--color-grey) !important;
}


/*--------------------------------------------------------------
HEADER
--------------------------------------------------------------*/
header {
	margin-bottom: 120px;
}

.desktop-header-fixed {
	padding: 12px 15px;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 100;
	background-color: #fff;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.header {
	-webkit-transition: all 300ms ;
	-moz-transition: all 300ms ;
	-ms-transition: all 300ms ;
	-o-transition: all 300ms ;
	transition: all 300ms ;
}

/*HEADER ON SCROLL*/
.desktop-header-scroll {
	background: #fff;
	-webkit-transition: all 300ms ;
	-moz-transition: all 300ms ;
	-ms-transition: all 300ms ;
	-o-transition: all 300ms ;
	transition: all 300ms ;
}

/*.desktop-header-scroll ul.nav-menu > li > a {
		color: #333;
	}

.desktop-header-scroll .logo img {
	width: 65%;
}
*/

/*NAV MENU*/
ul.nav-menu {
	list-style: none;
	text-align: right;
	padding-left: 0;
	margin-bottom: 0;
}

	ul.nav-menu li {
		display: inline-block;
	}

		ul.nav-menu > li > a {
			text-decoration: none;
			text-transform: uppercase;
			color: var(--color-gray);
			font-family: Open Sans Regular;
			padding-left: 15px;
			font-size: 16px;
			-webkit-transition: all 300ms ;
			-moz-transition: all 300ms ;
			-ms-transition: all 300ms ;
			-o-transition: all 300ms ;
			transition: all 300ms ;
			display: block;
		}

	/*NAV ACTIVE LINK*/
	ul.nav-menu > li.current_page_item > a {
		color: #2D6CB3;
	}

	/*NAV ON HOVER*/
	ul.nav-menu li a:hover{
		color: #2D6CB3
		-webkit-transition: all 300ms ;
		-moz-transition: all 300ms ;
		-ms-transition: all 300ms ;
		-o-transition: all 300ms ;
		transition: all 300ms ;
	}

/*----- NAV MENU: 1st LEVEL SUB MENU -----*/
	ul.nav-menu li ul.sub-menu {
		display: none;
	}

	ul.nav-menu li:hover ul.sub-menu {
		display: block;
	}
	
	ul.nav-menu li ul.sub-menu {
		list-style: none;
		padding-left: 0px;
		text-align: center;
		position: absolute;
		z-index: 1001;
		background: rgba(0,0,0,0.9);
		border-top: 3px solid #6b0500;
		margin-left: 0;
	}

	ul.nav-menu li ul.sub-menu li {
		display: block;
		margin-left: 0;
		border-bottom: 1px solid rgba(255,255,255,0.2);
	}

	ul.nav-menu li ul.sub-menu li a {
		color: #fff;
		text-transform: uppercase;
		display: block;
		min-width: 100px;
		padding-top: 6px;
		padding-bottom: 6px;
	}

		ul.nav-menu li ul.sub-menu li a:hover {
			background: #6b0500;
			-webkit-transition: all 0ms !important;
			-moz-transition: all 0ms !important;
			-ms-transition: all 0ms !important;
			-o-transition: all 0ms !important;
			transition: all 0ms !important;
		}

	ul.nav-menu > li.menu-item-has-children a::after {
		content: "\f107";
		font-family: 'Font Awesome 5 Free';
  		font-weight: 900;
		padding-left: 10px;
		color: red;
	}

		ul.nav-menu > li.menu-item-has-children ul li a::after {
			content: none;
		}

.container-header {
	margin-right: 50px;
	margin-left: 50px;
}


.header-search input {
	border: 1px solid #707070;
	border-radius: 30px;
	padding: 5px 15px 5px 40px;
	width: 100%
}

.header-search i {
	left: 6%;
	top: 33%;
}

	.header-search input::placeholder {
   		text-align: right;
	}

	.header-search .search-btn {
		top: 0;
		left: auto;
	}

.profile-desktop {
	top: 110%;
	background-color: #fff;
	width: 230px;
}

.profile-desktop ul li {
	list-style: none;
	padding: 5px 0;
	border-bottom: 1px solid gray;
}

.profile-desktop ul li:last-child {
	border-bottom: none;
}

.menu-desktop a{
	color: grey;
	text-transform: uppercase;
	font-family: 'Rubik Light';
	margin-right: 1.5rem;
}

.menu-mobile ul li a {
	color: black;
}

.menu-nav {
	margin: 0 3% 0 -3%;
}

/*--------------------------------------------------------------
404 PAGE
--------------------------------------------------------------*/
.pg-404 {
	position: relative;
	height: 100vh;
}

.pg-404-content {
	width: 100%;
	position: absolute;
	left: 50%;
	top: 60%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

	.pg-404-content i {
		margin-bottom: 20px;
	}

	.pg-404-content h1 {
		margin-bottom: 20px;
	}

	.pg-404-content p {
		margin-bottom: 0;
	}

/*--------------------------------------------------------------
NAV TAB STYLE RESET
--------------------------------------------------------------*/
.nav-tab-style-reset .nav-tabs {
	border-bottom: none;
}

.nav-tab-style-reset .nav-tabs .nav-item.show .nav-link,
.nav-tab-style-reset .nav-tabs .nav-link.active {
	background: none;
	border-color: none;
}

.nav-tab-style-reset .nav-tabs .nav-link {
	border: none;
}


/*--------------------------------------------------------------
HOME PAGE
--------------------------------------------------------------*/
.fold-title {
	margin: 50px 0;
}

/*--------------------------------------------------------------
Banner
--------------------------------------------------------------*/
#banner {
	background-image: url('../img/banner.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	padding: 100px 0 ;
}

#banner .container {
	top: 36%;
}

#banner h3 {
	line-height: 10px;
}
	
	.banner-button {
		margin-top: 50px;
	}

	.banner-button button {
		padding-left: 30px;
		padding-right: 30px;
	}

#banner-modal iframe {
	width: 560px!important;
	height: 315px!important;
}

/*--------------------------------------------------------------
Fold-1
--------------------------------------------------------------*/
#new-entries {
	padding-top: 1px;
	padding-bottom: 100px;
	background-image: linear-gradient(#E8E8E84D, #EBEBEBBA);
}

#new-entries .fold-content .entry-container {
	padding: 34px 28px 68px 28px;
	border-radius: 16px;
	width: 30%;
	margin: 0 18px;
}

#new-entries .fold-content .entry-container .thumbnail {
	height: 214px;
	width: 100%;
	overflow: hidden;
}

#new-entries .fold-content .entry-container .thumbnail img {
	display: block;
}


#new-entries .fold-content button {
	padding-left: 40px;
	padding-right: 40px;
	max-width: 100%;
}

#new-entries .post-title {
	height: 85px;
	padding: 0;
	display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#new-entries .post-content {
	height: 145px;
	display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/*--------------------------------------------------------------
Fold-2
--------------------------------------------------------------*/
#browse-categories {
	margin-bottom: 50px;
}

#browse-categories .category-div {
	max-width: 19%;
	margin-right: 1%;
}

#browse-categories .category-div:nth-child(5),
#browse-categories .category-div:nth-child(10) {
	margin-right: 0;
}

.category-div:hover img {
	box-shadow: rgb(100 100 111 / 50%) 0px 7px 29px 0px;
}

/*--------------------------------------------------------------
Sidebar
--------------------------------------------------------------*/
.sidebar-container {
	min-height: 90vh;
	padding-right: 0;
	padding-left: 0;
}

.sidebar-container button:hover,
.sidebar-container button:active {
	background-color: var(--color-blue);
}

	.sidebar-div {
		margin-top: 20px;
	}

	.sidebar-div .card-body {
		background: none;
	}

	.sidebar-div ul li {
		list-style-type: none;
	}

	.sidebar-div ul li .form-row button:hover,
	.sidebar-div ul li .form-row button:focus {
		background: none;
	}

	.sidebar-div ul li a{
		color: white;
	}
		#categories-tab button {
			border-radius: 0;
			border: none;
		}

		#categories-tab button::active {
			
		}

		#categories-tab .cat-tab-btn:hover {
			background-color: var(--color-green);
			border-radius: 0;
		}

		#categories-tab .card-body {
			padding-top: 0;
			padding-bottom: 0;
		}

/*--------------------------------------------------------------
Archive
--------------------------------------------------------------*/
.w-24 {
	width: 24%;
	margin-right: 1%;
}

.thumbnail {
	background-color: white;
	height: 180px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.thumbnail a {
	width: 100%;
}

#entry-container {
	margin-bottom: 100px;
}

#entry-container .thumbnail img {
	margin: 0 auto;
}

	.entry-post-container,
	.entry-post-container-video {
		padding: 15px;
		background-color: #fff;
		box-shadow: rgb(100 100 111 / 20%) 0px 7px 29px 0px;
		border-radius: 8px;
	}

	.category-title ul {
		list-style: none;
		padding: 0;
	}

	.category-title ul li a {
		color: var(--color-blue);
		cursor: text;
	}

	.category-title ul li a:hover {
		color: var(--color-blue);
	}

#entry-container-video {

}

	.entry-post-container-video {
		background-color: #fff;
		box-shadow: rgb(100 100 111 / 20%) 0px 7px 29px 0px;
		border-radius: 8px;
		overflow: hidden;
	}

	.entry-post-container .thumbnail img {
		margin: 0 auto;
	}

	.category-videos .play,
	.type-videos .fa-circle-container {
		font-size: 40px;
		top: 42%;
		left: 42%;
		color: white;
	}

	.category-videos:hover .play {
		position: relative;
		background: rgb(0,0,0,.3);
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
	}

	.category-videos:hover .play-btn{
		position: absolute;
		top: 42%;
		left: 42%;
		color: var(--color-light-blue);
	}

	.category-videos .line-clamp,
	.category-pdf .line-clamp {
		height: 50px;
	}

	.type-videos:hover .fa-circle-container {
		position: relative;
		background: rgb(0,0,0,.3);
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
	}

	.type-videos:hover .fa-play-circle {
		position: absolute;
		top: 42%;
		left: 42%;
		color: var(--color-light-blue);
	}

.download-pdf-container img {
	width: 14px;
}


/*--------------------------------------------------------------
PDF - Single
--------------------------------------------------------------*/
.single-pdf-thumbnail {
	max-height: 400px;
	overflow: hidden;
	background-color: var(--color-dark-blue);
	display: flex;
	align-items: center;
}

.single-pdf-thumbnail img {
	margin: 0 auto;
}

.single-pdf-content p {
	text-align: justify;
}

/*--------------------------------------------------------------
VIDEOS/COURSES - Single
--------------------------------------------------------------*/
.main-video iframe {
	box-shadow: rgb(100 100 111 / 20%) 0px 7px 29px 0px;
	background-color: #111111;
}

.tooltip-more {
  position: relative;
}

.tooltip-more .tooltip-more-text {
  visibility: hidden;
  width: 230px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 102%;
  right: 0;
}

.tooltip-more .tooltip-more-text::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 18%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.tooltip-more:hover .tooltip-more-text {
  visibility: visible;
}
.click-playlist {
	display: none;
}


/*--------------------------------------------------------------
UM Form
--------------------------------------------------------------*/
.um-form form {
	padding: 15px;
	display: flex;
	min-height: 90vh;
}

.um-login .um-form form,
.um-register .um-form form {
	flex-direction: column;
}

header.entry-header {
	margin: 0;
	margin-top: 10%;
}

.um-account-side {
	display: none;
}

.um-account-main {
	margin: 0 auto;
}




/*--------------------------------------------------------------
FOOTER
--------------------------------------------------------------*/
footer .container-fluid {
	background-color: #74A9DB;
	color: white;
	height: 70px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 14px;
}

