.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
  background-color: #ffffff;
  /* font-family: 'Open Sans', sans-serif; */
  font-family: 'Trirong', sans-serif;
  font-size: 18px;
  letter-spacing: 0.25px;
  color: #666666;
}

h1, h2, h3, h4, h5, h6{
    /* font-family: 'Kanit', sans-serif; */
    font-family: 'Trirong', sans-serif;
}
.center {
    text-align: center;
}
.clear-fix {
    clear: both;
}

i.icon-space {
    padding-right: 5px;
}
.mr-20 {
    margin-right: 20px;
}
.ml-15 {
    margin-left: 15px;
} 
.pr-0 {
    padding-right: 0;
}
.intro {
    margin-top: 50px;
    margin-bottom: 50px;
}


/* *************** */
/*    Top Menu     */
/* *************** */
.navbar {
    padding: 15px;
    font-family: 'Kanit', sans-serif;
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99;
    color: #666666;
}
.navbar-brand {
    margin-right: 10px !important;
}
a.navbar-brand {
    padding: 10px;
}
.navbar a {
    text-decoration: none;
    font-size: 18px; 
    line-height: 25px;
    color: #821923;
    font-weight: 900;
}
.navbar a:hover {
    /* background-color: #ddd; */
    color: #821923;
    font-weight: 900;
}
.navbar-collapse {
    padding-left: 150px;
}
.bg-dark {
    background-color: #363636 !important;
}
.nav-item .dropdown .show {
    border-color: #ffffff;
}
.navbar-nav .nav-link {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}
#navbarCollapse li {
    padding: 0 10px;
}
#navbarCollapse li.active {
    /* border-bottom: 2px solid #96A190; */
    background-color: #821923;
    color: #ffffff;
    font-weight: 500;
    padding: 0 10px;
}
#navbarCollapse li.hover {
    /* border-bottom: 2px solid #96A190; */
    background-color: #821923;
    color: #ffffff;
    font-weight: 500;
    padding: 0 10px;
}
.navbar-dark .navbar-nav .nav-link {
    color: #666666;
}
li.nav-item a.nav-link {
    color: #666666;
    font-weight: 500;
}
li.nav-item a:hover.nav-link {
    background-color: #821923;
    color: #ffffff !important;
    font-weight: 500;
}
a:hover.nav-link, a:active.nav-link {
    background-color: #D6CBB6;
    color: #666666;
    font-weight: 500;
}
.dropdown-menu {
    background-color: #ffffff;
}
a.dropdown-item {
    background-color: #ffffff;
    color: #666666;
    font-weight: 500;
}
a:hover.dropdown-item, a:active.dropdown-item {
    background-color: #821923;
    color: #ffffff;
    font-weight: 500;
}
.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link {
    background-color: #821923;
    color: #ffffff;
}
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    color: #666666;
}



