html,
body {
    display: block;
    margin: 0;
    width: 100%;
    height: 100%;
    font-family: 'Montserrat';
    color: #fff;
}

body{
    
}

/* font styles classes */
.yellow {
    color: #ffcf00;
}

.italic {
    font-style: italic;
}

.semibold {
    font-weight: 600;
}

.bold {
    font-weight: 700;
}

.black {
    font-weight: 900;
}

#main-container {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 100%;
    flex: 1;
    flex-direction: column;
    background: -moz-linear-gradient(180deg, rgba(64, 70, 106, 1) 0%, rgba(3, 3, 5, 1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(64, 70, 106, 1) 0%, rgba(3, 3, 5, 1) 100%);
    background: linear-gradient(180deg, rgba(64, 70, 106, 1) 0%, rgba(3, 3, 5, 1) 100%);
    /*  opacity: .5;*/
}

#main-container:before,
#main-container:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    pointer-events: none;
    user-select: none;
}

#main-container:before {
    top: 0px;
    left: 0px;
    background: url(./img/bkg-top-left.png) no-repeat;
    background-position: top left -50px;
    background-size: 25%;
    z-index: 3;
}

#main-container:after {
    bottom: 0px;
    right: 0px;
    background: url(./img/bkg-bottom-right.png) no-repeat;
    background-position: bottom right;
    background-size: 55%;
    z-index: 1;
}

#header {
    display: flex;
    min-height: 150px;
    z-index: 3;
    position: relative;
}

.logo-novartis:before {
    content: '';
    background: url(./img/logo-novartis.png) no-repeat;
    background-position: top right;
    background-size: auto 100%;
    position: absolute;
    top: 0px;
    right: 0px;
    height: 100%;
    width: 100%;
    max-height: 150px;
    pointer-events: none;
}


#content {
    position: relative;
    display: flex;
    flex: 1;
    z-index: 3;
}

#content.logo-corner {
    background: url(./img/logo.png) no-repeat;
    background-position: bottom 40px left 60px;
    background-size: 10% auto;
}

#footer {
    background: #ffF;
    height: 50px;
    z-index: 0;
    line-height: 50px;
    font-size: 1em;
    padding-left: 60px;
    font-weight: 300;
    color: #000;
}

a,
a:visited {
    color: inherit;
    text-decoration: none;
}

a:hover {
    font-weight: 400;
}

.col {
    display: flex;
    flex: 1;
    position: relative;
    flex-direction: column;
}

.row {
    display: flex;
    flex: 1;
    position: relative;
    flex-direction: row;
}

#header .row{
    align-items: center;
}

.border-shadow-bottom:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 100%;
    left: 0px;
    background: url(./img/border-shadow.png) no-repeat;
    background-position: top left;
    background-size: 100% auto;
    pointer-events: none;
}

.border-shadow-left:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 100%;
    background: url(./img/border-shadow-left.png) no-repeat;
    background-position: top right;
    background-size: auto 100%;
    pointer-events: none;
}


/* header */
.user-welcome {
    height: 50%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end; 
    font-size: 2em;
    font-weight: 900;
    color: #fff;
    padding-right: 20px;
    align-items: flex-start;
    margin-top: 35px;
    flex: 0;
    margin-left: 25%;
}

.welcome {
    position: relative;
}

.welcome:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    right: calc(100% + 10px);
    background: url(./img/user.png) no-repeat;
    background-position: top right;
    background-size: auto 100%;
    pointer-events: none;
}

.user-info {
    height: 50%;
    border-left: 1px solid #fff;
    justify-content: center;
    padding-left: 12px;
    margin-top: 30px;
}

.user-name {
    font-weight: 700;
    line-height: 2em;
}

.btn-logout {
    color: #fff;
    text-decoration: underline;
}

.team {
    color: #ffcf00;
    flex: 0;
    padding: 6px;
    margin-left: 15%;
    justify-content: center;
    height: 40%;
    font-size: 1.3em;
}

.team:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    right: calc(100% + 10px);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: auto 100%;
    pointer-events: none;
}

.team.team-1:before ,
.ranking-team-img.team-1 {
    background-image: url(./img/team-1.png);
}
.team.team-2:before ,
.ranking-team-img.team-2 {
    background-image: url(./img/team-2.png);
}
.team.team-3:before ,
.ranking-team-img.team-3 {
    background-image: url(./img/team-3.png);
}
.team.team-4:before ,
.ranking-team-img.team-4 {
    background-image: url(./img/team-4.png);
}
.team.team-5:before ,
.ranking-team-img.team-5 {
    background-image: url(./img/team-5.png);
}
.team.team-6:before ,
.ranking-team-img.team-6 {
    background-image: url(./img/team-6.png);
}

