/* Cores
bordô: #4f0101;
bordô2: #752b27;
caramelo: #a8590c;



/*  Geral
----------------------------------------------------------------------------------------------------*/
* {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
body {
	background: #fff url(../images/faixaHeader.jpg) repeat-x;
	font: normal 100% Verdana, Geneva, sans-serif;
	color: #666;
}

/* Articles
----------------------------------------------------------------------------------------------------*/
article h2{
	font: 2em/1.5em 'Rosarivo', 'serif';
	text-transform:uppercase;
	color: #752b27;
	margin:1em 0;
}
article h3 {
	font: 1.5em/1.5em 'Rosarivo', 'serif';
	font-style:italic;
	color: #752b27;
	margin:1em 0;
}
article h3.conceito {
	font: 2.5em/1.2em 'Rosarivo', 'serif';
	font-style:italic;
	color: #a8590c;
	padding-left: 1em;
}
p {
	font: 100%/180% "Verdana", Geneva, sans-serif;
	margin-bottom: 1em;
}
a {
	text-decoration: none;
	color:  #e98139;
}
a:hover {
	color: #4f0101;
}
article ul {
	font: 100%/200% "Verdana", Geneva, sans-serif;
	margin-bottom: 1em;
}
article li{
	list-style-type:disc;
	list-style-position:inside;
}
.retranca{
	font: 120%/180% 'Rosarivo', 'serif';
	font-style:italic;
}
/*  Header
----------------------------------------------------------------------------------------------------*/

header h1{
	padding-top:3em;
	font: 4em 'Rosarivo', 'serif';
	text-transform:uppercase;
}
header h1 a{
	color: #752b27;
	text-decoration: none;
}
.superlinha{
	border-top: 3px solid #752b27;
}
.sublinha{
	border-bottom: 3px solid #752b27;
}
header h2{
	padding-top:0.5em;
	font: 2em/1em 'Rosarivo', 'serif';
	font-style:italic;
	color: #752b27;
	margin-bottom:2em;
}


/* `Menu desktop
----------------------------------------------------------------------------------------------------*/
.nav-desktop{

}

.nav-desktop input[type=checkbox]{
	position: absolute;
	opacity: 0;
}
.nav-desktop label, .nav-desktop a{
	position: relative;
	display: block;
	background: #752b27;
	box-shadow: inset 0 -1px #fff;
	color: #ffffff;
	font: 100% 'Rosarivo', 'serif';
	text-transform:uppercase;
	text-decoration:none;
}
.nav-desktop label{
	padding: 0.75em 0.93em 0.75em 3em;
	cursor:pointer;
}
.nav-desktop a{
	padding: 0.75em 0.93em;
}
.nav-desktop li ul a{
	padding-left:1em;
	background: #a8590c;
}
.nav-desktop a:hover, .nav-desktop label:hover, .nav-desktop a:active{
	background: #4f0101;
}
.nav-desktop ul {
	display: none;
}
.nav-desktop input[type=checkbox]:checked + label + ul,
.nav-desktop input[type=checkbox]:checked + label:nth-of-type(n) + ul {
	/* use label:nth-of-type(n) to fix a bug on safari (<= 8.0.8) with multiple adjacent-sibling selectors*/
	/* show children when item is checked */
	display: block;
}
.nav-desktop label::before{
  position: absolute;
  font-family: 'FontAwesome';
  top:0.9em;
  left:1.3em;
  content: "\f105";
}
.nav-desktop input[type=checkbox]:checked + label::before {
  position: absolute;
  font-family: 'FontAwesome';
  top:0.9em;
  left:1.3em;
  content: "";
}
.nav-desktop input[type=checkbox]:checked + label::after {
  position: absolute;
  font-family: 'FontAwesome';
  top:0.9em;
  left:1.3em;
  content: "\f107";
}

@media only screen and (min-width: 767px) {

.nav-desktop{
	float: right;
	position: relative;
	z-index: 20;
	max-width: 500px;
}

.nav-desktop label, .nav-desktop a{
	position: relative;
	float: left;
	background: none;
	box-shadow: none;
	color: #752b27;
}
.nav-desktop li {
	position: relative;
	float: left;
	text-transform:uppercase;
}
.nav-desktop a:hover, .nav-desktop label:hover {
	background: #752b27;
	color: #fff;
}
/* ******Segundo nível ****** */
.nav-desktop li ul {
	position: absolute;
	top: 2.8em;
	left: 0;
	background-color: #4f0101;
	display: none;
}
.nav-desktop li:hover ul, .nav-desktop li.over ul {
	display: block;
}
.nav-desktop li ul li a{
	border-bottom: 1px solid #fff;
	display: block;
	width: 16em;
	color: #fff;
}
}


/* Footer
----------------------------------------------------------------------------------------------------*/
footer {
	background: #4f0101;
	padding: 3em 0;
	border-bottom:	0.5em solid #752b27;
}
footer h3 {
	font: 1.2em "Verdana", Geneva, sans-serif;
	font-weight:bold;
	color:#ccc;
	padding-bottom: 0.6em;
}
footer p {
	font: 100%/180% "Verdana", Geneva, sans-serif;
	color: #ccc;
}
footer small {
	color: #ccc;
}
footer a {
	color:#999;
	font-weight:bold;
	text-decoration:none;
}
footer a:hover {
	color:#fff;
}
.google-maps {
	position: relative;
	padding-bottom: 20%;
	/* This is the aspect ratio */
	height: 0;
	overflow: hidden;
}
.google-maps iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}
.redes-sociais { 
	width:30px;
	padding-top: 5px;
	padding-right: 10px;
	margin-right: 10px;
	float:left;
	}
