/*
Bootstrap Extension: btn-toggle
Written By: Mike Frost Peabo83@Gmail.com
Extension of Bootstrap Checkbox toggle buttons: https://getbootstrap.com/docs/5.3/forms/checks-radios/#toggle-buttons
Adds A primary and sub label to the toggle box, and allows to set on and off display values.
USAGE:
<input type="checkbox" name="" class="btn btn-check btn-toggle" id="btn-check" autocomplete="off">
<label class="btn btn-outline-primary d-flex justify-content-center align-items-center fs-6 w-100 h-100 align-center p-0 ps-1 pe-1 pt-2 pt-md-0 pb-2 pb-md-0" for="btn-check">
    <div class="row">
        <div class="col-12">
            <span class="d-inline-block align-middle btn-toggle-primary" toggle-off="ON TEXT" toggle-on="OFF TEXT">                                  
            </span>
        </div>
        <div class="col-12">
            <span class="d-inline-block align-middle fs-7 opacity-50 btn-toggle-sub" toggle-off="OFF TEXT" toggle-on="ON TEXT">
            </span>
        </div>
    </div>
</label>
*/
#departments_display .accordion-button {
    background-color: var(--bs-primary-bg-subtle);
}
#departments_display .accordion-button:not(.collapsed) {
    background-color: var(--bs-blue);
    color: var(--bs-white);
}
#departments_display .accordion-body {
    border-color: var(--bs-border-color-translucent) !important;
    border-radius: 0 var(--bs-border-radius) var(--bs-border-radius);
}
.btn-toggle {
    display: inherit;
}
.btn-toggle-primary {
    position: relative;
    top: 5px;   
}
.btn-toggle-sub {
    position: relative;
    top: -2px;
}
.btn-toggle + label.btn .btn-toggle-primary::after, .btn-toggle + label.btn .btn-toggle-sub::after {
content: attr(toggle-on);
}
.btn-toggle:checked + label.btn .btn-toggle-primary::after, .btn-toggle:checked + label.btn .btn-toggle-sub::after {
content: attr(toggle-off);
}
.btn-toggle:checked + .btn-primary {
color: var(--bs-white);
background-color: #0a58ca;
border-color: #0a53be;
}
.btn-outline-primary:active, .btn-outline-primary:hover {
color: #0a58ca;
background-color: #fff;
border-color: #0a53be;
}
/* End btn-toggle Extension */

/*************************************************/
/* Bootstrap Extension sizing with breakpoints

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    .w-sm-auto {
        width: auto !important;
    }
    .w-sm-100 {
        width: 100% !important;
    }

    .w-sm-75 {
        width: 75% !important;
    }

    .w-sm-50 {
        width: 50% !important;
    }

    .w-sm-25 {
        width: 25% !important;
    }

    .h-sm-100 {
        height: 100% !important;
    }

    .h-sm-75 {
        height: 75% !important;
    }

    .h-sm-50 {
        height: 50% !important;
    }

    .h-sm-25 {
        height: 25% !important;
    }
}


/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .w-md-auto {
        width: auto !important;
    }
    .w-md-100 {
        width: 100% !important;
    }

    .w-md-75 {
        width: 75% !important;
    }

    .w-md-50 {
        width: 50% !important;
    }

    .w-md-25 {
        width: 25% !important;
    }

    .h-md-100 {
        height: 100% !important;
    }

    .h-md-75 {
        height: 75% !important;
    }

    .h-md-50 {
        height: 50% !important;
    }

    .h-md-25 {
        height: 25% !important;
    }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    .w-lg-auto {
        width: auto !important;
    }
    .w-lg-100 {
        width: 100% !important;
    }

    .w-lg-75 {
        width: 75% !important;
    }

    .w-lg-50 {
        width: 50% !important;
    }

    .w-lg-25 {
        width: 25% !important;
    }

    .h-lg-100 {
        height: 100% !important;
    }

    .h-lg-75 {
        height: 75% !important;
    }

    .h-lg-50 {
        height: 50% !important;
    }

    .h-lg-25 {
        height: 25% !important;
    }
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    .w-xl-auto {
        width: auto !important;
    }
    .w-xl-100 {
        width: 100% !important;
    }

    .w-xl-75 {
        width: 75% !important;
    }

    .w-xl-50 {
        width: 50% !important;
    }

    .w-xl-25 {
        width: 25% !important;
    }

    .h-xl-100 {
        height: 100% !important;
    }

    .h-xl-75 {
        height: 75% !important;
    }

    .h-xl-50 {
        height: 50% !important;
    }

    .h-xl-25 {
        height: 25% !important;
    }
}
/* End Bootstrap Extension
/*************************************************/

