﻿.widgets-board {
    width: 100%;
    min-height: 100%;
}

.widgets-board .grid-stack {
    width: 100%;
    min-height: 100%;
}

.widgets-board .grid-stack .grid-stack-item > .grid-stack-item-content {
    inset: 5px;
}

.widgets-board .grid-stack.dragging-item,
.widgets-board .grid-stack.dragging-item * {
    cursor: move !important;
}

.widget360 .widget-header {
    user-select: none;
    background: #544A3D;
    border-radius: 10px 10px 0 0;
    display: flex;
    text-align: left;
    font-weight: 900;
    font-size: 1rem;
    line-height: 1.18rem;
    height: 2.2em;
    padding-top: 0;
    padding-left: 1em;
}

.widget360 .widget-header.blue {
    border-bottom: 4px solid #4C9AFF;
}

.widget360 .widget-header picture, 
.widget360 .widget-header picture img {
    margin: auto 0;
    width: 1.18rem;
}

.widget360 .widget-header i {
    margin: auto 0;
    width: 1.18rem;
    padding: 0;
    font-size: 1rem;
    line-height: 1.18rem;
}

.widget360 .widget-header i.blue {
    color: #4C9AFF;
}

.widget360 .widget-header h4 {
    margin: auto 1rem;
    padding: 0;
    font-size: 1rem;
    line-height: 1.18rem;
}

.widget360 .widget-header[draggable=true],
.widget360 .widget-header.ui-draggable-handle {
    cursor: grab !important;
}

.grid-stack-item.ui-draggable.ui-draggable-dragging,
.grid-stack-item.ui-draggable.ui-draggable-dragging .widget-header[draggable=true] {
    cursor: move !important;
}

.widget360-item-body > div {
    height: 100%;
    width: 100%;
    margin: 0;
}

.dropdown.styled-dropdown {
    margin: 0;
}

.dropdown.styled-dropdown button.dropdown-toggle {
    border: 1px solid rgba(225,184,127,0.4);
    font-size: 1rem;
    line-height: 1.18rem;
    text-transform: capitalize;
    padding: 0.5rem 1rem;
    cursor: pointer;
    position: relative;
    color: #C0CFA0;
    text-align: left;
    background: #21201F;
    border-radius: 0;
    width: 100%;
    transition: 0.3s all;
}

.dropdown.show.styled-dropdown button.dropdown-toggle {
    background-color: rgba(225,185,127,0.4);
    width: 100%;
}

.dropdown.styled-dropdown button.dropdown-toggle::after {
    position: absolute;
    top: 35%;
    right: 15px;
    font-size: 1.5em;
    border-top: 0;
    border-right: 0.3em solid transparent;
    border-bottom: 0.3em solid;
    border-left: 0.3em solid transparent;
    transition: 0.5s all;
}

.dropdown.show.styled-dropdown button.dropdown-toggle::after {
    transform: translateY(-50%) rotate( 180deg );
    top: 50%;
}

.dropdown.styled-dropdown .dropdown-menu {
    background-color: #6E5D45;
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    border: 1px solid #6E5D45;
}

.dropdown.styled-dropdown .dropdown-menu .dropdown-item {
    color: #FFFFFF;
    min-height: 2rem;
    padding: 0.5rem 1rem;
    margin-left: 5%;
    width: 90%;
}

.dropdown.styled-dropdown .dropdown-menu .dropdown-item:not(:last-child) {
    border-bottom: 1px solid rgba(225,184,127,0.4);
}

.dropdown.styled-dropdown .dropdown-menu .dropdown-item:hover {
    background-color: rgba(225,185,127,0.05);
}

.widget360 .card {
    background: #21201F;
    padding: 1.25rem;
    border: none;
    height: 100%;
    width: 100%;
    margin: 0;
}

.widget360 .card p {
    margin-bottom: 0;
}

.widget360 .card .card-body {
    padding: 0;
    overflow: auto;
}

.widget360 .card .card-body .row {
    padding-bottom: 0.375rem;
    margin-right: 0;
    margin-left: 0;
}

/*.widget360 .eg-el > div > h4 {
    margin: 0.5rem 1.875rem !important;
    font-size: 1rem;
    line-height: 1.18rem;
}*/

/*********************/
/* Patron 360 Styles */
/* For Desktop       */
/*********************/
@media only screen and (min-width: 768px) {
    .widget360 .widget-header {
        display: flex;
        font-size: 1.5rem;
        line-height: 1.8rem;
        height: 2.5em;
    }

    .widget360 .widget-header picture,
    .widget360 .widget-header picture img {
        width: 1.8rem;
    }

    .widget360 .widget-header i {
        width: 1.18rem;
        font-size: 1.5rem;
        line-height: 1.8rem;
    }

    .widget360 .widget-header h4 {
        font-size: 1.5rem;
        line-height: 1.8rem;
    }
}

