/* !
Theme Name: Rizzoli Education 2018
Theme URI: http://www.rizzolieducation.it/
Author: Rizzoli Education
Author URI: http://www.rizzolieducation.it/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: rizzolieducation-2018
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

rizzolieducation-2018 is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/ */
img.alignright {
    width: auto;
}

img.alignleft {
    width: auto;
}

.active-key {
    width: 1.25rem;
    height: 1.25rem;

    /* background: url(../rizzolieducation-2018/assets/svg/ics_cerchio.svg) no-repeat center center; */
    display: inline-block;
    margin-left: .25rem;
    margin-bottom: -.25rem;
    cursor: pointer;
}

figure.alignleft img {
    float: left;
    margin: 0 1.5rem 1rem 0;
}

.article-mb-custom {
    margin-bottom: 1.5rem;
}

.swiper-slide div .video-badge {
    padding: 1.1rem 0 1rem;
    color: #fff;
    border-radius: 50%;
    position: relative;
    left: 6rem;
    top: 4.5rem;
    height: 5.5rem;
    width: 5.5rem;
    background: url(../rizzolieducation-2018/assets/png/ico-play.png);
    display: block;
}

div.content-custom-collapse {
    display: block;
    height: 155px;
    overflow: hidden;
    position: relative;
}

div.content-custom-collapse.show {
    height: auto;
}

.fadeout {
    background: -webkit-linear-gradient(
        rgba(255, 255, 255, 0) 90%,
        rgba(255, 255, 255, 1) 100%
    );
    background-image: -moz-linear-gradient(
        rgba(255, 255, 255, 0) 90%,
        rgba(255, 255, 255, 1) 100%
    );
    background-image: -o-linear-gradient(
        rgba(255, 255, 255, 0) 90%,
        rgba(255, 255, 255, 1) 100%
    );
    background-image: linear-gradient(
        rgba(255, 255, 255, 0) 90%,
        rgba(255, 255, 255, 1) 100%
    );
    background-image: -ms-linear-gradient(
        rgba(255, 255, 255, 0) 90%,
        rgba(255, 255, 255, 1) 100%
    );
}

div.content-custom-collapse div.fadeout {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
}

div.content-custom-collapse.show div.fadeout {
    display: none;
}

/* nel caso che nel tab dell'opera sia presente un solo set commerciale */
#composizioni {
    width: 100%;
}

.indice_label {
    display: none;
}

.banner-page-new-widget {
    display: none;
}

.modal-message {
    flex: auto;
    padding: 5px;
    margin-left: 15px;
    background-color: #fff;
}

