/* reset está no fonts.css */

/* ESTILOS GERAIS */
html{
    font-size:15px;
}
html, body {
    font-family: 'flamabook', sans-serif !important;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
    height: 100%;
    margin:0;
    /*-webkit-font-smoothing: subpixel-antialiased;*/
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
body{
    color: #869091;
    background: #141414;
}

a{ color: #d3d3d3; }
a:hover, a:active{ color: #fff; }

#logo_estadao {
    position: fixed;
    font-family: 'Marcas Estadão';
    font-size: 1.8rem;
    color: #869091;
    line-height: 1.8rem;
    padding-left: 20px;
    z-index: 10000;
    top:10px;
}
#logo_estadao:before {
    content: "";
}


#shareBar{
  position: fixed;
  top: 10px; right: 15px;
  z-index:10000000;
}
#shareBar a{
  padding: 0 0.3rem;
  font-size: 1.4rem;
  color: #869091;
}
#shareBar a:hover{
  color: #E2DDD5;
}

#topBar{
    width: 100%;
    position: fixed;
    height: 45px;
    z-index:100;
    background: #000;
    box-shadow: 0px 0px 12px rgba(0,0,0,0.6);
}
#topBar a{
    width: 210px;
    left: 20px; top: 50px;
    position: fixed;
    display: none;
}
#topBar a img{
    width: 100%;
}

/* home - abertura */
#background{
    position: fixed;
    width: 100%; height: 100%;
    text-align: center;
    overflow: hidden;

    background: #141414 url('../img/bg/whoopi.jpg') no-repeat right center;
    background-size: cover;
    opacity: 0.12;
}

#background img{
    height: 100%;
}

#opening {
   width: 50%;
   position: fixed;
   z-index:10;
}
#opening h1{
    display: block;
    font-size: 3.8rem;
    font-weight: normal;
    color: #B6954F;
    text-align: left;
    /*
    background: transparent url('../img/titulo.svg') no-repeat top left;
    background-size: calc(100% - 11rem) auto;
    */

    position: relative;
    width: calc(90% - 8rem);
    max-width: calc(520px - 9rem);
    margin: auto;
    padding-top: 24%;
    padding: 24% 8rem 1rem 1rem;
}

#opening h1 img{
    width: 100%;
    max-width: calc(520px - 9rem);
    padding:0;
}

#opening p{
    font-family: 'flamabook', sans-serif !important;
    position: relative;
    width: calc(90% - 8rem);
    max-width: calc(520px - 9rem);
    text-align: left;
    top: 24%;
    padding: 0.5rem 8rem 1rem 1rem;
    margin: auto;

    font-size: 1.25rem;
    letter-spacing: 0.03rem;
    line-height: 1.4;
    color: #869091;
    opacity: 0.9;
}


#loader{
    display: inline-block;
    vertical-align: middle;
}
#loader svg{
}
#loader svg path,
#loader svg rect{
  fill: #B6954F;
}


#opening a{
    display: inline-block;
    padding: 3rem 0 1rem 0;
    max-width: 90%;

    text-transform: uppercase;
    line-height: 1.4;
    color: #B6954F;
    opacity: 0.6;
    cursor: default;
}
#opening a.clickable:hover{
    color: #C6A56B;
}
#opening a.clickable{
    opacity: 1;
    cursor: pointer;
}

#graph{
   width: 100%; height: 100%;
   position: fixed;
   z-index:9;
}

#graph img.oscarImg{
    height: 75%;
    position: absolute;
    bottom: 0; left: 50%;

    transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);

    transition: height 1s ease-out 0.2s;
    -moz-transition: height 1s ease-out 0.2s;
    -webkit-transition: height 1s ease-out 0.2s;

    z-index:0;
}
#graph img.oscarImg.small{
    height: 37%;
}

#graph svg{
    position: absolute;
    width: calc(100% - 500px); height:80%;
    bottom:0; left: 50%;

    transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    z-index:1;
}

