/*
Theme Name: Lepak Mou
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lepakmou
Tags: 
*/

@font-face {
font-family: "LibreFranklin";
src: url("/wp-content/themes/lepakmou/assets/font/LibreFranklin-Regular.ttf") format("truetype");
}

body {
	font-family: "LibreFranklin", sans-serif;
	font-size: 16px;
	font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
	margin-bottom: 20px;
	color: #5F22D9;
	font-weight: 700;
}
h1 {
	margin-top: 25px;
	font-size: 36px;
}
h2 {
	margin-top: 25px;
	font-size: 24px;
}
h3 {
	margin-top: 18px;
	font-size: 18px;
}
img {
	max-width: 100%;
	height: auto;
}
a {
	color: #5F22D9;
}
p {
	margin-bottom: 24px;
}
table {
	width: 100%;
	margin-bottom: 15px;
}
table td {
	border: 1px solid;
	padding: 5px;
}
.img-wrapper {
	margin-bottom: 15px;
}
#main {
	margin-top: 20px;
}
.main-head {
	display: flex;
	background: #fff;
}
.head-logo {
	display: grid;
	align-items: center;
	justify-items: center;
	width: 20%;
	padding: 10px 20px;
}
.head-logo img {
	width: 220px;
	height: auto;
}
.header-right {
	display: grid;
	align-items: stretch;
	background: #5F22D9;
	padding: 20px 30px;
	width: 80%;
	gap: 15px;
}
.head-search, .head-search-form {
	position: relative;
	text-align: right;
}
.head-search input {
	border-radius: 20px;
	padding: 6px 20px 6px 10px;
	border: none;
	width: 400px;
}
.head-search-form .fa-search {
	position: absolute;
	top: 50%;
	translate: 0 -50%;
	--tw-translate-y: -50%;
	right: 10px;
	z-index: 9999;
	color: #5F22D9;
}
.header-menu {
	padding-top: 25px;
	font-weight: 600;
	position: relative;
	border-top: 1px solid #fff;
}
#menu-main-menu {
	margin: 0;
	padding: 0;
	text-align: center;
}
.menu>li {
	display: inline-block;
	margin: 0 8px;
	position: relative;
}
.menu>li a {
	color: #fff;
	font-size: 16px;
}
.menu>li a:hover {
	text-decoration: none;
}
.header-menu .sub-menu {
	background: #fff;
	position: absolute;
	z-index: 999;
	visibility: hidden;
	width: auto;
	min-width: 200px;
	border-radius: 13px;
	padding: 10px 20px;
	right: -10px;
	box-shadow: 0 8px 9px 0 rgba(0,0,0,.1);
	text-align: left;
}
.header-menu .sub-menu>li {
	list-style: none;
	padding: 3px;
}
.sub-menu>li>a {
	color: #000;
	text-transform: none;
}
#menu-main-menu li.menu-item-has-children:hover>.sub-menu {
	visibility: visible;
}
.mobile-menu-icon {
	display: none;
}
.mobile-menu-icon div {
	width: 21px;
	height: 4px;
	background: #fff;
	border-radius: 3px;
}
.mobile-menu-icon div:nth-child(1),
.mobile-menu-icon div:nth-child(2) {
	margin-bottom: 4px;
}
.mobile-menu-overlay {
	background: rgb(175 175 175 / 80%);
	position: fixed;
	display: block;
	z-index: 100000;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	visibility: hidden;
}
.mobile-menu-overlay.active {
	visibility: visible;
}
.mobile-menu-overlay .mmobile-toggle {
	background: #f3f3f3;
	padding: 30px 10px;
	overflow-y: auto;
	width: 100%;
	max-width: 320px;
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
}
.mobile-menu-close-button {
	top: 45px;
	right: 30px;
	width: 20px;
	position: absolute;
}
.close-icon .to-right {
	color: #000;
	top: 10px;
	left: 0;
	width: 20px;
	height: 1px;
	background-color: #7f8c8d;
	-moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}
