/* BACKGROUND GENERAL */

.background-site {
    background-image: url('../img/ola_escritorio.svg');
    background-repeat: no-repeat;
    background-size: cover;
}

#ranking.background-site {
    background-image: url('../img/ola_escritorio.svg');
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 991px) {
    .title {
        margin: 0 auto;
    }
    .background-site {
        background-image: url('../img/ola_movil.svg');
        background-repeat: no-repeat;
        background-size: cover;
    }
    #ranking.background-site {
        background-image: url('../img/ola_movil.svg');
        background-repeat: no-repeat;
        background-size: cover;
    }
}

a {
    color: #ED1C2E;
}

footer p,
footer a {
    color: #575756;
}

footer a:hover,
a:hover {
    color: #ED1C2E;
}

.btn-color,
.btn-color:focus,
.btn-color:active,
.btn-admin {
    background-color: #ED1C2E !important;
    color: #fff !important;
}

.btn-outline-color,
.btn-outline-color:active,
.btn-outline-color:focus {
    border: 1px solid #231F20 !important;
    color: #231F20;
}

.btn-outline-color:hover {
    background-color: #231F20;
    color: white;
}

.text-welcome {
    font-weight: 500;
    font-size: 1.3rem;
}

.text-lucky {
    font-size: 1.5rem;
}

.text-black {
    color: #575756;
}

.text-red {
    color: #ED1C2E;
}

.text-orange {
    color: #ED1C2E !important;
}

.nota {
    font-family: Baloo;
}

#consumo {
    font-weight: bold;
}

.list-group ol {
    list-style: none;
    counter-reset: list;
}

.list-group ol li:before {
    counter-increment: list;
    content: counter(list, lower-alpha);
    color: white;
    background-color: #ED1C2E;
    border-radius: 25px;
    padding: 1.2px 8px;
    text-align: center;
    margin-right: 3px;
}

.form-check {
    display: flex;
    background: #c6c6c6;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    margin-bottom: .5rem;
    padding-left: 0;
    border-radius: 20px;
}

.form-check label {
    margin-bottom: 0 !important;
    margin-left: 10px;
    display: block;
    width: 100%;
    height: 100%;
}

.list-group-item {
    padding: 0.5rem 1.25rem !important;
}

.list-group-item.active {
    z-index: 2;
    color: #fff !important;
    background-color: #231F20 !important;
    border-color: #231F20 !important;
}

.bg-color,
.bg-quiz1 {
    color: #fff !important;
    background-color: #231F20 !important;
    border-color: #231F20 !important;
}

.bg-color h5 {
    color: #fff !important;
}


/*** QUESTION ***/

.background-survey-1 {
    *background: url('../img/energia.png');
}

.floatBackground-1 {
    position: absolute;
    top: 35%;
    z-index: -10;
    right: 2%;
    width: 51%;
}

.floatBackground-2 {
    position: absolute;
    top: 30%;
    z-index: -10;
    right: 2%;
    width: 32%;
}

.floatBackground-3 {
    position: absolute;
    top: 30%;
    z-index: -10;
    right: 2%;
    width: 35%;
}

.floatBackground-4 {
    position: absolute;
    top: 30%;
    z-index: -10;
    right: 2%;
    width: 35%;
}

.floatBackground-5 {
    position: absolute;
    top: 30%;
    z-index: -10;
    right: 2%;
    width: 35%;
}

.floatLogo {
    position: absolute;
    top: 7%;
    z-index: -10;
    right: 0%;
    width: 30%;
}

.background-question {
    border-radius: 20px;
}

.background-question-top {
    border-radius: 20px 20px 0px 0px;
}

.background-question-bottom {
    border-radius: 0px 0px 20px 20px;
}

.card-body {
    padding: 10px 10px 0px 10px;
}

[id^='pregunta-'] h5,
.pregunta h5 {
    font-size: 1rem !important;
}

select::after {
    right: 11px;
}

#button-box {
    padding: 0px 10px 10px 10px;
}

.background-loader {
    background-color: #c6c6c6;
    color: #575756;
    z-index: 1000;
}

[id^='explicacion-'] {
    visibility: hidden;
    opacity: 0;
    height: 0;
    transition: visibility 0s, height 0s, opacity 0.5s linear;
    padding: 5px 10px;
    border-radius: 5px;
    background: #ffffff7a;
}

[id^='explicacion-'].active {
    visibility: visible;
    opacity: 1;
    height: auto;
}

.swal-modal {
    padding: 5px 10px;
    text-align: left !important;
}

.swal-title {
    margin: 0 !important;
}

.swal-text:first-child {
    margin: 30px 30px 0px;
}

.swal-footer {
    text-align: center;
}

.swal-footer {
    text-align: center;
}

.swal-button {
    background-color: #231F20 !important;
    background: #231F20 !important;
    color: #FFF !important;
    opacity: 1 !important;
    box-shadow: 0 8px 6px -6px rgba(0, 0, 0, .3);
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1;
    padding: 14px 28px;
    border-radius: 25px;
}

.swal-button:focus {
    outline: none;
    box-shadow: none !important;
}

#porcentaje-info {
    font-size: 1.5rem !important;
}


/********** RANGE *********/

.range-wrap {
    position: relative;
    margin: 0 auto 3rem;
    padding-top: 2rem;
}

.range {
    width: 100%;
}

.bubble {
    background: #ED1C2E;
    color: white;
    padding: 4px 12px;
    position: absolute;
    border-radius: 4px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.bubble::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 3px;
    background: #ED1C2E;
    top: 31px;
    left: 50%;
}


/* [id^='explicacion-'] {
    position: relative;
    width: 100%;
    min-height: 280px;
    height: auto;
    transition: 1s;
    overflow: hidden;
}

[id^='explicacion-'] p {
    position: absolute;
    left: -500px;
    width: 100%;
    height: auto;
    transition: 1s;
    padding: 5px 10px;
    border-radius: 5px;
    background: #ffffff7a;
}

[id^='explicacion-'].active p {
    transition: 1s;
    left: 0;
}
 */


/*** estadisticas ***/

.pregunta-estadistica {
    font-size: 15px;
}


/******************MENU**********************/


/* Quita el caret por defecto del dropdown-toggle */

.user-toggle.dropdown-toggle::after {
    display: none !important;
}


/* Flecha */

.user-caret {
    transition: transform .2s ease;
    font-size: 14px;
    line-height: 1;
}


/* Cuando está abierto, girar flecha */

.nav-item.dropdown.show .user-caret {
    transform: rotate(180deg);
}