/*
Theme Name:     Extra Child
Description:    Extra Child per Fondazione de Chirico
Author:         Marco Ruffelli
Template:       Extra
Version:		1.0.9
*/

html,body{
	height: 100%;
	background-color:#fff;
}
p{
	text-align: justify;
}
b{
	font-weight:bold !important;
}
i{
	font-style:italic !important;
}
sup{
	vertical-align:super;
}
.justify{
	text-align:justify;
}
.nav li ul {
    position: absolute;
    padding: 20px 0;
    z-index: 9999;
    width: 240px;
    background: #fff;
    visibility: hidden;
    opacity: 0;
    border-top: 3px solid #2ea3f2;
    box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
    -moz-box-shadow: 0 2px 5px rgba(0,0,0,.1);
    -webkit-box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
    -webkit-transform: translateZ(0);
    text-align: left;
}
#main-header { 
	box-shadow: 0 4px 10px #ccc; 
}

.et-top-search-primary-menu-item .search-icon:before {
    color: rgba(0,0,0,0.6);
}
.et_pb_slider, .et_pb_slider .et_pb_container {
height: 500px !important;
}
.et_pb_slide_description h2 a{
	font-weight:bold;
}
.et_pb_slide_content {
	font-weight:bold;
}
.et_pb_slider, .et_pb_slider .et_pb_slide {
max-height: 500px;
}
.modulo-pagina .et_pb_column{
	flex-wrap: nowrap;
}
.modulo-pagina .et_pb_column .et_pb_code_inner{
	width: 100%;
}
.module-head a:hover{
	opacity:0.8;
}
.module-content{
	position: relative;
}
.module-content img {
	width:100%;
	max-width:100%;
	display:block;
}
.news-testata-wrapper{
	overflow:hidden;
}
.news-testata-wrapper:hover .news-testata{
	transform:scale(1.2);
}
.news-testata{
	padding-bottom:56%;
	background-size:cover;
	transition: all 0.5s ease;
}
.news-testata-titolo{
	bottom:0;
	width:100%;
	background-color:#cf823c;
	padding: 2%;
}

.news-testata-titolo h2{
	color: #fff;
	padding-bottom:0;
	text-align: center;
}

.riviste-title h3, .blocco-title h3{
	border-bottom: 1px solid #ddd;
	margin-bottom: 20px;
	font-size:24px;
}
.riviste-title p{
	margin-bottom:30px;
}

.blocco-rivista h3{
	font-family: 'Raleway',Helvetica,Arial,Lucida,sans-serif;
    font-size: 24px;
    line-height: 1.4em;
}
.estratto-rivista h4{
    font-size: 18px;
    color: #cf823c;
	font-weight:600;
	padding-bottom: 0;
	text-align: justify;
}

.foto-rivista img{
	vertical-align:middle;
	margin-bottom:20px;
}

.estratto-rivista{
	padding:0 0 40px 0;
}
.estratto-rivista span{
	line-height: 2em;
	font-size: 15px;
	color: rgba(0,0,0,0.5);
}
.estratto-rivista p{
	line-height: 2em;
	font-size: 15px;
	color: rgba(0,0,0,0.66);
}
.lista-riviste{
	display:flex;
	flex-direction:column;
}
.recent-riviste{
	display: flex;
	align-items: center;
	background-color:#fafafa;
	margin-bottom: 20px;
	flex:1;
}
.recent-rivista-img{
	max-width: 70px;
	margin-right: 20px;
}
.recent-rivista-img img{
	vertical-align: middle;
}
.recent-rivista-title{
	
}
.metafisica-home-title h5{
	color: #cf823c;
    font-weight: 600;
    padding-bottom: 0;
}
.recent-rivista-title h5{
	font-size: 15px;
    color: #cf823c;
	font-weight:600;
	padding-bottom:0;
}
.archivio-btn{
	text-align: right;
}
.archivio-btn a{
	color: #e09900!important;
    border-width: 10px!important;
    border-color: rgba(0,0,0,0);
    border-radius: 100px;
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 700!important;
    text-transform: uppercase!important;
    background-color: rgba(255,255,255,0.1);
}

.title-pubblicazioni{
    border-bottom: 1px solid #e09900;
    margin-bottom: 20px;
    text-align: center;
}
.title-pubblicazioni h3{
    font-family: 'Raleway',Helvetica,Arial,Lucida,sans-serif;
    font-size: 24px;
    line-height: 1.4em;
}
.wrapper-rivista{
	display: flex;
	justify-content: space-evenly;
	margin: auto;
	border: 1px solid #eee;
	border-radius: 3px;
	padding: 20px;
	z-index: 2;
}

.slider-rivista-single img{
    max-width: 100%;
}
.slider-rivista-single h3{
    color: #444651;
    font-size: 14px;
}
.slider-rivista-single span{
    color:rgba(0,0,0,.5);
	font-size: 12px;
}

