@font-face {
    font-family: "Roboto Flex";
    src: url("../stack-admin/app-assets/fonts/Roboto_Flex/RobotoFlexVariable.ttf") format("truetype");
}

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../stack-admin/app-assets/fonts/IBM-Plex/IBM-Plex-Mono/IBMPlexMono-Regular.otf") format("opentype");
}

@font-face {
    font-family: "Times New Roman";
    src: url("../stack-admin/app-assets/fonts/Times New Roman/times new roman.ttf") format("truetype");
}

@font-face {
    font-family: "Big Shoulders Display";
    src: url("../stack-admin/app-assets/fonts/Big_Shoulders_Display/BigShouldersDisplay-VariableFont_wght.ttf") format("truetype");
}

@font-face {
    font-family: "Inter Tight";
    src: url("../stack-admin/app-assets/fonts/Inter_Tight/InterTight-VariableFont_wght.ttf") format("truetype");
}


/*
 Heading fonts
 */

.h1, .h2,
h1, h2 {
    font-family: "Inter Tight", sans-serif !important;
    font-weight: 1000 !important;
}

.h3, .h4,
h3, h4 {
    font-family: "Inter Tight", sans-serif !important;
    font-weight: 800 !important;
}

h5, h6, .h5, .h6 {
    font-family: "Inter Tight", sans-serif !important;
    font-weight: 400 !important;
}

.font-weight-black {
    font-weight: 800;
}

.inter {
    font-family: "Inter Tight", sans-serif !important;
}

.times {
    font-family: "Times New Roman", serif;
}

.big-shoulders-display {
    font-family: "Big Shoulders Display", serif !important;
    font-weight: 600 !important;
}

.menu-title {
    font-family: "Inter Tight", sans-serif !important;
    font-weight: 300 !important;
}

.text-pane {
    text-align: justify;
    text-justify: inter-word;
    text-align-last: start;
    /* for IE9 */
    -ms-text-align-last: start;
}

/*bootstrap override*/
b {
    font-weight: bold !important;
}

/* Audio element - Hide download */

audio::-internal-media-controls-overflow-button {
    display: none;
}

/*
 * Sidebar fonts
 */

/* Regular fonts */
.navigation {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 300;
}

/* Heading fonts */
.main-menu.menu-light .navigation .navigation-header span {
    font-family: "Roboto Flex", sans-serif !important;
    font-size: 15px;
    font-weight: 800 !important;
}

/* Fixes on bold and underline and italic, they dont have spaces */

u, b, em {
    padding-left: .25em;
    padding-right: .25em;
}

/*
 * Button Fonts
 */
input, button, textarea, body {
    font-family: "Inter Tight", sans-serif !important;
    text-rendering: optimizeLegibility;
    font-weight: 500;
}

td {
    vertical-align: middle !important;
}

table {
    overflow-y: scroll;
}

pre {
    border: solid 1px #404e67;
}

code {
    font-family: "IBM Plex Mono", monospace
}

input[readonly] {
    pointer-events: none;
    background-color: #fdfdfd;
    border: #ddd solid 2px;
}

input[type="radio"], input[type="checkbox"] {
    margin-right: 5px;
    transform: scale(1.5);
}

/*.table-hover tbody tr:hover {*/
/*    background-color: #0000ff08;*/
/*}*/

/*.table-hover tbody > tr:hover > td:nth-child(2) {*/
/*    transform: scale(1.2) translateX(2px);*/
/*    transition: .25s all;*/
/*}*/

/*.table-hover tbody > tr:hover > td:nth-child(2) > a {*/
/*    color: #ffa87d;*/
/*}*/

/* Info highlight for correct answers the user did not choose */
.info-answer {
    border: 1px solid #00b;
    background: aliceblue;
    padding: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 20px;
    line-height: 2;
}
/* Make images pretty on tests */
.reading img,
.speaking img,
.listening img,
.writing img {
    box-shadow: 1px 1px 10px;
    border-radius: 2px;
    border: 0.5px solid black;
}

.marquee-candidate {
    position: relative;
    overflow: hidden;
}

.marquee-candidate:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -15px;
    right: -15px;
    box-shadow: inset white 0px 0px 5px 18px;
}

/* Fix rendered buttons */
.btn-group > .btn:not(:last-child):not(.dropdown-toggle), .btn-group > .btn-group:not(:last-child) > .btn {
    border-radius: 0.25rem 0 0 0;
}

.btn-group > .btn:not(:first-child), .btn-group > .btn-group:not(:first-child) > .btn {
    border-radius: 0 0.25rem 0 0;
}

.btn-default {
    border: 1px solid;
}

