/*
azul estadão:   #006194
barra estadão:  #393b41
azul política:  #5C869C
azul escuro:    #023d5d
verde:          #8bbd4c
vermelho:       #e6535f
*/

html{
  font-size: 62.5%;
  height: 100%;
}

body {
  overflow-y: scroll;
  font-family: 'Flama';
  font-weight: 300;
  font-size: 1.6rem;
  height: 100%;
}

*{
  box-sizing: border-box;
}
/*
.entry-title {
    width: calc( 100% - 4rem );
    max-width: 97rem;
    padding: 0 .6rem;
}
*/

.brandbar {
    /*margin-top: 1.2rem;*/
}
.brandbar img {
    width: 110px;
    padding-top: 10px;
}

.hentry{
  min-height: 100%;
}

h1.entry-title {
  /*font-family: 'Estado Headline', serif;*/
  font-family: 'Flama', sans-serif;
  font-weight: 200;
  letter-spacing: 0.02em;
  margin: 4rem auto 4rem;
  width: 100%;
  max-width: 72rem;
  font-size: 5rem;
  line-height: 4.8rem;
  text-align: center;
  text-transform: uppercase;
  color: #efefef;
  position: absolute;
  width: 100%;
  left:50%;
  top:50%;
  text-shadow: 0 0 8px rgba(255,255,255,0.4);

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

h1.entry-title b{
  display: block;
  font-size: 9rem;
  margin-top: 2rem;
  /*color: #006393;*/
  color: #fff;
  text-shadow: 0 0 12px rgba(255,255,255,0.2);
}

p.lead{
  font-size: 1.8rem;
  line-height: 1.6;
  text-align: center;
  position: absolute;
  margin:18rem 0 0 0;
  z-index: 100;
  color: #ccc;
  width: 100%;
  left:50%;
  top:50%;
  letter-spacing: 0.035em;

  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  box-sizing: border-box;
  padding:0;
}

.entry-content{
  margin: 18rem 0;
}

.centered-content{
  width: calc( 100% - 4rem );
  max-width: 97rem;
  margin: 1rem auto;
  overflow: hidden;
}

.single-column, .two-column, .three-column{
  float:left;
  margin-right: 3rem;
}
.single-column{
  width: calc((100% - 9rem)/4);
}
.two-column{
  width: calc(50% - 1.5rem);
}
.three-column{
  width: calc(6rem + 3*((100% - 9rem)/4));
}
.last-column{
  margin-right: 0;
}

.select-holder label{
  display: block;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 2.7rem;
  color: #777;
  margin: 0;
}

.select-holder select{
  width: 100%;
}

/* custom select */
.select-style {
    padding: 0;
    border: 1px solid #c5c5c5;
    border-radius: 1px;
    overflow: hidden;
    background-color: #fff;
    background: #fff url("../img/arrowdown.svg") no-repeat calc(100% - 15px) center;
    background-size: 18px;
    font-size: 1.5rem;
    line-height: 3.2rem;
    margin-bottom: 1.5rem;
}
.select-style:hover {
    border: 1px solid #006393;
}

.select-style#search-list{
  background: #fff url("../img/search.svg") no-repeat calc(100% - 5px) center;
  background-size: 25px auto;
  margin-right: 0;
}


.select-style select,
.select-style input,
.select-style datalist {
    font-family: 'Flama', sans-serif !important;
    font-size: 1.5rem;
    padding: 5px 35px 5px 5px;
    width: calc(100%);
    max-width: calc(100%);
    overflow: hidden;
    border: none;
    box-shadow: none;
    background-color: transparent;
    background-image: none;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

.select-style input{
  width: 100%;
  padding: 0 8px;
  line-height: 3.2rem;
}
.select-style input::-webkit-calendar-picker-indicator {
  display: none;
}

.select-style select:focus,
.select-style input:focus {
    outline: none;
}

.select-holder .select-style{
  height: 3.6rem;
  line-height: 3.6rem;
  white-space: nowrap;
}


.select-holder .select-style select{
  height: 3.6rem;
  line-height: 3.6rem;
  padding-top: 0;
  white-space: nowrap;
}

.content-holder{
  margin-top: 6rem;
  display: none;
  padding-bottom: 4rem;
  border-bottom: 1px solid #dedede;
}
figure{
  margin:0;
  padding:0;
}
figcaption#content-transcript{
  display: none;
  padding:0;
  margin:0;
}

h2.year-title{
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 100;
  color: #006393;
  margin: 0 0 2rem 0;
  width: 100%;
  text-align: center;
  position: relative;
}
h2.year-title span{
  display:block;
  width: 100%;
  padding: 0 3rem;
  z-index: 0;
}
h2.year-title a{
  position: absolute;
  display: block;
  width: 3rem;
  height: 3rem;
  top: 0;
  color: #006393;
  cursor: pointer;
}
a.disabled{
  opacity: 0.35;
}
h2.year-title a:hover{
  opacity: 0.8
}
h2.year-title a.arrow-prev{
  left:0;
  text-align: left;
}
h2.year-title a.arrow-next{
  right:0;
  text-align: right;
}