#footer-secundario{
	height: 0;	
}
	



/* Elementos de diagramação e formatação
----------------------------------------------------------------------------------------------------*/
/*Espaçamento*/
.spacerXXG {
	padding-top: 5em;
	clear: both;
}
.spacerXG {
	padding-top: 8em;
	clear: both;
}
.spacerG {
	padding-top: 4em;
	clear: both;
}
.spacerM {
	padding-top: 2em;
	clear: both;
}
.spacerP {
	padding-top: 1em;
}
.resize-image {
	max-width: 100%;
	height: auto;
}
.pad-top {
	margin-top: 2em;
}
/*Alinhamento e estilo*/
.dir {
	float: right;
	margin-left:10px;
}
.esq {
	float: left;
	margin-right:10px;
}
.baseline {
	float: left;
	vertical-align:baseline;
}
.texto-esquerda {
	text-align: left;
	margin-left:0.5em;
}
.texto-direita {
	text-align: right;
}
.texto-centro {
	text-align:center;
}
.clear {
	clear: both;
}
.forte {
	font-weight: bold;
}
.italizado {
	font-style: italic;
}
.plus {
	font-size:120%;
}
.grande {
	font-size:150%;
	font-weight:bold;
}
.maior {
	font-size:200%;
	font-weight:bold;
}
.autor {
	font-style: italic;
	text-align: right;
}
figure img{
	border: 1px solid #752b27;
	padding:10px;
}
figcaption {
	font: 80% 'Rosarivo', 'serif';
	font-style:italic;
	padding-top:0.2em;
	margin-bottom:1em;
}
.menor {
	font-size:75%
}
blockquote {
	font: 100%/190% 'Libre Baskerville', serif;
	font-style:italic;
	padding-left:3em;
	margin-bottom: 0.8em;
}

/* Botão
----------------------------------------------------------------------------------------------------*/
.go-top {
	padding: 0.4em 1em;
	background-color: #a8590c;
	color: #fff;
	text-decoration: none;
	border-radius: 8px;
	box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.3);
}
.go-top:hover {
	background: #752b27;
	text-shadow:none;
	color: #ccc;
}
.go-top {
	position: fixed;
	bottom: 2em;
	right: 2em;
	display: none;
	z-index:230;
}
/* Veja também
----------------------------------------------------------------------------------------------------*/

article#related p {
	font: 100%/130% "Verdana", Geneva, sans-serif;
	margin-top: 0.5em;
}
article#related p a {
	text-decoration: none;
	color:  #752b27;
	font-weight: bold;
}
article#related p a:hover {
	color: #4f0101;
}
article#related a:hover img{
	opacity: 0.8;
}


/* #Tablet (Portrait)
================================================== */

    /* Note: Design for a width of 768px */
