/*
Theme Name: Understrap Child
Theme URI: https://understrap.com
Description: Tema Child per il tema understrap
Author: Claudia Capuozzo
Template: understrap
Version: 0.1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@400;700&family=Open+Sans:wght@300;400;600;700&display=swap');

body{
	font-family: 'Bitter', serif;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif;
}
@media (min-width: 1200px){
.h2, h2 {
  font-size: 1.30rem;
}
.h3, h3 {
  font-size: 1.10rem;
  margin-bottom: 1.5rem;
}
}
a:hover{
text-decoration: none;	
}
.wrapper {
  padding: 0;
}
#main-nav{
	border-bottom: solid 10px #F40023;
}
.custom-logo-link img{
	width: 150px;
	max-width: 100%;
}
#wrapper-footer{
	background-color: #000;
	color: #fff;
	padding: 1rem;
}
#wrapper-footer a{
	color: #fff;
}
.breadcrumb {
  background-color: transparent;
	padding: .75rem 1rem;
margin-bottom: 0;
}
.container-no-p{
	padding: 0;
}
.header-title{
	position: absolute;
	width: 100%;
	top: 15px;
	left:0 ;
	text-align: center;
}
.header-box{
	background: rgba(0, 0, 0, 0.25);
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 10px;
}
.header-title h1{
	color: #fff;
	font-weight: 200;
	padding-left: 15px;
	padding-bottom:  15px;
}
.header-img {
	min-height: 800px;
	overflow: hidden;	
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
}
.header-img-small{
	min-height: 800px;
}
.header-img img{
	width: 100%;
}
.categoria-head{
	color: #fff;
	padding-bottom: 5px;
	font-size: 0.75 rem;
}
.article-home {
	overflow: hidden;
	min-height: 600px;
	width: 100%;
	text-decoration: none;
}
.article-home a{
	text-decoration: none;
}
.article-home .thumbnail-home{
	    border: 0;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}
.article-home .thumbnail-home img{
	     width: auto;
    max-width: none;
    min-width: 100%;
    height: auto;
    max-height: 100%;
    min-height: 100%; 
	position: absolute;
    left: 50%;
    top: 50%;
	    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
	-webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
	z-index: 1;
}
.article-home header{
	position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
	background: rgba(0, 0, 0, 0.25);
	transition: all 1s ease 0s;
    margin-top: 41px;
	z-index: 3;
}
.article-home header .category-post{
	padding: 0.75rem 0.75rem 0.15rem 0.75rem;
}
.article-home header .title-post{
	padding: 0 0.75rem 0.75rem 0.75rem ;
}
.link-article{
	display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    background: #F40023;
	z-index: 2;
    border-bottom: 0;
}
.article-home:hover .link-article{
    opacity: 0.5;
}
.breadcrumb {
	font-size: 0.75rem;
}
.breadcrumb a{
	text-decoration: none;
	color: #9B9B9B;
}
.wp-block-image img{
	width: 100%;
	margin: 0 auto;
	padding: 0 0.5rem;
}
#main-menu a{
	color: #000;
}
#main-menu a:hover{
	color: #F40023;
}
.figure-caption, .wp-block-image > figure figcaption, figure.wp-block-image figcaption {
  text-align: center;
	border-bottom: 1px solid #eee;
	margin:0 0.5rem 0.5rem 0.5rem; 
	padding-bottom: 0.5rem; 
	font-size: 0.75rem;
}
.ico-condivisione{
	padding: 15px;
	margin-top: 15px;
	border-top: 1px solid #000;
}
.ico-condivisione a {
    color: #000;
}
.ico-condivisione a:hover {
    color: #F40023;;
}
#main-menu a img {
    width: auto;
    height: auto;
    padding: 0 10px;
}
.content-page{
	line-height: 160%;
}
.content-page h2{	
	font-weight: 600;
	padding-bottom: 15px;
	margin-bottom: 15px;
	position: relative
}
.content-page h2:after{	
	position: absolute;
	bottom: 2px;
	left: 0;
	z-index: 1;
	width: 300px;
	max-width: 30%;
	content: "";
	height: 2px;
	background-color: #000;
}
.row-footer{
	opacity: 0.8;
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid rgba(255, 255, 255, 0.6);
}
.navbar-toggler{
	/*background-color: #eee;*/
    border: 2px solid #000; 
}
.navbar-toggler-icon{
	background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}
@media (max-width: 768px) {
  .article-home {
		min-height: 500px;
	}
	.header-img {
		min-height: 500px;
	}
	.header-img-small{
		min-height: 300px;
	}
	#navbarNavDropdown{
		margin-top: 15px;
	padding-top: 15px;
	border-top: 3px solid #F40023;
	}
	.h2, h2 {
	  font-size: 1.10rem;
	}
	.h3, h3 {
	  font-size: 1.10rem;
	  margin-bottom:0.8rem;
	}	
}
