/*!
 * Start Bootstrap - SB Admin (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@300&display=swap');

body {
    margin-top: 100px;
    background-color: #f6f9fc;
	font-family : 'kanit';
	letter-spacing:1px;
	font-size: 13px;

}
.dropdown-menu > li > a {
    padding: 5px 20px;
}
@media(min-width:768px) {
    body {
        margin-top: 50px;
        background-color: #f6f9fc;
    }
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    outline: none;
}

.panel-header {
    box-shadow: 0 1px 5px rgba(0,0,0,.1);
    padding: 10px 15px 10px 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #fff;
    z-index: 1;
    min-height: 50px;
}
.navbar-inverse {
    height: 50px;
  
    color: #444;
    background: #fff;
    border-color: #FFF;
    align-items: center;
    box-shadow: 0 1px 1px rgba(198, 195, 206, 0.25);
}
.navbar-inverse .navbar-brand {
	color:#fff;
    width: 225px;
    background-color: #074ca6;
    border-bottom: 2px solid #074ca6;
    box-shadow: 0 1px 1px rgba(198, 195, 206, 0.25);
}
.navbar-inverse .navbar-brand:hover,.navbar-brand:hover:visited,.navbar-brand:focus {
    background-color: #074ca6!important;
    outline:none;
}
.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus {
	color: #ffffff;
}
#wrapper {
    padding-left: 0;
}

#page-wrapper {
    width: 100%;
    padding: 0;

}

.huge {
    font-size: 50px;
    line-height: normal;
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 225px;
    }

    #page-wrapper {
        padding: 10px;
    }
}

/* Top Navigation */

.top-nav {
    padding: 0 15px;
}

.top-nav>li {
    display: inline-block;
    float: left;
}

.top-nav>li>a {
    padding-top: 15px;
    padding-bottom: 15px;
    line-height: 20px;
    color: #444;
}

.top-nav>li>a:hover,
.top-nav>li>a:focus,
.top-nav>.open>a,
.top-nav>.open>a:hover,
.top-nav>.open>a:focus {
   color: #262626;
background-color: #f5f5f5;
}

.top-nav>.open>.dropdown-menu {
    float: left;
    position: absolute;
    margin-top: 0;
    border: 1px solid rgba(0,0,0,.15);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-color: #fff;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.top-nav>.open>.dropdown-menu>li>a {
    white-space: normal;
}

ul.message-dropdown {
    padding: 0;
    max-height: 250px;
    overflow-x: hidden;
    overflow-y: auto;
}

li.message-preview {
    width: 275px;
    border-bottom: 1px solid rgba(0,0,0,.15);
}

li.message-preview>a {
    padding-top: 15px;
    padding-bottom: 15px;
}

li.message-footer {
    margin: 5px 0;
}

ul.alert-dropdown {
    width: 200px;
}

/* Side Navigation */

@media(min-width:768px) {
    .side-nav {
        position: fixed;
        top: 50px;
        left: 225px;
        width: 225px;
        margin-left: -225px;
        border: none;
        border-radius: 0;
        overflow-y: auto;
        background-color: #003d8c;
        bottom: 0;
        overflow-x: hidden;
        padding-bottom: 40px;
    }
	.side-nav .active{
        background-color: #015dd6;
        color: #fff;
	}
	.navbar-inverse .navbar-nav>.active>a {
        background-color: #015dd6;
        color: #fff;
	}
	.navbar-inverse .navbar-nav>li>a {
		color:#efefef;
	}
   .navbar-inverse .navbar-nav>li>a:hover {
		color:#fff;
	}
    .side-nav>li>a {
        width: 225px;
    }

    .side-nav li a:hover,
    .side-nav li a:focus {
        outline: none;
        background-color: #083166;
        color: #fff;
    }
    .navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus {
        background-color: #083166;
        color: #fff;

    }
}

