﻿
#SmashGameManager {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(var(--rvh) - 0px);
    z-index: 5800;
    background: rgba(0, 0, 0, 0.75);
}

.smashgame-manager-wapper {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0 auto;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    flex-direction: column;
}

.smashgame-manager-content {
    background: #fcfcfc;
    width: 99vw;
    max-width: 1500px;
    min-width: 300px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    min-height: 0;
    min-height: 50px;
    text-align: center;
    overflow: auto;
}

.smashgame-manager-body {
    overflow: auto;
}

.smashgame-manager-close-btn {
    position: absolute;
    right: 10px;
    top: 5px;
    border: none;
    color: rgb(240,91,34);
    background: none;
    font-size: 25px;
    transition-duration: 200ms;
    cursor: pointer;
}

.smashgame-manager-close-btn:hover {
    transform: scale(1.2);
}

.smashgame-manager-close-btn:focus {
    outline: none;
}

.smashgame-manager-section {
    display: none;
}

    .smashgame-manager-section.active {
        display: block;
    }

    .smashgame-manager-section[data-type="selector"] {
        border-radius: 20px;
        padding-bottom: 50px;
        background-image: url("../../image/gamemanager/o/resource (1).png");
        background-size: 100% auto;
        background-position: center bottom;
        background-repeat: no-repeat;
    }

@media all and (min-width: 1100px), all and (max-height: 500px) and (orientation: landscape) {
    .smashgame-manager-section[data-type="selector"] {
        background-position: center 0px;
    }
}

.smashgame-manager-section-header {
   padding-top: 30px;
   padding-bottom: 30px;
   margin-bottom: 50px;
}

.smashgame-manager-section-header img {
    display: inline-block;
    max-width: 150px;
}

.smashgame-manager-section-body {
    text-align: center;
}

.smashgame-manager-cards {
    display: inline-block;
    padding-bottom: 50px;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-flow: wrap;
}

.smashgame-manager-card-mode {
    float: left;
    width: 200px;
    height: 220px;
    margin-right: 50px;
    padding: 15px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition-duration: 200ms;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-bottom: 30px;
}

    .smashgame-manager-card-mode:last-child {
        margin-right: 0px;
    }

    .smashgame-manager-card-mode:hover {
        transform: scale(1.1);
        -webkit-box-shadow: 0px 0px 20px -9px rgba(0,0,0,0.9);
        -moz-box-shadow: 0px 0px 20px -9px rgba(0,0,0,0.9);
        box-shadow: 0px 0px 20px -9px rgba(0,0,0,0.9);
    }

.smashgame-manager-card-mode:after {
    content: '';
    position:absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0;
    background: white;
    border-radius: 20px;
    z-index: -1;
}

    .smashgame-manager-card-mode:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 15px;
        left: 0;
        background: rgb(240,91,34);
        background: linear-gradient(180deg, rgba(240,91,34,1) 0%, rgba(253,206,7,1) 100%);
        border-radius: 30px;
        z-index: -2;
    }

    .smashgame-manager-card-mode:last-child:after {
        border-radius: 0px;
        margin-right: 0px;
        background: none;
        background-image: url("../../image/gamemanager/o/resource (8).png");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: center;
    }

    /*ico*/
.smashgame-manager-card-mode-ico {
    display: inline-block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

    .smashgame-manager-card-mode-ico:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0;
        background: rgb(240,91,34);
        background: linear-gradient(180deg, rgba(240,91,34,1) 0%, rgba(253,206,7,1) 100%);
        border-radius: 50%;
        z-index: -1;
    }

    .smashgame-manager-card-mode-ico:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 7px;
        left: 0;
        background: rgb(240,91,34);
        background: linear-gradient(0deg, rgba(240,91,34,1) 0%, rgba(253,206,7,1) 100%);
        border-radius: 50%;
        z-index: -2;
    }

    .smashgame-manager-card-mode-ico img {
        width: 55px;
        height: auto;
        vertical-align: middle;
    }
/*ico*/

    .smashgame-manager-card-mode-title {
        display: block;
        font-size: 22px;
        margin-top: 15px;
    }

.smashgame-manager-card-mode-btn {
    position: absolute !important;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    height: 50px;
    padding-bottom: 8px;
    width: 70%;
    border-radius: 22px;
    border: 4px solid rgb(255, 103, 0);
    overflow: hidden;
    position: relative;
    color: white;
    font-size: 18px;
    -webkit-box-shadow: 0px 0px 20px -9px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 20px -9px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 20px -9px rgba(0,0,0,0.75);
}

