.main {
    height: 100%;
    width: 100%;
}
.main .topMenu {
    height: 50px;
    background-color: #343a40;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main .topMenu > div:first-child {
    margin-left: auto;
}
.main .topMenu > div:not(:first-child):not(:last-child) {
    flex: 1 1 auto;
}
.main .topMenu > div:last-child {
    margin-right: auto;
}
.main .content {
    height: calc(100% - 50px);
    background-color: transparent;
    position: relative;
    display: flex;
    flex-direction: column;
}

.main .dynamic-content {
    height: calc(100% - 50px);
    /* min-height: calc(100% - 50px); */
    min-height: calc(100vh - 100px);
    display: block;
    margin: 0;
    background-color: transparent;
    overflow: hidden;
    position: relative;
    background-image: url(/assets/images/logo_500x224.png);
    background-repeat: no-repeat;
    background-position: center center;
}

.main .dynamic-content .page {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: scroll;
    position: absolute;
    padding: 5px;
    background-color: rgba(255, 255, 255, 1);
}

.main .content .bottomMenu {
    height: 50px;
    width: 100%;
    background-color: #445D48;
    display: flex;
    flex-direction: row;
    position: relative;
    justify-content: center;
    align-items: center;
    flex: 1 1 auto;
}
.main .content .bottomMenu .menu-item {
    text-decoration: none;
    color: #FFFFFF !important;
    min-width: 75px;
}
.main .content .bottomMenu .menu-item.active {
    color: #000000 !important;
}
.main .content .bottomMenu .menu-item.active i {
    color: #000000 !important;
    scale: .8 !important;
}
.btn:focus, .btn:focus-visible {
    box-shadow: none;
}

#newResaSideModal, #modResaSideModal {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #0f6674;
    left: 0;
    top: 0;
    z-index: 9;
    display: flex;
    flex-direction: column;
}
#newResaSideModal .modalTop, #newResaSideModal .modalBottom, #modResaSideModal .modalTop, #modResaSideModal .modalBottom {
    width: 100%;
    height: 50px;
    background-color: #343a40;
}
#newResaSideModal .modalTop, #modResaSideModal .modalTop {
    display: flex;
    align-items: center;
}
#newResaSideModal .modalTop h1, #modResaSideModal .modalTop h1 {
    font-size: 1.2rem !important;
    color: #FFFFFF;
    margin: 0;
    margin-left: 1rem;
    flex: 1 1 auto;
}
#newResaSideModal .modalTop .btn-modal-close, #modResaSideModal .modalTop .btn-modal-close {
    color: #FFFFFF;
    float: right;
    display: block;
}
/*#newResaSideModal .modalTop .btn-modal-close {
    position: absolute;
    right: 5px;
    top: 5px;
    color: #FFFFFF;
}*/
#newResaSideModal .modalContent, #modResaSideModal .modalContent {
    width: 100%;
    height: calc(100% - 100px);
    flex: 1 1 auto;
    margin: auto;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#newResaSideModal .modalBottom, #modResaSideModal .modalBottom {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
}
#newResaSideModal .modalBottom .btn, #modResaSideModal .modalBottom .btn {
    color: #FFFFFF;
}
.resa-item {
    min-height: 90px;
    max-height: 110px;
    height: 110px;
    box-shadow: 0 0 3px 0 silver;
    margin-bottom: 1rem;
    padding: .3rem;
    border-radius: 5px;
    cursor: pointer;
    touch-action: none;
    user-select: none;
}
.resa-item .badge-butler {
    position: relative;
    display: block;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 5px;
}
.resa-item .guest_name {
    display: block;
    width: auto;
    max-width: 100%;
    overflow: hidden;
    font-weight: bold;
    text-align: center;
}
.resa-item .resa_couvert {
    display: inline-block;
    min-width: 40px;
}
.resa-item .resa_table {
    display: inline-block;
    min-width: 40px;
}
.resa-item .resa_comments {
    display: block;
    float: left;
}
.table-item {
    display: inline-flex;
    width: 90px;
    height: 90px;
    min-width: 90px;
    min-height: 90px;
    margin: 10px;
    box-shadow: 0 0 3px 0 #445d48;
    border-radius: 10px;
    position: relative;
    justify-content: center;
    align-items: center;
    user-select: none;
    touch-action: none;
    flex-direction: column;
}
.table-item.dragActivated {
    background-color: #13B8A7;
}
.table-item.table-ok {
    background-color: #099321;
    -webkit-animation: scale-up-center 500ms cubic-bezier(0.390, 0.575, 0.565, 1.000) alternate;
    animation: scale-up-center 500ms cubic-bezier(0.390, 0.575, 0.565, 1.000) alternate;
}
.table-item.table-choosed {}
.table-item.table-stat-ok {}
.table-item.table-couvert {
    animation: table-couvert 1s infinite;
}
.table-item.table-stat-ko {
    animation: table-stat-ko 1s infinite;
}
.table-item .table-name {
    position: absolute;
    bottom: 0;
    right: 5px;
}
.table-item .table-couvert {
    position: absolute;
    left: 5px;
    top: 0;
}
.table-item .table-stat {
    font-size: 1.5rem;
}
.table-item.used {
    color: black;
    background-color: #A755F7;
    box-shadow: 0 0 15px 0 #3d2753 !important;
}
.table-item.used.full {
    background-color: #a142f6;
}
.table-item.free {}
.table-item.blocked {
    color: black;
    background-color: silver;
}

