/* GENERAL
*************************************************************************/
body {
    font-size: 18px;
    line-height: 1.2em;
}

/* TYPO
*************************************************************************/
body {
    font-family: 'Rubik', sans-serif;
}

h5 {
    font-weight: 700;
    margin-top: 1em;
}

#page-wrapper a:not(.bouton):not(.btn):not(.badge) {
    color: #462F92;
}

ul {
    /*list-style: inside;*/
}

a.email {
    text-decoration: none;
    color:  red;
}

.remarque {
    color:#F0A784
}

/* UI
*************************************************************************/
.bouton, .btn {
        background-color: #F0A784;
    color: white;
    padding: .2em 1em;
    border-radius: 100px;
    text-decoration: none;
    display: inline-block;
    font-size: 90%;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    border: 0;
    align-self: center;
    transition: .2s transform ease-in-out;
}

.bouton:hover {
    transform: scale(1.05);
}

.bouton.small {
    font-size: 70%;
}

.bouton.download {
    display: block;
    font-size: 120%;
    padding: .5em 1em;
    display: flex;
    justify-content: space-between;
}

.bouton.download i {
    margin-right: 10px;
}


#secondary-col .bouton {
    font-size: 100%;

}

.more-btns {
    display: flex;
    justify-content: flex-end;
}

/* STRUCTURE
*************************************************************************/
body {
    background: #462F92;
}

#wrapper {
    width: 96vw;
    margin: 2vw auto;
    border-radius: 10px;
    background: #F8F3FF;
}

#page-wrapper {
    padding: 6vh 10vw 8vh;
    min-height: 60vh;
}

#cols-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;

}

#main-col {
    font-size: 110%;
    line-height: 1.5em;
    flex: 0 0 70%;
    order: 0;
    padding: 2vh 0;

}

#main-col .visuel {
    margin-bottom: 1em;
}

#actualites  #main-col {
     padding:  0 0 2vh 0;
}



#main-col p, #main-col li {
    margin-bottom: .5em;
}

b {
    font-weight: bold;
}

#contact #main-col, #contact #secondary-col {
    flex: 0 0 45%
}

#main-col h3 {
    font-weight: 900;
    margin: 1em 0 .5em;
    font-size: 120%;
}

#main-col h5 {
    margin: 2em 0 .5em;
    color:  #462F92;
    font-size: 125%;
    font-weight: 500;
}

#main-col a {
    color: #593B8C
}

#secondary-col {

    flex: 0 0 25%;
    order: 1;
    padding: 2vh 0 0 2vw;
    font-size: 85%;
    color: #666
}

#secondary-col h5 {
    margin-top: 2em;
    margin-bottom: .4em;
}

h3.titre {
    font-size: 3vw;
    font-weight: 700;
    line-height: 1.1em;
    margin-bottom: .2em;
}

h4.soustitre {
    font-size: 2vw;
    font-weight: 500;
    margin: 1em 0 .2em;
    line-height: 1.3em;
    color:#462F92
}

.media {
    margin: 4vh auto;
}

.media img {
    width: 100%;
}

.legende {
    font-size: 75%;
    color: #777;
    font-style: italic;
    text-align: right;
    margin: 0 0 .2em 0;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    #page-wrapper {
        padding: 2vw 5vw;
    }

    #cols-wrapper {
        flex-direction: column;
    }

    #secondary-col {
        order: 2;
    }

    h3.titre {
        font-size: 6vw;
        margin-bottom: .5em;
    }

    h4.soustitre {
        font-size: 5vw;
        margin-bottom: .5em;
    }

    .media {
        margin: 0;
    }

    #main-col {
        font-size: 90%;
    }
}


#video {
    width: 100%;
    aspect-ratio: 16/9;
}

/* Blocs */
#bloc-wrapper {
    display: flex;
    justify-content: space-between;
}

.bloc {
    flex: 0 0 46%;
    background: white;
    border-radius: 10px;
    padding: 1em;
}

.bloc .bloc-label {
    color: #F0A784;
    font-size: 150%;
    margin-bottom: .5em;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {

    #bloc-wrapper {
        flex-direction: column;

    }

    .bloc {
        flex: 0 0 100%;
        margin-bottom: 2vh;
    }

    .bloc .bloc-label {
        font-size: 100%;
    }
}