.modal-loader {
    border: 4px solid #f3f3f3;

    /* Light grey */
    border-top: 4px solid #3498db;

    /* Blue */
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 2s linear infinite;
    float: left;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* RESET DI FACET WP */
div.facetwp-template {
    width: 100%;
}

.pagination li a.facetwp-page {
    margin-right: 0;
}

a.text-secondary.facetwp-checkbox {
    background: none;
    padding-left: 0;
}

a.text-secondary.facetwp-checkbox.checked {
    background: none;
}

div.facetwp-facet {
    margin-bottom: 0;
}

div.search-catalogo div.facetwp-facet-search {
    display: none;
}

div.search-promotori-name div.facetwp-facet-search_promotori {
    display: none;
}

div.fwp-radio-custom,
div.fwp-radio-custom.checked {
    background: none;
    margin: 0;
    padding: 0;
}

.search-free-filter-search {
    /* width: 1rem;
	height: 1rem;
	background: url(assets/svg/ics_cerchio.svg) no-repeat center center;
	display: inline-block; */
    cursor: pointer;
}

/* layout per filtro materia ed editore */
button.text-secondary.facetwp-checkbox {
    background: none;
    padding-left: 0;
    border: 0;
    text-align: left;
    margin-bottom: 0px;
    word-break: break-word;
}

button.text-secondary.facetwp-checkbox.checked {
    background: none;
}

.rizzoli-filter li button.active {
    font-family: "museo-sans", sans-serif;
    font-weight: 900;
}

.rizzoli-filter li button.active:after {
    content: '';
    width: 1rem;
    height: 1rem;
    background: url(assets/svg/ics_cerchio.svg) no-repeat center center;
    display: inline-block;
    margin-left: .5rem;
    margin-bottom: -.25rem;
}

.rizzoli-filter a p.filter-title-no-bold {
    font-family: "museo-sans", sans-serif;
    font-weight: 500;
}

/* end layout per filtro materia ed editore */
img.strillo-opera {
    float: none;
}

.wysiwyg-container .content-wrapper p img,
.wysiwyg-container .content-wrapper pre img {
    width: auto;
    max-width: 100%;
}

a .opera-list-img {
    background-size: auto 100%;
}

.audio-wrapper {
    border: 1px solid #cacaca;
}

.audiojs {
    width: 100%;
    height: 36px;
    background: #fff;
    overflow: hidden;
    font-size: 13px;
}

.audiojs .play,
.audiojs .pause {
    background: none;
}

.dashicons-frontend {
    font-size: 2.4em;
}

.audiojs audio {
    position: absolute;
    left: -1px;
}

.audiojs .play-pause {
    width: 4%;
    height: 40px;
    padding: 4px 6px;
    margin: 0px;
    float: left;
    overflow: hidden;
    border-right: none;
    color: #000;
}

.audiojs p {
    display: none;
    width: 25px;
    height: 40px;
    margin: 0px;
    cursor: pointer;
}

.audiojs .play {
    display: block;
}

.audiojs .scrubber {
    cursor: pointer;
    position: relative;
    float: left;
    width: 80%;
    background: #5a5a5a;
    height: 14px;
    margin: 10px;
    border-top: 1px solid #3f3f3f;
    border-left: 0px;
    border-bottom: 0px;
    overflow: hidden;
}

.audiojs .progress {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 14px;
    width: 0px;
    background: #e21151;
    z-index: 1;
}

.audiojs .loaded {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 14px;
    width: 0px;
    background: #909090;
}

.audiojs .time {
    float: left;
    width: 12%;
    height: 36px;
    line-height: 36px;
    margin: 0px 0px 0px 6px;
    padding: 0px 6px 0px 12px;
    border-left: 1px solid #000;
    color: #000;
}

.audiojs .time em {
    padding: 0px 2px 0px 0px;
    font-style: normal;
}

.audiojs .time strong {
    padding: 0px 0px 0px 2px;
    font-weight: normal;
}

.audiojs .error-message {
    float: left;
    display: none;
    margin: 0px 10px;
    height: 36px;
    width: 400px;
    overflow: hidden;
    line-height: 36px;
    white-space: nowrap;
    color: #fff;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    -icab-text-overflow: ellipsis;
    -khtml-text-overflow: ellipsis;
    -moz-text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis;
}

.audiojs .error-message a {
    color: #eee;
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 1px solid #999;
    white-space: wrap;
}

.playing .play,
.playing .loading,
.playing .error {
    display: none;
}

.playing .pause {
    display: block;
}

.loading .play,
.loading .pause,
.loading .error {
    display: none;
}

.loading .loading {
    display: block;
}

.error .time,
.error .play,
.error .pause,
.error .scrubber,
.error .loading {
    display: none;
}

.error .error {
    display: block;
}

.error .play-pause p {
    cursor: auto;
}

.error .error-message {
    display: block;
}

.button-align {
    display: inline-block;
    vertical-align: middle;
}

.pagination-hellip .page-numbers {
    color: #003462 !important;
}

.pagination-hellip:hover {
    text-decoration: none;
    background: none !important;
    cursor: default;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.gotowebinar-loader:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    margin-top: -10px;
    margin-left: -10px;
    top: 50%;
    left: 50%;
    animation: spinner 2s linear infinite;
    float: left;
}

.gotowebinar-evidence {
    color: #f24e80;
}

.materiali-cdi-card,
.cpointer {
    cursor: pointer;
}

.content-custom-collapse.collapse:not(.show) {
    display: block;
}

.no-pointer {
    cursor: default !important;
}

.btn-full-width {
    width: 100%;
}

#add-calendar-atc {
    min-width: 210px;
}

