html,body {
	margin:0;
/*	font-family:Arial,Verdana,Helvetica,sans-serif;*/
	font-family: 'Montserrat', sans-serif;
	font-size:0.95em;
	overflow-x:hidden;
	height:100%;
/*	position:relative;*/
}

a, a:visited {outline: none; margin:0;padding:0; color:#0054ff}
#main-menu a, #main-menu a:visited, #destaques a, #destaques a:visited {text-decoration:none;}
a:active { outline: none; }
a[name] {padding-top: 230px;}	/* because of fixed header */

div.clear {clear:both;}
div.flex-break {flex:0 0 100% !important; padding: 0 !important; margin:0 !important; background: none !important}

/*#header {
	position:absolute;
	background:transparent;
	padding:10px 10px;
	right:0px;
}*/


div.section {
	background-color:#003000;
	padding:240px 0px 0 0;
	border-bottom:0px solid white;
/*	box-shadow:0px 0px 40px 0px rgba(0,0,0,0.5);*/
	background-repeat:no-repeat;
	background-attachment:fixed;
	background-position:50% 50%;
	background-size:cover;
}

div.section>h1 {	/* overlaid in photo */
	padding:0px 5px 50px 0px;
	margin:0;
	text-align:center;
	text-shadow: 1px 1px 3px black;
/*	background: linear-gradient(315deg, rgba(255, 0, 50, 0.5), rgba(0, 0, 50, 0.5) 80%) repeat fixed 0% 0%;*/
/*	background: url("./images/noisy_grid.png") repeat fixed 0% 0% transparent;*/
/*	background: linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3) 80%) repeat fixed 0% 0%;*/
	color:white;
	font-weight:normal;
	font-size:1.5em;
/*	transform-origin: left bottom;
	transform: rotate(-90deg) translate(0%,100%);
	display: inline-block;*/
}

div.section>h1 span {font-size: 0.6em;}

div.card-content {
	background-color:rgba(225,225,255,0.85);
	/*rgba(255, 249, 236, 0.9);*/
	width:100%;
}

div.card-content article {
	max-width: 1000px;
	margin:0 auto;
}

div.card-content h1 {
	padding:0.4em 0 0.4em 0;
	margin:0;
	text-align:center;
	color:black;
	font-size:3.2em;
	font-weight:normal;
	background-color:#448AFF; /*#2196F3;*/
	color:rgba(0,0,0,0.87);
	border-bottom: 3px solid white;
}

div.card-content h2 {
	padding:0.25em 0.1em;
	margin:0;
	text-align:center;
	color:black;
	font-size:2em;
	font-weight:normal;
	background-color:#0069c0;
	color:rgba(255,255,255,0.87);
}

div.card-content h3 {
	padding:10px 20px 0 20px;
	font-size: 1.4em;
}

div.card-content p, div.card-content ul, div.card-content ol, div.card-content table {
	padding:0px 20px 0 20px;
	text-align:justify;
	line-height:1.7em;
}

div.card-content p.highlight {
	font-weight: bold;
	font-size: 1.1em
}

div.card-content ul, div.card-content ol {
	margin-left: 25px;
}

div.card-content table {
	border-collapse: separate; border-spacing:3px;
	font-size:1.1em;
}
div.card-content table td {background-color:rgba(255,255,255,0.8); padding:20px;}
div.card-content table td.big {font-size: 1.3em; text-align:center;}

.section.red div.card-content h1 {background-color:#f44336;}
.section.red div.card-content h2 {background-color:#ff7961; color:rgba(0,0,0,0.87);}

/*
div.section:nth-of-type(3) {background-image:url('./images/IMG_0181.jpg');}
div.section:nth-of-type(4) {background-image:url('./images/MP_A6749734911136329_1.jpg');}
div.section:nth-of-type(5) {background-image:url('./images/Nigella-gallica-02_a.jpg');}
div.section:nth-of-type(6) {background-image:url('./images/IMG_7290_a.jpg');}
*/

/**
	MAIN MENU
**/
div.section#entrance {
	min-height:100%;
	width:100%;
	padding:0;
	display:flex;
	align-items:center;
}

#main-strip {
	display:flex;
	align-items:center;
	justify-content: center;
	flex-wrap:wrap;
/*	background-color:#BBDEFB*/
/*	background-color:rgba(225,225,255,0.8);*/
}

#main-strip #logo {
	flex: 1 1 400px;
	max-width:500px;
	margin:0px;
	min-width:0;
	min-height:0;
	object-fit: scale-down;
/*	filter: drop-shadow(0px 0px 15px #fff);*/
}

#main-strip #main-menu {
	flex:1 1 450px;
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	justify-content: center;
	font-size:1.2rem;
	padding:10px 0;
}


