html,
body {
	overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
  background-color: #ededed;
}

button, 
font {
	font-size: 0.9rem !important;
}

.register-header {
  padding: 60px 60px 0;
  font-size: 32px;
}

.register-content {
  padding: 20px 60px 30px;
}

.form-horizontal {
  font-size: 12px !important;
}

.form-horizontal .form-group {
  margin-right: -15px;
  margin-left: -15px;
}

.form-horizontal .form-group input {
  font-size: .95rem !important;
}

.form-horizontal .form-group ::placeholder {
  font-size: 12px;
}

.nav-scroller {
	position: relative;
	z-index: 2;
	height: 2.75rem;
	overflow-y: hidden;
}

.nav-scroller .nav {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	padding-bottom: 1rem;
	margin-top: -1px;
	overflow-x: auto;
	color: rgba(255, 255, 255, .75);
	text-align: center;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
	padding-top: .75rem;
	padding-bottom: .75rem;
	font-size: .875rem;
	color: #6c757d;
}

.nav-underline .nav-link:hover {
	color: #fff;
}

.nav-underline .active {
	font-weight: 500;
	color: #343a40;
}

.modal-mask {
	position: fixed;
	z-index: 500;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .5);
	display: table;
	transition: opacity .3s ease;
}

.modal-wrapper {
  display: table-cell;
  vertical-align: middle;
}

.modal-container {
    width: 300px;
    margin: 0px auto;
    padding: 20px 30px;
    background-color: #fff;
    border-radius: .3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .33);
    transition: all .3s ease;
    font-family: Helvetica, Arial, sans-serif;
}

.modal-header h3 {
    margin-top: 0;
    color: #42b983;
}

.modal-body {
    margin: 20px 0;
}

.modal-default-button {
    float: right;
}

/*
 * The following styles are auto-applied to elements with
 * transition="modal" when their visibility is toggled
 * by Vue.js.
 *
 * You can easily play with the modal transition by editing
 * these styles.
 */

.modal-enter {
    opacity: 0;
}

.modal-leave-active {
    opacity: 0;
}

.modal-enter .modal-container,
.modal-leave-active .modal-container {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

/* 애니메이션 진입 및 진출은 다른 지속 시간 및  */
/* 타이밍 기능을 사용할 수 있습니다. */
.slide-fade-enter-active {
    transition: all .3s ease;
}
.slide-fade-leave-active {
    transition: all .8s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}
.slide-fade-enter, .slide-fade-leave-to
/* .slide-fade-leave-active below version 2.1.8 */ {
    transform: translateX(10px);
    opacity: 0;
}


.mx-input-append{
	height: auto;
}

.mx-datepicker-range{
	width: auto !important;
}

.bg-state20 {
	background: #a382da;
}

.bg-state16 {
	background: #FF6D00;
}

.bg-state5 {
	background: skyblue;
}

.bg-state4 {
	background: #5c59e6;
}

.bg-state0 {
	background: #ff5745;
}

.bg-pink {
	background: #F8BBD0;
}

.bg-end {
	background: #6799FF;
}

.bg-light-grey {
  background: #a2a2a2;
}

.bg-dark-grey {
  background: #5b5b5b;
}

.bg-dark-brown {
  background: #62282e;
}

.pagination .router-link-exact-active .page-link{
	z-index: 1;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.hover-btn:hover {
	background-color: white !important;
	color: #000 !important;
	border: 1px solid #EDEDED;
}

.hover-btn.active {
	background-color: #007bff !important;
	color: white !important;
}

.mx-datepicker {
	width: 100% !important;
}

.hover-li {
	border: 1px solid #EDEDED;
}

.hover-li:hover {
	border: 1px solid #007bff;
}

.hover-li.active {
	border: 1px solid #007bff;
}

.custom-popover {
	position: absolute;
	z-index: 3000;
	border: 1px solid white;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .33);
	background-color: white; 
	padding: .325rem;
	margin-left: calc(100% - 65%);
	margin-top: -7.5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.log-title {
	font-size: 1.3rem;
	font-weight: bold;
}

.log-title::before {
	content: '|';
	background-color:#007bff;
	color: #007bff;
	margin-right: 1rem;
}

.table-success, .table-success>td, .table-success>th {
  background-color: #343a40;
	color:#fff; 
}

.table-responsive thead th:hover {
    background-color: #525b65;
	color:#fff; 
}

.resv-table thead th {
    background-color: #ededed;
}

.resv-table tbody .td-type,
.resv-table tbody .td-room,
.resv-table tbody .td-flo
{
    background-color: #ededed;
}

.resv-table tbody td:not(.td-type):not(.td-room):not(.td-flo):hover {
	background-color: orange;
}

.resv-table tbody .state-approval {
	background-color: yellow;
}

.resv-table tbody .state-ok {
	background-color: green;
}

.resv-table tbody .state-complete {
	background-color: blue;
	color: white;
}

.resv-table tbody .state-cancel {
	background-color: red;
	color: white;
}

.sales-table{
	background-color: white;
}

.sales-table tr {
	border-bottom: 1px solid #e5e5e5;
}

.fixed-top {
	z-index: 500;
}

.list-group-item {
  padding: .5rem;
}

.list-group-item-action.active {
    background-color: #f8f9fa !important;
}

.emergency-bell {
	position: absolute;
    width: 100%;
	height: 100%;
	top: 0;
	z-index: 50;
}

.popup-window {
	position: fixed;
	top: 55px;
	left: 15px;
	z-index: 50;
}

.section {
	margin-left: 10px;
	margin-right: 15px;
}

.section article {
    
}

.room-page {
  max-height: calc(100vh - 105px);
  overflow-y: scroll;
  overflow-x: hidden;
}

.log-page {
  margin-top: 5px;
  height: calc(100% - 48px);
}

.state-page {
  height: fit-content;
}

.left-bar a:hover {
  background: #17a2b8!important; 
  box-shadow: none;  
}

.aside {
  background-color: #6a737b;
  position: fixed;
  width: 10%;
  height: 100%;
  max-height: calc(100% - 48px) !important;
  right:0;
  top: 48px;
  overflow: hidden;
}

.log-page-body {
  overflow-y: scroll;
  overflow-x: hidden;
}

.loading {
	background: transparent;
	z-index: 1000;
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
    text-align: center;
}

.loading.opacity-b {
    background: black;
    opacity: .5;
}

.loading .icon {
    background-color: transparent;
    display: inline-block;
    vertical-align: middle;
    color: black;
    width: 100px;
    height: 100px;
    border-radius: 15px;
    background: white;
    opacity: .75;
    line-height: 113px;
}

.loading .blank {
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    width: 0;
}

.nav-left-menu {
    width: 150px;
    height:calc(100vh - 48px);
    background: white;
}

.opacity-0 { opacity: 0; }
.opacity-25 { opacity: .25; }
.opacity-50 { opacity: .5; }
.opacity-75 { opacity: .75; }
.opacity-100 { opacity: 1; }


@media (max-width: 991.98px) {
	.offcanvas-collapse {
		position: fixed;
		top: 45px; /* Height of navbar */
		bottom: 0;
		left: 100%;
		width: 100%;
		padding-right: 1rem;
		padding-left: 1rem;
		overflow-y: auto;
		visibility: hidden;
		background-color: #343a40!important;
		transition-timing-function: ease-in-out;
		transition-duration: .3s;
		transition-property: left, visibility;
	}

	.offcanvas-collapse.open {
		left: 0;
		visibility: visible;
	}

  .custom-popover {
    left: -35%;
    top: -10%;
  }
}