/*
 * Nest v1.0.0 (http://www.molivier.com)
 * Copyright 2015 Matthieu OLIVIER
 * Licensed under GPL V2 (https://github.com/molivier/nest/blob/master/LICENSE)
 */

/* Responsive */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 850px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1080; /*estaba en 850px;*/
  }
}

/* DEFINICIÓN DAS CORES E OUTRAS  VARIABLES 
   PARA TODA A WEB E POR PARTES SE FAI FALTA
*/

:root {
  --cor-destacada: #532f39;  /* wine berry */
  --cor-acento: #5EBD91; /* a raia debaixo dos titulares */
  --fondo-textos: ghostwhite; /* branco cálido */
  --fondo-contido: cornsilk; /* laterais do contido */
  --ligazons: #4C3347; /* as ligazóns todas */  


/* #253F4E nile blue 
#DC143C crimson
#4C3347 loulou
*/
}


/* Default styling */
body {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    color: black; /* letra do texto */
    background-color: var(--fondo-contido); /* laterais do contido */
    line-height: 24px;
    /* aqui estaba webkit-font-antialiasing pero non cumpre co estándar */
    text-rendering: optimizeLegibility;
}

/* Links */
/* ff8c00 laranxa escuro*/
/* 009bff*/
/* CE2323 */
a, a:visited { 
    color: var(--ligazons);
    font-weight: bold;
    opacity: 0.7; 
    text-decoration: none; 
    transition: all 0.2s ease-out;
}
a:hover, a:active{ 
    text-decoration:underline; 
    color: var(--ligazons); 
    opacity: 0.9;
}

a.navigate{
    background-color: rgba(0,0,0,0.5);
    font-size: 12px;
    padding-left: 4px;
    padding-right: 4px;
    min-width: 100px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    color:#fff;
    text-decoration: none;
}
a.navigate:hover{
    opacity: 0.8;
}

a.more{
    font-size: 12px;
    margin-top: 30px;
}

/* Syntax Highlighting */

pre, code {
    background: #f8f7fa;
    padding: 34px;
    font-size: 16px;
    line-height: 24px;
    font-family: Consolas, monaco, monospace;
    border-radius: 0px;
    color: #4b505a;
    margin: 34px 0;
    font-weight: 700; 
}

code { padding: 3px 6px; }

.linenos pre{
	border:none;
	margin-top:20px;
	margin-bottom:20px;
	padding-top:20px;
	padding-bottom:20px;
	padding-left:20px;
	padding-right:0px;
	background:#333;
	font-size:14px;
	font-weight:400;
	font-family:Consolas,monaco,monospace;
	color:#fff
}

.highlight pre {
  border:none;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 40px;
  padding-right: 40px;
  background:#333; 
  font-size: 14px;
  font-weight: 400;
  font-family: Consolas, monaco, monospace;
  color: #fff;
}

/* Titles */

h1 { 
    font-size: 28px;
    line-height: 1.285714285714286em; 
    font-weight: 600;
    letter-spacing: 2px;
    border:none;
}

h2 { 
    font-size: 24px; /* estaba en 20*/
    line-height: 1.285714285714286em; 
    font-weight: 800;  /* estaba en 600*/
    margin-top: 40px;   
    margin-bottom: 40px;
}
h2:after {
    display: block;
    content: " ";
    margin-top: 10px;
    width: 40px;
    border-bottom: 3px solid var(--cor-acento);
    /*border-bottom: 3px solid rgba(0,0,0,0.2);*/
}

h3 { 
    font-size: 18px; /* estaba en 16 */
    line-height: 1.285714285714286em; 
    font-weight: 600;
    margin-top: 30px; 
    margin-bottom: 30px;
}
h3:after {
    display: block;
    content: " ";
    margin-top: 10px;
    width: 40px;
    border-bottom: 3px solid var(--cor-acento);
}

h4 { 
    font-size: 12px;
    line-height: 1.285714285714286em; 
    font-weight: 600;
    margin-top: 30px; 
    margin-bottom: 30px;
    text-transform: uppercase;
}
h4:after {
    display: block;
    content: " ";
    margin-top: 10px;
    width: 40px;
    border-bottom: 3px solid rgba(0,0,0,0.2);    
}

/* Navbar */
.header-nav{
    height:100px;
    line-height:100px;
    color:#fff;
    font-size:12px;
    font-weight:600;
}
.header-nav .nav{
    float:right;
}
.header-nav .nav a{
    font-weight:600;
    color:#fff;
    text-decoration:none;
    padding:8px;
    margin-left:20px;
    text-transform: uppercase;
    transition: all 0.2s ease-out;
    background-color: rgba(256,256,256,0.05);
}
.header-nav .nav a:hover{
    color:#fff;
    font-weight:600;
    opacity: 1;
    background-color: rgba(0,0,0,0.2);
}
.header-nav .nav .active{
    /*color:#fff;*/
    color:#fff;
    font-weight:600;
    background-color: rgba(0,0,0,0.2);
}
.header-logo {
    font-size:15px;
    font-weight:600;
    text-transform: uppercase;
}
.header-logo a {
    color: #fff;
    text-decoration: none;
   /*  background-color: rgba(256,256,256,0.05);  fondo branco transparente para que se vexan os pés */	
    padding: 2px;
}