button.smashgame-manager-create-challenge {
    position: relative;
    height: 40px;
    padding-top: 2px !important;
    padding-bottom: 10px !important;
    width: auto;
    border-radius: 22px;
    overflow: hidden;
    color: white;
    font-size: 18px;
    padding-left: 30px;
    padding-right: 30px;
    float: left;
    z-index: 1;
    border: 3px solid rgb(255, 103, 0) !important;
}

    .smashgame-manager-create-challenge:focus,
    .smashgame-manager-card-mode-btn:focus {
        outline: none;
    }

    .smashgame-manager-create-challenge:after,
    .smashgame-manager-card-mode-btn:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0;
        background: #FDCE07;
        z-index: -2;
    }

    .smashgame-manager-create-challenge:before,
    .smashgame-manager-card-mode-btn:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: -7px;
        left: 0;
        background: rgb(240,93,33);
        background: linear-gradient(0deg, rgba(240,93,33,1) -95%, rgba(253,206,7,1) 100%);
        border-radius: 0 0 15px 15px;
        z-index: -1;
    }

/* and (orientation: portrait), all and (max-height: 600px) and (orientation: landscape) */

@media all and (max-width: 720px)  {
    .smashgame-manager-card-mode {
        margin-right: 15px;
    }

        .smashgame-manager-card-mode:last-child {
            margin-right: 0px;
        }

        .smashgame-manager-card-mode:hover {
            transform: scale(1.02);
        }
}



/*challenges*/

.smashgame-manager-challenges {
    padding: 15px;
    padding-top: 30px;
    padding-bottom: 60px;
}

.smashgame-manager-challenges-content {
    max-height: calc(var(--rvh) - 170px);
    overflow: auto;
    width: 100%;
}


.smashgame-manager-filters {
    padding: 15px;
    padding-top: 0;
    text-align: right;
}

    .smashgame-manager-filters button[data-type] {
        border-radius: 30px;
        border: none;
        padding: 7px 30px;
        color: white;
        font-size: 18px;
        transition-duration: 200ms;
    }

        .smashgame-manager-filters button[data-type]:hover {
            transform: scale(1.05);
        }

        .smashgame-manager-filters button[data-type]:focus {
            outline: none;
        }

    .smashgame-manager-filters button[data-type] {
        background: rgb(237, 125, 49);
        color: white;
        margin-right: 15px;
    }

        .smashgame-manager-filters button[data-type][data-active="0"] {
            background: white;
            color: rgb(237, 125, 49);
            border: 1px solid rgb(237, 125, 49);
        }

#smashgame-manager-challenges-table {
    width: 100%;
    background: none;
}

    #smashgame-manager-challenges-table th {
        font-weight: normal;
        color: #F9930D;
        font-size: 18px;
        text-align: center;
    }

    #smashgame-manager-challenges-table {
        border-collapse: separate;
        border-spacing: 0 10px;
        border: unset;
    }

        #smashgame-manager-challenges-table tbody tr td {
            border-top: 1px solid #F9930D;
            border-bottom: 1px solid #F9930D;
            padding-top: 5px;
            padding-bottom: 5px;
            background: #fef7e9;
            vertical-align: middle;
            text-align: center;
        }

        #smashgame-manager-challenges-table tbody tr td * {
            vertical-align: middle;
        }

#smashgame-manager-challenges-table tbody tr td:first-child {
    border-left: 1px solid #F9930D;
    border-radius: 50px 0 0 50px;
    padding-left: 5px;
}

    #smashgame-manager-challenges-table tbody tr td:last-child {
        border-right: 1px solid #F9930D;
        border-radius: 0 50px 50px 0;
        padding-right: 5px;
    }

.smashgame-manager-s-challenge-no-content td{
    border-radius: 50px !important;
    padding: 15px !important;
    font-size: 18px;
}

        #smashgame-manager-challenges-table tbody tr[data-status="expired"] td {
            background: #FFC0C0;
        }

            /*s1*/
.smashgame-manager-challenges-s1 {
    width: 110px;
}

.smashgame-manager-challenges-avatar {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 50%;
}

.smashgame-manager-challenges-type {
    display: inline-block;
    width: 23px;
    height: 35px;
    margin-right: 10px;
    background-image: url("../../image/gamemanager/o/rocket.svg");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
}


    .smashgame-manager-challenges-type[data-type="received"] {
        background-image: url("../../image/gamemanager/o/arrow down.svg");
    }

.smashgame-manager-challenges-separator {
    display: inline-block;
    width: 2px;
    height: 45px;
    background: #F9930D;
}

/*s3*/

.smashgame-manager-challenges-modulename {
    background: white;
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 20px;
    padding-left: 40px;
    background-image: url("../../image/gamemanager/o/control.svg");
    background-repeat: no-repeat;
    background-size: auto 15px;
    background-position: 10px center;
    -webkit-box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.1);
    box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.1);
    display: inline-block;
    width: 100%;
}

/*s4*/

