/* 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; padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body{
    color: #333;
    background: #fff;
    overflow: hidden;
}

a{ color: #111; }

a:hover, a:active{ color: #000; }

#opening{
  font-family: 'flamabook', sans-serif;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index:10000;
  text-align: center;

  background: #fff; /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(rgba(255,255,255,0.65) 40%, rgba(255,255,255,0) 98%); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(rgba(255,255,255,0.65) 40%, rgba(255,255,255,0) 98%); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(rgba(255,255,255,0.65) 40%, rgba(255,255,255,0) 98%); /* For Firefox 3.6 to 15 */
  background: linear-gradient(rgba(255,255,255,0.65) 40%, rgba(255,255,255,0) 98%); /* Standard syntax */

  /*
  display: none;
  */
}

h1 {
  color: #333333;
  font-family: 'SerifGothicLT-Black';
  text-transform: uppercase;
  font-size: 8rem;
  line-height: 8rem;
  padding: 1rem;

  position: relative;
  top: 40%; left: 50%;

  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
}
h1 span {
  color: #f4874c;
}
h1 #subtitulo {
  color: #333333;
  font-family: 'flamabook';
  text-transform: uppercase;
  display: block;
  font-size: 3.3rem;
  line-height: 4rem;
}


#opening p.intro{
  position: relative;
  top: 35%; left: 50%;

  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);

  font-size: 1.35rem;
  line-height: 1.4em;
  max-width: 530px;
  margin: 0; padding:0;
}

#btStart{
  width: 160px;
  display: block;
  border-radius: 4px;
  color: #fff;
  background: #f4874c;
  padding: 6px;
  text-transform: uppercase;
  font-size: 1.2rem;

  position: relative;
  top: 40%; left: 50%;

  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
}
#btStart:hover{
  opacity:0.8;
}

#logoTop {
  top: 5px; left: 15px;
  font-family: 'Marcas Estadão';
  font-size: 2rem;
  position: fixed;
  width: 118px;
  height: 45px;
  opacity: 1;
  color: #333;

  z-index:1000000;
  position: fixed;
}

#logoTop::before {
    content: "";
}

#logoTop:hover {
  color: #777;
}

#shareBar{
  position: fixed;
  top: 10px; right: 15px;
  z-index:10000000;
}

#shareBar a{
  padding: 0 0.3rem;
  font-size: 1.4rem;
  color: #333;
  cursor: pointer;
}

#shareBar a:hover{
  color: #777;
}

#mapHolder{
  width: 100%;
  height:100%;
  position: fixed;
  top:0;
}

#map{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

#infoWin{
  background: transparent;
  opacity:0;

  transition: all 0.1s;
  -webkit-transition: all 0.1s;
}
#infoWin.visible{
   opacity:1;
}
#infoWin .gm-style-iw{
  top: 0 !important;
  left: 0 !important;
  color: #777;
  font-size: 13px;
  border-radius: 6px;
  background: #fff;
  overflow: visible;
  margin-right: -30px;
  padding-right: 25px;
  /*transition: all 0.1s;
  -webkit-transition: all 0.1s;*/
}
#infoWin .gm-style-iw:after{
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 18px 0 18px;
  border-color: #fff transparent transparent transparent;
  position: absolute;
  bottom: -15px;
  left:50%;

  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}
#infoWin .gm-style-iw > div{
  min-width: 100px !important;
  font-family: 'flamamedium', sans-serif !important;
  font-size: 0.9rem;
  line-height: 1.25rem;
  margin: 10px 0 10px 15px;
  /*
  transition: all 0.1s;
  -webkit-transition: all 0.1s;*/
}
#infoWhiteBox{
  display: none;
}
#infoBtClose{
  background: #fff;
  border-radius:10px;
  border: 2px solid #fff;
}

#infoTitle{
  font-size: 1.25em;
  text-transform: uppercase;
  border-bottom: 1px dotted #ccc;
  padding: 5px 0;
  margin-bottom: 5px;
  color: #111;
}

#infoText{
  font-size: 1.1em;
  color: #555;
}

#infoText img{
  display: block;
  margin-bottom: 4px;
  width: 220px;
}
.imgDescription{
  font-family: 'flamabook', sans-serif !important;
  font-size: 0.95em;
}

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#overlay {
  display: none;
}

#canvas {
  position: absolute;
  z-index: 1;
  top: 0;
  background-color: rgba(0,0,0,0.5);
}

circle{
  cursor: pointer;
  opacity:0;
}

#torchPath{
  stroke-dasharray: 6800 6500;
  animation: drawline 6s linear;
}

#selectors{
  width: 100%;
  max-width: 200px;
  position: fixed;
  z-index:1000;
  right: -1px;
  top: 0px;
  height: calc(100% - 90px);
  display: none;
}

.selectorGroup{
  position: absolute;
  width: 100%;
  max-width: 200px;
  right:0;
}
.selectorGroup .box{
  position: relative;
}