/* *************** */
/*    Top Banner   */
/* *************** */
/* .bn-top {
    margin-top: 100px;
}
img.lg-bn {
    width: 100%;
    max-width: 830px;
    overflow: hidden; 
}
img.sm-bn {
    width: 100%;
    max-width: 400px;
    overflow: hidden;
}
img.md-bn {
    width: 100%;
    max-width: 500px;
    overflow: hidden;
}
.bn-zoom {
    overflow: hidden;
}
.bn-zoom img {
    transition: transform .5s ease;
}
.bn-zoom:hover img{
    transform: scale(1.1);
    overflow: hidden;
}
.bottom-row {
    margin-top: 30px;
}
.top-row {
    margin-top: 0px;
}
.inner-content {
    position: absolute;
    top: 0%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 830px;
    height: 100%;
    overflow: hidden;
    text-align: center;
    background-color: rgba(0,0,0,.4);
    padding: 0px;
    margin-left: 0px;
    z-index: 5;
    text-align: left;
    letter-spacing: 1px;
}
.inner-content-sm {
    position: absolute;
    top: 80%;
    transform: translateY(-50%);
    width: 80%;
    height:fit-content;
    text-align: center;
    background-color: rgba(0,0,0,.6);
    padding: 15px 15px 5px 15px;
    margin-left: 5%;
    z-index: 5;
}
.inner-content-md {
    position: absolute;
    top: 80%;
    transform: translateY(-50%);
    width: 80%;
    height:fit-content;
    text-align: center;
    background-color: rgba(0,0,0,.6);
    padding: 15px 15px 5px 15px;
    margin-left: 5%;
    z-index: 5;
}
.inner-content h1 {
    margin-top: 30%;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin-left: 10%;
    margin-bottom: 15px;
}
.inner-content h4 {
    margin-top: 20px;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    margin-left: 10%;
    margin-right: 10%;
    font-family: 'Trirong', sans-serif;
    line-height: 32px;
}
.inner-content:hover {
    background-color: rgba(0,0,0,.8);
}
.inner-content-sm:hover {
    background-color: rgba(0,0,0,.8);
}
.inner-content-md:hover {
    background-color: rgba(0,0,0,.8);
}
.inner-content-sm h4{
    color: #fff;
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    margin-bottom: 15px;
}
.inner-content-md h4{
    color: #fff;
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    margin-bottom: 15px;
}
.inner-content h1 a {
    color: #fff;
    text-decoration: none;
}
.inner-content h1 a:hover {
    color: #fff;
    text-decoration: none;
}
.inner-content-sm h4 a {
    color: #fff;
    text-decoration: none;
}
.inner-content-sm h4 a:hover {
    color: #fff;
    text-decoration: none;
}
.inner-content-md h4 a {
    color: #fff;
    text-decoration: none;
}
.inner-content-md h4 a:hover {
    color: #fff;
    text-decoration: none;
}
.hover-content {
    position: absolute;
    top: 15px;
    right: 15px;
    left: 15px;
    bottom: 15px;
    text-align: center;
    background-color: rgba(42,42,42,.97);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
}
@media only screen and (max-width: 480px) {
    .inner-content {
        position: absolute;
        top: 0%;
        transform: translateY(-50%);
        width: 94%;
        height: 100%;
        overflow: hidden;
        text-align: center;
        background-color: rgba(0,0,0,.4);
        padding: 0px;
        margin-left: 0px;
        z-index: 5;
        text-align: left;
        letter-spacing: 1px;
    }
    .inner-content h1 {
        margin-top: 10%;
        color: #fff;
        font-size: 22px;
        font-weight: 700;
        margin-left: 10%;
        margin-bottom: 15px;
    }
    .inner-content h4 {
        margin-top: 20px;
        color: #fff;
        font-size: 17px;
        font-weight: 500;
        margin-left: 10%;
        margin-right: 10%;
        letter-spacing: 1px;
        line-height: 24px;
        margin-bottom: 15px;
    }
} 
*/




/* 
---------------------------------------------
banner
--------------------------------------------- 
*/

.main-banner {
    padding-top: 110px;
  }
  
  .main-banner .left-content .thumb img {
    width: 100%;
    overflow: hidden;
  }
  
  .main-banner .left-content .inner-content {
    position: absolute;
    left: 100px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .main-banner .left-content .inner-content h4 {
    color: #fff;
    margin-top: -10px;
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
  }
  
  .main-banner .left-content .inner-content span {
    font-size: 17px;
    color: #fff;
    font-weight: 400;
    font-style: italic;
    display: block;
    /* margin-bottom: 30px;
    max-width: 85% !important; */
    letter-spacing: 1px;
  }
  
  .main-banner .right-content .right-first-image {
    margin-bottom: 28.5px;
  }
  
  .main-banner .right-content .right-first-image .thumb {
    position: relative;
    text-align: center;
  }
  
  .main-banner .right-content .right-first-image .thumb img {
    width: 100%;
    overflow: hidden;
  }
  
  .main-banner .right-content .right-first-image .thumb .inner-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
  }
  
  .main-banner .right-content .right-first-image .thumb .inner-content h4 {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 15px;
    margin-right: 15px;
    margin-left: 15px;
    padding: 15px;
    background-color: rgba(42,42,42,.6);
  }
  
  .main-banner .right-content .right-first-image .thumb .inner-content span {
    font-size: 16px;
    color: #fff;
    font-style: italic;
  }
  
  .main-banner .right-content .right-first-image .thumb .hover-content {
    position: absolute;
    top: 15px;
    right: 15px;
    left: 15px;
    bottom: 15px;
    text-align: center;
    background-color: rgba(42,42,42,1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
  }
  
  .main-banner .right-content .right-first-image .thumb:hover .hover-content {
    opacity: 1;
    visibility: visible;
  }
  
  .main-banner .right-content .right-first-image .thumb .hover-content .inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
  }
  
  .main-banner .right-content .right-first-image .thumb .hover-content h4 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
  }
  
  .main-banner .right-content .right-first-image .thumb .hover-content p {
    color: #fff;
    padding: 0px 20px;
    margin-bottom: 20px;
  }

