@font-face {
    font-family: 'regular';
    src: url(fonts/Raleway-Regular.ttf);
}

@font-face {
    font-family: 'bold';
    src: url(fonts/Raleway-Bold.ttf);
}

@font-face {
    font-family: 'italic';
    src: url(fonts/Raleway-Italic.ttf);
}

@font-face {
    font-family: 'bolditalic';
    src: url(fonts/Raleway-SemiBoldItalic.ttf);
}

body {
	font-family: regular;
	font-size: 16px;
	color: #454545;
}

ion-view {
	background-color: #f8f8f8 !important;
}

.bold, strong, b {
	font-style: normal;
	font-family: bold;
}

.italic, i {
	font-style: normal;
	font-family: italic;
}

i strong, strong i, i b, b i {
	font-style: normal;
	font-weight: normal;
	font-family: 'bolditalic';
}

.index_header {
	position: absolute;
	left: 0;
	right: 0;
	top: 44px;
	background-color: #f8f8f8;
	z-index: 40;
	transition: transform .3s;
}
.index_header.compact {
	transform: translateY(-73px);
}

.index_header .index_title {
	display: flex;
	align-items: center;	
	font-size: 24px;
	line-height: 32px;
	color: #fdb812;
	text-transform: uppercase;
	margin: 20px;
}

.index_header .index_title::after {
	display: block;
	content: '';
	margin-left: 10px;
	height: 1px;
	background-color: #59595b;
	flex: 1;
}

.index_header .search_box {
	margin: 0 20px;
	display: flex;
	align-items: center;
	border: 1px #585858 solid;
	transition: margin .3s;
}

.index_header.compact .search_box {
	margin: 0 -1px;
}

.index_header .search_box input {
	flex: 1;
	-webkit-appearance: none;
	border: none;
	padding: 13px;
	font-size: 14px;
	height: auto;
	background-color: transparent;
	border-right: 1px #585858 solid;
}

.index_header .search_box .app_icon {
	margin: 10px;
}


.index_header .search_box {
	display: flex;
	border: 1px #585858 solid;
}

.index  {
	padding: 20px;
	padding-top: 130px;
	transition: transform .5s;
}

.index_header.compact~.index {
	transform: translateY(-50px);
	bottom: -50px;
}

.index_header.compact.force~.index {
	transform: translateY(-73px);
	bottom: -73px;
}

.index .group {
	margin-top: 10px;
	display: none;
}
.index .group.show {
	display: block;
}

.empty_list {
/*	position: absolute;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);*/
	text-align: center;
	display: none;
	margin-top: 130px;
}

.index_view .empty_list {
	display: block;
}

.index_view .group.show ~ .empty_list {
	display: none;
}


.index .group .chapters_list {
	transition: height .3s;
}

/*.index .group .chapters_list .placeholder * {
	transition: all .2s;

}

.index .group:not(.open) .chapters_list .placeholder * {
	line-height: 0;
	padding: 0;	
	border: none; 
}*/


.index .group:nth-child(2) {
	margin-top: 15px;
}



.index .group_title {
	position: relative;
	padding: 15px;
	color: #fdb812;
	background-color: #fff1d0;
	font-size: 16px;
	line-height: 24px;
	border: 1px #c9c9c9 solid;
	/*border-top: none;*/
	display: flex;
	align-items: center;
}
.index .search_box+.group .group_title {
	border-top: 1px #c9c9c9 solid;
}

.index .group .group_title .open_text {

	padding: 15px 45px 15px 15px;
	opacity: 0;
	background-color: #fdb813;
	color: #3b3b3b;
	transition: opacity .3s;
}
.index .group.open .group_title .open_text {
	opacity: 1;
}
.index .group_title .text {
	flex: 1;
}


.index .group_title .matches {
	font-family: bolditalic;
	font-size: 12px;
	line-height: 16px;
	color: #454545;
}

.index .group .group_title .bottom {
	position: absolute;
	right: -1px;
	left: -1px;
	bottom: -1px;
	height: 1px;
	background-color: #59585d;
	z-index: 10;
	transition: all .3s;
	/*opacity: 0;*/
	transform: scale(0);
	transform-origin: 0 0;
}

.index .group .group_title .bottom::after {
	content: '';
	position: absolute;
	right: -2px;
	bottom: -2px;
	height: 5px;
	width: 5px;
	background-color: #59585d;
	z-index: 10;
}
.index .group.open .group_title .bottom {
	transform: scale(1);
	/*opacity: 1;*/
}


.index .chapter_title {
	display: flex;
	align-items: center;
	padding: 15px;
	border: 1px #c9c9c9 solid;
	border-top: none;
	background-color: #fff;
}

