/**
 * Pages layouter
 * imageria
   ------------------
     |       |    |
   ------------------
     |       |    |
     |       |    |
   ------------------
     |       |    |
   ------------------
*/
/*#--- Cores ---#*/
.sobre {color:var(--sobre-color);}
.consideracoes-finais, .referencias, .agradecimentos, .apendice {color:var(--sobre-color);}
.imageria {color:var(--imageria-color);}
.a-imagem-no-design {color:var(--a-imagem-no-design-color);}
.modos-de-ver {color:var(--modos-de-ver-color);}
.pantone-politico {color:var(--pantone-politico-color);}

/*#--- MIOLO Cs ---#*/
#primary.site-main {}
article {z-index:2;position:relative;
  width:86%;margin:0 auto;
  padding-bottom:96px;
  display:-ms-flexbox;display:flex;
  -ms-flex-direction:column;flex-direction:column;
  justify-content:space-between;
  align-items:stretch;
  align-content:space-between;
}
article .entry-header, .entry-footer {
  margin-top:48px;
  display:-ms-flexbox;display:flex;
  -ms-flex-wrap:wrap;flex-wrap:wrap;
  -ms-flex-direction:row;flex-direction:row;
  -webkit-justify-content:space-between;justify-content:space-between;
  -webkit-align-items:stretch;align-items:stretch;
}
article .entry-header {margin-bottom:32px;}
.entry-footer {bottom:0;position:absolute;width:100%;}
#secondary {z-index:2;-webkit-flex: 3 1 30%;-ms-flex: 3 1 30%;flex: 2 1 30%;}
/* inpage-navigation */
.inpage-navigation {
  width:71%;max-width:1040px;
  height:60px;padding:0;
  display:-ms-flexbox;display:flex;
  -webkit-justify-content:space-between;justify-content:space-between;
}
.inpagelink {margin:0;
  transform-origin:top center;
  transform:rotate(180deg);
}
.inpage-navigation .alignleft a {
  transform-origin:top right;
  transform:rotate(90deg);
}
.inpage-navigation .alignright a {
  transform-origin:top left;
  transform:rotate(270deg);
}
.inpage-navigation a {
  background:url('../images/dd-arrow.png') no-repeat bottom left/cover;
  width:32px;height:12px;
  display:block;
  text-decoration:none;
}
.umterco {width:26%;text-align:left;line-height:inherit;}
.pdfer {display:-ms-flexbox;display:flex;
justify-content:flex-end;align-items:stretch;align-content:stretch;flex-wrap:nowrap;}
.pdficon {width:32px;min-height:24px;max-height:32px;margin-right:4px;background:url('../images/noun-file-1015142.png') no-repeat left center/contain;}
.pdfer a {display:block;
  text-decoration:none;color:#000;font-weight:700;padding:8px 0 4px 0;
}
a.totop {
  width:32px;height:12px;display:inline-block;
  background:url('../images/dd-arrow.png') no-repeat center center/contain;
}
/* Textos */
.entry-header h1.entry-title {width:100%;font-size:2.1em;font-weight:700 !important;}
.entry-content {position:relative;font-size:1.14em;text-align:left !important;}
.entry-content > * {margin-right:30%;} /* Espaço para coluna direita (sidenote, thumbs) */
.entry-content ul, .entry-content ol, .entry-content blockquote, .entry-content table {
  margin:1em 33% 1em 3em;
  border-left:0 none;
  font-size:inherit;
}
.entry-content ol table, .entry-content ul table, table {width:67%;max-width:67%;}
.entry-content .wp-caption-text {
  text-align:left;color:#000;font-size:0.9em;font-weight:700;
}
.entry-thumb {position:absolute;z-index:0;
  right:0;top:0;
  width:26%;min-height:20px;
  margin-right:0;margin-bottom:24px;
}
.su-spoiler-style-default > .su-spoiler-title {
  outline:0 none !important;
	text-decoration:underline;
}
.su-spoiler-icon-chevron .su-spoiler-icon {transform: scaleY(1.4) !important;}
.su-spoiler.su-spoiler-icon-chevron.lermais .su-spoiler-title::after {content:' menos';}
.su-spoiler.su-spoiler-icon-chevron.lermais.su-spoiler-closed .su-spoiler-title::after {content:' mais';}

