@font-face {
    font-family: "battambang";
    src: url("../fonts/KhmerOSbattambang.ttf") format("embedded-opentype"), url("../fonts/KhmerOSbattambang.ttf") format("woff2");
    font-weight: normal;
    font-style: normal
}
body {
    font-family: battambang, Arial, sans-serif;
}
h2 {
    color: #000;
    font-size: 26px;
    font-weight: 300;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    margin: 30px 0 60px;
}
h2::after {
    content: "";
    width: 100px;
    position: absolute;
    margin: 0 auto;
    height: 4px;
    border-radius: 1px;
    /* background: #7ac400; */
    left: 0;
    right: 0;
    bottom: -20px;
}
#myCarousel .item{
    min-height: 300px;
}
.item {
    color: #747d89;
    text-align: center;
    overflow: hidden;
    padding: 10px 0;
}
.owl-nav{
    position: absolute;
    top: 33%;
    width: 100%;
}
.owl-dots{
    display: none;
}
.owl-next{
    right: -20px;
    position: absolute;
}
.owl-prev{
    left: -20px;
    position: absolute;
}
.owl-next,.owl-prev{
    font-size: 50px!important;
}
.category_id.active .thumb-wrapper{
    border: solid 3px #0056b34d;
    border-radius: 9px;
}
.thumb-wrapper {
    background: #fff;
    border-radius: 6px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 3px rgba(0,0,0,0.2);
    overflow: hidden;
    color: #121d2c;
}
.item .img-box {
    height: 120px;
    margin-bottom: 20px;
    width: 100%;
    position: relative;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
}
.item img {
    /* max-width: 100%; */
    /* max-height: 100%; */
    display: inline-block;
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    left: 0;
    right: 0;
}
.item h4 {
    font-size: 18px;
}
h4, p, ul {
    margin-bottom: 5px;
}
.thumb-content{
    padding: 15px 5px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: normal;
}
.thumb-content h4{
    font-size: 20px;
}
.thumb-content .btn {
    color: #0e0e0e;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    background: none;
    border: 1px solid #9a9d96;
    padding: 6px 14px;
    margin-top: 5px;
    line-height: 16px;
    border-radius: 20px;
}
.thumb-content .btn:hover, .thumb-content .btn:focus {
    color: #fff;
    background: #7ac400;
    box-shadow: none;
}
.thumb-content .btn i {
    font-size: 14px;
    font-weight: bold;
    margin-left: 5px;
}
.item-price {
    font-size: 16px;
    padding: 2px 0;
}
.item-price strike {
    opacity: 0.7;
    margin-right: 5px;
}
.carousel-control-prev, .carousel-control-next {
    height: 44px;
    width: 40px;
    background: #7ac400;
    margin: auto 0;
    border-radius: 4px;
    opacity: 0.8;
}
.carousel-control-prev:hover, .carousel-control-next:hover {
    background: #78bf00;
    opacity: 1;
}
.carousel-control-prev i, .carousel-control-next i {
    font-size: 36px;
    position: absolute;
    top: 50%;
    display: inline-block;
    margin: -19px 0 0 0;
    z-index: 5;
    left: 0;
    right: 0;
    color: #fff;
    text-shadow: none;
    font-weight: bold;
}
.carousel-control-prev i {
    margin-left: -2px;
}
.carousel-control-next i {
    margin-right: -4px;
}
.carousel-indicators {
    bottom: -50px;
}
.carousel-indicators li, .carousel-indicators li.active {
    width: 10px;
    height: 10px;
    margin: 4px;
    border-radius: 50%;
    border: none;
}
.carousel-indicators li {
    background: rgba(0, 0, 0, 0.2);
}
.carousel-indicators li.active {
    background: rgba(0, 0, 0, 0.6);
}
.wish-icon {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 99;
    cursor: pointer;
    font-size: 16px;
    color: #abb0b8;
}
.wish-icon .fa-heart {
    color: #ff6161;
}
.star-rating li {
    padding: 0;
}
.star-rating i {
    font-size: 14px;
    color: #ffc000;
}
body{
    background: #fff;
    font-family: battambang, Arial, sans-serif;
}
.header{
    color: #fff;
    background-color: #00a2e8;
    background-size: cover;
    /* padding: 15px 0; */
}
.header.small{
    /* padding: 10px 0; */
    /* min-height: 60px; */
    /*background: #1ebba3;!important;*/
}
.header h1{
    font-size: 60px;
    line-height: 1;
}
.header p{
    font-size: 22px;
}
.header.small{
    margin-bottom: 0;
}
.navbar{
    border-bottom: none;
    margin: 0;
}
.navbar .btn-sm{
    padding: .4rem .5rem;
}
.navbar .btn i{
    position: relative;
    left: -2px;
}
.navbar button.btn i{
    font-size: 13px;
}
.content{
    min-height: 400px;
    padding: 20px 0 12px;
    background: #f4f4f4;
}
.container-fluid{
    max-width: 1200px;
}
a:hover{
    text-decoration: none;
}
h3:hover{
    text-decoration: underline;
}
.snippet-link{
    display: block;
    color: #212529 !important;
    text-decoration: none !important;
}
.snippet-link:hover .thumbnail{
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.06);
}
.thumbnail{
    position: relative;
    background: #fff;
    padding: 12px;
    border: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    margin: 0 5px 40px;
    border-radius: 5px;
    overflow: hidden;
    transition: all;
    transition-duration: 1s;
}
.thumbnail .img-box{
    height: 190px;
    overflow: hidden;
    border-bottom: 1px solid #f2f2f2;
    background: url("../images/placeholder.png") no-repeat center;
    background-size: 110% auto;
    text-align: center;
    border-radius: 1px;
    /*margin: -12px -12px 0;*/
}
.thumbnail .img-box img{
    margin: 0 auto;
    transition: all;
    transition-duration: 1s;
}
.thumbnail .img-box img:hover{
    transform: scale(1.15);
}
.thumbnail .caption{
    padding: 0;
    text-align: center;
}
.caption h2{
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 10px;
    padding: 16px 0 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}