.dp__theme_dark {
    border: 0;
    background-color: #343a40;
    margin: 0;
    padding: 0;
}
.dp__theme_dark input {
    background-color: #343a40;
    border: 0;
    text-align: center;
    padding: 0;
    margin: 0;
}

#newResaSideModal .guestSection, #modResaSideModal .guestSection {
    padding: 10px;
    width: 100%;
    height: 100px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#newResaSideModal .tabsSection, #modResaSideModal .tabsSection {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.comment {
    width: auto;
    display: flex;
    flex-direction: column;
}
.comment.comment-in {
    align-self: end;
    background-color: var(--success);
    padding: 1rem;
    border-radius: 1rem;
    min-width: 50%;
    max-width: 50%;
    color: white;
    margin: 1rem;
}
.comment.comment-out {
    align-self: start;
    background-color: var(--secondary);
    padding: 1rem;
    border-radius: 1rem;
    min-width: 50%;
    max-width: 50%;
    color: white;
    margin: 1rem;
}
.comment-user:after {
    content: ":";
}
.comment-user {
    margin-bottom: .5rem;
}
.comment-message {
    word-wrap: break-word;
}


.list-move, /* apply transition to moving elements */
.list-enter-active,
.list-leave-active {
    transition: all 0.5s ease;
}
.list-enter-from,
.list-leave-to {
    opacity: 0;
    transform: translateX(30px);
}
/* ensure leaving items are taken out of layout flow so that moving
   animations can be calculated correctly. */
.list-leave-active {
    position: absolute;
}

.infoCircle {
    width: 100px;
    height: 100px;
    display: flex;
    position: relative;
    margin: 5px;
    justify-content: center;
    align-items: center;
    background-color: beige;
    border-radius: 1rem;
    flex-direction: column;
}
.infoCircle:hover {
    background-color: bisque;
}
.infoCircle span:first-child {
    font-size: 2rem;
}
.infoCircle span:last-child {
    text-align: center;
    font-size: .8rem;
}

.left--100 { left: -100%; }
.left--50 { left: -50%; }
.left-0 { left: 0; }

.overflow-y {
    overflow-y: auto !important;
}

#newResaSideModalDetails, #modResaSideModalDetails {
    height: 39% !important;
    overflow: hidden;
    overflow-y: auto;
    min-height: 100%;
}
#newResaSideModalComments, #modResaSideModalComments {
    height: 39% !important;
    overflow: hidden;
    overflow-y: auto;
    min-height: 100%;
}
.newResaSideModalCommentList, .modResaSideModalCommentList {
    min-height: 87%;
}

.clicked-resa-detail {
    box-shadow: rgba(68, 93, 72, .3) 0 0 11px 1px !important;
    border-radius: 0 15px 15px 0;
    top: 15%;
    left: -5px;
    background-color: #13B8A7 !important;
    width: 90%;
    height: 70%;
    z-index: 9;
}

.clicked-resa-detail .btn-close {
    position: absolute;
    right: 5px;
    top: 5px;
}

