/*!
Theme Name: custom04
Theme URI: http://underscores.me/
Author: Chranh Kom
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: custom04
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.
custom04 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.

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:
----------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Koulen&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Battambang&display=swap');
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body{
    /*font-family: Koulen, Arial, Helvetica, sans-serif;*/
    font-family: Battambang, Arial,Helvetica,sans-serif;
    background-color: #e6ecf0;
}
nav.top-menu {
    background-color: var(--wp--preset--color--black);
    position: fixed;
    width: 100%;
    top: 0;
    padding: 0;
    z-index: 9999;
    background-color: #212529;
    background-image: linear-gradient(147deg,#d10e00 0%,#FF5722 71%);
}

section.top-header {
    width: 100%;
    position: relative;
    padding: 0;
    width: 100%;
    height: 62px;
    background: red;
}
a.nav-link {
    font-family: monospace;
    font-size: 1.5em;
    color: #f0f0f0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: -0.3px;
}
a.nav-link:hover{
    color: #dee2e6 !important;
}
#navbar-nav{
	float: right;
}
.navbar-collapse{
	flex-grow: unset;
}

.header-content {
    width: 100%;
    padding: 10px 10px;
    box-shadow: 1px 3px 5px rgb(0 0 0 / 20%);
    background-color: white;
}

.banner-header img{
	width: 100%;
	height: auto;
}
.navbar-brand img{
	width: 100%;
	height: 50px;
}

.navbar-toggler span {
    color: white;
    font-size: 1.5em;
    padding-top: 5px;
}
section.header-wrapper {
    margin-top: 10px;
}

.running-text-content, .sidebar-top {
    box-shadow: 1px 3px 5px rgb(0 0 0 / 20%);
    background-color: white;
    padding: 10px 10px;
}
.popular-post {
    box-shadow: 1px 3px 5px rgb(0 0 0 / 20%);
    background-color: white;
    padding: 10px 10px;
    margin-top: 20px;
}
.sidebar-top{
    margin-top: 20px;
}
marquee#mos_txt {
    padding: 7px 0 0 0;
}
.running-text-content a {
    font-size: 1.2em;
    color: rgb(0, 0, 0);
    /* margin-top: 4px; */
}
.running-text {
    height: 0;
    overflow: hidden;
    display: none;
    transition: 0.5s;
}

.header-icon{
    position: relative;
    display:flex;
}
.search-icon{
    font-size: 2.5em;
    padding-top: 1px;
    color: wheat;
    cursor: pointer;
    padding-left: 10px;
    padding-right: 10px;
}
.header-form-search input.search-field {
    border: 1px solid #ff5722;
    outline-color: snow;
    width: 100%;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 5px;
}
.header-form-search input.search-submit {
    width: 100%;
    padding: 6px;
    outline: unset;
    border: unset;
    background-color: #ff000c;
    color: white;
    font-size: 1.5em;
    font-weight: 600;
    border-radius: 5px;
    margin-top: 5px;
}
.header-form-search label{
    display: unset;
}

.header-form-search {
    height: 0;
    overflow: hidden;
    transition: 0.5s linear;
    position: fixed;
    width: 100%;
    z-index: 999999;
    background-color: #f9fafb;
  }


/* Content style css */
.content-sec01{
    display: flex;
    margin-top: 15px;
    margin-bottom: 15px;
    
}
.left-content {
    width: calc(100% - 335px);
    margin-right: 10px;
    box-shadow: 1px 3px 5px rgb(0 0 0/20%);
    background-color: #fff;
}

.recent-post-thum img {
    width: 100%;
    height: auto;
}
.recent-post-title > a {
    text-decoration: none !important;
    color: black;
    font-size: 1.5rem;
    font-weight: 600;
    display: block;
    height: 100px;
    overflow: hidden;
}
.recent-post-desc > a {
    color: #302287;
    display: block;
    height: 95px;
    overflow: hidden;
    font-size: 16px;
}
span.recent-post-date {
  font-size: 1rem;
  color: darkgrey;
}
div#web-recent-post {
  padding: 0 10px;
}

.recent-post {
  margin-bottom: 15px;
  margin-top: 10px;
}
.popular-post-header {
  font-size: 1.5rem;
  font-weight: 600;
  border-bottom: 1px solid darkgrey;
}
.p-content {
  display: flex;
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 0 0 5px 0;
  border-bottom: 1px solid darkgray;
}

.p-title {
  width: 170px;
}
.p-thum {
  width: calc(100% - 170px);
}
.p-thum img {
  width: 100%;
  padding-right: 10px;
  height: auto;
}
.p-title a {
  color: darkgreen;
  /* background: red; */
  display: block;
  height: 70px;
  overflow: hidden;
  font-size: 14px;
  text-align: left;
  line-height: 1.2;
}
.nav-page{
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}
.nav-page a {
  color: #000000;
  background-color: #F57C00;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 1em;
  font-weight: 600;
}