/* Listes */
.list-item {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    color: black;
    margin-bottom: 2vh;
    border-radius: 10px;
    padding: .5em;
    transition: .5s background-color ease-in-out;
}

.list-item.vertical {
    flex-direction: column;
}

.list-item.vertical .visuel {
    order: 2;
    margin: 0;
}

.list-item.vertical .action {
    display: none;
}

.list-item:hover {
    background: white;
}

.list-item .visuel {
    flex: 0 0 25%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    background-position: center;


}

.list-item.personne .visuel {
    aspect-ratio: 1;
    flex: 0 0 10%;
    border-radius: 100px;
    border:8px solid  #82CEBF
}


.list-item.personne:hover {
    background: transparent;
}

.list-item .content {
    flex: 1 0 50%;
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list-item .action {
    flex: 0 0 36px;
    height: 36px;
    align-self: center;
}

.list-item:hover .action {

    background-position: center center;
    background: url(/img/btn-action.svg) no-repeat;
    background-size: contain;
}

.list-item h5 {
    font-size: 1.5vw;
    margin: 0;
    line-height: 1.2em;
    font-weight: 600;
}


#formations-continues .list-item {
    border-top: 1px dotted silver;
    border-radius: 0;
}

.list-item h6 {
    color: #888;
    font-size: 90%;
    margin-bottom: .5em;
}

#formations-continues .download {
    background: transparent;
    display: block;
    text-align: left;
    padding: 0;
}

#formations-continues .bouton:hover {
    transform: none;
}

.empty {
    height: 50vh;
    text-align: center;
    font-size: 150%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list-item  h6.publication {
    font-size: 70%;
    margin-top: 1em;
}

.list-item h5  {
    font-size: 140%;
    margin-bottom: 1em;
}

.list-item p {
  margin: .2em 0;
}

.personne.list-item {
    margin-bottom: 4vh;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {

    .list-item {
        flex-direction: column;
    }

    .list-item .visuel {
        order: 2;
        margin: 0;
        padding: 0;
    }

    .list-item.personne {
        flex-direction: row;
    }

    .list-item.personne .visuel {
        order:0;
        flex: 0 0 20%;
        aspect-ratio: 1;
        border-radius: 1000px;
        align-self: center;
    }

    .list-item h5 {
        font-size: 4vw;
    }

    .list-item .action {
        display: none;
    }

    #emplois  .list-item h5 {
        font-size: 8vw;
    }


    #emplois .list-item .action {
        display: flex;
    }
}

/* Pages */
#title-wrapper {
    display: flex;
    flex-direction: row;
}

#title {
    margin: 2vh 0 4vh;
    flex: 1 1 90%
}

#title-wrapper .arrow {
    flex: 0 0 80px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#title-wrapper .arrow.left {
    margin-left: -80px;
}

#title-wrapper .arrow.right {
    margin-right: -80px;
}

#title-wrapper .arrow i {
    font-size: 150%;
    color: #82CEBF
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    #title {
        flex: 0 0 100%;
        order: 2
    }

    #title-wrapper {
        flex-wrap: wrap;
    }

    #title-wrapper .arrow.left {
        order: 0;
        text-align: right;
    }

    #title-wrapper .arrow.right {
        order: 1;
    }

    #title-wrapper .arrow.left, #title-wrapper .arrow.right {
        margin: 0;
        flex: 0 0 50%;

    }

    #title-wrapper .arrow i {
        margin: 20px 10px;
    }
}


/* NAVIGATION
*************************************************************************/
#header {
    display: flex;
    position: relative;
    justify-content: space-between;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0 4px 12px 0px rgba(0, 0, 0, 0.15);
    background: white;
    z-index: 1;
}

#header .nav {
    display: flex;
    justify-content: center;
    flex: 0 0 35%
}

#header .nav a {
    align-self: center;
    font-size: 1.2vw;
    border-radius: 100px;
    padding: .5em .5em;
    margin: 0 .5em;
    color: #593B8C;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    transition: .2s ease-in-out border-color;
}

#header .nav a.selected {
    color: white;
    background: #593B8C;
    font-weight: 700;
}

#header .nav a:hover {
    border: 1px solid #593B8C;
}

#header .home {
    order: 1;
}