.close-icon .to-left {
	color: #000;
	top: 10px;
	left: 0;
	width: 20px;
	height: 1px;
	background-color: #7f8c8d;
	-moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
.mmobile-logo {
	text-align: center;
	margin-top: 15px;
	margin-bottom: 20px;
}
ul.mobmenu {
	list-style: none;
	padding: 15px;
	margin: 0;
}
ul.mobmenu li {
	padding: 3px 0;
}
ul.mobmenu li a {
	color: #2d2d2c;
	font-weight: 500;
}
.mobmenu .sub-menu {
	position: relative;
	list-style: none;
	padding: 10px 10px 10px 20px;
}
footer {
	background: #5F22D9;
	margin-top: 30px;
}
footer .footer-top {
	padding-top: 40px;
	padding-bottom: 30px;
	font-size: 16px;
}
footer .footer-top .footer-top-grid {
	display: grid;
	grid-template-columns: 30% 70%;
}
footer .footer-top .footer-top-grid .footer-top-desc,
footer .footer-top .footer-top-grid .footer-top-menu {
	padding: 0 15px;
}
.f-menu-wrap {
	display: flex;
	font-size: 14px;
	justify-content: flex-end;
	gap: 30px;
	color: #6e6d6b;
}
.f-menu-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	line-height: 30px;
	font-weight: 700;
}
.f-menu-list ul li a {
	color: #fff;
	padding: 8px 0;
}
.footer-copyright {
	padding: 15px 0;
}
.footer-copyright p {
	margin: 0;
	text-align: center;
	color: #fff;
	font-size: 13px;
}
.widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.sidebar .widget .widget-title {
	font-size: 26px;
	font-weight: 500;
	line-height: 50px;
}
.sidebar .widget ul li {
	padding: 10px 0;
	border-top: 1px solid #d1d1d1;
}
.post-info {
	font-size: 14px;
	margin-bottom: 20px;
}
.post-info .post-info__left,
.post-info .post-info__right {
	display: inline-block;
}
.post-info .post-info__right {
	float: right;
}

.home-intro {
	margin-top: 20px;
	margin-bottom: 30px;
}
.h-banner-cat {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 33px;
	gap: 20px;
}
.h-banner-cat .h-banner-cat-child {
	background: #fff;
	padding: 10px 20px;
	box-shadow: 0 0 8px rgba(28,29,32,0.12);
	border-radius: 10px;
	width: 100%;
	flex: 10%;
}
.h-banner-cat a {
	color: #3b3b3b;
	font-weight: 500;
	font-size: 18px;
	display: block;
}
.h-about-wrap {
	display: grid;
	margin: 20px 0;
	grid-template-columns: 1fr 1fr;
	align-items: center;
}
.h-about-wrap .h-about-img {
	text-align: center;
}
a.h-about-cta {
	color: #5F22D9;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
}
.h-btn-wrap {
	padding-top: 35px;
	padding-bottom: 15px;
	text-align: center;
}
a.btn-purple {
	background: #5F22D9;
	color: #fff;
	font-weight: 700;
	padding: 6px 15px;
	border-radius: 20px;
	box-shadow: 0 5px 10px rgba(0,0,0,.1);
}
a.btn-purple:hover {
	text-decoration: none;
	background: #7D4DDE;
}
.news-grid-2 {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 20px;
}
.news-grid-wrapper {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 20px;
}
.news-item {
	box-shadow: 0 5px 5px rgba(0,0,0,.1);
	border-radius: 5px;
	height: 100%;
}
.news-item .thumb-wrapper img {
	border-radius: 5px 5px 0 0;
}
.news-item .new-text-group {
	padding: 15px;
}
.news-grid-wrapper .news-item {
	padding: 10px;
}
.news-item .thumb-wrapper img {
	object-fit: cover;
}
.new-text-group .news-item-title {
	margin: 8px 0;
}
.new-text-group .news-item-title a {
	font-size: 20px;
	color: #000;
}
.new-text-group .news-item-title a:hover {
	text-decoration: none;
	color: #0056b3;
}
.news-info {
	font-size: 12px;
}
.news-info a {
	color: #5F22D9;
	font-weight: 700;
	text-transform: uppercase;
}
.featured-grid-wrapper .featured-bg-item .new-text-group {
	margin-top: 15px;
}
.featured-grid-wrapper .thumb-wrapper img {
	border-radius: 5px;
}
.featured-grid-wrapper .featured-sm-item {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	justify-content: space-between;
	align-items: center;
}
.featured-grid-wrapper .featured-sm-item .news-item-title {
	font-size: 18px;
}
.featured-grid-wrapper .featured-sm-item .thumb-wrapper img {
	width: 150px;
	height: auto;
}
.featured-grid-wrapper .featured-sm-item .thumb-wrapper {
	flex-shrink: 0;
}
.pagination {
	justify-content: center;
	margin: 25px 0;
	gap: 7px;
}
.pagination .page-numbers {
	padding: 10px 12px;
	background: #5F22D9;
	border-radius: 8px;
	color: #fff;
}
.pagination .next.page-numbers,
.pagination .prev.page-numbers {
	background: none;
	color: #5F22D9;
}
.su-spoiler-title:focus {
    outline: none;
}
.su-spoiler-title h3 {
    font-size: 16px;
    margin: 0;
}
.su-spoiler-title p {
    display: none;
}
.disclaimer-wrap {
	font-size: 11px;
	padding-top: 20px;
	padding-bottom: 20px;
	border-top: 1px solid #d1d1d1;
	border-bottom: 1px solid #d1d1d1;
}
.ez-toc-widget-sticky-container ul.ez-toc-widget-sticky-list li.active {
    background-color: transparent !important;
}