.smashgame-manager-challenges-rank {
    display: inline-block;
    font-size: 18px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-image: url("../../image/gamemanager/o/resource (16).png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/*s5*/

.smashgame-manager-challenges-points {
    display: inline-block;
    background: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 16px;
    -webkit-box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.1);
    box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.1);
}

/*s6*/

.smashgame-manager-challenges-time {
    display: inline-block;
    background: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 16px;
    -webkit-box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.1);
    box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.1);
}

/*s7*/

.smashgame-manager-challenges-result {
    display: inline-block;
    padding: 2px 40px;
    background: white;
    border-radius: 30px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    background-image: url("../../image/gamemanager/o/resource (14).png");
    background-repeat: no-repeat;
    background-size: 30px auto;
    background-position: center;
    -webkit-box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.1);
    box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.1);
}

/*s8*/

.smashgame-manager-challenges-game {
    padding: 5px 10px;
    border-radius: 20px;
    width: 130px;
    color: white;
    padding-left: 40px;
    position: relative;
    display: inline-block;
    -webkit-box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.1);
    box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.1);
    transition-duration: 200ms;
    cursor: pointer;
}

    .smashgame-manager-challenges-game:hover {
        transform: scale(1.05);
    }

.smashgame-manager-challenges-game[data-status="play"] {
    background: rgb(22,117,7);
    background: linear-gradient(0deg, rgba(22,117,7,1) -50%, rgba(0,255,74,1) 100%);
}

    .smashgame-manager-challenges-game[data-status="play"]:before {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        content: '';
        width: 20px;
        height: 20px;
        background-image: url("../../image/gamemanager/o/resource (15).png");
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }

.smashgame-manager-challenges-date,
.smashgame-manager-challenges-status {
    display: block;
    line-height: 15px;
    font-size: 16px;
}

.smashgame-manager-challenges-date {
    font-size: 12px;
}

.smashgame-manager-challenges-game[data-status="expired"] {
    padding: 12px 20px;
    background: rgb(240,0,34);
    background: linear-gradient(180deg, rgba(240,0,34,1) 0%, rgba(253,112,7,1) 100%);
}

    .smashgame-manager-challenges-game[data-status="expired"] .smashgame-manager-challenges-date {
        display: none;
    }

.smashgame-manager-challenges-game[data-status="completed"] {
    font-size: 16px;
    padding: 5px 20px;
    background: rgb(240,91,34);
    background: linear-gradient(180deg, rgba(240,91,34,1) -50%, rgba(253,206,7,1) 100%);
}

    .smashgame-manager-challenges-game[data-status="completed"] .smashgame-manager-challenges-status {
        font-size: 15px;
    }

    /*challenge*/

#SmashGameChallenge {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(var(--rvh) - 0px);
    z-index: 5810;
    background: rgba(0, 0, 0, 0.75);
}

.smashgame-challenge-wapper {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0 auto;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    flex-direction: column;
}

.smashgame-challenge-content {
    background: #fcfcfc;
    width: 99vw;
    max-width: 800px;
    min-width: 300px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    min-height: 0;
    min-height: 50px;
    text-align: center;
    background: rgb(240,91,34);
    background: linear-gradient(0deg, rgba(240,91,34,1) -50%, rgba(253,206,7,1) 100%);
    overflow: auto;
}

.smashgame-challenge-header {
    padding: 15px;
    padding-top: 70px;
    background-image: url("../../image/gamemanager/o/resource (20).png");
    background-repeat: no-repeat;
    background-size: 100% 150px;
    background-position: -5px -10px;
    overflow: auto;
    border-radius: 20px;
}

.smashgame-challenge-header > div {
}

.smashgame-challenge-stamp-l {
    width: 100px;
    height: 100px;
    position: absolute;
    left: 30px;
    top: 70px;
    padding-top: 25px;
    background-image: url("../../image/gamemanager/o/port.svg");
    background-size: contain;
    background-repeat: no-repeat;
    -webkit-box-shadow: 0px 0px 10px -7px rgba(0,0,0,0.9);
    -moz-box-shadow: 0px 0px 10px -7px rgba(0,0,0,0.9);
    box-shadow: 0px 0px 10px -7px rgba(0,0,0,0.9);
}

