/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
	color: #222;
}

body {
	font-size: 1em;
	line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
	resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

*{
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: 'Roboto Condensed', sans-serif;
	color: #000;
	transition: all 600ms;
	font-style: italic;
}



/*---- Estilização dos Textos ----*/

h2, h2 > span, h3, h3 > span, h4, h4 span, h5, h6{
	font-weight: bold;
	text-transform: uppercase;
}

h2,
h2 span{
	font-size: 200px;
	letter-spacing: -10px;
	line-height: 200px;
	margin-top: 0;
}

h3{
	font-size: 160px;
	letter-spacing: -5px;
	line-height: 160px;
}

h4{
	font-size: 120px;
	letter-spacing: -5px;
	line-height: 120px;
}

h5{
	font-size: 30px;
}

h6{
	font-size: 18px;
}

p{
	font-size: 20px;
}

.f-18{
	font-size: 18px;
}

.f-24{
	font-size: 24px;
}

.f-30{
	font-size: 30px;
}

.f-60{
	font-size: 60px;
}

span{
	font-weight: 300;
}


/*---- Cores ----*/

.blue{
	color: #0986c1;
}

.green{
	color: #1b8b3c;
}

.dark-green{
	color: #105424;
}

.yellow{
	color: #fab032;
}

.red{
	color: #ed334f;
}

.white{
	color: #fff;
}

.black{
	color: #000;
}



/*---- Estilização Geral ----*/

html,
body,
.wrapper{
	width: 100%;
	height: 100%;
	background:#fff;
}

a:hover,
a:focus{
	text-decoration: none;
	color: #000;
}

.vertical-centering{
	display: -webkit-flex;
	display: flex;
	align-items: center;
	-webkit-align-items: center;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
}

.centering{
	display: table;
	margin: auto;
}

.txt-right{
	text-align: right;
}

.title-section{
	margin: 140px 0;
}

.button{
	padding: 8px 16px;
	font-size:14px;
	text-transform: uppercase;
	font-weight: bold;
	display: inline-block;
	margin-top: 10px;
}

.big-button{
	font-size: 24px;
	padding: 15px 20px;
}


/*---- Botões ----*/

.black-button{
	background: #000;
	color: #fff;
}

.black-button:hover{
	background: #fff;
	color: #000;
}

.blue-button{
	background: #2eb4cc;
	color: #fff;
}

.blue-button:hover{
	background: #fff;
	color: #2eb4cc;
}

.yellow-button{
	background: #fab032;
	color: #000;
}

.yellow-button:hover{
	background: #000;
	color: #fab032;
}

.gray-button{
	background: #7f7f7f;
	color: #fff;
}

.gray-button:hover{
	background: #fff;
	color: #7f7f7f;
}

.green-button{
	background: #1b8b3d;
	color: #105424;
}

.green-button:hover{
	background: #105424;
	color: #1b8b3d;
}

.white-button{
	background: #fff;
	color: #000;
	font-size: 20px;
	font-weight: lighter;
}

.white-button:hover{
	background: #fff;
	color: #ed334f;
}



/*---- Header ----*/

header{
	position: fixed;
	width: 100%;
	z-index: 100;
	background: rgba(255,255,255,.95);
}

.logo{
	margin: 15px 0;
	float: left;
}

.logo img{
	width: 85px;
	height: auto;
}

.main-menu{
	float: right;
	line-height: 88px;
}

.menu,
.flags{
	float: left;
}

.item-menu{
	display: inline;
	margin-right: 20px;
}

.item-menu a{
	font-size: 16px;
	text-transform: uppercase;
	position: relative;
}

.item-menu a::after{
	background: #000;
	bottom: -4px;
	content: "";
	height: 1px;
	left: 0;
	position: absolute;
	transform: scaleX(0);
	-webkit-transform: scaleX(0);
	transition: all .6s cubic-bezier(0.25,.46,.45,.94) 0s;
	-webkit-transition: all .6s cubic-bezier(0.25,.46,.45,.94) 0s;
	width: 100%;
}

.item-menu a:hover::after,
.item-menu a:focus::after{
	transform: scaleX(1);
	-webkit-transform: scaleX(1);
}

.item-menu img{
	width: 14px;
	height: auto;
	opacity: .35;
}

.item-menu:hover img{
	opacity: 1;
}

.flags a{
	opacity: .35;
}

.flags a:hover,
.flags .active{
	opacity: 1;
}

.flags img{
	width: 24px;
	height: auto;
	margin-top: -2px;
}



/*---- Intro ----*/

.intro{
	height: 100%;
	position: relative;
	z-index: 10;
}

.clip-title{
	text-fill-color: transparent;
	-webkit-text-fill-color: transparent;
	background: -webkit-linear-gradient(transparent, transparent), url(../images/img-mask-intro.jpg) repeat;
	background: -o-linear-gradient(transparent, transparent);
	background-clip: text;
	-webkit-background-clip: text;
	background-size: cover;
}

.intro h2 span:first-child{
	padding-left: 10px;
}

.headline svg {
  height: 80px;
  width: 100%;
}

.headline svg:not(:root){
	overflow: visible !important;
}

.date{
	text-align: right;
	position: absolute;
	right: 0;
	top: 0;
	transform: translate(0,50%);
	-webkit-transform: translate(0,50%);
}

.date span,
.intro-button span{
	display: block;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: -1px;
	line-height: 50px;
}

.date span{
	line-height: normal;
	font-size: 36px;
}

.info-intro{
	position: relative;
}

.info-intro h2 > span{
	display: block;
}

.intro-button{
	margin-left: 100px;
}

.intro-button::after{
	content:"";
	display: block;
	width: 170px;
	height: 3px;
	transition: all 350ms;
	background: #1b8b3c;
}

.intro-button:hover::after{
	width: 420px;
}

.fixed-buttons{
	position: fixed;
	bottom: 0;
	left: 50%;
	transform:translate(-50%);
	-webkit-transform:translate(-50%);
	z-index: 100;
}

.fixed-buttons a{
	text-transform: uppercase;
	padding: 15px 20px;
	display: inline-block;
	font-weight: bold;
}



/*---- Palestrantes ----*/

.desc-title span{
	display: block;
}

.speaker{
	position: relative;
	float: left;
	width: 100%;
	margin-bottom: 50px;
}

.speaker-bio  a{
	color: #fff;
}

.speaker > .small-block{
	position: absolute;
	right: 0;
}

.speaker-img{
	background: green;
}

.speaker-img > img{
	width: 100%;
	height: 100%;
}
.speaker-info{
	background: #ed334f;
}

.speaker-item{
	width: 8%;
	background-size: cover;
	background-position: center center;
	float: left;
	border-right: solid 1px #fff;
	margin-bottom: 1px;
}

.speaker-item:nth-child(10n){
	border-right: none;
}

.speaker-name{
	line-height: normal;
}

.img-workshop{
	max-width: 85%;
	height: auto;
}

.info-container{
	width: 100%;
	height: 100%;
	padding: 60px;
}

.always-bet span{
	font-weight: bold;
	text-transform: uppercase;
	display: block;
}

.always-bet  span:first-child{
	padding-left: 10px;
}

.always-bet .clip-title{
	text-fill-color: transparent;
	-webkit-text-fill-color: transparent;
	background: -webkit-linear-gradient(transparent, transparent), url(../images/img-mask-betjs.jpg) repeat;
	background: -o-linear-gradient(transparent, transparent);
	background-clip: text;
	-webkit-background-clip: text;
	background-size: cover;
}

#speakers_info .speaker-info {
	display: none;
}