.modal-content.delete-content {
    border: 0;
    border-radius: var(--bs-modal-border-radius) var(--bs-modal-border-radius) 0 0;
}

.switch {
  position: relative;
  height: 32px;
  width: 305px;
  margin: 20px auto;
  background: #FFF;
  background: #FFF;
  border-radius: 32px;
}
.switch-label {
  font-weight: bold;
  position: relative;
  z-index: 2;
  float: left;
  width: 100px;
  line-height: 32px;
  font-size: 12px;
  color: #676a6c;
  text-align: center;
  cursor: pointer;
}

.switch-input {
  display: none;
}

.switch-input:checked + .switch-label {
  color: #FFF;
  transition: 0.15s ease-out;
  transition-property: color, text-shadow;
}

.switch-input:checked + .switch-label-y ~ .switch-selector {
  transform: translateX(0%);
  background-color: var(--bs-warning);
}
.switch-input:checked + .switch-label-i ~ .switch-selector {
  transform: translateX(100%);
  background-color: var(--bs-success);
}
.switch-input:checked + .switch-label-n ~ .switch-selector {
  transform: translateX(200%);
  background-color: var(--bs-info);
}


.switch-selector {
  position: absolute;
  z-index: 1;
  top: 0px;
  left: 0px;
  display: block;
  width: 100px;
  height: 32px;
  border-radius: 32px;
  background-color: #1ab394;
  transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.main-menu {
    transform: rotate(90deg);
    transition: all .2s ease-in-out;
}
.main-menu svg {
    padding-right: 0;
}
.menu-toggle.collapsed .main-menu {
    transform: unset;
}

.asterisk {
    position: absolute; 
    top: 4px; 
    left: 5px;
}

.text-underline {
    text-decoration: underline;
}

.btn:not(.no-bevel, .btn-link), button.nav-link:not(.no-bevel) {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));
    box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset, rgba(50, 50, 93, .1) 0 2px 5px 0, rgba(0, 0, 0, .07) 0 1px 1px 0;
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    color: var();
}
input[type="radio"]+label .icon{
    display: none;
}
input[type="radio"]:checked+label .icon{
    display: inline;
}
/* For SVGs */
.st0 {
    fill-rule:evenodd;clip-rule:evenodd;
}
.cls-1{
    fill-rule:evenodd;
}

:root {
    --bs-success: #0aab60;
    --bs-success-rgb: 10,171,96;
}
.accordion {
    --bs-accordion-active-bg: var(--bs-info-bg-subtle);
}
body {
    font-family: Arial;
    margin-bottom: 10vh;
    -webkit-print-color-adjust:exact !important;
    print-color-adjust:exact !important;
}
#login_body {
    display: flex;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    height: 100vh;
}
select {
    min-height: 30px;
}
iframe {
    margin: auto !important;
}
.discount::after {
    content: '%';
}
.label-offset {
    position: relative;
    top: -4px;
}
/*.badge {
    height: 22px;
    display: inline-block;
}*/
svg {
    position: relative;
    top: -2px;
    padding-right: 3px;
}
.bg-default {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity));
}
.bg-gray-200 {
    background-color: var(--bs-gray-200);
}
.scale-150 {
    transform: scale(1.5);
    display: inline-block;
    margin-right: 0.5rem;
}
.form-adjust {
    margin-left: 0.75rem;
    width: calc(100% - 1.5rem);
}
.unset {
    background-color: unset;
    color: unset;
    border: unset;
}
.bold {
    font-weight: bold;
}
.col-seventh {
    width: 14.28571428571429%;
    text-align: center;
    max-width: 90px;
    padding-left: 0;
    padding-right: 0;
}
.week-days {
    border-top: 1px solid lightgray;
}
.week-days:first-child {
    border-left: 1px solid lightgray;
    border-radius: 1vw 0 0 0;
}
.week-days:last-child {
    border-right: 1px solid lightgray;
    border-radius: 0 1vw 0 0;
}
.radio-date {
    opacity: 0;
    cursor: pointer;
    position: absolute;
    left: 0;
    height: 100%;
}
.radio-date:checked ~ .day {
    background-color: var(--bs-success);
    color: white;
    font-weight: bold;
}
#navbar-menu {
    width: 60px;
    height: 60px;
    background-position-y: 0;
    padding-top: 35px;
    padding-left: 12px;
    background-position-x: 15px;
    background-size: 40px;
}
.date {
    border: 1px solid lightgray;
    border-collapse: collapse;
    position: relative;
    min-height: 70px;
}
.day {
    padding-top: 1vw;
    padding-bottom: 1vw;
    height: 100%;
}
.row-o-striped:nth-of-type(even) {
    background-color: rgba(0, 0, 0, .05);
}
#account .row-striped:nth-of-type(even) {
    background-color: rgba(0, 0, 0, .05);
}
#account .row-striped:nth-of-type(odd) {
    background-color: unset;
}
#calendar .row-striped:nth-of-type(odd){
  background-color: rgba(0,0,0,.04);
}
#check-in input.bigger {
    width: 25px;
    height: 25px;
    position: relative;
    top: 7px;
}
.fs-7 {
    font-size: .7rem;
}
.form-switch .form-check-input.togglebox-md {
    width:3em; 
    height: 1.5em;
    margin-top: 0;
}
.form-switch .form-check-input.togglebox-lg {
    width:5em; 
    height: 2.25em;
    margin-top: 0;
}
#add-minor label {
    left: .5rem;
}
#add-minor .col-12 {
    padding-bottom: .5rem;
}