.index .chapter_title .text {
	flex:1;
	color: #454545;
	font-size: 16px;
}
.index .chapter_title .matches {
	font-family: bolditalic;
	font-size: 12px;
}
.index .chapter_title .app_icon {
	height: 8px;
	margin-left: 10px;

}

.chapter .chapter_index {
	padding: 10px;
    position: absolute;
    top: 0px;
    bottom: 30px;
    left: 0px;
    right: 0px;
    overflow-y: scroll;
}

.chapter .chapter_info {
    padding: 10px 20px 5px 20px;
    border-left: 2px solid #424242;
}

.chapter .chapter_info .chapter_title {
	color: #fdb812;
	font-size: 24px;
	line-height: 28px;
	text-transform: uppercase;
}

.chapter .chapter_info .authors {
	margin-top: 5px;
	color: #59595b;
	font-size: 10px;
	line-height: 16PX;
}
.chapter .chapter_info .authors strong {
	font-size: 12px;
}

.chapter .section_list {
	margin-top: 15px;
	border-bottom: 1px #c9c9c9 solid;
}

.chapter .section_list_item {
	border: 1px #c9c9c9 solid;
	border-bottom: none;
	padding: 20px;
	display: flex;
	align-items: center;
	color: #454545;
}

.chapter .section_list_item .title {
	font-size: 16px;
	flex: 1;
}

.chapter .section_list_item .matches {
	font-size: 12px;
	font-family: bolditalic;
}

.chapter .section_list_item .app_icon {
	margin-left: 10px;
	height: 8px;
}

.chapter .section {
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	overflow-x: hidden;
	overflow-y: scroll;
}

.chapter .section_header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background-color: #fdb813;
	font-size: 20px;
	line-height: 26px;
	padding: 20px;
	color: #3b3b3b;
	overflow: visible;
	z-index: 200;
	transition: transform .3s;
}
.chapter .section_header.hidden {
	transform: translateY(-110%);
}
.chapter .chapter_footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	background-color: #ffe4a3;
	height: 40px;
	box-shadow: 0 -1px 3px rgba(0,0,0,.4);
	overflow: visible;
	z-index: 20;
}
.chapter .chapter_footer i {
	color: #58595b;
	font-size: 18px;
	padding: 10px 15px;
}
.chapter .chapter_footer i.disabled {
	opacity: .3;
}

.chapter .chapter_footer .pagination {
	flex: 1;
	text-align: center;
	display: flex;
	justify-content: center;
}

.chapter .chapter_footer .pagination>div {
	display: inline-block;
	opacity: .5;
	vertical-align: middle;
	position: relative;
    flex: 1;
    max-width: 24px;
    text-align: center;
	height: 40px;
    line-height: 38px;
}


.chapter .chapter_footer .pagination>div::before {
	content: '';
	display: inline-block;
	height: 8px;
	width: 8px;
	background-color: #58595b;
	border-radius: 50%;
}

.chapter .chapter_footer .pagination>div.active {
	opacity: 1;
}

.chapter .chapter_footer .pagination>div>div {
	position: absolute;
	top: -100%;
	left: 0;
	right: 0;
	text-align: center;
	font-size: 12px;
}

.chapter .header_placeholder {
	position: relative;
	background-color: #fdb813;
	font-size: 20px;
	line-height: 26px;
	padding: 20px;
	color: #3b3b3b;
	overflow: visible;
	opacity: 0;
}
.chapter .section_header::after {
	content: '';
	position: absolute;
	left: 30px;
	bottom: -5px;
	height: 0;
	width: 0;
	border-top: 5px #fdb813 solid;
	border-left: 5px transparent solid;
	border-right: 5px transparent solid;
	z-index: 10;
}
.chapter .section_header .chapter_title, .chapter .header_placeholder .chapter_title  {
	font-size: 12px;
	line-height: 16px;
}
.chapter .section_header .section_title, .chapter .header_placeholder .section_title {
	font-size: 16px;
	line-height: 20px;
}

.chapter .section_content {
	padding-bottom: 70px;
}

.chapter .section_content .section_block.text {
	font-size: 14px;
	line-height: 20px;
	color: #59595b;
	padding: 20px;
	padding-bottom: 0;
}


.chapter .section_content .section_block.accordion {
	font-size: 14px;
	line-height: 16px;
	padding: 20px;
	padding-bottom: 0;
}


.chapter .section_content .section_block.accordion .fold {
	border: none;
	font-size: 12px;
}