.speaker-name[data-name-length-range="3"] {
	font-size: 75px;
}
.speaker-name[data-name-length-range="4"] {
	font-size: 70px;
}
.speaker-name[data-name-length-range="5"] {
	font-size: 65px;
}
.speaker-name[data-name-length-range="6"] {
	font-size: 55px;
}
.speaker-name[data-name-length-range="7"] {
	font-size: 45px;
}

.speaker-img {
	display: none;
	background-size: cover;
	background-position: center center;
	width: 100%;
	height: 100%;
}

.is_active {
	display: block !important;
}

.modal-speakers .modal-body {
	padding: 0;
	height: 400px;
}

.speakers-vine iframe {
	width: 100%;
	height: 100%;
	border-radius: 6px; 
}

#btn_speaker {
    position: absolute;
    bottom: 35px;
    left: 60px;
    width: 109px;
    height: 61px;
    cursor: pointer;
    border: none;
    background-size: cover;
    background-position: center center;
}

#btn_speaker img {
    position: absolute;
    bottom: -12px;
    
}

#btn_speaker:focus {
	outline: none;
}


/*---- Editions Section ----*/

/*.edicoes {
	position: relative;
	float: left;
	width: 100%;
}*/

.edicoes h3{
	position: absolute;
	top: 50%;
	left: 50%;
	transform:translate(-50%,-50%);
	-webkit-transform:translate(-50%,-50%);
	z-index: 3;
	width: 100%;
	text-align: center;
	margin:0;
}

.img-slide {
	overflow: hidden;
}

.img-slide img{
	height: 100%;
    width: auto;
    position: relative;
    left: 50%;
    transform: translate(-50%)
}

