html,
body {
    height: 100vh;
    overflow-x: hidden;
    /*Arregla problemas de scroll por tener estructura de tabla*/
}

body {
    width: 100%;
    position: relative;
    /*overflow-x: hidden;Arregla problemas de scroll por tener estructura de tabla*/
}

#layout {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 100vh;
}

#siteHeader,
#siteContent,
#siteFooter {
    display: table-row;
}

#siteHeader>*,
#siteContent>*,
#siteFooter>* {
    display: table-cell;
}

#siteContent>* {
    height: 100%;
    position: relative;
    overflow-x: hidden/*De lo contrario, en la animación del texto hace scroll, como si transformado ocupara espacio. Puedes deberse a la estructura de tabla*/
}


/**/

#headerContent {
    display: table;
    width: 100%;
    line-height: 1;
    border-bottom: 1px solid #ccc;
}

.firstBlockColor #headerContent {
    border: none;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .05)
}

#headerContent>* {
    display: table-row;
}

#headerContent>*>* {
    display: table-cell;
    vertical-align: middle;
    padding: 24px 40px;
}

#headerContent>*>*:nth-child(2) {
    width: 100%;
    text-align: center;
}

#headerContent>*>*:nth-child(2):last-child {
    text-align: right;
}


/**/

#siteLogo {
    margin: 0;
    padding: 18px 0;
    font-size: 0;
    transition: transform ease-out .1s;
}

#siteLogo:hover {
    transform: scale(1.2);
}

#siteLogo a {
    display: block;
}

#siteLogo img {
    max-width: 151px;
}


/**/

#contactLinks>* {
    display: inline-block;
    vertical-align: middle;
    padding: 12px 24px;
}

#contactLinks header {
    font-family: 'Univers Condensed', Arial, Helvetica, sans-serif;
    font-size: 21px;
    color: #ff3e17;
    letter-spacing: -.5px;
}

#contactLinks a {
    color: #595a5c;
    font-size: 16px;
    line-height: 1;
    position: relative;
    top: -1px;
    line-height: 20px;
    white-space: nowrap;
}

#contactLinks a:before {
    content: "";
    display: inline-block;
    vertical-align: bottom;
    width: 20px;
    height: 20px;
    background: no-repeat center center;
    background-size: contain;
    margin-right: 8px;
    transition: transform ease-out .1s;
}

#contactLinks a:hover:before {
    transform: scale(1.2);
}

#contactLinks a[href*="tel:"]:before {
    background-image: url(../img/phone.svg);
}

#contactLinks a[href*="mailto:"]:before {
    background-image: url(../img/email.svg);
}


/**/

#userNav .dropdown-toggle {
    white-space: nowrap;
}

#userNav .dropdown-toggle>span>span {
    display: block;
    font-family: 'Univers Condensed', Arial, Helvetica, sans-serif;
}

#userNav .name {
    font-size: 24px;
    max-width: 160px;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -.5px;
}

#userNav .data {
    font-size: 16px;
    color: #7d7d7d;
    letter-spacing: normal;
    position: relative;
    left: 1px;
}

#userNav .data strong {
    font-weight: 500;
}

#userNav .dropdown-toggle>span,
#userNav .dropdown-toggle:before,
#userNav .dropdown-toggle:after {
    display: inline-block;
    vertical-align: middle;
}

#userNav .dropdown-toggle:before {
    content: "";
    width: 34px;
    height: 48px;
    background: url(../img/user_light.svg) no-repeat right center;
    margin-right: 8px;
}

#userNav .dropdown-toggle:after {
    content: "";
    width: 12px;
    height: 8px;
    background: url(../img/select.svg) no-repeat center center;
    margin-left: 8px;
}

/* #userNav.bronze .dropdown-toggle:before {
    background-image: url(../img/medal_bronze.svg);
} */

#userNav.bronze .data strong {
    color: #ed9d5d;
}

/* #userNav.silver .dropdown-toggle:before {
    background-image: url(../img/medal_silver.svg);
} */

/* #userNav.silver .data strong {
    color: #b5baa4;
} */

/* #userNav.gold .dropdown-toggle:before {
    background-image: url(../img/medal_gold.svg);
} */

#userNav.gold .data strong {
    color: #ffb600;
}

/* #userNav.platinum .dropdown-toggle:before {
    background-image: url(../img/medal_platinum.svg);
} */

#userNav.platinum .data strong {
    color: #a4bab8;
}

#userNav .dropdown-toggle:after,
#userNav .dropdown-toggle .name,
#userNav .dropdown-toggle .data {
    transition: transform ease-out .1s;
}

#userNav .dropdown-toggle:hover:after {
    transform: scale(1.3);
}

#userNav .dropdown-toggle:hover .name {
    transform: translateY(-2px);
}

