@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,300italic,400italic");

/* for navbar */
html {
	padding-top: 85px;
}

/* hidden an element */
.hidden {
	display: none;
}

/* ----- Main ----- */
body {
    background-color: var(--background-color);
	font-family: "Source Sans Pro", sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%
}
body, input, select, textarea {
	color: #777;
	font-family: "Source Sans Pro", sans-serif;
	font-size: 14pt;
	font-weight: 300;
	line-height: 1.65em;
	letter-spacing: -0.015em;
}
a {
	-moz-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
	-webkit-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
	-ms-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
	transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
	/*color: #e89980;*/
	text-decoration: none;
}
	a:hover {
		border-bottom-color: transparent;
	}
strong, b {
	color: #646464;
	font-weight: 400;
}
em, i {
	font-style: italic;
}
p {
	margin: 0 0 1em 0;
}
h1, h2, h3, h4, h5, h6 {
	color: #646464;
	font-weight: 300;
	line-height: 1em;
	margin: 0 0 0.5em 0;
}
	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
		color: inherit;
		text-decoration: none;
	}
h2 {
	font-size: 1.75em;
	line-height: 1.5em;
	letter-spacing: -0.035em;
}
h3 {
	font-size: 1.5em;
	line-height: 1.5em;
	letter-spacing: -0.025em;
}
h4 {
	font-size: 1.1em;
	line-height: 1.5em;
	letter-spacing: 0;
}
h5 {
	font-size: 0.9em;
	line-height: 1.5em;
	letter-spacing: 0;
}
h6 {
	font-size: 0.7em;
	line-height: 1.5em;
	letter-spacing: 0;
}
sub {
	font-size: 0.8em;
	position: relative;
	top: 0.5em;
}
sup {
	font-size: 0.8em;
	position: relative;
	top: -0.5em;
}
hr {
	border: 0;
	border-bottom: solid 2px #e5e5e5;
	margin: 2em 0;
}
	hr.major {
		margin: 3em 0;
	}
/* dl {
    margin: 18px 0 18px 18px;
} */
dt {
    font-weight: 400;
}
/* 
dd {
    margin-left: 18px;
} */

/* ----- Navbar ----- */
.navbar-inverse {
	top: 35px;
	background-color: var(--main-navbar);
	border: none;
}
.navbar-inverse .navbar-nav > li > a {
	color: var(--text-navbar);
}
a, .navbar-inverse .navbar-nav > li > a:hover {
	color: var(--hover-navbar);
}
.main-bar {
	color: var(--text-second-navbar) !important;
	font-size: 15px;
	width: 100%;
	position: fixed;
	height: 30px !important;
	background-color: var(--second-navbar);
	border: none;
	font-weight: 500;
}
	.main-bar a {
		color: var(--text-second-navbar);
		top: -10px;
	}
	.main-bar ul {
		list-style: none;
	}
	.main-bar ul li {
		margin-right: 15px;
	}
	a, .main-bar a:hover {
		color: var(--hover-second-navbar);
	}
	#lastLoginStatus a {
		color: var(--text-second-navbar);
	}
	a, #lastLoginStatus a:hover {
		color: var(--hover-second-navbar);
	}
	#firstLoginStatus a {
		color: var(--text-second-navbar);
	}
	a, #firstLoginStatus a:hover {
		color: var(--hover-second-navbar);
	}