.disclaimer_check {
    width: 2rem;
    height: 2rem;
}
.ticket_container {
    position: relative;
    text-align: center;
}
.ticket_text {
    position: absolute;
    top: 30%;
    left: 40%;
    font-size: 2vw;
    font-weight: bold;
    color: white;
}
#deptmenu{
    height: 40px;
    width: 40px;
}
#shifts-clone .row-striped .col-12:last-child .row {
    border-bottom: 0!important;
}
/* Bootstrap override so the little accordion arrow is the right color */
/*.accordion-button::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFFFFF'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
}
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFFFFF'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
}*/

.h-min-100 {
    min-height: 100px!important;
}
.h-min-200 {
    min-height: 200px!important;
}
.h-min-300 {
    min-height: 300px!important;
}
.h-min-400 {
    min-height: 400px!important;
}
.h-min-500 {
    min-height: 500px!important;
}

.col-lg-half {
    width: 4.166666666666665%;
}
.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler-icon {
    height: 60px;
    width: 60px;
}
.btn-success {
    background-color: var(--bs-success);
}
.header {
    background-image: linear-gradient(#1c2990, #03082e);
}
.icon {
    display: block;
    text-align: center;
    margin-top: .25rem;
    font-size: 160%;
}
.nav-link {
    display: inherit;
}
.nav-link.active {
    border: 1px solid var(--bs-navbar-active-color);
    border-radius: .3em;
    padding-left: 1em;
}
.navbar-dark, .navbar[data-bs-theme=dark] {
    --bs-navbar-color: var(--bs-gray-200);
}
.nav-link:hover {
    color: grey!important;
}
.nav-link.disabled {
    color: #0b5ed7;
}
.slider {
    width: 78%;
    margin-top: .3rem;
}
.identifier {
    font-weight: bold;
    font-size: 75%;
    vertical-align: text-top;
}
.red {
    color: red;
}
.green {
    color: green;
}
.output {
    display: none;
}
.breadcrumb li {
    font-size: 60%;
}
.border {
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
}
.row-striped:nth-of-type(odd){
  background-color: #efefef;
}

.row-striped:nth-of-type(even){
  background-color: #ffffff;
}
#user_display .row {
    margin-right: 0;
}
.suggesstion-box {
    position: absolute;
    top: 38px;
    width: 100%;
    background-color: white;
    border-radius: 0 0 5px 5px;
    z-index: 100;
}
.suggesstion-box ul {
    border: 1px solid grey;
}
.suggesstion-box li {
    list-style-type: none;
}

.striped > .row:nth-of-type(odd) {
    background-color: #ededed;
}

.white {
    color: white;
}

.long-text {
    overflow: hidden;
    text-overflow: ellipsis;
  }

#copyright, #copyright a {
    text-decoration: none;
    color: gray;
    font-size: .7rem;
}

#super-search li {
    list-style: none;
}

.ticket-pad {
    display: inherit;
/*    padding-top: .5vw;*/
}

.fscale-1 {
    font-size: 1vw;
}
.fscale-2 {
    font-size: 2vw;
}
.fscale-3 {
    font-size: 3vw;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.4)!important;
}

.mark, mark {
    padding: 0.2em;
    background-color: #fff0a3;
}

.sort_key input[type="radio"] {
    position: relative;
    top: 2px;
    margin-right: 3px;
}

.navbar-collapse li {
    list-style-type: none;
}

.col-12.col-striped:nth-child(even) {
    background-color: rgba(0, 0, 0, .05);
}

