.form-container {
    width: 100%;
	background: #f2f2f4;
    padding: 10px;
}
.form-container input[type="text"]{
    /*width: 80%;
	margin-right: 10px; 
	max-width: 600px;
       width: 50%;*/
	   flex-grow:1;
}
@media (min-width:768px) and (max-width:940px){
	.form-container input[type="text"]{
		 width:100%;
	}
}
.form-container select,
.form-container input[type="date"],
.form-container input[type="text"],
.form-container input[type="submit"]{
    height: 40px;
    border-radius: 4px;
    padding: 10px;
	background:#FFFFFF;
}
.form-container input[type="date"]{
    max-width: 140px;
}
.form-container input[type="submit"]{
    padding: .618em 1.5em !important;
}
.pageSearchContainer h2{
    margin-top: 30px !important;
    text-align: center;
    margin-bottom: 30px;
    /*border-bottom: 1px solid #DADADA;
    padding-bottom: 30px;*/
}
.pageSearchContainer h2 strong{
    color: var(--wp--preset--color--primary);
}
section.resultContainer article{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 30px;
    border-top: 1px solid #dadada;
    padding-top: 30px;
    margin-bottom: 30px;
}
section.resultContainer article div.textContainer{
    width: 85%;
}
section.resultContainer article figure{
    width: 15%;
    margin: 0;
}
section.resultContainer article a,
.form-container input[type="submit"] {
    text-align: center;
    background: var(--wp--preset--color--primary);
    color: #FFF;
    font-size: 100%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 700;
    border-radius: 3px;
    left: auto;
    border: 0;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
}
h3.titleArticle{
    margin-bottom: 10px !important;
}
h3.titleArticle .labelArticle{
    font-weight: 400 !important;
}
h3.titleArticle .labelPagina{
    background: #DADADA;
    padding: 5px 10px;
    font-weight: 400;
    font-size: 14px !important;
    border-radius: 3px;
}
/*.testoElaborato strong{
    color: var(--wp--preset--color--primary);
}*/
p.titleEstratto{
    display: inline-block;
    font-size: 13px !important;
    background: #DADADA;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 10px !important;
}
.buynewspaper:hover{
    background-color: #1CC3E8;
}
.form-container form{
    display: flex;
    flex-wrap: wrap;
    /*align-items: center;*/
	justify-content: center;
    gap: 20px 10px;
    max-width: 1040px;
    margin: auto;
}
.dateWrapper{
    display: flex;
	display: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.form-container a.wpc-open-close-filters-button{ 
    border: solid 1px #ccc;
    display: flex;
    padding: 0 10px;
	cursor:pointer;
}
.form-container a.wpc-open-close-filters-button:hover{
	background:#FFF;
} 
@media(max-width:768px){
    .form-container{
        margin-top: 0;
    }
    section.resultContainer article{
        display: flex;
        flex-direction: column-reverse;
        flex-wrap: nowrap;
        gap: 30px;
        border-bottom: 1px solid #dadada;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
    section.resultContainer article div.textContainer{
        width: 100%;
    }
    section.resultContainer article figure{
        width: 100%;
        max-width: 400px;
    }
}
@media(min-width:769px){
    /* LIGHTBOX */
    .lightbox-img{
        cursor: pointer;
    }
    .lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    }

    .lightbox-overlay.active {
    display: flex;
    }

    .lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px #000;
    }

    .lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 60px !important;
    cursor: pointer;
    }
}
.noQuery, .noMatch{
	color: #999;
    background: #f9f9f9;
    text-align: center;
    padding: 50px 20px;
	border-radius: 0 0 30px 30px;
}
.noQuery h3, .noMatch h3{
    margin: 0 !important;
}
.noMatch h3{
	color:var(--wp--preset--color--primary);
}
.entry-header h1{
	text-align:center;
}
.pagination{
	display: table;
    margin:10% auto;
}
.pagination a,
.pagination span{
	height: 32px;
    min-width: 32px;
    display: block;
    float: left;
    margin: 0 6px;
    padding: 0 10px;
    border-radius: 0 8px;
    text-align: center;
    line-height: 32px;
    font-size: 14px;
    font-weight: 600;
    border: solid 1px #fff;
    color: var(--wp--preset--color--primary);
}
.pagination span.current{
	background: #CCD9E3;
    border: solid 1px #CCD9E3;
}
.pagination a:hover {
    border: solid 1px #CCD9E3;
    background: transparent;
}
.dateWrapper,
.form-container .select2-container,
form select[name="autore"] {
    display: none;
}
span.select2-selection.select2-selection--single{
	border: 1px solid #ccc !important;
}
.select2-container .select2-selection--single .select2-selection__rendered{
	padding: 10px !important;
    line-height: 18px !important;
}