.smashgame-challenge-stamp-users {
    vertical-align: middle;
    display: inline-block;
    width: 50px;
    height: 40px;
    background-image: url("../../image/gamemanager/o/users.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.smashgame-challenge-stamp-users-count {
    display: block;
    color: rgba(0, 0, 0, 0.75);
    font-size: 13px;
}

.smashgame-challenge-permissions-announcement {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    color: white;
    border-radius: 10px;
    padding: 5px;
    display: block;
    cursor: pointer;
    transition-duration: 200ms;
    background: rgb(22,117,7);
    font-size: 14px;
}

    .smashgame-challenge-permissions-announcement:hover {
        background: rgb(84, 130, 53);
    }

.smashgame-challenge-stamp-c {
    width: 100%;
}

.smashgame-challenge-stamp-c img {
   width: 150px;
}

.smashgame-challenge-stamp-r {
    width: 100px;
    position: absolute;
    right: 30px;
    top: 70px;
}

.smashgame-challenge-stamp-r img {
    width: 100%;
    height: 100%;
}

.smashgame-challenge-body h3 {
    color: white;
    font-size: 25px;
    font-weight: normal;
    margin-top: 20px;
    margin-bottom: 10px;
}

.smashgame-challenge-user-name {
    font-size: 30px;
    color: white;
    display: block;
}

.smashgame-challenge-user-module {
    display: inline-block;
    font-size: 18px;
    color: rgb(240,91,34);
    background: white;
    border-radius: 20px;
    padding: 2px 20px;
    margin-top: 5px;
}

.smashgame-challenge-footer {
    padding: 40px;
}

.smashgame-challenge-refuse {
    border: none;
    color: white;
    border-radius: 20px;
    font-size: 18px;
    padding: 5px 30px;
    padding-top: 0;
    padding-bottom: 10px;
    background: no-repeat;
    position: relative;
    z-index: 1;
    margin-right: 15px;
    transition-duration: 200ms;
}

.smashgame-challenge-refuse:hover {
    transform: scale(1.05);
}

.smashgame-challenge-refuse:focus {
    outline: none;
}

    .smashgame-challenge-refuse:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0;
        z-index: -2;
        background: white;
        border-radius: 20px;
    }

    .smashgame-challenge-refuse:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: -5px;
        left: 0;
        border-radius: 20px;
        background: #E42918;
        z-index: -1;
    }

.smashgame-challenge-accept {
    border: none;
    color: white;
    border-radius: 20px;
    font-size: 18px;
    padding: 5px 30px;
    padding-top: 0;
    padding-bottom: 10px;
    position: relative;
    background: no-repeat;
    z-index: 1;
    transition-duration: 200ms;
    margin-right: 15px;
}

    .smashgame-challenge-accept:hover {
        transform: scale(1.05);
    }

    .smashgame-challenge-accept:focus {
        outline: none;
    }


    .smashgame-challenge-accept:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0;
        z-index: -2;
        background: white;
        border-radius: 20px;
    }

    .smashgame-challenge-accept:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: -5px;
        left: 0;
        border-radius: 20px;
        background: rgb(240,91,34);
        background: linear-gradient(0deg, rgb(22, 117, 7) -50%, rgb(0, 255, 74) 100%);
        z-index: -1;
    }

.smashgame-challenge-later {
    border: none;
    color: white;
    border-radius: 20px;
    font-size: 18px;
    padding: 5px 30px;
    padding-top: 0;
    padding-bottom: 10px;
    background: no-repeat;
    position: relative;
    z-index: 1;
    margin-right: 15px;
    transition-duration: 200ms;
}

    .smashgame-challenge-later:hover {
        transform: scale(1.05);
    }

    .smashgame-challenge-later:focus {
        outline: none;
    }

    .smashgame-challenge-later:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0;
        z-index: -2;
        background: white;
        border-radius: 20px;
    }

    .smashgame-challenge-later:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: -5px;
        left: 0;
        border-radius: 20px;
        background: #E42918;
        z-index: -1;
    }

#sm2-menu-bottom li[data-rel="game"].challenge-pending-notification span {
    position: relative;
}

    #sm2-menu-bottom li[data-rel="game"].challenge-pending-notification span:before {
        content: '';
        position: absolute;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        z-index: 10;
        top: 15px;
        left: 0;
        background: white;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 120%;
        animation: challenge_notification_animation 1s infinite;
    }

@keyframes challenge_notification_animation {
    0% {
        -moz-box-shadow: 0 0 0 0 rgb(240,91,34);
        box-shadow: 0 0 0 0 rgb(240,91,34);
        background-image: url("../../../images/HeaderMenu/juego-naranja.png");
    }

    70% {
        -moz-box-shadow: 0 0 0 10px rgba(240, 91, 34, 0.00);
        box-shadow: 0 0 0 10px rgba(240, 91, 34, 0.00);
    }

    100% {
        opacity: 0;
        -moz-box-shadow: 0 0 0 0 rgba(240, 91, 34, 0.00);
        box-shadow: 0 0 0 0 rgba(240, 91, 34, 0.00);
    }
}

