﻿/* ============== modify theme css ================== */
body {
    font-family: 'Noto Sans Thai','Open Sans','Leelawadee',Helvetica Neue,Helvetica,Arial,sans-serif;
    font-size: 15px;
}

.page-header-inverse {
    background-image: url('../template/bg_head.jpg');
}

.footer {
    background-image: url('../template/bg_footer.jpg');
}

.navbar-header {
    width: 100%;
}

/*Footer*/
.navbar-default .navbar-text {
    /*color: #f0e5c9;*/
    /*color: #7d5221;*/
    /*color: #c79e42;*/
    color: #c79e42;
}

.page-title {
    padding: 12px 10px 0 10px;
}

.page-title-th {
    /* font-size: 26px;
    line-height: 26px;*/
    font-size: 24px;
    line-height: 24px;
}

.page-title-th-sm {
    font-size: 20px;
    line-height: 20px;
}

.page-title-en {
    /* font-size: 24px;
    line-height: 24px;*/
    font-size: 22px;
    line-height: 24px;
}

.page-title-en-sm {
    font-size: 18px;
    line-height: 18px;
}

.page-system {
    font-size: 24px;
    line-height: 24px;
}

.page-container {
    margin-bottom: 20px;
}

.navbar-nav .menu {
    color: #7d5221;  /*nongs*/
    font-size: 14px;
}

.navbar-text {
    width: 100%;
    color: #f0e5c9;
    
    font-size: 15px;
}

.navbar-nav-material > li > a {
    font-size: 13px;
    color: #7d5221;
}

.icons-list > li {
    font-size: 14px;
}

.dropdown-menu {
    font-size: 14px;
}

h5.panel-title, .h5.panel-title {
    font-size: 24px;
}

.table > thead > tr > th {
    font-weight: bold;
}

legend {
    font-size: 18px;
}

.form-group {
    margin-bottom: 10px;
}

.form-control {
    font-size: 14px;
    padding: 6px 6px;
}

.form-validate-jquery .control-label[class*=col-lg-] {
    padding-top: 8px;
}

label {
    margin-bottom: 3px;
}

.help-block {
    color: #666;
}

.login-container .page-container .login-form {
    margin: 10px auto 20px auto;
}

/* ============== new css ================== */
.size12 {
    font-size: 12px;
}

.size13 {
    font-size: 13px;
}

.size14 {
    font-size: 14px;
}

.content-cards-right {
    width: 333px;
    float: right;
}

.label-message {
    text-transform: unset;
    font-size: 13px;
    font-weight: normal;
}

.padding-top-10 {
    padding-top: 10px;
}

.navbar-user {
    padding-top: 55px;
}

.cd-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 40px;
    right: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    /* image replacement properties */
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: rgba(66, 61, 76, 0.8) url(../template/cd-top-arrow.svg) no-repeat center 50%;
    visibility: hidden;
    opacity: 0;
    z-index: 100000;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -moz-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
}

    .cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
        -webkit-transition: opacity .3s 0s, visibility 0s 0s;
        -moz-transition: opacity .3s 0s, visibility 0s 0s;
        transition: opacity .3s 0s, visibility 0s 0s;
    }

    .cd-top.cd-is-visible {
        /* the button becomes visible */
        visibility: visible;
        opacity: 1;
    }

    .cd-top.cd-fade-out {
        /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
        opacity: .5;
    }

.no-touch .cd-top:hover {
    background-color: #3d4247;
    opacity: 1;
}

@media only screen and (min-width: 768px) {
    .cd-top {
        right: 20px;
        bottom: 20px;
    }
}

@media only screen and (min-width: 1024px) {
    .cd-top {
        height: 50px;
        width: 50px;
        right: 30px;
        bottom: 30px;
    }
}

.img-thumb {
    max-height: 160px;
}

.cblPadding > tbody > tr > td > label {
    padding-left: 10px;
}

.crop-canvas {
    visibility: hidden;
    height: 100px;
}

.image-zoom2x {
    z-index: 10003;
    margin-top: 5px;
    -webkit-transition: all 0.5s ease; /* Safari and Chrome */
    -moz-transition: all 0.5s ease; /* Firefox */
    -o-transition: all 0.5s ease; /* IE 9 */
    -ms-transition: all 0.5s ease; /* Opera */
    transition: all 0.5s ease;
}

    .image-zoom2x:hover {
        position: relative;
        -webkit-transform: scale(2.5); /* Safari and Chrome */
        -moz-transform: scale(2.5); /* Firefox */
        -ms-transform: scale(2.5); /* IE 9 */
        -o-transform: scale(2.5); /* Opera */
        transform: scale(2.5);
    }


/*Edit*/
.row-center { 
    display: flex;
    justify-content: center;  
    align-items: center;  
    height: 50px;  
}
.navbar-inverse {
    /*color: #000000;*/
    /*color: #bb9416;*/
    color: #c79e42;    
}

    /*.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
        color: #7d5221;
       
    }*/
    .navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
        color: #ede2c2;
        background-color: transparent;
    }



    .navbar-inverse .navbar-nav > li > a {
        /*color: rgba(29, 14, 14, 0.9);*/
        /*color: #7d5221;*/
        /*color: #02075d;*/
        color: #03254c;
      
    }

/*.navbar-nav > .active > a:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;*/
    /*background-color: #fff;*/
    /*background-color: #f30c0c;
    width: 2px;
}*/

@media (min-width: 1366px) {
    .page-container,
    .page-header-content,
    .navbar {
        padding-left: 130px;
        /* padding-right: 130px;*/
        padding-right: 50px;
    }
    .carousel-inner img {
        width: 100%;
        height: 100%;
    }

}