/* sidebar */
.sidebar-area{
    width: 325px;
    margin: 0;
    padding: 0;
}

/* Ended content css */

/* social slide bar list */
.social-menu ul {
    padding: 0;
    margin: 0;
    display: flex;
}
.social-menu {
    background: #ffffff;
    padding: 0 0px 15px 0px;
    width: 100%;
    margin: 0 0 13px 0;
    box-shadow: 1px 3px 5px rgb(0 0 0 / 20%);
    background-color: white;
}
.social-menu ul li {
    list-style: none;
    padding: 5px 8px;
}
.social-menu ul li .fa {
    color: #000000;
    font-size: 25px;
    line-height: 50px;
    transition: .5s;
}
.social-menu ul li .fa:hover {
    color: #ffffff;
}
.social-menu ul li a {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffc107;
    text-align: center;
    transition: 0.5s;
    transform: translate(0,0px);
    box-shadow: 0px 7px 5px rgba(0, 0, 0, 0.5);
}
.socail-header {
    width: 100%;
    border-bottom: 2px solid red;
    padding: 10px 10px 5px 8px;
}
.socail-header span {
    color: #212529;
    font-size: 1.5em;
    text-transform: uppercase;
    font-weight: 600;
}
.social-menu ul li a:hover {
    transform: rotate(0deg) skew(0deg) translate(0, -10px);
}
.social-menu ul li:nth-child(1) a:hover {
    background-color: #3b5999;
}
.social-menu ul li:nth-child(2) a:hover {
    background-color: #55acee;
}
.social-menu ul li:nth-child(3) a:hover {
    background-color: #e4405f;
}
.social-menu ul li:nth-child(4) a:hover {
    background-color: #cd201f;
}
.social-menu ul li:nth-child(5) a:hover {
    background-color: #0077B5;
}

ul li{
	list-style: none;
}
a{
	text-decoration: none;
}


/* footer style */

ul {
    margin: 0px;
    padding: 0px;
}
.footer-section {
  background: #151414;
  position: relative;
}
.footer-logo img {
    width: 100%;
    height: 100px;
}
.footer-cta {
  border-bottom: 1px solid #373636;
}
.single-cta i {
  color: #ff5e14;
  font-size: 30px;
  float: left;
  margin-top: 8px;
}
.cta-text {
  padding-left: 15px;
  display: inline-block;
}
.cta-text h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}
.cta-text span {
  color: #757575;
  font-size: 15px;
}
.footer-content {
  position: relative;
  z-index: 2;
}
.footer-pattern img {
  position: absolute;
  top: 0;
  left: 0;
  height: 330px;
  background-size: cover;
  background-position: 100% 100%;
}
.footer-logo {
  margin-bottom: 30px;
}
.footer-logo img {
    max-width: 200px;
}
.footer-text p {
  margin-bottom: 14px;
  font-size: 14px;
      color: #7e7e7e;
  line-height: 28px;
}
.footer-social-icon span {
  color: #fff;
  display: block;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
}
.footer-social-icon a {
  	color: #dcdcdc;
	font-size: 2rem;
	margin-right: 15px;
	background: #003fff;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: inline-block;
	padding: 6px 5px 5px 6px;
	line-height: 5px;
}
.footer-social-icon i {
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 38px;
  border-radius: 50%;
}
.facebook-bg{
  background: #3B5998;
}
.twitter-bg{
  background: #55ACEE;
}
.google-bg{
  background: #DD4B39;
}
.footer-widget-heading h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
}
.footer-widget-heading h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  height: 2px;
  width: 50px;
  background: #ff5e14;
}
.footer-widget ul li {
  margin-bottom: 12px;
}
.footer-widget ul li a:hover{
  color: #ff5e14;
}
.footer-widget ul li a {
  color: #878787;
  text-transform: capitalize;
}
.subscribe-form {
  position: relative;
  overflow: hidden;
}
.subscribe-form input {
  width: 100%;
  padding: 14px 28px;
  background: #2E2E2E;
  border: 1px solid #2E2E2E;
  color: #fff;
}
.subscribe-form button {
    position: absolute;
    right: 0;
    background: #ff5e14;
    padding: 13px 20px;
    border: 1px solid #ff5e14;
    top: 0;
}
.subscribe-form button i {
  color: #fff;
  font-size: 22px;
  transform: rotate(-6deg);
}
.copyright-area{
  background: #202020;
  padding: 25px 0;
}
.copyright-text p {
  margin: 0;
  font-size: 14px;
  color: #878787;
}
.copyright-text p a{
  color: #ff5e14;
}
.footer-menu li {
  display: inline-block;
  margin-left: 20px;
}
.footer-menu li:hover a{
  color: #ff5e14;
}
.footer-menu li a {
  font-size: 14px;
  color: #878787;
}