textarea.disabled {
    pointer-events: none;
}

/* This rule is specifically here for making correct answers that are images
   be highlighted with the info class too. */
.info > img {
    border: 2px solid #2dcee3;
    filter: drop-shadow(0 0 2px #2dcee3);
}

/*
 * Fractions
 * Custom fraction CSS, since the HTML <sub> and <sup> way is hard to read.
 */

span.frac {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

span.frac > sup, span.frac > sub {
    display: block;
    position: inherit;
    font: inherit;
    padding: 0 0.3em;
    margin-left: 0.2em;
    margin-right: 0.2em;
}

span.frac > sup {
    border-bottom: 0.08em solid;
}

span.frac > span {
    display: none;
}

/*Undo some bootstrap rules */
sub, sup {
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
    bottom: unset;
}


/*
 * Add both because text-wrap is not supported in all browsers right now (Mar 2024)
 * Firefox uses white-space
 */
.no-wrap {
    text-wrap: nowrap;
    white-space: nowrap;
}

/* Zoom in class on hover */
.zoom-on-hover:hover {
    transform: scale(1.1) !important;
    transition: 0.5s all;
    pointer-events: all !important;
    z-index: 100 !important;
}

.shadow-on-hover:hover {
    box-shadow: #888 0px 0px 30px !important;
}

/*Different shadow color depending on the color of background if it exists*/
.bg-gradient-x-amber.shadow-on-hover:hover {
    box-shadow: #FFA000 0px 0px 30px !important;
}

.bg-gradient-x-purple.shadow-on-hover:hover {
    box-shadow: #9C27B0 0px 0px 30px !important;
}

.bg-gradient-x-blue.shadow-on-hover:hover {
    box-shadow: #1976D2 0px 0px 30px !important;
}

.hover-underline:hover {
    text-decoration: underline !important;
}

/*Change default click background on list group items*/
.list-group-item-action:active {
    background-color: #e3dbea;
}

@keyframes pop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* Effects */

/* MAD-RIPPLE EFFECT */
.ripple {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    -webkit-transform: translateZ(0); /* to contain zoomed ripple */
    transform: translateZ(0);
    border-radius: inherit; /* inherit from parent (rounded buttons etc) */
    pointer-events: none; /* allow user interaction */
}

.rippleWave {
    backface-visibility: hidden;
    position: absolute;
    border-radius: 50%;
    transform: scale(0.7);
    -webkit-transform: scale(0.7);
    background: rgba(255, 255, 255, 1);
    opacity: 0.45;
    animation: ripple 2s forwards;
    -webkit-animation: ripple 2s forwards;
}

@keyframes ripple {
    to {
        transform: scale(24);
        opacity: 0;
    }
}

@-webkit-keyframes ripple {
    to {
        -webkit-transform: scale(24);
        opacity: 0;
    }
}

@keyframes customFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.very-light-grey {
    color: #eee;
}

.bg-very-light-grey {
    background-color: #eee;
}

.pop {
    animation: pop 2s ease-out;
}

.animate__fastest {
    animation-duration: 250ms;
}

.animate-on-hover {
    animation-duration: 60s !important;
}

.animate-on-hover.fa-spin {
    animation: none;
}

.animating-on-hover.fa-spin {
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
}

.animate-on-hover :hover {
    animation: unset;
}

.bg-silver {
    background: silver !important;
}

.bg-gold {
    background: #D4AF37 !important;
}

.bg-bronze {
    background: #cd7f32 !important;
}

/*
.glow {
    font-size: inherit;
    color: #fff;
    text-align: center;
    /* Turns out, this animation is really expensive on CPU*/
/*animation: glow 3s ease-in-out infinite alternate;*/
/*text-shadow:*/

/*0*/
/*0*/
/*2*/
/*px #fff,*/

/*0*/
/*0*/
/*5*/
/*px #eee,*/

/*0*/
/*0*/
/*20*/
/*px #ddd,*/

/*0*/
/*0*/
/*30*/
/*px #ccc,*/

/*0*/
/*0*/
/*35*/
/*px #bbb,*/

/*0*/
/*0*/
/*40*/
/*px #aaa,*/

/*0*/
/*0*/
/*50*/
/*px #999*/

/*;*/
/*}*/
/*!**/

.gold-glow {
    text-shadow: 0 0 2px #fff, 0 0 5px #d8ff4d, 0 0 20px #65ff4d, 0 0 30px #a3ff4d, 0 0 35px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6;
}

*

/

@-webkit-keyframes glow {
    from {
        text-shadow: 0 0 2px #fff, 0 0 5px #fff, 0 0 20px #8ae600, 0 0 30px #32e600, 0 0 35px #e60073, 0 0 40px #e60073, 0 0 50px #e60073;
    }

    to {
        text-shadow: 0 0 2px #fff, 0 0 5px #d8ff4d, 0 0 20px #65ff4d, 0 0 30px #a3ff4d, 0 0 35px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6;
    }
}

.shine-silver {
    background: linear-gradient(75deg, silver 20%, #eee 30%, silver 40%);
    background-position: -200px;
    /*animation: shine 12s infinite ease-in-out;
    animation-fill-mode: forwards;

     */
    -webkit-text-size-adjust: none;
    white-space: nowrap;
}

.shine-gold {
    background: linear-gradient(75deg, #FFAA00 20%, #eee 30%, #FFAA00 40%);
    background-position: -200px;
    /*animation: shine 12s infinite ease-in-out;
    animation-fill-mode: forwards;

     */
    -webkit-text-size-adjust: none;
    white-space: nowrap
}

.shine-bronze {
    background: linear-gradient(75deg, #cd7f32 20%, #cea883 30%, #cd7f32 40%);
    background-position: -200px;
    /*animation: shine 12s infinite ease-in-out;
    animation-fill-mode: forwards;

     */
    -webkit-text-size-adjust: none;
    white-space: nowrap
}

@-webkit-keyframes shine {
    0% {
        background-position: -170px
    }
    50% {
        background-position: 470px
    }
    100% {
        background-position: -170px
    }
}

/* Highlighting - Reading Section Specific */

/* The text that is a candidate for higlighting*/
.text p span {
    padding: 0;
    background: transparent;
    background: linear-gradient(to right, #78e313 50%, transparent 50%);
    background-position: right bottom;
    background-size: 200% 100%;
    transition: all .5s ease;
}

/* When the text is indeed highlighted, pull the background so an animation plays */
.highlighted {
    animation: highlightSwipe 1s ease both;
    border-radius: 5px;
}

@-webkit-keyframes highlightSwipe {
    0% {
        background-position: right bottom;
    }
    100% {
        background-position: left bottom;
    }
}

/* For Highlight context menu on reading */
.highlight-context-menu {
    width: 200px;
    display: none;
    position: absolute;
}

.clear-highlight-button {
    display: none;
}

.highlight-context-menu .list-group-item {
    padding: 5px;
}

@media only screen and (min-width: 550px) {
    .empty-test-listing {
        width: 520px;
    }
}

@media only screen and (min-width: 400px) and (max-width: 550px) {
    .empty-test-listing {
        width: 90vw;
    }
}

/*.display-on-hover {*/
/*    display: none;*/
/*}*/
/*.display-on-hover:hover {*/
/*    display: block;*/
/*}*/

/* Zoom in class on active */
.zoom-on-active:active {
    transform: scale(1.2) !important;
}

/* Give the impression that buttons (or mock-buttons) are being pressed */
.btn-animate:active,
.btn:active {
    transition: 0.1s all ease-in-out;
    transform: scale(0.9) !important;
}

/* Give the impression that buttons (or mock-buttons) are being pressed, but slightly */
.btn-animate-slight:active {
    transition: 0.1s all ease-in-out;
    transform: scale(0.98) !important;
}

/* If button is disabled, don't do anything */
.btn-animate.disabled,
.btn-animate.disabled:active {
    transform: none;
    pointer-events: none;
    filter: opacity(0.6);
}

/*.btn-outline-danger {*/
/*    color: #ff7588 !important;*/
/*}*/

.btn-3d,
.btn-sticky {
    border-style: outset;
    box-shadow: 2px 2px 1px grey;
}

/*3d button only pushed back while clicking*/
.btn-3d:active,
.btn-sticky:active,
.btn-sticky:focus {
    user-select: none;
    transition: 0.1s all ease-in-out;
    border-style: inset;
    outline: none;
    box-shadow: none;
    transform: translate(1px, 1px) scale(0.98) !important;
}

/* Country Lists*/

#flagDiv {
    padding-right: 10px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-color: #E4E7ED !important;
}

#flag {
    transition: all 500ms linear;
    line-height: 2em !important;
    font-size: 2em;
}

/* Fixes in sidebar menu*/
body.vertical-layout.vertical-menu.menu-expanded .main-menu .navigation > li > a > i:before {
    font-size: 1.4rem;
}

body.vertical-layout.vertical-menu.menu-expanded .main-menu .navigation > li > a > i {
    margin-right: 10px !important;
    min-width: 30px;
    text-align: center;
}

body.vertical-layout.vertical-menu.menu-expanded .main-menu .navigation li.has-sub > a:not(.mm-next):after {
    top: 10px;
}

.main-menu.menu-light .navigation > li > a {
    padding: 5px 30px 5px 20px;
}

.logo-subtext {
    text-align: center;
    font-weight: 900;
    font-size: 100%;
    color: #0360a0;
    font-family: 'Open Sans', 'Roboto Flex', sans-serif !important;
}

#loginBody {
    background-size: cover;
    background-image: radial-gradient(rgba(226, 227, 234, 0.8) 1.5px, rgba(226, 227, 234, 0.9)), url("/images/login/students-with-computers.jpg")
}


.nav-item,
.menu-title {
    font-size: 1.2rem;
    vertical-align: middle;
}

.hover-click-zoom {
    transition-duration: 1s;
}

.hover-click-zoom:hover {
    transform: scale(1.05);
}

.hover-click-zoom:active {
    filter: brightness(50%);
}

/* Make border line up */
.help-text {
    border-radius: 0 0 0.25rem 0.25rem;
}

/* Crossed out text */
.crossed-out {
    text-decoration: line-through;
}

/*File Section*/

#uploadContractButton {
    transition: 1s all linear;
}

#uploadContractButton:disabled:hover,
#uploadContractButton:disabled {
    color: #666 !important;
    background-color: #00b5b8 !important;
    cursor: not-allowed;
}

#uploadContractButton:not(disabled) {
    background-color: #16d39a !important;
}

