/*!
Theme Name: rmutp23s
Theme URI: http://underscores.me/
Author: Pamok
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: rmutp23s
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

rmutp23s is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

:focus {
	outline: none;
}

body {
	font-family: 'Sarabun', sans-serif;
	font-weight: 200;
	color: #4d4d4d;
	font-size: 18px;
}

a, a:visited {
	color: #6e2996;
	text-decoration: none;
}
a:hover {
	color: #9136c6;
	text-decoration: underline;
}

.text-justify {
	text-align: justify!important;
}

#topbar {
	background-color: #6e2996;
	height: 48px;
	color: #fff;
}

#top-left {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 48px;
	margin: 0 12px;
	color: #fff;
}
#top-left a {
	color: #fff;
}

#top-menu {
	font-family: 'Prompt', sans-serif;
	font-weight: 200;
}
#top-menu::after {
	content: "";
	clear: both;
}

.lang-switch {
	background-color: #fff;
    border-radius: 15px;
    display: flex;
	padding: 1px;
}
.lang-switch a {
	display: block;
    padding: 2px 6px;
    color: #6e2996!important;
	font-size: 14px;
}
.lang-switch a.active {
	background-color: #6e2996;
    border-radius: 15px;
    color: #fff!important;
}

#masthead {
	position: sticky;
    background-color: #f5f5f5;
    box-shadow: 0 0 8px rgba(0,0,0,.2);
    top: 0;
	z-index: 11;
}
#masthead .site-branding img {
	width: 230px;
    height: auto;
    margin: 20px;
	transition: all .3s;
}
#masthead .site-branding img.smaller {
	width: 180px;
	margin: 10px 20px;
}

#site-navigation {
	font-family: 'Prompt', sans-serif;
	font-weight: 300;
}

#colophon {
	background-color: #6e2996;
	background-image: url(img/footer-bg.png);
    background-position: bottom right;
    background-repeat: no-repeat;
	color: #fff;
}
#colophon .site-info {
	color: #c7a4dc;
    font-size: 14px;
}
#footer-widget {
    background-color: rgba(0,0,0,.3);
	font-family: 'Prompt', sans-serif;
    font-weight: 100;
    font-size: 14px;
}
#footer-widget a {
	color: #e8beff;
}

.social-btn {
	background-color: #fff;
    display: flex;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    justify-content: center;
    align-items: center;
}
.social-btn i {
	font-size: 20px;
	color: #4d1c69;
}


#custom-search {
	width: 30px;
	height: 30px;
	border-radius: 15px;
	overflow: hidden;
	transition: all .3s;
	display: flex;
}
#custom-search a {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
    flex-shrink: 0;
	text-decoration: none;
}
#custom-search a:hover {
	text-decoration: none;
}
#custom-search input {
	border: 0;
	width: 170px;
	height: 30px;
	padding: 0;
	font-weight: 300;
	background-color: transparent;
}
#custom-search.show {
	background-color: #fff;
	width: 200px;
}
#custom-search.show a {
	color: #999;
}


.f-teched a{
	border-color:#e600ca!important;
}
.f-bus a{
	border-color:#00d1ff!important;
}
.f-larts a{
	border-color:#fff7b0!important;
}
.f-hec a{
	border-color:#ff61ed!important;
}
.f-sci a{
	border-color:#ffff30!important;
}
.f-itfd a{
	border-color:#00329c!important;
}
.f-mct a{
	border-color:#999999!important;
}
.f-eng a{
	border-color:#a8022d!important;
}
.f-arch a{
	border-color:#662703!important;
}
.f-csa a {
    border-color: #F6DC04!important;
}
.f-igjd a {
    border-color: #FFA242!important;
}
.faculty-card a{
	display: block;
	width:100%!important;
	color:#222!important;
	cursor:pointer;
	border-left: 5px solid #aaa;
	padding-left: 10px;
	margin-bottom: 20px;
}
.faculty-card.lg a{
    border-left: 10px solid #aaa;
}
.faculty-card a:hover{
	color:#652d91!important;
}
.faculty-card .faculty-card-title{
	display: block;
    font-weight: 500;
}
.faculty-card.lg .faculty-card-title{
    font-size: 25px;
}

.mega-sub-menu {
	box-shadow: 0 0 8px rgba(0,0,0,.3)!important;
}

.svg-flag {
	width: 1.5em!important;
    height: 1.5em!important;
    display: inline-block;
    vertical-align: middle;
}

body.single .post-thumbnail img {
	max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.single-container {
	max-width: 990px;
	padding-top: 80px;
	padding-bottom: 80px;
}

.post-navigation {
	background-color: #f5f5f5;
	padding: 40px;
}
.post-navigation .nav-links {
	max-width: 990px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: flex-start;
	justify-content: space-between;
}
.post-navigation .nav-previous {
	width: 48%;
}
.post-navigation .nav-next {
	width: 48%;
	text-align: right;
}

.slider-indicators * {
	box-sizing: content-box!important;
}

.swiffy-slider .card-title {
	flex-shrink: 0;
	display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-title {
	font-family: 'Prompt', sans-serif;
	font-weight: 400;
}
.btn {
	font-family: 'Prompt', sans-serif;
	font-weight: 200;
}
.ratio img {
	object-fit: cover;
	height: 100%!important;
}
.btn-purple {
	background-color: #6d2995;
	border-color: #6d2995;
}
.btn-purple:hover {
	background-color: #551c76;
	border-color: #551c76;
}


.wp-pagenavi {
	display: flex;
    justify-content: center;
    align-items: center;
}
.wp-pagenavi .pages {
	margin-right: 10px;
}
.wp-pagenavi .page, .wp-pagenavi .current, .wp-pagenavi .previouspostslink, .wp-pagenavi .nextpostslink {
	display: flex;
    min-width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin: 0 8px;
}
.wp-pagenavi .page:hover, .wp-pagenavi .previouspostslink:hover, .wp-pagenavi .nextpostslink:hover {
	background-color: #eee;
}
.wp-pagenavi .current {
	background-color: #6e2a96;
	color: #fff;
}


.entry-footer {
	display: flex;
}
.entry-footer .cat-links {
    width: 100%;
}


.basic-gallery-ratio43 .gallery-item a {
	aspect-ratio: 4/3;
	display: block;
}
.basic-gallery-ratio43 .gallery-item a img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}


@media (max-width: 575.98px) {
	#masthead .site-branding img {
		width: 210px;
		margin: 16px 0;
	}
	#masthead .site-branding img.smaller {
		width: 160px;
		margin: 10px 0;
	}
	.single-container {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.post-navigation {
		padding: 20px;
	}
	.post-navigation .nav-links {
		flex-direction: column;
	}
	.post-navigation .nav-previous, .post-navigation .nav-next {
		width: 100%;
		margin: 10px 0;
		text-align: left;
	}
}
