/* Add custom styles here */
.post-title{
    color:#6EC1E4;
    font-family: "kanit";
}
.widget_polylang {
    margin: 0;
    display: flex;
    align-items: center;
}
.widget_polylang ul{
    flex-direction: row;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-link:hover{
    color: #0073aa;
}
.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    color: rgba(0,0,0, 0.65);
    background-color: transparent;
    border: 1px solid rgba(0,0,0, 0.15);
    border-radius: 0.375rem;
    transition: box-shadow 0.15s ease-in-out;
}

.navbar-toggler-icon{
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


.wp-block-search  {
    display: flex;
}



.wp-block-search__input{
    border: solid 1px #CCC;
    border-radius: 3px 0px 0px 3px;
    flex: 1;
}
.wp-block-search__button{
    background-color: #ffb500;
    border: none;
    border-radius: 0px 5px 5px 0px;
    padding: 4px 8px;
    width: 36px;
    margin-left: 0px;
}


.post-thumbnail{
    max-height: 200px;
    overflow-y: hidden;
}
.post-thumbnail img{
    margin: auto;
}
.dropdown-menu{
    width: 200px;
}

@media(min-width:992px){
    .d-md-none  {
        display: none;
    }
}


@media (max-width: 991px) {
    .dropdown-menu{
        width: auto;
    }
    .d-sm-none  {
        display: none;
    }
     
    .wp-block-search{
        margin-bottom: 8px;
    }


    .dropdown.dropdown-submenu{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        align-content: flex-end;
    }
    .nav-link{
        display: block;
        width: 100%;
    }
    
   .nav-item.dropdown.nav-item-custom:before{
         display: none;
   }

   .navbar-nav > .nav-item.dropdown > .nav-link ~ .dropdown-menu > .dropdown-submenu .dropdown-toggle::after
   {
        display: inline-block;
        margin-left: .255em;
        vertical-align: .255em;
        content: "";
        border-top: .3em solid;
        border-right: .3em solid transparent;
        border-bottom: 0;
        border-left: .3em solid transparent;
        margin-right: 16px;
   }
   .navbar-nav > .nav-item.dropdown > .nav-link ~ .dropdown-menu > .dropdown-submenu > .dropdown-menu{
    position:static;
    left: 0;
    top: 0;
    width: 90%;
    border: none;
   }
    .navbar-collapse{
        position: absolute;
        z-index: 9999;
        background: white;
        width: 100%;
        top: 0px;
        box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
    }
    .nav-link{
        text-align: left;
        padding-left: 16px;
    }
    .navbar-light .dropdown-menu.show{
        border: none;
        margin-left: 32px;
        margin-top: 0;
    }
    .navbar-light .dropdown-menu li{
        border-bottom: 1px solid #e9ecef;
    }
   


}