#header .nav.left {
    order: 1
}

#header .nav.right {
    order: 3
}

#header #logo {
    width: 20vw;
    height: 7vw;
    margin: 10px 0;
    background: url(../img/header-logo.svg);
    background-size: contain;
    background-repeat: no-repeat;
    order: 2
}

#header #logo h1, #header #logo h2 {
    display: none;
}

.nav-icon {
    align-self: center;
    padding: .5em 1em;
    width: 3em;
}

.nav-icon.left {
    order: 0;
}

.nav-icon.right {
    order: 100;
}

#btn-home {
    display: block;
    width: 1.5em;
    height: 1.5em;
    background: url(../img/btn-home.svg);
    background-size: 1.5em;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 100px;
    padding: .3em;
    cursor: pointer;
    border: 1px solid white
}

#btn-home:hover {
    border: 1px solid #593B8C
}

#btn-home.selected {
    background: url(../img/btn-home-white.svg) #593B8C;
    background-size: 1.5em;
    background-position: center center;
    background-repeat: no-repeat;
}


#search-wrapper {
    align-self: center;
    border: 1px solid transparent;
    padding: .5em 1em;
    position: absolute;
    right: 3vw;
    background: white;
    /*width: 3em;*/
    transition: .2s ease-in-out border-color;
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
}

#search-wrapper:hover {
    width: 15em;
    border: 1px solid #593B8C;
    box-shadow: 0 4px 12px 0px rgba(0, 0, 0, 0.15);
}

#btn-search {
    width: 2em;
    height: 2em;
    background: url(../img/btn-search.svg);
    background-size: cover;
    border: 0
}

#search {
    display: none;
    font-size: 1.2vw;
    border: 0;
}

#search:focus {
    outline: none;
}

#search-wrapper:hover #search {
    display: block;
    flex: 1 1 60%;
}


#btn-mobile-menu {
    display: none;
}


@media screen and (min-device-width: 320px) and (max-width: 768px) {

    #header #logo {
        height: 6vh;
        width: 12vh;
        margin: 10px;
    }

    #btn-mobile-menu {
        position: absolute;
        font-size: 4vw;
        margin: 0;
        width: 60px;
        height: 60px;
        top: 24px;
        right: 10px;
        z-index: 99900000;
        display: block;
        cursor: pointer;
        color: black;
        text-align: right;
        /*background-color: #B4252D;*/
    }

    .nav-on {
        overflow: hidden;
    }

    #btn-mobile-menu:before {
        font: normal normal normal 14px/1 FontAwesome;
        content: '\f0c9';
        margin-right: .5em;
        width: 1em;
        font-size: 30px;
        display: inline-block;
        color: #593B8C;
    }

    .nav-on #btn-mobile-menu:before {
        font: normal normal normal 14px/1 FontAwesome;

        content: '\f00d';
        margin-right: .5em;
        width: 1em;
        font-size: 30px;
        display: inline-block;
        color: white;

    }


    #header nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 10vh;
        margin: 0 0;

    }

    .nav-on #header nav {
        display: flex;
        z-index: 10000;
        background: #593B8C;
        top: 0;
    }

    .nav-on #btn-mobile-menu {
        color: white
    }

    #header nav a {
        color: white;
        text-decoration: none;
        text-align: center;
        padding: .5em 1em;
        width: 80vw;
        margin: 10px auto;
        border-radius: 100px;
    }

    #header nav a.selected {
        color: #593B8C;
        background: white;
        font-weight: 700;
    }

    #search-wrapper {
        position: relative;
        right: inherit;
        width: auto;


    }

    #search-wrapper #search {
        display: inline-block;
        flex: 1 1 100%;
        font-size: 100%;
    }

    #chercher #main-search-form input[type=search] {
        width: auto;
    }
}

/* SOUS-NAVIGATION
*************************************************************************/
#subnav {
    padding: .5em;
    box-shadow: 0 4px 12px 0px rgba(0, 0, 0, 0.15);
    background: #82CEBF;
    display: flex;
    justify-content: center;
}

#subnav a {
    color: white;
    text-decoration: none;
    margin: 0 1em;
    padding: .5em 1em;
    border-radius: 100px;
    border: 1px solid transparent;
    font-size: 1.1vw;
}

