/* -------------------------------- 

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
}

body, html {
  position: relative;
  height: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

ul {
	list-style-type: none;
}

ul, li { 
	margin: 0; padding: 0;
}

em {
	color: #666;
}

p {
	font-size: 14px;
}

h1,h2,h3,h4,h5{
	font-weight: normal;
}

@font-face {
    font-family: 'flamabook';
    src: url('../fonts/flama-book-webfont.eot');
    src: url('../fonts/flama-book-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/flama-book-webfont.woff') format('woff'),
         url('../fonts/flama-book-webfont.ttf') format('truetype'),
         url('../fonts/flama-book-webfont.svg#flamabook') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'freightdispblackregular';
    src: url('../fonts/freightdispblack-webfont.eot');
    src: url('../fonts/freightdispblack-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/freightdispblack-webfont.woff2') format('woff2'),
         url('../fonts/freightdispblack-webfont.woff') format('woff'),
         url('../fonts/freightdispblack-webfont.ttf') format('truetype'),
         url('../fonts/freightdispblack-webfont.svg#freightdispblackregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

body {
	font-size: 15px;
	font-family: Georgia, "Times New Roman", Times, serif;
	line-height: 1.5em;
	color: #4d4d4f;
	margin: 0 -20px 0 0;
	background: transparent;
	/*
	overflow:auto;
	overflow-y: scroll;
 	-webkit-overflow-scrolling: touch;
	*/
}
#container{
	height: 100%;
	padding: 0 20px 0 0; /* 15px */
	overflow:auto;
	overflow-y: scroll;
 	-webkit-overflow-scrolling: touch;
}


.embed-youtube {
	margin: 30px 0 ;
}

.halfSizeGal {
	width: 50%;
	float:left;
	margin: 5px 10px 5px 0;
}

a.link-no-texto {
	color: #df7f1b;
	border-bottom: 1px solid #df7f1b;
	-webkit-transition: all 0.3s ease-in-out;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
          transition: all 0.3s ease-out;  /* Chrome 26, Firefox 16+, iOS 7+, IE 10+, Opera, Safari 6.1+  */
}
a.link-no-texto:hover {
	color: #df7f1b;
	border-bottom: 2px solid #df7f1b;
	opacity: 0.7;
	-webkit-transition: all 0.3s ease-in-out;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
          transition: all 0.3s ease-in-out;  /* Chrome 26, Firefox 16+, iOS 7+, IE 10+, Opera, Safari 6.1+  */
}

#textContent{
	position: relative;
	width: 100%; max-width: 970px;
	margin: 0 auto;
	z-index: 100;
	padding:0;
	/*padding-right:25px;*/
	
	/*overflow:auto;
	background: url("../img/bottom-gradient.png") repeat-x bottom center;*/
}


#textContent h2{
	font-family: 'freightdispblackregular';
	width: 100%;
	display: block;
	font-size: 2.8em;
	line-height: 1em;
	color: #000;
	margin: 0 0 0.4em 0;
}
#textContent h2.sub{
	font-size: 1.65em;
	padding-top: 1em;
	border-top: 1px solid #006392;
}

#textContent p.subTitle{
	font-family: 'flamabook';
	font-size: 1.3em;
	line-height: 1.2em;
	margin: 0 0 1em 0;
}
#textContent p.subTitle.nomargin{
	margin:0;
}

#textContent p{
	margin:  0 0 1.7em 0;
	font-size: 1.1em;
	line-height: 1.5em;
}

#textContent p.author{
	font-size: 0.8em;
	font-weight:normal;
	font-style:italic;
	line-height: 1.2em;
	margin: 1em 0 2.5em 0;
	letter-spacing:0.02em;
	color: #444;
}
#textContent p.textFooter{
	font-family: 'flamabook';
	font-size: 0.8em;
	line-height: 1.3em;
	margin: 1em 0 6em 0;
	letter-spacing:0.02em;
	text-transform:uppercase;
}

#textContent p.author span, #textContent p.textFooter span{
	color: #006394;
	display: inline-block;
	font-size: 1em;
	font-style:normal;
	line-height: 1em;
	margin-bottom: 5px;
	vertical-align: middle;
}

#textContent .imageBox{
	width:100%;
	overflow: hidden;
	margin:1em 0 2.5em 0;	
}

#textContent .imageBox.galeriaLegenda {
	margin: 0;	
}

#textContent .imageBox.halfSize{
	width:50%;
	min-width:300px;
	float: left;
	overflow: hidden;
	margin: 0.5em 1.5em 1.5em 0;	
}

#textContent .imageBox p.legend{
	width: 100%;
	display: block;
	overflow:hidden;
	margin: 10px 0 0 0;	
	/*font-family: 'flama_condensedmedium';*/
	font-family: 'flamabook';
	font-size: 0.85em;
	line-height:1.3em;
	letter-spacing:0.02em;
}


#textContent .imageBox.galeriaLegenda p.legend{
	width: 100%;
	display: block;
	margin: 0;
	overflow: hidden;
	padding: 10px 10px 0 !important;
	font-family: 'flamabook';
	font-size: 0.85em;
	line-height: 1.3em;
	letter-spacing: 0.02em;
	border-top: 2px solid #fff;
}

span.photoCredit{
	font-size: 0.85em;
	color: #8e8e8f;
	display: inline-block;
    text-transform: uppercase;
}

#textContent .imageBox img{
	width: 100%;
	display:block;
	line-height:0em;
	margin:0;
	height:auto;
}

#textContent .imageBox p.legend span.legendTopic{
	display:inline-block;
	margin-right:6px; 
	color: #006394;
}


#textContent img.badge {
	width: 150px;
	float:left;
	margin: 5px 10px 5px 0;
}

@media all and (max-width: 480px), (max-height: 400px){
	body {
		font-size: 13px;
	}
	#textContent {
		/*padding:0; margin:0;*/
		padding-bottom: 35px;
		padding-right: 10px;
	}
	#container{
		margin-top:65px;
		padding: 0 20px 120px 0;
	}
	#textContent h2{
		font-size: 2.2em;
	}
	#textContent p.subTitle{
		font-size: 1.3em;
	}
	#textContent img.badge {
		width: 100px;
	}
	
	#textContent .imageBox p.legend{
		/*font-size: 1.1em;*/
	}
	#textContent .imageBox.halfSize{
		width:100%;
		margin:1em 0 1.5em 0;	
	}
}