.edicoes .container-fluid,
.edicoes .row,
.edicoes .col-xs-6 {
	padding: 0;
	margin: 0;
}

.slide:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.15);
	z-index: 2;
	left: 0;
	top: 0;
}

.slide {
	float: left;
	width: 100%;
	position: relative;
	max-height: 100%;
}


/*---- Edition Carousel ----*/

.edition-bullets {
	width: 100%;
	float: left;
}

.edition-bullets div {
	width: 100%;
	text-align: center;
	margin: 0 auto;
}

.content-banner {
	position: relative;
	height: auto;
}

#edition_2015,
#edition_2014,
#edition_2013,
#edition_2012,
#edition_2011 {
	position: absolute;
	top: 0;
	opacity: 0;
}

.ed_active {
	opacity: 1 !important;
	transition: opacity 1000ms;
}

/*---- END ----*/

.slide > div:first-child{
	border-right: solid 1px #fff;
}

.arrow-slide{
	padding: 20px;
	background: #fff;
	display: inline-block;
	position: absolute;
	top: 50%;
	transform:translate(0,-50%);
	-webkit-transform:translate(0,-50%);
	z-index: 3;
	opacity: .75;
}

.arrow-slide:hover{
	opacity: 1;
}

.prev-slide{
	left: 0;
}

.next-slide{
	right: 0;
}

.arrow-slide img{
	width: 40px;
	height: auto;
}


/*---- Programacao ----*/
.programacao h4{
	font-size: 90px;
}

.item-programacao{
	border:solid 1px #e3e3e3;
	padding: 25px;
	margin-top: 25px;
	background: #fff;
}

.item-programacao .speaker-min-img{
	width: 55px;
	height: 55px;
	border-radius: 100%;
	padding: 10px;
    background-size: cover;
    background-position: center center;
    float: left;
}

.item-programacao h5{
	line-height: 38px;
}

.info-item-programacao{
	margin-top: 25px;
	float: left;
	width: 100%;
}

.info-item-programacao img{
	float: left;
	width: 42px;
	height: 42px;
    border-radius: 100%;
}

.info-item-programacao h6{
	float: left;
	margin-left: 15px;
}


/*---- Local ----*/

.info-local{
	position: relative;
	float: left;
	width: 100%;
	margin-top: 50px;
}

.img-local img{
	width: 100%;
	height: 100%;
}

.local  .small-block{
	position: absolute;
	left: 0;
	top: -50px;
	z-index: 2;
}

.local .iframe-local{
	width: 100%;
}

.local .big-block{
	float: right;
}

.local .hide-scroll{
	width: 100%;
	height: 100%;
	background: transparent;
	position: absolute;
	top: 0;
	left: 0;
}

/*---- Support ----*/

.content-support {
	margin: 100px 0 0 0;
}

.content-support h3 {
	text-align: left;
	float: left;
	font-size: 50px;
}

.content-support .desc-apoio {
	float: right;
	width: 100%;
}

.content-support .desc-apoio img {
	width: 300px;
}

/*---- Manifesto ----*/

.manifesto .title-section{
	margin-bottom: 50px;
}

.manifesto p{
	margin-bottom: 20px;
}



/*---- Highlights ----*/

.highlights{
	margin-top:140px;
}

.highlight-block{
	padding: 0;
	border-right: solid 1px #fff;
}

.highlight-block:last-child{
	border: none;
}

.info-highlight:before{
	content: "";
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.25);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}

.info-highlight{
	background: red;
	text-align: center;
	position: relative;
}

.info-highlight h4{
	position: relative;
	z-index: 3;
}

.info-highlight span{
	display: block;
}

.info-highlight img{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}



/*---- Patrocínio ----*/

.gold{
	border:solid 1px #f1d003;
}

.silver{
	border:solid 1px #dddddd;
}

.bronze{
	border:solid 1px #d6a097;
}

.gold-block,
.silver-block,
.bronze-block{
	margin-bottom: 30px;
	text-align: center;
}

.gold-block img,
.silver-block img,
.bronze-block img{
	max-width: 75%;
	height: auto;
}



/*---- Curadores ----*/

.curadores img{
	width: 100%;
	height: auto;
}

.curadores span{
	display: block;
}

.img-container{
	position: relative;
}

.img-container .vertical-centering{
	position: absolute;
	width: 100%;
	height: 100%;
}

.curadores-info{
	max-width: 1040px;
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	transform:translate(-50%,-50%);
	-webkit-transform:translate(-50%,-50%);
}

.curadores-block{
	width: 100%;
	position: relative;
	z-index: 3;
}