@media only screen and (max-width: 480px) {  
    .main-banner .left-content {
        margin-bottom: 30px;
    }
    .main-banner .left-content .inner-content {
        left: 50px;
        top: 50%;
      }
    .main-banner .left-content .inner-content h4 {
        font-size: 30px;
        max-width: 85% !important;
    }
    .main-banner .left-content .inner-content span {
        font-size: 16px;
        margin-bottom: 30px;
        max-width: 85% !important;
        letter-spacing: 1px;
    }
}
@media only screen and (max-width: 769px) {  
  .main-banner .left-content {
    margin-bottom: 30px;
    }
}


/* *************** */
/* Objects Banner  */
/* *************** */
.banner {
    display: flex;
    flex-direction: row;
}
.banner-lg img {
    display: flex;
    width: 600px;
}
.banner-sm-top img {
    display: flex;
    width: 300px;
    height: auto;
    margin: 15px 15px 0 15px;
}
.banner-sm-bottom img {
    display: flex;
    width: 300px;
    height: auto;
    margin: 15px 15px 0 15px;
}




/* *************** */
/*    Breadcrumb   */
/* *************** */
ul.breadcrumb {
    padding: 10px 16px;
    list-style: none;
    /* background-color: #E7E7E7; */
    background-color: #ffffff !important;
}
ul.breadcrumb li {
    display: inline;
    font-size: 16px;
    font-family: 'Kanit', sans-serif;
}
ul.breadcrumb li+li:before {
    padding: 8px;
    color: #666666;
    content: "/\00a0";
}
ul.breadcrumb li a {
    color: #821923;
    text-decoration: none;
}
ul.breadcrumb li a:hover {
    color: #000000;
    text-decoration: underline;
}
ul i {
    padding-right: 5px;
}
ul.view-option {
    float: right;
    padding: 5px 10px;
    list-style: none;
    background-color: #F2F0EA;
}
ul.view-option li {
    display: inline;
    font-size: 16px;
    font-family: 'Kanit', sans-serif;
}
ul.view-option li+li:before {
    padding: 5px;
    color: #666666;
    content: "/\00a0";
}
ul.view-option li a {
    color: #666666;
    text-decoration: none;
}
ul.view-option li a:hover {
    color: #000000;
    text-decoration: underline;
}



/* *************** */
/*   Share Button  */
/* *************** */
.share-icon ul {
    margin-left: -40px;
}
.share-icon li{
    display: inline;
}
.share-icon i {
    margin-right: 5px;
    font-size: 22px;
}
a.social-share {
    color: #821923;
}
a:hover.social-share, a.social-share-active {
    color: #000000;
}




/* *************** */
/*     Button      */
/* *************** */
.btn-group-lg>.btn, .btn-lg {
    padding: .25rem 0.5rem;
    font-size: 1rem;
    line-height: 1;
    border-radius: .3rem;
}




/* *************** */
/*      Footer     */
/* *************** */
footer {
    margin-top: 120px;
    color: #821923;
}
a.go-top {
    color: #666666;
    background-color: #EBECE9;
    padding: 10px 15px;
    font-family: 'Kanit', sans-serif;
}


/* *************** */
/*    Our Works    */
/* *************** */
.index-series-top-space {
    margin-top: 140px;
}
.tn-work-img {
    max-width: 230px;
    height: auto;
}

.featurette-divider {
    margin: 2.5rem 0;
}

.works-caption {
    bottom: 3rem;
    z-index: 10;
}

.works-caption {
    z-index: 10;
    background-color: #000000;
    opacity: 0.7;
    padding: 10px;
    margin-bottom: 0px;
    color: #fff;
    text-align: center;
}

h1.organize {
    color: #666666;
    font-size: 36px;
    font-weight: 700;
    text-align: left;
    padding-left: 15px;
}
p.organize {
    color: #666666;
    font-size: 20px;
    font-weight: 500;
    text-align: left;
    padding: 15px;
}

h1.our-works {
    font-size: 36px;
    font-weight: 700;
    text-align: left;
    color: #666666;
    margin-left: 10px;
    padding-left: 10px;
    border-bottom: 2px dotted #363636;
    border-left: 15px solid #666666;;
}
h3.our-works {
    color: #666666;
    font-weight: 700;
    text-align: left;
    padding-left: 20px;
    padding-top: 10px;
}

h5.our-works {
    color: #666666;
    font-weight: 700;
    text-align: left;
    padding-left: 15px;
    padding-top: 10px;
}

a.text-our-works {
    /* border: 1px solid #cccccc !important; */
    color: #666666 !important;
    padding: 3px;
    line-height: 1.5rem;
    margin : 0 5px;
    z-index: 10;
    text-align: center;
}