#group1{
  top: 50px;
  z-index: 3;
}
#group1 .box{
  top: 0;
  height: 36px;
  overflow: visible;
  z-index: 3;
}
#group2{
  top: 170px;
  z-index: 2;
}
#group1 .box{
  height: 34px;
}
#group3{
  top: 290px;
  height: calc(100% - 280px);
  z-index: 1;
}
#group3 .box{
  max-height: calc(100% - 60px);
  overflow: hidden;
  overflow-y: scroll;
  overflow-x: hidden;
  width: calc(100% + 20px);
  /*height: calc(100% - 380px);*/
}
#group3 .box ul{
  display: block;
}

.selectorGroup .box{
  border: 1px solid #fff;
  padding: 0;
  background: rgba(195,221,221, 0.8);
}

.selectorGroup label{
  font-size: 21px;
  color: #333;
  /* color: #fff; */
  display: block;
  height: 40px; line-height:50px;
  text-transform: uppercase;
  padding-bottom: 5px;

  background: rgba(195,221,221,0.8); /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(rgba(195,221,221,0.2) 10%, rgba(195,221,221,1) 100%); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(rgba(195,221,221,0.2) 10%, rgba(195,221,221,1) 100%); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(rgba(195,221,221,0.2) 10%, rgba(195,221,221,1) 100%); /* For Firefox 3.6 to 15 */
  background: linear-gradient(rgba(195,221,221,0.2) 10%, rgba(195,221,221,1) 100%); /* Standard syntax */
}

.selectorGroup label .btAll{
  height: 30px;
  font-size: 0.6em;
  float: right;
  margin-right: 1em;
  color: #000;
  display: none;
}

.selectorGroup label .btAll.visible{
  display: inline-block;
}

.selectorGroup label .btAll span{
  margin-left: 4px;
  color: #000;
}

.selectorGroup select, .selectorGroup .fakeSelect {
  display:block;
  background: transparent;
  height: 34px;
  width: calc(100% - 10px);
  border: 0;
  border-radius: 0;
  padding: 0 15px;
  font-size: 13px;
  line-height: 34px;
  color: #000;
  -webkit-appearance: none;
  background: transparent url("../assets/img/seta.png") no-repeat 98% 50%;
  text-decoration: none;
  cursor: pointer;

  transition: background-color 0.3s;
}
.selectorGroup select:hover, .selectorGroup .fakeSelect:hover{
  background-color: rgba(255,255,255,0.25);
}
.selectorGroup .fakeSelect{
  height: 32px;
  width: calc(100% - 30px);
  line-height: 32px;

  background-position: 93% 50%;
}

.selectorGroup select:focus{
  border: 1px dotted #fff;
  box-shadow: none;
  outline:none;
}

.selectorGroup ul{
  list-style: none;
  padding: 0; margin: 0;
}

.selectorGroup ul li{
  list-style: none;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding: 8px 15px;
  display: block;
  cursor: pointer;

  transition: background-color 0.3s;
  -webkit-transition: background-color 0.3s;
}

.selectorGroup ul li.active{
  /*background: rgba(255,255,255,0.6);*/
}

.selectorGroup ul li:hover{
  background: rgba(255,255,255,0.25);
}

.selectorGroup ul li:first-child{
  border-top: none;
}

/********************************/
/* datepicker */

.datepicker{
  position: absolute;
  background: #fff;
  width: 100%; min-height: 40px;
  overflow: hidden;
  padding: 15px 10px;
  display: none;
  margin: 1px 0 0 -1px;
  top: 32px;

  box-shadow: 5px 5px 6px rgba(0,0,0,0.15);
}

.datepicker .monthName {
  text-align: center;
  overflow: hidden;
}

.datepicker .monthName a{
  display: block; float:left;
  width: 20px;
  text-decoration: none;
}

.datepicker .monthName a.disabled{
  opacity: 0.2;
  cursor: default;
}

.datepicker .monthName span.currMonth{
  display: block; float:left;
  width: calc(100% - 60px);
}

.datepicker .weekDays, .datepicker .monthDays{
  width: calc(100% - 20px);
}

.datepicker .weekDays li, .datepicker .monthDays li{
  list-style: none;
  display: block; float: left;
  width: calc( 100% / 7);
  padding:0; margin: 6px 0 2px 0;
  text-align: center;
  font-size:12px;
  cursor: default;
}

.datepicker .weekDays li{
  color: #27b5cc;
}

.datepicker .monthDays li{
  position: relative;
  height: 21px;
  margin: 0 0 0px 0;
  color: #bbb;
}
.datepicker .monthDays li.enabled{
  cursor: pointer;
  color: #333;
}

.datepicker .monthDays li.active span.circle{
  background-color: #c3dddd;
}