/*smash game manager selector*/
@media all and (max-height: 650px) and (orientation: landscape), all and (max-width: 650px) and (orientation: portrait) {
    .smashgame-manager-section[data-type="selector"] {
        padding-bottom: 0px;
    }

    .smashgame-manager-section-header {
        padding-top: 10px;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .smashgame-manager-cards {
        padding-bottom: 10px;
    }

    .smashgame-manager-card-mode {
        height: 165px;
        margin-bottom: 50px;
    }

        .smashgame-manager-card-mode:last-child:after {
            background-repeat: no-repeat;
            background-size: 100% auto;
            background-position: center;
            border-radius: 20px;
        }


    .smashgame-manager-card-mode-title {
        margin-top: 5px;
        font-size: 18px;
    }

    .smashgame-manager-card-mode-ico {
        width: 75px;
        height: 75px;
        line-height: 75px;
    }

    .smashgame-manager-section-header img {
        max-width: 100px;
    }
}


@media all and (max-height: 750px) and (max-width: 420px), all and (max-height: 350px) and (orientation: landscape) {
    .smashgame-manager-card-mode {
        width: calc(100% - 40px);
        height: 130px;
    }

    .smashgame-manager-card-mode-ico {
        width: 50px;
        height: 50px;
        line-height: 50px;
    }

        .smashgame-manager-card-mode-ico img {
            height: 30px;
            width: auto;
        }

    .smashgame-manager-card-mode-title {
        margin-top: 0;
    }
}


@media all and (max-height: 350px) and (orientation: landscape) {
    .smashgame-manager-card-mode {
        width: calc(calc(100% - 100px) / 3);
        margin-right: 10px;
        height: 130px;
    }

        .smashgame-manager-card-mode:hover {
            transform: scale(1.05);
        }
}
/*smash game manager selector*/


@media all and (max-width: 1000px) and (orientation: landscape) {
    #smashgame-manager-challenges-table th {
        font-size: 16px;
    }

    .smashgame-manager-challenges-s1 {
        position: relative;
        width: 70px;
    }

    .smashgame-manager-challenges-type {
        position: absolute;
        width: 25px;
        height: 25px;
        right: 0px;
        top: calc(50% + 15px);
        transform: translateY(-50%);
        background-color: white;
        border-radius: 50%;
        background-size: 65%;
        border: 1px solid rgb(240,91,34);
    }

    .smashgame-manager-challenges-avatar {
        margin-right: 0;
    }
}


tr[data-type="responsive"] .smashgame-manager-challenges-s8 {
    width: 220px;
}

#smashgame-manager-challenges-table tbody tr[data-type="responsive"] {
    display: none;
}

@media all and (max-width: 900px) {
    #smashgame-manager-challenges-table tbody tr[data-type="full"] {
        display: none;
    }

    #smashgame-manager-challenges-table tbody tr[data-type="responsive"] {
        display: table-row;
    }

    #smashgame-manager-challenges-table thead th:nth-child(4),
    #smashgame-manager-challenges-table thead th:nth-child(5),
    #smashgame-manager-challenges-table thead th:nth-child(6),
    #smashgame-manager-challenges-table thead th:nth-child(7) {
        display: none;
    }

    .smashgame-manager-challenges-time,
    .smashgame-manager-challenges-points,
    .smashgame-manager-challenges-rank,
    .smashgame-manager-challenges-players {
        display: inline-block;
        width: calc(50% - 5px);
        background: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        font-size: 16px;
        border-radius: 30px;
        padding: 0px;
        line-height: initial;
        height: auto;
        margin-bottom: 5px;
    }

    .smashgame-manager-challenges-result {
        width: 50px;
        padding: 2px 10px;
    }
}


@media all and (max-width: 750px) {
    #smashgame-manager-challenges-table {
        min-width: 680px;
    }

        #smashgame-manager-challenges-table th {
            font-size: 16px;
        }

    .smashgame-manager-challenges-s1 {
        position: relative;
        width: 70px;
    }

    .smashgame-manager-challenges-type {
        position: absolute;
        width: 25px;
        height: 25px;
        right: 0px;
        top: calc(50% + 15px);
        transform: translateY(-50%);
        background-color: white;
        border-radius: 50%;
        background-size: 65%;
        border: 1px solid rgb(240,91,34);
    }

    .smashgame-manager-challenges-avatar {
        margin-right: 0;
    }

    .smashgame-manager-challenges-time,
    .smashgame-manager-challenges-points,
    .smashgame-manager-challenges-rank,
    .smashgame-manager-challenges-players {
        width: calc(100% - 20px);
        padding-left: 2px;
        padding-right: 2px;
    }

    .smashgame-manager-challenges-result {
        margin-bottom: 5px;
    }

    .smashgame-manager-challenges-s8 {
        width: 150px !important;
    }
}



/*mambo*/

[data-theme="mambo"] .smashgame-manager-section[data-type="selector"] {
    background-image: url("../../image/gamemanager/m/bottom-bg.png");
}

[data-theme="mambo"] .smashgame-manager-card-mode:last-child:after {
    background-image: url("../../image/gamemanager/m/challenge.png");
}

[data-theme="mambo"] .smashgame-manager-card-mode:before {
    background: #F59CB0;
}

