.modal-open .model{
  overflow-x: hidden;
  overflow-y: auto;
}

.model{
  height: 100%;
  position: fixed !important;
  z-index: 1050 !important;
}

.main {
    -webkit-animation: toast-in 0.25s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: toast-in 0.25s; /* Firefox < 16 */
        -ms-animation: toast-in 0.25s; /* Internet Explorer */
         -o-animation: toast-in 0.25s; /* Opera < 12.1 */
            animation: toast-in 0.25s;
}

@keyframes toast-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes toast-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes toast-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes toast-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes toast-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/*#doc{
    background-image: url('../images/bg.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}*/

.main > div.container{
    background-color: white;
}

/* SET FOR WEBSITE */
.btn{height: auto;}

.controls .notification{
    font-weight: bold;
}
.active-menu{background-color: #1f1d94;border-radius: 0.3rem;}
.active-submenu{background-color: #feffb1;}
.uiPopover .btn-box{background-color:#fff}
.alert-messages{
    top:100px;
}

a:hover{
    text-decoration: none !important;
}

.has-error .form-control, .has-error .select2-selection {
    border-color: #a94442 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075) !important;
}

.has-error .form-control:focus. , .has-error .select2-selection:focus {
    border-color: #843534 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483 !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483 !important;
}

/* ตัวหลัก */
.select2-container .select2-selection--single {
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

/* text ด้านใน */
.select2-container .select2-selection__rendered {
    line-height: 1.5 !important;
    padding-left: 0 !important;
}

/* ลูกศร dropdown */
.select2-container .select2-selection__arrow {
    height: calc(2.25rem + 2px);
    right: 10px;
}

/* focus state ให้เหมือน bootstrap */
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
}

/* disabled */
.select2-container--disabled .select2-selection {
    background-color: #e9ecef;
    opacity: 1;
}

/* fix width ให้เต็ม */
.select2-container {
    width: 100% !important;
}

.select2-dropdown {
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.select2-results__option--highlighted {
    background-color: #007bff;
}

.control-label{
    font-weight: bold !important;
    color:#000000 !important;
}