#graph svg circle{
    cursor: pointer;
    opacity: 1;

    transition: all 0.2s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
}
#graph svg circle:hover, #graph svg circle.hover{
    fill: #fff;
    stroke-opacity: 0.5;
}
#graph svg circle.disabled, #graph svg circle.yearDisabled{
    opacity: 0.25;
}


#yearBox{
    position: absolute;
    width: 320px; height: 6.5rem;
    overflow: hidden;
    text-align: center;
    top: 50px;left: 50%;

    transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}
#yearBox ul{
    font-size:0;
    white-space: nowrap;
    margin-left:320px;
}
#yearBox ul li{
    display: inline-block;
    width: 320px; height: 5rem;
    font-size: 3.5rem; line-height: 4.55rem;
    color: #E2DDD5;
    font-family: 'flamalight', sans-serif !important;
}
#yearBox ul li#year_all{
    font-size: 3.5rem;
}
#yearBox a{
    font-size:4rem;
    position: absolute;
    display: block;
    width: 50px; height: 50px;
    color: #677275; opacity: 0.6;
    top:7px; left: -15px;
    display:none;
}
#yearBox a:hover{
    color: #E2DDD5;
}
#yearBox a.yearNext{
    left: auto;
    right: -15px;
}
a.yearBack{
    position: absolute; display: block;
    width: 50px; height: 50px;
    color: #677275; opacity: 0.6;
    font-size:1.5rem;
    left: 50%; top: 75px;
    margin-left: 185px;
    display: none;
}

#nomineeList{
    position: fixed;
    left: 20px; top:180px;
    width: 225px; height: calc(100% - 200px);
    overflow: hidden;
    z-index:10;
    font-family: 'flamabook', sans-serif !important;

    transform: translateX(-150%);
    -moz-transform: translateX(-150%);
    -webkit-transform: translateX(-150%);

    transition: all 0.4s ease-in 0.5s;
    -moz-transition: all 0.4s ease-in 0.5s;
    -webkit-transition: all 0.4s ease-in 0.5s;
}

#nomineeList.open{
    transform: translateX(0);
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
}

#nomineeList .listContainer{
    width: calc(100% + 22px);
    height: 100%;
    overflow: hidden;
    overflow-y: scroll;

}
#nomineeList p{
    max-width: 210px;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
#nomineeList ul{
    display: block;
    margin:0; padding:0;
    max-width: 210px;

}
#nomineeList ul li{
    font-family: 'flamamedium', sans-serif !important;
    display: block;
    border-bottom: 1px solid #333;
    background: rgba(0,0,0,0.15);
    padding: 1rem;
    color: #677275;
    text-transform: uppercase;
    cursor: pointer;

    transition: all 0.3s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
}
#nomineeList ul li:hover{
    background: rgba(50,50,50,0.25);
    color: #8C9496;

    transition: all 0.3s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
}
#nomineeList ul li.raceBlack{
    color:#B6954F;
}

#legenda{
    position: fixed;
    padding: 0.5rem 1rem;
    right: 20px; top: 55px;
    background: rgba(0,0,0,0.2);
    width: calc(240px - 2rem);

    transform: translateX(120%);
    -moz-transform: translateX(120%);
    -webkit-transform: translateX(120%);

    transition: all 0.8s ease-out 0.3s;
    -moz-transition: all 0.8s ease-out 0.3s;
    -webkit-transition: all 0.8s ease-out 0.3s;
}
#legenda.open{
    transform: translateX(0);
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
}

#legenda .description{
    font-family: 'flamabook', sans-serif;
    font-size: 1.0rem;
    color:#B6954F;
    text-transform: uppercase;
    margin: 0.5rem 0;
}
#legenda .description.other{
    color:#869091;
}
#legenda .description .legNum{
    display: inline-block;
    text-align: left;
    /*font-family: 'flamamedium', sans-serif;*/
    line-height: 1.2rem;
    font-size: 1.8rem;
    vertical-align: middle;
    width: 80px;
    float: right;
}

