body{
    min-height: 800px;
    position: relative;
    width: 100%;
    overflow-x:hidden;
    margin:0;
    padding:0;
    display: flex;
    flex-direction: column;
    font-family: Georgia, serif;
}

#site_body{
    display: flex;
    flex-direction: column;
    width:100%;
    min-width:100%;
    height:100%;
    margin:0;
    border:0;
    padding:0;
    flex: 1;
}

/*
    nav bar
*/
#siteheader{
    width:100%;
    position:sticky;
    position: -webkit-sticky;
    top:0;
    left:0;
    /*z-index:100;*/
}

#navigation_section{
    user-select:none;
    box-shadow:1px 1px 4px rgba(100,100,100,0.4);
    background: #6e6e6e;
    background: linear-gradient(167deg,rgba(92, 92, 92, 1) 0%, rgba(40, 63, 92, 1) 50%, rgba(9, 36, 89, 1) 100%);
}

#navigation_bar{
    display:flex;
    width:100%;
    flex-wrap:wrap;
    z-index:1000;
    justify-content: center;
}

#navigation_bar_p1{
    display:flex;
    flex-direction:row;
    width:100%;
    max-width:1200px;
    padding:0;
    align-items:center;
}

#navigation_bar_brand_container{
    margin:0 20px;
}

#company_logo{
    width:120px;
}

.navigation-li-s{
    position:relative;
    display: flex;
    width:100%;
    /*height:32px;*/
}

.navigation-li-srch{
    position:relative;
    display:flex;
    background:transparent;
    width:100%;
    margin:0 10px;
}

#navigation_search_input_icon{
    position:absolute;
    top:0;
    left:0;
    background:transparent;
    z-index: 10;
    padding-top: 5px;
    padding-left: 8px;
    color:#000;
}

#navigation_search_input{
    position:relative;
    display:inline-block;
    width:100%;
    height:100%;
    padding-left : 40px;
    background:#fff;
    border-radius:5px;
    color:#000;
    border:2px solid #fff;
    font-size:1.1rem;
    transition:0.5s;
}

#navigation_search_input:focus{
    border:2px solid #ccc;
    outline: none;
}

.filter-input-result{
    position:absolute;
    top:calc(100% + 5px);
    left:0;
    background:transparent;
    width:100%;
    overflow-y:hidden;
    height:0;
    transition:0.5s;
    z-index:1000;
}

.filter-input-result.showing{
    height:400px;
}

.filter-input-result-box{
    position:relative;
    width:calc(100% - 10px);
    top:10px;
    height:calc(100% - 15px);
    margin:auto;
    background:#fff;
    box-shadow: 0 0 4px #000;
}

.filter-input-result-box:before {
    bottom: 100%;
	left: 15px;
	border: solid transparent;
	content: "";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: #fff;
	border-width: 10px;
	margin-left: -10px;
    z-index:1000;
}

#searchByTextResult{
    
}

.navigation-li-s-l {
    display:flex;
    white-space:nowrap;
}

.navigation-li-s-l a{
    position:relative;
    margin-left:10px;
}

.navigation-li-s-l a .btn{
    background:#eee;
}

.header-link{
    color:#fff;
    margin:0 10px;
    white-space: nowrap;
    padding:10px;
}

#navigation_bar_p2{
    position:relative;
    display:flex;
    flex-direction:row;
    width:100%;
    background:#eee;
    justify-content: center;
}

.navigation-bar-container{
    display:flex;
    flex-direction:row;
    width:100%;
    max-width:1200px;
}

.navigation-li-m{
    display:flex;
    width:100%;
    justify-content: space-between;
    margin:0;
}
.navigation-item-link{
    display:inline-block;
    width:100%;
    padding:20px;
    color:#000;
    text-align:center;
    
}

.navigation-item-link:hover{
    color:#555;
    cursor:pointer;
}

.navigation-item-sub-box{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    height:0;
    background:#ddd;
    display:none;
    height: 0.5s !important;
    overflow-y:hidden;
}

.navigation-item-sub-box.collapse{
    display:block;
    height:500px;
    overflow-y:auto;
    
}

.navigation-item{
    list-style-type:none;
}

.navigation-item-sub-container{
    max-width:1200px;
    margin:auto;
    padding-top:20px;
    height:100%;
}

.navigation-item-sub-header{
    padding:10px;
    font-weight:bold;
    margin-bottom:10px;
    border-bottom:1px solid #aaa;
}

.navigation-item-sub-list{
    padding:0;
}

.navigation-item-sub-list li{
    list-style-type:none;
    padding:10px;
}

/*

    actual content

*/
#site_content{
    width:100%;
    max-width:1200px;
    margin:auto;
}

/*

    footer

*/
footer{
    background:#777;
    color:#fff;
}

#footer{
    max-width:1200px;
    margin:auto;
    padding:20px 0;
}

#footer a{
    color:#fff;
}

/*
 modal style
*/
.modal-header{
    padding: 10px 10px;
}

.btn-modal-close{
    background:transparent;
    border:none;
}

/*
 common used style
*/
:root{
    align-items: center;
    vertical-align: middle
}

img, svg {
    vertical-align: text-bottom;
}

a{
    text-decoration:none;
    color:#000;
}

.btn{
    padding:5px;
}

.btn-main{
    background:#fff;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 1px #555 !important;
}

/* special settings for desktop */
@media only screen and (min-width: 991px) {
    
    .m-content{
        display:none !important;
    }
    
    .navbar-toggler {
        display: none;
    }
}

/* special settings for mobile phone */
@media only screen and (max-width: 991px){
    
    .d-content{
        display:none !important;
    }
    
}

/*
 mobile device
*/
@media only screen and (max-width: 768px){
    
}