.chapter .section_content .section_block.accordion .fold.open {
	border: 1px #c9c9c9 solid;
	border-bottom: none;
}

.chapter .section_content .section_block.accordion .fold.open:last-child {
	border: 1px #c9c9c9 solid;
}

.chapter .section_content .section_block.accordion .fold .fold_title {
	background-color: #58595b;
	color: #fff;
	padding: 12px;
	display: flex;
	align-items: center;
	border-bottom: 1px #fff solid;
}

.chapter .section_content .section_block.accordion .fold.open .fold_title {
	background-color: #ffe4a3;
	color: #59595b;
	display: flex;
	align-items: center;
}

.chapter .section_content .section_block.accordion .fold .fold_title .text {
	flex: 1;
}
.chapter .section_content .section_block.accordion .fold .fold_title .plus, .group_title .plus  {
	transition: all .4s;
	height: 10px;
	width: 10px;
	background-image: url(../img/icon_plus.png) !important;
	background-position: center !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	margin-left: 10px;
}
.group_title .plus  {
	filter: invert(75%);
	width: 20px;
}


.chapter .section_content .section_block.accordion .fold.open .fold_title .plus, .group.open .plus {
	transform: rotateZ(225deg);
	filter: invert(75%);
}
.group.open .plus {
	transform: rotateZ(225deg);

}

.chapter .section_content .section_block.accordion .fold .fold_cards {
	transition: height .3s;
}

.chapter .section_content .section_block.accordion .fold .fold_card {
	margin: 0 10px;
	padding: 10px 0;
	border-bottom: 1px #fff solid;
}
.chapter .section_content .section_block.accordion .fold .card::last-child {
	border-bottom: none;
}


.chapter .section_content .section_block.asset .fold .card::last-child {
	border-bottom: none;
}


.chapter .section_content .section_block.asset .flux  {
	padding: 10px;
	padding-top:30px;
	margin: 10px;
	margin-top: 20px;
	position: relative;
}

.chapter .section_content .section_block.asset .flux .preview  {
	height: 100px;
	background-size: 100%;
	background-position: 0 0;
	background-repeat: no-repeat;
	border: 2px solid #fdb812;
}

.chapter .section_content .section_block .label {
	margin-top: 5px;
	font-size: 12px;
	line-height: 16px;

}

.chapter .section_content .section_block .label .legend {
	text-transform: uppercase;
	font-family: bold;
}

.options {
	display: flex;
}


.options .choices {
	flex: 1;
	display: flex;
}

.options .option {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	padding: 5px 10px;
	background-color: #fdb812;
	color:white;
}

.options .choices .option {
	border-left: 1px #fff solid;
}

.options .choices .option.restart {
	display: none;
}
.options .choices .option.restart:first-child {
	display: flex;
}
.options .choices .option .option_title {
	flex: 1;
	text-align: center;
	font-size: 10px;
	line-height: 14px;

}
.options .option i {
	margin: 5px;
}

.absolute_button {
	position: absolute;
	top: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background-color: rgba(0,0,0,.4);
	font-size: 20px;
	z-index: 100;
}

.absolute_button.right {
	right: 0;
	border-bottom-left-radius: 8px;
}
.absolute_button.left {
	left: 0;
	border-bottom-right-radius: 8px;
}

.app_header {
	background-color: #fff !important;
	box-shadow: 0px 1px 3px rgba(0,0,0,.1) !important;
	/*background-image: url(../img/top_logo.png) !important;*/
	background-image: url(../img/small_logo.png) !important;
	background-position: center !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;	
}

.app_banner {
	background-color: #fff !important;
	box-shadow: 1px 1px 1px #424242 !important;
	background-image: url(../img/banner.png) !important;
	background-position: center !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;	
}

.app_icon {
	background-position: center !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	width: 22px;
	height: 22px;
}

.image_preview {
	position: relative;
}
.image_preview img {
	display: block;
}
.image_preview i {
	font-size: 20px;
}
.image_detail {
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 26px;
	height: 26px;
	line-height: 26px;
	text-align: center;
	border-radius: 5px;
	color: white;
	background-color: rgba(0,0,0,.5);
	background-image: url(../img/search.png);
}

.app_icon.search {
	background-image: url(../img/search.png);
}
.app_icon.search_clear {
	background-image: url(../img/icon_plus.png);
	transform: rotate(45deg);
	filter: invert(75%);
	height: 18px;
}

.app_icon.arrow_right {
	background-image: url(../img/seta-lista.png);
}
.app_icon.favorites_menu {
	background-image: url(../img/favorito-vazio-cinza.png) !important;
	height: 40px;
	width: 26px;
	background-position: center 5px !important;
}

