.tooltip {
    --geeks-tooltip-bg: var(--geeks-black) !important;
    --geeks-tooltip-color: var(--geeks-white) !important;
}

.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

.form-select {
    color: var(--geeks-black);
}

.ms-ctn .ms-sel-item {
    color: black;
    font-weight: 500;
}

.validation-summary-errors {
    color: #802932;
    background-color: #fddcdf;
    border-color: #fccdd2;
    padding: 10px 5px;
    border-radius: 3px;
    margin: 10px 0;
}

.validation-summary-errors ul {
    padding-left: 2em;
    margin-bottom: 0;
}

.validation-summary-errors ul li {
    font-weight: 300;
}

.swal2-popup.swal2-toast {
    white-space:nowrap;
    width: 100px;
}

.invalid-feedback {
    display: none !important;
    text-wrap: nowrap;
}

/*@media (min-width: 768px) {*/

/*    .invalid-feedback {*/
/*        display: inline-block !important;*/
/*        width: auto;*/
/*        margin-left: auto;*/
/*    }*/
/*}*/

.form-check-input:valid:checked {
    background-color: var(--geeks-primary) !important;
}

.typeface-western {
    font-family: 'Rye', serif;
}

.typeface-typewriter {
    font-family: 'Special Elite', serif;
    font-weight: 400;
    font-style: normal;
}

button.swal2-confirm.swal2-styled {
    min-width: 150px;
}

.markdown-content p:last-child,
.markdown-content ul:last-child {
    margin-bottom: 0;
}

.last-clear-margin:last-of-type {
    margin-bottom: 0 !important;
}

.last-clear-margin-end:last-of-type {
    margin-right: 0 !important;
}

.missing-item {
    opacity: 50%;
}

.missing-item h2,
.missing-item h3,
.missing-item h4,
.missing-item h5 {
    text-decoration: line-through;
}


.tagify__tag-text {
    font-size: 1.1em;
}

.tagify__tag {
    padding-left: 0.75em;
    padding-right: 0.75em;
}

.EasyMDEContainer .editor-toolbar {
    background-color: white;
}

/* --- Timeline --- */
.timeline-item {
    padding: 0.7em 1.5em;
    position: relative;
    color: rgba(0, 0, 0, 0.7);
    border-left: 2px solid rgba(0, 0, 0, 0.3);
}

.timeline-item::after {
    width: 10px;
    height: 10px;
    display: block;
    top: 1em;
    position: absolute;
    left: -7px;
    border-radius: 10px;
    content: '';
    border: 2px solid rgba(0, 0, 0, 0.3);
    background: white;
}

.timeline-item:last-child {
    -o-border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0)) 1 100%;
    border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0)) 1 100%;
}

.timeline-item {
    font-size: 14px;
}

.timeline-item > .badge {
    font-size: 12px;
}

.trail-view {
    border-left:  1px solid var(--geeks-border-color);
    padding-left: 1em;
    margin-left: 0.5em;
    margin-bottom: 1.5em;
}

.timeline-item.done::before {
    background-color: var(--geeks-success);
}

.timeline-item hr:last-child {
    display: none;
}
/* --- End of Timeline --- */

kbd {
    border: 1px dotted var(--geeks-dark);
    background-color: transparent;
    color: var(--geeks-primary);
}

.rotate90 {
    transform: rotate(90deg);
}

.rotate180 {
    transform: rotate(180deg);
}

.bi.rotate180:before {
    transform: rotate(180deg);
}

.w-120 {
    width: 120px !important;
}

.w-150 {
    width: 150px !important;
}

.w-250 {
    width: 250px !important;
}

.dataTables_info {
    font-size: 0.9em;
}

.table.dataTable {
    border-spacing: 2px; 
    border-bottom: 1px solid var(--geeks-border-color);
}

.table.dataTable tr:hover {
    background-color: rgba(238, 238, 238, 0.25);
}

.navbar-expand-lg .navbar-nav .nav-link:hover {
    background-color: rgba(11, 132, 186, 0.07);
}

.placements .placement-group:last-child hr {
    display: none;
}

.placements .placement-group:last-child {
    margin-bottom: 0;
}

.placement-group .inventory-item:last-child {
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

.placement-group .inventory-item:last-child .inventory-checks:last-child {
    margin-bottom: 0 !important;
}

.inventory-item {
    border-top: 1px dotted black;
}

.is-invalid {
    border-width: 2px !important;
}

.btn-group.is-invalid label {
    border-width: 2px !important;
}

/*        Croppie      */ 
.croppie-container .cr-boundary {
    margin-left: 0;
}

.croppie-container .cr-slider-wrap {
    text-align: left;
    margin-left: 0;
}

input.tristate {
    display: none;
}


input.tristate.option-no ~ label.option-no::before  {
    color: darkgrey;
    font-family: 'Feather';
    font-size: 1.7em;
    display: inline-block;
    content: '\e902';
    margin-right: 7px;
    cursor: pointer;
}

input.tristate.option-no:checked ~ label.option-no::before  {
    color: red;
    font-weight: 600;
}

input.tristate.option-yes ~ label.option-yes::before  {
    color: darkgrey;
    font-size: 1.7em;
    font-family: 'Feather';
    display: inline-block;
    content: '\e92c';
    margin-left: 7px;
    cursor: pointer;
}

input.tristate.option-yes:checked ~ label.option-yes::before  {
    color: green;
    font-weight: 600;
}

.sticky-nav {
    position: fixed;
    background-color: #eee;
    border: 1px solid #ccc;
    z-index: 100;
    padding: 5px;
    border-radius: 5px;
    display: none;
    text-align: center;
    top: 5px;
    width: 88%;
    
    @media (min-width:1200px)
    {
        right: 30px;
        width: 25%;
    }    
}

.adaptive-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    
    @media (min-width:1200px)
    {
        width: 75% !important;    
    }
}