.clicked-resa-detail-blur {
    /** backdrop-filter: blur(1px); **/
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.table-item > .table-checked {
    display: none;
}
.table-item.selected-table {
    background-color: black;
    color: white;
    /*transform: rotate(10deg);*/
    transition-duration: 1s;
    transition-property: transform;

    border-radius: 0 10px 0 0;
    -webkit-border-radius: 0 10px 0 0;
    -moz-border-radius: 0 10px 0 0;

    box-shadow: 8px 7px 9px 1px rgba(0,0,0,0.5);
    -webkit-box-shadow: 8px 7px 9px 1px rgba(0,0,0,0.5);
    -moz-box-shadow: 8px 7px 9px 1px rgba(0,0,0,0.5);
}
.table-item.selected-table > .table-checked {
    display: block !important;
}
.selected-table-arrow {
    display: flex;
    justify-content: start;
    align-items: start;
    flex-wrap: wrap;
}
.selected-table-arrow > span:not(:last-child):after {
    content: ' + ';
}

.table-item.longClickedTable {
    border: 1px dashed #000000;
}
.table-item .div-loading {
    display: none;
}
.table-item.table-loading .div-loading {
    display: flex;
}

.table-context-menu {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
}
.table-context-menu > button {
    width: 100%;
    height: 50px;
}

.plan-table-popover {
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
    min-width: 200px;
    min-height: 100px;
    background-color: #c0c0c09c;
    margin: 0;
    padding: 0;
    border-radius: 15px;
}

.tagify__tag {
    margin: 3px;
}

#createResaAppSelectTableModalTabContent .table {
    width: 200px;
    height: 50px;
    border: 0 solid silver;
    border-radius: 10px;
    margin: 5px;
    display: flex;
    justify-content: start;
    align-items: center;
    box-shadow: 0 0 5px 0 #dbdbdb;
    padding: 5px;
}

#createResaAppSelectTableModalTabContent .table.selected {
    border: 1px solid green;
    box-shadow: 1px 1px 0 green;
}
#createResaAppSelectTableModalTabContent .table.disabled {
    border: 0;
    box-shadow: none;
    background-color: silver;
}
#closingDayApp {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
}
#closingDayApp .closingDayStatItem {
    display: block;
    width: 170px;
    height: 100px;
    border-radius: 10px;
    margin: 5px;
    box-shadow: 2px 2px 5px 3px silver;
    overflow: hidden;
}
#closingDayApp .closingDayStatItem label:first-child {
    width: 100%;
    height: 70%;
    font-size: 3rem;
    display: flex;
    justify-content: center;
    align-items: end;
}
#closingDayApp .closingDayStatItem label:last-child {
    width: 100%;
    height: 30%;
    font-size: 1rem;
    background-color: #343a40;
    display: flex;
    justify-content: center;
    align-items: start;
    color: #FFFFFF;
}
#closingDayApp tr.butlerRow {
    background-image: url('/assets/images/bg-table-row-butler.png');
    background-repeat: no-repeat;
    background-position: 14% 94%;
    background-size: 150px;
}

.orbitron-normal {
   font-family: "Orbitron", serif;
   font-optical-sizing: auto;
   font-weight: 600;
   font-style: normal;
}

.talkbubble {
    width: 300px;
    height: 150px;
    background: #343a40;
    position: relative;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
.talkbubble:after {
    content: "";
    position: absolute;
    left: 100%;
    top: 26px;
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-right: 26px solid #343a40;
    border-bottom: 13px solid transparent;
    transform: rotate(180deg);
}

#editTableContainer {
    overflow: hidden;
    border: 0;
    border-radius: 15px;
    margin: 5px;
    position: relative;
    /* width: calc(100% - 5px);
    height: calc(100% - 45px); */
    width: 830px;
    height: 690px;
    background-color: white;
    box-shadow: 0 0 7px 3px silver;
}
.edit-table-item {
    display: block;
    width: 100px;
    height: 100px;
    background-color: rgba(192, 192, 192, 0.70);
    border-radius: 15px;
    box-shadow: 1px 1px 0 1px silver;
    position: absolute;
    touch-action: none;
    user-select: none;
    overflow: hidden;
}
.edit-table-item.tmp {
    background-color: rgba(143, 245, 111, 0.70);
    box-shadow: 1px 1px 0 1px rgba(143, 245, 111, 0.70);
}
.edit-table-item .table_name {
    width: 100%;
    height: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
}
.edit-table-item .table_action {
    width: 100%;
    height: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.edit-table-item .table_action .btn {
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 0 !important;
}

.plan-page-tables {
    position: relative;
}
.plan-page-tables .table-item {
    position: absolute;
}

.timer-div {
    position: absolute;
    right: -20px;
    top: 50px;
    width: 20px;
    background-color: #0f6674;
    padding: 5px;
    color: #0f6674;
    text-align: center;
    border-radius: 0 10px 10px 0;
    display: block;
    z-index: 1;
    overflow: hidden;
}

.timer-div.show {
    display: block;
    right: -100px;
    width: 100px;
    color: #FFFFFF;
}

.resa-item:last-child {
    margin-bottom: 3rem;
}

.resa_outdated {
    background-color: #ff000024;
}

#notificationListSideModal {
    width: 40%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
    background-color: white;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 0 10px 0 #4b4949;
}