#userNav .dropdown-toggle:hover .data {
    transform: translateY(2px);
}


/**/

#showNav {
    display: none;
}

#siteNav>ul {
    display: block;
    padding: 0;
    margin: 0;
}

#siteNav>ul>li {
    display: inline-block;
    padding: 0;
    margin: 0 24px;
    vertical-align: middle;
}

#siteNav li>* {
    display: block;
    text-decoration: none;
    /*Mejora un la animación en FF*/
    transform: scale(1.0000001);
    backface-visibility: hidden;
    transform: translateZ(0) scale(1.0, 1.0);
    filter: blur(0);
    filter: none\9;
}

#siteNav .icon,
#siteNav .text {
    display: block;
    position: relative;
}

#siteNav .icon {
    height: 40px;
    position: relative;
    margin-bottom: 4px;
}

#siteNav .icon img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#siteNav .text {
    font-family: 'Univers Condensed', Arial, Helvetica, sans-serif;
    font-size: 21px;
    color: #ff3e17;
}

#siteNav .icon {
    transition: top .2s, transform .2s;
    top: 0;
    transform: scale(1.0001);
}

#siteNav .text {
    transition: top .2s;
    top: 0;
}

#siteNav li>*:hover {
    opacity: .8;
}

#siteNav li>*:hover .text {
    top: 3px;
}

#siteNav li>*:hover .icon {
    transform: scale(1.5);
    top: -3px;
}


/**/

#siteFooter>* {
    font-size: 15px;
    background: #303030;
    letter-spacing: 0.25px;
}

#siteFooter ul {
    display: block;
    padding: 0;
    margin: 0;
    text-align: right;
}

#siteFooter li {
    display: inline-block;
    padding: 0;
    margin: 0;
}

#siteFooter .copy,
#siteFooter li a {
    padding: 12px 16px;
    display: inline-block;
    color: #fff;
}

#siteFooter .copy a{
    color: #fff;
}

/**/

#cookies {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 99;
    background: rgba(0, 0, 0, .9);
    color: #fff;
    padding: 16px;
    text-align: center;
}

#cookies a,
#cookies button {
    display: inline-block;
    line-height: 1;
    padding: 8px;
    color: #fff;
    border: 1px solid #fff;
    margin: 8px 4px 0 0;
    text-decoration: none;
}


/**/

@media (max-width:1280px) {
    #contactLinks header {
        display: none;
    }
    #contactLinks>* {
        padding: 12px;
    }
    #siteNav>ul>li {
        margin: 0 6px;
    }
    #siteNav .text {
        font-size: 18px;
        transform: rotateX(.1deg)/*suaviza mejor*/
    }
}

@media (max-width:990px) {
    #headerContent>*>* {
        padding: 8px 16px;
    }
    #contactLinks {
        white-space: nowrap;
    }
    #contactLinks a {
        font-size: 0;
    }
    #contactLinks a:before {
        margin: 0;
    }
    #headerContent {
        position: fixed;
        left: 0;
        top: 0;
        background: #fff;
        width: 100%;
        z-index: 99;
        display: block;
    }
    #siteContent>* {
        padding-top: 84px;
    }
    #showNav {
        display: inline-block;
        cursor: pointer;
        text-transform: uppercase;
        font-family: 'Univers Condensed', Arial, Helvetica, sans-serif;
        font-size: 17px;
        color: #ff3e17;
        font-weight: 500;
        transform: rotateX(.1deg);
        /*suaviza mejor*/
        border: 1px solid currentColor;
        padding: 8px 12px;
    }
    #siteNav {
        position: fixed;
        left: 0;
        top: 0;
        background: #fff;
        z-index: 999;
        top: 84px;
        width: 100%;
        box-shadow: 0 4px 4px rgba(0, 0, 0, .1);
        border-top: 1px solid #ccc;
        transform: translateY(-400px) scale(1.5);
        transition: transform ease-out .4s;
        transform-origin: bottom;
    }
    .navOpen #siteNav {
        transform: translateY(0) scale(1);
    }
    #siteNav>ul>li {
        margin: 0 8px;
    }
    #siteNav a {
        padding: 16px;
    }
}

@media (max-width: 767px) {
    #siteFooter .copy {
        border-bottom: 1px solid #444;
        width: 100%;
    }
    #siteFooter ul {
        text-align: left;
        padding: 8px 0;
    }
}

@media (max-width:600px) {
    #headerContent>*>* {
        padding: 0 8px;
    }
    #siteLogo a {
        padding: 0 12px;
    }
    #siteLogo a span {
        display: block;
        width: 22px;
        position: relative;
        top: 1px;
        overflow: hidden;
    }
    #userNav .dropdown-toggle>span {
        display: none;
    }
    #userNav .dropdown-toggle:before {
        margin: 0;
    }
    #siteNav {
        top: 68px;
    }
    #siteContent>* {
        padding-top: 68px;
    }
}