.image-holder{
  display: block;
  border: 1px solid #dedede;
  width: 100%;
  padding: 1rem;
}

.image-holder:hover{
  border: 1px solid #006393;
}

.pdf-link,
.acervo-link{
  display: block;
  color: #006393;
  font-weight: 500;
  cursor: pointer;
  margin: 2rem 0;
  text-decoration: none;
}

.pdf-link i,
.acervo-link i{
  margin-right: 0.5em;
}

.pdf-link:hover{
  opacity: 0.8;
}

.image-holder img{
  display: block;
  width: 100%;
}

h5.references-title{
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.05rem;
  color: #006393;
  margin: 4rem 0 1rem 0;
  text-align: center;
}

.acervo-link{
  text-align: right;
}

p.theme-title{
  display: block;
  width: 100%;
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin: 1rem 0;
}

p.reference{
  padding: 2rem 0;
  border-bottom: 1px dotted #ccc;
  margin: 0;
}

#colophon{
  width: 100%;
  margin-top: 4rem;
  padding-bottom: 4rem;
  text-align: center
}

#logo-acervo{
  width: 140px;
}

#logo-acervo-b{
  width: 140px;
  margin-top:2.5rem;
}

header.entry-header{
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 10;
  background: #fff url('../img/opening-b.jpg') no-repeat center;
  background-size: cover;
  top: 0;
}

.entry-content{
  z-index:9;
}

@media ( max-width: 1023px ) {

    html {
        font-size: 62.5%;
    }

}

@media ( max-width: 870px ) {

    html {
        font-size: 57.5%;
    }

}

@media ( max-width: 680px ) {
  h1.entry-title {
    font-size: 3.4rem;
    line-height: 1.05;
  }
  h1.entry-title b {
    font-size: 6rem;
    margin:0 0 5rem 0;
  }
  .entry-content{
    margin: 3rem 0;
  }
  .single-column, .two-column, .three-column{
    width: 100%;
    max-width: 300px;
    float: none;
    margin: 0 auto 1rem auto;
  }

  .content-holder{
    margin-top: 3rem;
    display: none;
  }

  .empty-column{
    display: none;
  }
  .pdf-link{
    margin: 1rem 0 4rem 0;
  }

  h5.references-title{
    margin: 6rem 0 1rem 0;
  }

}

.numeric{
	clear:right;
}

#puzzleHolder{
	position: relative;
	width: 100%; height: 100%;
	max-width: 720px;
	margin:20px auto;
	overflow:hidden;
	clear:both;
	/*margin-bottom: 300px;*/
	z-index:10;
}

#puzzleHolder img{
	position:absolute;
}

#puzzleInputs, #puzzleAnswers{
	position:absolute;
	width: 100%;
	max-width: 720px;
	font-family:Tahoma, Geneva, sans-serif;
	font-size:1.5rem;
  font-weight: 400;
	overflow:hidden;
	margin-bottom: 300px;
}

#puzzleInputs{
	z-index:8;
}

#puzzleAnswers{
	display:none;
	z-index:7;
}

.title{
	width: 100%;
	max-width: 720px;
	margin:6rem auto 1rem auto;
}
.title h1{
	padding:0; margin:0;
	text-transform:uppercase;
}
.title .topBt{
	text-align: center;
  overflow:hidden;
}

.title .intro {
  font-family: 'Flama', sans-serif !important;
	font-size:1.6rem;
	line-height:1.5;
	display:block; width: 100%;
	color: #000;
  text-align: center;
	font-weight: 400;
	letter-spacing: 0.01em;
	margin-top:3.5rem;
}

.first{
	float:left;
	clear:left;
}

.puzzleField{
	padding:0;
	margin:0;
	border:0;
	border:none;
	padding-top:0px;
	font-family:Tahoma, Geneva, sans-serif;
	font-size:2.2rem;
  font-weight: 400;
	text-align:center;
	display:block;
	float:left;
	color: #444;
	opacity: 0.9;
	background-color:transparent;
	text-shadow: 2px 2px rgba(255,255,255,0.4);
}
.puzzleField.wrongAnswer{
	background-color:rgb(255,247,216);
	background-color:rgba(255,225,100,0.15);
}
.puzzleField.highlighted{
	background-color:rgb(215,235,255);
	background-color:rgba(121,187,255,0.2);
}
.puzzleField.current{
	background-color:rgb(200,225,255);
	background-color:rgba(121,187,255,0.5);
}
.box{
	font-family:Tahoma, Geneva, sans-serif;
	font-size:1rem;
	text-align:center;
	color: #333;
	display:block;
	float:left;
}
.puzzleField.half1, .puzzleField.half2{
  /*margin-top:0.1rem;*/
	font-size: 1.6rem;
}