#details{
    position: fixed;
    right: 20px; top:180px;
    width: calc(235px - 1rem); height: calc(100% - 200px);
    overflow: hidden;

    font-size: 1.1rem;
    z-index:10;

    transform: translateX(150%);
    -moz-transform: translateX(150%);
    -webkit-transform: translateX(150%);

    transition: all 0.4s ease-out 0.3s;
    -moz-transition: all 0.4s ease-out 0.3s;
    -webkit-transition: all 0.4s ease-out 0.3s;
}

#details.open{
    transform: translateX(0);
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
}

#details .container{
    font-family: 'flamamedium', sans-serif !important;
    width: calc(100% + 20px);
    height: 100%;
    overflow: hidden;
    overflow-y: scroll;
    color: #869091;
}
#details .container h3{
    font-size: 2.2rem;
    line-height:2.2rem;
    color: #E2DDD5;
    font-family: 'flamalight', sans-serif !important;
    font-weight: normal;
    margin:0 0 0.5rem 0;
    padding: 0;
}
#details .container h3.raceBlack{
    color:#B6954F;
}

#details .container p{
    max-width:240px;
    margin: 0;
    padding: 1rem 0;
    background: transparent;/*rgba(0,0,0,0.2);*/
    border-bottom: 1px solid #333;
}
#details .container p.nomNumber{
    color: #E2DDD5;
    text-transform: uppercase;
    margin:0 0 1rem 0;
    padding: 0;
    background: transparent;
    border-bottom: none;
    /*border-bottom: 1px dotted #B6954F;*/
}
#details .container p b{
    color: #E2DDD5;/* B6954F */
    font-weight: normal;
}
#details .container p span.icon{
    background: transparent url('../img/oscar-icon.png') no-repeat center;
    background-size: auto 100%;
    display: inline-block;
    height: 20px; width: 14px;
    vertical-align: top;
}

#infoBox{
    position: fixed;
    padding: 0.3rem 1rem;
    background: rgba(0,0,0,0.85);
    border: 1px solid #000;
    text-align: center;
    text-transform: uppercase;
    font-family: 'flamamedium', sans-serif;
    font-size: 1.3rem; line-height: 1.3rem;
    color: #E2DDD5;
    z-index:100000000000;

    transform: translate(-50%, -130%);
    -moz-transform: translate(-50%, -130%);
    -webkit-transform: translate(-50%, -130%);
}
#infoBox b{
    font-size: 0.95rem; line-height: 1rem;
    display: block;
}
#infoBox b.raceBlack{
    color: #B6954F;
}



