:root {
    --workshop-green: #2ea44f;
    --workshop-red: #ff4c4c;
    --workshop-yellow: #ffd890;
    --workshop-blue: #0097af;
}
.dataTables_wrapper {
    padding: 15px;
    background-color: white;
    border-radius: 5px;
    overflow-x: auto;
}
.dataTable.widefat {
    margin-top: 48px;
}
td.td-centered {
    vertical-align: middle;
}
    /* CSS */
.button-3 {
    appearance: none;
    background-color: var(--workshop-green);
    border: 1px solid rgba(27, 31, 35, .15);
    border-radius: 6px;
    box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: -apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    padding: 6px 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    white-space: nowrap;
}

.button-3:focus:not(:focus-visible):not(.focus-visible) {
    box-shadow: none;
    outline: none;
}

.button-3:hover {
    background-color: #2c974b;
}

.button-3:focus {
    box-shadow: rgba(46, 164, 79, .4) 0 0 0 3px;
    outline: none;
}

.button-3:disabled {
    background-color: #94d3a2;
    border-color: rgba(27, 31, 35, .1);
    color: rgba(255, 255, 255, .8);
    cursor: default;
}

.button-3:active {
    background-color: #298e46;
    box-shadow: rgba(20, 70, 32, .2) 0 1px 0 inset;
}

.button-3-red {
    appearance: none;
    background-color: var(--workshop-red);
    border: 1px solid rgba(27, 31, 35, .15);
    border-radius: 6px;
    box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: -apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    padding: 6px 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    white-space: nowrap;
}

.button-3-red:focus:not(:focus-visible):not(.focus-visible) {
    box-shadow: none;
    outline: none;
}

.button-3-red:hover {
    background-color: #ee4747;
}

.button-3-red:focus {
    box-shadow: rgba(255, 40, 42, 0.4) 0 0 0 3px;
    outline: none;
}

.button-3-red:disabled {
    background-color: #ef5a5a;
    border-color: rgba(27, 31, 35, .1);
    color: rgba(255, 255, 255, .8);
    cursor: default;
}

.button-3-red:active {
    background-color: #ee4747;
    box-shadow: rgba(20, 70, 32, .2) 0 1px 0 inset;
}

/* CSS */
a.button-3 {
    appearance: none;
    background-color: var(--workshop-blue);
    border: 1px solid rgba(27, 31, 35, .15);
    border-radius: 6px;
    box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: -apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    padding: 6px 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    white-space: nowrap;
}

a.button-3:focus:not(:focus-visible):not(.focus-visible) {
    box-shadow: none;
    outline: none;
}

a.button-3:hover {
    background-color: #27bdd5;
}

a.button-3:focus {
    box-shadow: rgba(107, 250, 255, 0.4) 0 0 0 3px;
    outline: none;
}

a.button-3:disabled {
    background-color: #8fd0b5;
    border-color: rgba(27, 31, 35, .1);
    color: rgba(255, 255, 255, .8);
    cursor: default;
}

a.button-3:active {
    background-color: #27bdd5;
    box-shadow: rgba(20, 70, 32, .2) 0 1px 0 inset;
}
.button-4 {
    appearance: none;
    background-color: #FAFBFC;
    border: 1px solid rgba(27, 31, 35, 0.15);
    border-radius: 6px;
    box-shadow: rgba(27, 31, 35, 0.04) 0 1px 0, rgba(255, 255, 255, 0.25) 0 1px 0 inset;
    box-sizing: border-box;
    color: #24292E;
    cursor: pointer;
    display: inline-block;
    font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    list-style: none;
    padding: 6px 16px;
    position: relative;
    transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    white-space: nowrap;
    word-wrap: break-word;
}
.button-4:hover {
    background-color: #F3F4F6;
    text-decoration: none;
    transition-duration: 0.1s;
}

.button-4:disabled {
    background-color: #FAFBFC;
    border-color: rgba(27, 31, 35, 0.15);
    color: #959DA5;
    cursor: default;
}

.button-4:active {
    background-color: #EDEFF2;
    box-shadow: rgba(225, 228, 232, 0.2) 0 1px 0 inset;
    transition: none 0s;
}