.side-nav>li>ul {
    padding: 0;
    background-color: #032755;
}
.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus {

    background-color: #062f66;
}
.side-nav>li>ul>li>a {
    display: block;
    padding: 10px 15px 10px 15px;
    text-decoration: none;
    color: #ffffff;
}
.navbar-inverse .navbar-toggle {
    background-color: #210d2f;
}
.navbar-inverse .navbar-nav>li>a {
    color: #ffffff;
}
.side-nav>li>a {
    padding: 10px 10px;
}
.side-nav   li> a > .fa-angle-left {
    width: auto;
    height: auto;
    padding: 0;
    margin-right: 10px;
    margin-top: 2px;
    font-size: 15px;
}
.side-nav   li.active> a > .fa-angle-left {
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

/* Flot Chart Containers */

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

/* Custom Colored Panels */

.huge {
    font-size: 40px;
}

.panel-green {
    border-color: #5cb85c;
}

.panel-green > .panel-heading {
    border-color: #5cb85c;
    color: #fff;
    background-color: #5cb85c;
}

.panel-green > a {
    color: #5cb85c;
}

.panel-green > a:hover {
    color: #3d8b3d;
}

.panel-red {
    border-color: #d9534f;
}

.panel-red > .panel-heading {
    border-color: #d9534f;
    color: #fff;
    background-color: #d9534f;
}

.panel-red > a {
    color: #d9534f;
}

.panel-red > a:hover {
    color: #b52b27;
}

.panel-yellow {
    border-color: #f0ad4e;
}

.panel-yellow > .panel-heading {
    border-color: #f0ad4e;
    color: #fff;
    background-color: #f0ad4e;
}

.panel-yellow > a {
    color: #f0ad4e;
}

.panel-yellow > a:hover {
    color: #df8a13;
}



/********************************
 * AUTHENTICATION FORMS, PAGE
 ********************************/
.auth-box {
  -moz-box-shadow: 1px 2px 10px 0 rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 1px 2px 10px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 1px 2px 10px 0 rgba(0, 0, 0, 0.1);
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  width: 70%;
  height: 450px;
  margin: 0 auto;
  background-color: #fff;
}
.auth-box a {
  color: inherit;
}
.auth-box a:hover, .auth-box a:focus {
  text-decoration: underline;
}
.auth-box:before {
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  content: ' ';
  vertical-align: middle;
  height: 100%;
}
.auth-box .content {
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  min-width:300px;
  vertical-align: middle;
}
.auth-box .left {
  float: left;
  width: 40%;
  height: 100%;
  padding: 0 25px;
  text-align: center;
}
.auth-box .left:before {
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  content: ' ';
  vertical-align: middle;
  height: 100%;
}
.auth-box .right {
  float: right;
  width: 60%;
  height: 100%;
  position: relative;
  background-image: url('../img/login-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}
.auth-box .right:before {
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  content: ' ';
  vertical-align: middle;
  height: 100%;
}
.auth-box .right .text {
  position: relative;
  padding: 0 30px;
  color: #fff;
}
.auth-box .right .heading {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 26px;
  font-weight: 300;
}
.auth-box .right p {
  margin: 0;
  font-size: 18px;
  font-weight: 300;
}
.auth-box .right .overlay {
  position: absolute;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(73, 52, 89, 0.92);
}
.auth-box .logo {
  margin-bottom: 30px;
}
.auth-box .form-auth-small .btn {
  margin-top: 20px;
}
.auth-box .form-auth-small .element-left {
  float: left;
}
.auth-box .form-auth-small .element-right {
  float: right;
}
.auth-box .form-auth-small .bottom {
  margin-top: 20px;
  text-align: center;
}
.auth-box.lockscreen {
  width: 50%;
  padding: 40px 60px;
}
.auth-box.lockscreen .user {
  margin-bottom: 30px;
}
.auth-box.lockscreen .user .name {
  font-size: 18px;
  margin-top: 10px;
}
@media screen and (min-width: 1440px) {
  .auth-box.lockscreen {
    width: 35%;
  }
}
@media screen and (max-width: 1279px) {
  .auth-box {
    width: 90%;
  }
  .auth-box .left {
    top: 3.3em;
  }
}
@media screen and (max-width: 1023px) {
  .auth-box .left {
    width: 100%;
    position: inherit;
    padding: 30px;
  }
  .auth-box .right {
    display: none;
  }
}
@media screen and (max-width: 992px) {
  .auth-box {
    width: 70%;
  }
  .auth-box.lockscreen {
    width: 50%;
    padding: 40px 20px;
  }
}
@media screen and (max-width: 640px) {
  .auth-box {
    width: 90%;
  }
  .auth-box .content {
    width: 95%;
  }
  .auth-box.lockscreen {
    width: 90%;
  }
}



#overlay-bg {
    opacity: 0.4;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #000;
    width: 100%;
    z-index: 5000;
    display: none;
}
#loading {
    width: 44px;
    height: 44px;
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    background: #000 url("../img/fancybox_loading.gif") no-repeat scroll center center;
}

.breadcrumb {
    padding: 13px 15px;
    margin-bottom: 0px;
    list-style: none;
    border-radius: 0px;
    background-color: transparent;;
}

.btn-sm, .btn-group-sm>.btn {
    padding: 0px 6px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 11px;
}
.help-block {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
	color: #e2001c;
}
.required {
	color: #e2001c;

}

.btn-action {
	padding-top:10px ;
	display:block;
	float:right;
	text-align:right;
	width:100%
}
.left {
    text-align:left;
}
.center {
    text-align:center;
}

.btn:active, .btn:focus, .btn:active:focus, .btn.active:focus {
    outline: 0 none!important
    
}

.btn-primary {
    color: #fff;
 
    white-space: nowrap;
 
    letter-spacing: .8px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    background: #015dd6;
    color: #fff;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);

}
.btn-success {
    white-space: nowrap;
 
    letter-spacing: .8px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.btn-default {
    color: #333;
    letter-spacing: .8px;
    border-radius: 4px;
    background-color: #fff;
    border-color: #ccc;
    box-shadow: 0 1px 3px rgba(155, 152, 152, 0.2);
}

.btn-primary[disabled] {
    background-color: #015dd6;
    border-color: #015dd6;
	opacity:0.5
}
.btn-primary:hover , .btn-primary:focus, .btn-primary:active:focus, .btn-primary.active:focus {
 
    text-decoration: none;
    cursor: pointer;
    background: #02459d;
    color: #fff;
    border: 1px solid transparent;
    transition: color .2s ease;
    transition: background .2s ease;
    transition: border-color .2s ease;
    
}
.btn {    border-radius: 2px}


/*model*/
.modal-content {
    border-radius: 1px;
}
.modal-content .panel{
    padding: 20px 20px 0px 20px;
    border: none;
    margin-bottom: 10px;
    box-shadow: none;

}
.modal-content .panel .panel-heading {
    margin-top: 0px;
    line-height: 20px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    background-color: #063e86;
}
.modal-content .panel .panel-heading:after {
    border-bottom: none;
}
.modal-content .panel .panel-title {
    font-weight: 300;
    padding:  0px;
    font-size: 18px;
    line-height: 25px;
    white-space: nowrap;
}

.modal-content .panel .panel-body{
    padding:  20px 0px ;
}
.modal-content .panel .panel-body h4{
    color: #444;

}
.modal-content .panel .panel-body p{
    margin: 0px;
}
.modal-content .panel .panel-body p+p {
    margin-top: 15px;
}

.modal-content .panel-heading {
    border-color:#eff2f7 ;
    font-size: 16px;
    padding: 0;

    padding-bottom: 10px;
}

.modal-content .panel-footer {
    background-color: #FFFFFF;
    color: #515151;
    border-color: #eaedf0;
    padding: 10px 0px
}


.modal-content .panel.panel-color .panel-heading {
    margin-top: -20px;
    margin-left: -20px;
    margin-right: -20px;
    padding: 15px 15px;
    border-bottom: 0;
}
.panel-heading {
    border-bottom:1px solid #f5f5f5
}
.modal {
    text-align: center;
}

@media screen and (min-width: 768px) {
    .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}


/*tab*/
.tab-content {

    margin-top: 30px;
}

label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: 500;
}

.label {
    font-weight: 400;
}


/* fancy checkbox and radio button */
.fancy-checkbox {
    display: block;
    font-weight: normal;
}
.fancy-checkbox input[type="checkbox"] {
    display: none;
}
.fancy-checkbox input[type="checkbox"] + span {
    display: inline-block;
    vertical-align: middle;
    *vertical-align: auto;
    *zoom: 1;
    *display: inline;
    cursor: pointer;
    position: relative;
    font-size: 13px;
}
.fancy-checkbox input[type="checkbox"] + span:before {
    display: inline-block;
    vertical-align: middle;
    *vertical-align: auto;
    *zoom: 1;
    *display: inline;
    position: relative;
    bottom: 1px;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    content: "";
    border: 1px solid #ccc;
}
.fancy-checkbox input[type="checkbox"]:checked + span:before {
    font-family: FontAwesome;
    content: '\f00c';
    font-size: 12px;
    color: #99a1a7;
    text-align: center;
    line-height: 16px;
    background: #ededed;
    border: 1px solid #ccc;
}
.fancy-checkbox.custom-color-green input[type="checkbox"]:checked + span:before {
    color: #53D76A;
    background-color: #fff;
}
.fancy-checkbox.custom-bgcolor-green input[type="checkbox"]:checked + span:before {
    color: #fff;
    background-color: #53D76A;
    border-color: #32cf4d;
}

.fancy-radio {

    font-weight: normal;
}
.fancy-radio input[type="radio"] {
    display: none;
}
.fancy-radio input[type="radio"] + span {
    display: block;
    cursor: pointer;
    position: relative;
    font-size: 13px;
}
.fancy-radio input[type="radio"] + span i {
    display: inline-block;
    vertical-align: middle;
    *vertical-align: auto;
    *zoom: 1;
    *display: inline;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    position: relative;
    bottom: 1px;
    content: "";
    border: 1px solid #ccc;
    width: 18px;
    height: 18px;
    margin-right: 5px;
}
.fancy-radio input[type="radio"]:checked + span i:after {
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    display: block;
    position: relative;
    top: 3px;
    left: 3px;
    content: '';
    width: 10px;
    height: 10px;
    background-color: #99a1a7;
}
.fancy-radio.custom-color-green input[type="radio"]:checked + span i:after {
    background-color: #53D76A;
}
.fancy-radio.custom-bgcolor-green input[type="radio"]:checked + span i {
    background-color: #53D76A;
}
.fancy-radio.custom-bgcolor-green input[type="radio"]:checked + span i:after {
    background-color: #fff;
}


.fancy-radio input[type="radio"]:checked + span i:after {

    background-color: #015dd6;
}
.fancy-checkbox input[type="checkbox"]:checked + span:before {
    font-family: FontAwesome;
    content: '\f00c';
    font-size: 12px;
    color: #015dd6;
    text-align: center;
    line-height: 16px;
    background: #fff;
    border: 1px solid #ccc;
}
.fancy-checkbox {
    display:inline;
    margin-right:10px;
}

.form-control:focus {
    border-color: #08418c;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(28, 22, 176, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgb(168, 100, 168);
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px
}

.pagination > li {
    display: inline
}

.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    color: #015dd6;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px
}