a:hover.text-our-works, a:active.text-our-works {
    /* background-color: #000000 !important; */
    color: #000000 !important;
    padding: 3px;
    line-height: 1.5rem;
    text-decoration: none;
    margin : 0 5px;
    z-index: 10;
}

img.our-work-img-shadow{
    /* background-color: #000000 !important; */
    box-shadow: 1px 2px 2px 1px rgba(0, 0, 0, 0.3);
    text-align: center;
}
img.our-work-img-shadow:hover {
    /* background-color: #000000 !important; */
    box-shadow: 3px 5px 5px 2px rgba(0, 0, 0, 0.3);
    /* transition: 0.5s; */
}

.justify-content {
    justify-content: space-evenly;
}
  
.nav-scroller {
    position: relative;
    z-index: 2;
    /* height: 2.75rem; */
    overflow-y: hidden;
}
  
.nav-scroller .nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
  
.nav-scroller .nav-link {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: .875rem;
}

.works-bg {
    background-color: #ffffff;
}




/* *************** */
/*  Search Section */
/* *************** */
.search-bg-index {
    /* margin-top: 40px; */
    background-color: #EBE2C1;
}
.search-bg {
    margin-top: 110px;
    background-color: #EBE2C1;
}
.reduce-head {
    margin-top: 0px;
    background-color: #ffffff;
}
.reduce-row-space {
    margin-left: 0px;
    margin-right: 0px;
}
.ad-vspace {
    padding: 25px 30px 40px 30px;
}
@media only screen and (max-width: 480px) {
    .search-bg-index {
        margin-top: 50px;
    }
}



/* *********** */
/* Search Tabs */
/* *********** */
.tab {
    overflow: hidden;
    /* border: 1px solid #ccc; */
    /* background-color: #f1f1f1; */
  }
  
  /* Style the buttons inside the tab */
  .tab button {
    background-color: inherit;
    color: #666666;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 24px;
    font-weight: 800;
    font-family: 'Kanit', sans-serif;
  }
  /* Change background color of buttons on hover */
  .tab button:hover {
    background-color: #821923;
    color: #ffffff;
  }
  
  /* Create an active/current tablink class */
  .tab button.active {
    background-color: #821923;
    color: #ffffff;
  }
  
  /* Style the tab content */
  .tabcontent {
    display: none;
    /* padding: 6px 12px; */
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
  }

  /* Fade in tabs */
  @-webkit-keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
  }
  
  @keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
  }



/* *********** */
/* Search Form */
/* *********** */
  form.example input[type=text] {
    padding: 10px;
    font-size: 18px !important;
    border: 1px solid #DBDCD9;
    float: left;
    width: 550px;
    height: 51px;
    background: #ffffff;
    z-index: 5;
  }
  
  form.example button {
    float: left;
    width: 10%;
    height: 51px;
    padding: 10px;
    background: #821923;
    color: #ffffff;
    font-size: 17px;
    border: 1px solid #821923;
    border-left: none;
    cursor: pointer;
  }
  
  form.example button:hover {
    background: #000000;
    color: #ffffff;
  }
  
  form.example::after {
    content: "";
    clear: both;
    display: table;
  }
  .advance {
    width: 800px !important;
  }
  .btn-primary {
    color: #ffffff;
    background-color: #821923;
    border-color: #821923;
  }
  .btn-primary:hover {
    color: #ffffff;
    background-color: #000000;
    border-color: #000000;
  }
  .custom-control-label {
    font-size: 18px;
    line-height: 28px;
  }
  .btn-block+.btn-block {
    margin-top: 0px !important;
  }
  button.btn-advance {
    margin-right: 15px;
    background: #821923;
  }
  button.btn-advance:hover {
    background: #000000;

  }



/* ************* */
/* Search Result */
/* ************* */
/* img.card-search-tn {
    width: 100%;
    max-width: 200px;
    height: auto;
    align-self: center;
    margin-top: 10px;
} */
img.card-search-tn {
    width: auto;
    max-width: 80%;
    height: 170px;
    /* max-height: auto; */
    align-self: center;
    margin-top: 20px;
}
.card {
    height: 525px;
}

