/*
Theme Name: Civiltà Cattolica 2023
Description: tema child 2023 con Woocommerce per Civiltà Cattolica
Author: Marco Buttarini
Author URI: http://marbu.org
Version: 1.0
Template: civiltacattolica
*/

/* =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;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

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%; /* Image does not overflow the content area */
    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 p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
.pager-list .current{
    font-weight: 700;
    color: #fff;
    background-color: #9f0038;
    border-color: #9f0038;
}

.woocommerce .product-thumbnail img{
    width:60px;
    height:auto;
}

.woocommerce .button{
    background-color:#9f0038 !important;
    padding:16px 30px !important;
    color:#fff !important;
}

.woocommerce #coupon_code{
    padding:9px;
    width:200px;
}

.iframe-container-pdf {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 100%;
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-pdf {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}


.radioinline{
    float:left;
    margin-right:20px
}

#ptypes{
    padding:30px 0px;
}

.onlytitle_div {
    padding-top: 12px;
    padding-bottom: 10px;
}

.submit-search{
    margin-top:20px;
    margin-bottom:20px;
}

.onlytitle{
    padding-left:4px;

}


.paywall {content: "";
    position: relative;
}
.paywall:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    z-index: 1;
}

.section-bg-aside{
    min-height:200px;
}

.quote-author{
    font-size:18px;
    margin-top:-5px;
}

.section-bg .section-bg-title svg {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 20px 0 0;
}
@media (max-width: 575.98px){
    .section-bg .section-bg-title svg {
        width: 40px;
        height: 40px;
    }
}

.clickbox{
    position:absolute;
    left: 50%;
    top:30%;
    transform: translateX(-50%);
    width:100px;
    height:160px;
}


@media (max-width: 575.98px){
    .section-notebook .cta-group .icon-cta svg {
        display: block;
        width:20px;
    }
    .section-notebook .cta-group .icon-cta  {
        padding-left:24px !important;
        padding-right:20px !important;

    }
}

.section-notebook-list .card-article-horizontal .card-thumb{
    background-size: 140% !important;
    background-position: top !important;
}

.carousel-slider-news.owl-theme.carousel-centered-arrows .owl-nav{
    top:140px;
}

.related-quaderno .item{
    height: 300px;
}

.section-podcast .section-bg-body{
    min-height:140px;
}

.abitare-home{
    float:right;
    width:80px;
    margin-top:-20px;
}
@media (max-width: 767.98px){
    .abitare-home{
        width:40px;
        margin-top:-10px;

    }
}
.remodal-video .remodal-close{
    right:10px !important;
}

.bg-black .wp-caption-text{
    color:#000 !important;
}

.card-author h3 a{
    text-decoration:underline !important;
}

.bg-black .wp-caption-text{
    color:#000 !important;
}

.card-author h3 a{
    text-decoration:underline !important;
}

.article-container blockquote{
    display:block;
    border-left: solid 6px;
    padding-left:20px;
}
#iubenda-pp{
    z-index:999999 !important;
}
@media (max-width: 767.98px){
    .card-featured .card-thumb {
        min-height: 220px !important;
    }
}

.book-aside .book-cover  img {
    border: 1px solid #d3d3d3;
}

.section-half-carousel.bg-white .book-cover  img {
    border: 1px solid #d3d3d3;
}

.section-half-carousel.bg-white .section-half-carousel-container .owl-item img{
    border: 1px solid #d3d3d3;
}

.wp-block-button a{
    color:#fff !important;
    border-radius:0px !important;
    margin-bottom:24px;
    margin-top:24px;

    width:auto !important;
}

/* the temporary solution of block*/
.card-featured .card-thumb {
    background-size: contain !important;
}



@media (max-width: 354px){
    .header-logo .logo-lettering svg{
        margin:auto  !important;
        width: 155px !important;
        height: 14px !important;
    }
}


.woocommerce ul#shipping_method li label .woocommerce-Price-amount{
    float:none !important;
}

.wp-block-code {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding:10px;
}

.section-bg-aside .bg-aside.bg-right {
    right: 0;
    background-position: center center !important;
}