[data-theme="mambo"] .smashgame-mode-card-mode:before,
[data-theme="mambo"] .smashgame-mode-card-mode-btn:before,
[data-theme="mambo"] .smashgame-mode-card-mode-ico:before,
[data-theme="mambo"] .smashgame-manager-card-mode-ico:before {
    background: #BD77B2;
}

[data-theme="mambo"] .smashgame-mode-card-mode-ico:after,
[data-theme="mambo"] .smashgame-manager-card-mode-ico:after {
    background: rgb(119, 33, 130);
    background: linear-gradient(0deg, rgb(119, 33, 130) 0%, rgb(186, 129, 183) 100%);
}

[data-theme="mambo"] .smashgame-manager-create-challenge,
[data-theme="mambo"] .smashgame-manager-card-mode-btn {
    border-color: #e12d6d;
}

    [data-theme="mambo"] .smashgame-manager-create-challenge:before,
    [data-theme="mambo"] .smashgame-manager-card-mode-btn:before {
        background: #EC1C78;
    }

    [data-theme="mambo"] .smashgame-manager-create-challenge:after,
    [data-theme="mambo"] .smashgame-manager-card-mode-btn:after {
        background: #F59CB0;
    }

[data-theme="mambo"] .smashgame-manager-close-btn {
    color: #ec1c78;
}

[data-theme="mambo"] .smashgame-manager-filters button[data-type="done"] {
    background: rgb(119, 33, 130);
    background: linear-gradient(0deg, rgb(119, 33, 130) 0%, rgb(186, 129, 183) 100%);
}

[data-theme="mambo"] .smashgame-manager-challenges-game[data-status="completed"] {
    background: rgb(119, 33, 130);
    background: linear-gradient(180deg, rgb(119, 33, 130) 0%, rgb(186, 129, 183) 100%);
}

[data-theme="mambo"] .smashgame-manager-challenges-type {
    background-image: url("../../image/gamemanager/m/rocket.svg");
}

[data-theme="mambo"] #smashgame-manager-challenges-table tbody tr td:first-child {
    border-left: 1px solid rgb(186, 129, 183);
}

[data-theme="mambo"] #smashgame-manager-challenges-table tbody tr td:last-child {
    border-right: 1px solid rgb(186, 129, 183);
}

[data-theme="mambo"] #smashgame-manager-challenges-table tbody tr td {
    border-top: 1px solid rgb(186, 129, 183);
    border-bottom: 1px solid rgb(186, 129, 183);
}

[data-theme="mambo"] .smashgame-manager-challenges-separator {
    background: rgb(186, 129, 183);
}

[data-theme="mambo"] .smashgame-manager-challenges-rank {
    background-image: url("../../image/gamemanager/m/rank.svg");
}

[data-theme="mambo"] #smashgame-manager-challenges-table th {
    color: rgb(186, 129, 183);
}

[data-theme="mambo"] .smashgame-manager-challenges-result {
    background-image: url("../../image/gamemanager/m/mambo_mini.png");
}

@media (max-width: 1000px) and (orientation: landscape) {
    [data-theme="mambo"] .smashgame-manager-challenges-type {
        border: 1px solid rgb(186, 129, 183);
    }
}


@media all and (max-width: 900px) {
    [data-theme="mambo"] .smashgame-manager-challenges-time,
    [data-theme="mambo"] .smashgame-manager-challenges-points,
    [data-theme="mambo"] .smashgame-manager-challenges-rank,
    [data-theme="mambo"] .smashgame-manager-challenges-players {
        background: none;
    }
}

[data-theme="mambo"] .sv2-view[data-type="create-game"] div.sv2-g-create-h-challenge #sv2sendchallengecgame:before,
[data-theme="mambo"] .smashgame-mode-data-card-btn:after,
[data-theme="mambo"] .smashgame-challenge-content {
    background: rgb(119, 33, 130);
    background: linear-gradient(0deg, rgb(119, 33, 130) 0%, rgb(186, 129, 183) 100%);
}

[data-theme="mambo"] .smashgame-challenge-header {
    background-image: url("../../image/gamemanager/m/challengetopbg.png");
}

[data-theme="mambo"] .smashgame-challenge-stamp-users {
    background-image: url("../../image/gamemanager/m/users.png");
}

[data-theme="mambo"] .smashgame-challenge-stamp-l {
    background-image: url("../../image/gamemanager/m/portrait.png");
}

@media all and (max-width: 750px) {
    .smashgame-manager-challenges-type {
        border: 1px solid rgb(186, 129, 183);
    }
}

[data-theme="mambo"] .smashgame-mode-section[data-type="data"] {
    background-image: url("../../image/gamemanager/m/top-bg.png");
}