.team.team-11:before ,
.ranking-team-img.team-11 {
    background-image: url(./img/team-11.png);
}
.team.team-12:before ,
.ranking-team-img.team-12 {
    background-image: url(./img/team-12.png);
}
.team.team-13:before ,
.ranking-team-img.team-13 {
    background-image: url(./img/team-13.png);
}
.team.team-14:before ,
.ranking-team-img.team-14 {
    background-image: url(./img/team-14.png);
}
.team.team-15:before ,
.ranking-team-img.team-15 {
    background-image: url(./img/team-15.png);
}
.team.team-16:before ,
.ranking-team-img.team-16 {
    background-image: url(./img/team-16.png);
}
.team.team-17:before ,
.ranking-team-img.team-17 {
    background-image: url(./img/team-17.png);
}

.team.team-99:before ,
.ranking-team-img.team-99 {
    background-image: url(./img/team-99.png);
}

.team-label {
    font-weight: 700;
    line-height: 2em;
}

.team-name {}

.team-score {
    justify-content: center;
    font-size: 1.3em;
    flex: 0;
    margin-left: 5%;
}

.team-score-label {
    padding: 14px 28px;
    background: rgba(255, 255, 255, .2);
    border-radius: 50px;
    border: 1px solid #5c6f98;
}

.team-score-label span {
    font-weight: 700;
    margin-left: 30px;
    flex: 1;
    text-align: right;
}


#content.login {
    z-index: 10;
    font-size: 1.6em;
}

#content.login>.col {
    padding: 5%;
    padding-top: 150px;
}

#content.login>.col:first-child {
    background: url(./img/bkg-top-left.png) no-repeat;
    background-position: top left;
    background-size: 50%;
    flex: 1.3;
    align-items: flex-end;
}

.logo {
    width: 80%;
}

.login .logo {
    margin-right: 20%;
    width: 60%;
}

.recuparpassword label {
    display: inline-block;
}

input[type="password"],
input[type="email"],
input[type="text"] {
    padding: 14px 28px;
    background: rgba(255, 255, 255, .58);
    border-radius: 50px;
    border: 1px solid #5c6f98;
    color: #fff;
    font-size: 0.7em;
}

.login input,
.login .btn-yellow {
    width: 60%;
    margin-bottom: 50px;
    margin-top: 20px;
}

.login input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    vertical-align: middle;
}

.btn-yellow {
    padding: 10px 28px;
    background: #f7c96b;
    border-radius: 50px;
    border: 1px solid #5c6f98;
    color: #122e5c;
    text-align: center;
    font-weight: 900;
    font-size: 0.9em;
    cursor: pointer;
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
}


::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #5c6f98;
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #5c6f98;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #5c6f98;
}

:focus-visible {
    outline: none;
}


/* index  */
#content.index>.col {
    padding: 40px 3%;
}

#content.index>.col:first-child {}

#content.index>.col:first-child>div {
    margin: 80px 15% 20px 20%;
    display: flex;
    flex-direction: column;
    flex: 1;
}


.btn-event-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
}

.btn-event {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 25%;
    margin: 2%;

    /* justify-content: center; */
    align-items: center;
    border-radius: 20px;
    border: 3px solid #fff;
    cursor: pointer;
    padding: 10px;
    font-size: 1.5em;
    opacity: .5;
    pointer-events: none;
    text-align: center;
}
.btn-event.hidden{
    display: none;
}
.btn-event span{
    position: relative;
    z-index: 10;
}
.btn {
    transition: all .2s;
    transform-origin: 50%;
    -webkit-transform-origin: 50%;
    -moz-transform-origin: 50%;
    -o-transform-origin: 50%;
    -ms-transform-origin: 50%;
    user-select: none;
    cursor: pointer;
}

.btn:hover {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
}

.btn-event:after {
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    left: 10px;
    background-image: url(./img/padlock-closed.png);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
}

.btn-event.available:after {
    background-image: url(./img/padlock-opened.png);
}

.btn-event>div {
}

.btn-event.available {
    opacity: 1;
    pointer-events: all;
}


.btn-event.bkgQuestion:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-image: url(./img/bkg-question-mark.png);
    background-repeat: no-repeat;
    background-position: 70%;
    background-size: auto 120%;
    opacity: 0.2;
    z-index: 0;
}

.event-type {
    padding: 0 10px;
    flex: 1;
    display: flex;
    align-items: center;
    flex-basis: 82px;
}

.event-play {
    background: url(./img/play.png) no-repeat;
    background-position: center;
    background-size: auto 100%;
    width: 100%;
}

.index .description {
    font-size: 1.5em;
    padding-right: 20%;
    margin: 40px 0;
}

.btn-content-repository {
    display: inline-block;
    border-radius: 20px;
    border: 3px solid #fff;
    cursor: pointer;
    padding: 20px 40px;
    font-size: 1.5em;
    text-align: center;
    background: #407dc9;
    align-self: baseline;
    justify-self: flex-start;
    margin-right: 20px;
    color: #fff;
}
.btn-content-repository.PC{
    background-color: #a1d961;
}

