/* #########################################################################################
*  # CUSTOM
*  ######################################################################################### */
.btx-back-to-top {
    height: 44px;
    width: 44px;
    line-height: 44px;
}

a.btx-s-text-color-2, a.btx-s-text-color-2:hover {
    color: #4e6381 !important;
}

.btx-media-wrapper {
    overflow:hidden;
    position: relative !important;
}

section:not(#work) .btx-media-wrapper a.btx-media-wrapper-inner img,
section:not(#work) .btx-entry-inner a .btx-media-wrapper-inner img  {
    -webkit-transform: scale(1) translateZ(0);
    -moz-transform: scale(1) translateZ(0);
    -ms-transform: scale(1) translateZ(0);
    -o-transform: scale(1) translateZ(0);
    transform: scale(1) translateZ(0);
    -webkit-transition-property: -webkit-transform,-webkit-transform;
    -moz-transition-property: -moz-transform,-webkit-transform;
    transition-property: transform,-webkit-transform;
    -webkit-transition-duration: .5s;
    -moz-transition-duration: .5s;
    transition-duration: .5s;
    -webkit-transition-timing-function: ease;
    -moz-transition-timing-function: ease;
    transition-timing-function: ease;
}

section:not(#work) .btx-media-wrapper a.btx-media-wrapper-inner img:hover,
section:not(#work) .btx-entry-inner a .btx-media-wrapper-inner img:hover {
    -webkit-transform: scale(1.1) translateZ(0);
    -moz-transform: scale(1.1) translateZ(0);
    -ms-transform: scale(1.1) translateZ(0);
    -o-transform: scale(1.1) translateZ(0);
    transform: scale(1.1) translateZ(0);
}

section#work .btx-overlay,
section#work .btx-entry-preview {
    display: none;
}

section#work .btx-portfolio-content[data-post-per-page="4"] article { width: calc(25% - .01px);  }
section#work .btx-portfolio-content[data-post-per-page="5"] article { width: calc(20% - .01px);  }
section#work .btx-portfolio-content[data-post-per-page="6"] article { width: calc(33.3333% - .01px);  }
section#work .btx-portfolio-content[data-post-per-page="7"] article { width: calc(25% - .01px);  }
section#work .btx-portfolio-content[data-post-per-page="8"] article { width: calc(25% - .01px);  }

@media only screen and (max-width: 960px) {
    section#work .btx-portfolio-content article {
        width: calc(50% - .01px) !important;
    }
}

@media only screen and (max-width: 767px) {
    section#work .btx-portfolio-content article {
        width: calc(100%) !important;
    }
}

.dpa_caption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 10px 15px;
    font-size: 12px;
    background: rgba(34,34,34,0.7) !important;
    pointer-events: none;
    display: none;
    color: #FFF;
}

.btx-image .dpa_caption,
.btx-gallery .dpa_caption {
    text-align: left;
    display: block;
}

.btx-image .dpa_caption-mobile,
.btx-gallery .dpa_caption-mobile {
    display: none;
}

.btx-gallery .btx-gallery-caption {
    display: none;
}

.h5p-content {
    width: 100%;
}

.h5p-joubelui-progressbar-background {
    background-color: #94c473 !important;
}

