.bg-image {
    background: url('../img/background.png') no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:after {
    opacity: 0;
}
.table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:before, table.dataTable thead .sorting_desc_disabled:after {
    opacity: 0;
}
.dataTables_length, .dataTables_filter {
    display: none;
}
.custom-table .dataTables_info {
    display: none;
}
.custom-table .dataTables_processing {
    margin-left: 0 !important;
    margin-top: 0 !important;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.3);
    width: 145px !important;
}
.custom-table .dataTables_processing .icon {
    margin: auto;
}
.ava {
    width: 50px;
    height: 50px;
    overflow: hidden;
}
.ava img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.td-email {
    word-wrap: break-word;
    word-break: break-all;
}
.btn-submit {
    width: 20%;
}
.preview {
    width: 60%;
    height: 160px;
    overflow: hidden;
}
.preview img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.schedule-list .nav-item {
    width: 6%;
    text-align: center;
    background: beige;
}
.seats .item, .tables .item{
    position: relative;
    height: 448px;
    background: transparent;
}
.seats h2 , .tables h2{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
    color: #ccc;
    font-size: 60px;
    line-height: 60px;
    z-index: 1;
    font-weight: bolder;
}
.seats .list, .tables .list {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0%;
    left: 0%;
    background: transparent;
    z-index: 5;
}
.seats .item-row {
    width: 100%;
    margin: 2px 0px;
    justify-content: flex-end;
}
.seats .C4 .item-row {
    justify-content: flex-start;
}
.seats .seat {
    border: 1px solid #e1e1e1;
    margin: 4px 0px;
    padding: 6px;
    font-size: 14px;
    cursor: pointer;
    width: calc(100% / 8);
    text-align: center;
}
.seats .without-seat {
    border: 1px solid transparent;
}
.seats .assigned-seat {
    border: 1px solid #c7c7c7;
    background: #2962FF;
    color: #fff;
}
.stage {
    width: 40%;
    height: 70px;
    line-height: 70px;
    font-weight: bold;
    font-size: 32px;
    color: #333;
    text-align: center;
    margin: auto;
    border: 2px solid #666;
    text-transform: uppercase;
    margin-bottom: 40px;
}
.open-seating-1, .open-seating-2 {
    border: 1px solid gray;
    width: 100%;
    height: 500px;
    cursor: pointer;
    margin-top: 200px;
}
.open-seating-1 h3, .open-seating-2 h3 {
    color: gray;
    text-align: center;
    line-height: 500px;
    font-size: 20px;
}
.users-list {
    max-height: 300px;
    width: 100%;
    overflow-y: scroll;
}
.user-info .avatar {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 50%;
    margin: auto;
}
.user-info .avatar img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.clear-history {
    cursor: pointer;
}
.tables .item{
    height: 420px;
}
.tables .child {
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.tables .seat, .tables .non-seat {
    border: 1px solid #e1e1e1;
    text-align: center;
    margin-bottom: 6px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    font-size: 14px;
}
.tables .row-full {
    width: 100%;
    justify-content: space-between;
}
.tables .non-seat {
    border: 1px solid transparent;
    cursor: default;
}
.tables .row-2 {
    flex-direction: row-reverse;
}
.tables .A, .tables .D, .tables .F, .tables .C {
    width: 80%;
    margin: auto;
}
.tables .assigned {
    border: 1px solid rgb(77, 3, 3);
    background-color: #2962FF;
    color: #fff;
}
.modal-party .users-list{
    overflow-x: hidden;
}
.modal-party .user-chosen {
    margin-left: -20px;
}
.btn-assign {
    color: #09f;
    font-weight: bold;
}
#datatable .seat {
    cursor: pointer;
}
.seat-list {
    max-height: 350px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.old-users {
    margin-left: -25px;
}
.modal-party .users-list-edit {
    max-height: 420px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.post-switch {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 34px;
}
.post-switch input {display:none;}
  
.post-switch  .ranger {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
     border-radius: 34px;
}
  
.post-switch  .ranger:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}
  
.post-switch  input:checked + .ranger {
    background-color: #3e5569;
}
  
.post-switch input:focus + .ranger {
    box-shadow: 0 0 1px #2196F3;
}
  
.post-switch  input:checked + .ranger:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(55px);
}
  
  /*------ ADDED CSS ---------*/
.post-switch .ranger:after {
    content:'DRAFT';
    color: white;
    display: block;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 60%;
    font-size: 10px;
    font-family: Verdana, sans-serif;
}
  
.post-switch input:checked + .ranger:after {  
    content:'PUBLIC';
    left: 35%;
}
/*--------- END --------*/
.on-list {
    width: 65px;
    height: 25px;
}
.on-list .ranger:before {
    width: 20px;
    height: 20px;
    bottom: 2px;
}
.on-list input:checked + .ranger:before {
    transform: translateX(38px);
}
.on-list .ranger:after {
    font-size: 7px;
    left: 65%;
}
.pictures .list {
    display: flex;
    flex-wrap: wrap;
    margin: -5px -10px;
    /* justify-content: space-between; */
}
.pictures .list .panel {
    margin: 5px;
    width: calc(20% - 10px);
    height: 205px;
    position: relative;
}
.pictures .list .panel-0 {
    border: 2px dotted #2196F3;
    cursor: pointer;
    position: relative;
}
.pictures .list .panel-1 {
    border: 2px solid #e1e1e1;
    background: #c7c7c7;
}
.pictures .list .panel .del {
    position: absolute;
    bottom: 5px;
    right: 5px;
    color: red;
    cursor: pointer;
    margin-bottom: 0;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: #c7c7c7;
    text-align: center;
    line-height: 28px;
}
.pictures .list .panel .picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pictures .list .panel-0 p {
    position: absolute;
    width: 65%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 18px;
    margin-bottom: 0;
    color: #2196F3;
}
.pictures .custom-checkbox {
    position: absolute;
    left: 5px;
    bottom: 5px;
    z-index: 10;
}
.pictures .custom-control-label::after, .pictures .custom-control-label::before {
    cursor: pointer;
    width: 1.2rem;
    height: 1.2rem;
}
.loading-box {
    position: relative;
}
.loading-box .loading {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    top: 0%;
    left: 0%;
}
.loading-box .loading .spinner-border {
    margin: 100px auto;
}