/* START MOBILE FRIENDLY TABLES: 
    Styles for tables that should vertical flip headers and rows in small screens (like mobiles) 
*/
.widget360 table.mobile-friendly,
.widget360 table.data-table {
    border-color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.widget360 table.mobile-friendly thead,
.widget360 table.data-table thead {
    border: 0;
    background-color: #21201F;
    position: sticky;
    text-transform: uppercase;
}

.widget360 table.mobile-friendly thead th,
.widget360 table.data-table thead th {
    font-family: Chivo;
    font-style: normal;
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.18rem;
    /* identical to box height */

    padding-bottom: .5rem;
    width: auto;
    white-space: nowrap;
    color: #E1B87F;
    /*	
    border-bottom: 1px rgba(255, 255, 255, 0.3) solid;
	border-right: 1px rgba(255, 255, 255, 0.3) solid;
	border-top: 0;

*/
    border: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #21201F;
}

.widget360 table.mobile-friendly tbody tr.widget360-table-evenrow,
.widget360 table.data-table tbody tr.widget360-table-evenrow {
    background-color: black;
}

.widget360 table.mobile-friendly tbody,
.widget360 table.data-table tbody {
    border: 0;
}

.widget360 table.mobile-friendly tbody td,
.widget360 table.data-table tbody td {
    font-family: Chivo;
    font-style: normal;
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.18rem;
    color: #FFFFFF;
    /*    
        border-bottom: 1px rgba(255, 255, 255, 0.3) solid;
        border-right: 1px rgba(255, 255, 255, 0.3) solid;
        border-top: 0;

    */
    border: 0;
}

.widget360 table.mobile-friendly tbody tr,
.widget360 table.data-table tbody tr {
    border: 0;
}

/* Not small screens */
@media only screen and (min-width: 768px) {

    .widget360 table.mobile-friendly tbody tr td:last-child,
    .widget360 table.data-table tbody tr td:last-child,
    .widget360 table.mobile-friendly thead th:last-child,
    .widget360 table.data-table thead th:last-child {
        border-right: 0;
    }

    .widget360 table.mobile-friendly tbody tr td:first-child,
    .widget360 table.data-table tbody tr td:first-child {
        padding-left: 0;
    }

    .widget360 table.mobile-friendly tbody tr:last-child td,
    .widget360 table.data-table tbody tr:last-child td {
        border-bottom: 0;
    }
}
/* Small screens (mobiles) */
@media only screen and (max-width: 768px) {

    .widget360 table.mobile-friendly {
        display: flex;
        flex-direction: row;
        flex: 1;
    }

    .widget360 table.mobile-friendly thead {
        display: grid;
        flex-direction: column;
        flex: 1;
        /*grid-auto-rows: min-content;*/
        grid-auto-rows: 1fr;
        background-color: #21201F;
        left: 0;
        top: auto;
    }

    .widget360 table.mobile-friendly thead th {
        flex: 1;
        white-space: normal;
        padding: 0.625rem 0;
        min-width: 9.375rem;
        left: 0;
        top: auto;
    }

    .widget360 table.mobile-friendly thead th:last-child {
        border-bottom: 0;
    }

    .widget360 table.mobile-friendly tbody {
        display: flex;
        flex-direction: row;
        flex: 1;
    }

    .widget360 table.mobile-friendly tbody tr {
        display: grid;
        flex-direction: column;
        flex: 1;
        /*grid-auto-rows: min-content;*/
        grid-auto-rows: 1fr;
    }

    .widget360 table.mobile-friendly tbody tr td {
        flex: 1;
        padding: 0.625rem;
        /*max-width: 200px;
        width: auto;*/
    }

    .widget360 table.mobile-friendly tbody tr td:last-child {
        border-bottom: 0;
    }

    .widget360 table.mobile-friendly tbody tr:last-child td {
        border-right: 0;
    }
}
/* END MOBILE FRIENDLY TABLES */

.modal-body {
    padding: 0;
    margin: 1rem;
}

.modal-content {
    background: #21201F;
    border: 1px solid #e57f19;
}

/*RESERVATION WIDGETS*/
.widget360 .reservations .header {
    text-align: center;
    font-size: 16px;
    font-weight: 900;
    line-height: 19px;
    text-transform: capitalize;
    margin-bottom: 15px;
}

.widget360 .reservations .venue {
    display: flex;
    margin-bottom: 1rem;
}

.widget360 .reservations .btn-venue {
    border: 1px solid #544a3d;
    background-color: #544a3d;
    padding: 1.2rem;
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    margin: auto;
}

.widget360 .reservations .btn-venue .label {
    display: block;
    margin-top: 5px;
}

.widget360 .reservations .btn-venue:hover {
    border: 1px solid #ffffff;
}

/* Small screens (mobiles) */
@media only screen and (max-width: 768px) {
    .widget360 .reservations .venue {
        display: flex;
        margin-bottom: 0;
        margin-top: .5rem;
    }

    .widget360 .reservations .btn-venue {
        padding: .5rem;
    }

    .widget360 .reservations .header {
        margin-bottom: 0;
    }
}

div.widget360 div.tabular-info div.card div.card-body div.overflow-auto::-webkit-scrollbar {
    display: none;
}

/* Big screens (Desktops) */
@media only screen and (min-width: 768px) {
    div.widget360 div.tabular-info div.card div.card-body,
    div.widget360 div.tabular-info div.card div.card-body div.overflow-auto {
        overflow-y: hidden !important;
        scrollbar-width: none; /* Firefox 64 */
    }
}

.widget360 .tabular-info {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
}

.widget360 .tabular-info .tabular-info-header {
    text-align: center;
    font-size: 16px;
    font-weight: 900;
    line-height: 19px;
    text-transform: capitalize;
    margin-bottom: 15px;
}

.widget360 .tabular-info table tbody td a {
    font-family: Chivo;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    /* identical to box height */

    text-decoration-line: underline;
    color: #C0CFA0;
}

.widget360 .tabular-info table tbody td.details {
    text-align: center;
}