/* end foote style */

.m-recent-post{
    display: none;
}

.entry-content img {
    width: 100%;
    height: auto;
}
.img-thum-content img{
    width: 100%;
    height: auto;
    margin-bottom: 25px;
}
div#content-page {
    margin-top: 15px;
}
.related-post-img img{
    width: 100%;
    height: auto;
}

.related-autoplay {
    padding-bottom: 25px;
}
.related_mos-article {
    padding: 0 5px 15px 0;
}
.related-post-title {
    color: darkslateblue;
    height: 47px;
    overflow: hidden;
    margin: 6px 0;
}
.related-post-prev, .related-post-next {
    bottom: 0;
    position: absolute;
    border: unset;
    background: antiquewhite;
    font-size: 1.5em;
    padding: 0px 22px;  
}
.related-post-prev{
    left: 0;
}
.related-post-next{
    left: 60px;
}
.recent-title {
    border-bottom: 2px solid red;
    margin-bottom: 10px;
    font-size: 2em;
    /* margin-top: 16px; */
}
.mos-slider {
    margin-top: 20px;
}


.loading-page {
    margin: 0;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    background: #2196F3;
    background: linear-gradient(to top left, #04ff64 -40%, #ff5900);
    position: fixed;
    z-index: 99999999999999;
    opacity: 1;
    transition: opacity 0.5s linear;
  }
  
  .loading {
        position: fixed;
        top:0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 250px;
        height: 250px;
        margin: auto;
  }
  
  .part {
    width: 250px;
    position: absolute;
  }
  
  .svgpath {
    fill: rgba(145,220,90,0);
    stroke: aqua;
    stroke-width: 1.5px;
    stroke-dasharray: 1000;
    stroke-linecap: round;
    z-index: 2;
  }
  
  .svgbg {
    fill: rgba(255,255,255,0.2);
    z-index: 1;
   }
  
  #playload {
    animation: dash 2.5s reverse ease-in-out infinite;
  }
  
  @keyframes dash {
    to {
      stroke-dashoffset: 2000;
    }
  }
  
  




  /* Resposive Design */

@media (max-width: 1400px){
  .recent-post-desc>a{
    display: none;
  }
}

@media (max-width: 992px){
  .left-content{
    width: 100%;
    padding: 0 5px;
    margin: 0 auto;
  }
  .sidebar-area{
    display: none;
  }
  .recent-post-desc>a{
    display: none;
  }
  span.recent-post-date {
    padding-top: 20px;
    display: block;
  }
}

@media screen and (max-width: 768px){
  span.recent-post-date{
    padding-top: 0;
  }
  .recent-post-title>a {
    font-size: 16px;
    font-weight: 600;
    display: block;
    height: unset;
    overflow: unset;
    line-height: 1.4;
  }
  #navbar-nav {
    float: unset;
    width: 100%;
    margin: 15px 0px;
  }
  .nav-item {
    background: #FFC107;
    margin: 5px 0;
    padding: 0 5px;
    border-radius: 60px;
    text-align: center;
  }
}

@media (max-width: 540px){
  .xg {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }
  .left-content {
    width: 100%;
    padding: 0 5px;
    box-shadow: unset;
    margin: 0 auto;
  }
  .sidebar-area{
    display: none;
  }
  .recent-post-thum {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }
  .recent-post-title {
    width: 100%;
    margin: 0;
    padding: 0 10px;
  }
  .recent-post-desc {
    display: none;
  }
  .recent-post-title>a {
    text-decoration: none !important;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    display: inline-block;
    line-height: 1.3;
    text-align: left;
    height: unset;
    overflow: unset;
	padding:5px 0px;
  }
  .recent-post {
    margin-bottom: 0;
    margin-top: 0;
  }
  span.recent-post-date {
    font-size: 14px;
  }
  .navbar-collapse {
    /* flex-grow: unset; */
    padding: 0 5px;
  }
  #navbar-nav {
    float: unset;
    width: 100%;
    margin: 15px 0px;
  }
  .nav-item {
    background: #FFC107;
    margin: 5px 0;
    padding: 0 5px;
    border-radius: 60px;
    text-align: center;
  }
  .header-content {
    width: 100%;
    padding: 0;
    box-shadow: unset;
    background-color:unset;
  }
  .footer-content{
    text-align: center;
  }
  .footer-widget {
    margin-top: 10px;
  }
  .footer-widget-heading h3:before {
    left: 50%;
    bottom: -15px;
    height: 2px;
    width: 100px;
    transform: translate(-50%, 50%);
  }
}