.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    color: #015dd6;
    background-color: #eee;
    border-color: #ddd
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 2;
    color: #fff;
    background-color: #015dd6;
    border-color: #015dd6;
    cursor: default
}



textarea:hover,
input:hover,
textarea:active,
input:active,
textarea:focus,
input:focus,
button:focus,
button:active,
button:hover,
label:focus,
.btn:active,
.btn.active
{
    outline:0px !important;

}
.chosen-container-single .chosen-single {
    height: 34px !important;
}
.chosen-container-active.chosen-with-drop .chosen-single {

    border: 1px solid #015dd6;

}
.chosen-container .chosen-drop {
    border: 1px solid #015dd6;
}
.chosen-container .chosen-results li.highlighted {
    background-color: #015dd6;

    color: #fff;
}
.chosen-container-active .chosen-choices {
    border: 1px solid #015dd6;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
.form-control {
    width: 100%;
    /*height: 30px;*/
    padding: 6px 6px;
    background-color: #fff;
    border-radius:0px;
    font-size:13px;
    /*
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
        */
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    border:1px solid #ccc;
    outline: 0;
    box-shadow:none!important;


}
.input-group {
    box-shadow:none!important;

}

 
textarea {
    height: 350px;
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.image-preview-input {
    position: relative;
    overflow: hidden;
    margin: 0px;
    color: #fff;

    border:none;
}
.image-preview-input input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}
.image-preview-input-title {
    margin-left:2px;
}

.btn-info {
    text-decoration: none;
    cursor: pointer;
    background: #11aba8;
    color: #fff;
    border: 1px solid transparent;
    transition: color .2s ease;
    transition: background .2s ease;
    transition: border-color .2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);

}