.justify-content-between {
    -ms-flex-pack: justify !important;
    justify-content: end !important;
}
.btn {
    width: 80px;
}
.btn-outline-secondary {
    color: #ffffff;
    border-color: #821923;
    background-color: #821923;
}
.btn-outline-secondary:hover {
    color: #ffffff;
    border-color: #000000;
    background-color: #000000;
}
h4.block-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-body h4 {
    height: 80px;
    font-size: 19px;
    line-height: 27px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
            line-clamp: 3; 
    -webkit-box-orient: vertical;
}
.card-body h6 {
    padding-top: 15px;
}
.card-body h4 a {
    color: #666666;
    text-decoration: none;
}
.card-body h4 a:hover {
    color: #000000;
    text-decoration: none;
}
.card-text {
    height: 113px;
    padding-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
            line-clamp: 4; 
    -webkit-box-orient: vertical;
}
.v-card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    height: 260px;
}
.v-card-img {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}
.v-card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
    margin-top: 15px;
}
img.v-card-search-tn {
    width: 100%;
    max-width: 200px;
    height: auto;
    align-self: center;
    margin-top: 10px;
}
.v-card-text {
    height: 80px;
    padding-top: 5px;
}
.v-card-body h4 {
    height: 40px;
}

h3.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: left;
    color: #666666;
    margin-left: 15px;
    margin-right: 15px;
    padding-left: 10px;
    border-bottom: 2px dotted #363636;
    border-left: 12px solid #666666;
}
h4.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: left;
    color: #666666;
    margin-left: 15px;
    margin-right: 15px;
    padding-left: 10px;
    border-bottom: 2px dotted #363636;
    border-left: 12px solid #666666;
}
a.printing-tag {
    font-size: 15px;
    font-weight: 700;
    color: #821923;
    text-decoration: none;
}
a:hover.printing-tag {
    font-size: 15px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
}



/* *********** */
/* Accordion */
/* *********** */
.accordion {
    background-color: #D6CBB6;
    color: #666666;
    cursor: pointer;
    padding: 18px;
    margin: 5px 0px;
    width: 100%;
    height: fit-content;
    border: none;
    text-align: left;
    outline: none;
    font-size: 20px;
    font-weight: 900;
    transition: 0.4s;
    font-family: 'Kanit', sans-serif;
  }
  
  .accordion-active, .accordion:hover {
    background-color: #CEB997;
  }
  
  .accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
  }
  
  .accordion-active:after {
    content: "\2212";
  }
  
  .accordion-panel {
    padding: 0 18px;
    background-color: white;
    height: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  }





/* *************** */
/*   Content Page  */
/* *************** */
h1.series-title {
    font-size: 30px;
    font-weight: 900;
}
button.reset {
    width: 80px !important;
}
button.submit {
    width: 80px !important;
}
.mySlides img {
    display: block;
    height: 100%;
    max-height: 600px;
    width: auto !important;
    margin-left: auto;
    margin-right: auto;
}
@media only screen and (max-width: 767px) {
    .mySlides img {
        max-height: 400px;
    }
} 
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .mySlides img {
        max-height: 600px;
    }
} 



/* *************** */
/*      About      */
/* *************** */
.about {
    text-align: center;
}
.page-head {
    margin-top: 100px;
    background-color: #ECE3C9;
    height: 220px;
}
.page-head p {
    text-align: center;
    font-size: 40px;
    color: #666666;
    font-family: 'Kanit', sans-serif;
    margin-top: 80px;
    font-weight: 800;
}
.about-content {
    font-size: 18px;
    text-align: left;
    text-indent: 50px;
    padding: 0 15px;
}
img.about-intro {
    max-width: 600px;
}
.about-tab-content {
    font-size: 18px;
    text-align: left;
    text-indent: 50px;
    padding: 20px 15px;
}
.about-tab-content-imp {
    font-style: italic;
    font-weight: bolder;
}
ol.about, ul.about {
    text-align: left;
    font-size: 18px;
    padding-left: 80px;
}



/* *************** */
/*     Contact     */
/* *************** */
.org-name {
    font-size: 26px;
    font-weight: 900;
    text-align: left;
}
.address {
    text-align: left;
    font-size: 20px;
}
.address i {
    font-size: 15px;
}
a.map-link {
    color: #666666;
    padding-left: 5px;
}
a:hover.map-link, a:active.map-link {
    color: #000000;
    text-decoration: none;
}
h4.contact-form {
    font-size: 1.5rem;
}
.contact-form {
    text-align: left;
}
.contact-text {
    height: 180px;
}
.contact-form button {
    float: left;
    width: 10%;
    height: 41px;
    padding: 10px;
    background: #821923;
    color: #ffffff;
    font-size: 17px;
    border: 1px solid #821923;
    border-left: none;
    cursor: pointer;
}
.contact-form button:hover {
    background: #000000;
    color: #ffffff;
}