/********/
/* switch on off */
/*------------------------------------------------*/
/* Switch SECTION START*/
/*------------------------------------------------*/
#typeSwitch{
    width: 220px;
    top: calc(50px + 6rem);
    font-family: 'flamamedium', sans-serif;
    font-size: 0.9rem;
    color: #869091;
    position: fixed;
    left: 50%; right: auto;
    z-index:10000;
    display: none;

    margin-left: -110px;
}
#typeSwitch span{
  display: inline-block;
  vertical-align: middle;
  margin-top: -0.6rem;
  padding: 0 0.5rem 0.2rem 0.5rem;
  text-transform: uppercase;
  cursor: pointer;
}
#typeSwitch span.active{
  color: #E2DDD5;
}
.Switch {
    position: relative;
    display: inline-block;
    font-size: 1.6em;
    font-weight: bold;
    color: #ccc;
    text-shadow: 0px 1px 1px rgba(255,255,255,0.8);
    height: 14px;
    padding: 6px 6px 5px 6px;
    border: 1px solid #869091;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 2px;
    background: #869091;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.1), inset 0px 1px 3px 0px rgba(0,0,0,0.1);
    cursor: pointer;
}
.Switch span { display: inline-block; width: 30px; }
.Switch span.On { color: #E2DDD5; }

.Switch .Toggle {
    position: absolute;
    top: 1px;
    width: 37px;
    height: 20px;
    border-radius: 2px;
    z-index: 999;

    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    -ms-transition: all 0.15s ease-in-out;
}

.Switch.On .Toggle { left: 2%; }
.Switch.Off .Toggle { left: 54%; }


/* Round Switch */
.Switch.Round {
    padding: 0px 20px;
    border-radius: 40px;
}

.Switch.Round .Toggle {
    border-radius: 6px;
    width: 12px;
    height: 12px;
}

.Switch.Round.On .Toggle { left: 3%; background: #E2DDD5; }
.Switch.Round.Off .Toggle { left: 58%; background: #E2DDD5; }
/********/


@media screen and (max-width: 860px) {
    #background{
        position: fixed;
        width: 100%; height: 100%;
        text-align: center;
        overflow: hidden;

        background: #141414 url('../img/bg/whoopi.jpg') no-repeat center right;
        background-size: cover;
        opacity: 0.16;
    }
    #opening{
        width: 100%;
    }
    #opening h1{
        width: 48%;
        left: 50%; top: 55px;
        margin:0; padding:0;

        transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
    }
    #opening p{
        width: 80%;
        left: 50%; top: 60px;
        margin:0; padding:0;
        font-size: 1.05rem;
        text-align: center;

        transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
    }
    #opening p a{
        width: 100%;max-width: 100%;
        margin:1.5rem 0 0 0; padding:0;
    }
    #topBar a{
        width: 70px;
        left: 50%; top: 5px;
        transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);

    }
    #yearBox{
        top:70px;
        z-index:10000;
    }
    #yearBox ul li{
        font-size: 4rem;
    }

    #typeSwitch{
        top:135px;
        margin-left: -110px;

        z-index:10001;
    }
    #legenda, #legenda.open{
        top:170px; left: 0; right:0; padding:0;
        width: calc(100% - 2rem);
        padding-left:2rem;
        text-align: center;
        background: transparent;

        transition: none;
        -moz-transition: none;
        -webkit-transition: none;
    }
    #legenda .description{
        font-family: 'flamabook', sans-serif;
        width: 100px;
        font-size: 0.9rem;
        margin: 0.2rem 0;
        text-align: left;
        display: inline-block;
    }
    #legenda .description.black{
        float: left;
    }
    #legenda .description.other{
        float: right;
        text-align: right;
        padding-right: 15px;
    }
    #legenda .description span.legNum{
       display: block;
       width: auto; float: none;
    }
    #legenda .description.other span.legNum{
       display: block;
       width: auto; float: right; clear: left;
    }
    #graph svg{
        width: 85%;
    }
    #graph img.oscarImg, #graph img.oscarImg.small{
        height: 35%;
    }
    #nomineeList, #details{
        display: none;
    }
}

@media screen and (max-width: 860px) and (min-aspect-ratio: 8/7) {
    #opening h1{
        width: 30%; top: 50px;
    }
}

/*
@media screen and (max-aspect-ratio: 8/9) {
    html, body {
        font-size: 12px;
    }
    #opening img{
        height: auto;
        max-width: 45%;
        display: none;
    }
    h1{
        font-family: 'flamalight', sans-serif !important;

        width: calc(100% - 4rem);

        font-size: 4rem;
        text-align: center;
        padding: 2rem;
        background: rgba(0,0,0,0.35);
        position: fixed; bottom: 0;

        transform: translateY(0);
        -moz-transform: translateY(0);
        -webkit-transform: translateY(0);
    }

    #opening p{
        width: calc(100% - 4rem);
        text-align:center;
        padding: 2rem;
        top: 2rem;
        transform: translateY(0);
        -moz-transform: translateY(0);
        -webkit-transform: translateY(0);
    }
}*/
