/* Works on Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.336);
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 7px;
}


*::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.336);
    border-radius: 7px;
}

html {
    height: 100%;
}

body {
    height: 100%;
}


.alert-budy {
    float: left;
    top: 45%;
    position: fixed;
    margin: 4%;
    width: 92%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #ccfdfff3;
    border-width: 4px;
    border-color: #0dcaf0;
    border-radius: 30px;
    -webkit-box-shadow: 0px 0px 63px 24px rgba(0, 0, 0, 0.53);
    box-shadow: 0px 0px 63px 24px rgba(0, 0, 0, 0.53);
}

.alert-budy.success {
    border-color: #18cc07;
}

.alert-budy.danger {
    border-color: #cc0707;
}

.alert-budy-icon {
    height: 50px;
}

.alert-budy-img {
    height: 170px;
}

.loading {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0dcaf0;
}

.btn-budy {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0dcaf0;
    --bs-btn-hover-color: #0dcaf0;
    --bs-btn-hover-bg: #ffffff00;
    --bs-btn-hover-border-color: #0dcaf0;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0dcaf0;
    /* --bs-btn-active-border-color: #0a53be; */
    --bs-btn-active-shadow: inset 0 3px 5pxrgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: rgba(255, 255, 255, 0);
}

.btn.btn-budy {
    --bs-btn-border-width: 2px !important;
}

.btn.btn-budy:hover {
    --bs-btn-border-width: 2px !important;
    --bs-btn-border-color: #087a58;
}

.btn.btn-budy>a.budy-a {
    text-decoration: none !important;
}