.swiper-button-prev:focus,
.swiper-button-next:focus {
    outline: none;
}

.no-pad-top {
    margin-top: -24px;
}

#dropdownHUB {
    width: 2.5rem;
    height: 2.5rem;
    visibility: hidden;
    opacity: 0;
    margin-right: 0 !important;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    background: #e21151 url('assets/svg/amburger_w.svg') no-repeat center center;
    background-size: 1.75rem;
}

#dropdownHUB::after {
    opacity: 0;
}

#primary-menu .primarynav .navbar-nav.social-nav .hub-sticky .btn {
    background: #e21151 url(assets/svg/amburger_w.svg) no-repeat center center;
    right: 0;
}

.cta .bkg {
    background-attachment: unset;
}

.no-opaque {
    opacity: 0;
}

.l-sticky {
    top: 5.5rem !important;
}

.rnd-border {
    margin: 0 auto;
}

.not-well-visibile {
    visibility: hidden;
    height: 200px;
}

.rv-evidenza-item.locked figure.rv-evidenza-item-image:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 52, 98, 0.8);
    background-image: url('assets/svg/lock.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 6rem;
    top: 0;
    left: 0;
}

.rv-evidenza-item.locked a {
    opacity: 0.5;
}

.facetwp-facet-appuntamento_sede {
    display: none;
}

.list-text .tags-container {
    margin-bottom: 0.5em;
}

.list-text .tags-container a {
    display: inline;
}
#primary-menu .shop-white {
    display: none !important;
}

@media (min-width: 992px) {
    .col-md-auto {
        width: 50%;
    }

    #primary-menu.compari .primarynav .navbar-nav.social-nav {
        margin: 0px !important;
    }

    .compari #dropdownHUB {
        visibility: visible;
        opacity: 1;
    }

    #primary-menu.compari form {
        right: 3.3rem;
    }

    .hub-sticky {
        position: absolute;
        -webkit-transition: all .2s ease-in-out;
        -o-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;
        overflow: initial;
        z-index: 2300;
        width: 3rem;
        height: 3rem;
        top: .5rem;
        right: 0;
    }
}

@media (max-width: 768px) {
    .audiojs .play-pause {
        width: 15%;
    }

    .audiojs .progress {
        height: 18px;
    }

    .audiojs .scrubber {
        width: 75%;
        background: #5a5a5a;
        height: 20px;
    }

    .audiojs .loaded {
        height: 18px;
    }

    .dashicons-frontend {
        font-size: 2.8em;
    }

    .audiojs .time {
        width: 100%;
        height: 50px;
        font-size: 1.4em;
        text-align: center;
        border-left: none;
    }

    .audiojs {
        height: 80px;
    }

    .btn-full-width {
        width: auto;
    }

    .not-well-visibile {
        visibility: hidden;
        height: 40px;
    }
}

#pannello-filtri .facetwp-facet-appuntamento_tipologia .multi-select li.sub-list ul {
    background-color: #f1fbfd;
    padding: 8px;
    margin-left: 0;
}

#pannello-filtri .facetwp-facet-appuntamento_tipologia .multi-select li.sub-list {
    width: 100%;
}

#pannello-filtri .facetwp-facet-appuntamento_tipologia .multi-select li {
    break-inside: unset;
}

.first-nav .shop-white {
    background: #e21151 url('/content/themes/rizzolieducation-2018/assets/svg/shop-white.svg') no-repeat center center;
    background-size: 1.65rem;
    width: 2.4rem;
    height: 2.4rem;
}

.first-nav .shop-white a {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    margin: 0 10px;
}

.shop-white a:hover::before {
    background: none !important;
}

.first-nav #info-carrello-numero {
    top: 2px;
    left: 2px;
    position: absolute;
    background: #e21151;
    padding: 0;
    font-weight: 700;
}

.first-nav .shop-mobile {
    display: none !important;
}

.first-nav span.info-carrello-numero {
    padding: 4px 8px;
    border-radius: 20px;
    color: #e21151;
    font-weight: 700;
}