#uploadContractButton:not(disabled) hover {
    background-color: #36d0a2 !important;
}


/* Truncate text on some tables */
.truncate-td {
    max-width: 200px;
    white-space: nowrap;
    overflow: scroll;
    text-overflow: scroll;
}

/* `sm` applies to x-small devices (portrait phones, less than 576px) */
@media only screen and (max-width: 575.98px) {
    html {
        font-size: 10px;
    }

    .dropdown .dropdown-menu .dropdown-item {
        padding: 1px 4px 1px 20px;
    }
}

.table-no-hover tbody tr:hover {
    background: transparent;
}

/* `md` applies to small devices (landscape phones, less than 768px) */
@media only screen and (min-width: 576px) and (max-width: 767.98px) {
    html {
        font-size: 11px;
    }

    .dropdown .dropdown-menu .dropdown-item {
        padding: 1px 4px 1px 20px;
    }
}

/* `lg` applies to medium devices (tablets, less than 992px) */
@media only screen and  (min-width: 768px) and (max-width: 991.98px) {
    html {
        font-size: 12px;
    }

    .dropdown .dropdown-menu .dropdown-item {
        padding: 1px 4px 1px 20px;
    }
}

/* `xl` applies to large devices (desktops, less than 1200px)*/
@media only screen and (min-width: 992px) and (max-width: 1399.98px) {
    html {
        font-size: 14px;
    }
}