.app_icon.info {
	background-image: url(../img/info.png) !important;
	height: 40px;
	width: 26px;
	background-position: center 5px !important;
}

.app_icon.index_back {
	background-image: url(../img/index.png) !important;
	/*height: 40px;*/
	width: 24px;
	background-position: center 5px !important;
}

.chapter ul, .extra ul {
	list-style: initial;
	margin-left: 20px;
}
.chapter ol, .extra ol {
	list-style: decimal;
	margin-left: 20px;
}

.chapter li, .extra li {
	list-style: unset;
	margin-bottom: 10px;
}

.chapter h1, .extra h1 {
	font-size: 20px;
	font-weight: normal;
	font-family: bold;
}

.chapter h2, .extra h2 {
	font-size: 16px;
	font-weight: normal;
	font-family: bold;
}

.chapter h3, .extra h3 {
	font-size: 14px;
	font-weight: normal;
	font-family: bold;
}

.coloured {
	color: #fdb812;
}

.ion-information::before {
	vertical-align: top;
    font-size: 18px !important;
    line-height: 22px !important;
    display: block;
    width: 24px;
    height: 24px;
    border: 1px solid grey;
    border-radius: 50%;
}

.extra {
	padding: 20px;
}

.extra .content img{
    width:70%;
}

.group_title:last-child {
	display: none;
}

.placeholder:empty {
	display: none;
}

.leaflet-container {
	background-color: #fff;
}

.extra .extra_top {
	display: flex;
}

.extra .extra_top .image {
	width: 100px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 100px;
	border-radius: 50%;
}

.extra .extra_top .info {
	flex: 1;
	margin-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center
}
.extra .extra_top .title {
	
}
.extra .extra_top .author {
	font-family: italic;
	font-size: 14px;
}

.extra .content {
	margin-top: 20px;
}

.section_favourite{
    width: 30px;
    position: absolute;
    right: 13px;
    top: 0px;
}
.label_favourite{
    width: 20px;
}

.favorite {
	display: flex;
	align-items: center;
	border: 1px #c9c9c9 solid;
	border-top: none;
	background-color: #fff;
}
.favorite.section {

	background-color: #f2f2f2;
}

.favorite .item-content {
    background-color: transparent;
}

.favorite .title {
	flex:1;
	color: #454545;
	font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.favorite .subtitle {
	font-family: bolditalic;
	font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
}

u{ text-decoration-color: #9E9E9E; }

/*mark{
    background-color: #ffe4a3;
    padding: 3px 1px;
    border-radius: 3px;
}*/

.search_results {
	position: absolute;
	bottom: 50px;
	left: 10px;
	z-index: 50;
	display: flex;
	align-items: center;
	background-color: #fdb813;
	color: #fff;
	border-radius: 5px;
	font-size: 12px;
	padding: 2px 6px;
	/*opacity: .7;*/
	max-width: calc(100% - 20px);

}

.search_results .text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.search_results .ion-chevron-right {
	padding: 2px 6px 2px 15px;
	font-size: 15px;
	color: white;
}
.search_results .ion-close {
	padding: 5px 12px 2px 6px;
	font-size: 11px;
	color: white;
}
.flux.search_result, mark.search_result {
    background-color: #ffe4a3;
}

.search_result.selected {
	background-color: #fdb813;
}

.asset_favorite {
	position: absolute;
	width: 24px;
	right: 5px;
	top: 0;
	/*transform: rotateX(180deg);*/
}

.accordion_favorite {
	width: 24px;
	/*transform: rotateX(180deg);*/
}
.favorites_empty {
	position: absolute;
	top:50%;
	left: 0;
	right: 0;
	padding: 0 10px;
	transform: translateY(-50%);
	text-align: center;
}
.button.button-positive { background-color: orange !important; }

.text.line_list ul{
    margin: 0px;
    border-top: .5px solid #424242;
    padding-top: 10px;
    background-color: #fbf0d8;
}
.text.line_list ul li{
    list-style: none;
    border-bottom: .5px solid #424242;
    padding: 0px 10px 10px 10px;
}
.text.grey_border{
    border: 1px solid silver;
    padding: 10px;
}
.text.grey_box{
    background-color: silver;
    width: 60%;
    padding: 5px 10px 1px 10px;
    margin: -90px 15px 0px auto;
    text-align: center;
}
.extra_footer{
    padding: 20px; 
    background-color: white; 
    margin: 20px -20px -20px -20px;
    border-top: 1px solid silver;
    border-bottom: 1px solid silver;
}
.width_50{ width: 50% !important; }