#repository-title .btn-content-repository {
    max-width: 100px;
    max-height: 90px;
    padding: 15px 35px;
    font-size: 0.5em;
    margin-top: 20px;
}

/*evento*/

.centered {
    align-items: center;
    text-align: center;
}

.event-page-date {
    font-size: 3em;
    position: relative;
    text-align: center;
    line-height: 2em;
    padding: 0 50px;
    margin-top: 3%;
}

.event-page-date:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 100%;
    left: 0px;
    background: url(./img/border-shadow-center.png) no-repeat;
    background-position: top center;
    background-size: 100% auto;
    pointer-events: none;
}

.event-page-title {
    font-size: 2.6em;
    line-height: 1.4em;
    margin: 50px 0;
}

.event-page-buttons {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
}

.event-page-buttons .btn {
    margin: 10px 40px 40px 40px;
    width: 220px;
    height: 120px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.btn-exercise {
    background-color: #a1d862;
    justify-content: center;
    font-weight: 900;
    color: #1c428a;
    font-size: 2.4em;
}

/* repository */
#repository-title {
    font-size: 2em;
    margin: 40px 0;
    position: absolute;
    left: 7%;
    width: 10%;
    text-align: left;
}

#repository {
    /* flex: 1; */
    background: rgba(255, 255, 255, .8);
    min-width: 50%;
    padding: 1%;
    overflow: auto;
}

.repository-row {
    margin: 30px 0;
}

.repository-title {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 16%;
    margin: 0 2%;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    border: 3px solid #fff;
    padding: 10px;
    font-size: 1.4em;
    text-align: center;
    align-self: flex-start;
    user-select: none;
    opacity:.5;
    pointer-events: none;
    min-height: 80px;
}

.available .repository-title {
    pointer-events: auto;
    opacity:1
}
.repository-title:before {
    content: '';
    width: 16px;
    height: 16px;
    position: absolute;
    top: 8px;
    left: 8px;
    background-image: url(./img/padlock-closed.png);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
}

.available .repository-title:before {
    background-image: url(./img/padlock-opened.png);
}


.download-icon {
    background: url(./img/download.png) no-repeat;
    background-position: center left;
    background-size: auto 90%;
    pointer-events: none;
    height: 100%;
    width: 20px;
    margin-right: 10px;
}

.play-mini-icon {
    background: url(./img/play-mini.png) no-repeat;
    background-position: center left;
    background-size: auto 90%;
    pointer-events: none;
    height: 100%;
    width: 20px;
    margin-right: 10px;
}

.repository-content {
    flex: 1;
}

.repository-file-row {
    margin-bottom: 18px;
    color: #122e5c;
    font-weight: 600;
    user-select: none;
}
.repository-file-row .filename{
    flex: 1;
    text-align: left;
}

.repository-file-row:not(.no-file):hover {
    cursor: pointer;
    text-decoration: underline;
}

.no-file {}

.overflow-auto{
    overflow: auto;
}



.error{
    color: red;
}



/* policy  */
#policy-title {
font-size: 2em;
    margin: 100px 0;
    position: absolute;
    left: 7%;
    width: 15%;
    text-align: left;
}

#policy {
    /* flex: 1; */
    background: rgba(255, 255, 255, .8);
    width: 50%;
    padding: 1%;
    overflow: auto;
    color: #111;
    text-align: left;
}


#btn-home{
background: url(./img/btn-home.png) no-repeat;
    background-position: top center;
    background-size: 100%; 
    height: 60px;
    width: 60px;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    cursor: pointer;
}


/*ranking*/
.ranking-container{
    background: rgba(255, 255, 255, 0.7);
    align-items: center;
}

.ranking-container>.col:first-child{

justify-content: center;

align-items: center;

font-size: 2em;

color: #f5364c;

text-align: center;

flex: 0.6;
}

.ranking-team-row{
    background: #407dc9;
    margin: 0.8%;
    align-content: center;
    position: relative;
    width: 70%;
    padding: 8px 10px;
    border: 1px solid #fff;
    border-radius: 12px;
    align-items: stretch;
}
.ranking-team-name{
    color: #ffcf00;
    font-size: 1.3em;
    align-items: center;
    display: flex;
    flex: 2;
}

.ranking-team-img{
    width: 60px;
    background-position: left;
    background-size: auto 100%;
    background-repeat: no-repeat;
}

.ranking-team-row .team-score{flex: 1;flex-basis: 10%;}
.ranking-team-row .team-score-label {
    background: #adb2c4;
    display: flex;
}

.ranking-team-row::before{
    content: attr(data-order);
    position: absolute;
    top: 3px;
    right: calc(100% + 10px);
    background: #307d4f;
    border-radius: 100%;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    font-size: 2em;
    font-weight: 700;
}


.ranking-container .cup{
    width: 50%;
}
#ranking{}

.activity-container{
    display: flex;
        flex: 1 0 auto;
    background: rgba(255, 255, 255, 0.7);
}

.jconfirm{
    color: #333;
    font-weight: 400;
} 