/* `xxl` applies to x-large devices (large desktops, less than 1400px) */
@media only screen and (min-width: 1400px) {
    html {
        font-size: 16px;
    }
}

/* Blur sidenav background */
.sidenav-overlay {
    background-color: rgba(0, 0, 0, 0.1);
}

/* For the blur to work, we need some transparency */
.main-menu.menu-light .navigation {
    background: none;
}

/* Make children of menus darker */
.main-menu.menu-light .navigation > li > ul {
    background: rgba(0, 0, 0, 0.025);
}

.Global Prep Simulations .header-navbar .navbar-header .navbar-brand .brand-text {
    padding-left: 0px
}

.Global Prep Simulations .header-navbar .navbar-header .navbar-brand .brand-text img {
    margin-top: -10px
}

/*Undo some bootstrap rules */
sub, sup {
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
    bottom: unset;
}

.header-navbar .navbar-header {
    height: 3rem;
}

.header-navbar,
.navbar-wrapper {
    min-height: 3rem;
}

/* Dont overlap menu with top navbar*/
.main-menu.menu-fixed {
    top: 3rem;
    height: calc(100% - 3rem);
}

.Global Prep Simulations .label-control {
    /*line-height: calc(2.75rem + 2px);*/
    line-height: 1.15;
    text-align: end;
    margin-bottom: 0px;
}

.blurred-backdrop-weak {
    background: rgba(255, 255, 255, 0.1) !important;
    -webkit-backdrop-filter: blur(5px); /* Add this line first, it fixes blur for Safari*/
    backdrop-filter: blur(5px);
}

.blurred-backdrop {
    background: rgba(255, 255, 255, 0.5) !important;
    -webkit-backdrop-filter: blur(5px); /* Add this line first, it fixes blur for Safari*/
    backdrop-filter: blur(5px);
}