.caption .overview{
    padding: 7px 0 10px;
    color: #b4b4b4;
    letter-spacing: 0.5px;
}
.caption .overview i{
    font-size: 15px;
    margin-right: 1px;
}
.view-btn{
    font-size: 14px;
    color: #1ebba3;
    padding: 6px 18px;
    border: 1px solid #1ebba3;
    border-radius: 30px;
    display: inline-block;
    opacity: .8;
}
.snippet-link:hover .view-btn{
    opacity: 1;
}
.caption .glyphicon{
    position: relative;
    top: 2px;
}
.lead-main{
    padding-bottom: 30px;
}
.lead-main.bottom-ad{
    padding-bottom: 40px;
    padding-top: 15px;
}
.pagination{
    margin-top: 0;
    border-radius: 50px;
    background: #fff;
    padding: 5px;
    display: flex;
    float: right;
    margin-bottom: -5px;
}
.pagination li a, .pagination li span{
    padding: 0 10px;
    color: #212529;
    border-radius: 50px !important;
    border: none;
    margin: 2px;
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
}
.pagination li a:hover{
    color: #fbfbfb;
    background: #1ebba3;
}
.pagination li.active a, .pagination li.active a:hover{
    color: #fff !important;
    background: #1ebba3;
    padding: 0 10px;
}
.not-found{
    font-size: 18px;
}
/* Styles for preview page */
.header.small h1.snippet-name{
    font-size: 25px;
}
.header-inverse{
    background: #fff;
}
.navbar-inverse{
    background: #262626;
    text-align: center;
}
.navbar .btn{
    min-width: 120px;
    /*margin-left: 10px;*/
}
.navbar-form{
    display: inline-block;
}
.similar-title{
    text-align: center;
}
.similar-title h2{
    display: inline-block;
    text-transform: uppercase;
    position: relative;
    font-size: 22px;
    margin: 20px 0 40px;
}
.similar-title h2:after{
    position: absolute;
    margin: 0 auto;
    content: "";
    border-bottom: 4px solid #1ebba3;
    width: 60%;
    bottom: -10px;
    left: 0;
    right: 0;
}
.ad-box{
    max-height: 91px;
    margin: 8px auto;
    overflow: hidden;
    text-align: center;
    max-width: 728px;
}
.ad-box.top-side{
    height: 91px;
}
.bg-white{
    background: #fff !important;
}
.bg-gray{
    background: #f4f4f4 !important;
}
.border-line{
    border-bottom: 1px solid rgb(221 221 221 / 65%) !important;
}
.footer{
    /* padding-top: 20px; */
}
.footer-inner{
    padding: 15px 0;
    background: #fff;
    /*box-shadow: 0 0 5px #999999;*/
    /* border-top: 1px solid #ddd; */
}
.footer ul{
    margin: 0;
    padding: 0;
}
.footer ul li{
    padding: 0 0 0 15px;
    margin: 0 0 0 15px;
    border-left: 1px solid #ddd;
}
.footer ul li:first-child{
    border: none;
}
.footer a{
    color: #333;
}
.footer a:hover{
    text-decoration: underline;
}
ul.tags{
    margin-top: 8px;
    margin-bottom: 0;
}
ul.tags em{
    font-style: normal;
    font-size: 13px;
}
ul.tags em .glyphicon{
    position: relative;
    top: 3px;
}
.tags{
    margin-top: 6px;
}
.tags a{
    padding: 3px 11px;
    margin: 0 5px;
    display: inline-block;
    border-radius: 15px;
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff;
}
.tags a:hover{
    background: #fff;
    color: #212529;
}
.tags i{
    position: relative;
    top: 2px;
}
.btn.view-more{
    border: none;
    min-width: 210px;
    margin-bottom: 20px;
    padding: 9px 12px;
    border-color: #1ebba3;
    background: transparent;
    color: #1ebba3;
}
.btn.view-more:hover{
    text-decoration: underline;
}
.view-more .glyphicon{
    font-size: 13px;
}
.alert{
    margin: 5px 0 0;
    text-align: center;
}
.tooltip-inner{
    border-radius: 2px;
}
.navbar-form .btn .glyphicon{
    font-size: 13px;
    margin-right: 2px;
}
.navbar-form .btn{
    letter-spacing: 0.6px;
    outline: none !important;
    border-color: inherit !important;
}
.snippet-tags{
    padding-bottom: 18px;
    text-align: center;
    color: #9a9a9a;
    font-size: 13px;
}
.snippet-tags a{
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 30px;
    padding: 1px 9px 3px;
    color: #8e8e8e;
    margin: 0 2px 10px;
}
.snippet-tags a:hover{
    color: #1ebba3;
    border-color: #1ebba3;
}
.snippet-tags a.selected{
    color: #fff;
    background: #1ebba3;
    border-color: #1ebba3;
}
.snippet-tags .glyphicon{
    margin-right: 5px;
    top: 2px;
}
.showcase{
    min-height: 92px;
}
.custom-backdrop {
    background: rgba(0, 0, 0, 0.4)
}
.loading {
    position: fixed;
    z-index: 9999;
    background: #ccc url("../img/progress_spinner.gif") no-repeat center;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    opacity: .4;
}
.thumb-wrapper img{
    transition: transform 0.8s;
}
.thumb-wrapper:hover img {
    transform: scale(1.1);
}
@media screen and (max-width: 768px) {
    .modal-dialog-centered{
        align-items: center !important;
    }
    #myCarousel .item{
        min-height: 100px;
    }
}