ul.h5p-sc-alternatives li.h5p-sc-alternative {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

ul.h5p-sc-alternatives li.h5p-sc-alternative:hover, ul.h5p-sc-alternatives li.h5p-sc-alternative:focus {
    background: rgba(148, 196, 115, 0.3) !important;
}

.footer-agencies div
{
    width: 50%;
    float: left;
    text-align: center;
}

.footer-agencies div img
{
    height: 50px;
    display: inline-block;
}

.btx-post-tag
{
    margin-top: 0;
}

/* #########################################################################################
*  # CUSTOM - SLICK
*  ######################################################################################### */
.btx-post-content .btx-gallery .btx-carousel-arrow
{
    width: 40px;
    height: 40px;
    margin-top: -20px;
    color: #FFF;
    background-color: #222222 !important;
    background-color: rgba(34,34,34,0.7) !important;
}

.btx-post-content .btx-gallery .btx-carousel-arrow i.fa
{
    font-size: 14px !important;
}

/*
.page .btx-page-title-wrapper .btx-page-title-content {
    padding-bottom: 0 !important;
}
*/

/* #########################################################################################
*  # CUSTOM - MENU
*  ######################################################################################### */
.menu-item-2689,
.menu-item-2988,
.menu-item-2994,
.menu-item-3000,
.menu-item-3006 {
    display: none !important;
}

.logged-in .menu-item-2689,
.logged-in .menu-item-2988,
.logged-in .menu-item-2994,
.logged-in .menu-item-3000,
.logged-in .menu-item-3006 {
    display: block !important;
}

.cn-bottom
{
    background-color: rgba(0,0,0,0.75) !important;
}

.btx-feature--top .btx-feature-media
{
    margin-bottom: 10px;
}

.btx-section-wrapper,
.btx-sidebar, .btx-main.btx-blog, .btx-main.btx-archive, .btx-main.btx-shop
{
    padding-top: 40px;
}

ul.h5p-actions .h5p-button
{
    vertical-align: middle  !important;
    line-height: 1  !important;
    width: auto  !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition-property: all;
    -moz-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: .3s;
    -moz-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-timing-function: ease;
    -moz-transition-timing-function: ease;
    transition-timing-function: ease;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    font-family: 'Roboto',sans-serif !important;
    font-style: normal !important;
}

a.btnx,
ul.h5p-actions .h5p-button
{
    color: #fff !important;
    fill: #FFF !important;
    background-color: #94c473 !important;

    border-radius: 40px !important;
    border: 1px solid #94c473 !important;

    padding: 16px 32px !important;
    font-size: 13px !important;
    height: auto !important;
    font-weight: 600 !important;
    letter-spacing: .1em !important;
}

a.btnx:hover,
ul.h5p-actions .h5p-button:hover
{
    color: #222222 !important;
    fill: #222222 !important;
    background-color: rgba(255,255,255, 0.8) !important;
}

/* #########################################################################################
*  # CUSTOM - H5P
*  ######################################################################################### */
.h5p-content
{
    display: inline-block;
    margin-bottom: 15px;
    background: transparent !important;
    border: 0 none !important;
}

.h5p-container
{
    background: #fefefe;
    border: 1px solid #EEE;
}

.h5p-link
{
    display: none;
}

.h5p-embed-dialog .h5p-inner
{
    width: 80% !important;
    margin-left: -40% !important;
}

.h5p-embed-size
{
    display: inline-block !important;
}

.h5p-embed-code-container
{
    margin-bottom: 10px !important;
}

ul.h5p-actions
{
    display: none !important;
}

ul.h5p-actions .h5p-button:before
{
    display: none !important;
}

/*
ul.h5p-actions .h5p-button
{
    position: relative !important;
    color: #fff !important;
    background-color: #94c473 !important;

    border-radius: 40px !important;
    border: 1px solid #94c473 !important;

    padding: 8px 16px 8px 34px !important;
    font-size: 13px !important;
    height: auto !important;
    font-weight: 600 !important;
    letter-spacing: .1em !important;
    vertical-align: middle  !important;
    line-height: 1  !important;
    width: auto !important;
}

ul.h5p-actions .h5p-button:hover
{
    color: #222222 !important;
    background-color: rgba(255,255,255, 0.8) !important;
}
*/


/* #########################################################################################
*  # CUSTOM - EMBED
*  ######################################################################################### */
.btx-media-actions
{
    margin-top: 10px;
    text-align: left;
    display: none;
}

.btx-media-iframe .btx-media-actions
{
    margin-top: 0;
}

.single-post .btx-media-actions
{
    display : block;
}

.btx-media-actions a.btnx,
ul.h5p-actions .h5p-button
{
    padding: 10px 16px !important;
    font-size: 12px !important;
}

.tableauPlaceholder iframe {
    border: 1px solid #dfdfdf !important;
}

.btx-item
{
    position: relative;
}

.btx-item-embed
{
    position: absolute;
    top:0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2;
    color: #333;
}

.btx-item-embed-inner
{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background: #fff;
    width: 80%;
}

.btx-item-embed-title
{
    position: relative;
    padding: 5px 10px;
    font-weight: bold;
    background: #eee;
    border-bottom: 1px solid #999;
}

.btx-item-embed-close
{
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 36px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    background: url(../bateaux/dist/images/close.svg) no-repeat center center !important;
    background-size: 16px auto !important;
}

.btx-item-embed-close:hover
{
    background: url(../bateaux/dist/images/close.svg) no-repeat center center #ddd !important;
    background-size: 16px auto !important;
}

.btx-item-embed-content
{
    padding: 15px;
}

.btx-item-embed-content textarea
{
    background: #fff;
    height: auto;
}

a.btnx-clipboard
{
    margin-top: 5px;
    padding: 10px 16px !important;
    font-size: 12px !important;
}

.mfp-wrap:not(.mfp-gallery) .mfp-title
{
    padding-right: 0;
}

.btx-post .btx-background a.btnx-download
{
    position: absolute;
    right: 15px;
    bottom: 15px;
    padding: 10px 12px !important;
}

/* #########################################################################################
*  # CUSTOM - MEDIA
*  ######################################################################################### */
@media only screen and (min-width: 961px) {
    .btx-menu > .wpml-ls-item {
        position: absolute !important;
        right: 0;
    }

    .btx-menu > .wpml-ls-item > a span {
        display: none;
    }

    .btx-menu > .wpml-ls-item .sub-menu {
        min-width: 110px;
    }

    .btx-menu > .wpml-ls-item .sub-menu a {
        padding: 7px 15px;
    }

    .wpml-ls-item .sf-with-ul > img {
        width: 22px !important;
        height: 16px !important;
    }

    .wpml-ls-item .sub-menu a {
        line-height: 15px;
    }

    .wpml-ls-item .sub-menu a img {
        border: 1px solid #fefefe;
        margin-right: 3px;
        display: inline-block;
        width: 18px !important;
        height: 13px !important;
    }
}

/* #########################################################################################
*  # MEDIA TYPES
*  ######################################################################################### */
.btx-media-wrapper-mediaType
{
    position        : absolute;
    top             : 10px;
    right           : 10px;
    width           : 32px;
    height          : 32px;
    pointer-events  : none;
}

.btx-background .btx-media-wrapper-mediaType
{
    top             : 15px;
    right           : 15px;
    width           : 44px;
    height          : 44px;
}

.btx-media-wrapper-mediaType[data-index="2"] { top: 47px; }
.btx-media-wrapper-mediaType[data-index="3"] { top: 84px; }
.btx-media-wrapper-mediaType[data-index="4"] { top: 121px; }
.btx-media-wrapper-mediaType[data-index="5"] { top: 158px; }

.btx-background .btx-media-wrapper-mediaType[data-index="2"] { top: 64px; }
.btx-background .btx-media-wrapper-mediaType[data-index="3"] { top: 113px; }
.btx-background .btx-media-wrapper-mediaType[data-index="4"] { top: 162px; }
.btx-background .btx-media-wrapper-mediaType[data-index="5"] { top: 211px; }

.btx-media-wrapper-mediaType[data-media="video"]
{
    background      : url(../bateaux/dist/images/mediatype/video.svg) no-repeat center center;
}

.btx-media-wrapper-mediaType[data-media="video-3d"]
{
    background      : url(../bateaux/dist/images/mediatype/video-3d.svg) no-repeat center center;
}

.btx-media-wrapper-mediaType[data-media="photo"]
{
    background      : url(../bateaux/dist/images/mediatype/photo.svg) no-repeat center center;
}

.btx-media-wrapper-mediaType[data-media="data-dashboard"]
{
    background      : url(../bateaux/dist/images/mediatype/dashboard.svg) no-repeat center center;
}

.btx-media-wrapper-mediaType[data-media="infographic"]
{
    background      : url(../bateaux/dist/images/mediatype/infographic.svg) no-repeat center center;
}

.btx-media-wrapper-mediaType[data-media="webgraphic"]
{
    background      : url(../bateaux/dist/images/mediatype/webgraphic.svg) no-repeat center center;
}

.btx-media-wrapper-mediaType[data-media="your-opinion"]
{
    background      : url(../bateaux/dist/images/mediatype/poll.svg) no-repeat center center;
}

/* #########################################################################################
*  # SLIDER
*  ######################################################################################### */
.btx-slider-item
{
    max-height      : 480px;
}

/* #########################################################################################
*  # AMP
*  ######################################################################################### */
.amp
{
    display         : none;
}

/* #########################################################################################
*  # FOOTER
*  ######################################################################################### */
.btx-bottombar .btx-widgets,
.btx-bottombar .btx-widget-text
{
    width           : 100%;
    text-align      : right;
}

.btx-bottombar .btx-widgets
{
    background: url(../bateaux/dist/images/logo-eu.png) no-repeat left center;
}

@media only screen and (max-width: 479px) {
    .btx-bottombar .btx-widgets {
        background: url(../bateaux/dist/images/logo-eu.png) no-repeat center 10px;
    }

    .btx-bottombar .btx-widget-text {
        text-align      : center;
        margin-top      : 50px;
    }
}

/* #########################################################################################
*  # CLEARFIX
*  ######################################################################################### */
.clearfix:before,
.clearfix:after {
    content : " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* #########################################################################################
*  # MEDIA QUERIES
*  ######################################################################################### */
@media only screen and (max-width: 767px) {
    .single-post .btx-post-title,
    .btx-slider .btx-slider-title {
        font-size: 42px !important;
    }
}

@media only screen and (max-width: 639px) {
    .single-post .btx-post-title,
    .btx-slider .btx-slider-title {
        font-size: 38px !important;
    }
}

@media only screen and (max-width: 479px) {
    .single-post .btx-post-title,
    .btx-slider .btx-slider-title {
        font-size: 32px !important;
    }

    .btx-image .dpa_caption,
    .btx-gallery .dpa_caption {
        display: none;
    }

    .btx-image .dpa_caption-mobile,
    .btx-gallery .dpa_caption-mobile {
        display: block;
    }
}

@media only screen and (max-width: 479px) {
    .btx-slider .btx-button {
        display: none;
    }
}