/*
Theme Name: IL Gallo Silvestre
Theme URI:
Author: Matteo Di Bello
Author URI:
Description: Il Blog di Alberto Di Bello
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, cultura, politica
Text Domain: gslv

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
img {max-width: 100%; height:auto;}
a {cursor:pointer;}
a:hover {text-decoration: none;}
body{
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background-color: #807468;
  background-image: url("https://www.transparenttextures.com/patterns/concrete-wall-3.png");
}

.main-content{
  flex:1;
}

/* Header Gallo
-------------------------------------------------------- */
.headerGallo {
  background-position:bottom;
  background-size: cover !important;
  min-height: 75vh;
  max-width:100vw;
  border-bottom: 10px solid #290b00;
  box-shadow: 0 0 18px rgba(0,0,0,0.9)
}
.bg-primary {
  background-color: #0f0403 !important;
  background-image: url("https://www.transparenttextures.com/patterns/black-paper.png");
}
.loghinohead img {
  width:70px;
  height:auto;
}
.backloghino {
  border-radius:30px;
  border:1px solid white;
  padding:2%;
  background-color:#870e04;
  background-image: url("https://www.transparenttextures.com/patterns/black-paper.png");
}

.navbar-brand {
margin-right: 0px;
}
/* FOOTER Gallo
-------------------------------------------------------- */
.bg-dark {
  background-color: #0f0403 !important;
  background-image: url("https://www.transparenttextures.com/patterns/black-paper.png");
}

/* INDEX.PHP
-------------------------------------------------------- */

.postindex {
  background-color: #a6926f;
  background-image: url("https://www.transparenttextures.com/patterns/clean-gray-paper.png");
  padding:3%;
  border-top:3px solid #870e04;
  border-bottom:3px solid #870e04;
  box-shadow:0 0 14px rgba(0,0,0,0.9);
}
.postindex img {
  width:100%;
  height:auto;
  object-fit: cover;
  border:1px solid #870e04;
}

.postindextitle {
  background:#870e04;
  display:flex;
  align-items: center;
  justify-content: center;
}

.postindextitle a {
  color:white;
}

.excerptindex {
  padding-left:2%;
  padding-right:2%;
  color:white;
  font-size:18px;
  background:#32332d;
  display:flex;
  align-items: center;
  justify-content: center;
}

.excerptindex p {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.excerptindex a {
  color:white;
}

.page-numbers {
  background: white;
}

.pagination a {
  color:#870e04 !important;
}
/* sidebar.php
-------------------------------------------------------- */
.sidebarro {
  background-color: #9e5321;
  background-image: url("https://www.transparenttextures.com/patterns/wood-pattern.png");
  box-shadow: 0 0 8px rgba(0,0,0,0.8);
}

.sidebarro h3 {
  text-align:center;
}

.sidebarro img {
  min-width: 100%;
  max-width: 100%;
  width:100%;
  height:auto;
  border:1px solid #870e04;
  box-shadow:0 0 6px rgba(0,0,0,0.8);
}
.widget {
  background-color: white;
  background-image: url("https://www.transparenttextures.com/patterns/sandpaper.png");
  padding:2%;
  border:1px solid #870e04;
}

/* SINGLE.PHP
-------------------------------------------------------- */
.articolo {
  padding:2%;
  background-color: #fafaf4;
  background-image: url("https://www.transparenttextures.com/patterns/handmade-paper.png");
}
.articolo a {
  color:#870e04;
}

.articolo h3 {
  font-size:1.15rem;
  text-transform: uppercase;
  font-weight: bolder;
}
.articolo img {
  max-width: 100%;
  min-width: 100%;
  object-fit: cover;
  height: auto;
  border-top:3px solid #870e04;
  border-bottom:3px solid #870e04;
}

/* Rassegna Stampa
-------------------------------------------------------- */
.rassegnastampa {
  background-color: #a6926f;
  background-image: url("https://www.transparenttextures.com/patterns/sandpaper.png");
  min-height: 35vh;
}

.rassegnastampa img {
  object-fit: cover;
  max-height:240px;
  height: 240px;
  border:2px solid #870e04;
  border-radius: 3px;
  box-shadow: 0 0 7px rgba(0,0,0,0.7)
}
.rassegnastampa img:hover { box-shadow: 0 0 2px rgba(0,0,0,0.7)}

.rassegnastampa h2 {
  font-size: 1.4rem;
  font-weight: bold;
  min-height: 50px;
  display: flex;
 align-items: center;
 justify-content: center;
}
.rassegnastampa h3 {
  margin-bottom: 0px;
}
/* Singoli Pot in HomePage
-------------------------------------------------------- */
.post {
  min-height:55vh;
  background-color: #a6926f;
  background-image: url("https://www.transparenttextures.com/patterns/clean-gray-paper.png");
  box-shadow: 0 0 14px rgba(0,0,0,0.9);
}
.postimg img {
  min-width: 100%;
  max-width: 100%;
  height:240px;
  min-height: 240px;
  max-height: 240px;
  object-fit: cover;
  border:3px solid #2a2826;
}

.postimg img:hover {box-shadow:inset 0 0 20px red; }

.postimg h2 {
  color:#2a2826;
  font-family: 'Darker Grotesque', sans-serif;
  font-weight: 700;
}
.postdate {
  z-index:10;
  position:absolute;
  top:-10px;
  left:-20px;
  background-color:#870e04;
  padding:3px;
  text-align: center;
  box-shadow: 0 0 8px rgba(0,0,0,0.8);
  color:white;
}

/* Slider
-------------------------------------------------------- */
.carousel,
.carousel-inner,
.carousel-item{height: 600px;}


/* Comments
-------------------------------------------------------- */
#comments{margin-bottom: 40px;}
.comments{padding-top: 40px;}
.comments textarea{width: 100%;}
.comments label{ min-width: 80px;}
.comments ul,
.comments ol{list-style-type: none;}
.comment-author img{border-radius: 999px; width:50px;}
.comment .reply{border-bottom:  1px solid #ccc; margin-bottom: 30px;padding-bottom: 10px;}


/* Input & textarea
-------------------------------------------------------- */
input,
textarea{padding: 5px 10px; border: 1px solid #ccc}


/* Widgets
-------------------------------------------------------- */
.widget_search .screen-reader-text{display: block;}
.widget_search #s{width:70%;float:left;}
.widget_search #searchsubmit{width:30%;float:left;background: #fff;}


/* pagination
-------------------------------------------------------- */
.pagination{margin-bottom:40px}
.page-numbers{display: inline-block;padding: 10px 15px;border: 1px solid #ddd;margin-right:4px;}

/* general wordpress style
-------------------------------------------------------- */
.post img{max-width: 100%; height:auto;}



/* WordPress Core Styles
-------------------------------------------------------------- */
 .gallery-caption{padding:5px; font-size: 10px;}
 .bypostauthor{border-left: 3px solid #ddd;padding-left: 20px;}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
        white-space: nowrap;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}

.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.alignleft {
float: left;
}
.alignright {
float: right;
}
.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
/* optional rounded corners for browsers that support it */
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