/* Register
------------------------- */
.register {
    margin-bottom: 20px;
}
.register-form {
    text-align: left;
}
.register-text {
    height: 180px;
}
.register-form button {
    float: left;
    width: 10%;
    height: 41px;
    padding: 10px;
    background: #821923;
    color: #ffffff;
    font-size: 17px;
    border: 1px solid #821923;
    border-left: none;
    cursor: pointer;
    width: 80px;
}
.register-form button:hover {
    background: #000000;
}
a.forgot-pwd-link {
    color: #821923;
    text-decoration: none;
}
a:hover.forgot-pwd-link {
    color: #000000;
}
.info-title {
    line-height: 40px;
    padding-left: 100px;
    text-align: left;
    font-weight: 800;
}
.info-content {
    line-height: 40px;
    padding-left: 30px;
    text-align: left;
    font-weight: 500;
}
@media only screen and (max-width: 480px) {
    .info-title {
        padding-left: 20px;
    }
} 



/* *************** */
/*    Carousel   */
/* *************** */
.item-img {
    text-align: center;
}
img.card-img-top {
    width: auto;
    max-width: 80%;
    height: 170px;
    text-align: center;
    margin-top: 20px;
}
.item h4 {
    height: 90px;
    font-size: 19px !important;
    line-height: 27px;
    font-weight: 700;
    text-align: left !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
            line-clamp: 3; 
    -webkit-box-orient: vertical;
}
.item h4 a {
    color: #666666;
    text-decoration: none;
    text-align: left !important;
}
.item h4 a:hover {
    color: #000000;
    text-decoration: none;
    text-align: left !important;
}



/* *************** */
/*    Collection   */
/* *************** */
a.collection-title {
    color: #666666;
    text-decoration: none;
}
a:hover.collection-title {
    color: #000000;
    text-decoration: none;
}




/* ***************** */
/*  Tree View Series */
/* ***************** */
 .sidebar-series {
    border: 1px solid #D4C6B4;
    padding: 15px 15px;
    height: fit-content
}

.sidebar-series h3{
    padding-left: 15px;
}

.sidebar-series li {
    border-left: 1px dotted #666666;
}

ul, #myUL {
    list-style-type: none;
    margin-left: -10px;
}
#myUL {
    margin: 0;
    padding: 0;
}

.caret {
    cursor: pointer;
    -webkit-user-select: none; 
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.caret::before {
    content: "\002B";
    color: black;
    display: inline-block;
    margin-right: 6px;
}

.caret-down::before {
    -ms-transform: rotate(90deg); 
    -webkit-transform: rotate(90deg); 
    transform: rotate(90deg);  
}
ul .nested {
    margin-left: -10px;
}
.nested {
    display: none;
}

.active {
    display: block;
}
.series-content {
    padding: 0 30px;
}

a.series  {
    color: #666666;
    text-decoration: none;
}
a:hover.series {
    color: #000000;
    text-decoration: none;
}




/* List View
------------------------------ */
ul.list-view li {
    line-height: 50px;
    margin-left: 30px;
    list-style-type: "\27A4";
    padding-inline: 15px;
    color: #821923;
    /* border-bottom: 1px solid #CEB997; */
}
ul.list-view li:hover {
    color: #000000;
}
a.list-text {
    color: #821923;
    text-decoration: none;
    font-weight: 500;
}
a:hover.list-text {
    color: #000000;
}



/* Series Box
------------------------------ */
.series-row:after {
    content: "";
    display: table;
    clear: both;
}
.series-column {
    float: left;
    width: 33%;
    padding: 10px;
}
.series-card {
    background-color: #EBE2C1;
    border: 1px solid #EBE2C1;
    text-align: center;
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2);
    padding: 16px;
    min-height: fit-content;
    vertical-align: middle;
}
a.series-card-text {
    text-decoration: none;
    color: #666666;
}
a:hover.series-card-text {
    text-decoration: none;
    color: #666666;
}
.series-card:hover {
    box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.2);
    text-decoration: none;
}
@media only screen and (max-width: 480px) {
    .series-column {
        float: left;
        width: 100%;
        padding: 10px;
    }
}





/* *************** */
/*      Series     */
/* *************** */
/* .series-title {

} */

h1.series-title {
    font-size: 30px;
    font-weight: 900;
}
button.reset {
    width: 80px !important;
}
button.submit {
    width: 80px !important;
}
p.metadata-title {
    font-weight: 900 !important;
    text-decoration: underline !important;
}
.series-tab-content {
    font-size: 17px;
    text-align: left;
    padding: 20px 15px;
    height: fit-content;
}



