/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
    font-size:62.5%;
}
body {
    color:#000;
    font-family: 'Montserrat', sans-serif;
    text-align: justify;
    font-size: 15px;
    line-height: 30px;
}
h1,h2,h3,h4,h5,h6{
    color: #000;
    font-family: 'Montserrat', sans-serif;
}
h1{
    font-size: 30px;
    line-height: 45px;
}
h2{
    font-size: 26px;
    line-height: 40px;
}
h3{
    font-size: 24px;
    line-height: 36px;
}
h4{
    font-size: 20px;
    line-height: 30px;
}
h5{
    font-size: 18px;
    line-height: 28px;
}
h6{
    font-size: 16px;
    line-height: 25px;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
iframe {
	max-width:100%;
}
a {
	color:#000;
	text-decoration:none;
}
article a {
	color:#d0a000;
	text-decoration:underline;
}
a:hover {
	color:#000;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}
.header-top{
    padding: 15px 0;
    /*font-style: italic;*/
    border-bottom: 1px solid #000;
    color: #000;
    font-size: 11px;
}
.header-top a{
    color: #000;
}
.fa-facebook-official{
    color: #3a599a;
    vertical-align: sub;
    margin-left: 8px;
}
/* logo */
.logo {
    text-align: center;
    margin: 20px 0;
}
.logo-img {

}
/* nav */
.nav {
    display: block;
}
.nav .menu {
    padding: 0;
    list-style: none;
    width: calc(100% - 300px);
    float: left;
    margin-bottom: 30px;
}
.nav .search{
    /*width: 250px;*/
    text-align: right;
    float: right;
}
.nav .menu li {
    display: inline-block;
}
.nav .menu li a {
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
}
/*.nav .menu li:first-of-type>a {
    padding-left: 0;
}*/
.search .search-input{
    border: none;
    border-bottom: 1px solid #000;
}
.search .search-submit{
    background: transparent;
    border: none;
}
.fa-search{
    color: #000;
    vertical-align: sub;
}
/* sidebar */
.sidebar {
    font-size: 11px;
}
.sidebar li {
    line-height: 2.5em;
}
.sidebar h3{
    padding-bottom: 5px;
    border-bottom: 1px solid #000;
}
.sidebar .sidebar-widget>div{
    margin-top: 45px;
}

/* footer */
.footer{
    background-color: #000;
    color: #fff;
    text-transform: uppercase;
}
.footer a {
    color: #fff;
}
.footer, .footer-newsletter {
    font-size: 12px;
    /*font-style: italic;*/
}
.footer .container{
    padding-top: 10px;
    padding-bottom: 10px;
}
.footer .link-cookies{
    margin-left: 25px;
}
.footer .info-footer{
    vertical-align: sub;
    text-transform: none;
    font-style: italic;
    text-align: justify;
}
.footer-newsletter{
    background: #f8f8f8;
    padding: 45px 0;
    text-align: center;
}
.footer-newsletter .nl-title{
    font-size: 24px;
/*    font-style: italic;*/
}
.footer-bottom{
    border-top: 1px solid #333333;
}
span.wpcf7-not-valid-tip {
    position: absolute;
    top: 0px;
    right: 3px;
}
div.wpcf7-validation-errors {
    border: 2px solid #f00;
    background: #ffffc4;
}
button, input, select, textarea{
    border-radius: 0;
    border: 1px solid #000;
    padding: 10px;
    max-width: 100%;
}
input.wpcf7-submit{
    border: 1px solid #000;
    background-color: #000;
    color: #fff;
    padding: 10px 75px;
}
.nf-before-form-content, .nf-after-form-content {
    display: none;
}
.nf-response-msg{
    border: 2px solid #398f14;
}
.nf-response-msg p{
    margin: 0;
}
.custom-field-privacy{
    max-width: 315px;
    margin: 0 auto;
    width: 100%;
}
.custom-field-email{
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.fa-bars{
    display: none;
    cursor: pointer;
}
dl, ol, ul{
    padding-left: 2em;
}

.info-contatti i{
    background: #000;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    margin: 10px 10px 0 0;
}
.info-contatti i:before{
    vertical-align: sub;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.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%;
	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 .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

article img{
    border: 1px solid #eee;
}
article img.wp-image-6853{
    border: none;
}
.posts article{
    padding: 20px 0;
    border-bottom: 1px solid #000;
}
.single article{
    margin-bottom: 65px;
}
/*.posts article .image:hover{
    border: 20px solid #000;
    transition: all 0.4s;
}*/
.posts article .content-image{
    position: relative;
    overflow: hidden;
}
.posts article .image:after {
    display: block;
    content: "";
    position: absolute;
    z-index: 10;
    transition: all .2s ease-in-out;
    top: -26px;
    right: -26px;
    bottom: -26px;
    left: -26px;
    pointer-events: none;
    border: 25px solid #000;
}
.posts article .image:hover:after {
    -webkit-transition-duration: .4s;
    transition-duration: .4s;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
a.view-article {
    float: right;
    background: #ffcc00;
    color: #000;
    padding: 5px 75px;
    max-width: 100%;
    font-style: italic;
    font-size: 12px;
    text-transform: uppercase;
}
a.view-article:hover {
    background: #000;
    color: #ffcc00;
}
.sticky-post .articolo-sticky, .post-date{
    color: #333;
    font-size: 11px;
    font-style: italic;
}
.post-title{
    font-style: italic;
    font-size: 30px;
    text-align: left;
    font-weight: bold;
}
h3.post-title {
    font-size: 18px;
}
.category .post-title{
    font-size: 24px;
    text-align: left;
}
.post-content{
    
}
.post-tag, .post-tag a{
    color: #000;
    font-size: 11px;
    line-height: 18px;
}

.pagination {
    display: inherit;
    text-align: center;
    border-radius: 0;
    margin: 45px 0;
}
.pagination .page-numbers{
    border: 1px solid #000;
    padding: 5px;
    line-height: 1;
    margin: 5px;
}
.pagination .page-numbers.current {
    color: #fff;
    background: #000;
}

#iubenda_policy .iub_content .iub_footer{
    display:none !important;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:1024px) {
    .nav .menu{
        display: none;
        width: 70%;
        text-align: center;
    }
    .nav .menu li {
        display: block;
    }
    .nav .menu li:first-of-type>a {
        padding: 10px 20px;
    }
    .fa-bars{
        display: block;
        float: left;
        width: 20%;
        padding: 15px;
    }
}
@media only screen and (max-width:768px) {
    body {
        font-size: 14px;
        line-height: 2em;
    }
    .post-title{
        font-size: 22px;
    }
}
@media only screen and (max-width:480px) {
    body {
        line-height: 1.8em;
    }
}
@media only screen and (max-width:320px) {

}

.nav .menu li.menu-item{
    position: relative;
}
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    padding-left: 2px;
    font-size: 13px;
    width: 100%;
}
.nav .menu li.menu-item:hover>.sub-menu{
    display: block;
    background: #fff;
    z-index: 999;
    border: 1px solid #ddd;
    border-top: none;
    min-width: 260px;
    text-align: left;
}
@media only screen and (max-width:1024px) {
    .nav .menu li.menu-item.menu-item-has-children:after {
        content: "+";
        font-size: 16px;
        padding: 0px 14px;
        position: absolute;
        right: 0;
    }
    .nav .menu li.menu-item.menu-item-has-children:after:active>.sub-menu{
        display: block;
        background: #fff;
        z-index: 999;
        border: 1px solid #ddd;
        border-top: none;
    }
}

.taxonomy-description{
    max-height: 124px;
    text-align: justify;
    overflow: hidden;
    font-size: 14px;
    margin-bottom: 0;
    transition: max-height .25s ease-in-out;
    -moz-transition: max-height .25s ease-in-out;
    -webkit-transition: max-height .25s ease-in-out;
    margin: 0;
    padding: 0;
}
.read-more{
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 30px;
}
.read-more:hover{
    text-decoration: underline;
}

.row-logo{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-original{
    max-height: 150px;
}