#subnav a:hover {
    border: 1px solid white;
    transition: .2s ease-in-out border-color;
}

#subnav a.selected {
    font-weight: 700;
    color: #593B8C;
    background: white;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {

    #subnav {

        justify-content: space-between;

        display: flex;
        flex-direction: row;
    }

    #subnav .gutter {
        overflow-x: scroll;
        overflow-style: marquee-block;
        -webkit-overflow-scrolling: touch;
        overflow-y: hidden;
        display: flex;
        flex-direction: row;
    }

    #subnav a {
        flex: 0 0 auto;
        /*height:  fit-content;*/
        margin: 0 1em 0 0;
        padding: 0 .5em;
        font-size: 18px;
    }

    #subnav .arrows {
        /*display: block;*/
        /*position: relative;*/
        /*margin-left: -1em;*/
        width: 1em;
        flex: 0 0 4%;
        margin: 2px 2px 0 2px;
    }

    #subnav .arrows.right {
        /*margin-left: 90vw;*/
    }

}

/* ACCUEIL
*************************************************************************/
#hero {
    display: flex;
    justify-content: space-between;
    margin: 4vh 4vh 8vh;
}

#hero .slogan {
    flex: 0 0 55%;
    font-size: 2.5vw;
    font-weight: 700;
    line-height: 1.1em;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

#hero .visuel img {
    width: 100%;
}

#actions-wrapper {
    display: flex;
    flex-direction: column;
    background: #B35693;
    font-size: 1.6vw;
    color: white;
    justify-content: center;
    padding: 1em;
    border-radius: 10px;
    box-shadow: 0 4px 12px 0px rgba(0, 0, 0, 0.15);
    align-content: center;
    margin-bottom: 5vh;
}

#badge-emploi {
    background: #B35693;
    position: absolute;
    top:25vh;
    right: 5vw;
    border-radius: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 5em;
    height: 5em;
    font-weight: 900;
    text-align: center;
    color:white;
    transform: rotateZ(20deg);
    text-decoration: none;
}

#badge-page {
    background:#B35693;
    position: absolute;
    top:25vh;
    left: 3vw;
    border-radius: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 5em;
    height: 5em;
    font-size: 2vw;
    padding: .2em;
    word-break: break-word;
    font-weight: 900;
    text-align: center;
    color:white;
    transform: rotateZ(-20deg);
    text-decoration: none;

}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(240, 167, 132, 0.78);
    }
    50% {
        box-shadow: 0 0 60px 0 rgba(240, 167, 132, 0.78);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(240, 167, 132, 0.78);
    }
}

.pulse{
    display: inline-block;
    animation: pulse 2s infinite;
}

#actions-wrapper>div {
   display: flex;
    justify-content: space-between;
    padding: .1em;

}

#actions-wrapper span {
    flex: 0 0 15%;
    text-align: right;

}

#actions-wrapper select {

    flex: 0 0 70%;
    font-size: 1.6vw;
    appearance: none;
    color: white;
    border: 0;
    margin: 0 .5em;
    box-shadow: 0 4px 12px 0px rgba(0, 0, 0, 0.15);
    background-color: #F0A784;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='48' viewBox='0 0 24 24' width='48' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 102%;
    background-position-y: -5px;
    background-size: 4vw 4vw;
    padding: 4px 40px 4px 20px;
    text-transform: lowercase;
    border-radius: 100px;

}

#actions-wrapper .sel_actions {
    display: none;
}

#actions-wrapper .sel_actions.show {
    display: block;
}

#actions-wrapper #btn-action {
    background-position: center center;
    background: url(/img/btn-action.svg) no-repeat;
    background-size: contain;
    width: 30px;
    height: 30px;
    border: 0;
    margin-right: 10px;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {

    #hero {
        margin: 4vw 4vh;
        flex-direction: column;
    }

    #hero .slogan {
        flex: 0 0 75%;
        font-size: 5vw;
        order: 2;
    }

    #hero .visuel {
        margin-bottom: 2vh;
    }

    #actions-wrapper {
        flex-wrap: wrap;
        font-size: 4vw;
        justify-content: flex-start;
    }

    #actions-wrapper span {
        flex:  0 0 100%;
        text-align: center;
        padding: .2em;
    }

    #actions-wrapper div {
        flex: 0 0 80%;
        display: flex;
    flex-wrap: wrap;
    }

    #actions-wrapper select {
        flex: 0 0 100%;
        font-size: 4vw;
        align-self: center;
        width: 100%;
    }

    #actions-wrapper #btn-action {
        width: 32px;
        height: 32px;
        margin: 20px auto 0 90%;
    }

    #badge-emploi, #badge-page {
        font-size: 80%;
    }

    #badge-page {
        top:30vh
    }
}

