/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Aug 21, 2017, 11:07:58 AM
    Author     : HP
*/

.app-card {
    display: block;
    width: 100%;
    padding: 10px 16px;
    line-height: 1.3333333;
    border-radius: 6px;
    color: #333;
    background-color: #fff;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    background-image: none;
    border: 1px solid #ccc;
}

.app-card-magin {
    margin-bottom: 10px;
}

.app-card-text {
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.5 !important;
}

.app-card-text-multilines {
    word-wrap: break-word;
    /*white-space: pre-wrap;*/
}

.app-container {
    margin-top: 60px;
}
@media screen and (max-width: 992px) {
    .app-container { margin-top: 110px; }
}
@media screen and (max-width: 768px) {
    .app-container { margin-top: 60px; }
}

.error-message {
    -moz-border-radius: none;
    -webkit-border-radius: none;
    border-radius: none;
    border: none;
    background: none;
    margin: 0;
    padding-left: 4px;
    padding-right: 0;
    color: red;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
    text-shadow: none;
}

.app-filter-box {
    display: none;
}

#filter_search {
    margin: 0 5px;
}

.app-title-style {
    background-color: #87e0fd;
}

.app-title-style-margin {
    background-color: #87e0fd;
    margin-bottom: 20px !important;
}

.app-breadcrumb {
    padding: 8px 0 0 0 !important;
    margin-top: 10px;
    background-color: rgba(255,255,255, 0) !important;
}

.app-title-btn-style {
    padding: 0 5px;
}

/* .app-img-logo {
    padding: 10px;
    height: inherit;
    margin-top: -15px;
} */
 .app-img-logo {
        height: 40px; /* กำหนดความสูงตายตัวให้พอดีกับ Navbar BS5 */
        width: auto;  /* ให้คงอัตราส่วนเดิม */
        object-fit: contain; /* ป้องกันภาพบีบเบี้ยว */
        display: flex;
        /* margin-top: -15px; (ลบทิ้ง เพราะ BS5 ไม่ต้องใช้ Hack นี้แล้ว) */
        /* padding: 10px; (ลบทิ้ง เพื่อไม่ให้รูปดูเล็กไป) */
    }

.app-list-label {
    color: #C10100;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#fceabb+0,fccd4d+50,f8b500+51,fbdf93+100;Orange+3D+%235 */
    background: #fceabb; /* Old browsers */
    background: -moz-linear-gradient(top,  #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fceabb), color-stop(50%,#fccd4d), color-stop(51%,#f8b500), color-stop(100%,#fbdf93)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fbdf93',GradientType=0 ); /* IE6-9 */
}


/* for datepicker in fancybox */
#ui-datepicker-div {
    z-index: 8500 !important;
}

/* Login css */
.footer {
    margin: 3% 0 0 0;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e5b1f9+0,db3ded+100 */
    background: rgb(229,177,249); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(229,177,249,1) 0%, rgba(219,61,237,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(229,177,249,1) 0%,rgba(219,61,237,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(229,177,249,1) 0%,rgba(219,61,237,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5b1f9', endColorstr='#db3ded',GradientType=0 ); /* IE6-9 */
}

.app-top-screen {
    margin-top: 10%;
}

.app-img-logo-login {
    width: 80%;
    margin: 20px 0;
    margin-left: 60%;
}

@media screen and (max-width: 992px) {
    .app-img-logo-login {
        width: 80%;
        margin: 20px 0;
    }
}
@media screen and (max-width: 768px) {
    .app-img-logo-login {
        width: 80%;
        margin: 20px 0;
    }
}

.app-login-label {
    opacity: 0.9;
    filter: alpha(opacity=90);
    padding: 10px;
    margin-bottom: 10px;
    color: #00A0E0;
    font-size: 130%;
    background-color: #87e0fd;

}

table.app-table-list {
    width: 100%;    
}

table.app-table-list > tbody > tr > td:first-child{
    text-align: right;
    font-weight: bold;
    padding-right: 5px;
    width: 50%;
    vertical-align: top;
}
table.app-table-list > tbody > tr > td:nth-child(2){
    text-align: left;
    vertical-align: top;
    white-space: normal;
}