.container-post{
	max-width:1080px !important;
}

.title-post{
	color: #cf823c;
	font-weight:600;
	padding-top:20px;
}


.card-mostra-text h4{
	font-weight:bold;
	color: #cf823c;
	font-size: 15px;
}

.title-archivio-mostre{
    font-weight: 600;
    font-size: 26px;
    color: #cf823c;
    text-align: center;
    margin-bottom: 40px;
}

.metafisica-info{
	display:flex;
	justify-content:center;
	flex-direction:column;
}
.pdf-advice{
	text-align: center;
    margin-bottom: 40px !important;
}
.row-autore{
	font-weight: bold;
    font-style: italic;
}
.row-paragrafo{
	display: flex;
    justify-content: space-between;
	margin-bottom:20px;
}
.col-titolo-paragrafo{
	margin-right:20px;
}
.col-pagina-paragrafo{
	min-width:100px;
	max-width:100px;
	text-align:right;
}
.capitolo h3{
	font-size:20px;
	font-weight:500;
}
.lista-eventi{
	overflow: hidden;
}
.item-eventi{
    padding: 10px;
	margin-bottom: 20px;
    background: #eee;
    display: flex;
    align-items: center;
}


.card-pubblicazioni{
	font-size: 14px;
}
.card-pubblicazioni h3{
    color: #cf823c;
    font-weight: 600;
	font-size: 16px;
	padding: 2px 0;
}
.pubblicazioni-info{
	font-size: 18px;
	line-height: 36px;
}

.pubblicazioni-header img{
	vertical-align:middle;
}

.pubblicazioni-info h1{
	color:#cf823c;
	margin-bottom:30px;
	font-style: italic;
	font-weight:bold;
}

.pubblicazioni-info h3{
	padding: 5px 0;
	font-size: 22px;
}

.pubblicazioni-content{
	font-size:100%;
	margin-bottom: 40px;
}

.eventi-header h1, .postDC-header h1{
	color: rgba(0,0,0,.75);;
	margin-bottom:30px;
	padding:0;
}

.eventi-header div,.postDC-header div{
	text-align: center;
}

.eventi-img, .postDC-img{
	margin: 40px 0;	
}

.eventi-img img, .postDC-img img{
	vertical-align:middle;
	width:100%;
}

.wpmf-gallery-item:hover > .wpmf-front-box.top {
    opacity: 0 !important;
}

.archive h1, .search h1 {
	text-align:center;
}
.archive-pagination>.page-numbers li>.page-numbers.current{
	background: #cf823c;
}

.et_pb_slide_description, .et_pb_slider_fullwidth_off .et_pb_slide_description {
    padding: 0;
    background: rgba(0,0,0,0.7);
	text-align: center;
    position: absolute;
    width: 100%;
    bottom: 20%;
}
.posts-blog-feed-module h2 a{
    font-size: 16px;
	color: #cf823c !important;
}