/* RESSOURCES
*************************************************************************/
#filter {
    display: flex;
    flex-direction: row;
    padding: .2em;
    /*
    position:       sticky;
    top:            10px;
     */
    /*background:    #B35693;*/
    background: #82CEBF;
    /*border-radius: 10px;*/
    transition: .4s all ease;
    box-shadow: 0 4px 12px 0px rgba(0, 0, 0, 0.15);
    margin-bottom: 1vh;
    flex-wrap: wrap;
}

#filter > div {
    margin: 5px 20px;
    width: 100%;
    padding-bottom: 5px;
    border-bottom: 1px dotted rgba(255, 255, 255, .5);
}

#filter > div:last-child {
    border-bottom: none;
}

#filter .toolbar {
    display: flex;
    width: 100%;
    justify-content: space-between;

}

.filter-label {
    font-weight: bold;
    font-size: 1vw;
    flex: 0 0 8em;
    align-self: center;
    width: auto;
}

.filter-items {
    display: flex;
    flex-wrap: wrap;
}


.filter-item .item-label {
    background: rgba(255, 255, 255, .5);
    border-radius: 100px;
    padding: .2em 1.5em .2em .5em;
    margin: 4px 2px;
    cursor: pointer;
    font-weight: 500;
    /*color:         white;*/
    color: black;
    transition: .2s all ease;
    font-size: .9vw;
    display: flex;
    text-decoration: none;
}

#filter .bouton.download {
    font-size: .9vw;
    font-weight: 500;
}

#filter .bouton.download i {
    margin: 4px;
}

.filter-item .item-label.centered {
    padding: .2em 1.5em;
}

.filter-item .checkmark {

    width: 1em;
    margin-right: 4px;
    font-size: 80%;
}

.filter-item .checkmark:after {
    font-family: "Font Awesome 5 Free";
    content: "\f111";
}

.filter-item.selected .checkmark:after {
    font-family: "Font Awesome 5 Free";
    content: "\f058";
}

.filter-item.selected .item-label {
    background: #F0A784;;
    /*animation:   bump .2s;*/
    /*font-weight: 900;*/
    color: white
}

@keyframes bump {
    0% {
        transform: scale(1)
    }
    50% {
        transform: scale(1.1)
    }
    100% {
        transform: scale(1)
    }
}


/* OUVERT */
#filter.opened {
    /*flex-direction: column;*/
    flex-direction: row;

}


#filter.opened .filter-label .closed {
    display: none;
    align-self: center;
}

#filter.opened .separator {
    display: none;
}

#filter.opened .filter-group {
    /*border:     1px solid silver;*/
    /*margin: 0.4em 0;*/
    display: flex;
}


/* FERME */
#filter.closed {
    display: none;
    top: 0;
    padding: .5em 0;
    flex-direction: row;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
    /*background:              transparent;*/
    -webkit-backdrop-filter: blur(100px);
}

#filter.closed .filter-label {
    display: inline-block;
    align-self: center;
    margin: 0 .5em;
}

#filter.closed .filter-label .opened {
    display: none;
}

#filter.closed .filter-group {
    display: flex;
    flex-direction: row;
    margin-top: 0;
}

#filter.closed .filter-item:not(.selected) {
    display: none;
}


#filter.closed .separator {
    display: block;
    align-self: center;
    margin: 0 .5em;
}

#filter.closed .search, #filter.closed .order {
    display: none;
}

#filter #filter-search-string {
    padding: .2em 1em;
    border-radius: 100px;
    font-size: 1em;
    border: 0
}

#filter #filter-order {
    padding: .2em 1em;
    border-radius: 100px;
    font-size: 1em;
    border: 0
}

#filter .init-mobile {
    display: none;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    .filter-item .item-label {
        font-size: 12px;
    }