#tree {
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #F5F5F5;
    overflow-x: auto;
}

.no-padding {
    padding: 0;
}

/***************** Treed node *********/
#tree-container {
    height: 700px;
    width: 100%;
    margin-top: 10px;
}

.node {
    cursor: pointer;
}

.overlay {
    background-color: #fff;
    width: 100%;
    height: 100%;
    z-index: 9998;
    transition: all 0.5s ease-in-out;
}

.node circle {
    fill: #fff;
    stroke: steelblue;
    stroke-width: 1.5px;
}

.node text {
    font-size: 10px;
    font-family: sans-serif;
    /*text-transform: uppercase;*/
}

.link {
    fill: none;
    stroke: #ccc;
    stroke-width: 1.5px;
}

.templink {
    fill: none;
    stroke: red;
    stroke-width: 3px;
}

.ghostCircle.show {
    display: block;
}

.ghostCircle, .activeDrag .ghostCircle {
    display: none;
}

.position {
    fill: gray;
}

.ministry {
    fill: red;
}

.custom-loading {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.profile {
    background: #ffffff!important;
    border: 1px solid #D3D6DB;
    position: relative;
    border-top: none;
    border-radius: 3px;
}

.profile .cover-shadow {
    background: red;
    height: 300px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(231, 55, 40, 0) 10%, rgba(0, 0, 0, 0.5)); /* Standard syntax */
}

.profile ul.menu > li:first-child {
    border-left: 1px solid #E9EAED
}

.profile ul.menu > li {
    list-style: none;
    display: inline-block;
    padding: 0 9px;
    font-size: 13px;
    border-right: 1px solid #E9EAED;
    margin-left: -5px;
    text-align: center;
}

