:root {
    --global-palette1: #E54F13;
    --global-palette2: #A63917;
    --global-palette3: #222222;
    --global-palette4: #3B3B3B;
    --global-palette5: #515151;
    --global-palette6: #626262;
    --global-palette7: #E1E1E1;
    --global-palette8: #F7F7F7;
    --global-palette9: #FFFFFF;

    --e-global-color-primary: #6EC1E4;
    --e-global-color-secondary: #54595F;
    --e-global-color-text: #7A7A7A;
    --e-global-color-accent: #61CE70;

    --e-global-color-orange: #F28F09;
    --e-global-color-a614b4e: #87B628;
    --e-global-color-d53d6f7: #459235;
    --e-global-color-69e015f: #1476BB;
    --e-global-color-73d40eb: #E5311C;
    --e-global-color-7b7db98: #A05199;
    --e-global-color-darkorange: #ED711C;
    --e-global-color-362b123: #5DB13C;
    --e-global-color-b5f7725: #228135;
    --e-global-color-f3c99b5: #1463AD;
    --e-global-color-a242a13: #E42629;
    --e-global-color-48df213: #724594;
}

img {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    height: auto !important;
}
#image {
    max-height: 100px;
    width: auto !important;
}
.text-black {
    color: #000 !important;
}
a {
    text-decoration: none;
}
.content {
    width: 100%;
}
.invisible {
    position: absolute !important;
}
.input-group-text {
    display: flex !important;
}
iframe {
    width: 100% !important;
}
.page-link {
    width: 2.6em;
    height: 2.3em;
    padding: 0.2rem 0.5rem !important;
    text-align: center;
}
.page-item:last-child .page-link {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.page-item:nth-child(6):last-child .page-link {
    border-top-right-radius: .25rem !important;
    border-bottom-right-radius: .25rem !important;
}
.page-item:not(:first-child) .page-link {
    margin-left: auto !important;
}

.page-item.success > a.page-link:hover,
.page-item.success > a.page-link:focus {
    box-shadow: 0px 0px 0.5em 1px #59b300 !important;
}
.page-item.during > a.page-link:hover,
.page-item.during > a.page-link:focus {
    box-shadow: 0px 0px 0.5em 1px #ca8402 !important;
}
.page-item.mistake > a.page-link:hover,
.page-item.mistake > a.page-link:focus {
    box-shadow: 0px 0px 0.5em 1px #dc3545 !important;
}

.sidebar-game-title {
    transition: all 0.5s;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 0.5rem;
}
.game-title {
    border-radius: 0.5rem;
}
.sidebar-game-title:hover {
    transform: scale(0.98);
    transition: all 0.5s;
    cursor: pointer;
}
a.game-title {
    color: #fff;
}
a.game-title:hover {
    color: #f5f5f5;
}
.w-90 {
    width: 90% !important;
}
.w-20 {
    width: 20% !important;
}
.w-15 {
    width: 15% !important;
}
.w-5 {
    width: 5% !important;
}


div#canvas canvas {
    max-width: 100% !important;
    width: 100%;
}
.card-body.task {
    min-height: 230px;
}
.fa, .fas {
    display: inline;
}
.input-group-text {
    width: 40px;
    flex-direction: column-reverse;
}
.hover:hover {
    transform: scale(0.98);
    transition: transform 0.6s;
}
.hover {
    transition: transform 0.6s;
}
.stats-icon.yellow {
    background-color: #fce460;
}
.stats-icon.gray {
    background-color: #c0c0c0;
}
#leaderboard {
    margin-top: 0.5rem;
}
.bronze {
    color: #b4681d;
}
.gold {
    color: #c9b037;
}
.silver {
    color: #b4b4b4;
}
.sidebar-wrapper .menu .submenu .submenu-item a {
    color: #000;
}
.img-banner {
    width: 50%;
}

.game-disabled {
    color: #FF0D0D;
}
.game-active {
    color: #69B34C;
}
.game-during {
    color: #FF8E15;
}

canvas {
    display: block;
    margin-right: auto !important;
    margin-left: auto !important;
    width: 100%;
}

.qrCode {
    cursor: pointer;
}

.card-stats {
    min-height: 130px;
}

.btn-icon {
    width: 2.1rem;
}

div#qrcode-reader > video {
    width:88% !important;
}

.choices__input {
    margin-bottom: auto !important;
}
.choices__item {
    word-break: break-word;
}

.bg-img {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.image-progress {
    object-position: center;
    object-fit: cover;
}

.min-vh-50 {
    min-height: 50vh !important;
}


.img-preview {
    max-height: 100px;
    width: auto !important;
}

@media screen and (max-width: 991.98px) {
    .min-height {
        min-height: 75vh !important;
    }
}

@media screen and (min-width: 1000.98px) {
    .min-height {
        min-height: 85vh !important;
    }
}

.grid {
    display: inline-grid;
    grid-template-rows: repeat(3, auto);
    grid-template-columns: repeat(4, calc(100%/4));
}
  
.grid .image-section {
    aspect-ratio: 1.235294117647059;
    position: relative;
}
  
.grid .image-section img {
    border: 1px solid white;
    width: 100%;
    aspect-ratio: 1.235294117647059;
}
  
.grid .image-section .numeros {
    display: none;
    position: absolute;
    padding: 5px;
    font-size: 2rem;
    color: #fff;
    background-color: rgba(0,0,0,0.3);
    border-radius: 0 0 10px 0;
}
  