﻿/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/

.bg-main {
    background-color: #A5CD39 !important;
}
.fg-main {
    color: #A5CD39 !important;
}
.fg-orange {
    color: #f4511e !important;
}
.bg-grey {
    background-color: #f6f6f6 !important;
}
.bg-dark-grey {
    background-color: #E0E0E0 !important;
}

.card-login{
    width:30rem !important;
}

.body-content {
    margin-bottom:45px !important;
} 

.navbar {
    background-color: #A5CD39;
}

.navbar-brand {
    margin-right:0px !important;
    padding-top:0px !important;
    padding-bottom:0px !important;
}

.cl-white {
    color: white !important;
}

.navbar-nav .active {
    font-weight:500;
}

.footer {
    background-color: #A5CD39;
    font-size: 12px;
    color: white;
    padding-top: 5px;
    padding-bottom: 5px;
}

.footer a {
    color: white;
}

.bg-left-menu {
    background-color: #f0f0f0;
}
.color-left-menu {
    color: #f0f0f0;
}

@media (min-width: 768px) {
    .left-menu-md {
        height: auto;
        min-height:300px;
        max-height: 500px;
        overflow: auto;
        flex-wrap: unset !important;
    }
}

@media (max-width: 767px) {
    .left-menu-frame {
        display:none !important;
    }
}
/*@media (max-width: 767px) {
    .left-menu {
        height: auto;
        max-height: 180px;
        overflow: auto;
        flex-wrap: unset !important;
    }
}*/

.left-menu-room {
    list-style-type: none;
}

@media (max-width: 767px) {
    .custom-table {
        height: auto;
        max-height: 360px;
        overflow: auto;
        flex-wrap: unset !important;
    }
}

.input-min-width{
    min-width:150px !important;
}

.history-menu {
    width: auto;
    overflow: auto;
    flex-wrap: nowrap !important;
}

.multi-confirm-month {
    height: auto;
    max-height: 300px;
    overflow: auto;
    overflow-x: hidden;
    flex-wrap: nowrap !important;
}

@media (max-width: 767px) {
    .video {
        height: 300px;
    }
}

@media (min-width: 768px) {
    .video-sm {
        height: 400px;
    }
}

@media (min-width: 992px) {
    .video-md {
        height:600px;
    }
}

.slideanim {
    visibility: hidden;
}

.slide {
    /* The name of the animation */
    animation-name: slide;
    -webkit-animation-name: slide;
    /* The duration of the animation */
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    /* Make the element visible */
    visibility: visible;
}

/* Go from 0% to 100% opacity (see-through) and specify the percentage from when to slide in the element along the Y-axis */
@keyframes slide {
    0% {
        opacity: 0;
        transform: translateY(70%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

@-webkit-keyframes slide {
    0% {
        opacity: 0;
        -webkit-transform: translateY(70%);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
    }
}

@media (min-width: 576px) {
    .hidden-sm {
        display:none !important;
    }
}

@media (max-width: 575px) {
    .hidden {
        display: none !important;
    }
}
.grid-view {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    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.4); /* Black w/ opacity */
}
.grid-view-content {
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 95%;
    margin-top:70px;
    margin-bottom:70px;
}
.close-grid-view {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close-grid-view:hover,
.close-grid-view:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.vertical-scroll {
    height:auto;
    max-height: 300px;
    overflow-y: auto;
}
.img-logo {
    max-width: 138px;
    max-height: 138px;
}

.buffer-footer {
    height:100px;
}
.popup-view {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    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.4); /* Black w/ opacity */
}

.popup-view-content {
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 95%;
    margin-top: 70px;
    margin-bottom: 70px;
}

.close-popup-view {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-popup-view:hover,
.close-popup-view:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.announcement {
    color: #46494B;
}
.announcement-new {
    background-color: #D1E8F1;
}
.announcement-keyword {
    font-weight: bold;
}
.announcement-image {
    width: 40px;
    height: 40px;
}
.table-fix-head thead th {
    position: sticky;
    top: 0;
    background: white;
}
.room-mark-return {
    color:orange;
}
.room-mark-return-bg {
    background: orange !important;
}

@media (max-width: 767px) {
    #CloseLeftMenu {
        position: fixed; /* Fixed/sticky position */
        bottom: 50px; /* Place the button at the bottom of the page */
        right: 10px; /* Place the button 30px from the right */
        z-index: 99; /* Make sure it does not overlap */
        cursor: pointer; /* Add a mouse pointer on hover */
        display:unset !important;
    }
}

.announcement-popover {
    max-width: 500px !important;
    font-size: small !important;
    text-align: justify !important;
    max-height: 300px !important;
    overflow: auto;
}
@media (min-width: 768px) {
    .announcement-popover-md {
        min-width: 500px !important;
    }
}
.frame-flow {
    position: fixed;
    bottom: 50px;
    right: 10px;
    z-index: 99;
    cursor: pointer;
    display: unset !important;
}