.page-template-template-library .wrapper{
    margin-top: 1rem;
    padding-top: 1rem;
}
.page-template-template-library.page .article__title h1{
    font-size: 2.6rem;
    line-height: 2.8rem;
}
.page-template-template-library .breadcrumb{
    margin-bottom: 0rem; 
}
.library-search .form-group{
    margin-bottom: 0.5rem;
}
.btn-all-filter{
    display: block;
}
.btn-all-filter a.btn-link{
    padding: 0;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    text-align: left;
    align-items: center;
}
@media screen and (min-width: 768px) {
    .btn-all-filter{
       display: none;
       font-size: 16px;
       line-height: 16px;
    }
    .cont-all-filters.collapse{
        display: block;
    }
}
.btn-all-filter a.btn-link:focus{
    text-decoration: none;
}
.btn-all-filter a.btn-link .fa{
    margin-right: 0.5rem;
}
.btn-all-filter a.btn-link .mostra{
    display: none;
}
.btn-all-filter a.btn-link.collapsed .mostra{
    display: block;
}
.btn-all-filter a.btn-link .nascondi{
    display: block;
}
.btn-all-filter a.btn-link.collapsed .nascondi{
    display: none;
}

.library-search label{
    width: 100%;
    display: flex;
    justify-content: left;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: bold;
    color: #B00249;
    margin-bottom: 0;
}
        @media screen and (max-width: 768px) {
            .library-search label{
                margin-top: 8px;
                color: #000;
            }
        }


