


/* Résultats */
/* A la une et Pack de démarrage en bleu */
li.elementor-repeater-item-77ecd2c {
    margin-left: 0 !important;
}
li.elementor-repeater-item-77ecd2c span {
    color: #22aae8 !important;
    font-weight: bold;
}
li.elementor-repeater-item-77ecd2c .elementor-icon-list-icon {
    display:none;
}

/* SEARCH */

#search-resources {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

/* #search-resources .image-cover {
    margin-bottom: -1000px;
    overflow-y: hidden;
} */


#search-phototheque {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

#ressources-results-vue.loading, #phototheque-results-vue.loading {
    opacity: 0.5;
    background: #eee;
}

#ressources-mobile-filters-toggle {
    position: relative;
    z-index: 1;
}
#ressources-mobile-filters-toggle button {
    margin-bottom: 1rem;
}
#ressources-mobile-filters-toggle #ressources-mobile-filters-modal {
    background-color: white;
    padding: 1em;
}

.ressources-filters-search {
    border-bottom: 1px solid #22aae8;
}

.ressources-filters-search input {
    border: none;
    color: #22aae8;
    background: transparent;
    width: calc( 100% - 53px);
}

.ressources-filters-search ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--e-global-color-7e90c2e );
    opacity: 1; /* Firefox */
}
.ressources-filters-search ::-ms-input-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--e-global-color-7e90c2e );
}

.ressources-filters-search button {
    border: none;
    color: #22aae8 !important;
    background:transparent !important;
    width: 10%;
    box-shadow: none !important;
}

#search-phototheque .file {
    width:100%;
}

#search-resources .file>div {
    margin: 5px;
}

@media (min-width: 768px) {
    #search-resources .file {
        width: 50%;
        display: flex;
    }

    #search-resources .file>div {
        margin: 15px;
    }

    #search-phototheque .file>div {
        margin: 15px;
    }

    #search-resources section.ressource {
        height: 100%;
    }
}

@media (min-width: 1024px) {
    #search-resources .file>div {
        margin: 25px;
    }

    #search-phototheque .file {
        width: 50%;
        display: flex;
    }

    #search-phototheque .file>div {
        margin: 25px;
    }


}

@media (min-width: 1200px) {
    #search-resources .file {
        width: 50%;
    }

    #search-phototheque .file {
        width: calc(33.33% - 17px);
    }
}

#ressources-filters-vue h2, #phototheque-filters-vue h2 {
    font-size: 1.1em;
    font-weight: bold;
    margin: 10px 0;
}

.pill {
    border: 2px solid #ccc;
    border-radius: 40px;
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 0 7px;
    font-size: 0.85em;
    text-decoration: none !important;
    cursor: pointer;
}

.pill.violet {
    /* border-color: #3E2A61; */

    color: #3E2A61;
}

.pill.violet.active {
    background-color: #3E2A61;
    color: #fff;
}

.pill:hover {
    opacity: 0.7 !important;
}

.subcats-list,
.subcat {
    display: none;
}

.subcats-list.active,
.subcat.active {
    display: block;
}

label.date {
    display: flex;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    /*margin-bottom: 0.375em;*/
    /* Accessible outline */
    /* Remove comment to use */
    /*
    &:focus-within {
            outline: .125em solid $primary-color;
    }
*/
}

label.date input {
    position: absolute;
    left: -9999px;
}


label.date input:checked+span {
    background-color: #d6d6e5;
}

label.date input:checked+span:before {
    box-shadow: inset 0 0 0 0.4375em #00005c;
}

label.date span {
    display: flex;
    align-items: center;
    padding: 0.375em 0.75em 0.375em 0.375em;
    border-radius: 99em;
    transition: 0.25s ease;
}

label.date span:hover {
    background-color: #d6d6e5;
}

label.date span:before {
    display: flex;
    flex-shrink: 0;
    content: "";
    background-color: #fff;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    margin-right: 0.375em;
    transition: 0.25s ease;
    box-shadow: inset 0 0 0 0.125em #00005c;
}

#ressources-filters-vue h2, #phototheque-filters-vue h2 {
    cursor: pointer;
    position: relative;
}

#ressources-filters-vue .arrow, #phototheque-filters-vue .arrow {
    font-size: 1.8em;
    position: absolute;
    float: right;
    top: -0.5em;
    margin-left: 4px;
    color: #22aae8;
    transition: 0.25s ease transform;
}

#ressources-filters-vue .arrow.active, #phototheque-filters-vue .arrow.active  {
    transform: scaleY(-1) translate(0px, -0.6em);
}

.enter-active,
.leave-active {
  overflow: hidden;
  transition: height .5s linear;
}

/** Pagination */
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.pagination > li {
    display: inline;
}

.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #444;
    text-decoration: none !important;

    /*background-color: #fff;
    border: 1px solid #ddd;*/
}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
    border-radius: 18px;
    font-weight: bold;
}


.pagination-wrapper {
    text-align:center;
}

.ressource .elementor-container,
.ecs-posts>article.type-ressource,
.ecs-posts>article.type-ressource>div.type-ressource,
.ressource-image,
.ressource-image .elementor-widget-wrap,
.ressource-image .elementor-widget-image,
.ressource-image .elementor-widget-container
{
    height: 100%;
}

.full-height,
.full-height .elementor-widget-container,
.full-height .elementor-widget-container .elementor-shortcode,
.ressource-image-vue{
    height: 100%;
}

.image-cover {
    height: 100% !important;
    object-fit: cover;
}

.image-contain {
    padding: 10px;
    height: 100% !important;
    object-fit: contain;
    object-position: center;
}

#search-phototheque .ressource-image img {
    width: 100%;
    padding: 0;
    height: 180px !important;
    object-fit: cover;
}

#search-phototheque .ressource-image .elementor-widget-shortcode {
    margin-bottom:0 !important;
}

#search-resources .ressource-image img {
    /* height: 100% !important; */
    width: 100%;
    /* object-fit: cover; */
    border-radius: 15px 0 0 15px !important;
}

.elementor-section.ressource .elementor-widget-wrap {
    border-radius: 15px 0 0 15px !important;
}
.elementor-section.ressource .ressource-contenu {
    padding: 5px !important;
}



.ressource-button {
    display: inline-block;
    margin: 0;
    text-decoration: none !important;
    /* font-weight: bold; */
    font-size:0.8em;
    color: #22aae8;
    background-color: white;
    padding: 5px 3px;
    border-radius: 12px;
    /* box-shadow: 3px 3px 5px rgba( 0, 0, 0, 0.1 ) !important; */
    cursor: pointer;
}

.ressource-button:hover {
    background: #fafafa;
}

/* .btn-primary {
    background-color: #22aae8;
} */


/* Datepicker */
.vdp-datepicker__calendar {
    width: 100% !important;

}

.vdp-datepicker__calendar div {
    margin-left: 0;
}

/* MODAL */
.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-wrapper.active {
    display: flex;
}

.modal {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    position: relative;
}

.modal.maximize {
    width: calc(100% - 40px);
    height: calc(100% - 40px);
}

.admin-bar .modal.maximize {
    top: 32px;
    height: calc(100% - 72px);
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    cursor: pointer;
}

.modal .close:hover {
    color: #22aae8;
}

.modal .modal-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.video-js {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal .modal-body {
    margin-bottom: 20px;
    height: calc(100% - 40px);
}

.swiper-wrapper {
margin-left: 0 !important;
}