.blurred-backdrop-strong {
    background: rgba(255, 255, 255, 0.75) !important;
    -webkit-backdrop-filter: blur(5px); /* Add this line first, it fixes blur for Safari*/
    backdrop-filter: blur(5px);
}

/** Half gradients for half completed tests */
.bg-gradient-x-purple-half {
    background-image: -webkit-linear-gradient(right, #7B1FA2 0%, #BA68C8 50%, #aaa 51%, #ddd 100%);
    background-image: linear-gradient(to right, #7B1FA2 0%, #BA68C8 50%, #aaa 51%, #ddd 100%);
    background-repeat: repeat-x;
}

.bg-gradient-x-blue-half {
    background-image: -webkit-linear-gradient(right, #1976D2 0%, #64B5F6 50%, #aaa 51%, #ddd 100%);
    background-image: linear-gradient(to right, #1976D2 0%, #64B5F6 50%, #aaa 51%, #ddd 100%);
    background-repeat: repeat-x;
}

.thumbnail-img {
    max-width: 110px;
    max-height: 150px;
}

.Global Prep Simulations .btn-outline-danger:not(:disabled):not(.disabled):active,
.Global Prep Simulations .btn-outline-danger:not(:disabled):not(.disabled).active,
.Global Prep Simulations .show > .btn-outline-danger.dropdown-toggle {
    color: #fff;
}


.truncate-left {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: rtl;
}

.truncate-right {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


#adminLoginForm {
    max-width: 500px;
}

/* Navtabs reversed */
.nav-small .nav-link {
    padding: 0.3rem 0.6rem;
    font-size: smaller;
}

.tab-reversed .tab-content {
    padding: 10px;
    border: 1px solid #ddd;
    border-bottom: 0px;
}

.tab-reversed .nav-tabs {
    border-bottom: 0px;
    border-top: 1px solid #ddd;
}

.tab-reversed.nav-tabs .nav-link {
    line-height: 20px;
    border: 1px solid #fff;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-right-radius: 5px;
    border-bottom-right-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top: none;
}

.tab-reversed.nav-tabs {
    border-bottom: 1px solid #ffffff;
}

.tab-reversed.nav-tabs .nav-link:hover {
    border: 1px solid #c0c0c0;
    border-top: none;
}

.tab-reversed.nav-tabs .nav-link:focus,
.tab-reversed.nav-tabs .nav-link.active {
    color: #555555;
    cursor: default;
    background-color: #ddd;
    border: 1px solid #c0c0c0;
    border-top: none;
}

.menuItemsEditor h4 {
    margin-block-end: auto;
}

.old-price {
    text-decoration: Line-Through
}

.card-header:first-child {
    border-radius: inherit;
}

.card {
    margin-bottom: 1.875rem;
    border: 1px solid lightgray;
    border-radius: 20px;
    box-shadow: 0 10px 40px 0 rgba(62, 57, 107, 0.07), 0 2px 9px 0 rgba(62, 57, 107, 0.06);
}

.card-title img {
    object-fit: cover;
    display: block;
    width: 100%;
    height: 100%;
}

.trash-area {
    height: 5vh
}

.nest-btn {
    margin-top: 15px;
}

.card-sm:not(.card-fullscreen) {
    max-width: 250px;
}

.card-md:not(.card-fullscreen) {
    max-width: 500px;
}

.card-lg:not(.card-fullscreen) {
    max-width: 800px;
}

.modal-backdrop.show {
    opacity: 0;
    z-index: -1;
}

.modal.left .modal-dialog {
    box-shadow: 0 10px 40px 0 rgb(62 57 107 / 40%), 0 2px 9px 0 rgb(62 57 107 / 6%);
    width: 35vw;
}

/*Media queries for modals*/

/**
 * Basic CSS Media Query Template
 * TODO: I should probably use Sass...
 * Author: Michael Vieth
 * ------------------------------------------
 *  Responsive Grid Media Queries - 1280, 1024, 768, 480
 *   1280-1024   - desktop (default grid)
 *   1024-768    - tablet landscape
 *   768-480     - tablet
 *   480-less    - phone landscape & smaller
 * --------------------------------------------
 */
@media all and (min-width: 1024px) and (max-width: 1280px) {

    .modal.left .modal-dialog {
        width: 35vw;
        max-width: 35vw;
    }

    .modal.left.larger .modal-dialog {
        width: 55vw;
        max-width: 55vw;
    }
}

@media all and (min-width: 768px) and (max-width: 1024px) {
    .modal.left .modal-dialog {
        width: 50vw;
        max-width: 50vw;
    }

    .modal.left.larger .modal-dialog {
        width: 65vw;
        max-width: 65vw;
    }

}

@media all and (min-width: 480px) and (max-width: 768px) {
    .modal.left .modal-dialog {
        width: 100vw;
        max-width: 100vw;
    }

    .modal.left.larger .modal-dialog {
        width: 100vw;
        max-width: 100vw;
    }
}

@media all and (max-width: 480px) {
    .modal.left .modal-dialog {
        width: 100vw;
        max-width: 100vw;
    }

    .modal.left.larger .modal-dialog {
        width: 100vw;
        max-width: 100vw;
    }
}


/* Portrait */
@media screen and (orientation: portrait) {
    /* Portrait styles here */
}

/* Landscape */
@media screen and (orientation: landscape) {
    /* Landscape styles here */
}


/* CSS for iPhone, iPad, and Retina Displays */

/* Non-Retina */
@media screen and (-webkit-max-device-pixel-ratio: 1) {
}

/* Retina */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
}

/* iPhone Portrait */
@media screen and (max-device-width: 480px) and (orientation: portrait) {
}

/* iPhone Landscape */
@media screen and (max-device-width: 480px) and (orientation: landscape) {
}

/* iPad Portrait */
@media screen and (min-device-width: 481px) and (orientation: portrait) {
}

/* iPad Landscape */
@media screen and (min-device-width: 481px) and (orientation: landscape) {
}


#descr-nav-tabContent .ql-editor {
    min-height: 350px;
}

.note-editor.note-frame.card {
    margin-bottom: 0px;
}

.box-icon {
    background-image: url(/images/box.jpg);
    background-size: contain;
    height: 200px;
    background-repeat: no-repeat;
    background-position-x: center;
}

.dd .dd-nodrag {
    cursor: auto;
}

.card.full_size {
    min-height: calc(100vh - 200px);
    /* Don't limit the width of the card
    max-width: 1200px;
     */
}

.icon-image img {
    max-height: 80px;
    display: block;
    margin: auto;
    padding: 1px;
    border: 1px solid #c0c0c0;
}

#product-images img {
    max-height: 15vw;
    max-width: 15vw;
    display: block;
    margin: auto;
    padding: 5px;
    width: auto;
    height: auto;
}

#product-images .helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

#product-images .box-shadow {
    margin-top: 20px;
    height: 20vw;
    width: 20vw;
    display: flex;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

#product-images .ribbon {
    margin-top: -12px;
    margin-left: 10vw;
}