.datepicker .monthDays li span.circle{
  position: absolute;
  left: 50%; top:50%;
  width: 22px; height: 22px;
  border-radius: 11px;
  background-color: #fff;
  z-index: 0;

  transition: background-color 0.3s;
  transform: translate(-50%, -50%);
}

.datepicker .monthDays li.enabled:hover span.circle{
  background-color: #e1e1e1;
}
.datepicker .monthDays li.enabled.active:hover span.circle{
  background-color: #c3dddd;
}

.datepicker .monthDays li span.day{
  position: absolute;
  left: 50%; top:50%;
  z-index:10;
  transform: translate(-50%, -50%);
}

/*************/
/* animation */
@keyframes drawline {
    0% {
        stroke-dashoffset: -6000;
    }

    100 {
        stroke-dashoffset: 0;
    }
}



@media screen and (max-width:520px){
  h1 {
    font-size: 4.5rem;
    line-height: 4.5rem;
  }
  h1 span {
    color: #f4874c;
  }
  h1 #subtitulo {
      font-size: 1.8rem;
      line-height: 2rem;
  }

  #opening p.intro{
    position: relative;
    top: calc(40% - 1em); left: 50%;
    width: calc(100% - 2em);

    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    font-size: 1.15rem;
    line-height: 1.2em;

    margin: 0; padding:0;
  }


  #mapHolder.halfHeight{
    height: 45%;
  }

  #map, #overlay, #selectors, #mapHolder {
    position: relative;
  }
  #map{
    height: 100%;
  }
  #mapHolder.halfHeight #map{
    bottom: 50%;
  }

  #selectors{
    width: calc(100% - 40px);
    padding: 0 20px;
    max-width: 100%;
    height: 55%;
  }

  .selectorGroup#group1,
  .selectorGroup#group2 {
    width: calc((100% - 10px)/2);
    max-width: 100%;
    position: relative;
    margin:0 10px 0 0;
    top:0;
    float: left;
  }
  .selectorGroup#group2 {
    margin:0;
  }

  .selectorGroup#group3{
    width: 100%;
    height: calc(100% - 80px);
    max-width: 100%;
    position: relative;
    margin:40px 0 0 0;
    top:0;
    clear: both;
  }
  .selectorGroup#group1 .box{
    top:0;
  }

  .selectorGroup#group3 .box{
    top:0;
    max-height: calc(100% - 55px);
    max-width: 100%;
    overflow-x: hidden;
  }

  .selectorGroup label{
    height: 45px;
    background: transparent; 
    text-align: left;
    font-size: 14px;
    line-height: 60px;
    text-transform: uppercase;
  }

  .datepicker{
    top: -182px;
    width: calc(100% - 20px);
    min-width: 130px;

    box-shadow: 3px 0 12px rgba(0,0,0,0.15)
  }

  .datepicker .monthName {
    /*width: 100%;*/
    position: relative;
  }

  .datepicker .weekDays, .datepicker .monthDays {
    width: 100%;
  }

  .datepicker .monthName span.currMonth{
    width: calc(100% - 40px);
  }

  .datepicker .monthDays li {
    height: 18px;
  }

  .datepicker .weekDays li, .datepicker .monthDays li{
    width: calc( 100% / 7);
    padding:0; margin: 1px 0 1px 0;
    text-align: center;
    font-size:11px;
    cursor: default;
  }

  .datepicker .monthDays li span.circle{
    position: absolute;
    left: 50%; top:50%;
    width: 18px; height: 18px;
    border-radius: 9px;

    transition: background-color 0.3s;
    transform: translate(-50%, -50%);
  }
}

@media screen and (max-width:320px){

  .selectorGroup#group1,
  .selectorGroup#group2,
  .selectorGroup#group3 {
    width: 100%;
    max-width: 100%;
    margin:0;
    float: none;
  }
  .selectorGroup label{
    height: 30px;
    line-height: 40px;
    padding:0;
  }
}

@media screen and (min-width:520px) and (max-height:560px){
  h1 {
    font-size: 4.5rem;
    line-height: 4.5rem;
    top: 30%;
  }

  h1 span {
    color: #f4874c;
  }

  h1 #subtitulo {
      font-size: 1.8rem;
      line-height: 2rem;
  }

  #opening p.intro{
    position: relative;
    top: calc(30% - 1em); left: 50%;
    width: calc(100% - 2em);
    max-width: 400px;

    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    font-size: 1.15rem;
    line-height: 1.2em;

    margin: 0; padding:0;
  }

  #opening #btStart{
    top: 30%;
  }

  .selectorGroup label{
    font-size: 13px;
    line-height: 25px;
    height: 25px;
    padding:0;
  }
  .selectorGroup ul li{
    padding: 4px 10px;
  }

  #group1{
    top: 5px;
  }
  #group2{
    top: 75px;
  }
  #group3{
    top: 145px;
    /*height: calc(100% - 110px);*/
    height: calc(100% - 134px);
  }
}