.button-4:focus {
    outline: 1px transparent;
}

.button-4:before {
    display: none;
}

.button-4::-webkit-details-marker {
    display: none;
}
a.button-4 {
    appearance: none;
    background-color: #FAFBFC;
    border: 1px solid rgba(27, 31, 35, 0.15);
    border-radius: 6px;
    box-shadow: rgba(27, 31, 35, 0.04) 0 1px 0, rgba(255, 255, 255, 0.25) 0 1px 0 inset;
    box-sizing: border-box;
    color: #24292E;
    cursor: pointer;
    display: inline-block;
    font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    list-style: none;
    padding: 6px 16px;
    position: relative;
    transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    text-decoration: none;
    white-space: nowrap;
    word-wrap: break-word;
}

.dataTable {
    width: 100% !important;
}
.dataTables_length select {
    width: 56px!important;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 20; /* Sit on top */
    left: 90px;
    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 */
}

@media screen and (max-width: 960px) {
    .modal {
        left: 0;
        padding-left: 20px;
    }
}
@media screen and (max-width: 782px) {
    .modal {
        padding-left: 0;
    }
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    border-radius: 5px;
    margin: 100px auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #FF3D00;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
#wrkshpv2-snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 100; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#wrkshpv2-snackbar.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}
.main-actions {
    margin-bottom: 10px;
    display: flex;
    justify-content: flex-start;
    gap: 3px;
    align-items: center;
}
.workshop-tag, .workshop-tag-info, .workshop-tag-red, .workshop-tag-success {
    line-height: 2em;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    padding: 2px 12px;
    border-radius: 5px;
    min-width: 50px;
    text-align: center;
    white-space: nowrap;
}

span.workshop-tag-info {
    background: var(--workshop-blue) 50%;
    color: #fff;
}
span.workshop-tag {
    background: var(--workshop-yellow);
}
span.workshop-tag-red {
    background: var(--workshop-red);
    color: #fff;
}
span.workshop-tag-success {
    background: var(--workshop-green);
    color: #fff;
}
.workshop-tags {
    display: flex;
    gap: 5px;
    flex-direction: row;
    overflow-x: clip;
    align-items: center;
    max-height: 46px;
    position: relative;
    margin-top: 5px;
}
.flex-builder {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.sub-flex-builder > span > input {
    width: 150px;
}
.sub-flex-builder > span {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.sub-flex-builder {
    display: flex;
    flex-direction: column;
    width: 25%;
    gap: 5px;
}
div#load-overlay .loader {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
}
div#load-overlay {
    background: #00000077;
    width: calc(100vw - 160px);
    height: 100vh;
    position: fixed;
    inset: 0;
    z-index: 25;
    left: 160px;
}
.flex-across {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 10px;
}
.flex-across-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 10px;
}
.twc-paper {
    background: #fff;
    padding: 15px;
    margin: 15px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.flex-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.flex-start {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    align-items: center;
}
.wrkshpv2-select2 {
    width: 100%;
}
.flex-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
div#wrkshpv2-main-form-container {
    gap: 24px;
}

@media screen and (max-width: 900px) {
    div#wrkshpv2-main-form-container {
        flex-direction: column;
        align-items: stretch!important;
    }
    div#wrkshpv2-main-form-container > .wrkshpv2-main-form {
        width: 100%!important;
    }
}
.wrkshpv2-tab {
    display: none;
}
button.button-4.wrkshpv2-tab-btn {
    border-bottom: none;
    background: #ffffff00;
    box-shadow: none;
    border-radius: 5px 5px 0 0;
}
button.button-4.wrkshpv2-tab-btn:not(:disabled) {
    background: #d8d8d8;
}
.button-4.wrkshpv2-tab-btn:disabled {
    color: #24292E;
}