@media only screen and (min-width: 768px) and (max-width: 959px) {
header h1{
	padding-top:5em;
	font: 3em 'Rosarivo', 'serif';
	text-transform:uppercase;
}
header h2{
	padding-top:0.5em;
	font: 1.5em/1em 'Rosarivo', 'serif';
	font-style:italic;
	color: #752b27;
	margin-bottom:2em;
}
article h2{
	font: 1.8em/1.5em 'Rosarivo', 'serif';
	text-transform:uppercase;
	color: #752b27;
	margin:0.5em 0;
}
article h3 {
	font: 1.2em/1.5em 'Rosarivo', 'serif';
	font-style:italic;
	color: #752b27;
	margin:1em 0;
}
article h3.conceito {
	font: 1.85em/1.2em 'Rosarivo', 'serif';
	font-style:italic;
	color: #a8590c;
	padding-left: 1em;
}

footer section .six.columns { width: 630px !important;}
footer section .four.columns.mapa  {  padding-top: 30px;padding-left: 122px; width: 100%; }	
}
	

/*  #Mobile (Portrait)
================================================== */

    /* Note: Design for a width of 320px */

@media only screen and (max-width: 767px) {
#selo { display:none; }
#cranio { width: 200px; float:right;}
header h1{
	padding-top:5em;
	font: 2em 'Rosarivo', 'serif';
	text-transform:uppercase;
}
header h2{
	padding-top:0.5em;
	font: 1.2em/1em 'Rosarivo', 'serif';
	font-style:italic;
	color: #752b27;
	margin-bottom:2em;
}
article h2{
	font: 1.5em/1.5em 'Rosarivo', 'serif';
	text-transform:uppercase;
	color: #752b27;
	margin:0.5em 0;
}
article h3 {
	font: 1.2em/1.5em 'Rosarivo', 'serif';
	font-style:italic;
	color: #752b27;
	margin:1em 0;
}
article h3.conceito {
	font: 1.85em/1.2em 'Rosarivo', 'serif';
	font-style:italic;
	color: #a8590c;
	padding-left: 1em;
}
.spacerXXG {
	padding-top: 2em !important;
	clear: both;
}
#related .two.columns {width: 118px; padding-right:20px; }
footer section .two.columns.selo  {  width: 100px; padding-bottom: 30px;}
footer section .four.columns.mapa  {  padding-top: 30px; }	
}

    
/* #Mobile (Landscape)
================================================== */

    /* Note: Design for a width of 480px */
    
@media only screen and (min-width: 480px) and (max-width: 767px) {
}




/*  #Print
================================================== */

@media print {

/* Geral*/
	@page {
margin: 2cm;
}
a {
	color: #000;
}
 a[href^=http]:after {
content:" <" attr(href) "> ";
} /*imprime o endereço em hiperlinks*/
header:before {
	content: "Centro Cultural do Ministério da Saúde - www.ccms.saude.gov.br";
}
.superlinha{
	border-top: none;
}
.sublinha{
	border-bottom: none;
}
/*Display:none*/	
 	#related, .nav-desktop, .go-top, footer {
	display:none;
}
.selo, .search, .button {
	display:none;
}
img, figcaption {
	display:none !important;
}
/*Tamanhos e larguras*/
	.container {
	width: 16cm;
}
.container .one.column,  .container .one.columns,  .container .two.columns,  .container .three.columns,  .container .four.columns,  .container .five.columns,  .container .six.columns,  .container .seven.columns,  .container .eight.columns,  .container .nine.columns,  .container .ten.columns,  .container .eleven.columns,  .container .twelve.columns,  .container .one-third.column,  .container .two-thirds.column {
	width: 16cm !important;
}

header h1 {
	font: 28pt "Times New Roman", Times, serif;
	color: #000;
	text-align:left;
}
header h2 {
	font: 24pt "Times New Roman", Times, serif;
	font-style:italic;
	color: #000;
	text-align:left;
}

article h2 {
	font: 20pt "Times New Roman", Times, serif;
	color: #000
}
article h3 {
	font: 140%/170% "Times New Roman", Times, serif;
	font-style:italic;
	color: #000
}
article h3.conceito {
	font: 160%/170% "Times New Roman", Times, serif;
	font-style:italic;
	color: #000
}
p, ul li {
	font: 100%/180% Georgia, "Times New Roman", Times, serif;
	color: #000
}

.spacerXXG {
	padding-top: 16pt;
}
.spacerXG {
	padding-top: 16pt;
}
.spacerG {
	padding-top: 16pt;
}
.spacerM {
	padding-top: 16pt;
}
.spacerP {
	padding-top: 16pt;
}
.pad-top, pad-mobile {
	margin-top: 16pt;
}
.texto-direita {
	text-align: left;
}
}