.is-valid ~ .invalid-feedback {
    display: none !important;
}

.form-check-input.is-valid~.form-check-label,
.was-validated .form-check-input:valid~.form-check-label {
    color: inherit;
}

.spinner {
    animation: spin-animation 0.5s infinite;
    display: inline-block;
}

@keyframes spin-animation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(359deg);
    }
}

.btn.responsive {
    width: auto;
}

@media (max-width: 576px) {
    .btn.btn-responsive {
         width: 100% !important;
    }
}

.tooltip.bs-tooltip-auto:has(img.photo-tooltip) {
    background-color: transparent; !important;
    border: 1px solid #eee;
    border-radius: 7px;
}

.tooltip-inner:has(img.photo-tooltip) {
    background-color: white !important;
    border-radius: 7px;
    padding: 4px;
}

.tooltip-inner
{
    color: white;
}

.movable-tile {
    cursor: grab;
}

/* ENDLESS ROTATE */
.rotate {
    animation: spinner 1.5s linear infinite;
}
@keyframes spinner {
    to { transform: rotate(360deg); }
}

.decorated-link {
    border-bottom: 1px dotted;
}


/* --- Timeline --- */
.vertical-timeline-item {
    padding: 2em 2em 1em;
    position: relative;
    color: rgba(0, 0, 0, 0.7);
    border-left: 2px solid rgba(0, 0, 0, 0.3);
}

.vertical-timeline-item::before {
    content: attr(date-is);
    position: absolute;
    left: 2em;
    top: 0.5em;
    display: block;
    font-weight: 400;
}

.vertical-timeline-item::after {
    width: 10px;
    height: 10px;
    display: block;
    top: 1em;
    position: absolute;
    left: -7px;
    border-radius: 10px;
    content: '';
    border: 2px solid rgba(0, 0, 0, 0.3);
    background: white;
}

.vertical-timeline-item:last-child {
    -o-border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0)) 1 100%;
    border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0)) 1 100%;
}

.vertical-timeline-item {
    font-size: 14px;
}

.vertical-timeline-item > .badge {
    font-size: 12px;
}

.table.nowrap.dataTable {
    width: 100% !important;
}

.striped > :nth-child(odd) {
    background-color: rgba(238, 238, 238, 0.5) !important;
    padding: 8px;
    border-radius: 4px;
}

.striped > :nth-child(even) {
    padding: 8px;
}

.typeface-monospaced {
    font-family: "Roboto Mono", monospace;
    font-optical-sizing: auto;
    font-style: normal;
}

/* Buttons with an animation on click */ 
.btn-animated-click {
    position: relative;
    cursor:pointer;
    user-select:none;
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s; /* Safari */
}

.btn-animated-click:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top:0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.5s;
    box-shadow: 0 0 8px 8px blue;
}

.btn-animated-click:active:after {
    box-shadow: 0 0 0 0 blue;
    position: absolute;
    left: 0;
    top:0;
    opacity: 1;
    transition: 0s;
}

.btn-animated-click:active {
    top: 1px;
}

.loading-animation {
    height: 6px;
    border-radius: 4px;
    width: 100%;
    --c:no-repeat linear-gradient(#6100ee 0 0);
    background: var(--c),var(--c),#d7b8fc;
    background-size: 60% 100%;
    animation: l16 8s infinite;
}
@keyframes l16 {
    0%   {background-position:-150% 0,-150% 0}
    66%  {background-position: 250% 0,-150% 0}
    100% {background-position: 250% 0, 250% 0}
}

.cr-slider-wrap .value {
    display: none;
}


.separator {
    display: flex;
    align-items: center;
    text-align: center;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid;
    border-color: inherit;
}

.separator:not(:empty)::before {
    margin-right: 1em;
}

.separator:not(:empty)::after {
    margin-left: 1em;
}

.click-box {
    position: relative;
    cursor: pointer;
}

.click-box:hover {
    background-color: rgba(0, 0, 0, 0.05);
}


/* Christmas styles */
/*
#top-nav-bar {
    background: left center no-repeat url('/assets/images/background/christmas-bg-blue.svg');
    background-size: cover;
}

#top-nav-bar .nav-link {
    color: white !important;
}

.navbar .navbar-toggler {
    border-color: white !important;
}

.navbar .navbar-toggler .icon-bar {
    background-color: white !important;
}


#nav-toggle {
    color: white !important;
}

#guest-main {
    background: center center no-repeat url('/assets/images/background/christmas-bg-login.jpg');
    background-size: cover;
}
 */

#guest-main {
    
    background: left center no-repeat
        linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255 ,0.8)),
        url('/assets/images/background/parade-bg.jpg');
    background-size: cover;
}