.profile ul.menu > li:hover {
    background: #f6f7f8;
}

.profile ul.menu > li.menu-active {
    background: #f6f7f8;
}

.profile ul.menu > li.menu-active > a {
    color: #8dc63f
}

.profile ul.menu > li:hover > a {
    color: #8dc63f
}

.profile ul.menu > li > a {
    color: #66696A;
    font-weight: 500
}

.profile ul.menu > li > a:hover {
    text-decoration: none
}

.profile > .photo {
    width: 150px;
    background: #ffffff;
    padding: 3px;
    border: 1px solid #D3D6DB;
    border-radius: 3px;
    position: absolute;
    bottom: -40px;
    left: 15px;
    cursor: pointer;
    z-index: 1;
}

.profile > .photo > .box-photo {
    position: relative
}

.profile > .photo > .box-photo > img {
    width: 100%
}

.profile > .photo > .box-photo > .bg-bottom {
    height: 50px;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding-left: 10px;
    padding-top: 10px;
}

.profile > .photo > .box-photo > .bg-bottom:hover {
    background: rgba(24, 34, 22, 0.5);
}

.profile > .photo > .box-photo > .bg-bottom:hover > img {
    width: 26px;
}

.profile > .full-name {
    border-radius: 5px;
    padding: 5px 10px;
    position: absolute;
    left: 175px;
    bottom: 60px;
    color: #ffffff;
    background: rgba(0,0,0,0.1);
    box-shadow: 1px 1px 3px rgba(255,255,255,0.23);
}

.profile > .full-name > h4 {
    font-size: 16px;
}

.update-photo {
    background: #dddddd;
    height: 400px;
    padding-top: 75px
}

.update-photo > #croppic {
    left: 28%
}

.update-photo > #croppic > .cropControls {
    right: -22px;
    top: -36px;
    width: 245px;
    background: #dddddd;
}

.update-photo > #croppic > .cropControls i.cropControlRemoveCroppedImage {
    margin-left: 24px;
}

.update-photo > #cropContainerHeaderButton {
    margin-left: 160px;
}
/***************** End Treed node *********/

.gcm-container {
    position: absolute;
    left: 180px;
    bottom: 65px;
    background: rgba(255,255,255,0.7);
    z-index: 1;
    right: 15px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    padding: 10px;
}
.gcm-container ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.gcm-container ul li {
    display: inline-block;
    border-right: 1px solid #ffffff;
    padding-right: 10px;
    margin-right: 10px;
    vertical-align: top;
}
.gcm-container ul li:last-child {
    border-right: transparent;
}
.gcm-container ul li p{
    margin-bottom: 0;
}
.gcm-container ul li p .label-gcm {
    font-size: 12px;
    color: #0fb2a9;
}
.gcm-container ul li p .value-gcm {
    display: block;
    margin-left: 13px;
}
.gcm-container hr{
    margin: 10px 0;border-color: #fff
}

.update-cover {
    font-size: 13px;
    cursor: pointer;
    padding: 5px;
    background: #fc7d0e;
    color: #fff;
    position: absolute;
    z-index: 3;
    left: 0;
    top: 0;
    display: none;
}
.profile:hover .update-cover {
    display: inline-block;
}

.update-photo {
    background: #dddddd;
    height: 400px;
    padding-top: 75px
}

.update-photo > #croppic {
    left: 28%
}

.update-photo > #croppic > .cropControls {
    right: -22px;
    top: -36px;
    width: 245px;
    background: #dddddd;
}

.update-photo > #croppic > .cropControls i.cropControlRemoveCroppedImage {
    margin-left: 24px;
}

.update-photo > #cropContainerHeaderButton {
    margin-left: 160px;
}


#myModal .modal-body {
    padding-top: 0;
    padding-bottom: 0;
}

.preview-cover {
    height: 300px;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}

.fade:not(.show) {
    opacity: 1;
}

.custom-backdrop{
    background: #262c3761;
}

.modal-dialog-scrollable {
    display: -ms-flexbox;
    display: flex;
    max-height: calc(100% - 1.75rem);
}

.modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 1.75rem);
    overflow: hidden;
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
    max-height: calc(100vh - 200px) !important;
}