.filter-group {
    flex-wrap: wrap;
}

    .filter-label {
        font-size: 14px;
        flex: 0 0 100%
    }

    #outils-list {
        padding: 4px;
    }

    #filter .toolbar {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .toolbar select {
        font-size: 12px;
    }

    #filter .toolbar > div {
        margin: 4px 0;
    }

    .filter-item .item-label {
        font-size: 70%;
    }

    #filter .bouton.download {
        font-size: 70%;
    }


    #filter .init-desktop {
       display: none;
    }

    #filter .init-mobile {
        display: none;
    }


}

#ressources-list {
    /*height: 200vh;*/
}

.infos {
    font-size: 80%;
    font-weight: 300;
    color: #888
}

.ressource-item.list, .recherche-item {
    display: flex;
    padding: 1em;
    background: white;
    margin: 4px 0;
    border-radius: 8px;
    text-decoration: none;
    color: black
}

.ressource-item.list .icone, .recherche-item .icone {
    flex: 0 0 5%
}


.ressource-item.list .texte, .recherche-item .texte {
    flex: 1 1 65%;
    color: #666;

}

.ressource-item.list .texte h5, .recherche-item .texte h5 {
    font-size: 115%;
    color: #333;

    margin: 0 0 .5em 0;
}

.ressource-item.list .action, .recherche-item .action {
    flex: 0 0 15%;
    display: flex;

    justify-content: flex-end;

}


.ressource-item.list .action .bouton, .recherche-item .action .bouton {
    width: auto;
    align-self: flex-end;
    flex: 0 0 100%
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {

    .ressource-item.list, .recherche-item {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 10px;
    }

    .ressource-item.list .action {
        display: flex;
        justify-content: flex-end;
        flex: 0 0 100%
    }

    .ressource-item.list .action, .recherche-item .action {
        flex: 0 0 100%
    }

    .ressource-item.list .action .bouton {
align-self: center;
        flex: 0 0 60%;
    display: flex;
        margin-top: 6px;
    }

    .ressource-item.list .action .bouton i {
        margin-right: 8px;
    }

    .ressource-item.list .texte {
        flex:0 0 85%
    }

    .ressource-item.list .icone {

        flex:0 0 10%
    }
}

/* MODAL */
#modal-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transition: .5s background-color ease-in-out;
}

#modal-wrapper h5 {

}

#modal-wrapper.show {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1000;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(70, 47, 146, 0.5)
}

#modal {
    background: white;
    width: 50vw;
    margin: 0 auto;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 10px 100px black;

}

#modal input[type=password] {
    font-size: 120%;
    margin: 1em 0;
    width: 100%;
}

#modal #button-bar {
    display: flex;
    justify-content: space-between;
}


#modal-error {
    color: red;
    display: none;
}

#modal-error.show {
    display: block;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    #modal {
        width: 75vw;
    }
}

/* RECHERCHE
*************************************************************************/
#main-search-form {
    display: flex;
    justify-content: center;
    margin: 2em auto;
}

#main-search-form input[type=search] {
    font-size: 1em;
    padding: .5em 1em;
    border-radius: 100px;
    border: 0;
    width: 20em;
}

#main-search-form input[type=submit] {
    width: 3.5em;
    height: 3.5em;
    margin: .2em 0 0 .2em;
    background-size: 3em;
    background-repeat: no-repeat;
    cursor: pointer;
}

.no-result {
    margin: 15vh auto;
    text-align: center;
}

.result {
    margin: 1em auto;
    text-align: center;
}

/* MEMBRES
*************************************************************************/
#membres-wrapper {
    column-count: 2;
}

.membre-wrapper {
    break-inside: avoid;
    border: 1px transparent solid;
}

.membre-wrapper p {
    margin-bottom: .4em;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    #membres-wrapper {
        column-count: 1;
    }

    #membres-wrapper h4  {
        font-size: 7vw;
        margin-bottom: 1em;
    }
}

/* FOrMATIONS
*************************************************************************/
#formations-types-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.formation-type-wrapper {
    display: flex;
    flex-direction: column;
    padding: 0 .5em;
}

.formation-type-titre {
    text-align: center;
    font-size: 80%;
}

.formation-types-formations {
    display: flex;
    justify-content: center;
    margin: 10px;
}