[data-theme="mambo"] .smashgame-mode-data-btn:after,
[data-theme="mambo"] .smashgame-mode-data-card-btn:before {
    background: #f7acbb;
}

[data-theme="mambo"] .smashgame-mode-data-btn {
    border-color: #e12d6d;
}

[data-theme="mambo"] .smashgame-mode-data-btn:before {
    background: #EC1C78;
}

.student-library-select-title {
    font-size: 22px;
    color: #555;
    font-weight: 500;
    line-height: 1.1;
}

















/*Privacy Modal*/
#SmashChallengePermissions {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(var(--rvh) - 0px);
    z-index: 5820;
    background: rgba(0, 0, 0, 0.75);
}

.smashgame-permissions-wapper {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0 auto;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    flex-direction: column;
}

.smashgame-permissions-content {
    width: 99vw;
    max-width: 1400px;
    min-width: 300px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    height: calc(100vh - 100px);
    text-align: center;
}

.smashgame-permissions-body {
    overflow: hidden;
}

/*ico*/
.smashgame-permissions-card-mode-ico {
    display: inline-block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

    .smashgame-permissions-card-mode-ico:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0;
        background: rgb(240,91,34);
        background: linear-gradient(180deg, rgba(240,91,34,1) 0%, rgba(253,206,7,1) 100%);
        border-radius: 50%;
        z-index: -1;
    }

    .smashgame-permissions-card-mode-ico:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 7px;
        left: 0;
        background: rgb(240,91,34);
        background: linear-gradient(0deg, rgba(240,91,34,1) 0%, rgba(253,206,7,1) 100%);
        border-radius: 50%;
        z-index: -2;
    }

    .smashgame-permissions-card-mode-ico img {
        width: 55px;
        height: auto;
        vertical-align: middle;
    }
/*ico*/


/*data*/

.smashgame-permissions-section[data-type="data"] {
    background: white;
    border-radius: 20px;
    width: calc(100% - 6px);
    border: 3px solid white;
    background-image: url("../../image/challenge/bg-top.png");
    background-position: center 0px;
    background-size: 100% 250px;
    background-repeat: no-repeat;
    min-height: calc(100vh - 100px);
}

.smashgame-permissions-data-header-title {
    display: block;
    color: white;
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 25px;
    font-weight: bold;
}

.smashgame-permissions-data-card-content {
    padding: 15px;
    overflow: auto;
    min-height: 200px;
    height: calc(100vh - 450px);
}

.smashgame-permissions-data-card {
    --w: calc(100% / 4);
    float: left;
    width: calc(var(--w) - 10px);
    margin-right: 10px;
    background: #FFF6E9;
    border-radius: 50px;
    padding: 5px 0px;
    margin-bottom: 10px;
    height: 60px;
}

    .smashgame-permissions-data-card[data-type="allow"] {
        background: #e5fff3;
    }

    .smashgame-permissions-data-card[data-type="deny"] {
        background: rgba(255, 0, 57, 0.1);
    }

    .smashgame-permissions-data-card * {
        display: inline-block;
        vertical-align: middle;
    }

.smashgame-permissions-data-card-avatar {
    width: 50px;
    height: 50px;
    margin-right: 5px;
    border-radius: 50%;
}

.smashgame-permissions-data-card-name {
    width: calc(100% - 180px);
    font-size: 14px;
    max-height: 50px;
    overflow: hidden;
}

.smashgame-permissions-data-footer {
    padding: 30px;
}

.smashgame-permissions-data-card-btn {
    width: 90px;
    height: 35px;
    color: white;
    position: relative;
    border: none;
    border-radius: 22px;
    position: relative;
    font-size: 12px;
    -webkit-box-shadow: 0px 0px 20px -9px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 20px -9px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 20px -9px rgba(0,0,0,0.25);
    z-index: 1;
    font-weight: bold;
    font-size: 12px;
    line-height: 12px;
    transition-duration: 200ms;
    cursor: pointer;
}

    .smashgame-permissions-data-card-btn:hover {
        -webkit-box-shadow: 0px 0px 20px -9px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 20px -9px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 20px -9px rgba(0,0,0,0.75);
    }

    .smashgame-permissions-data-card-btn:focus {
        outline: none;
    }

    .smashgame-permissions-data-card-btn:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0;
        background: rgb(240,91,34);
        background: linear-gradient( 180deg, rgba(240,91,34,1) 0%, rgba(253,206,7,1) 100%);
        border-radius: 20px;
        z-index: -1;
    }

    .smashgame-permissions-data-card-btn:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 5px;
        left: 0;
        background: rgb(240,91,34);
        background: linear-gradient( 0deg, rgba(240,91,34,1) 0%, rgba(253,206,7,1) 100%);
        border-radius: 30px;
        z-index: -2;
    }