/* Tufte CSS styles */
body {counter-reset:sidenote-counter;}
.sidenote, .marginnote {z-index:10;position:relative;
  float:right;clear:right;
  margin-right:-44%;width:38%;
  margin-top:0.3rem;margin-bottom:0;
  vertical-align:baseline;
  background:#FFF;
  font-size:0.9em;
}
.sidenote a[target="_blank"], .marginnote a[target="_blank"] {
	color:#000;
}
.sidenote-numbero {counter-increment:sidenote-counter;}
.sidenote-numbero:after, .sidenote:before, .sidenote-number {position:relative;vertical-align:baseline;}
.sidenote-numbero:after, .sidenote-number {
  content:counter(sidenote-counter);
  content:'\00B7';
  content:'';
  color:var(--imageria-color);
  font-size:1.1rem;
  top:-0.5rem;left:0.1rem;
}
.sidenoteo:before {content:counter(sidenote-counter) ". ";}
.sidenote:before { ". ";}
blockquote .sidenote, blockquote .marginnote, ol .sidenote, ul .sidenote {
  margin-right:calc(-44% - 3em);/*mesmo da ul,ol, etc*/
  text-align:left;
}
input.margin-toggle {display:none;}
label.sidenote-number {
  display:inline-block;
  max-height:2rem; /* less than or equal to paragraph line-height */
}
label.margin-toggle:not(.sidenote-number){display:none;}
.h-screen-reader-text {
  clip:rect(0 0 0 0);clip-path:inset(50%);
  height:1px;overflow:hidden;
  position:absolute;white-space:nowrap;
  width:1px;
}
@media (max-width:760px) {
  label.margin-toggle:not(.sidenote-number){display:inline;}
  .sidenote,.marginnote{display:none;}
  .margin-toggle:checked + .sidenote,
  .margin-toggle:checked + .marginnote {
    display:block;float:left;left:1rem;
    clear:both;width:95%;margin:1rem 2.5%;
    vertical-align:baseline;position:relative;
  }
  label{cursor:pointer;}
}
/* Pagina Glossario Verbetes (posts) */
.contabas ul.glosslist {
  margin-left:0;padding-left:0;
  border-bottom:0 none;
  margin:1em 0% 1em 0em;
  max-width:calc(99% - 2.2em);
}
.contabas li.entry-link.panel {
  list-style-type:none;
  margin-bottom:4px;margin-right:0;
  background-color:#fff;
  border:1px solid transparent;
  border-radius:0;
  -webkit-box-shadow:0 0 0;box-shadow:0 0 0;
}
.contabas #tabats li.entry-link.panel {display:inline;margin-right:6px;padding:0 2px;}
.contabas li.entry-link.panel > a {
  text-decoration:none;font-size:1.2em;font-weight:700;color:var(--imageria-color);line-height:1.2em;border:0 none;border-radius:0;position:relative;display:block;padding:0;margin:0 3px;
}
.contabas li.entry-link.panel:nth-child(2n) > a {color:#000;}
.gloss-content {margin-bottom:40px;}
.contabas li.entry-link.panel.active > a,
.contabas li.entry-link.panel:hover> a {z-index:20000;
  color:#FFF;background:var(--imageria-color);
  border:0 none;outline:0;
}
.contabas li.entry-link.panel:nth-child(2n).active > a,
.contabas li.entry-link.panel:nth-child(2n):hover > a {background:#000;}
.tab-content {margin-top:32px;-ms-flex-wrap:wrap;flex-wrap:wrap;}
.contentabas {padding:4px 0 4px 8px;}

/* Home */
.home #page {background:#000;}
#thehome {width:100%;height:100%;
  margin:0;background:#000;color:#FFF;
  display:-ms-flexbox;display:flex;
  -ms-flex-direction:column;flex-direction:column;
  justify-content:flex-start;align-items:stretch;
}
.homesection {
  border-bottom:2px solid white;
  margin:6px 0;
  display:-ms-flexbox;display:flex;
  -ms-flex-wrap:wrap;flex-wrap:wrap;
  -ms-flex-direction:row;flex-direction:row;
  justify-content:space-between;align-items:stretch;
  min-height:68px;
}
.hsbox {
  margin:24px 5%;width:40%;
  display:-ms-flexbox;display:flex;
  -ms-flex-direction:column;flex-direction:column;
  justify-content:flex-start;align-items:stretch;
}
.hsbox > * {margin:14px;}
.area-homebox-left {}
.qsuperior {
  min-height:76px;
  display:-ms-flexbox;display:flex;
  -ms-flex-direction:row;flex-direction:row;
  justify-content:flex-start;
  align-items:flex-end;align-content:flex-end;
}.area-homebox-left .qsuperior {padding-top:8px;padding-bottom:0;}
.homebox {flex-grow:3;flex-shrink:1;}
#thehome h5 a {font-size:1.5em;font-weight:500;color:inherit;}
#thehome h5.a-imagem-no-design:nth-of-type(2) a, #thehome h5.a-imagem-no-design:nth-of-type(2) span {color:#F0F !important;}
#thehome h5 span {font-size:3em;color:inherit;transform:scale(0.6,1);line-height:0.65em;}
#thehome h5.modos-de-ver a, #thehome h5.modos-de-ver span {display:none;}
#thehome h2 {font-size:2.8em;font-weight:900;line-height:1.0em;}
#thehome ul {list-style:none;margin:0;padding-left: 0;}
#thehome li {list-style-type:none;border-bottom:1px solid;padding-bottom:6px;}
#thehome a {color:#FFF;font-size:1.3em;}
#thehome .hsbox h2.referencias.qsuperior,
#thehome .hsbox h2.agradecimentos.qsuperior,
#thehome .hsbox h2.a-imagem-no-design.qsuperior
 {display:none;}
#thehome .hslist li.referencias,
#thehome .hslist li.agradecimentos,
#thehome .hslist li.a-imagem-no-design:first-child
 {border-bottom:0 none;}
#thehome .hslist li.referencias a,
#thehome .hslist li.agradecimentos a
 {font-size:2.8em;font-weight:900;color:inherit;line-height:1.0em;}
#thehome .hslist li.a-imagem-no-design:first-child a
 {font-size:2.8em;font-weight:900;color:inherit;line-height:2.4em;}

/* Galeria - plug Meow */
 .mgl-justified .mgl-item figcaption {
   position:relative !important;width:100%;
   background:#FFF !important;margin:0;
 }
 .mgl-justified .mgl-item figcaption {padding:0;}
 .mgl-item figcaption.mgl-caption p, .mgl-justified .mgl-item figcaption p {
   font-size:0.8em;font-weight:700;
   color:#000 !important;text-align:left;
   background:none !important;
   margin:0;padding:2px !important;
   box-sizing:border-box;
   background:rgba(0,0,0,0.0);
 }
 .entry-content .mgl-justified figure .mwl-img:hover {cursor:pointer !important;}
 .mwl .mwl__metadata p.full-description {display:block;text-align:left;}
 .mwl .toggle-full-description, .mwl .mwl__metadata p.short-description.visible {display:none !important;}
/* tabelas */
ul.extable, ul.extabler {outline:0 none;
    display:block;clear:both;/*width:100%;*/
	margin-right:30%;
    margin-left:0;padding-left:0;
    display:flex;
	flex-wrap:wrap;
}
li.extable, li.extabler {outline:1px solid #dedefe;outline:0 none;
    display:inline-block;
    list-style-type:none;
    margin:3px 16px 3px 8px;
    width:calc(50% - 24px);min-width:288px;
    /*font-size:15px;*/
}
li.extable span {text-align:right;margin-left:2px;float:right;}
/* Responsive */
.mobileonly {display:none;}
.desktoponly {display:flex;}
@media screen and (max-width: 576px) {
  article, .entry-content > * {width:94%;max-width:94%;margin-right:4%;margin-left:3%;}
  .entry-content ol table, .entry-content ul table, table{max-width:67%;}
  .entry-content ul.extable, .entry-content ul.extabler {max-width:92%;margin-left:3%;margin-right:0.5em;}
  .hsbox {margin:8px auto;width:94%;}
  #thehome h2 {font-size:2.3em;}
	#thehome .hslist li.a-imagem-no-design:first-child a
 {line-height:1.4em;}
  .qsuperior {min-height:auto;}
  .mobileonly {display:flex;}
  .desktoponly {display:none;}
  .entry-content ul, .entry-content ol, .entry-content blockquote {
  	margin:1em 3% 1em 1em;width:94%;max-width:94%;
	}
  .pdferr {justify-content:flex-start;}
  .pdfer a {padding:0 0 8px 0;display:flex;}
	a.totop { display:none;}
  
  .sobre .mobileonly .pdfer {display:flex;width:42%;right:0;position:absolute;margin:14px 0 14px auto;}
  .sobre .mobileonly .pdfer .pdficon {display:inline-block;width:24px;min-height:24px;max-height:32px;margin-right:8px;background:url('../images/noun-file-1015142-w.png') no-repeat left center/contain;}
  .inpage-navigation {width: 96%;margin:0 auto;}
  .entry-thumb {position:relative;}
}