/* Vertical Tab 
------------------------------- */
.v-tab {
    float: left;
    position: relative;
    background-color: #821923;
    width: 30%;
    height: fit-content;
  }
  
  /* Style the buttons inside the tab */
  .v-tab button {
    display: block;
    background-color: inherit;
    color: #ffffff;
    padding: 22px 16px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
    font-size: 17px;
  }

  /* Change background color of buttons on hover */
  .v-tab button:hover {
    background-color: #821923;
    color: #ffffff;
  }
  
  /* Create an active/current "tab button" class */
  .v-tab button.active {
    background-color: #000000;
    color: #ffffff;
  }
  
  /* Style the tab content */
  .tabcontentInfo {
    float: left;
    padding: 0px 12px;
    /* border: 1px solid #ccc; */
    width: 70%;
    border-left: none;
    height: fit-content;
  }
  button.edit-btn {
    padding: 10px 15px;
    color: #ffffff;
    background-color: #821923;
    border-color: #821923;
  }
  button.edit-btn:hover {
    color: #fff;
    background-color: #000000;
    border-color: #000000;
  }




/* *************** */
/*      Table      */
/* *************** */
h4.table-title {
    margin-left: 70px;
    font-weight: 700;
}
/* .table {
    margin: 0 0 40px 70px;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    display: table;
  }   */
.table-item {
    margin: 0 0 40px 0px;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    display: table;
  }  
  .tb-row {
    display: table-row;
    background: #f6f6f6;
  }
  .tb-row:nth-of-type(odd) {
    background: #e9e9e9;
  }
  .tb-row.header {
    font-weight: 900;
    color: #ffffff;
    background: #821923;
  }
  .tb-row.green {
    background: #27ae60;
  }
  .tb-row.blue {
    background: #2980b9;
  }  
  .tb-cell {
    padding: 6px 12px;
    display: table-cell;
  }
  .tb-cell i {
      color: #821923;
      margin-right: 10px;
  }
a.tb-link {
    color: #821923;
}
.tb-cell a {
    color: #821923;
    text-decoration: none;
}
.tb-cell a:hover {
    color: #000000;
    text-decoration: none;
}


/* Pagination
----------------------------- */
/* .pagination {
    display: inline-block;
    max-width: 295px;
}
.pagination-center {
    text-align: center;
}
.pagination a {
    color: #666666;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
}
.pagination a.active {
    background-color: #821923;
    color: white;
    border-radius: 5px;
}
.pagination a:hover:not(.active) {
    background-color: #821923;
    border-radius: 5px;
    color: white;
} */
.pagination li a, .pagination li span {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
    margin: 0 4px;
  }
  
  .pagination li.active a {
    background-color: #821923;
    color: white;
    border: 1px solid #821923;
  }
  
  .pagination li a:hover:not(.active) {
    background-color: #821923;
    color: white;
  }
  @media only screen and (max-width: 767px) {
    ul.pagination {
      padding: 5px 8px !important;
      font-size: 16px;
      margin: 0 3px;
      width:max-content;
    }
  }



/* Rating
-------------------------------- */

fieldset,
label {
  margin: 0;
  padding: 0;
}
/* body {
  margin: 20px;
} */
/* h1 {
  font-size: 1.5em;
  margin: 10px 10px 10px 0px;
} */

.rating {
  border: none;
  float: left;
}

.rating > input {
  display: none;
}
.rating > label:before {
  margin: 5px;
  font-size: 1.25em;
  font-family: FontAwesome;
  display: inline-block;
  content: "\f005";
}

.rating > .half:before {
  content: "\f089";
  position: absolute;
}

.rating > label {
  color: #CCCDCD;
  float: right;
}

/***** CSS Magic to Highlight Stars on Hover *****/

.rating > input:checked ~ label, /* show gold star when clicked */
.rating:not(:checked) > label:hover, /* hover current star */
.rating:not(:checked) > label:hover ~ label {
  color: #821923;
} /* hover previous stars in list */

.rating > input:checked + label:hover, /* hover current star when changing rating */
.rating > input:checked ~ label:hover,
.rating > label:hover ~ input:checked ~ label, /* lighten current selection */
.rating > input:checked ~ label:hover ~ label {
  color: #821923;
}




/* *************** */
/* Check on Device */
/* *************** */
img.file-item-tn {
    width: 100%;
    max-width: 400px;
    height: auto;
    align-self: center;
    margin-top: 10px;
}
h4.item-section {
    font-size: 28px;
    font-weight: 700;
    text-align: left;
    color: #666666;
    margin-left: 0px;
    margin-right: 15px;
    padding-left: 10px;
    border-bottom: 2px dotted #363636;
    border-left: 12px solid #666666;
}