.archive .et_pb_extra_column_main, .search .et_pb_extra_column_main{
	width:100%;
	max-width:100%;
	min-width:100%;
}
.posts-blog-feed-module.masonry .column {
    float:none;
}
.posts-blog-feed-module.masonry .hentry {
	display: block;
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.dc_page{
	display:flex;
	flex-direction:column;
	align-items: center;
}
.posts-blog-feed-module.masonry .paginated_page[data-columns="2"] .column:first-child {
    padding-right: 0;
}
.posts-blog-feed-module.masonry .paginated_page[data-columns="2"] .column:last-child {
    padding-left: 0;
}
.hentry .header{
	min-height: 1px;
}
.hentry .read-more-button{
	color: #cf823c;
}

.dc-post-img{
	text-align:center;
	margin-bottom: 30px;
	vertical-align:middle;
}

.single .post-wrap .post-content {
    margin: 0 0 40px;
}
.blocco-rivista .et_pb_button,.blocco-riviste2 .et_pb_button {
    color: #e09900!important;
    border-width: 10px!important;
    border-color: rgba(0,0,0,0);
    border-radius: 100px;
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 700!important;
    text-transform: uppercase!important;
    background-color: rgba(255,255,255,0.1);
}

.social {
    display: flex;
    flex-direction: row;
}

.social-item {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.social i{
	font-style: normal !important;
	color: rgba(0,0,0,0.3);
}

.social i:hover{
	color: #cf823c;
}

.home-2col-item{
    position: relative;
}

.home-2col-image{
    width: 100%;
    padding-bottom: 66%;
    position: relative;
	margin-bottom:30px;
}

.home-2col-image img{
    width: 100%;
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.home-2col-content h3{
    font-family: 'Raleway',Helvetica,Arial,Lucida,sans-serif;
    font-size: 24px;
    line-height: 1.4em;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.home-2col-item p{
    line-height: 2em;
}

.home-2col-button{
    text-align: right;
	color: #e09900!important;
    border-radius: 100px;
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 700!important;
    text-transform: uppercase!important;
	margin-top:20px;
}

.cf7-2col{
	display:flex;
	justify-content:space-between;
	flex-wrap:wrap;
}

.cf7-2col span{
	margin-bottom:2%;
}
.cf7-1col {
	margin-bottom:2%;
}

.wpcf7-form input, .wpcf7-form textarea{
	width:100%;
	padding:16px;
}

.wpmf-gallerys .gallery .wpmf-gallery-icon a img {
    max-height:350px;
}

.posts-blog-feed-module.masonry .paginated_page[data-columns="2"] .column {
    width: 70%;
    margin: auto;
}

.archive h1 {
    line-height: 24px;
    margin: 0 0 40px;
}

.wpcf7-form{
	display:flex;
	flex-wrap:wrap;
}

input[type="text"]::placeholder,input[type="email"]::placeholder,input[type="tel"]::placeholder,textarea::placeholder{
	color: #999;
	opacity: 1; /* Firefox */
}

.wpcf7-form label{
	margin-left:1%;
}
.fronte,.retro,.dettaglio{
	width:100% !important;
}

.wpcf7-form input[type="submit"]{
	color: #ffffff!important;
    background-color: #e09900;
}

.wpcf7-form input[type="checkbox"]{
	width:initial;
}
span.wpcf7-list-item{
	margin:0;
}
.wpcf7-form-control-wrap.richiedente,.wpcf7-form-control-wrap.certificazione {
	width:100%;
}
.wpcf7-radio input[type="radio"] {
    width: initial;
}
.wpcf7-radio .wpcf7-list-item {
    width: 100%;
}

.wpcf7-form-control-wrap.altro{
	width:100%;
}

@media only screen and (max-width: 767px){
	.news-testata-titolo h2{
		font-size:16px;
	}
	.foto-riviste2{
		display:none;
	}
	.card-mostra{
		margin-bottom: 40px;
	}
	.post-header {
    	padding: 0;
	}
	.page .post-wrap, .post-wrap {
    	padding: 40px 0;
	}
	.title-post{
		font-size: 20px;
	}
	.pubblicazioni-info{
		margin: 40px 0;
	}
	
	.home-2col-item{
    	margin-bottom:40px;
	}
	
	.cf7-2col span{
		width:100%;
	}
	.wpcf7-form-control-wrap {
    	position: relative;
    	width: 100%;
    	margin-bottom: 1%;
	}
}
@media only screen and (min-width: 768px){
	.slider-rivista-single{
	max-width: 100%;
	}
	.wrapper-rivista{
		display: flex;
		justify-content: space-evenly;
	}
	.blocco-riviste2{
		display: flex;
	}
	
	.foto-riviste2{
		flex:1;	
	}
	.lista-riviste{
		flex:2;
	}
	
	.recent-riviste-0{
		padding-left:20px;
		margin-left:0 !important;
	}

	.recent-riviste-0 .recent-rivista-img{
		display:none;
	}

	.recent-riviste{
		margin-left:20px;
		min-height: 60px;
	}
	
	.blocco-rivista h3{
		min-height: 78px;
	}
	.slider-rivista-single{
		flex: 1;
		max-width: 15%;
	}
	.image-post{
		width:30%;
    }
	.card-mostra{
		display:flex;
		align-items: flex-start;
		margin-bottom: 40px;
	}
	.card-mostra-img{
		min-width: 250px;
		width: 250px;
        margin-right: 30px;
	}
	.card-mostra-img img{
		vertical-align:middle;
		width:100%;
	}
	.metafisica-content{
		display:flex;
	}
	.lista-pubblicazioni{
		display: flex;
		flex-wrap: wrap;
	}
	
	.card-pubblicazioni{
		flex:1;
		max-width: 20%;
		min-width: 20%;
	    display: flex;
		flex-direction:column;
		margin: 0 5% 5% 0;
	}
	.pubblicazioni-header {
    	display: flex;
    	align-items: center;
		justify-content: space-between;
		margin-bottom: 40px;
    }
	.pubblicazioni-img{
		width:40%;
	}
	.pubblicazioni-info{
		width:50%;
	}
	.post-header {
    	padding: 0 40px;
	}
	.page .post-wrap, .post-wrap {
    	padding: 30px 0;
	}
	.title-post{
		font-size: 30px;
	}
	
	.home-2col-wrapper{
    	display: flex;
    	justify-content: space-between;
	}
	
	.home-2col-item{
    	width: 45%;
	}
	
	.home-2col-content{
    	flex-grow: 1;
		display: flex;
    	flex-direction: column;
	}
	
	.cf7-2col span{
		width:49%;
	}
	
	.wpcf7-form-control-wrap {
    	position: relative;
    	width: 48%;
    	margin: 1%;
	}
	
	.wpcf7-form input[type="submit"]{
		width: 30%;
    	margin-left: 70%;
	}
	
}