/* @override 
	http://dev.gbnt.pt/cfp/css/master.css
	http://localhost/~gbnt/bpfp/css/master.css */

html, 
body{
	font-size: 14px;
	font-family: 'TiemposTextWeb';
	font-weight: 300;
	width: 100%;
	height: 100%;
}



/* Cores:
*/

.beige{
	color: rgba(251, 246, 232, 1);
	background-color: rgba(251, 246, 232, 1);
}

.cinza-1{
	color: #888;
	background-color: #888;	
}

.cinza-2{
	color: #555;
	background-color: #555;	
}

.vermelho{
	color: rgba(231, 52, 63, 1);
	background-color: rgba(231, 52, 63, 1);	
}

.group:before,
.group:after {
    content: "";
    display: table;
} 
.group:after {
    clear: both;
}
.group {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}

img:not(#image1):not(#magnifiedImage){
	max-width: 100%;
	height: auto;
	display: block;
}


a{
	color: black;
	text-decoration: none;
}

header ul, 
.sidebar ul, 
.list-items, 
.classe-list, 
.paginacao ul, 
ul.recordText,
ul.destaques{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.page{
	height: 100%;
}

header.main{
	height: 35px;
	background-color: black;
	width: 100%;
	box-sizing: border-box;
	font-size: 0.857em;
	color: white;
	letter-spacing: 2px;
	line-height: 18px;
	padding-top: 10px;
}

header.main a{
	color: #888;
	text-decoration: none;
}

header.main a.selected, 
header.main a:hover{
	color: white;
}

.h-left{
	width: 320px;
	float: left;
	box-sizing: border-box;
	padding-left: 40px;
	padding-right: 40px;
}

.h-left a{
	padding-right: 5px;
}

.h-right{
	float: right;
	text-align: right;
	position: absolute;
	left: 320px;
	right: 0;
	padding-right: 40px;
}
.h-right-inner{
	max-width: 500px;
	float: right;
}

.h-right a{
	display: inline-block;
}

.h-right ul{
	float: right;
}

.h-right ul li{
	float: left;
	padding-right: 20px;
}

ul.header-links{
	text-transform: uppercase;
	letter-spacing: 1px;
}
.header-icons{
	font-size: 1.429em;
}
.h-right .header-icons li{
	padding-right: 7px;
}

.h-right .header-icons li:last-child{
	padding-right: 0;
}

main{
	/*position: relative;*/ /* magnify effect cannot work properly */
	min-height: 100%;
	background-image:  
	linear-gradient(to right, #555, #555),
	linear-gradient(to right, #d6d2c7, rgba(251, 246, 232, 1)), 
	linear-gradient(to right, rgba(251, 246, 232, 1), rgba(251, 246, 232, 1));
	background-repeat:repeat-y;
	background-position: 
	0 0,
	320px 0,
	0 0;
	background-size:
	320px, 100px, auto;
	padding-right: 320px;
}



/* Sidebar
*/

.sidebar{
	width: 320px;
	min-height: 100%;
	float: left;
	padding: 55px 40px 100px;
	box-sizing: border-box;
	z-index: 1;
	position: relative;
}

.sidebar-logo a{
	font-size: 2.5em;
	line-height: 1em;
	color: rgba(251, 246, 232, 1);
	margin-bottom: 70px;
	display: block;
	text-decoration: none;
}

.sidebar-logo:hover{
}

.sidebar-logo span{
	color: rgba(231, 52, 63, 1);
}

.sidebar nav{
	
}

.sidebar nav > ul > li{
	border-top-style: solid;
	border-top-width: 1px;
	color: rgba(251, 246, 232, .3);
	padding-top: 11px;
	padding-bottom: 15px;
	font-size: 1.285em;
	letter-spacing: 0.1em;
}

.sidebar nav > ul > li:last-child{
	border-bottom-style: solid;
	border-bottom-width: 1px;
}

.sidebar nav a{
	color: rgba(251, 246, 232, 1);
	text-decoration: none;
	display: block;
}

.sidebar nav a:hover{
	color: rgba(231, 52, 63, 1);
}

.sidebar nav li ul{
	border-top-style: none;
	font-size: 0.77em;
	padding-top: 10px;
	display: none;
}

.sidebar nav li.nav-selected > a, 
.sidebar nav li.path-selected > a{
	color: rgba(231, 52, 63, 1);
	font-style: italic;
}

.sidebar nav li.nav-selected > ul, 
.sidebar nav li.path-selected > ul{
	display: block;
}

.sidebar footer{
	padding-top: 45px;
}

.sidebar footer .logo-cfp{
	width: 180px;
}



/* Main
*/

.main-content-wrapper{
	/*float: left;*/
	/*background-color: rgba(251, 246, 232, 1);*/
	padding-top: 55px;
	padding-right: 0;
	padding-bottom: 100px;
	/*float: left;*/
	margin-right: -320px;
	float: right;
	width: 100%;
}

.main-content{
	margin-right: auto;
	margin-left: auto;
	max-width: 700px;
	box-sizing: border-box;
	padding-right: 20px;
	padding-left: 20px;
}

.breadcrumb{
	font-size: 0.714em;
	color: #888;
	margin-bottom: 35px;
}

main header {
	text-align: center;
	margin-bottom: 45px;
}

main header img{
	display: inline;
}

main header blockquote{
	font-size: 2.286em;
	margin-top: 45px;
}

main header blockquote p{
	font-style: italic;
}

main header blockquote footer{
	text-transform: uppercase;
	color: rgba(231, 52, 63, 1);
	font-size: 0.357em;
	letter-spacing: .2em;
}

h1.page-title{
	margin: 0 0 158px;
	font-size: 2.857em;
	font-weight: normal;
	font-style: normal;
}

h2.page-subtitle{
	font-style: italic;
	font-weight: normal;
}
.single-page.content{
	text-align: center;
}

.content section{
	border-top: 1px solid #ccc;
	padding-bottom: 20px;
}

.content section h3{
	margin-top: 20px;
	font-size: 1.5em;
	font-weight: normal;
}

.content h2{
	font-weight: normal;
}

.content h3{
	margin-top: 60px;
	font-weight: 600;
}
.content h4{
	margin: 0;
	color: rgba(231, 52, 63, 1);
	font-weight: normal;
}

.content p{
	line-height: 1.6em;
	overflow: hidden;
}

.content p a{
	border-bottom-width: 1px;
	border-bottom-style: solid;
}

.content p a:hover{
	color: rgba(231, 52, 63, 1);
}

.content-list{
	list-style: none;
	padding-left: 10px;
	margin-top: 30px;
	margin-bottom: 30px;
}

.content-list ul{
	margin-top: 10px;
	margin-bottom: 20px;
	list-style: disc;
}

.content-list li{
	margin-bottom: 10px;
}



/* Footer
*/

footer.main{
	clear: left;
	background: #777;
	padding: 60px 40px 40px;
	color: #333;
	font-size: 0.857em;
	line-height: 1.2em;
}

footer.main a{
	color: black;
	text-decoration: none;
}

footer.main a:hover{
	color: rgba(251, 246, 232, 1);
}

.footer-logo{
	width: 100px;
	margin-bottom: 2.4em;
}

footer.main section{
	width: 33%;
	display: inline-block;
	box-sizing: border-box;
	padding-right: 40px;
}

footer.main p{
	margin-top: 1.2em;
	margin-bottom: 1.2em;
}

.egeac{
	width: 150px;
}

.parcerias{
	margin-top: 3.6em;
	margin-bottom: 2.4em;
}
.vodafone a{
	width: 150px;
	display: block;
}



/* Autores, Títulos 
*/

.abc{
	font-size: 20px;
	font-weight: bold;
	/*letter-spacing: 0.04em;*/
	padding-bottom: 30px;
}

.abc a.selected, 
.abc a:hover{
	color: rgba(231, 52, 63, 1);
}

.list-items-header{
	text-transform: uppercase;
	font-size: 0.714em;
	color: #777;
	letter-spacing: 1px;
	padding-bottom: 10px;
	display: block;
}

.list-item{
	border-top: 1px solid #ccc;
	line-height: 1em;
}

.list-items a{
	padding-top: 8px;
	padding-bottom: 8px;
	display: block;
	width: 100%;
}

.list-items a:hover{
	background-color: rgba(0,0,0,0.1);
}

.list-items .author{
	/*display: block;*/
	float: left;
	min-width: 70%;
	display: inline-block;
}

.list-items .datas{
	width: 20%;
	float: right;
	display: block;
	color: #777;
}

.list-items .book-num{
	float: right;
	display: block;
	width: 10%;
	text-align: center;
}



/* Datas 
*/

.date-items, 
.date-items ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

.date-items{
}

.date-decade{
	width: 100%;
}
.date-item{
	float: left;
	width: 9%;
	text-align: center;
	padding: 2px;
	box-sizing: border-box;
}

.date-item .book-data{
	background-color: rgba(0,0,0,0.4);
	padding: 3px 5px 4px;
	color: white;
	display: block;
}

.date-item a.book-data:hover{
	background-color: #555;
}
.date-item .book-num{
	display: block;
	padding: 4px 5px 2px;
	color: rgba(231, 52, 63, 1);
}

.empty .book-num{
	/*display: none;*/
	opacity: 0;
}

.empty .book-data{
	background-color: rgba(0,0,0,0.2);

}



/* Classes 
*/

.classe-list .selected a, 
.classe-list a:hover{
	color: rgba(231, 52, 63, 1);
	font-style: italic;
}

.classe-list .selected a .classe-num, 
.classe-list a:hover .classe-num{
	font-style: normal;
}

.classe-list{
	line-height: 1.4em;	
}

.classe-num{
	padding-right: 15px;
	font-weight: bold;
	display: inline-block;
	text-align: center;
	width: 15px;
}



/* Listagem 
*/

.list{
	
}

.authorTitleSelected{
	margin-top: 60px;
	font-size: 1.5em;
}

.paginacao{
	margin-bottom: 40px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding-top: 12px;
	padding-bottom: 12px;
	margin-top: 20px;
}

.paginacao a{
	color: #888;
	display: block;
}

.paginacao a:hover{
	color: black;
}

.paginacao li{
	width: 11.11%;
	text-align: center;
	float: left;
}

.paginacaoS{
	color: rgba(231, 52, 63, 1);
	font-weight: bold;
}

.listWorks{
	border-bottom: 1px solid #ccc;
	padding-bottom: 20px;
	padding-top: 20px;
	line-height: 1.5em;
}

.listWorks:last-child{
	border-bottom: none;
}
.coverThumb{
	width: 70px;
	float: left;
	margin-right: 30px;
}

.listWorks span.categoria {
	text-transform: uppercase;
	font-size: 0.7em;
	color: #777;
	letter-spacing: 1px;
	width: 70px;
	display: inline-block;
}

.listwork-titulo a{
	font-style: italic;
}

.listWorks .infoCover{
	color: #888;
}

.listWorks .infoCover a:hover{
	color: rgba(231, 52, 63, 1);
}


/* Livro 
*/

.recordCover{
	float: right;
}

ul.recordText{
	padding-right: 170px;
}

.recordText li{
	padding-top: 8px;
	padding-bottom: 8px;
	border-top: 1px solid #ccc;
}

.recordText li:last-child{
	border-bottom: 1px solid #ccc;
}

.book-code, .view-book .classeInfo, 
.listwork-cota .texto{
	font-family: Courier New, Courier, monospace;
	color: #888;
}


.DigitalItems{
	margin-top: 60px;
}

.DigitalItems .itemDiv{
	border-bottom: 1px solid #ccc;
	padding-bottom: 15px;
	padding-top: 15px;
	border-top: 1px solid #ccc;
	padding-left: 2px;
}

.DigitalItems .itemDiv:last-child{
	border-top-style: none;
}

.DigitalItems .itemDiv.login-required{
	border-top: 1px solid #ccc;
}

.DigitalItems .itemDiv .fa{
	color: #888;
	padding-right: 10px;
	font-size: 1.5em;
}

.DigitalItems .itemDiv a:hover, 
.DigitalItems .itemDiv a:hover .fa{
	color: rgba(231, 52, 63, 1);
}

.DigitalItems-title{
	color: #888;
	margin-bottom: 10px;
}

.itemDiv .DigitalItems-title{
	margin-bottom: 0;
}

.DigitalItems .itemDiv a{
	margin-top: 10px;
	display: block;
}

.itemDiv a.DigitalItems-title{
	margin-top: 0;
	display: inline-block;
	color: #888;
	/*background-color: olive;*/
}

.pdf-item{
	margin-bottom: 10px;
}


.login-required{
	color: #888;
	border-top: 1px solid #ccc;
}

.login-required p{
	padding-left: 27px;
	margin-bottom: 0;
}

.DigitalItems .itemDiv.login-required a{
	margin-top: 0;
	display: inline;
}

.login-required span.nota{
	font-size: 0.8em;
	padding-left: 27px;
}

.login-required span.nota a{
	text-decoration: underline;
	color: #888;
}



/* View Book
*/

.view-book{
	max-width: 90%;
	text-align: center;
}

.view-book h1{
	font-size: 1.5em;
	margin-bottom: 5px;
}

.view-book .classeInfo{
	margin-bottom: 15px;
	margin-top: 5px;
	
}

.pageSelection{
	text-transform: uppercase;
	font-size: 0.7em;
	color: #777;
	letter-spacing: 1px;
	display: inline-block;
	color: rgba(231, 52, 63, 1);
	margin-bottom: 30px;
	border-top-style: solid;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-top: 20px;
}

.pageSelection:hover{
	color: black;
}

.index .pageNumber{
	display: inline-block;
	margin-bottom: 10px;
	width: 30px;
}
.index .space{
	display: none;
}

.view-book .indexIndex .grayRange, 
.view-book .indexIndex .grayRangeSelected{
	display: inline-block;
	width: 60px;
	margin-bottom: 10px;
}

.view-book .indexIndex .grayText{
	margin-top: 15px;
	margin-bottom: 15px;
}

.view-book .indexIndex span.grayRange{
	display: none;
}

.view-book .indexIndex .grayPage,
.view-book .indexIndex .grayRange,
.view-book .classeInfo{
	color: #999;
}

.indexRange,
.grayText{
	border-bottom: 1px solid #ccc;
	padding-bottom: 5px;
}

.indexRange{
	border-top: 1px solid #ccc;
	padding-top: 15px;
}

.view-book .indexIndex .grayRangeSelected,
.view-book .indexIndex .grayPageSelected{
	color: rgba(231, 52, 63, 1);
	font-style: italic;
}



/* Image Controls 
*/

.buttonNavigation{
	font-size: 1.5em;
	/*display: none;*/
	margin-bottom: 20px;
	margin-top: 20px;
}

.buttonNavigation .buttonImage{
	width: 25px;
	height: 25px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	display: inline-block;
	opacity: .4;
	margin-right: 5px;
	margin-left: 5px;
}

.buttonNavigation .buttonImage:hover{
	opacity: 1;
}

.buttonNavigation #firstPage{
	background-image: url(../img/bpfp_icones-first.png);
}

.buttonNavigation #previousPage{
	background-image: url(../img/bpfp_icones-previous.png);
}

.buttonNavigation #zoomOut{
	background-image: url(../img/bpfp_icones-zoom-out.png);
}