.formation-types-formations a {
    padding: 1em 2em;
    text-decoration: none;
}

#formations .visuel {
    aspect-ratio: 1;
    border-radius: 100%;
    background-color: white;
    overflow: hidden;
}

#formations.detail .visuel {
    margin: -5vh 0 0 0vw;
    width: 29vw;
    aspect-ratio: 1;

}

.formations.list-item:hover .visuel{
    background-color: #82CEBF;
}

.soutiens-item img {
    width: 10vw;
    margin-top: 20px;
}

.nouveau-label, .intervenant-label {
    margin-left: 10px;
    display: inline-block;
    font-size: 90%;
    color: white;
    background: #B35693;
    border-radius: 100px;
    padding: .2em .5em;
}

.intervenant-label {
  background:#82CEBF; ;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {

    #filter > div {
        margin: 0;
    }

    #formations-types-wrapper {
        flex-direction: column;
    }

    .formation-type-wrapper, .formation-types-formations {
        flex-wrap: wrap;
    }

    .formation-type-titre.empty {
        display: none;
    }

    .formation-type-titre {
        margin: 1em 0 0;
    }

    .soutiens-item img {
        width: 20vw;
        position: relative;
        top: -50%;
        float: right;
    }

    #formations.detail .visuel {
        margin-top: 5vh;
        width: 80vw;
    }
}

/* CONTACT
*************************************************************************/
#map {
    width: 100%;
    aspect-ratio: 1;

}

.gutter #map {
    z-index: 0;
}

/* PUBLICATIONS
*************************************************************************/
#publications-wrapper {
    display: flex;
}

#publications-wrapper > div {
    padding-right: 4em;
}

#publications-wrapper p {
    margin-bottom: .5em;
}

#publications-wrapper a {
    text-decoration: none;
}

#publications-wrapper h4  {
    margin-bottom: .5em;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {

    #publications-wrapper {
        flex-direction: column;
    }

    #publications-wrapper h4  {
        font-size: 7vw;
        margin-bottom: 1em;
    }
}

/* INSCRIPTIONS
*************************************************************************/
#esp-form label {
    display: block;
    font-weight: 900;
}

#esp-form label span {
    display: block;
    margin-top: 2em;
}

.back.head {
    display: none;
}

#esp-form .error {
    display: none;
}

#esp-form input {
    font-size: 100%;
    width: 80%;
}

#esp-form .button-bar {
    margin-top: 2em;
}

#esp-form .field.radio {
    display: flex;
    justify-content: flex-start;

}

#inscriptions #esp-form label {
    margin-bottom: .4em;
}

#esp-form .field.radio label {
    font-weight: 400;
}

#esp-form .field.radio label span {
    font-weight: 600;
    margin-bottom: .4em;
}

#inscriptions #esp-form input {

    padding: .5em;
    border: 1px solid silver;
    border-radius: 8px;
}

#inscriptions #esp-form a:not(.btn) {
    color: #462F92;
}

#inscriptions .three-quarters {
    flex: 0 1 68%
}

#inscriptions .button-bar {
    display: flex;
    justify-content: space-between;
}

#esp-form input[type=radio], #esp-form input[type=checkbox] {
    width: 1em;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    #inscriptions .three-quarters, #inscriptions .quarter {
        flex: 0 0 100%;
    }
}

/* PIED DE PAGE
*************************************************************************/
#footer {
    border-radius: 0px 0px 10px 10px;
    background: #A2A3A6;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 75%;
    color: white
}

#footer a {
    color: white;
}

#footer > div {
    flex: 1 1 auto;
    padding: 1.4em .2em 1em;
}

#footer #footer-logo {
    padding-top: 0;
    flex: 0 1 20%;
}

#footer-logo img {

    width: 12vw;
}

#footer i {
    font-size: 150%;
    margin: 0 2px;
}

#footer #credits {
    flex: 0 0 100%;
    font-size: 70%;
    text-align: right;
}

@media screen and (min-device-width: 320px) and (max-width: 768px) {
    #footer #footer-logo {
        padding-top: 0;
        flex: 0 0 40%;
    }

    #footer > div {
        flex:  0 0 100%
    }

    #footer-logo img {
        width: 40vw;
    }
}