/*!
Theme Name: Ministry of Environment - New
Theme URI: http://underscores.me/
Author: mptc
Author URI: http://underscores.me/
Description: The new version of moe theme
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: moe
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 with others.

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

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
@font-face {
  font-family: 'KhmerOSContent';
  src: url("fonts/KhmerOSContent/KhmerOSContent.eot?#iefix") format("embedded-opentype"), url("fonts/KhmerOSContent/KhmerOSContent.woff") format("woff"), url("fonts/KhmerOSContent/KhmerOSContent.ttf") format("truetype"), url("fonts/KhmerOSContent/KhmerOSContent.svg#KhmerOSContent") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'KhmerOSContent-Bold';
  src: url("fonts/KhmerOSContent-Bold/KhmerOSContent-Bold.eot?#iefix") format("embedded-opentype"), url("fonts/KhmerOSContent-Bold/KhmerOSContent-Bold.woff") format("woff"), url("fonts/KhmerOSContent-Bold/KhmerOSContent-Bold.ttf") format("truetype"), url("fonts/KhmerOSContent-Bold/KhmerOSContent-Bold.svg#KhmerOSContent-Bold") format("svg");
  font-weight: normal;
  font-style: normal;
}

:root {
  --main-color: #0e993c;
  --main-color-lightweight: #CFE5D3;
  --main-color-text: #fff;
  --main-color-box-bg: #ecfcef;
  --post-border-style: solid;
  --post-border-width: 2px;
  --default-text-color: #4a4a4a;
  --menu-active-color: #0B6998;
  --font-size-paragraph-small-extra: 10px;
  --font-size-paragraph-small: 13px;
  --font-size-paragraph-normal: 15px;
  --font-size-paragraph-larger: 1em;
  --font-size-header-normal: 1.25em;
  --font-size-header-larger: 1.5em;
  --font-size-header-larger-extra: 2em;
}

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
  color: #4a4a4a;
  font-family: "KhmerOSContent", "Roboto";
  font-size: 16px;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
  font-family: "KhmerOSContent-Bold", "Roboto";
}

p {
  margin-bottom: 1.5em;
}

dfn, cite, em, i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code, kbd, tt, var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 15px;
  font-size: 0.9375rem;
}

abbr, acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark, ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

*,
*:before,
*:after {
  /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul, ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 1.5em 1.5em;
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}


button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1;
  padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}



a {
  color: #4a4a4a;
  -webkit-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
}

a:visited {
  color: #4a4a4a;
}

a:hover, a:focus, a:active {
  color: #077f36;
}

a:focus {
  outline: thin dotted;
}

a:hover, a:active {
  outline: 0;
}


.menu-wrapper {
  display: inline-block;
  width: 100%;
}

.menu-wrapper .main-navigation {
  width: 80%;
  float: left;
}

.menu-wrapper .search-form {
  width: 20%;
  float: right;
  position: relative;
}

.menu-wrapper .search-form input {
  width: 100%;
  border: 1px solid #087f37;
  border-radius: 0;
  height: 30px;
  font-size: 12px;
  padding: 7px 30px 7px 7px;
  padding-right: 30px;
  text-align: right;
  -webkit-appearance: none;
}

.menu-wrapper .search-form input::-webkit-input-placeholder {
  line-height: 25px;
}

.menu-wrapper .search-form button[type="submit"] {
  position: absolute;
  top: 50%;
  right: 0;
  background: none;
  border: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  color: #087f37;
  font-size: 1em;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

@media screen and (max-width: 768px) {
  .menu-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
    z-index: 1000;
    background: #077f36;
    padding: 15px;
  }
  .menu-wrapper .main-navigation {
    width: 100%;
    margin: 0;
  }
  .menu-wrapper .main-navigation #primary-menu {
    display: block;
  }
  .menu-wrapper .main-navigation #primary-menu li {
    width: 100%;
    padding: 5px 0;
    margin: 0;
  }
  .menu-wrapper .main-navigation #primary-menu li a {
    color: #ffffff;
    font-size: 1em;
  }
  .menu-wrapper .main-navigation #primary-menu li .sub-menu {
    position: relative;
    top: auto;
    left: auto;
    margin: 0;
    padding: 5px 15px 0 15px;
    display: none;
  }
  .menu-wrapper .main-navigation #primary-menu li .sub-menu li {
    padding: 2px 0;
  }
  .menu-wrapper .main-navigation #primary-menu li .sub-menu li a {
    font-size: 0.876em;
  }
  .menu-wrapper .main-navigation #primary-menu li.menu-item-has-children:hover .sub-menu, .menu-wrapper .main-navigation #primary-menu li.menu-item-has-children:focus .sub-menu {
    display: block;
  }
  .menu-wrapper .search-form {
    width: 100%;
    margin-top: 20px;
  }
}

#hamberger-menu {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 1;
  display: none;
  -webkit-user-select: none;
  -moz-user-select: none;
   -ms-user-select: none;
       user-select: none;
}

@media screen and (max-width: 768px) {
  #hamberger-menu {
    display: block;
  }
}

@media screen and (max-width: 576px) {
  #hamberger-menu {
    right: 15px;
  }
}

#hamberger-menu input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0;
  
  z-index: 2;
  
  -webkit-touch-callout: none;
}

#hamberger-menu span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #077f36;
  border-radius: 0px;
  z-index: 1;
  -webkit-transform-origin: 4px 0px;
          transform-origin: 4px 0px;
  -webkit-transition: background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease, -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  transition: background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease, -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease, -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

#hamberger-menu span:first-child {
  -webkit-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
}

#hamberger-menu span:nth-last-child(1) {
  -webkit-transform-origin: 0% 100%;
          transform-origin: 0% 100%;
}

#hamberger-menu input:checked ~ span {
  opacity: 1;
  -webkit-transform: rotate(45deg) translate(-2px, -1px);
          transform: rotate(45deg) translate(-2px, -1px);
  background: #077f36;
}

#hamberger-menu input:checked ~ span:nth-last-child(2) {
  opacity: 0;
  -webkit-transform: rotate(0deg) scale(0.2, 0.2);
          transform: rotate(0deg) scale(0.2, 0.2);
}

#hamberger-menu input:checked ~ span:nth-last-child(1) {
  -webkit-transform: rotate(-45deg) translate(0, -1px);
          transform: rotate(-45deg) translate(0, -1px);
}

.main-navigation {
  clear: both;
  display: block;
  float: left;
  width: 100%;
  margin-top: 5px;
}

@media screen and (max-width: 1100px) {
  .main-navigation {
    font-size: 13px;
  }
}

.main-navigation #primary-menu > li {
  padding: 0 25px;
}

@media screen and (max-width: 1300px) {
  .main-navigation #primary-menu > li {
    padding: 0 10px;
  }
}

.main-navigation #primary-menu > li:first-child {
  padding-left: 0;
}

.main-navigation #primary-menu > li:before {
  content: ".";
  position: absolute;
  top: 0;
  left: 0;
  line-height: 1em;
}

.main-navigation #primary-menu > li:first-child:before {
  display: none;
}

.main-navigation #primary-menu > li:hover > a:before, .main-navigation #primary-menu > li.current-menu-item > a:before {
  content: " ";
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #077f36;
  width: 100%;
  height: 1px;
}

.main-navigation #primary-menu > li.menu-item-has-children > a {
  position: relative;
  padding-right: 12px;
}

.main-navigation #primary-menu > li.menu-item-has-children > a:after {
  content: "\e904";
  font-family: 'icomoon' !important;
  font-size: 0.5em;
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li {
  margin-bottom: 5px;
  min-width: 200px;
  clear: both;
  white-space: nowrap;
  width: 100%;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  left: 100%;
  margin-top: -10px;
}

.main-navigation ul ul a {
  color: #ffffff;
  display: inline-block;
  font-size: 0.875em;
}

.main-navigation ul ul :hover > a:before,
.main-navigation ul ul .focus > a:before {
  content: " ";
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #ffffff;
  width: 100%;
  height: 1px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}

.main-navigation li {
  float: left;
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
  font-family: "KhmerOSContent-Bold", "Roboto";
  position: relative;
}

.main-navigation .sub-menu {
  background-color: #077f36;
  padding: 10px 0;
}

.main-navigation .sub-menu .menu-item {
  padding-left: 10px;
  padding-right: 10px;
}

.main-navigation .sub-menu .menu-item-has-children > a {
  padding-right: 12px;
}

.main-navigation .sub-menu .menu-item-has-children > a:after {
  content: "\e904";
  font-family: 'icomoon' !important;
  font-size: 0.4em;
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%) rotate(0deg);
          transform: translateY(-50%) rotate(0deg);
}

.main-navigation .sub-menu .menu-item-has-children:hover > a:after {
  -webkit-transform: translateY(-50%) rotate(270deg);
          transform: translateY(-50%) rotate(270deg);
}


.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
  .main-navigation ul {
    display: block;
  }
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}



.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
          box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
          clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  
}


#content[tabindex="-1"]:focus {
  outline: 0;
}


.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}


.widget {
  margin: 0 0 1.5em;
  
}

.widget select {
  max-width: 100%;
}

.widget-header {
  position: absolute;
  top: 50%;
  right: 15px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

@media screen and (max-width: 576px) {
  .widget-header {
    right: 15px;
    top: -5px !important;
  }
}

.widget-header .custom-html-widget {
  display: inline-block;
}

.widget-header .custom-html-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget-header .custom-html-widget ul li {
  display: inline-block;
  margin-left: 20px;
}

@media screen and (max-width: 576px) {
  .widget-header .custom-html-widget ul li {
    margin-left: 5px;
  }
}

.widget-header .custom-html-widget ul li a {
  text-decoration: none;
  position: relative;
  padding: 0 0 0 25px;
}

.widget-header .custom-html-widget ul li a > span:first-child {
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

@media screen and (max-width: 768px) {
  .widget-header .custom-html-widget ul li a {
    font-size: 0.7em;
    padding-left: 15px;
  }
}

.widget-header .custom-html-widget ul li a .icon-mail {
  font-size: 1.3em;
}

.widget-header .wpml-ls-legacy-dropdown {
  width: auto;
  display: inline-block;
  padding-left: 10px;
}

.widget-header .wpml-ls-legacy-dropdown ul li a {
  border: 0;
  padding: 0 12px 0 8px;
  background: none !important;
}

.widget-header .wpml-ls-legacy-dropdown ul li a span {
  font-family: "KhmerOSContent", "Roboto";
  font-size: 0.8em;
  color: #4a4a4a;
  display: inline-block;
  padding: 5px 0 5px 0;
}

.widget-header .wpml-ls-legacy-dropdown ul li a:hover span {
  color: #077f36;
}

.widget-header .wpml-ls-legacy-dropdown ul li a.wpml-ls-item-toggle::after {
  content: "\e904";
  font-family: 'icomoon' !important;
  top: calc(50% - 4px);
  color: #4a4a4a;
  right: 0;
  font-size: 8px;
  border: 0;
}

.widget-header .wpml-ls-legacy-dropdown ul li .wpml-ls-sub-menu {
  border-top: 0.5px solid #4a4a4a;
}

.widget-background-photo {
  width: 100%;
}

.widget-background-photo img {
  width: 100%;
}

.widget-footer-logo {
  margin: 0 0 2em 0;
}

.widget-footer-logo a {
  -webkit-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
}

.widget-footer-logo a:hover {
  opacity: 0.8;
}

.widget-footer-logo img {
  max-width: 16em !important;
}

.widget-footer h2 {
  font-size: 1em;
  color: #ffffff;
  padding: 0;
  margin: 0 0 1em 0;
}

.widget-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #ffffff;
}

.widget-footer ul li {
  margin: 0 0 7px 0;
  font-size: 0.88em;
  position: relative;
  padding: 0;
}

.widget-footer ul li > span {
  position: absolute;
  top: 3px;
  left: 0;
  font-size: 12px;
}

.widget-footer a {
  color: #ffffff;
}

.widget-footer-01 {
  padding-left: 4.5em;
}

@media screen and (max-width: 768px) {
  .widget-footer-01 {
    padding-left: 0;
  }
}

.widget-footer-01 h2 {
  padding: 0 0 0 20px;
}

.widget-footer-01 ul li {
  padding: 0 0 0 20px;
}



.sticky {
  display: block;
}

.post,
.page {
  margin: 0;
  background-color: #fafafa;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}


.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

.page-title {
  line-height: 1.6;
}

@media screen and (max-width: 576px) {
  .page-title {
    font-size: 1.4em;
  }
}

.single-post .page-header {
  margin-bottom: 1em;
}

.single-post .page-header .page-title {
  margin-bottom: 0;
}

.small-gutters {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: 0;
  margin-right: 0;
}

.small-gutters > .col,
.small-gutters > [class*="col-"] {
  padding-right: 7.5px;
  padding-left: 7.5px;
}


#header {
  width: 100%;
  padding-top: 1em;
  padding-bottom: 1em;
  position: relative;
}

@media screen and (min-width: 1024px) {
  #header {
    width: 96%;
    max-width: 1300px;
  }
}

@media screen and (max-width: 1140px) {
  #header {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
  }
}

#header .site-branding {
  position: relative;
  width: 100%;
  display: inline-block;
}

#header .site-branding .custom-logo-link {
  margin: 0 0 1em 0;
  float: left;
  max-width: 50%;
}

@media screen and (max-width: 576px) {
  #header .site-branding .custom-logo-link {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 576px) {
  #header .site-branding .custom-logo-link {
    max-width: 40%;
  }
}

#header .site-branding .custom-logo-link img {
  width: 21em;
  max-width: 100%;
}

#header .site-branding .widget-header {
  float: right;
  max-width: 50%;
}

@media screen and (max-width: 768px) {
  #header .site-branding .widget-header {
    top: 20%;
    -webkit-transform: none;
            transform: none;
  }
}

#hp-slideshow .carousel-item {
  height: 40em;
}

@media screen and (max-width: 768px) {
  #hp-slideshow .carousel-item {
    height: 20em;
  }
}

@media screen and (max-width: 576px) {
  #hp-slideshow .carousel-item {
    height: 14em;
  }
}

#hp-slideshow .carousel-item > img {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

#hp-slideshow .carousel-control-prev {
  width: 10%;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  #hp-slideshow .carousel-control-prev {
    width: 5%;
  }
}

#hp-slideshow .carousel-control-prev a:hover {
  opacity: .5;
}

#hp-slideshow .carousel-control-prev .icon-arrow-left {
  font-size: 2em;
}

#hp-slideshow .carousel-control-next {
  width: 10%;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  #hp-slideshow .carousel-control-next {
    width: 5%;
  }
}

#hp-slideshow .carousel-control-next a:hover {
  opacity: .5;
}

#hp-slideshow .carousel-control-next .icon-arrow-right {
  font-size: 2em;
}

#hp-slideshow .carousel-caption {
  text-align: left;
  padding: 0;
  right: auto;
  left: auto;
  width: 100%;
}

#hp-slideshow .carousel-caption h2 {
  font-size: 2em;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  #hp-slideshow .carousel-caption h2 {
    font-size: 1.5em;
  }
}

@media screen and (max-width: 576px) {
  #hp-slideshow .carousel-caption h2 {
    font-size: 1em;
  }
}

#hp-slideshow .carousel-caption h2 a {
  color: #ffffff;
  text-shadow: 1px 2px 2px #00000099;
}

#hp-slideshow .carousel-caption p {
  margin-bottom: 0;
  font-family: "KhmerOSContent-Bold", "Roboto";
  line-height: 1.8;
}


#footer {
  background-color: #077f36;
  padding: 1em 0;
  width: 100%;
}

#footer .site-copyright-text {
  margin-top: 2em;
}

#footer .site-copyright-text p {
  font-size: 0.88em;
  color: #ffffff;
  margin: 0;
  text-align: center;
}

.footer-social li {
  display: inline-block;
}

.footer-social li a {
  text-decoration: none;
  -webkit-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
}

.footer-social li a span {
  font-size: 1.68em;
}

.footer-social li a:hover {
  opacity: 0.8;
}

.footer-social li a:first-child {
  margin-right: 10px;
}


.vc_row .vc_col-sm-6:first-child .vc_column-inner {
  padding-right: 7.5px;
}

@media screen and (max-width: 767px) {
  .vc_row .vc_col-sm-6:first-child .vc_column-inner {
    padding-right: 15px;
  }
}

.vc_row .vc_col-sm-6:last-child .vc_column-inner {
  padding-left: 7.5px;
}

@media screen and (max-width: 767px) {
  .vc_row .vc_col-sm-6:last-child .vc_column-inner {
    padding-left: 15px;
  }
}

.block-posts {
  margin: 15px 0 0 0;
  overflow: hidden;
  -webkit-box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.25);
          box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.25);
}

.block-posts.block-small {
  height: 450px;
}

.block-posts.block-medium {
  height: 560px;
}

@media screen and (max-width: 800px) {
  .block-posts.block-medium {
    height: 450px;
  }
}

.block-posts.block-large {
  max-height: 530px;
}

.block-posts.block-large .thumbnail {
  height: auto;
}

.block-posts.block-large .block-heading .tags-wrapper {
  min-height: 0;
}

.block-posts.block-large .block-body a {
  min-height: 0;
}

@media screen and (max-width: 767px) {
  .block-posts {
    height: auto !important;
  }
}

.block-posts .thumbnail {
  max-height: 365px;
  overflow: hidden;
}

@media screen and (max-width: 800px) {
  .block-posts .thumbnail {
    height: 210px;
  }
}

.block-posts .thumbnail a {
  display: inline-block;
  position: relative;
  width: 100%;
  -webkit-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
}

.block-posts .thumbnail a:hover {
  opacity: 0.85;
}

.block-posts .thumbnail a img {
  width: 100%;
}

.block-posts .thumbnail .icon-play-video {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  max-width: 5em;
}

.block-posts .block-heading {
  padding: 10px 10px 5px 10px;
  display: inline-block;
  width: 100%;
}

.block-posts .block-heading .category-and-published-date {
  position: relative;
  width: 60%;
  float: left;
  padding: 2px 10px 2px 10px;
}

@media screen and (max-width: 800px) {
  .block-posts .block-heading .category-and-published-date {
    width: 100%;
  }
}

.block-posts .block-heading .category-and-published-date:before {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background-color: #077f36;
}

.block-posts .block-heading .category-and-published-date .category {
  float: left;
  font-family: "KhmerOSContent-Bold", "Roboto";
  font-size: 1em;
}

.block-posts .block-heading .category-and-published-date .published-date {
  float: left;
  clear: left;
  font-size: 0.68em;
}

.block-posts .block-heading .tags-wrapper {
  width: 40%;
  float: left;
  text-align: right;
}

@media screen and (max-width: 800px) {
  .block-posts .block-heading .tags-wrapper {
    width: 100%;
    text-align: left;
    min-height: 25px;
  }
}

@media screen and (max-width: 767px) {
  .block-posts .block-heading .tags-wrapper {
    min-height: 0;
  }
}

.block-posts .block-heading .tags-wrapper .tags {
  position: relative;
  display: inline-block;
  padding-left: 25px;
}

.block-posts .block-heading .tags-wrapper .tags .icon-tags {
  position: absolute;
  top: 6px;
  left: 0;
  font-size: 16px;
  color: #4a4a4a;
}

.block-posts .block-heading .tags-wrapper .tags .tag-item,
.block-posts .block-heading .tags-wrapper .tags .tag-separator {
  display: inline-block;
  font-size: 0.6em;
}

.block-posts .block-heading .tags-wrapper .tags .tag-separator {
  padding: 0 3px;
}

.block-posts .block-body {
  padding: 0 10px 10px 10px;
}

.block-posts .block-body a {
  font-size: 1em;
  line-height: 1.8em;
  font-family: "KhmerOSContent-Bold", "Roboto";
  margin: 0 0 10px 0;
  display: block;
  min-height: 57px;
}

@media screen and (max-width: 800px) {
  .block-posts .block-body a {
    font-size: 0.8em;
    min-height: 50px;
  }
}

@media screen and (max-width: 767px) {
  .block-posts .block-body a {
    min-height: 0;
  }
}

.block-posts .block-body p {
  font-size: 0.85em;
  line-height: 1.7em;
  margin: 0 0 5px 0;
}

@media screen and (max-width: 800px) {
  .block-posts .block-body p {
    font-size: 0.75em;
  }
}


.block-download-pdf {
  margin: 2em 0;
  -webkit-box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.25);
          box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.25);
  padding: 1.5em 2em 1.5em 3.5em;
  position: relative;
}

@media screen and (max-width: 767px) {
  .block-download-pdf {
    padding: 1em 2em;
  }
}

@media screen and (max-width: 576px) {
  .block-download-pdf {
    padding: 1em 0.5em;
  }
}

.block-download-pdf .content {
  position: relative;
  padding: 0 0 0 5.5em;
}

.block-download-pdf .content img {
  max-width: 4.6em;
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.block-download-pdf .content .desc h2 {
  font-size: 1.6em;
  font-family: "KhmerOSContent-Bold", "Roboto";
  margin: 0;
}

@media screen and (max-width: 576px) {
  .block-download-pdf .content .desc h2 {
    font-size: 1em;
  }
}

.block-download-pdf .content .desc p {
  font-size: 0.8em;
  margin: 0;
}

.block-download-pdf .content .link-dl-pdf {
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  font-size: 1.2em;
  background-color: #077f36;
  color: #ffffff;
  padding: 10px 20px;
}

@media screen and (max-width: 767px) {
  .block-download-pdf .content .link-dl-pdf {
    position: relative;
    top: auto;
    right: auto;
    -webkit-transform: none;
            transform: none;
    margin-top: 10px;
    display: inline-block;
  }
}

@media screen and (max-width: 576px) {
  .block-download-pdf .content .link-dl-pdf {
    font-size: 1em;
  }
}


.site-content .dataTables_wrapper {
  -webkit-box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.25);
          box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.25);
}

.site-content .dataTables_wrapper .dataTables_length {
  margin: 0 0 0 1em;
  padding: 10px 0;
}

.site-content .dataTables_wrapper .dataTables_length label {
  font-size: 14px;
}

.site-content .dataTables_wrapper .dataTables_filter {
  margin: 0 1em 0 0;
  padding: 10px 0;
}

@media screen and (max-width: 767px) {
  .site-content .dataTables_wrapper .dataTables_filter {
    margin-right: 0;
  }
}

.site-content .dataTables_wrapper .dataTables_filter label {
  position: relative;
  width: 256px;
  float: right;
}

@media screen and (max-width: 767px) {
  .site-content .dataTables_wrapper .dataTables_filter label {
    float: none;
  }
}

.site-content .dataTables_wrapper .dataTables_filter label:after {
  content: "\e908";
  position: absolute;
  top: 50%;
  right: 7px;
  font-family: 'icomoon';
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.site-content .dataTables_wrapper .dataTables_filter label input {
  border: 1px solid #4a4a4a;
  border-radius: 0;
  width: 100%;
  height: 30px;
  font-size: 12px;
  text-align: right;
  padding-right: 30px;
  float: right;
  -webkit-appearance: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.site-content .dataTables_wrapper .dataTables_filter label input::-webkit-input-placeholder {
  line-height: 25px;
}

.site-content .dataTables_wrapper .dataTables_filter label .icon-search {
  position: absolute;
  top: 50%;
  right: 8px;
  background: none;
  border: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  color: #4a4a4a;
  font-size: 1em;
}

.site-content .dataTables_wrapper .dataTables_info {
  padding: 10px 0;
  margin: 10px 0 10px 1em;
  font-size: 14px;
}

.site-content .dataTables_wrapper .dataTables_paginate {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-top: 0;
}

.site-content .dataTables_wrapper .dataTables_paginate .ellipsis {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
}

.site-content .dataTables_wrapper .dataTables_paginate .paginate_button {
  font-family: "Roboto", sans-serif;
  font-size: 1em;
  font-weight: 700;
  color: #4a4a4a !important;
  background: #ffffff;
  border-radius: 0;
  border: 1px solid #4a4a4a;
  margin: 0 5px 10px 5px;
}

.site-content .dataTables_wrapper .dataTables_paginate .paginate_button.current, .site-content .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover, .site-content .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: #ffffff !important;
  background: #077f36;
  border: 1px solid #4a4a4a;
}

.site-content .dataTables_wrapper table.dataTable {
  border: 0;
  border-top: 0.5px solid #979797;
}

.site-content .dataTables_wrapper table.dataTable thead th {
  text-align: center;
  font-size: 0.875em;
}

.site-content .dataTables_wrapper table.dataTable thead th:first-child {
  border-right: 0.5px solid #979797 !important;
  width: 5% !important;
}

.site-content .dataTables_wrapper table.dataTable thead th:last-child {
  border-left: 0.5px solid #979797 !important;
  width: 10% !important;
}

.site-content .dataTables_wrapper table.dataTable thead th:nth-child(2) {
  width: 85% !important;
}

.site-content .dataTables_wrapper table.dataTable thead th,
.site-content .dataTables_wrapper table.dataTable thead td {
  border-bottom: 0.5px solid #979797;
}

.site-content .dataTables_wrapper table.dataTable tbody tr.odd td {
  background-color: #fafafa;
  border: 0;
}

.site-content .dataTables_wrapper table.dataTable tbody tr.even td {
  background-color: #e3f3e9;
  border: 0;
}

.site-content .dataTables_wrapper table.dataTable tbody tr td:nth-child(3) a {
  padding: 8px 3px !important;
  color: #4a4a4a;
}

.site-content .dataTables_wrapper table.dataTable tbody tr td:nth-child(3) a:hover {
  color: #077f36;
}

.site-content .dataTables_wrapper table.dataTable tbody tr td:nth-child(3) .icon-views {
  font-size: 18px !important;
}

.site-content .dataTables_wrapper table.dataTable tbody tr td:nth-child(3) .icon-downloads {
  font-size: 18px !important;
}

.site-content .dataTables_wrapper table.dataTable tbody tr > td.sorting_1 {
  border-right: 0.5px solid #979797 !important;
}

.site-content .dataTables_wrapper table.dataTable tbody tr > td:last-child {
  border-left: 0.5px solid #979797 !important;
}

.wpb-js-composer .wpb_column .vc_tta-tabs {
  display: inline-block !important;
  width: 100%;
  -webkit-box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.25);
          box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.25);
}

.wpb-js-composer .wpb_column .vc_tta-tabs .vc_tta-tabs-container {
  margin: 0 !important;
}

.wpb-js-composer .wpb_column .vc_tta-tabs .vc_tta-tabs-container .vc_tta-tabs-list {
  display: table;
  width: 100%;
  padding: 0;
  border-bottom: 0.5px solid #979797;
}

.wpb-js-composer .wpb_column .vc_tta-tabs .vc_tta-tabs-container .vc_tta-tabs-list .vc_tta-tab {
  display: table-cell;
  text-align: center;
}

.wpb-js-composer .wpb_column .vc_tta-tabs .vc_tta-tabs-container .vc_tta-tabs-list .vc_tta-tab:last-child a:after {
  display: none;
}

.wpb-js-composer .wpb_column .vc_tta-tabs .vc_tta-tabs-container .vc_tta-tabs-list .vc_tta-tab.vc_active a .vc_tta-title-text, .wpb-js-composer .wpb_column .vc_tta-tabs .vc_tta-tabs-container .vc_tta-tabs-list .vc_tta-tab:hover a .vc_tta-title-text {
  border-bottom: 1px solid #077f36;
}

.wpb-js-composer .wpb_column .vc_tta-tabs .vc_tta-tabs-container .vc_tta-tabs-list .vc_tta-tab a {
  color: #4a4a4a;
  font-size: 0.88em;
  border: 0;
  background: none;
  position: relative;
}

.wpb-js-composer .wpb_column .vc_tta-tabs .vc_tta-tabs-container .vc_tta-tabs-list .vc_tta-tab a:after {
  content: " ";
  position: absolute;
  top: 50% !important;
  right: 0;
  left: auto !important;
  width: 2px !important;
  height: 2px;
  background-color: #4a4a4a;
}

.wpb-js-composer .wpb_column .vc_tta-tabs .vc_tta-panels-container .vc_tta-panels {
  margin: 0;
  border: 0 !important;
  background: #ffffff !important;
}

.wpb-js-composer .wpb_column .vc_tta-tabs .vc_tta-panels-container .vc_tta-panels .vc_tta-panel-body {
  padding: 0;
  background: none;
}

.data-table-wrapper .wpb_content_element {
  margin-bottom: 0;
}

.data-table-wrapper h2 {
  font-size: 1em;
  font-family: "KhmerOSContent-Bold", "Roboto";
  position: relative;
  padding: 10px 0 10px 20px;
}

@media screen and (max-width: 800px) {
  .data-table-wrapper h2 {
    margin-bottom: 1em;
  }
}

.data-table-wrapper h2:before {
  content: " ";
  position: absolute;
  top: 0;
  left: 10px;
  width: 1px;
  height: 100%;
  background-color: #077f36;
}


.wp-pagenavi {
  display: inline-block;
  margin: 3em 0 2em;
  text-align: center;
  width: 100%;
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink,
.wp-pagenavi .page,
.wp-pagenavi .extend,
.wp-pagenavi .current {
  font-family: Roboto;
  font-size: 1em;
  line-height: 40px;
  width: 40px;
  height: 40px;
  text-align: center;
  display: inline-block;
  font-weight: 700;
  color: #4a4a4a;
  border: solid 1px #4a4a4a;
  background-color: #fafafa;
  margin: 0 5px 10px 5px;
  text-decoration: none;
  -webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.wp-pagenavi .extend {
  background-color: #ffffff;
  border: 0;
  letter-spacing: 3px;
  margin: 0;
}

.wp-pagenavi .previouspostslink:hover,
.wp-pagenavi .nextpostslink:hover,
.wp-pagenavi .page:hover,
.wp-pagenavi .current {
  background-color: #077f36;
  color: #ffffff;
}


.site-content .wpb_content_element p {
  font-size: 1em;
  line-height: 1.7;
}

.site-content .wpb_content_element p.custom-icon-wrapper {
  position: relative;
  padding-left: 25px;
  margin-bottom: 5px;
  font-size: 0.875em;
}

.site-content .wpb_content_element p.custom-icon-wrapper span[class^="icon-"],
.site-content .wpb_content_element p.custom-icon-wrapper span[class*=" icon-"] {
  position: absolute;
  top: 5px;
  left: 0;
  font-size: 0.875em;
}

.site-content .wpb_content_element p.custom-icon-wrapper .icon-mail {
  font-size: 1em !important;
}

.site-content .wpb_content_element ol, .site-content .wpb_content_element ul {
  margin-left: 0;
}

.site-content .wpb_single_image .vc_figure .vc_single_image-wrapper {
  padding: 0;
  border: 0;
}

.site-content .wpb_single_image .vc_figure .vc_single_image-wrapper img {
  border: 0;
}

.site-content .wpb_single_image .vc_box_border.vc_box_border_grey {
  background: none;
}

.main-content .attachment-post-thumbnail {
  margin: 0 0 20px 0;
}

.main-content p img {
  margin-bottom: 4px;
}

@media screen and (max-width: 480px) {
  .main-content p img {
    width: 100%;
  }
}

.block-minister .photo-wrapper {
  -webkit-box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.25);
          box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.25);
}

.block-minister .wpb_content_element {
  margin: 0;
}

.block-minister .moe-caption {
  background-color: #ffffff;
  font-size: 1em;
  text-align: center;
  padding: 10px 10px;
  margin: 0 0 2em 0;
}

.block-minister h2 {
  font-size: 1.2em;
  margin-bottom: 10px !important;
}

.block-minister .content-inside h3 {
  font-size: 1.2em;
  margin: 0 0 15px 0 !important;
}

.block-minister .content-inside ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.block-minister .content-inside ul li {
  margin-bottom: 7px;
}

.widget_nav_menu ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.widget_nav_menu ul li {
  margin-bottom: 7px;
}

.custom-menu-01 .widgettitle {
  font-size: 1.2em;
}

.most-recent-post .block-title {
  font-size: 1.2em;
}

.most-recent-post .post-item {
  background-color: #ffffff;
  -webkit-box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.25);
          box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.25);
  margin: 0 0 1.5em 0;
}

.most-recent-post .post-item .post-thumbnail {
  width: 100%;
}

.most-recent-post .post-item .post-thumbnail img {
  width: 100%;
}

.most-recent-post .post-item .post-content {
  padding: 10px;
}

.most-recent-post .post-item .post-content .published-date {
  font-size: 0.68em;
}

.most-recent-post .post-item .post-content .title {
  font-size: 1em;
  line-height: 1.7;
  display: block;
}


.moe-group-photos {
  margin-bottom: 2em;
}

.moe-group-photos .wpb_single_image .vc_figure {
  width: 100%;
}

.moe-group-photos .wpb_single_image .vc_figure .vc_single_image-wrapper {
  width: 100%;
}

.moe-group-photos .wpb_single_image .vc_figure .vc_single_image-wrapper img {
  width: 100%;
}


.moe-sidebar .wpb_content_element {
  margin-bottom: 10px;
}

.moe-sidebar h2,
.moe-sidebar h3 {
  font-size: 1.2em;
  line-height: 1.5em;
  margin-bottom: 0 !important;
}

.moe-sidebar .wpb_single_image {
  margin-bottom: 3em;
}

.moe-sidebar .wpb_single_image .vc_figure {
  -webkit-box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.25);
          box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.25);
  background-color: #ffffff;
  width: 100%;
}

.moe-sidebar .wpb_single_image .vc_figure .vc_figure-caption {
  margin: 0;
  font-size: 1em;
  color: #4a4a4a;
  padding: 10px;
  text-align: center;
}

.moe-sidebar .wpb_single_image .vc_figure .vc_single_image-wrapper {
  width: 100%;
}

.moe-sidebar .wpb_single_image .vc_figure .vc_single_image-wrapper img {
  width: 100%;
}

.moe-sidebar .menu-item a {
  color: #4a4a4a;
  text-decoration: none;
  padding-bottom: 5px;
}

.moe-sidebar .menu-item a:hover {
  color: #4a4a4a;
  border-bottom: 2px solid #077f36;
}

.moe-sidebar .current-menu-item a {
  color: #4a4a4a;
  border-bottom: 2px solid #077f36;
}


@media screen and (min-width: 768px) {
  .category-list > div:nth-child(2n+1) {
    padding-right: 7.5px;
  }
  .category-list > div:nth-child(2n) {
    padding-left: 7.5px;
  }
}


.search-result-list .item .title {
  font-size: bold;
}

.search-result-list .item p {
  font-size: 0.75em;
}

.search-result-list .item .published-date {
  font-size: 0.75em;
  display: block;
  font-style: italic;
  margin: 0 0 10px 0;
}



.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  
  display: none;
}


.infinity-end.neverending .site-footer {
  display: block;
}


.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}


embed,
iframe,
object {
  max-width: 100%;
}


.custom-logo-link {
  display: inline-block;
}


.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}


.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-caption {
  display: block;
}

.widget-header {
  position: unset !important;
  -webkit-transform: none !important;
  transform: none !important;
}

.container {
  padding: 0 !important;
}

#header {
  width: 100% !important;
  max-width: 100% !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .site-branding {
    padding: 1.10rem 5rem;
    font-weight: bold;
    background: var(--main-color);
  
    a, span {
      color: var(--main-color-text) !important;
    }
  
    .textwidget ul li a {
      padding: 0;
    }
  
    .textwidget ul li a span:first-child {
      display: none;
    }
  
    .wpml-ls-sidebars-header_widget ul li a.wpml-ls-item-toggle::after {
      display: block;
    }
  
    .wpml-ls-sidebars-header_widget {
      margin-left: 2.5rem;
      position: relative;
      z-index: 99999;

      ul ul li {
        background: var(--menu-active-color);
        box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
      }
    }
  }

  #menu-wrapper {
    padding: 1.5rem 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    a, span {
      color: var(--main-color) !important;
    }

    .custom-logo {
      aspect-ratio: unset;
      height: unset;
      max-width: 100%;
      min-height: 30px;
      max-height: 90px;
      width: auto;
    }

    .custom-main-menu-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1.5rem;
    }

    .menu .menu-item::before {
      display: none;
    }

    .main-navigation {
      margin-top: 0;

      #primary-menu > li {
        padding: 0;
        font-size: var(--font-size-paragraph-normal) !important;

        .sub-menu {
          background: var(--main-color);
          transition: width 0.3s ease;
          li a {
            color: var(--main-color-text) !important;
          }

          li {
            padding: 5px 10px;
          }
        }
      }

      #primary-menu > li:hover > a:before,
      #primary-menu > li.current-menu-item > a:before {
        height: 0;
      }

      #primary-menu > li.current-menu-item > a {
        color: var(--menu-active-color) !important;
      }

      ul ul li {
        margin: 0;
      }

      ul ul :hover > a:before,
      ul ul .focus > a:before {
        height: 0;
      }

      ul ul :hover > a,
      ul ul .focus > a {
        text-decoration: underline;
      }

      #primary-menu > li:not(:last-child) {
        margin: 0 30px 0 0;
      }
    }

    .search-form {
      position: relative;
      width: 200px;
      display: flex;
      align-items: center;
      justify-content: flex-end;

      button[type="submit"] {
        height: 100%;
        top: 0;
        padding: 0 12px;
        -webkit-transform: none;
        transform: none;
      }

      button[type="submit"]:hover > span {
        font-weight: bolder;
      }

      input[type=search] {
        width: 80%;
        border: none;
        text-align: left;
        background: none;
        padding: 10px 40px 10px 10px;
        font-size: var(--font-size-paragraph-normal);
        height: unset;
        outline: none;
        transition: width 0.3s ease;
      }
      input[type=search]::placeholder {
        color: var(--main-color);
        opacity: 0.7;
      }

      input[type="search"]::-webkit-search-cancel-button {
        padding-left: 8px;
      }

      input[type=search]:focus-visible {
        background: var(--main-color-lightweight);
        width: 100%;
      }
    }
  }

  .widget-header .wpml-ls-legacy-dropdown ul li .wpml-ls-sub-menu {
    border-top: none;
  }

  .widget-header .wpml-ls-legacy-dropdown ul li a.wpml-ls-item-toggle::after {
    display: none;
  }
}

.spt-container {
  border: 0 !important;

  .spt-label,
  .spt-marquee {
    padding: 1rem 1.5rem !important;
    font-size: var(--font-size-paragraph-normal) !important;
  }

  .spt-label {
    background: var(--main-color) !important;
    font-weight: bolder;
  }

  .spt-marquee {
    background: var(--main-color-lightweight) !important;
    white-space: nowrap;

    span a {
      color: var(--main-color) !important;
      font-size: var(--font-size-paragraph-normal) !important;
    }
  }
}

@media screen and (max-width: 768px) {
  #header .site-branding {
    padding: 15px;
    position: relative;
    display: flex;
    justify-content: space-between;

    .widget-header {
      float: left;
      max-width: fit-content;

      .custom-html-widget ul li:first-child {
        margin-left: 0;
      }
    }

    .wpml-ls-sidebars-header_widget {
      margin-left: 1rem;
    }

    .wpml-ls-legacy-dropdown ul li a span {
      font-size: var(--font-size-paragraph-small-extra);
    }

    .hamberger-menu {
      top: unset;
      margin-top: 2px;

      input {
        top: -5px;
      }

      span {
        background: var(--main-color-text);
      }

      span:last-child {
        margin-bottom: 0;
      }
    }
  }

  #header {
    #menu-wrapper {
      padding: 15px;
      background: var(--main-color-text);
      position: relative;

      .custom-main-menu-container {
        display: none;
        position: absolute;
        top: -5px;
        left: 0;
        width: fit-content;
        z-index: 1000;
        background: var(--main-color-text);
        padding: 15px;
        margin: 0 10px;
        box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
      }

      .custom-main-menu-container::before {
        content: '';
        position: absolute;
        right: 21px;
        top: -10px;
        width: 0;
        height: 0;
        border-bottom: 10px solid white;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        z-index: 9999;
      }

      .search-form {
        width: 100%;
      }
    }

    #primary-menu > li:not(:last-child) {
      margin: 0 !important;
    }

    #primary-menu li {
      white-space: normal;
    }

    .main-navigation #primary-menu li .sub-menu {
      margin-top: 5px;
      margin-bottom: 10px;
    }

  }

  .spt-container {
    .spt-label {
      font-size: 11px !important;
    }

    .spt-marquee {
      padding: 0.82rem 1.5rem !important;

      span a {
        font-size: 10px !important;
      }
    }
  }

  #content {
    #hp-slideshow {
      .carousel-inner {
        width: 100% !important;
      }

      .carousel-item {
        height: 150px !important;
      }

      .carousel-caption-container {
        padding: 0.5rem !important;
      }

      .carousel-caption-container h2 {
        font-size: var(--font-size-paragraph-small-extra) !important;
      }

      .carousel-control-prev,
      .carousel-control-next {
        width: 0% !important;
  
        a {
          span:first-child {
            padding: 1.25rem 0.6rem !important;
            font-size: 0.75rem !important;
          }
        }
      }

      .carousel-control-prev {
        left: 27px;
      }

      .carousel-control-next {
        right: 27px;
      }
    }

    #primary {
      margin-top: 2rem;

      .vc_row .vc_col-sm-6:first-child .vc_column-inner {
        padding-right: unset !important;
      }

      .vc_row .vc_col-sm-6:last-child .vc_column-inner {
        padding-left: unset !important;
      }
    }

    .vc_tta-panel-body {
      padding: 0 1rem 1rem 1rem !important;
    }

    .vc_tta-panel-title > a {
      padding: 1rem !important;
    }

    .dataTables_wrapper {
      overflow-x: auto;
    }

    .vc_tta.vc_tta-style-classic .vc_tta-panel-heading {
      border-width: 0 !important;
    }

    .vc_grid.vc_row.vc_grid-gutter-30px .vc_grid-item {
      padding-right: unset !important;
    }

    .vc_grid.vc_row.vc_grid-gutter-30px .vc_pageable-slide-wrapper {
      margin-right: unset !important;
    }
  }
}

#content {
  .vc_row {
    margin-left: unset;
    margin-right: unset;
  }

  .vc_column_container>.vc_column-inner {
    padding-right: unset;
    padding-left: unset;
  }

  #hp-slideshow {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;

    .carousel-inner {
      width: 90%;
    }

    .carousel-item.active {
      display: flex;
    }

    .carousel-item {
      display: none;
      align-items: center;
      justify-content: space-between;
      float: unset;
      height: 450px;
      margin-right: unset;
    }

    .carousel-item .carousel-img-container {
      width: 50% !important;
      height: 100%;
      position: relative;
      background-repeat: no-repeat;
      background-position: 50% 50%;
      background-size: cover;
      background-clip: border-box;
      box-sizing: border-box;
      overflow: hidden;
    }

    .carousel-item .carousel-img-container img {
      height: 100%;
      max-width: fit-content;
      width: auto;
    }

    .carousel-caption-container {
      position: relative;
      right: unset;
      bottom: unset;
      left: unset;
      width: 50%;
      height: 100%;
      background: var(--main-color);
      display: flex;
      align-items: center;
      justify-content: start;
      padding: 1rem;
    }

    .carousel-caption-container h2 {
      font-size: var(--font-size-header-normal);
    }

    .carousel-caption-container h2,
    .carousel-caption-container a,
    .carousel-caption-container p {
      color: var(--main-color-text);
      margin-bottom: 0;
    }

    .carousel-caption-container a {
      line-height: 2;
    }

    .carousel-caption-container p {
      margin-top: 1rem;
      font-size: var(--font-size-paragraph-normal);
    }

    .carousel-control-prev,
    .carousel-control-next {
      width: 5%;
      display: flex;
      align-items: center;

      a {
        color: var(--default-text-color);
        text-decoration: none;

        span:first-child {
          padding: 1.8rem 0.8rem;
          font-size: 1.5rem;
          font-weight: bold;
        }
      }
    }

    .carousel-control-prev {
      justify-content: end;

      a span:first-child {
        background: linear-gradient(to right, #d3d3d3 0%, transparent 100%);
      }
    }

    .carousel-control-next {
      justify-content: start;

      a span:first-child {
        background: linear-gradient(to right, transparent 0%, #d3d3d3 100%);
      }
    }
  }

  #primary {
    width: 95% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 5rem;

    .wpb_content_element {
      margin-bottom: 1rem;

      .block-title {
        margin-bottom: unset !important;
      }
    }

    .block-posts {
      box-shadow: none !important;
      height: fit-content;
      margin-top: 0 !important;

      .block-body {
        margin-top: 1rem;
        padding: 0 0 10px 0;
      }

      .thumbnail {
        border: var(--post-border-style) var(--post-border-width) var(--main-color);
      }
    }

    .vc_row .vc_col-sm-6:first-child .vc_column-inner {
      padding-right: 15px;
    }

    .vc_row .vc_col-sm-6:last-child .vc_column-inner {
      padding-left: 15px;
    }
  }

  .wpb_wrapper {
    .vc_gitem-animated-block .vc_gitem-zone:first-child {
      border: var(--post-border-style) var(--post-border-width) var(--main-color);
      aspect-ratio: 2 / 1;
    }

    .vc-gitem-zone-height-mode-auto:before,
    .vc-gitem-zone-height-mode-auto.vc-gitem-zone-height-mode-auto-4-3:before {
      padding-top: 0 !important;
    }

    .vc_gitem-animate-slideInRight .vc_gitem-zone-b {
      position: relative;
      opacity: 1 !important;
      -webkit-transition: none !important;
      -webkit-transform: none !important;
      transform: none !important;
      transition: none !important;
    }

    .vc_gitem-zone-b .vc_gitem-row-position-middle {
      position: relative !important;
      -webkit-transform: none !important;
      transform: none !important;
    }

    .vc_gitem-col.vc_col-sm-6 {
      width: 100% !important;
    }

    .vc_gitem_row .vc_gitem-col {
      padding: 0 !important;
    }

    .vc_col-sm-6.vc_gitem-col {
      background: none !important;
    }

    .vc_gitem-post-data-source-post_title {
      margin-top: 1rem;

      h3 {
        color: var(--default-text-color) !important;
        font-family: "KhmerOSContent", "Roboto" !important;
        font-size: var(--font-size-paragraph-normal) !important;
        line-height: 1.7 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }

    .vc_gitem-post-data-source-post_date {
      display: none;
    }

    .wpb_text_column.wpb_content_element h2 {
      margin-bottom: unset !important;
    }
  }

  #primary .wpb_content_element .block-title,
  .wpb_wrapper .wpb_text_column.wpb_content_element h2 {
    font-size: var(--font-size-header-larger-extra) !important;
    line-height: normal !important;
    margin-top: 0 !important;
  }

  .wpb_text_column.wpb_content_element .block-download-pdf {
    box-shadow: none !important;
    background: var(--main-color-box-bg);
    padding: 15px;
    margin: 1rem 0;

    .content {
      padding: 0 0 0 3em;

      img {
        max-width: 2.2rem;
      }

      .desc p:first-child {
        font-size: var(--font-size-header-normal) !important;
        margin-bottom: 5px;
      }

      .desc p:last-child {
        font-size: var(--font-size-paragraph-normal) !important;
      }
    }

    .link-dl-pdf {
      padding: 10px;
      font-size: var(--font-size-paragraph-small);
      font-weight: bold;
      background: var(--main-color);
    }
  }

  .wpb_wrapper:has(.block-download-pdf) {
    margin-bottom: 36px;
  }

  .data-table-wrapper h2:before {
    position: unset;
    background: none;
    content: none;
  }

  .data-table-wrapper h2 {
    padding: 0;
  }

  .vc_tta-accordion {
    .vc_tta-panel-heading,
    .vc_tta-panel-body {
      background: var(--main-color-box-bg);
      border-color: var(--main-color-box-bg);
    }

    .vc_tta-panel:not(:last-child) {
      margin-bottom: 1.5rem;
    }

    .vc_tta-panel-body {
      padding: 0 1.5rem 1.5rem 1.5rem;

      .wpb_content_element {
        margin-bottom: 0 !important;
      }
    }

    .vc_tta-panel-title {
      font-size: var(--font-size-paragraph-larger) !important;
      font-weight: bold;
    }

    .vc_tta-controls-icon {
      color: var(--default-text-color);
    }

    .vc_tta-panel-title > a {
      padding: 1.5rem;

      span {
        margin-left: 1.5rem;
        color: var(--default-text-color);
      }
    }

    .dataTables_wrapper {
      box-shadow: none;

      .dataTable {
        border-top: none;
        background: #fff;
      }

      th, td {
        border-left: none !important;
        border-right: none !important;
        text-align: left;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
      }

      td, td a {
        font-size: var(--font-size-paragraph-larger);
      }

      tr, th, td {
        background: none;
      }

      th {
        font-weight: bold;
        border-bottom: solid 2px var(--default-text-color);
        font-size: var(--font-size-paragraph-larger);
      }

      tbody tr td:last-child a span {
        color: var(--main-color);
        font-size: 22px !important;
      }

      .dataTables_length,
      .dataTables_filter,
      .dataTables_info,
      .dataTables_paginate {
        display: none;
      }
    }
  }
}

#footer {
  background: var(--main-color);

  .footer-container {
    width: 90%;
    padding: 0;
  }

  .widget-footer {
    padding-left: 0;
  }

  .widget-title {
    padding: 0;
    font-size: var(--font-size-header-normal);
  }

  .widget-footer ul li,
  .site-copyright-text p {
    font-size: var(--font-size-paragraph-normal);
  }
}

.carousel .carousel-item {animation-duration: 0.3s !important;}
