.books-container {
    display: flex;
    flex-wrap: wrap;
	gap: 5%
}

.books-container .single-book {
	display: flex;
    margin-bottom: 20px;
    flex-direction: column;
    flex:0 0 calc((100% - (3 - 1) * 5%) / 3);
    width: calc((100% - (3 - 1) * 5%) / 3);
	padding: 24px;
    box-shadow: 0px 24px 72px -12px rgba(0, 0, 0, 0.12);
}


.books-container .single-book .bookThumb {
    flex: 2;
    margin-bottom: 0;
    line-height: 0;
}
.books-container .single-book .bookThumb.book-cover{
    box-shadow: 0 0 15px 5px rgba(0,0,0,.2);
}
.books-container .single-book .bookThumb img {
    width: 100%;
}
.books-container .single-book .bookThumb a {
    display: block;
}
.books-container .single-book .bookInfo_container {
    flex:3;
    display: flex;
    flex-direction: column;
}
.books-container .single-book .bookInfo_container .bookInfo {
    flex: 1;
	margin-top:20px;
}
.books-container .single-book .bookInfo_container .bookInfo h2{
	font-size:1.3rem;
}
.books-container .single-book .bookInfo_container .bookInfo h3{
	font-size:1rem;
}



@media screen and (max-width:989px) {
	.books-container .single-book {
	    flex:0 0 calc((100% - (2 - 1) * 5%) / 2);
	    width: calc((100% - (2 - 1) * 5%) / 2);
	}

    .books-container .single-book .bookThumb {
        flex: 1;
    }
}
@media screen and (max-width:767px) {
}
@media screen and (max-width:646px) {
    .books-container .single-book {
        flex-basis: 100%;
    }
}

.bookButton{text-align:center;}
.book-btn {
background: #c4567a;
    color: #ffffff !important;
    display: inline-block;
    text-align: center;
    padding: 8px 25px;
    border-radius: 25px;
	transition: 0.3s all ease;
}

.book-btn:hover{
	background:#5a3764
}


.narrativa-container {
    display: flex;
    flex-wrap: wrap;
}

.narrativa-container .single-narrativa {
    padding-right: 3%;
    display: flex;
    flex-basis: 50%;
    margin-bottom: 20px;
}
.narrativa-container .single-narrativa .narrativaThumb {
    flex: 2;
    margin-bottom: 5px;
    margin-right: 20px;
}
.narrativa-container .single-narrativa .narrativaThumb.narrativa-cover{
    box-shadow: 0 0 15px 5px rgba(0,0,0,.2);
}
.narrativa-container .single-narrativa .narrativaThumb img {
    width: 100%;
}
.narrativa-container .single-narrativa .narrativaThumb a {
    display: block;
}
.narrativa-container .single-narrativa .narrativaInfo {
    flex:3;
}
@media screen and (max-width:989px) {
    .narrativa-container .single-narrativa {
        flex-basis: 100%;
    }
    .narrativa-container .single-narrativa .narrativaThumb {
        flex: 1;
    }
}
@media screen and (max-width:767px) {
    .narrativa-container .single-narrativa {
        flex-basis: 50%;
    }
}
@media screen and (max-width:646px) {
    .narrativa-container .single-narrativa {
        flex-basis: 100%;
    }
}
.narrativa-btn {
    background: #ded8d8;
    color: #000!important;
    display: block;
    text-align: center;
    padding: 8px;
    text-transform: uppercase;
}





.detail-book{ display:flex; }
.detail-book-cover{ flex:1; }

.detail-book-cover ul{ list-style: none;padding:0; }
.detail-book-cover ul li{ list-style: none;  }
.detail-book-cover ul li .label{ font-weight: bold; }

.detail-book-info{ flex:2; padding:0 20px; }
.detail-book-info .author{ font-weight: bold; font-size: 16px; }
.detail-book-info .poetry_title{font-weight: bold; font-size: 16px; display: block; margin-bottom: 10px;}