/* ----- Search-box ----- */
.banner {
	background-image: url('/ojt_assets/Images/banner.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.banner_black {
    background-color: #00000080;
}
.search_wrap{
    margin-top: 25px;
	margin-bottom: 25px;
	width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search_wrap .search_box{
	position: relative;
	width: 500px;
	height: 60px;
}
.search_wrap .search_box .input{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 10px 20px;
	border-radius: 3px;
	font-size: 18px;
    border: 0;
	outline: none;
	color: #8b7d77;
    padding-right: 80px;
	border-radius: 50px;
}
.search_wrap .search_box .btn{
	position: absolute;
	top: 0;
	right: 0;
	width: 60px;
	height: 100%;
	background: var(--main-color);
	z-index: 1;
	cursor: pointer;
    right: 0px;
	border-radius: 50%;
}
.search_wrap .search_box .btn:hover{
	background: var(--hover-color) !important;	
}
.search_wrap .search_box .btn.btn_common .fas{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	color: #fff;
	font-size: 20px;
}
.btn-round {
	border-radius: 15px;
	margin-bottom: 60px;
}
.text-white {
	color: #F8F9FA !important;
	margin-bottom: 40px;
	font-size: 54px;
	margin-top: 60px;
}
.search {
	color: #F8F9FA !important;
	margin: 0;
}

/* ----- Body ----- */
.main_panel {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 0 0 #e5e5e5;
	margin: 30px 0 0 0;
	padding: 0;
}
main .main_panel {
	padding: 3em;
}
nav .main_panel {
	margin-bottom: 20px;
	font-size: 17px;
}
/* .main_panel table {
	margin-right: auto;
	margin-left: auto;
} */

/* ----- Footer ----- */
.container-footer{
	max-width: 1170px;
	margin:auto;
}
.row-footer{
	display: flex;
	flex-wrap: wrap;
	font-size: 16px;
}
.footer{
	background-color: var(--footer-color);
    padding: 70px 0;
	margin-top: 30px;
}
.footer ul {
	list-style: none;
}
.footer-col{
	width: 25%;
	padding: 0 15px;
}
.footer-col-50 {
	width: 50%;
	padding: 0 15px;
}
.footer-col h4{
	font-size: 18px;
	color: var(--text-footer);
	margin-bottom: 35px;
	margin-top: 35px;
	font-weight: 500;
	position: relative;
}
.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: var(--main-color);
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}
.footer-col ul li:not(:last-child){
	margin-bottom: 10px;
}
.footer-col ul li a {
	text-decoration: none;
	font-weight: 300;
	color: var(--text-footer);
	display: block;
	transition: all 0.3s ease;
}
.footer-col ul li a:hover{
	color: var(--hover-footer);
	padding-left: 8px;
}
.footer-col ul {
	padding: 0 !important; 
}

/* ----- Status Login ----- */
.box {
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 2px 0 0 #e5e5e5;
	padding: 3em;
	margin: 30px 0 0 0;
}
.box.status {
	text-align: left;
	padding: 1em !important;
}
a, .box.status a:hover {
	color: var(--hover-color);
}

i.fas {
	margin-right: 5px;
}

/* ----- Browse Content ----- */
.icon-browse {
	margin-bottom: 8px;
}
.content-browse {
	font-size: 16px;
}

/* ----- About Content ----- */
.text-justify {
	text-align: justify;
	margin-top: 15px;
}
.img-responsive {
	margin: 12px 12px 12px 12px;
	border-radius: 10px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 100%; 
	height: 600px; 
	object-fit: cover;
	margin-bottom: 20px;
}
.swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
	bottom: 0px;
}
:root {
	--swiper-theme-color: rgba(74, 80, 84, 0.5);
}

/* ----- Home Content -----  */
.latest-box {
	position: relative;
	border-radius: 10px;
    padding: 0px;
	padding: 1em 1em 2em 1em;
	border: 1px solid #DEDEDE;
	width: 99%;
}
.icon-latest {
	position: absolute;
    bottom: 15px;
    right: 5px;
	color: rgba(34, 34, 34, 0.05);
}
.content-latest {
	width: calc(100% - 35px);
	padding-left: 10px;
}
.content-latest a {
	color: var(--main-color);
	font-weight: 400;
}
a, .content-latest a:hover {
	color: var(--hover-color);
	font-weight: 400;
}
.latestSwiper {
	/* padding-left: 70px; */
    padding-bottom: 23px;
}

/* ----- Responsive ----- */
@media(max-width: 767px){
	html {
		padding-top: 50px;
	}
	.hidden-mobile {
		display: none;
	}
	.container {
		font-size: smaller;
	}
	.footer {
		font-size: smaller;
		margin-top: 30px;
	}
	.text-white {
		font-size: 44px;
	}
	.footer-col {
		width: 50%;
		margin-bottom: 30px;
	}
	.navbar-inverse {
		top: 0px;
	}
	.banner {
		margin-bottom: -55px;
	}
	.img-responsive {
		height: 300px;
	}
	.content-browse {
		margin-bottom: 20px;
	}
	.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
		color: var(--text-navbar);
	}
	a, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover {
		color: var(--hover-navbar);
	}
}
@media(max-width: 574px){
	.footer-col{
		width: 100%;
	}
	.img-responsive {
		height: 150px;
	}
}
