/* ### ############### ### */
/* ### TITRE DES PAGES ### */
/* ### ############### ### */

h1.page-title {
    display: block;
    position: relative;
    color: var(--blue-color);
    max-width: 350px;
    margin: 20px auto;
    margin-top: 10px;
    padding-top: 10px;
    text-align: center;
    font-size: 36px;
    line-height: 1;
}
h1.page-title.no-head-img {
    margin-top: 50px;
}
h1.page-title:before,
h1.page-title:after {
    content: '';
    position: absolute;
    top: 0;
    width: 50vw;
    height: 45px;
    background: url('../assets/img/blue-stroke.png');
}
h1.page-title:before {
    right: calc(100% + 20px);
    background-position: right;
}
h1.page-title:after {
    left: calc(100% + 20px);
    background-position: left;
}

/* ### ####################### ### */
/* ### BLOC AVEC UN COIN JAUNE ### */
/* ### ####################### ### */

.block-corner,
.block-double-corner{
    position: relative;
}
.block-corner:before,
.block-corner:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--yellow-color);
}
.block-corner:before{
    height: 210px;
    width: 25px;
}
.block-corner:after {
    height: 25px;
    width: 210px;
}

.block-double-corner{
    padding: 10px;
}
.block-double-corner > *{
    position: relative;
    z-index: 2;
}
.block-double-corner:before,
.block-double-corner:after {
    content: '';
    position: absolute;
    background-color: var(--yellow-color);
}
.block-double-corner:before{
    top: 0;
    left: 0;
    height: 40px;
    width: 40px;
}
.block-double-corner:after {
    bottom: 0;
    right: 0;
    height: 40px;
    width: 40px;
}

/* ### ################ ### */
/* ### TITRE SECONDAIRE ### */
/* ### ################ ### */

h2:before{
    content: '';
    position: absolute;
    /* line height du text bizarre */
    top: -15px;
    right: calc(100% + 25px);
    width: 40px;
    height: 50px;
    background-image: url(../assets/icon/cross.svg);
    background-position: center;
    background-repeat: no-repeat;
}

/* ### ########################### ### */
/* ### INFORMATIONS DES POST TYPES ### */
/* ### ########################### ### */

.block-infos {
    position: relative;
    display: flex;
    flex-direction: column;
}
.block-infos:after {
    content: '';
    position: absolute;
    left: 60px;
    bottom: -20px;
    height: 10px;
    width: 40px;
    background: var(--blue-color);
}
.block-infos p {
    margin: 0;
}
.block-infos h2:before{
    top: -5px;
    right: calc(100% + 15px);
    width: 30px;
    height: 40px;
}
.block-infos .atelier-type {
    color: var(--green-color);
    font-weight: 900;
    margin-bottom: 10px;
}
.block-infos .child-group {
    padding: 10px 0;
    margin: 10px 0;
    border-top: 2px dashed var(--yellow-color);
    border-bottom: 2px dashed var(--yellow-color);
    font-weight: 900;
}
.block-infos .collaboration {
    font-weight: 900;
    margin-bottom: 10px;
}
.block-infos .place-date {
    font-weight: 900;
    margin-top: 10px;
}
.block-infos .place-date span{
    font-weight: 500;
}

body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-item.lg-complete .lg-object{
    max-width: 800px;
}

/* ### MODAL ### */
#wrapper .modal .modal-dialog{
    max-width: 900px;
}
#wrapper .modal .modal-dialog .modal-body{
    display: flex;
    padding-right: 15px;
}

#wrapper .bubble-info-post:before,
#wrapper .bubble-info-post:after {
    content: '';
    position: absolute;
    top: -7px;
    left: -7px;
    background-color: var(--blue-color);
}
#wrapper .bubble-info-post:before{
    height: 50px;
    width: 15px;
}
#wrapper .bubble-info-post:after {
    height: 15px;
    width: 50px;
}
#wrapper .bubble-info-post .left-col{
    width: 60%;
    padding-right: 5%;
}
#wrapper .bubble-info-post .right-col{
    width: calc(40% - 30px);
    padding: 0;
    padding-right: 0;
    margin: 0;
}
#wrapper .bubble-info-post .left-col:after{
    display: none;
}
#wrapper .bubble-info-post h2::before{
    display: none;
}
#wrapper .bubble-info-post .left-col .child-group{
    border-color: #fff;
}
#wrapper .bubble-info-post .right-col img{
    width: 100%;
}
#wrapper .bubble-info-post .right-col .close{
    position: absolute;
    top: -5px;
    right: -5px;
    opacity: .9;
    width: 20px;
    height: 35px;
    background: url(../assets/icon/white-cross.svg);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
#wrapper .modal-content {
    width: 100%;
    border-radius: 0;
    border: none;
    background-color: var(--yellow-color);
    padding: 15px;
}
#wrapper .modal-content .item-place-date {
    font-weight: 400;
}
#wrapper .modal-content .fichier-pdf {
    text-decoration: underline;
}
.modal-content {
    width: 100%;
    border-radius: 0;
    border: none;
    background-color: var(--yellow-color);
    padding: 15px;
}

/* .bubble-overflow{
    overflow: hidden;
} */
/* .bubble-overflow #wrapper{
    overflow: auto;
    overflow-y: scroll;
} */