/*#main-strip #projectos {
	width:100%;
	text-align:right;
}
#floraonlogo {height:70px;}
#lvflogo {height:100px;}*/


#main-strip a, #main-strip a:visited {color:black;}

#destaques {
	width: 100%;
	display:flex;
	flex-wrap: wrap;
	justify-content:center;
	margin:2em 0px;
}

#destaques>div {
/*	background-color:rgba(225,225,255,0.2);*/
	background-color:rgba(244,67,54,0.85);
	max-width:60%;
	text-align:center;
	font-size:1.6em;
	color: white;
	padding:0.6em;
	margin: 10px;
	border-radius:4px;
	border:0px solid white;/*#f44336;*/
	clip-path: polygon(25px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 25px);
	display: flex;
	align-items: center;
/*	background-color: #00B0FF;*/
}
#destaques>div:nth-of-type(1) {flex: 0 1 auto;}
#destaques>div:nth-of-type(2) {flex: 1 1 200px;}
#destaques>div:nth-of-type(3) {flex: 1 1 200px;}

#destaques>div.noback {background-color:transparent;}
#destaques a {color:white;}

#main-strip #destaques>a:nth-of-type(1) {flex: 3 1 auto; margin: 15px 0 15px 20px;}
/*#main-strip #destaques>a:nth-of-type(2), #main-strip #destaques>a:nth-of-type(3) {line-height:0; margin: 4px 4px 0 0;flex: 1 0 0px;}
#main-strip #destaques>a:nth-of-type(3) {align-self: flex-end}
#main-strip #destaques #floraon {width:100%; height:auto; min-width:210px; min-height:60px}*/

/*#main-strip #destaques a {border-top: 2px dotted white; border-bottom: 2px dotted white;}*/

#main-strip.sticky {
	position: fixed;
	top:0;
	width:100%;
	box-shadow:0 0 20px #000;
	background-color:rgba(225,225,255,1);
	z-index:1;
}

#main-strip.sticky #logo {
	height:60px;
	min-height:initial;
	max-width:initial;
	flex:none;
	margin:0 10px 0 0 ;
}

#main-strip.sticky #main-menu {
	font-size:1em;
	display:inline-block;
	padding:0;
}

#main-strip.sticky #main-menu>div.projecto {
	margin:2px 0 2px 20px;
	height:60px;
}

#main-strip.sticky #main-menu>div {
	margin:2px;
	padding:0 10px;
	display:inline-block;
	background-image: none;
	vertical-align:middle;
}

#main-strip.sticky #main-menu>div a {line-height:26px;}

/* menu buttons */
div.card-content #main-menu>div {
	flex: 0 0 180px;
	border-radius:0px;
/*	border: 2px solid white;*/
	margin:12px 6px;
	padding: 4px 15px;
	cursor:pointer;
	text-align:left;
	border-radius:3px;
	box-shadow:0 0 10px #888;
	display:flex;
	align-items:center;
	justify-content: start;
	text-transform:uppercase;
	background-image: url('images/Logo_folha1.png');
	background-repeat: no-repeat;
	background-position: 105% 0%;
	background-size: 20%;
}

div.card-content #main-menu:not(.sticky)>div.home {display:none;}
div.card-content #main-menu:not(.sticky)>div.clear {display:none;}

div.card-content #main-menu>div:nth-of-type(1) {background-color:#448AFF;}
div.card-content #main-menu>div:nth-of-type(2) {background-color:#448AFF;}
div.card-content #main-menu>div:nth-of-type(3) {background-color:#448AFF;}
div.card-content #main-menu>div:nth-of-type(4) {background-color:#448AFF;}
div.card-content #main-menu>div:nth-of-type(5) {background-color:#448AFF;}
div.card-content #main-menu>div:nth-of-type(6) {background-color:#448AFF;}

div.card-content #main-menu>div.projecto {
	flex: 1 0 210px;
	margin:0 10px 10px 0;
	padding:0;
	background:none;
	max-width:300px;
	box-shadow:none;
	align-self: flex-end;
}

div.card-content #main-menu>div a {
	color:white;
	width:100%;
	line-height:35px;
}
div.card-content #main-menu>div img { max-height:100%; max-width:100%;}

/*div.card-content #main-menu>div:hover {
	padding:3px 25px;
	margin: 20px 0px;
}*/

div.card-content img.left {
	float:left;
	width:25%;
	margin:0 20px 0 0;
}

div.card-content img.left.roundbutton {
	height: 5em;
	width: 5em;
	margin-left:0.3em;
	border:0px solid white;
	border-radius:50%;
	padding:0px;
	background-color:#f44336;
	box-shadow: 0 0 12px #000;
}