.wrkshpv2-previewable-image {
    cursor: pointer;
    transition: transform 0.2s;
}
.wrkshpv2-previewable-image:hover {
    transform: scale(1.05);
}
.wrkshpv2-previewable-overlay {
    position: fixed;
    display: flex;
    top: 32px;
    left: 160px;
    bottom: 0;
    right: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
@media screen and (max-width: 960px) {
    .wrkshpv2-previewable-overlay {
        left: 36px;
    }
}
@media screen and (max-width: 782px) {
    .wrkshpv2-previewable-overlay {
        left: 0;
    }
}

/* Close button for the overlay */
.wrkshpv2-previewable-overlay .close-preview {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}
.wrkshpv2-previewable-overlay img {
    max-width: 50%;
    max-height: 90vh;
}
.wrkshpv2-previewable-image-container {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    contain: content;
}
a.wrkshpv2-previewable-image-edit {
    position: absolute;
    right: 10px;
    bottom: 6px;
    font-size: 14pt;
    font-weight: bold;
}
.wrkshpv2-previewable-overlay .wrkshpv2-previewable-image-container > img {
    max-width: 100%;
    max-height: 90vh;
}
label.wrkshpv2-larger-label {
    font-weight: 500;
    font-size: 14px;
}
span.wrkshpv2-archive-view-status {
    margin-left: 12px!important;
}
span#wrkshpv2-archive-view-status-off {
    background: red;
    padding: 8px;
}
span#wrkshpv2-archive-view-status-on {
    background: greenyellow;
    color: black;
    padding: 8px;
}
#wp-admin-bar-wrkshpv2-archive-view .ab-item {
    padding-right: 0!important;
    cursor: pointer!important;
}
form#wrkshpv2-archive-floating-control {
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 16px;
    padding: 24px;
    background: white;
    border-radius: 5px;
    z-index: 3;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.wrkshpv2-ul {
    list-style-type: disc;
    margin-left: 16px;
}
.wrkshpv2-wrap {
    margin-bottom: 140px;
}
.wrkshpv2-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 21px;
}

/* Hide default HTML checkbox */
.wrkshpv2-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.wrkshpv2-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.wrkshpv2-slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .wrkshpv2-slider {
    background-color: #2196F3;
}

input:focus + .wrkshpv2-slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .wrkshpv2-slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}

/* Rounded sliders */
.wrkshpv2-slider.round {
    border-radius: 34px;
}

.wrkshpv2-slider.round:before {
    border-radius: 50%;
}
.wrkshpv2-icon-btn {
    display: flex;
    align-items: center;
    gap: 10px;
}
.icon-table-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.icon-table-header > img { cursor: pointer }
div.dataTables_processing {
    top: 24px!important;
    z-index: 10;
}
td.zero-padding-cell {
    padding: 0!important;
}
.wrkshpv2-attendee-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
input.wrkshpv2-link-attendees {
    margin: 0;
}
.fill-cell {
    /*width: 100%;*/
    /*height: 100%;*/
    box-sizing: border-box;
    border: 1px solid #ccc;
    min-height: 50px;
    margin: 4px 8px;
}
.class-edit-warning {
    padding: 8px 12px;
    border: thin solid crimson;
    border-radius: 5px;
    background: #ff6464;
    color: white;
}
.wrkshpv2-tabs-container {
    border-bottom: thin solid #b5b5b5;
    display: flex;
    gap: 4px;
    width: 100%;
}
.wrkshpv2-tabs-container .button-4.wrkshpv2-tab-btn:disabled {
    margin-bottom: -1px;
    border-bottom: 2px solid #f0f0f1;
}
.attendee-split-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}
.grouped-attendee-column-orders {
    max-height: 75px;
    overflow-y: auto;
}
.flex-across.attendee-split-group-name-wrapper {
    flex-direction: column;
    align-items: flex-start;
}
form#update-attendee-form {
    width: 100%!important;
}
div#show-only-for-split {
    width: 100%!important;
}
button.preview-printable {
    display: none;
}
input.dt-select-checkbox[type=checkbox] {
    all: unset;
}
input.dt-select-checkbox[type=checkbox]::before {
    all: unset;
}
input.dt-select-checkbox[type=checkbox]::after {
    all: unset;
}

.ql-font span[data-label="Poppins"]::before {
    font-family: "Poppins";
}
.ql-font span[data-label="Playfair Display"]::before {
    font-family: "Playfair Display";
}
.ql-font span[data-label="Montserrat"]::before {
    font-family: "Montserrat";
}
.ql-toolbar, .ql-container {
    background: white;
}