#ez-toc-container {
    width: 100%;
    display: block;
    border: none;
    margin: 15px 0;
}

#ez-toc-container ul li {
    list-style-type: none;
}
.t-scroll {
    overflow: auto;
    position: relative;
}

.t-scroll table {
    margin: 0;
}

.nowrap-table {
    white-space: nowrap;
}

table.sticky-table .column-sticky {
    position: sticky;
    left: 0;
    background: #f6f6f6;
    width: 20%;
    min-width: 100px;
}

table.sticky-table td {
    max-width: 250px;
    min-width: 100px;
}
.social-wrapper {
	text-align: center;
}
.social-wrapper .title {
	text-transform: uppercase;
	color: #6e6d6b;
	margin-bottom: 15px;
	font-size: 14px;
	font-weight: 700;
}
.social-wrapper img {
	max-width: 25px;
	height: auto;
	margin: 0 4px;
}
.author-title {
	display: flex;
	margin: 20px 0;
	gap: 15px;
	align-items: center;
}
.owl-carousel .owl-stage {
	padding: 10px;
	display: flex;
}
.menu-flag-dropdown {
    display: inline-block;
    position: relative;
	float: right;
	margin-top: 15px;
}

.menu-flag-dropdown:hover .flag-dropdown-option {
    display: block;
}

.menu-flag-dropdown button.flag-btn {
    border-radius: 20px;
    padding: 5px 8px;
    cursor: pointer;
    background: none;
	border: 1px solid #fff;
}
.menu-flag-dropdown button.flag-btn .lang-name {
	padding: 0 8px;
	color: #fff;
	font-weight: 700;
}
.menu-flag-dropdown .flag-dropdown-option {
    display: none;
    position: absolute;
    overflow: auto;
    background: #fff;
    color: #121212;
    border-radius: 5px;
    padding: 12px;
    right: 5px;
	bottom: 35px;
    width: 220px;
    z-index: 1;
	box-shadow: 0 5px 5px rgba(0,0,0,.1);
}

.menu-flag-dropdown .flag-dropdown-option .option-wrap {
	display: flex;
	align-items: center;
}

.menu-flag-dropdown .flag-dropdown-option a {
    color: #121212;
    padding: 10px;
    margin: 0;
    font-size: 16px;
}

.menu-flag-dropdown .flag-dropdown-option img.lang-icon {
    margin-right: 15px;
}

.menu-flag-dropdown img.lang-icon {
    height: 25px;
    width: 25px;
}

.menu-flag-dropdown img.language-dropdown-icon {
    height: 13px;
    width: 13px;
}

.footer-social {
	display: inline-block;
	margin-top: 15px;
}

.footer-social img {
    width: 30px;
}

.footer-social a {
	margin-right: 10px;
}
@media screen and (max-width: 991px) {
	.news-grid-wrapper {
		grid-template-columns: repeat(2,1fr);
	}
}

@media screen and (max-width: 767px) {
	.head-logo {
		width: 120px;
		padding: 5px 10px;
	}
	.head-search {
		display: none;
	}
	.mobile-menu-icon {
		display: block;
		cursor: pointer;
	}
	.hidden-md-down {
		display: none;
	}
	.header-right {
		display: inline-block;
	}
	.header-menu {
		float: right;
		border: none;
	}
	.head-logo img {
		width: 200px;
	}
	.f-logo img {
		width: 150px;
	}
	footer .footer-top .footer-top-grid {
		display: block;
		text-align: center;
	}
	footer .footer-top .footer-top-grid .footer-top-desc, footer .footer-top .footer-top-grid .footer-top-menu {
		padding: 0;
		margin: 10px 0;
	}
	.footer-social {
		text-align: center;
	}
	.news-grid-wrapper {
		grid-template-columns: repeat(1,1fr);
	}
	.news-item .thumb-wrapper img {
		height: 100%;
	}
	.h-banner-cat .h-banner-cat-child {
		flex: 0 0 30%;
	}
	.f-menu-wrap {
		justify-content: center;
		margin-top: 20px;
	}
	.f-menu-list ul li {
		display: inline-block;
	}
	.f-menu-list ul li a {
		padding: 0 10px;
		border-right: 1px solid #fff;
	}
	.f-menu-list ul li:last-child a {
		border: none;
	}
	.h-about-wrap {
		gap: 20px;
	}
}
@media screen and (max-width: 435px) {
	.h-banner-cat .h-banner-cat-child {
		flex: 0 0 40%;
	}
	.h-about-wrap {
		grid-template-columns: 1fr;
		text-align: center;
		margin: 0;
	}
}