/**/
#colorbox,
#cboxOverlay,
#cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    -webkit-transform: translate3d(0, 0, 0); }

#cboxWrapper {
    max-width: none; }

#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%; }

#cboxMiddleLeft,
#cboxBottomLeft {
    clear: left; }

#cboxContent {
    position: relative; }

#cboxLoadedContent {
    overflow: auto;
    -webkit-overflow-scrolling: touch; }

#cboxTitle {
    margin: 0; }

#cboxLoadingOverlay,
#cboxLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; }

#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
    cursor: pointer; }

.cboxPhoto {
    margin-top: 0 !important;
    float: right;
    margin: auto;
    border: 0;
    display: block;
    max-width: none;
    -ms-interpolation-mode: bicubic; }
.cboxIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    padding: 0;
    margin: 0; }

#colorbox,
#cboxContent,
#cboxLoadedContent {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; }

/*
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay {
    background-color: black; }

#colorbox {
    outline: 0;
    left: 0 !important;
    right: 0 !important;
    margin: auto; }

#cboxContent {
    background: var(--primary);; }

.cboxIframe {
    background: #fff; }

#cboxError {
    padding: 50px;
    border: 1px solid #ccc; }

#cboxLoadedContent {
    margin-bottom: 100px;
    overflow: hidden !important; }

#cboxTitle {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    color: #fff;
    height: 100px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 40px; }

#cboxCurrent {
    display: none !important;
    position: absolute;
    bottom: 4px;
    left: 58px;
    color: #949494; }

#cboxLoadingOverlay {
    background: url(http://www.jacklmoore.com/colorbox/example1/images/loading_background.png) no-repeat center center; }

#cboxLoadingGraphic {
    background: url(http://www.jacklmoore.com/colorbox/example1/images/loading.gif) no-repeat center center; }

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious,
#cboxNext,
#cboxSlideshow,
#cboxClose {
    border: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    width: auto;
    background: none; }

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active,
#cboxNext:active,
#cboxSlideshow:active,
#cboxClose:active {
    outline: 0; }

#cboxSlideshow {
    position: absolute;
    bottom: 4px;
    right: 30px;
    color: #0092ef; }

#cboxPrevious {
    position: absolute;
    background: #d41e82;
    color: #fff;
    width: 45px;
    height: 45px;
    /*position---------------*/
    /*top: 50%;*/
    /*left: -20px;*/
    bottom:120px;
    left:40%;
    margin-top: -30px; }

#cboxNext {
    position: absolute;
    background: #d41e82;
    color: #fff;
    width: 45px;
    height: 45px;
    /*position---------------*/
    /*top: 50%;*/
    /*right: -20px;*/
    bottom:120px;
    right:40%;
    margin-top: -30px; }

#cboxClose {
    position: absolute;
    top: -65px;
    color: var(--primary);;
    right: 40px;
    font-size: 35px;
}
.enveloppephotovideo {
    padding-bottom: 60px; }
.enveloppephotovideo .rowphotovideo [class*="col-"] {
    margin-bottom: 30px; }
.enveloppephotovideo .rowphotovideo .grid {
    padding: 13px 13px;
    background: #e8e8e8;
    height: 100%; }
.enveloppephotovideo .rowphotovideo .grid a {
    max-height: 220px; }
.enveloppephotovideo .rowphotovideo .grid:hover > a {
    position: relative;
    overflow: hidden; }
.enveloppephotovideo .rowphotovideo .grid:hover > a:after {
    background-color: rgba(5, 110, 82, 0.4);
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0; }
.enveloppephotovideo .rowphotovideo .grid .date {
    margin: 8px 0 5px; }
.enveloppephotovideo .rowphotovideo .grid .info a {
    color: #2e2e2f;
    text-align: justify;
    text-decoration: none; }
.enveloppephotovideo .rowphotovideo img {
    width: 100%; }
.enveloppephotovideo .rowphotovideo a {
    display: block; }
.enveloppephotovideo .rowphotovideo a:hover {
    position: relative; }
.enveloppephotovideo .rowphotovideo .video > a {
    position: relative;
    overflow: hidden; }
.enveloppephotovideo .rowphotovideo .video > a:before {
    content: "";
    background: url("../img/playvideo.png") no-repeat 0 0;
    width: 48px;
    height: 48px;
    background-size: contain;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90; }


.section-mediatheque .media-listing .video > a:before {
    content: "";
    background: url(../img/playvideo.png) no-repeat 0 0;
    width: 48px;
    height: 48px;
    background-size: contain;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
}

/* modal-------------------------------------------------- */
#cboxContent .section-modal-social.modal-style {
    display: block;
}
.section-modal-social.modal-style {
    top: inherit;
    bottom: 25px;
    left: inherit;
    right: 40px;
    display: none;
}

.section-modal-social {
    position: absolute;
    top: 0;
    left: 20px;
}
.section-modal-social a {
    width: 48px;
    height: 48px;
    border: 1px solid #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: white;
    border-radius: 10px;
    margin: 0px 5px;
    text-decoration: none;
    color: var(--primary); !important;
}
.section-modal-social a:hover {
    color: white !important;
    border: 1px solid white;
    background-color: #0092ef;
    -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 40px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 40px; }
.section-modal-social.modal-style {
    top: inherit;
    bottom: 25px;
    left: inherit;
    right: 40px;
    display: none;
}
.section-modal-social.modal-style .fa,
.section-modal-social.modal-style .fab,
.section-modal-social.modal-style .fal,
.section-modal-social.modal-style .far,
.section-modal-social.modal-style .fas {
    -webkit-transform: rotateY(0) !important;
    transform: rotateY(0) !important; }

.cboxPhoto {
    width: 100% !important;
    height:auto !important;
    /*height: 100% !important;*/
}

.fa-window-close{
    color:#d41e82 !important;
}


/*sharethis in modal -------------------------*/
#cboxContent .sharemodal.modal-style {
    display: block;
}
.sharemodal.modal-style {
    top: inherit;
    bottom: 25px;
    left: inherit;
    right: 40px;
    display: none;
}
.sharemodal {
    position: absolute;
    top: 0;
    left: 20px;
}