/* Header */

.header-container {
    background: #f5f5f5;
}
.header-wrapper{
    padding-left: 40px;
    padding-right: 40px;
}
.header-content {
    text-align: center;
    padding: 25px 0 55px 0;
}
.header-title {
    font-size: 28px;
    color: #fff;
    font-weight: 700;
}
.header-date {
    margin-top: 15px;
    font-size: 12px;
    color: #fff;
    /*opacity: 0.8;*/
    background-color: rgba(84, 47, 57, 0.5);
    padding:2px;

}
.header-date a {
    color: #fff;
    text-decoration: underline;
}
.header-underline {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 15px;
    width: 50px;
    border-bottom: 3px solid var(--cor-acento);
}
.header-subtitle {
    font-size: 14px;
    line-height: 24px;
    color: #fff;
    font-weight: 300;
    text-align: justify;
}
.header-subtitle-homepage {
    text-align: center;
    font-style: italic;
}
.header-tags {
    font-size: 11px;
    color: #fff;
    font-style: italic;
}
.header-tags a {
    color: #fff;
}

/* Content */

.content{
    /* fondo onde aparecen os textos, un branco "cálido", pero diferente dos laterais */
    background-color: var(--fondo-textos);

    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 40px;
    padding-right: 40px;
    border-left: 1px solid rgba(0,0,0,0.1);
    border-right: 1px solid rgba(0,0,0,0.1);
}

.content img{
    border: 0;
    display: block;
    /* width: 100%; westaba esto ao 100% pero queda mellor para non aumentar innecesariamente max-width */
    max-width: 100%;
    height: auto; /* estaba en auto */
    margin-left: auto;
    margin-right: auto;
    margin-top: 45px;
    margin-bottom: 45px;
}

.content.highlight pre {
    padding-left: -40px;
    padding-right: -40px;
}

.content dt{
    font-size: 12px;
    font-weight: 400;
    line-height: 24px;    
}

/* Navigation */

.navigation{
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 0;
}
.navigation2{
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Menu */
.menu{
  font-size: 14px;
}
.menu h4{
    margin-top: 0px;
    margin-bottom: 5px;  
}
.menu a{
  color: #fff;
  padding:0px;
  background-color: #f8c009;
  padding-left: 3px;
  padding-right: 3px;
  padding-top: 2px;
  padding-bottom: 2px;
  opacity: 0.6;
}

/* Article */
.article-container{
    margin-top: 40px; 
}
.article {
    font-size: 15px; /* estaba en 14 */
    line-height: 24px;
    margin-bottom: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    border-top: 1px solid rgba(0,0,0,0.1);
}
.article h2{
    margin-top: 0px;
    margin-bottom: 5px;  
}
.article h2 a{
    color: #4b505a;
    text-decoration: None;
}
.article .date{
    font-size: 12px;
    margin-bottom: 10px;
    opacity: 0.9;  
}

/* Archives */
.archive-container{
    margin-top: 40px;
    margin-bottom: 40px; 
}
.archive {
    font-size: 15px;
    line-height: 24px;
    padding-top: 20px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    border-top: 1px solid rgba(0,0,0,0.1);
}
.archive h2{
    margin-top: 15px;
    margin-bottom: 20px;  
}
.archive h2 a{
    color: #4b505a;
    text-decoration: None;
}
.archive dt{
    font-size: 12px;
    font-weight: 400;
    line-height: 24px;    
}
/* Styling */

blockquote{
    font-size: 16px;
    opacity: 0.75;
}
/* Comments */
.comments{
    margin-top: 40px;
}

/* Spaces */
.mr5 { margin-right: 5px;}
.mr20 { margin-right: 20px;}

/* Gradients */
.gradient {
/*    background-color: #0940f8; 

fibra de carbono */
  background-color: rgb(32, 32, 32);
  background-image: linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black), linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black), linear-gradient(to bottom, rgb(8, 8, 8), rgb(32, 32, 32));
  background-size: 10px 10px, 10px 10px, 10px 5px;
  background-position: 0px 0px, 5px 5px, 0px 0px;
}

/* Footer */

.footer{
    background-color: var(--cor-destacada);
    font-size: 14px;
    font-weight: 300;
    text-align: left;
    color: #fff;
}

.footer-title {
    text-transform: uppercase;
    margin-bottom: 3px;
    font-weight: 600;
    font-size: 12px;
}
.footer-container{
    padding-top: 20px;
    padding-bottom: 20px;
}
.footer a{
    color: #fff;
    font-weight: lighter;
}