.select2-container--bootstrap.active .select2-selection--single,
.select2-container--bootstrap.active .select2-selection--multiple,
.form-group input[type='text'].active{
    background: #eee;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__rendered,
.library-search .form-control,
.library-search .form-control::placeholder{
    color: #555;
    font-size: 15px;
}

.library-search .form-control,
.library-search .select2-container--bootstrap{
    border: 1px solid #000;
    width: 100%;
    min-height: 43px;
    font-weight: 400;
    color: #000;
}

.library-search .form-control{
    padding: 15px;
    height: 43px;;
}
.library-search .input:focus,
.library-search .select:focus,
.library-search span:focus,
.select2-container--bootstrap.select2-container--open .select2-selection,
.form-control:focus,
.select2-container--bootstrap.select2-container--focus .select2-selection{
    box-shadow: none !important;
}


@media screen and (min-width: 768px) {
    .library-search .form-group.autore{
        /* padding-left: 0px; */
        /* padding-right: 0px; */
    }
 
}
/* keywords */


.select2-container--bootstrap .select2-selection--multiple .select2-selection__rendered,
.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice{
    display: flex !important;
}
.select2-container--bootstrap .select2-selection--multiple .select2-selection__rendered{
    flex-wrap: wrap;
}
.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice{
    margin: 5px 0 5px 6px !important;
    padding: 6px !important;
}
.select2-container--bootstrap .select2-results__option {
    padding: 12px !important;
    font-size: 14px;
}
    @media screen and (max-width: 768px) {
        .select2-container--bootstrap .select2-results__option {
            font-size: 16px;
            padding: 10px 12px !important;
        }
    }
.select2-container--bootstrap .select2-selection--single{
    padding: 12px 24px 10px 12px !important;
}
/* fine keywords */



.library-search .select2-container--bootstrap span{
    height: 100%;
    width: 100%;
    display: flex !important;
    align-items: center;
    border-radius: 0px;
    border: 0px;
}
.library-search .form-inline .form-group {
    display: flex;
    flex-direction: column;
}


.not-found{
    font-size: 18px;
}


@media screen and (max-width: 768px) {
    .publication div{
        margin-top: 2px;
        margin-bottom: 2px;
        padding-right: 26px;
    }
}

.publication, .title-list {
    padding: 8px 15px;
   font-size: 16px;
   line-height: 20px;
   font-weight: 400;
}
.publication .fa-paperclip{
    font-size: 20px;
}

.title-list{
    font-weight: bold;
    padding: 15px;
    font-size: 15px;
    font-weight: bold;
    color: #B00249;
    text-transform: uppercase;
}
    @media screen and (max-width: 767px) {
        .title-list{
            padding: 0px;
            margin-bottom: 3px;
            color: #000;
        }
    }

.title-list__desktop div div:first-child{
    padding-left: 45px;
}

.title-list__mobile{
    display: none;
    margin-bottom: 0px;
}
    @media screen and (max-width: 767px) {
        .title-list__mobile{
            display: inline-block;;
        }
    }
.publication{
    min-height: 50px;
}
.publication:nth-child(even) {
    background-color: #f5f5f5;
}
.publication, .publication a{
    color: #4a4a4a;
}
.publication picture, 
.publication picture img{
    max-width: 26px;
}

.publication__title{

    padding-left: 45px;
}
.publication__title a{
    font-size: 18px;
    line-height: 22px;
    font-weight: bold;
}
.publication__title picture{
    position: absolute;
    left: 8px;
    top: 5px;
   
}
    @media screen and (max-width: 767px) {
        .publication__title{
            font-size: 18px; 
            padding-left: 15px;
        }
        .publication__title picture{
            left: auto;
            top: 0px;
            right: -10px;
        }
    }
.publication__title a{
    line-height: 22px;
    color: #1e1e1e;
}
.form-group.search{
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
}
.form-group.search input{
    font-size: 16px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.publications-search-info{
    color: #a7a7a7;
    text-align: right;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}
.publications-search-info .clear-filters .fa{
    font-size: 15px;
}

.publications-search-info .result-filters{
    margin-top: -10px;
    text-align: right;

}
.publications-search-info .clear-filters{
    margin-top: -60px;
    text-align: right;
}



.section__aside hr{
    border-top: 4px solid #fff;
}
.section__aside .sidebar__subtitle{
    text-transform: uppercase;
    font-size: 17px;
    font-weight: bold;
}
.sidebar .showcase__item .list-line li{
    padding: 3px 0;
    border-bottom: 1px solid #464a67;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-decoration: none;
    padding: 8px 0;
   
}
.sidebar .showcase__item  .list-line li > a,
.sidebar .showcase__item  .list-line li > a:link{
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
}
.sidebar .showcase__item  .list-line li > a:hover{
    text-decoration: underline;
}
.sidebar .showcase__item .list-line li span{
    font-size: 16px;
    border-radius: 5px;
    padding: 2px 10px;
    color: #000;
    font-weight: 400;
}
.sidebar .showcase__item .list-line li span a{
    color: #000;
    text-decoration: none;
}


/* Singola library */

.library-single .article__title h1{
    font-size: 42px;
    line-height: 48px;
    margin-bottom: 30px;
}
    @media screen and (max-width: 768px) {
        .library-single .article__title h1{
            font-size: 2.625rem;
            line-height: 2.75rem;
        }
        
    }
.library-single .article__title h1 .fa{
    color: #9B9B9B;
    margin-right: 15px;
}
.library-single .publication-data-list,
.library-single .publication-abstract,
.library-single .publication-keywords {
    font-size: 18px;
    color: #1E1E1E;
}
.library-single .publication-data-list hr,
.library-single .publication-abstract hr {
    border-top: 1px solid #ececec;
    margin: 8px 0;
}
/* .library-single .publication-data-list .row div:first-child,
.library-single .library-single .row div:first-child{
    font-weight: bold;
} */
.library-single .publication-keywords .d-flex{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.library-single .publication-data-list .row{
    word-break: break-all;
}

.library-single .keywords{
    background-color: #9B9B9B;
    font-size: 14px;
    padding: 3px 8px;
    border-radius: 5px;
    margin: 5px 5px 0px 0px;
    width: auto;
    white-space: nowrap;
    width: auto;
}
.library-single .keywords a{
    color: #fff;
}

ul.years{
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
ul.years li{
    background-color: #f3f3f3;
    padding: 2px 8px;
    margin: 4px;
}
.publications-list{
    border: 1px solid #f1f1f1;
}
.publications-list a{
    color: #B00249;
}
@media screen and (min-width: 768px) {
    .publications-list a{
        color: #000;
    }
}
.publications-pagination{
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}
.publications-pagination li{
    padding: 2px 8px;
    margin: 4px;
}
.publications-pagination li.active{
    font-weight: bold;
}

.publications-pagination li a{
    color: #000;
}

.clear-filters{
    color: #B00249;
    margin-left: 1rem;
    font-weight: bold;
    text-transform: uppercase;
}
/* search-active si stampa quando viene effettuata una ricerca  */
.search-active.btn-all-filter{
    display: none;
}
.search-active.collapse.cont-all-filters{
    display: block;
}