/*
 Theme Name: Store Rubbettino Editore
 Description:  TwentyTwenty Child Theme for Store Rubbettino Editore
 Author:       Coopyleft
 Template:     twentytwenty
 Version:      1.0.1

*/

body{
    margin: 0;
    text-shadow: 0 0 0 rgb(0 0 0 / 0%);
    background-color: #fff;
    font-size: 16px;
    line-height: 1;
    text-align: left;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
.singular .entry-header {
    display: none
}
#site-header {
    background: #2e7174;
    position: relative;
}
.header-footer-group, body:not(.overlay-header) #site-header .toggle, .menu-modal .toggle {
    color: #ffffff !important;
}
.color-accent, .color-accent-hover:hover, .color-accent-hover:focus, :root .has-accent-color, .has-drop-cap:not(:focus):first-letter, .wp-block-button.is-style-outline, a {
    color: #2e7174 !important;
    text-decoration: none;
}
body:not(.overlay-header) .primary-menu > li > a{
    color:#fff !important
}
.header-inner .toggle-wrapper::before {
    display:none;
}
button, .button, .faux-button, .wp-block-button__link, .wp-block-file .wp-block-file__button, input[type="button"], input[type="reset"], input[type="submit"], .bg-accent, .bg-accent-hover:hover, .bg-accent-hover:focus, :root .has-accent-background-color, .comment-reply-link {
    /*background-color: #2e7174 !important;*/
    /*background-color: transparent*/
    background: transparent !important;
    color: #2e7174;

}
.search-modal .search-field {
    height: 6rem;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: -1px!important;
}
@media ( min-width: 600px ) {
    .header-toggles .toggle {
        padding: 0.5rem;
    }
}

@media (min-width: 700px){
    h3, .heading-size-3 {
        font-size: 2rem;
    }
    .search-modal .search-field {
        font-size: 16px;
        letter-spacing: inherit !important;
    }
}


.entry-content h1, .entry-content h2, .entry-content h3 {
    margin: 6rem auto 3rem;
    font-weight: 300;
}

footer#site-footer {
    clear: both;
    position: relative;
    margin-top: 1em;
}

#site-footer .image {
    min-width: 10em;
}
#site-footer h3{
    font-size: 1.8rem;
    margin-bottom: 0;
}
/*#site-footer a{
    color:#fff !important
}*/
#site-footer .textwidget.custom-html-widget{
    font-weight: 300;
}
.footer-menu {
    align-items: baseline;
    display: block;
    justify-content: center;
    flex-wrap: inherit;
    font-size: 1.8rem;
    margin: 0;
}
.footer-menu li {
    margin: 0;
    font-weight: 300;
}
.footer-menu a {
    color: #fff !important;
}
.to-the-top{
    color: #fff !important;
}

/* # WooCommerce Cart Icon CSS with FontAwesome 5
---------------------------------------------------------------------------------------------------- */

.cart-contents {
    position: relative;
    display: flex !important;
    flex-flow: column nowrap;
    justify-content: center;
}

.cart-contents:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: "\f290" !important;
    font-size: 30px;
    color: #FF1493;
}

.cart-contents:hover {
    text-decoration: none;
}

.cart-contents-count {
    position: absolute;
    top: 15px;
    right: 1px;
    transform: translateY(-105%) translateX(25%);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 12px;
    line-height: 22px;
    height: 22px;
    width: 22px;
    vertical-align: middle;
    text-align: center;
    color: #fff;
    background: #000;
    border-radius: 50%;
    padding: 1px;
}

.has-text-align-justify{
    text-align: justify;
}

.modal-menu a{
    color: #f8e2e7 !important;
}
button#all,button#cat {
    color: #fff;
}
.error404 button#all,.error404 button#cat {
    color: inherit;
}
.error404 h1.entry-title {
    /* font-size: 3rem; */
    font-weight: 300;
}
span.ebook{
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    background: #ffff00;
    color: #000;
    font-family: -apple-system,blinkmacsystemfont,"Helvetica Neue",helvetica,sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    padding: 1.5rem;
    text-transform: uppercase;
    z-index: 1;
    width: fit-content;
}
li span.ebook {
    position: absolute;
    top: 43%;
    left: 130px;
    display: inline-block;
    background: #ffff00;
    color: #000;
    font-family: -apple-system,blinkmacsystemfont,"Helvetica Neue",helvetica,sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 0;
    padding: 1.5rem;
    text-transform: uppercase;
    z-index: 1;
}



a:hover{
    text-decoration: underline;
}
.obbligatorio {
    border-color: #f00;
}

.displaynone{
    display: none
}

div.yith-wcwl-add-button i.yith-wcwl-icon {
    font-family: 'FontAwesome';
}

/**/
/**/
.relevanssi-live-search-results {
    padding: 0 0 0 0;
    /*padding-top: 32px;*/
    border-top: 0px;
    margin: 0 auto;
    background-color: #ecf1ca!important;
    text-align: left;
    left: -20px!important;
    top: 60px!important;
    border-radius: 0!important;
}

li.relevanssi-live-search-result {
        display: flex;
        padding: 0.5rem 0;
}

.page-title {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    padding: 15px 0 0 15px;
    overflow: hidden;
    font-weight: normal;
    text-align: inherit;
    max-width: 100%;
}


.relevanssi-live-search-no-results, .relevanssi-live-search-didyoumean {
    padding: 0 1em;
    color: #000!important;
}
.relevanssi-live-search-result p,
.relevanssi-live-search-result-status p {    
    padding: 1em;
    margin: 0;
    border-bottom:0!important;
    color: #2e7174!important
}
.titsrc{font-size: 18px;}

.relevanssi-live-search-result p.autore,
.relevanssi-live-search-result p.curatore {
    margin: 0;
    padding: 0;
    max-width: none;
    text-align: left;
    font-size: 16px;
    display: flex
}

.relevanssi-live-search-result p a {color: #2e7174!important}

.relevanssi-live-search-result p.curatore a {display:contents}



.relevanssi-live-search-result .imgscr{
    max-width: 3em;
    max-height:3em;
}

.relevanssi-live-search-result .imgscr img{
    padding: 0.5rem;
}

.othersrc{
    font-size: 1.2em;
    text-align: center;
    display: block;
}
/**/
ul#aut  {
    column-count: 3;
    column-gap: 30px;
}

@media (max-width: 769px) {

    ul#aut {
        column-count: 2;
        column-gap: 10px;
        /*column-rule: 1px solid #666;*/
    }

}

@media (max-width: 320px) {
    
    ul#aut {
        column-count: 1;
    }

}
p.has-text-align-center.alphabetic-pagination {
    padding: 10px 0 0 0;
}

li.wp-social-link.has-background-color.wp-block-social-link a svg {
    fill: #ffffff;
}