
/***** Please define your style here *****/

/* custom css */


/* modal-xl */
@media (min-width: 768px) {
    .modal-xl {
        width: 90%;
        max-width: 1200px;
    }
}

/* table full width */
.table-full-width {
    width: 100% !important;
}

/* checkbox use hand gesture */
input.form-check-input,
label.form-check-label{
    cursor: pointer;
}


/* loading text */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

/* loading message box */
.msg-box {
    position: fixed;
    right: 20px;
    bottom: 20px;
    color: #ffffff;
    padding: 20px 30px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
    background: #363636;
}

/* fade modal height to 100% */
.fade {
    height: 100% !important;
}

/* datetimepicker table */
.datepicker-days .table>thead{
    color: #000;
    background-color: #fff;
}
.table-condensed>thead{
    color: #000;
    background-color: #fff;
}

input#tanggal.form-control[readonly] {
    background-color: #fff;
}

.file-btn{
    margin-bottom: 10px;
}

.black-text{
    color: #000;
}

.img-bottom{
    margin-bottom: 20px;
}

.border-bottom-img{
    border-bottom: solid
}

.row-top{
    margin-top: 10px;
}
/* button */
div.show-image:hover img{
    opacity:0.3;
}
div.show-image:hover input {
    display: block;
}

.img-preview{
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.show-image:hover .middle {
    opacity: 1;
}

.middle-title{
    text-align: center;
    color: #000;
    transition: top .5s ease;
    margin-bottom: 15px;
}

.danger{
    color: red;
}

/* img-modal */

/* image class */
.view_image {
    cursor: pointer;
    transition: 0.3s;
}

/* The Modal (background) */
.img-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1060; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
  
/* Modal Content (Image) */
.img-modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}
  
/* Caption of Modal Image (Image Text) - Same Width as the Image */
#img-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}
  
/* Add Animation - Zoom in the Modal */
.img-modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}
  
@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}
  
/* The Close Button */
.img-modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
  
.img-modal-close:hover,
.img-modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
  
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .img-modal-content {
    width: 100%;
    }
}

.img-preview{
    cursor: pointer;
}

/* pointer button disabled */
.btn.disabled, .btn:disabled {
    cursor: not-allowed;
}

.select2-results__option[aria-selected=true] { display: none;}

.form-control:disabled{
    color: #fff;
    background-color: #7a8085;
}


.tox-notifications-container {
    display:none!important;
}

.cancel-btn{
    display:none;
}

.background-danger{
    background-color: red;
}

/* background color for select2 disabled */
.select2-container--default .select2-container--disabled .select2-selection--multiple {
    background-color: #7a8085 !important;
    color: #fff !important;
    cursor: not-allowed;
}

/* text color for select2 disabled */
.select2-container--default .select2-container--disabled .select2-selection--multiple .select2-selection__rendered{
    color: #fff;
}

/* select2 disabled */
.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #7a8085 !important;
    color: #fff !important;
    cursor: not-allowed !important;
}

.select2-container--default.select2-container--disabled .select2-selection--multiple {
    background-color: #7a8085;
    cursor: not-allowed;
}

.select2-container--disabled .select2-selection--single .select2-selection__rendered {
    color: #fff;
}

/* tempusdominus readonly */
.datetimepicker-input[readonly]{
    background-color: #ffffff !important;
}

/* tempusdominus disabled */
.datetimepicker-input[disabled]{
    background-color: #7a8085 !important;
    cursor: not-allowed;
    color: #fff;
}

/* Text disabled */
.form-check-input:disabled~.form-check-label{
    color: #000;
}