.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info{
    color: #fff;
    background-color: #0e7f7d;
    border-color: #0e7f7d;
}

.btn-danger[disabled] {
    background-color: #dcdcdc;
    border-color: #dcdcdc;
}

.btn-danger {
box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
input[type=radio], input[type=checkbox] {
    margin: 0px 0 0;
    margin-top: 1px \9;
    line-height: normal;
}
.text-icon {
    position: absolute;
    z-index: 1;
    right: 24px;
    top: 9px;
    color: #a5a5a5;
    cursor: pointer;
}

.page-title {
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    padding:8px 3px
}

form.ng-submitted input.ng-invalid,form.ng-submitted textarea.ng-invalid {
    border: 1px solid #f00;
}

.breadcrumb>li+ li:last-child:before {
    content: '';
}
.modal-footer {
    /* margin-top: 15px; */
    padding: 10px 10px 0px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

.chosen-container-multi .chosen-choices li.search-choice{
    box-shadow: none;
    background-color: #015dd6;;
}

hr {
    margin-top: 1rem;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
.panel-footer {
background-color: #fff;;
}
.modal-dialog .panel-body{
    min-height: 450px;
}
 
.progress {
    margin-bottom: 0px!important;
   
}
.progress-bar {
   
    background-color: #2aca3b;
}