.bg-secondary.dropdown.hub-sticky {
    display: none;
}

.bg-secondary.compari .dropdown.hub-sticky {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
}

.bg-secondary.compari .dropdown.hub-sticky .dropdown-menu {
    left: unset;
    right: 0;
}

.bg-secondary.compari .dropdown.hub-sticky .dropdown-menu .dropdown-item.nav-link.none,
.service-menu-mobile {
    display: none;
}

.bg-secondary .dropdown.hub-sticky {
    display: none;
}

.bg-secondary.compari .dropdown.hub-sticky {
    display: block;
}

.service-menu-mobile .nav-link.none {
    display: none;
}

.service-menu-mobile .nav-item > a {
    text-transform: none !important;
    color: #e21151 !important;
}

#dropdownHUB {
    margin: 2px 0 0 4px;
    width: 2.3rem;
    height: 2.2rem;
}

.service-menu a.nav-link.bg-light {
    color: #003462 !important;
}

.service-menu a.nav-link.bg-primary {
    color: #fff !important;
}

@media (max-width: 991px) {
    .first-nav .shop-white {
        display: none;
    }

    .first-nav .shop-mobile {
        display: block !important;
    }

    .bg-secondary.compari .dropdown.hub-sticky {
        display: none;
    }

    .service-menu-mobile {
        display: block;
    }

    .sticky-button {
        margin: -3px;
    }
}


/* AGGIUNTE PER MENU DROPDOWN STICKY */

#dropdownHUB {
    margin-top: 0px;
}

@media (min-width: 992px) {
    .hub-sticky {
	width: unset;
        height: unset;
        top: unset;
    }
    
    #primary-menu.compari #search-free-form {
    	right: 2.75rem !important;
    }
    
    .dropdown.hub-sticky .dropdown-menu {
        margin-top: 8px !important;
    }
}

/* Pulsante Accessibilità */
.btn.btn--accessibility {
    background-color: #fff;
    border: 1px solid #277266;
    color: #277266;
    box-sizing: border-box;
    
}
.btn.btn--light.adding-border {
    border: 1px solid #f8ddd5;
}
.accessibility-btn-logo {
    padding: 0 10px 0 0;
}
.header-sticky-book {
    min-height: 122px !important;
}
.btn--accessibility:hover {
    background-color: #277266;
    color: #fff !important;
}
.btn--accessibility:focus {
    background-color: #277266 !important;
    color: #fff !important;
    box-shadow: 0px 0px 0px 4px #27726666 !important;
}

a.btn.btn--accessibility {
    display: inline-block;
    padding-left: 32px;
    color: #277266;
    text-decoration: none;
    position: relative;
    font-weight: normal;
}

a.btn.btn--accessibility::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    padding: 4px; /* padding interno all’icona */
    background: url('./assets/svg/ico-accessibility.svg') no-repeat center center;
    background-size: 16px 16px;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
}

a.btn.btn--accessibility:hover::before,
a.btn.btn--accessibility:focus::before {
    background: url('./assets/svg/ico-accessibility-white.svg') no-repeat left center !important;
    background-size: 16px 16px !important;
    left: 8px;
}
.row.stickynav nav a {
    color: inherit;
}
.row.stickynav nav a:hover {
    color: #36648f;
}
.mb-6 {
    margin-bottom: 4rem !important;
}


@media (max-width: 767px) {
    #sticky-book-box.list-cta {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    #sticky-book-box.list-cta > li {
        flex: 0 0 auto;
        margin-left: 10px;
    }
    #sticky-book-box.list-cta > li:first-child {
        order: 3;
        flex-basis: 100%;
        text-align: right;
        margin: 0;
    }
    .header-sticky-book .cover-small {
        max-width: 75px !important;
        max-height: calc(100%) !important;
    }
    .header-sticky-book {
        min-height: 112px !important;
    }
    a.btn.btn--accessibility {
        margin-top: 0px !important;
    }
}

@media (min-width: 576px) {
    .white-mode {
        color: white;
    }
    a.white-mode:hover {
        color: #ffd5e2;
    }
}
