/*
 Theme Name:   Jiamoei Theme
 Theme URI:    #
 Author:       Punthuch Buarungsawat
 Author URI:   #
 Description:  A lightweight, customizable, and SEO-friendly WordPress theme created for personal use by Punthuch Buarungsawat
 Version:      1.0
 Text Domain:  Jiamoei Theme
 Tags:         blog, e-commerce, custom-menu, featured-images, full-width-template, customizer
*/

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #333333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.site-branding {
    text-align: center;
}

.custom-logo-link img {
     
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

.site-title {
    margin: 0;
    font-size: 2em;
}

.site-title a {
    text-decoration: none;
    color: #FFF;
}

.site-description {
    margin: 0;
    color: #FFF;
}

/* .current_page_item{
    background-color: #0057a3;
    border-bottom: solid 2px #012f45;
} */
.navbar-brand{
    padding: 0px 0px 5px 0px !important;
}
.navbar{
    padding: 0px !important;
}
.nav-link{
    height: 64px;
    align-items: center;
    display: flex;
}
.navbar-nav{
    height: 63px;
    align-items: center;
}
.navbar-light .navbar-nav .nav-link {
    color: #FFF!important;
    font-weight: 500;
}
.navbar-light .navbar-nav .nav-item{
    border-bottom: solid 2px rgba(255, 255, 255, 0);
    transition: 0.3s ease;
}
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    border-bottom: solid 2px #012f45;
}
/* .navbar-light .navbar-nav .dropdown-menu .nav-link:hover,
.navbar-light .navbar-nav .dropdown-menu .nav-link.active {
    background-color: rgba(182, 229, 251, 0.403);
} */

.navbar-light .dropdown-menu {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-light .dropdown-item {
    color: #333333;
}

.navbar-light .dropdown-item:hover {
    background: #f8f8f8;
    color: #FFF!important;

}
/* Layer 3 dropdown (submenu of submenu) */
.navbar-nav > .nav-item.dropdown > .nav-link ~ .dropdown-menu > .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    position: absolute;
    min-width: 180px;
    z-index: 1000;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
}

.navbar-nav > .nav-item.dropdown > .nav-link ~ .dropdown-menu  > .dropdown-submenu .dropdown-toggle::after {
    
    float: right;
    margin-left: 5px;
    border-top: .3em solid transparent;
    border-right: 0;
    border-bottom: .3em solid transparent;
    border-left: .3em solid;
}

.site-main {
    padding: 40px 0;
}

article {
    margin-bottom: 40px;
}

.entry-header {
    margin-bottom: 20px;
}

.entry-title {
    margin: 0;
    font-size: 1.8em;
}

.entry-title a {
    text-decoration: none;
    color: #333333;
}

.entry-title a:hover {
    color: #0073aa;
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
}

.entry-content {
    margin-bottom: 20px;
}

.entry-footer {
    font-size: 0.9em;
    color: #666666;
}

.site-footer {
    background-color: #1e73be;
    padding: 20px 0;
     
    color: #FFF;
    border-top:solid 5px #005a97;
}

.footer-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.footer-navigation li {
    margin: 0 10px;
}

.footer-navigation a {
    text-decoration: none;
    color: #333333;
}

.footer-navigation a:hover {
    color: #0073aa;
}

.widget {
    margin-bottom: 20px;
}

.widget-title {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.sidebar {
    padding: 20px;
    background: #ffffff;
    border-left: 1px solid #e9ecef;
}


.menu-toggle {
    display: none;
}

.nav-link{
    color:#FFF;
}
.nav-item{
    transition: 0.3s ease;
}
.nav-item:hover{
    background-color: #002f70;
}

.current-menu-item{
    background-color: #00214e;
}
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }
    .sidebar {
        border-left: none;
        border-top: 1px solid #e9ecef;
        padding-top: 20px;
    }

    .menu-toggle {
        display: block;
    }
    .main-navigation {
        position: relative;
        display: none;
    }
    .main-navigation.active {
        display: flex;
    }
    .main-navigation ul {
        flex-direction: column;
        text-align: center;
    }
    /* .main-navigation li {
        margin: 10px 0;
    } */

  
 
   
}

@media (min-width:992px){
    
   
}