/* Programación */

.errorFormControl {
    border-bottom: 1px solid red !important;
}

.errorFormItem {
    color: red;
    font-weight: bold;
    font-size: 10px;
}

.errorFormDiv {
    background-color: lightyellow;
    border: 1px solid yellow;
    box-shadow: 3px 3px 3px black;
    border-radius: 5px;
    margin: 5px;
}

.isClub, .isRequested, .isActive {
    position: relative;
    cursor: pointer;
    font-size: 22px;
    line-height: 24px;
    height: 24px;
    width: 24px;
}

.fieldIsClub, .fieldIsRequested, .fieldIsActive {
    display: flex;
    align-items: center;
}

.isClubLabel, .isRequestedLabel, .isActiveLabel {
    margin-left: 0.5rem;
}

.maintenanceFieldset {
    margin: 0;
}

.maintenanceLabel {
    margin-right: 1rem;
}

.value-code-div {
    display: flex;
    align-items: center;
}
.valueInput {
    height: 24px;
    width: 24px;
    margin: 0!important;
    margin-right: 1rem!important;
}
.codeInput {
    width: 10rem!important;
    margin-left: 1rem;
}
.addCode {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    margin: 0.5rem 0.5rem 0 0;
    background-color: #ff4722;
    color: white;
    border-radius: 5px;
}
.addCodeDisabled {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    margin: 0.5rem 0.5rem 0 0;
    background-color: silver;
    color: grey;
    border-radius: 5px;
    user-select: none;
    pointer-events: none;
}
.enableDisable {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
.switchLabel {
    margin: 0;
    padding: 0;
}
.getsCreditsLegend {
    margin: 0!important;
}
.getsCreditsLabel {
    margin-right: 1rem;
}
.creditPrize {
    margin-bottom: 6rem;
}
.dniDocViewer {
    display: flex;
}
.dniDocView {
    margin-right: 1rem;
}
.dniViewer .dniSingleView img {
    height: 100%;
    width: 100%;
}
.modalBasesBackground {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.modalBases {
    width: 80%;
    height: 100%;
}
.closeModalBases {
    position: absolute;
    top: 0;
    right: 0;
    color: white;
    margin: 0.5rem 1rem 0 0;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}
.closeModalBases:hover {
    transform: scale(1.3);
}

/* Nueva pantalla de adición de códigos a la promoción */
.addCodes {
    padding: 32px;
}
.promoSeparator {
    height: 1px;
    background-color: #ff401a;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 30px;
}
.amountHeader {
    display: flex;
    overflow-x: scroll;
}
.amountHeader::-webkit-scrollbar {
    background: transparent;
    height: 5px;
}
.amountHeader::-webkit-scrollbar-thumb {
    background: #ff401a;
    border-radius: 10px;
   
}
.singleAmount, .singleAmountSelected {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: fit-content;
    height: 50px;
    padding: 0 50px 0 30px;
    position: relative;
    margin-right: 2px;
    user-select: none;
    animation: fadeInDown 0.5s forwards;
    margin-bottom: 5px;
    color: #ff401a;
    border: 1px solid #ff401a;
    border-radius: 5px;
}
.singleAmount:Hover {
    cursor: pointer;
}
.singleAmountSelected {
    background-color: #ff401a;
    font-weight: bold;
    color: white;
}
.singleAmountDisabled {
    /* display: inline-block; */
    /* padding: 0.2rem 0.5rem; */
    /* margin: 0.5rem 0.5rem 0 0; */
    background-color: silver;
    color: grey;
    /* border-radius: 5px; */
    user-select: none;
    pointer-events: none;
    border: 1px solid silver;
}
.deleteAmount {
    position: absolute;
    right: 10px;
    transition: transform 0.2s ease-in-out;
    margin-right: 15px;
}
.deleteAmount:hover {
    transform: scale(1.2);
    cursor: pointer;
}
.singleAmount p, .singleAmountSelected p {
    margin: 0;
}
.promoCodeAmountTitle {
    color: #ff4722;
}
.promoCodeAmount {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.addAmount {
    font-size: 30px;
    transition: transform 0.2s ease-in-out;
}
.addAmountDisabled {
    color: silver;
    pointer-events: none;
    user-select: none;
}
.addAmount:hover {
    transform: scale(1.2);
    cursor: pointer;
}
.singleAmountDeleted {
    animation: fadeOutUp 0.5s forwards;
}
.deleteCode  {
    transition: transform 0.2s ease-in-out;
}
.deleteCode:hover {
    cursor: pointer;
    transform: scale(1.2);
}

/* Cambios de color */
.field label {
    color: black;
}

td {
    color: black!important;
    font-weight: 400;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: none;
    }

    to {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }
}