.buttonNavigation #zoomDefault{
	background-image: url(../img/bpfp_icones-zoom-default.png);
}

.buttonNavigation #zoomIn{
	background-image: url(../img/bpfp_icones-zoom-in.png);
}

.buttonNavigation #nextPage{
	background-image: url(../img/bpfp_icones-next.png);
}

.buttonNavigation #lastPage{
	background-image: url(../img/bpfp_icones-last.png);
}

.buttonNavigation #magnify{
	background-image: url(../img/bpfp_icones-magnify.png);
}

.buttonNavigation #print{
	background-image: url(../img/bpfp_icones-print.png);
}


.view-book .image {
	max-width: 695px;
	margin: auto;
}

.view-book img.image {
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	height: auto;
	display: block;
	-moz-box-shadow: 0 0 20px #bebbb6;
	box-shadow: 0 0 20px #bebbb6;
}

.view-book .image .techImage{
	display: none;
}


/* Destaques 
*/

.content-images{
	margin-top: 70px;
	margin-bottom: 50px;
	text-align: center;
}

.content-images a{
	display: inline-block;
	margin-right: 15px;
	margin-left: 15px;
	margin-bottom: 15px;
}

.content-images span{
	clear: left;
	display: block;
	font-size: .8em;
	color: #888;;
}