#photoEditorModal .modal-footer {
    border-top: 0px;
}

.box-shadow {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    max-width: fit-content;
}

.readonly li {
    pointer-events: none;
    opacity: 0.8;
}


.brands-list .brandImage {
    display: block;
    float: left;
    margin-right: 10px;
}

.brands-list .brandImage,
.brands-list .brandImage > img {
    width: 140px;
    height: 55px;
    object-fit: cover;
}


.category-container .dd-handle, .category-container .dd-content {
    min-height: 45px;
    padding-left: 80px;
}

.categoryImage {
    display: block;
    float: left;
    margin-left: 25px;
    margin-top: 15px;
}

.categoryImage,
.categoryImage > img {
    width: 38px;
    height: 22px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 5px;
}


.btn-more-wide {
    padding-right: 17px;
    padding-left: 17px;
}

.category-container {
    max-width: 640px;
}


/* Modal Scroll Important part */
.modal-dialog {
    overflow-y: initial !important
}

.modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}


/*Sortable tables*/

table.sortable th {
    font-weight: bold;
    position: relative;
}

table.sortable th.no-sort {
    padding-top: 0.35em;
}

table.sortable th:nth-child(5) {
    width: 10em;
}

table.sortable th button {
    position: absolute;
    padding: 4px;
    margin: 1px;
    font-size: 100%;
    font-weight: bold;
    background: transparent;
    border: none;
    display: inline;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    width: 90%;
    text-align: left;
    outline: none;
    cursor: pointer;
    line-height: initial;
    word-spacing: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

table.sortable th button span {
    position: absolute;
    right: 4px;
}

table.sortable th[aria-sort="descending"] span::after {
    content: "▼";
    color: currentColor;
    font-size: 100%;
    top: 0;
}

table.sortable th[aria-sort="ascending"] span::after {
    content: "▲";
    color: currentColor;
    font-size: 100%;
    top: 0;
}

table.show-unsorted-icon th:not([aria-sort]) button span::after {
    content: "♢";
    color: currentColor;
    font-size: 100%;
    position: relative;
    top: -3px;
    left: -4px;
}


table.sortable th button:focus,
table.sortable th button:hover {
    padding: 2px;
    background-color: #e5f4ff;
}

table.sortable th button:focus span,
table.sortable th button:hover span {
    right: 2px;
}

table.sortable th:not([aria-sort]) button:focus span::after,
table.sortable th:not([aria-sort]) button:hover span::after {
    content: "▼";
    color: currentColor;
    font-size: 100%;
    top: 0;
}

.table.sortable th, .table.sortable td {
    padding: 0.75rem 0.5rem;
}

/*
.app-content .form-control {
    height: calc(2.75rem + 4px);
}

 */

.d-none {
    display: none !important;
}

.draggable-readonly,
.draggable {
    background-color: lightblue;
    border-radius: 25px;
    padding: 10px;
    margin-top: 20px;
    cursor: grab;
    min-width: 100px;
    line-height: 3;
    user-select: none;
}

.draggable-readonly {
    opacity: 0.7;
    pointer-events: none;
}

.droppable {
    padding: 5px;
    border-radius: 25px;
    user-select: none;
}

.droppable-hovered {
    background-color: #eee !important;
}

.droppable-active {
    background-color: #fff;
    border: #fff;
    color: #fff;
}

input.droppable-hovered {
    border: 3px blue solid;
}

.draggable:active {
    cursor: grabbing;
}

.hover-white:hover {
    background-color: white;
    color: black;
}

.click-gray:active {
    background-color: gray;
    color: white;
}

.sweet_loader {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-name: ro;
    transform-origin: 50% 50%;
    transform: rotate(0) translate(0, 0);
}

@keyframes ro {
    100% {
        transform: rotate(-360deg) translate(0, 0);
    }
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.post-it {
    width: 100%;
    font-size: 12px;
    max-width: 750px;
    height: 100%;
    position: relative;
    background: #ffc;
    overflow: hidden;
    border: 0.25px solid black;
    margin: 30px auto;
    padding: 20px;
    border-radius: 0 0 0 30px/30px;
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.2),
    0 11px 14px -5px rgba(0, 0, 0, 0.2);
    line-height: 1.7em;
    color: #130d6b;
}

.post-it:before {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 25px;
    background: #ffa;
    box-shadow: 3px -2px 10px rgba(0, 0, 0, 0.2),
    inset 15px -15px 15px rgba(0, 0, 0, 0.3);
    left: 0;
    bottom: 0;
    z-index: 2;
    transform: skewX(25deg);
}

.post-it:after {
    content: "";
    display: block;
    position: absolute;
    width: 75%;
    height: 20px;
    border-radius: 50%;
    bottom: 0px;
    left: 10%;
}

/*sticky header footer
https://jsfiddle.net/ue5j6zkb/
*/

.card-body table thead {
    z-index: 999;
    background-color: white;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

/*.card-body table thead th {*/
/*    line-height: 32px;*/
/*}*/

.card-body table thead {
    inset-block-start: 0px; /* "top" */
}

.sticky_bottom {
    inset-block-end: 0; /* "bottom" */
    z-index: 999;
    background-color: white;
    position: -webkit-sticky;
    position: sticky !important;
    bootom: 0;
}

.Global Prep Simulations .content.app-content {
    overflow-x: unset;
}

/*.table {*/
/*    table-layout: fixed;*/
/*    display: block;*/
/*    border-collapse: collapse;*/
/*}*/

#bottom-bar {
    position: sticky;
    bottom: 0;
    z-index: 999;
    background-color: white;
    padding-top: 10px;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

.Global Prep Simulations .dropdown-item.disabled, .dropdown-item:disabled {
    color: #ccc;
}

/*image hover*/

.hover-effect .container {
    position: relative;
    width: 50%;
}

.hover-effect .image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.hover-effect .middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.hover-effect .container:hover .image {
    opacity: 0.65;
}

.hover-effect .container:hover .middle {
    opacity: 1;
}

.hover-effect .text {
    background-color: #04AA6D;
    color: black;
    font-size: 8px;
    padding: 3px 6px;
    opacity: 0.6;
    border-radius: 6px;
}

/* For Drag And Drop css */
/* --------------------- */
.draggable-cards .card {
    cursor: -webkit-grab;
    cursor: grab;
}

.draggable-cards .card {
    box-shadow: 0 10px 40px 0 rgb(62 57 107 / 7%), 0 2px 9px 0 rgb(62 57 107 / 6%) !important;
}

.draggable-cards .container {
    display: table-cell;
}

.draggable-cards .container.left {
    width: 20%;
}

.draggable-cards .container.right {
    width: 80%;
}

.draggable-cards .tab-pane:not(.active) {
    display: none;
    visibility: hidden;
}

.wrappable {
    white-space: normal;
}

#basic-list-group .list-group-item, #multiple-list-group-a .list-group-item, #multiple-list-group-b .list-group-item {
    cursor: -webkit-grab;
    cursor: grab;
}

#clone-lists .chip {
    cursor: -webkit-grab;
    cursor: grab;
}