.smashgame-permissions-data-card[data-type="allow"] .smashgame-permissions-data-card-btn {
    position: relative;
    text-align: center;
}

    .smashgame-permissions-data-card[data-type="allow"] .smashgame-permissions-data-card-btn span {
        position: absolute;
        left: 5px;
        top: 50%;
        transform: translateY(-50%);
        display: inline-block;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: white;
    }

    .smashgame-permissions-data-card[data-type="allow"] .smashgame-permissions-data-card-btn:after {
        background: rgb(22,117,7);
        background: linear-gradient(0deg, rgba(22,117,7,1) -50%, rgba(0,255,74,1) 100%);
    }

    .smashgame-permissions-data-card[data-type="allow"] .smashgame-permissions-data-card-btn:before {
        background: rgb(22,71,7);
        background: linear-gradient(180deg, rgba(22,71,7,1) 0%, rgba(22,117,7,1) 97%);
    }


.smashgame-permissions-data-btn {
    position: relative;
    height: 50px;
    padding: 0px 30px 7px 30px;
    font-weight: bold;
    width: auto;
    border-radius: 22px;
    border: 4px solid rgb(255, 103, 0);
    overflow: hidden;
    position: relative;
    color: white;
    font-size: 22px;
    -webkit-box-shadow: 0px 0px 20px -9px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 20px -9px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 20px -9px rgba(0,0,0,0.75);
    z-index: 1;
    cursor: pointer;
    transition-duration: 200ms;
}

    .smashgame-permissions-data-btn:focus {
        outline: none;
    }

    .smashgame-permissions-data-btn:hover {
        transform: scale(1.05);
    }

    .smashgame-permissions-data-btn:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0;
        background: #FDCE07;
        z-index: -2;
    }

    .smashgame-permissions-data-btn:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: -7px;
        left: 0;
        background: rgb(240,93,33);
        background: linear-gradient(0deg, rgba(240,93,33,1) -95%, rgba(253,206,7,1) 100%);
        border-radius: 0 0 15px 15px;
        z-index: -1;
    }

@media screen and (max-width: 1200px) {
    .smashgame-permissions-data-card {
        --w: calc(100% / 3);
        width: calc(var(--w) - 10px);
    }
}

@media screen and (max-width: 850px) {
    .smashgame-permissions-data-card {
        --w: calc(100% / 2);
        width: calc(var(--w) - 10px);
    }

    .smashgame-permissions-section[data-type="data"] {
        background-size: auto 200px;
    }
}

@media screen and (max-width: 600px) {
    .smashgame-permissions-data-header-title {
        margin-top: 5px;
        font-size: 22px;
    }

    .smashgame-permissions-data-card {
        width: 100%;
    }
}

@media all and (max-width: 500px) and (orientation: portrait) {
    .smashgame-permissions-card-permissions-ico {
        margin-bottom: 15px;
    }
}

@media all and (max-height: 720px) and (orientation: portrait) {
    .smashgame-permissions-card-permissions-ico {
        margin-bottom: 15px;
        width: 50px;
        height: 50px;
        line-height: 50px;
    }

        .smashgame-permissions-card-permissions-ico img {
            width: 30px;
        }
}

@media all and (max-height: 650px) and (orientation: landscape) {
    .smashgame-permissions-card-permissions-ico {
        margin-bottom: 15px;
        width: 50px;
        height: 50px;
        line-height: 50px;
    }

        .smashgame-permissions-card-mode-ico img {
            width: 30px;
        }
}

.smashgame-permissions-card-permissions-ico {
    position: relative;
}

.smashgame-permissions-card-mode-total-players {
    position: absolute;
    display: block;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    line-height: 26px;
    padding: 0;
    text-align: center;
    bottom: 0;
    right: 0;
    border: 2px solid rgb(240,91,34);
}


/* width */
#SmashChallengePermissions *::-webkit-scrollbar {
    width: 7px;
    border-radius: 10px;
    cursor: pointer;
}

/* Track */
#SmashChallengePermissions *::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
    cursor: pointer;
}

/* Handle */
#SmashChallengePermissions *::-webkit-scrollbar-thumb {
    background: rgba(255,90,0,0.50);
    border-radius: 10px;
    cursor: pointer;
}

    /* Handle on hover */
    #SmashChallengePermissions *::-webkit-scrollbar-thumb:hover {
        background: rgba(255,90,0,0.75);
    }

.smashgame-manager-announcement {
    display: none;
    text-align: center;
}

.smashgame-manager-announcement-content {
    max-width: 700px;
    width: 100%;
    height: 400px;
    background-image: url(/assets/smmb/general/images/general/teacher_s.png);
    background-repeat: no-repeat;
    padding-left: 250px;
    padding-top: 60px;
    padding-bottom: 20px;
    padding-right: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

    .smashgame-manager-announcement-content p {
        color: white;
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
    }

.student-library-select-title {
    font-size: 22px;
}