.clip-title-jay{
	text-fill-color: transparent;
	-webkit-text-fill-color: transparent;
	background: -webkit-linear-gradient(transparent, transparent), url(../images/img-mask-curator-jay.jpg) repeat;
	background: -o-linear-gradient(transparent, transparent);
	background-clip: text;
	-webkit-background-clip: text;
	background-size: cover;
	background-position: -200px center;
}

.clip-title-felipe{
	text-fill-color: transparent;
	-webkit-text-fill-color: transparent;
	background: -webkit-linear-gradient(transparent, transparent), url(../images/img-mask-curator-felipe.jpg) repeat;
	background: -o-linear-gradient(transparent, transparent);
	background-clip: text;
	-webkit-background-clip: text;
	background-size: cover;
	background-position: top center;
}

.clip-title-felipe span:first-child{
	padding-right: 5px;
}
.clip-title-felipe span{
	padding-right: 20px;
}

/*---- Footer ----*/

footer{
	padding: 30px 0;
}


footer a{
	white-space: nowrap;
}
footer a{
	margin-top: 0 !important;
}

footer .black-button{
	padding: 8px 36px;
    margin-bottom: 2px;
}

.credits {
	height: 40px;
    margin-bottom: 160px;
}

.animate{
	opacity: 0;
	transition:opacity 1400ms, margin-top 600ms;
	visibility: visible;
}

.animate-scroll,
.intro .animate-load,
.info-intro-canal.animate-load{
	opacity: 1;
	visibility: visible;
}

header.animate{
	top: -150px;
	transition: all 1000ms;
	visibility: visible;
}

header.animate-load{
	top: 0;
	opacity: 1;
}

.fixed-buttons.animate{
	bottom: -150px;
	transition: all 1000ms;
	visibility: visible;
}

.fixed-buttons.animate-load{
	bottom: 0;
	opacity: 1;
}

.facebook-btn {
	background-image: url(/images/fb-logo.png);
	background-repeat: no-repeat;
	background-size: cover;
	position: absolute;
	right: -65px;
	top: 0;
	width: 63px;
	height: 63px;
}
.twitter-btn {
	background-image: url(/images/tt-logo.png);
	background-repeat: no-repeat;
	background-size: cover;
	position: absolute;
	left: -65px;
	width: 63px;
	height: 63px;
}


.hide-menu{
	top: -150px !important;
}

.hide-buttons{
	bottom: -150px;
}

#menu-trigger,
#menu-trigger:after,
#menu-trigger:before {
	content: '';
	display: block;
	position: relative;
	width: 30px;
	height: 4px;
	background-color: #000;
}
#menu-trigger {
	float: right;
	margin-top: 25px;
	display: none;
	cursor: pointer;
}
#menu-trigger:before {
	margin-top: 7px;
}
#menu-trigger:after {
	margin-top: 3px;
}

@media screen and  (max-width: 766px) {
	#menu-trigger {
		display: block;
	}
	#menu-nav:target {
		height: 100%;
	}
	#menu-nav:target .menu,
	#menu-nav:target .flags {
		width: 100%;
	}

	#menu-nav:target .flags {
		font-size: 20px;
	}

	#menu-nav:target .main-menu {
		display: block !important;
		line-height: 50px;
		text-align: center;
		position: absolute;
		left: 50%;
		top: 100px;
		margin-left: -100px;
		width: 200px;
	}
	#menu-nav:target .item-menu {
		display: block;
		margin-right: auto;
	}
}

.intro.animate{
	visibility: visible;
}

.always-bet.animate,
.intro.animate,
.jay.animate,
.felipe.animate{
	margin-left: -100px;
	transition: opacity 2500ms, margin-left 1000ms;
}

.always-bet.animate-scroll,
.intro.animate-scroll,
.jay.animate-scroll,
.felipe.animate-scroll{
	margin-left: 0;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	/* IE 6/7 fallback */
	*text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
	display: none !important;
	visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
	visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.clearfix:after {
	clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
	*zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

@media print,
	   (-o-min-device-pixel-ratio: 5/4),
	   (-webkit-min-device-pixel-ratio: 1.25),
	   (min-resolution: 120dpi) {
	/* Style adjustments for high resolution devices */
}

@media screen and (max-width: 1024px) {
	.info-highlight span:nth-child(2){
		font-size: 30px;
	}
}

@media screen and (min-width: 470px) and (max-width: 770px) {
	.highlights .highlight-block  {
		height: 442px !important;
	}
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
	* {
		background: transparent !important;
		color: #000 !important; /* Black prints faster: h5bp.com/s */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/*
	 * Don't show links for images, or javascript/internal links
	 */

	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group; /* h5bp.com/t */
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}