.size-slider {
    min-width: 60px;
    /*max-width:200px;*/
    font-size: 0.8em;
}


/*resizable panel*/
.layout {
    width: 100vw;
}

#Layout_editor .dropzone .dz-preview .dz-image img {
    object-fit: cover;
    width: 120px;
    height: 120px;

}

.card.notVisible .card-header,
.card.notVisible .card-content {
    background-color: #f1f2f4;
    opacity: 0.7;
}

.resizable::after {
    content: '';
    background-color: #ccc;
    position: absolute;
    right: 0px;
    width: 4px;
    height: 100%;
    cursor: ew-resize;
    top: 0px;
}

/*.side-by-side.empty::before{*/
/*    display: inline-block;*/
/*    content: "\00d7";*/
/*    margin-left: -8px;*/
/*    margin-top: -15px;*/
/*}*/

.menu-container .buttons-menu {
    margin: .3125rem 0;
}

.resizable .label-control {
    font-size: 0.8em
}

.resizable .components .label-control {
    font-size: 1em
}

.resizable .modal-body .label-control {
    font-size: 1em
}

.resizable .dropzone .dz-message {
    font-size: 1rem;
}

.font-smaller {
    font-size: 0.8em !important;
}

.font-smallest {
    font-size: 0.5em !important;
}