/* Summernote fix */
.note-toolbar .dropdown-toggle::after {
    display: none;
}

/***********************/
/* Stripe checkout CSS */
/***********************/

/* Variables */
* {
  box-sizing: border-box;
}

#payment-form {
  width: 30vw;
  min-width: 500px;
  align-self: center;
  box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1),
    0px 2px 5px 0px rgba(50, 50, 93, 0.1), 0px 1px 1.5px 0px rgba(0, 0, 0, 0.07);
  border-radius: 7px;
  padding: 40px;
  margin: auto;
}

.hidden {
  display: none;
}

#payment-form {
    text-align: center;
}

#payment-message {
  color: rgb(105, 115, 134);
  font-size: 16px;
  line-height: 20px;
  padding-top: 12px;
  text-align: center;
}

#payment-element {
  margin-bottom: 24px;
}

/* Buttons and links */
#payment-form .pay-button {
  background: #5469d4;
  font-family: Arial, sans-serif;
  color: #ffffff;
  border-radius: 4px;
  border: 0;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  transition: all 0.2s ease;
  box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
  width: 100%;
}
#payment-form .pay-button:hover {
  filter: contrast(115%);
}
#payment-form .pay-button:disabled {
  opacity: 0.5;
  cursor: default;
}

.print_only {
    display: none;
}

/* spinner/processing state, errors */
.spinner,
.spinner:before,
.spinner:after {
  border-radius: 50%;
}
.spinner {
  color: #ffffff;
  font-size: 22px;
  text-indent: -99999px;
  margin: 0px auto;
  position: relative;
  width: 20px;
  height: 20px;
  box-shadow: inset 0 0 0 2px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.spinner:before,
.spinner:after {
  position: absolute;
  content: "";
}
.spinner:before {
  width: 10.4px;
  height: 20.4px;
  background: #5469d4;
  border-radius: 20.4px 0 0 20.4px;
  top: -0.2px;
  left: -0.2px;
  -webkit-transform-origin: 10.4px 10.2px;
  transform-origin: 10.4px 10.2px;
  -webkit-animation: loading 2s infinite ease 1.5s;
  animation: loading 2s infinite ease 1.5s;
}
.spinner:after {
  width: 10.4px;
  height: 10.2px;
  background: #5469d4;
  border-radius: 0 10.2px 10.2px 0;
  top: -0.1px;
  left: 10.2px;
  -webkit-transform-origin: 0px 10.2px;
  transform-origin: 0px 10.2px;
  -webkit-animation: loading 2s infinite ease;
  animation: loading 2s infinite ease;
}

@-webkit-keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@media only screen and (min-width: 1520px) {
    .ticket_text {
        font-size: 30px;
    }
    .ticket-pad {
        padding-top: 4rem;
    }

    .fscale-1 {
    font-size: 1rem;
    }
    .fscale-2 {
        font-size: 2rem;
    }
    .fscale-3 {
        font-size: 3rem;
    }
}
@media only screen and (max-width: 991px) {
    .tablet-stretch {
        width: 100%;
    }
}

/*col-md width*/
@media only screen and (max-width: 767.5px) {
    #checkout_progress .rounded-start {
        border-radius: .25rem .25rem 0 0;
        border-bottom-left-radius: 0!important;
    }
    #checkout_progress .rounded-end {
        border-radius: 0 0 .25rem .25rem;
        border-top-right-radius: 0!important;
    }
}

@media only screen and (max-width: 600px) {
  form {
    min-width: initial;
  }
  #payment-form {
    min-width: unset;
    width: auto;
  }
  .mobile-stretch {
    width: 100%;
  }
  .date, .week-days {
    font-size: 3vw;
  }
}

@media only screen and (max-width: 575.5px) {
    .ticket_text {
        font-size: 5vw;
        left: 35%;
    }
    .mobile-border-bottom {
        border-bottom: 1px solid var(--bs-border-color);
    }
}

/*col-sm width*/
@media only screen and (max-width: 540px) {
}

@media only screen and (max-width: 330px) {
    .change-event{
        font-size: .8rem;
    }
    #nav_logo {
        width: 100%;
        margin-bottom: 1rem!important;
    }
    #nav_button {
        width: 100%;
    }
    #nav_menu_text {
        font-size: 2rem!important;
        padding-top: .4rem;
    }
}

@media only print {
    .no_print {
        display: none!important;
    }
    .print_only {
        display: inline-block!important;
    }
    h1, h3 {
        color: white;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    #qr_code {
        max-width: 400px;
    }
}