div.separator {
	border-radius:50%;
	width:30px;
	height:30px;
	margin:0 auto;
	position:relative;
	top:-18px;
	left:-2%;
	margin-bottom:-38px;
	background-color:black;
	text-align:center;
	border:4px solid white;
}
div.separator.second {left:2%;background-color:black;}

div.card-content div.mosaic9 {
	display:flex;
	flex-wrap:wrap;
/*	max-width: 800px;*/
	width:100%;
	justify-content: center;
	margin: 0 auto;
}
	
div.card-content div.mosaic9>div {
	flex: 1 1 240px;
	height:240px;
	margin: 5px;
	max-width:300px;
	background-repeat:no-repeat;
	background-position:50% 50%;
	background-attachment: 50% 50%;
	background-size:cover;
	border-radius:4px;
}

div.card-content div.mosaic9>div div {height:100%; width:100%;}
div.card-content div.mosaic9>div i {position:relative; top:-1.2em; text-shadow: 0 0 3px black; color:white; font-weight:bold; font-size:0.9em}

/****** Apadrinhar ************/
body.apadrinhar {
	background-color: black;
	color:white;
	font-size: 1.3em;
	max-width:700px;
	margin:0 auto;
}

body.apadrinhar.flex {
	display:flex;
	flex-direction:column;
}

body.apadrinhar:not(.flex) {text-align:center}
body.apadrinhar h1 {font-weight:normal;font-size:1.4em}
body.apadrinhar h2 {font-weight:normal;font-size:1.2em}
body.apadrinhar.form {
	max-width:1100px;
	background-image: url('images/cap-cz.png');
	background-size: 400px;
	background-repeat:no-repeat;
	background-position:bottom -50px left -200px;
}

body.apadrinhar>div.picture {
	flex: 1 1 100%;
	background-repeat:no-repeat;
	background-position:50% 15%;
	background-size:cover;
}

body.apadrinhar>div.legend {
	flex: 1 1 auto;
	padding:1.1em;
	line-height: 1.3em;
	text-align: justify;
	background-image: url('images/cap-cz.png');
	background-size: 400px;
	background-repeat:no-repeat;
	background-position:bottom -50px left -200px;

}

body.apadrinhar form label {
	display:block;
	margin-bottom:12px;
	font-size:0.9em;
}

body.apadrinhar form table {
	font-size:1rem;
	width:100%;
}
body.apadrinhar form td {padding:5px;}
body.apadrinhar form td span {font-size:0.8em; color:gray;}
body.apadrinhar form td:first-of-type {width:20%}
body.apadrinhar form tr.header td {
	font-size:1.4em;
	border-bottom:2px solid white;
	padding-top:20px;
}
body.apadrinhar form input {
	background-color:#ddd;
	border:none;
	padding:5px;
	border-radius:4px;
	font-size:1.1em;
}

body.apadrinhar form input.picture {display:none}
body.apadrinhar form input.picture + label {line-height:0;display:inline-block;}
body.apadrinhar form input.picture + label img {
	transform:scale(1,1);
	transition:opacity 0.2s, transform 0.2s;
	cursor:pointer;
	margin:4px 4px 0 0;
	border: 8px solid #f44336;
	border-radius:3px;
}
body.apadrinhar form input.picture:not(:checked) + label img {opacity:0.5; transform:scale(0.85, 0.85);border: 8px solid black;}

body.apadrinhar form input[type=text]:not(.short) {width:100%; box-sizing:border-box;}

body.apadrinhar .thumb {
	height:200px;
}

body.apadrinhar input[type=submit] {
	border: 0px solid red;
	background: #f44336;
	font-size: 2em;
	color: white;
	margin:16px;
	padding:10px;
	cursor:pointer;
}

#apadrinhar-button {
/*	position:absolute;
	top:0;
	transform:translate(-30%, 0) rotate(-45deg);
	transform-origin: 100% 0%;
	font-size:1.3em;
	z-index:2;*/
	color:red;
	font-weight:bold;
	text-transform:uppercase;
	vertical-align:middle;
}

#link-floraon img {
	float: right;
	width: 50px;
}

@media only screen and (max-width: 500px) {
	#header {padding:2px 2px}
	#header #floraonlogo {height:40px;}
	#header #lvflogo {height:40px;}
	div.card-content img.left.roundbutton {display:none}
	#main-strip.sticky #logo {display:none}
	#main-strip.sticky #main-menu>div.projecto {display:none}
	div.card-content #main-menu>div {
		margin:6px 3px;
		padding: 2px 7px;
		font-size:1em;
	}
	
	body.apadrinhar {
		font-size: 0.9em;
	}
	
	body.apadrinhar>div.legend {line-height: 1.3em;}
}