/* Stop typeahead from interfering with bootstrap input groups. */
.input-group > .twitter-typeahead {
    flex: 1 1 auto;
    width: auto;
}

/* Change accent color of tabs */
.nav.nav-tabs.nav-top-border .nav-item a {
    color: #98a4b8 !important;
}

.nav.nav-tabs.nav-top-border .nav-item a.nav-link.active {
    border-top: 3px solid #98a4b8;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    color: #555 !important;
}

/* form-input cover whole line when overflowing (this needs 100%) */
.input-group > .twitter-typeahead > .form-control {
    height: 100%;
}

/* form-input cover whole line when overflowing */
.input-group > .form-control, .input-group > .form-control-plaintext,
.input-group > .custom-select, .input-group > .custom-file {
    height: unset;
}

#emptyModal > .modal-dialog {
    width: 55vw;
    max-width: 75vw;
}

#emptyModal > .modal-dialog > .modal-content {
    border-top-left-radius: calc(0.27rem - 1px);
}

#emptyModal > .modal-dialog > .modal-content > .modal-header {
    border-top-right-radius: 0;
}

#invoicesTable tbody td {
    position: relative;
    z-index: 1;
}

#deleteBtn {
    position: relative;
    z-index: 2;
}

.main-menu-content {
    background: linear-gradient(90deg, #f0f0f0, white);
}


/*** <--- CIRCLE STYLES ---> ***/
.circle {
    position: relative;
    width: 2em;
    height: 2em;
    margin: 0.5rem;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
}

/*Override this for reading*/
.reading .circle {
    color: #fff;
    position: relative;
    padding: 3px 8px 3px 8px;
    text-shadow: 1px 1px 1px #000;
    margin: 0.5rem;
    border-radius: 50%;
    font-weight: 900;
    background: #2196F3;
    border: 1px solid black;
    overflow: hidden;
}

.circle.per-0 {
    background-image: conic-gradient(#1976D2 0%, #ddd 0);
}

.circle.per-25 {
    background-image: conic-gradient(#1976D2 25%, #ddd 0);
}

.circle.per-50 {
    background-image: conic-gradient(#1976D2 50%, #ddd 0);
}

.circle.per-75 {
    background-image: conic-gradient(#1976D2 75%, #ddd 0);
}

.circle.per-100,
.circle.per-99 {
    background-image: conic-gradient(#FFA000 100%, #fff 0);
}

.circle .inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: .5em;
    height: .5em;
    background: white;
    border-radius: 50%;
    font-size: 1.85em;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: unset;
        margin: 1.75rem auto;
    }
}

@media (max-width: 991.98px) {
    .card.resizable .heading-elements .list-inline {
        display: block;
    }

}

@media (min-width: 768px) {
    .container, .container-sm, .container-md {
        max-width: 100vw;
    }
}