#alertBox{
	background-color:#fff;
	position:absolute;
	width: 70%;
	max-width: 420px;
	padding:10px;
	font-size:1.5rem;
	line-height:1.2;
  font-weight: 400;
	box-shadow: 0px 0px 0px 6pt rgba(0,99,147,0.7);
	color:#566578;
	text-align:left;
	border-radius:4px;
	-o-border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	display:none;
	z-index:1000;
	left: 50%;

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

#alertContent{
	padding:10px;
}

#closeButton {
  background: #006393;
	border-radius:4px;
	-o-border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	text-indent:0;
	border:1px solid #333;
	display:inline-block;
	color:#ffffff;
	font-size:2rem;
	font-weight:normal;
	font-style:normal;
	height:2rem;
	line-height:24px;
	width:30px; height: 30px;
	text-decoration:none;
	text-align:center;
	/*text-shadow:1px 1px 0px #333;*/
	float:right;
	margin-right:-25px;
  border:none;

	position: absolute;
	top:50%; right: 10px;

	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}

#closeButton:hover {
	background-color:#4197ee;
}


#btCheck, #btClear {
	-moz-box-shadow:inset 0px 1px 0px 0px #777;
	-webkit-box-shadow:inset 0px 1px 0px 0px #777;
	box-shadow:inset 0px 1px 0px 0px #777;

  background: #006393;
	border-radius:4px;
	-o-border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;

	text-indent:0;
	border:1px solid #333;
	display:inline-block;
	color:#ffffff;
	font-weight:normal;
	font-style:normal;
	text-decoration:none;
	text-align:center;
	letter-spacing:1px;
	padding: 0.4em 1em;
	font-size:1.5rem;
	margin-right:0.2rem;
	vertical-align: bottom;
  border: 0;
  cursor: pointer;
}

#btCheck:hover, #btClear:hover {
	opacity: 0.8;
}

#btCheck:active, #btClear:active {
	position:relative;
	top:1px;
}

#btCheck{
  float: left;
}
#btClear{
  float: right;
}

#keyboardContainer{
	position: fixed;
  /* bottom: 0;*/
	width: calc(100%);
	background: #f1f1f1;
	padding: 10px 10px 20px 10px;
	z-index:100;
	box-shadow: 0 -3px 24px rgba(0,0,0,0.1);
	margin: 0 auto;
  font-weight: 400;

	transition: bottom 0.4s;
	-ms-transition: bottom 0.4s;
	-moz-transition: bottom 0.4s;
	-webkit-transition: bottom 0.4s;
}
#keyboardContainer.open{
	bottom:0;
}

#keyboard{
	display:block;
	position: relative;
	overflow: hidden;
	list-style: none;
	margin:0 auto 20px auto; padding:0;
	width: 100%;
	max-width: 700px;
}
#keyboard li{
	display:block;
	width: calc(10%);
	float: left;
	padding: 4px;
  min-height: 44px;
	cursor: pointer;
}
#keyboard li.sp1, #keyboard li.sp2{
	width: calc(5%);
}
#keyboard li.sp3, #keyboard li.delete{
	width: calc(15%);
}
#keyboard li span{
	display:block;
	border-radius: 5px;
	padding: 10px 2px;
	background-color: #fff;
	text-align: center;
	font-size: 21px;
  min-height: 44px;
	line-height: 24px;
	text-transform: uppercase;
}

#keyboard li.sp1 span, #keyboard li.sp2 span{
  height: 100%;
	background-color: #f8f8f8;
	cursor: default;
}

#keyboard li.delete span{
	background: #fff url('../images/backspace.svg') center no-repeat;
	background-size: 20px auto;
}
#keyboard li.hide span{
	background: #fff url('../images/down.svg') center no-repeat;
	background-size: 20px auto;
}
#keyboard li span:active{
	background-color: #eee;
}
#keyboard li.sp1 span:active, #keyboard li.sp2 span:active,
#keyboard li.sp3 span:active{
	background-color: #f8f8f8;
}

@media screen and (max-width:600px){
	body{
		font-size: 1.6rem;
	}
	.title h1 {
		font-size:2em;
	}
	#btClear, #btCheck{
		font-size: 1.5rem;
		/*float:none;*/
		display: inline-block;
	}
	.title .intro {
		font-size:1em;
		line-height:1.4em;
		width: 100%;
		margin: 1rem 0 1.5rem 0;
	}
	#keyboard li{
		display:block;
		width: calc(10%);
		float: left;
		padding: 2px;
	}

	#keyboard li span{
		height: 20px;
	}

	.puzzleField{
		font-size:1.4rem;
	}
}