/***********************
Vista de Groups
*************************/
.container-groups {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card-groups {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    -webkit-box-shadow: 1px 4px 9px 0px rgba(0, 0, 0, 0.65);
    box-shadow: 1px 4px 9px 0px rgba(0, 0, 0, 0.65);
    border-radius: 6px;
    margin: 10px;
    padding: 5px;
    width: 330px;
    height: 90px;
    background: #cfd0ce;
}

.card-groups-text {
    width: 238px;
}

.card-groups-img {
    height: 30px;
    width: 30px;
}

.card-groups-buttons {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
    color: rgb(11, 72, 133);
}

.card-groups-button {
    cursor: pointer;
    height: 30px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.card-groups-button>svg {
    height: 20px;
    width: 20px;
}


/***********************
Vistas de Group
*************************/
/****** NAV ******/
.navbar-row {
    z-index: 100;
    width: 100%;
    height: 45px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.navbar-row>button {
    height: 45px;
    margin-right: 5px;
}

.navbar-row>div {
    width: 100%;
    height: 45px;
    display: flex;
}

.navbar-item1 {
    height: 45px;
    float: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.navbar-item1>a {
    text-decoration: none;
    margin-left: 10px;
}

.navbar-item2 {
    height: 45px;
    float: left;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-a {
    text-decoration: none;
    color: white;
}

.navbar-a:hover {
    text-decoration: none;
    color: white;
}

.navbar-item2-button {
    margin: 5px;
}

/* Random Users */
.random-students {
    cursor: none;
    text-align: center;
    position: absolute;
    width: auto;
    height: 400px;
    background-color: rgb(218, 218, 218);
    left: 10%;
    right: 10%;
    bottom: 30%;
    z-index: 100;
    padding: 20px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}





/* contenedor de puntos */
div.content_point {
    padding: 0px;
    position: relative;
    text-align: center;
    width: 130px;
    height: 130px;
    border-bottom: 3px solid #9a9a9a;
    border-radius: 8%;
    margin: 10px;
    cursor: pointer;
    flex-direction: column;
    display: flex;
    justify-items: center;
    align-items: center;
}

div.content_point.positive {
    background-color: rgba(216, 241, 205, 0.788);
}

div.content_point.negative {
    background-color: rgba(232, 175, 175, 0.548);
}

div.content_point.plus {
    padding-top: 20px;
    background-color: rgba(225, 225, 225, 0.635);
}

div.content_point>div.img_point {
    text-align: center;
    padding: 3px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    align-content: space-around;
    justify-content: center;
}

div.content_point>div.img_point>img {
    padding: 5px;
    width: auto;
    height: 60px;
    position: relative;
    bottom: 0;
}

div.content_point>.title_point {
    text-align: center;
    /*margin-top: 10px;
    padding-top: 5px;*/
    padding-left: 10px;
    padding-right: 10px;
    font-size: 11pt;
    line-height: 12pt;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    align-content: space-around;
    justify-content: center;
}

div.content_point>.title_point>p {
    text-align: center;
}

.content_point>.button_point>h1 {
    width: 100%;
    font-size: 16pt;
    position: absolute;
    bottom: -5px;
    text-align: center;
    left: 0;
}

/* Puntos rewards */
.content_point.bg-rewards {
    color: black;
    background-color: rgba(197, 195, 195, 0.664);
}

.points-rewards-button {
    border: 3px solid rgb(151, 108, 14);
    border-radius: 100%;
    background: #FFDD31;
    background: -moz-linear-gradient(left, #d4b82f 0%, #E5B32A 58%, #D3BC2D 100%);
    background: -webkit-linear-gradient(left, #d4b82f 0%, #E5B32A 58%, #D3BC2D 100%);
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.50) 0px 2px 5px 0px;
    color: white;
    font-size: 1.2rem;
    height: 50px;
    width: 50px;
    padding-top: 0.7rem;
}


/**/
.content_card {
    display: flex;
    position: relative;
    cursor: pointer;
    width: auto;
    margin: 5px;
    text-align: center;
    align-items: flex-end;
}

.content_card>.number_card_clones {
    width: 30px;
    height: 30px;
    position: absolute;
    text-align: center;
    bottom: 4px;
    right: 16px;
    z-index: 2;
}

.number_card_clones>span {
    color: white;
}



.content_card>.number_card_costofpoints {
    /*border: 2px solid rgb(151, 108, 14);*/
    border-radius: 100%;
    /*background: #FFDD31;*/
    background-color: white;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    text-align: center;
    bottom: 37px;
    left: 35px;
    z-index: 2;
}

.number_card_costofpoints>span {
    color: black;
}


.content_card>.img_card {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0px 3px 6px 3px rgba(0, 0, 0, 0.39);
    box-shadow: 0px 3px 6px 3px rgba(0, 0, 0, 0.39);
    margin-top: 10px;
    padding: 5px;
    width: auto;
    z-index: 0;
}

@media (min-width:0px) {
    .img_card {
        height: 200px;
    }
}

@media (min-width:641px) {
    .img_card {
        height: 250px;
    }
}


.center_elements {
    display: flex;
    align-content: center;
    justify-content: center;
}

ul.list_images {
    margin-top: 10px;
}

ul.list_images>li {
    cursor: pointer;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid transparent;
}

ul.list_images>li.assigned.selected {
    border: 2px solid rgb(165, 11, 11);
}

ul.list_images>li.selected {
    -webkit-border-radius: 8px;
    border-radius: 8px;
    border: 2px solid #1A679A;
}

ul.list_images>li>img {
    max-width: 60px;
    height: 60px;
}

ul.list_images>li.assigned>img {
    opacity: 30%;
}

.select_icon_event_score>img {
    padding: 3px;
    width: 60px;
    height: 60px;
}


.img-profile-group {
    text-align: center;
}

.img-profile-group>img {
    cursor: pointer;
}

/* Lista de recuento de puntos de todo */
.list-recount {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-end;
    padding: 0;
    height: auto;
}

.list-recount>li {
    margin: 0;
    padding: 0;
}

/* Recuento de bitspoints */
.recount-points {
    border: 3px solid rgb(151, 108, 14);
    border-radius: 100%;
    background: #FFDD31;
    background: -moz-linear-gradient(left, #d4b82f 0%, #E5B32A 58%, #D3BC2D 100%);
    background: -webkit-linear-gradient(left, #d4b82f 0%, #E5B32A 58%, #D3BC2D 100%);
    text-align: center;
    padding-top: 0.9rem;
    box-shadow: rgba(0, 0, 0, 0.50) 0px 2px 5px 0px;
    color: white;
    /*font-size: 20pt !important;*/
    width: 3.7rem;
    height: 3.7rem;
    font-size: 1.4rem;
}

.sumary-points {
    text-align: center;
    width: 60px;
    height: 60px;
}

/*CÓDIGO para los puntos de nivel*/
@media (min-width:0px) {

    /* smartphones, iPhone, portrait 480x320 phones */
    .level-shield {
        text-align: center;
        margin-bottom: 10px;
        padding: 0;
        width: 60px;
        height: 60px;
    }

    .level-shield>h3 {
        font-size: 1.8rem;
        color: white;
        z-index: 1;
        position: relative;
        top: 11px;
    }

    .level-shield>img {
        z-index: 0;
        position: relative;
        height: 60px;
        top: -40px;
    }

    /* Foto de perfil seleccionado */
    .img-profile-group>img {
        margin: 5px;
        width: 200px;
        height: auto;
    }

    .size481 {
        display: none;
    }

    .navbar-nav-central {
        background-color: #f8f9fa;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
    }
}

@media (min-width:481px) {

    /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
    .size481 {
        display: block;
    }

    .navbar-nav-central {
        display: block;
    }
}

@media (min-width:641px) {

    /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
    .level-shield {
        position: relative;
        margin-bottom: -30px;
        padding: 0;
        top: -70px;
        width: 100px;
        height: 100px;
    }

    .level-shield>h3 {
        font-size: 3rem;
        color: white;
        z-index: 1;
        position: relative;
        top: 42px;
    }

    .level-shield>img {
        z-index: 0;
        position: relative;
        height: 100px;
        top: -40px;
    }

    /* Foto de perfil seleccionado */
    .img-profile-group>img {
        margin: 5px;
        width: 170px;
        height: auto;
    }
}

@media (min-width:961px) {
    /* tablet, landscape iPad, lo-res laptops ands desktops */
}

@media (min-width:1025px) {
    /* big landscape tablets, laptops, and desktops */
}

@media (min-width:1281px) {
    /* hi-res laptops and desktops */
}

/* Recuento rol de usuario */
.sumary-role {
    text-align: center;
    background: #25A41C;
    background: -moz-linear-gradient(top, #25A41C 0%, #9ACB62 55%, #FFFFFF 100%);
    background: -webkit-linear-gradient(top, #25A41C 0%, #9ACB62 55%, #FFFFFF 100%);
    background: linear-gradient(to bottom, #25A41C 0%, #9ACB62 55%, #FFFFFF 100%);
    border-radius: 100%;
    width: 3.7rem;
    height: 3.7rem;
    cursor: pointer;
}

.sumary-role>img {
    height: 60px;
    padding: 0;
}

/* Recuento habilidades de usuario */
.sumary-skills {
    text-align: center;
    background: #e0d5ec;
    background: -moz-linear-gradient(top, #caaaee 0%, #e0d5ec 55%, #FFFFFF 100%);
    background: -webkit-linear-gradient(top, #caaaee 0%, #e0d5ec 55%, #FFFFFF 100%);
    background: linear-gradient(to bottom, #caaaee 0%, #e0d5ec 55%, #FFFFFF 100%);
    border-radius: 100%;
    width: 3.7rem;
    height: 3.7rem;
    cursor: pointer;
}

.sumary-skills>img {
    height: 60px;
    padding: 0;
}

/* Recuento de pepitas de oro*/

.sumary-rewards {
    text-align: center;
    margin: 0;
    padding: 0;
    width: 60px;
    height: 60px;
    display: flex;
    justify-items: center;
    align-items: center;
}

.sumary-rewards>h3 {
    color: white !important;
    text-shadow: 0px 0px 6px #000000;
    font-size: 1.5rem;
    color: rgb(83, 67, 36);
    z-index: 1;
    position: relative;
    left: 20px;
}

.sumary-rewards>img {
    z-index: 0;
    position: relative;
    width: 60px;
    max-height: 60px;
    left: -15px;
    /*top: -40px;*/
}


/* Modificar acordeon de la plantilla*/
.accordion {
    --bs-accordion-color: black;
    --bs-accordion-bg: rgb(190, 190, 190);
    --bs-accordion-btn-color: white;
    --bs-accordion-btn-bg: rgb(137, 137, 137);
    --bs-accordion-btn-focus-border-color: white;
    --bs-accordion-active-color: white;
    --bs-accordion-active-bg: rgb(137, 137, 137);
}


.buttoms-foot {
    clear: both;
    position: fixed;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    bottom: 0;
    height: 45px;
    width: 100%;
    z-index: 100;
}


/* Vista del grupo*/
.gamers-content {
    text-align: center;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.gamer-button.out .gamer-photo {
    opacity: 0%;
}

.gamer-button.out .gamer-box {
    opacity: 90%;
}

.gamer-button.out .gamer-bg {
    opacity: 20%;
}

.gamer-button.out div .gamer-circle {
    opacity: 20%;
}

.bg_green {
    background-color: rgb(1, 162, 1);
}

.bg_red {
    background-color: rgb(187, 19, 19);
}

.bg_gray {
    background-color: rgb(216, 216, 216);
}

.bg_purple {
    background-color: rgb(255, 186, 241) !important;
}

.bg_blue {
    background-color: rgb(173, 206, 255) !important;
}

.gamer-circle-select.selected {
    background-color: rgb(1, 162, 1) !important;
}

.gamer-circle-absence.absent {
    background-color: rgb(162, 1, 1) !important;
}

.gamer-circle-absence.out {
    background-color: rgb(19, 109, 253) !important;
}

.gamer-circle-absence.prison {
    background-color: rgb(0, 0, 0) !important;
}


/*CÓDIGO para los puntos de nivel*/
@media (max-width:480px) {

    /* smartphones, iPhone, portrait 480x320 phones */


    .gamers-content>ul {
        padding: 0px;
        border: none;
        list-style: none;
        margin: 3px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    li {
        zoom: 100% !important;
    }

    .gamer-button {
        border-width: 0;
        border: none;
        margin: 2px;
        padding: 0px;
        cursor: pointer;
        height: 100px;
        width: 80px;
        background-color: transparent;
        border-width: 0 !important;
        border: none !important;
        overflow-y: clip;
    }

    .gamer-bg {
        position: relative;
        bottom: 55px;
        z-index: 1;
        height: 55px;
        width: 100%;
        -webkit-border-radius: 10px;
        border-radius: 10px;
    }

    .gamer-bg.plus {
        bottom: 55px;
    }

    .gamer-photo {
        padding: 3px;
        z-index: 2;
        position: relative;
    }

    .gamer-photo>img {
        height: 60px;
    }

    .gamer-box {
        height: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .gamer-name {
        width: 100%;
        text-align: center;
        z-index: 2;
        position: relative;
        line-height: 15px;
        bottom: 4px;
    }

    .gamer-name.plus {
        bottom: 3px;
    }


    .gamer-awards {
        display: none;
    }

    .gamer-circle {
        position: relative;
        float: right;
        right: -7px;
        bottom: 90px;
        z-index: 3;
        border: 3px solid white;
        border-radius: 100%;
        color: white;
        text-align: center;
        padding-top: 0.1rem;
        box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 3px 0px;
        font-weight: 600;
        width: 30px;
        height: 30px;
        font-size: 10pt;
    }

    .gamer-circle-select {
        position: relative;
        float: right;
        right: -7px;
        bottom: 90px;
        z-index: 10;
        border: 3px solid white;
        border-radius: 100%;
        color: white;
        text-align: center;
        padding-top: 0.5rem;
        box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 3px 0px;
        font-weight: 600;
        width: 30px;
        height: 30px;
        font-size: 10pt;
        background-color: rgb(200, 200, 200);
    }

    .gamer-circle-absence {
        position: relative;
        float: right;
        right: -7px;
        bottom: 90px;
        z-index: 10;
        border: 3px solid white;
        border-radius: 100%;
        color: white;
        text-align: center;
        padding-top: 0.5rem;
        box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 3px 0px;
        font-weight: 600;
        width: 30px;
        height: 30px;
        font-size: 10pt;
        background-color: rgb(200, 200, 200);
    }

}

@media (min-width:481px) {

    /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
    .gamer-button {
        margin: 5px;
        padding: 0px;
        cursor: pointer;
        height: 130px;
        background-color: transparent;
        border-width: 0 !important;
        border: none !important;
        overflow-y: clip;
    }

    .gamers-content>ul {
        padding: 0px;
        border: none;
        list-style: none;
        margin: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .gamer-bg {
        position: relative;
        bottom: 65px;
        z-index: 1;
        height: 65px;
        width: 100%;
        -webkit-border-radius: 10px;
        border-radius: 10px;
    }

    .gamer-bg.plus {
        bottom: 86px;
    }

    .gamer-photo {
        padding: 3px;
        z-index: 2;
        position: relative;
    }

    .gamer-photo>img {
        height: 80px;
    }

    .gamer-box {
        min-height: 40px;
        min-width: 130px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .gamer-name {
        z-index: 2;
        position: relative;
        text-align: center;
        padding: 3px;
        max-width: 130px;
        width: 100%;
        line-height: 15px;
    }


    .gamer-name.plus {
        bottom: 15px;
    }

    .gamer-awards {
        display: block;
        background-color: rgba(27, 27, 27, 0.21);
        padding: 3px;
        z-index: 2;
        position: relative;
        color: white;
        -webkit-border-radius: 0px 0px 10px 10px;
        border-radius: 0px 0px 10px 10px;
        display: flex;
        justify-content: space-around;
    }

    .gamer-circle {
        position: relative;
        float: right;
        right: -7px;
        bottom: 90px;
        z-index: 3;
        border: 3px solid white;
        border-radius: 100%;
        color: white;
        text-align: center;
        padding-top: 0.5rem;
        box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 3px 0px;
        font-weight: 600;
        width: 3rem;
        height: 3rem;
        font-size: 1.1rem;
    }

    /* contenedor de usuarios */

    .gamer-circle-select {
        position: relative;
        float: right;
        right: -7px;
        bottom: 90px;
        z-index: 10;
        border: 3px solid white;
        border-radius: 100%;
        color: white;
        text-align: center;
        padding-top: 0.5rem;
        box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 3px 0px;
        font-weight: 600;
        width: 3rem;
        height: 3rem;
        font-size: 1.1rem;
        background-color: rgb(200, 200, 200);
    }

    .gamer-circle-absence {
        position: relative;
        float: right;
        right: -7px;
        bottom: 90px;
        z-index: 10;
        border: 3px solid white;
        border-radius: 100%;
        color: white;
        text-align: center;
        padding-top: 0.5rem;
        box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 3px 0px;
        font-weight: 600;
        width: 3rem;
        height: 3rem;
        font-size: 1.1rem;
        background-color: rgb(200, 200, 200);
    }
}

@media (min-width:641px) {

    /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */

}

@media (min-width:961px) {
    /* tablet, landscape iPad, lo-res laptops ands desktops */
}

@media (min-width:1025px) {
    /* big landscape tablets, laptops, and desktops */
}

@media (min-width:1281px) {
    /* hi-res laptops and desktops */
}


/********* Hystory Events *******/
.history-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem 1.25rem;
    /*overflow-y:scroll;
    height: 400px;*/
}

.timeline {
    width: 100%;
    margin-bottom: 10px;
}

.timeline-score {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    margin-right: 10px;
}

.timeline-title {
    text-align: center;
    border-bottom: 1px solid #9b9b9b49;
}


.timeline-item {
    display: flex;
    width: 100%;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 10px;
}

.timeline-icon {
    margin-right: 0.8rem;
    position: relative;
    display: flex;
    align-items: center;
}

.timeline-icon>img {
    -o-object-fit: cover;
    object-fit: cover;
}

.timeline-img {
    max-height: 3rem;
    max-width: 3rem;
    position: relative;
    display: inline-block;
    -ms-flex-negative: 0 !important;
    flex-shrink: 0 !important;
    border-radius: 00% !important;
}

.timeline-content {
    width: 100%;
}

.timeline-content-title {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.timeline-content:before {
    content: "";
    position: absolute;
    width: 2px;
    height: calc(100% - 1rem);
    background-color: border-color;
    top: 2.5rem;
    left: 1.5rem;
    transform: translatex(-50%);
}

.timeline-content:last-child:before {
    height: calc(100% - 2.5rem);
}

.timeline-delete {
    background-image: url('/public/img/icon/trash.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    width: 2rem;
    margin-left: 20px;
    cursor: pointer;
}