.detail-book-ecommerce{ flex:1; }
.detail-book-ecommerce .panel-group{ border: 1px solid #e6e6e6;text-align: center;margin-bottom: 20px;}
.detail-book-ecommerce .panel-group .panel-title{ background-color: #ce464c; color: white; padding: 10px;}
.detail-book-ecommerce .panel-group .panel-body{ padding: 3px}
.detail-book-ecommerce .panel-group .panel-body ul{ list-style: none;padding:0; }
.detail-book-ecommerce .panel-group .panel-body ul li{ list-style: none; display:inline-block  }

.detail-book-buttons{ display: flex; margin-top:20px;}
/*.detail-book-buttons .detail-book-button{ flex:1; justify-content: center; display: flex;}*/

.detail-book-buttons .detail-book-buttons-colsx{ flex:1;}
.detail-book-buttons .detail-book-buttons-colcenter{ flex:2; display: flex;}
.detail-book-buttons .detail-book-buttons-coldx{ flex:1;}

.detail-book-buttons .detail-book-button{
    display: inline-block;
    padding: 10px 15px;
    background-color: #E0E0E0;
    border: 1px solid #CCC;
    color: #000;
}

.detail-book-buttons .detail-book-button-share{ justify-content: left; flex:1; display: flex;}
.detail-book-buttons .detail-book-button-audio{ justify-content: right; flex:1; display: flex;}


@media screen and (max-width:989px) {
    .detail-book{
        flex-wrap: wrap;
    }
    .detail-book-ecommerce{ margin-top: 20px;}
}

@media screen and (max-width:767px) {
    .detail-book{
        flex-wrap: wrap;
        flex-direction: column;
    }
    .detail-book-info{ margin-top: 20px; padding: 0;}
    .detail-book-buttons-colcenter{flex-direction: column}
}
@media screen and (max-width:646px) {
}



.bookauthors-container {
    display: flex;
    flex-wrap: wrap;
}

.bookauthors-container .bookauthor-thumb-container {
    padding-right: 3%;
    display: flex;
    flex-direction: column;
    flex-basis: 25%;
    margin-bottom: 20px;
}

.bookauthors-container .bookauthor-thumb-container .bookauthorThumb {
    /*margin-bottom: 5px;*/
    /*box-shadow: 0 0 15px 5px rgba(0,0,0,.2);*/
}
.bookauthors-container .bookauthor-thumb-container .bookauthorThumb a{ display: block;}

.bookauthor-btn {
    background: #ded8d8;
    color: #000!important;
    display: block;
    text-align: center;
    padding: 8px;
    text-transform: uppercase;
    white-space: normal;
    line-height: 1;
    height: 4rem;

    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width:989px) {
    .bookauthors-container .bookauthor-thumb-container {
        flex-basis: 33%;
    }

}

@media screen and (max-width:767px) {
    .bookauthors-container .bookauthor-thumb-container {
        flex-basis: 50%;
    }

}
@media screen and (max-width:646px) {
    .bookauthors-container .bookauthor-thumb-container {
        flex-basis: 100%;
    }
}



.detail-author{ display:flex; }
.detail-author-photo{ flex:1; }
.detail-author-info{ padding-left: 20px;  flex:3; }


.detail-author-bibliography{ margin-top: 30px; }
.detail-author-books{ display: inline-flex; flex-wrap: wrap; gap: 15px; width:100%; margin-top: 20px;}
.detail-author-book{ flex:0 1 calc(20% - 15px );}

@media screen and (max-width:989px) {
    .detail-author-book {
        flex: 0 1 calc(25% - 15px );
    }
}

@media screen and (max-width:767px) {
    .detail-author-photo{ flex: 2;}
    .detail-author-info{ flex: 3;}
    .detail-author-book {
        flex: 0 1 calc(33% - 15px );
    }}
@media screen and (max-width:646px) {
    .detail-author{ flex-direction: column;}
    .detail-author-info{ padding: 0; margin-top: 20px;}
    .detail-author-book {
        flex: 0 1 calc(50% - 15px );
    }
}







.archived-magazines-years {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.archived-magazines-year {
    flex: 0 0 calc(20% - 10px);
    padding: 30px 20px;
    border: 1px solid #b0b0b0;
    margin-bottom: 10px;
    text-align: center;
    font-size: 25px;
}

.archived-magazines-year:hover {
    background-color: #e8e8e8;
}

.archived-magazines-months {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.archived-magazines-month {
    flex: 0 0 calc(25% - 10px);
    padding: 30px 20px;
    border: 1px solid #b0b0b0;
    margin-bottom: 10px;
    text-align: center;
    font-size: 25px;
}

.archived-magazines-month:hover {
    background-color: #e8e8e8;
}


.archived-magazines-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.archived-magazines-numbers article{}

.archived-magazine-detail{display:flex}
.archived-magazine-detail-cover{flex:2}
.archived-magazine-detail-info{ flex: 5}


@media screen and (max-width:989px) {
    .archived-magazines-year{ flex-basis: calc(25% - 10px);;}
}

@media screen and (max-width:767px) {
    .archived-magazines-year{ flex-basis: calc(33% - 10px);;}
}
@media screen and (max-width:646px) {
    .archived-magazines-year{ flex-basis: calc(50% - 10px);;}
    .archived-magazine-detail{ flex-direction: column}
    .archived-magazine-detail-info{ margin-top: 20px;}
}






.archived-poetries-years {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.archived-poetries-year {
    flex: 0 0 calc(20% - 10px);
    padding: 30px 20px;
    border: 1px solid #b0b0b0;
    margin-bottom: 10px;
    text-align: center;
    font-size: 25px;
}

.archived-poetries-year:hover {
    background-color: #e8e8e8;
}

.archived-poetries-months {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.archived-poetries-month {
    flex: 0 0 calc(25% - 10px);
    padding: 30px 20px;
    border: 1px solid #b0b0b0;
    margin-bottom: 10px;
    text-align: center;
    font-size: 25px;
}

.archived-poetries-month:hover {
    background-color: #e8e8e8;
}
a.disabled{
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}


.archived-poetries-days {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.archived-poetries-days article{
    flex: 0 0 calc(25% - 10px);
    padding: 30px 20px;
    border: 1px solid #b0b0b0;
    margin-bottom: 10px;
    text-align: center;
    font-size: 25px;
}


@media screen and (max-width:989px) {
    .archived-poetries-year{ flex-basis: calc(25% - 10px);;}
    .archived-poetries-month{ flex-basis: calc(25% - 10px);;}
}

@media screen and (max-width:767px) {
    .archived-poetries-year{ flex-basis: calc(33% - 10px);;}
    .archived-poetries-month{ flex-basis: calc(33% - 10px);;}
    .archived-poetries-days article {
        flex: 0 0 calc(33% - 10px);
    }
}
@media screen and (max-width:646px) {
    .archived-poetries-year{ flex-basis: calc(50% - 10px);;}
    .archived-poetries-month{ flex-basis: calc(50% - 10px);;}
    .archived-poetries-days article {
        flex: 0 0 calc(50% - 10px);
    }
    /*.archived-magazine-detail{ flex-direction: column}*/
    /*.archived-magazine-detail-info{ margin-top: 20px;}*/
}







.lastbook-container {
    display: flex;
    flex-wrap: wrap;
}

.lastbook-container .lastbook {
    display: flex;
    flex-basis: 100%;
    margin-bottom: 20px;
}
.lastbook-container .lastbook .bookThumb {
    margin-bottom: 0;
    margin-right: 20px;
    flex:2;
    line-height: 0;
}
.lastbook-container .lastbook .bookThumb.book-cover{
    box-shadow: 0 0 15px 5px rgba(0,0,0,.2);
}
.lastbook-container .lastbook .bookThumb img {
    width: 100%;
}
.lastbook-container .lastbook .bookThumb a {
    display: block;
}
.lastbook-container .lastbook .bookInfo_container {
    flex:5;
    display: flex;
    flex-direction: column;
}
.lastbook-container .lastbook .bookInfo_container .bookInfo {
    flex: 1;
}
@media screen and (max-width:989px) {
}
@media screen and (max-width:767px) {
}
@media screen and (max-width:646px) {
}









/* Magazine */
.upcomings-container {
    display: flex;
    flex-wrap: wrap;

}

.upcomings-container .single-upcoming {
    display: flex;
    flex-basis: 50%;
    margin-bottom: 20px;
    padding: 0 5% 5% 0;
}
.upcomings-container .single-upcoming .upcomingThumb {
    margin-bottom: 5px;
    margin-right: 20px;
    flex:2;
}
.upcomings-container .single-upcoming .upcomingThumb.upcoming-cover{
    box-shadow: 0 0 15px 5px rgba(0,0,0,.2);
}
.upcomings-container .single-upcoming .upcomingThumb img {
    width: 100%;
}
.upcomings-container .single-upcoming .upcomingThumb a {
    display: block;
}
.upcomings-container .single-upcoming .upcomingInfo_container {
    flex:4;
    display: flex;
    flex-direction: column;
}
.upcomings-container .single-upcoming .upcomingInfo_container .upcomingInfo {
    flex: 1;
}


.upcoming-btn {
    background: #ded8d8;
    color: #000!important;
    display: inline-block;
    text-align: center;
    padding: 8px 25px;
    text-transform: uppercase;
}

@media screen and (max-width:989px) {
    .upcomings-container .single-upcoming {
        flex-basis: 100%;
        padding: 0 0 5% 0;
    }
    .upcomings-container .single-upcoming .upcomingThumb {
        flex: 1;
    }
}
@media screen and (max-width:767px) {
    .upcomings-container .single-upcoming {
        flex-basis: 100%;
        flex-direction: column;

    }
}
@media screen and (max-width:646px) {
}




body.single-poetry_archives h1,
body.post-type-archive-poetry_archives h1,
body.post-type-archive-riviste_archives h1,
body.post-type-archive-poesie h1
{
    background-color: #ce464c;
    padding: 10px;
    color: #FFF;
    font-weight: bold;
    margin-bottom: 20px;
}




/* Archivio Poesie */
.archivio-poesie-container {
    display: flex;
    flex-wrap: wrap;

}

.archivio-poesie-container .single-poesia {
    display: flex;
    flex-basis: 33%;
    margin-bottom: 20px;
    padding: 0 5% 5% 0;
}
.archivio-poesie-container .single-poesia .poesiaThumb {
    margin-bottom: 5px;
    margin-right: 20px;
    flex:2;
}
.archivio-poesie-container .single-poesia .poesiaThumb img {
    width: 100%;
}
.archivio-poesie-container .single-poesia .poesiaThumb a {
    display: block;
}
.archivio-poesie-container .single-poesia .poesiaInfo_container {
    flex:4;
    display: flex;
    flex-direction: column;
}
.archivio-poesie-container .single-poesia .poesiaInfo_container .poesiaInfo {
    flex: 1;
}


.poesia-btn {
    background: #ded8d8;
    color: #000!important;
    display: inline-block;
    text-align: center;
    padding: 8px 25px;
    text-transform: uppercase;
}

@media screen and (max-width:989px) {
    .archivio-poesie-container .single-poesia {
        flex-basis: 50%;
        padding: 0 0 5% 0;
    }
    .archivio-poesie-container .single-poesia .poesiaThumb {
        flex: 1;
    }
}
@media screen and (max-width:767px) {
    .archivio-poesie-container .single-poesia {
        flex-basis: 50%;
    }
}
@media screen and (max-width:646px) {
    .archivio-poesie-container .single-poesia {
        flex-basis: 100%;
    }
}


body.single-poesie .detail-book-buttons .detail-book-button-audio {
    justify-content: left;
}





/* Appointments */
/*
.romanceandchill_-appointments {
    background-size: initial;
    background-position: left center;
    background-repeat: no-repeat;
    background-color: #e5e5e5 !important;
    padding-bottom: 40px;
}


.romanceandchill_-event-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 100% !important;
}

.romanceandchill_-event {
    background-color: #FFF;
    display: flex;
    border: 1px solid #AAA;
    flex: 0 0 calc(50% - 22px);
    margin: 10px;
}

.romanceandchill_-event .romanceandchill_-event-date {
    background-color: #EEE;
    padding: 10px;
    text-align: center;
    display: flex;
    border-right: 1px solid #AAA;
    flex-direction: column;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.3rem;
}

.romanceandchill_-event .romanceandchill_-event-date span {
    display: block;
    font-size: 1.7rem;
    font-weight: bold;
    color: #cd0032;
}

.romanceandchill_-event .romanceandchill_-event-detail {
    padding: 10px;
}

.romanceandchill_-event .romanceandchill_-event-detail .romanceandchill_-event-title {
    font-size: 1.1rem;
    line-height: 1.3rem;
}

.romanceandchill_-event .romanceandchill_-event-detail .romanceandchill_-event-location {
    font-size: 0.9rem;
}

.romanceandchill_-event .romanceandchill_-event-detail .romanceandchill_-event-address {
    font-size: 0.9rem;
}



@media screen and (max-width:860px) {
    .romanceandchill_-event {
        flex: 0 0 calc(100% - 20px);
    }
}*/


.appointments{
    max-width: 100% !important;
}
.appointments ul {
    list-style: none;
    padding: 0 !important;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
}

.appointments .event:nth-child(odd) {
    clear: both;
}
.appointments .event {
    padding: 10px;
    flex: 0 0 calc(50% - 20px);
list-style: none;
}
.appointments .event article {
    margin-bottom: 10px;
    display: flex;
}

.appointments .event article .date {
    width: 70px;
    height: 70px;
    margin-right: 20px;
    padding: 10px 15px;
    text-transform: uppercase;
    border-radius: 4px;
    border: 1px solid #e6e6e6;
    line-height: 1.3rem;
    margin-bottom: 15px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.appointments .event article .date span {
    display: block;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4px;
    color: #2a2a2a;
    transition: color .30s ease;
}

.appointments .event article .title {
    margin: 0 0 10px 0;
    font-weight: bold;
}
.appointments .event article .title  a {
    text-decoration: none;
}
.appointments .event article .detail {
    font-size: 0.9rem;;
    
}


@media screen and (max-width:767px) {
    .appointments .event {
        flex: 0 0 100%;
    }
}





.book-infos-charts img{
    max-width: 120px !important;
}