.nav-tabs {
    margin-bottom: 0;
}
.nav-tabs li.active{
    background: #0e75a5;
    border-radius: 5px 5px 0 0;
}
.nav-tabs li.active a{
    color: #fff;
    font-weight: bold;
}
.tab-content {
    padding: 5px 15px;
    border: 1px solid #ddd;
    border-top-width: 0;
    background-color: #e8e8e8;
}

.nav-tabs .nav-link.active {
    background-color: #c5ccd1;
    border-color: #dee2e6 #dee2e6 #e8e8e8;
    color: #0056b3;
    font-weight: bold;
}
.nav-tabs .nav-link{
    color: #333;
}

.modal-open .modal {
    /*overflow-y: hidden;*/
}

.form-horizontal .col-form-label {
    text-align: right;
}

.required {
    font-weight: bold;
    color: red;
    top: 10px;
    position: absolute;
    left: auto;
    right: 0;
}

.navbar-right .nav-item.active {
    background-color: #00a2e8;
    border-radius: 5px;
}

.navbar-right .nav-item.active a {
    color: #fff !important;
    font-weight: bold;
}

.id-card-photo {
    height: 70px;
    width: 70px;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}
/* ---------------------------------------------------
        SIDEBAR STYLE
    ----------------------------------------------------- */

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    height: 100vh;
    z-index: 9999;
    background: #0f455c;
    color: #fff;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#sidebar.active {
    left: 0;
}

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #495057;
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#dismiss:hover {
    background: #fff;
    color: #7386D5;
}

.body-overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    top: 0;
    left: 0;
}
.body-overlay.active,.overlay.active {
    display: block;
    opacity: 1;
}

#sidebar .sidebar-header {
    padding: 10px;
    background: #192027;
    font-size: 20px;
}
#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    color: #fff;
}

#sidebar ul li a:hover {
    color: #7386D5;
    background: #fff;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #00a2e8;
}

a[data-toggle="collapse"] {
    position: relative;
}


#dashboard .card {
    overflow:hidden;
}

#dashboard .card-body:hover .rotate i{
    transform: scale(1.1);
    right: 20px;
}

#dashboard .card-body .rotate {
    z-index: 8;
    float: right;
    height: 100%;
}

#dashboard .card-body .rotate i {
    transition: all 0.8s;
    color: rgba(20, 20, 20, 0.15);
    position: absolute;
    left: auto;
    right: -30px;
    bottom: -15px;
    display: block;
    -webkit-transform: rotate(-44deg);
    -moz-transform: rotate(-44deg);
    -o-transform: rotate(-44deg);
    -ms-transform: rotate(-44deg);
    transform: rotate(-44deg);
    font-size: 110px;
}
.member-menu{
    position: absolute;
    top: 50px;
    right: -2px;
    z-index: 9;
    background: rgb(255, 255, 255);
    min-width: 200px;
    box-shadow: rgb(204, 204, 204) -5px 1px 10px;
    padding: 5px;
}
a.active{
    background: #00b2ff;
    color: #fff!important;
}

.has-error input, .has-error select {
    border: 1px solid #FF0000;
}
b{
    text-decoration: underline dotted 1px;
}

.border-info {
    border-color: #00a2e8 !important;
}

.list-group-item.active {
    background-color: #00a2e8;
}

.list-group-item.active a {
    color: #fff;
}

h5.display-4 {
    font-size: 1.5rem;
    color: rgba(0, 0, 0, 0.2);
}

#navbarBrand ul li:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.modal-body .sa-icon {
    width: 80px;
    height: 80px;
    border: 4px solid gray;
    -webkit-border-radius: 40px;
    border-radius: 40px;
    border-radius: 50%;
    margin: 20px auto;
    padding: 0;
    position: relative;
    box-sizing: content-box;
}

.modal-body .sa-icon.sa-info {
    border-color: #C9DAE1;
}

.modal-body .sa-icon:not(.sa-custom) {
    transform: scale(0.7);
    margin-bottom: -10px;
    margin-top: -10px;
}

.modal-body .sa-icon.sa-info::before {
    content: "";
    position: absolute;
    width: 5px;
    height: 29px;
    left: 50%;
    bottom: 17px;
    border-radius: 2px;
    margin-left: -2px;
    background-color: #C9DAE1;
}

.modal-body .sa-icon.sa-info::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-left: -3px;
    top: 19px;
    background-color: #C9DAE1;
}

.modal-footer .btn-secondary {
    background-color: #fafbfb;
    color: #4e5664;
}

.modal-footer .btn-primary {
    background-color: #47639c;
    border-color: #3d5586;
}