.autor-texto{
	color: rgba(231, 52, 63, 1);
	font-style: italic;
	margin-top: 50px;
	text-align: right;
}

ul.destaques{
	
}

.list-item{
	border-top: 1px solid #ccc;
	
}

.list-items a{

	display: block;
	width: 100%;
}

ul.destaques li{
	width: 33.33%;
	float: left;
	box-sizing: border-box;
	padding-right: 10px;
	padding-left: 10px;
	text-align: center;
	padding-bottom: 50px;
}

ul.destaques li h3{
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	line-height: 1em;
	padding-top: 8px;
	padding-bottom: 8px;
	font-weight: 300;
	margin-top: 0;
}

ul.destaques li img{
	max-width: 80%;
	margin-right: auto;
	margin-left: auto;
}

ul.destaques li a:hover h3{
	background-color: rgba(0,0,0,0.1);
}


/* Toggle
*/

.toggleGroup{
	display: none;
}

.toggleButton{
	display: inline-block!;
}

.hide-toggle{
	display: none;
}

.sign-in-form form{
	padding-bottom: 30px;
}

.sign-in-form label,
.sign-in-form input,
.sign-in-form button {
	display: block;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.sign-in-form label{
	text-transform: uppercase;
	font-size: 0.714em;
	color: #777;
	letter-spacing: 1px;
	padding-bottom: 10px;
	padding-top: 10px;
}

.sign-in-form input[type="text"]{
	min-width: 280px;
	background-color: transparent;
}

.sign-in-form button{
	border-style: none;
	background-color: transparent;
	padding-bottom: 8px;
}

.sign-in-form .form-password-input{
	margin-bottom: 25px;
}

.sign-in-form .list-items{
	text-align: center;
}

.sign-in-form button:hover{
	color: rgba(231, 52, 63, 1);
}



/* Back To Top
*/

#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    text-align: center;
	cursor: pointer;
    border: 0;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
	font-size: 0.714em;
	color: black;
	width: 40px;
	text-shadow: 0px 0px 5px 0px #fff;
}

#back-to-top .arrow{
	width: 25px;
	height: 25px;
	background: url(../img/top.png) center center no-repeat;
	background-size: contain;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 10px;
}

#back-to-top:hover .arrow{
    background: url(../img/top_full.png) center center no-repeat;
    background-size: contain;
}
#back-to-top.show {
    opacity: 1;
}


/* Responsive */

@media (min-width: 1200px) {
  
  .main-content{
  	/*max-width: 700px;*/
  }
  
  .content{
  
  }

}