/* *************** */
/* Check on Device */
/* *************** */
@media only screen and (min-width: 320px) and (max-width: 479px) {
	
}
@media only screen and (max-width: 767px) {
	body {
        font-size: 16px;
    }
    .navbar a {
        font-size: 18px;
    }
    .bn-top {
        margin-top: 140px;
    }
    .top-row {
        margin-top: 30px;
    }
    
    .inner-content-sm {
        position: absolute;
        top: 80%;
        transform: translateY(-50%);
        width: 87%;
        text-align: center;
        background-color: rgba(0,0,0,.5);
        padding: 15px;
        margin-left: 3%;
    }
    .inner-content h4 a {
        font-size: 22px;
    }
    .inner-content-sm h4 a {
        font-size: 22px;
    }
    h1.organize {
        padding-top: 20px;
        font-size: 28px;
    }
    p.organize {
        font-size: 18px;
    }
    h1.our-works {
        padding-left: 10px;
        font-size: 30px;
    }
    h2.db-title {
        font-size: 26px;
    }
    h3.our-works {
        padding-top: 10px;
        padding-left: 20px;
        font-size: 24px;
    }
    h5.our-works {
        padding-top: 10px;
        padding-left: 20px;
    }
    .index-series-top-space {
        margin-top: 20px;
    }
    img.our-work {
        margin-left: 10px;
    }
    .tab button {
        font-size: 21px;
        font-weight: 800;
    }
    .navbar-collapse {
        padding-left: 10px;
        padding-top: 10px;
    }
    #navbarCollapse li {
        padding: 0;
    }
    .intro {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    form.example input[type=text] {
        width: 275px;
    }
    form.example button {
        width: 51px;
    }
    .page-head {
        margin-top: 60px;
        height: 170px;
    }
    img.about-intro {
        max-width: 355px;
    }
    .about-content {
        padding: 40px 15px 5px 15px;
    }
    .about-tab-content {
        padding: 10px 15px 5px 15px;
    }
    ol.about, ul.about {
        padding-left: 50px;
    }
    .org-name {
        font-size: 22px;
        padding: 30px 15px 10px 15px;
    }
    .address {
        padding: 5px 15px 5px 15px;
        font-size: 18px;
    }
    .contact-form {
        /* padding: 5px 15px 5px 15px; */
        font-size: 18px;
    }
    .advance {
        width: 345px !important;
    }
    button.btn-advance {
        width: 85px !important;
    }
    .item {
        height: 390px;
    }
    .item h4 {
        height: 90px;
    }
    .card {
        height: 525px;
    }
    .card-body h4 {
        height: 80px;
    }
    .card-text {
        height: 100px;
        margin-bottom: 30px;
    }
    .v-card {
        height: 510px;
    }
    .v-card-text {
        height: 105px;
    }
    .v-card-body h4 {
        height: 56px;
    }
    .series-content {
        padding: 0 20px;
    }
    .series-title {
        margin-top: 20px;
    }
    h1.series-title {
        font-size: 24px;
    }
    .table {
        display: block;
    }
    .tb-row {
        padding: 14px 0 7px;
        display: block;
    }
    .tb-row.header {
        padding: 0;
        /* height: 6px; */
    }
    .tb-row.header .cell {
        display: none;
    }
    .tb-row .cell {
        margin-bottom: 10px;
    }
    .tb-row .cell:before {
        margin-bottom: 3px;
        content: attr(data-title);
        min-width: 98px;
        font-size: 10px;
        line-height: 10px;
        font-weight: bold;
        text-transform: uppercase;
        color: #969696;
        display: block;
    }
    .tb-cell {
        padding: 2px 16px;
        display: block;
    }

}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
    .navbar a {
        font-size: 18px;
    }
    .item {
        height: 390px;
    }
    .item h4 {
        height: 90px;
    }
    .card {
        height: 525px;
    }
    .card-body h4 {
        height: 80px;
    }
    .card-text {
        height: 110px;
        margin-bottom: 25px;
    }
}
@media only screen and (min-width: 1024px) and (max-width: 1100px) {
    .item {
        height: 390px;
    }
    .item h4 {
        height: 90px;
    }
    .card {
        height: 525px;
    }
    .card-body h4 {
        height: 80px;
    }
    .card-text {
        height: 110px;
        margin-bottom: 20px;
    }
}
@media only screen and (min-width: 1201px) {

}
