img[src="undefined"] {
    visibility: hidden;
}
/*TYPOGRAPHY*/
@font-face {
    font-family: "fontAwesome";
    src: url("../fonts/fontawesome/fontawesome-webfont.eot") format("eot"),
    url("../fonts/fontawesome/fontawesome-webfont.woff2") format("woff2"),
    url("../fonts/fontawesome/fontawesome-webfont.woff") format("woff"),
    url("../fonts/fontawesome/fontawesome-webfont.otf") format("otf"),
    url("../fonts/fontawesome/fontawesome-webfont.svg") format("svg"),
    url("../fonts/fontawesome/fontawesome-webfont.ttf") format("ttf");
    font-display: swap;
}

html body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #2c2c2c;
}

body:not(.path-frontpage) h1.page-title{
    font-size: 40px;
    text-transform: uppercase;
}

body h3 {
    font-family: 'Roboto', Sans-Serif;
    font-size: 18px;
}

.static-page-main .block-system-main-block{
    /*margin-bottom: 92px;*/
}
.node--type-static-pages section:last-of-type {
    margin-bottom: 92px;
}
.node--type-static-pages section:first-of-type {
    margin-bottom: 0;
}
.mt-92 {
    margin-top: 92px;
}
.mb-92 {
    margin-bottom: 92px;
}
.pt-92 {
    padding-top: 92px;
}
.pb-92 {
    padding-bottom: 92px!important;
}

@media all and (max-width: 767px) {
    .mt-92 {
        margin-top: 60px;
    }
    .mb-92 {
        margin-bottom: 60px;
    }
    .pt-92 {
        padding-top: 60px;
    }
    .pb-92 {
        padding-bottom: 60px!important;
    }
}


.page-title-container,
.page-node-type-static-pages .page-title,
.js-quickedit-page-title.page-title {
    margin-top: 40px;
}



.title {
    margin-bottom: 40px;
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
}

.title.separate {
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 10px;
}
.content-title > p:not(.title) {
    font-size: 20px;
}
.page-separate-title > p {
    font-size: 20px;
}

.title.padding-top {
    padding-top: 92px;
}

.title >p {
    font-size: inherit;
    margin: 0;
}

.content-action-toolbar .btn{
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
}

.content p {
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="email"],
select {
    height: 38px;
    padding: 5px;
    margin-top: 0;
}
form label {
    margin-bottom: 0;
}

/*tables*/
table.table tbody tr:first-of-type{
    background-color: #10cfbd;
    color: #fff;
    font-family: 'Roboto', Sans-Serif;
}
table.table.auto-width {
    width: auto;
}
table.table tbody tr:nth-child(2n+3) {
    background-color: #e3e3e3;
}
table.table tbody tr:last-of-type td {
    border-bottom: 1px solid #dee2e6;
}
table.table tr.green-background {
    background-color: #10cfbd!important;
    color: #fff;
    font-family: 'Roboto', Sans-Serif;
}


/*header*/
.layout-container > header{
    width: 100%;
    z-index: 100;
    min-height: 76px;
    background-color: #2c2c2c;
    padding: 14px 0;
    -webkit-transition: top 0.5s ease;
    -moz-transition: top 0.5s ease;
    -ms-transition: top 0.5s ease;
    -o-transition: top 0.5s ease;
    transition: top 0.4s linear;
}
header .container {
    min-height: 48px;
}
section > header,
article header{
    background-color: transparent;
}

img, img:focus {
    border: 0!important;
    outline: 0;
}

.main-logo{
    height: auto;
}
.media-hmds-img{
    width: 200px;
    height: 170px;
}
/*brand*/
#block-hmds-branding img{
    /*width: 93px;*/
}

#block-hmds-branding {
    margin-top: 7px;
}

/*element background*/
.transparent-background {
    background-color: rgba(0,0,0,0.4);
    position: relative;
}


body header.fixed-position {
    position: fixed;
    top: 0;
    left: 0;
}

@media all and (max-width: 767px) {
    body header.fixed-position {
        position: inherit;
    }
}

body header.scroll-down {
    top: -80px
}

body.toolbar-fixed .layout-container > header {
    top: 80px;
}
body.toolbar-fixed header.scroll-down {
    top: 0;
}



@media all and (max-width: 991px) {
    #block-hmds-main-menu .menu li,
    #block-livenavigation .menu li{
        width: 100%;
    }
    .navbar-header {
        display: inline-block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    .navbar-header .navbar-toggle i {
        font-size: 30px;
        color: #fff;
    }
    .navbar-header .navbar-toggle:not(.collapsed)  i:before{
        content: "\f00d";
    }

}

/*language switcher*/
.language-switcher{
    color: #fff;
}
.language-switcher .language-value{
    width: 25px;
    height: 25px;
    display: inline-block;
    position: relative;
    top: 5px;
}
.language-value.en {
    background-image: url("../images/elements/en.png");
    width: 25px;
    height: 25px;
    display: inline-block;
    position: relative;
    top: 5px;
}
.language-value.fr {
    background-image: url("../images/elements/fr.png");
}
.language-value.es {
    background-image: url("../images/elements/es.png");
}
.dropdown-language{
    display: none;
    padding: 0;
    text-align: center;

}
.dropdown{
    font-weight: 600;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
}
.dropdown-language.show{
    display: block;
    left: -6px;
    max-width: 100%;
    min-width: inherit;
    background-color: #2c2c2c;
    border: 0;
    border-radius: 0;
    font-weight: 600;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
}
.dropdown-language a{
    color: #f2f2f2!important;
    text-decoration: none;
    padding: 8px;
    font-size: 16px;
    text-decoration: none!important;
}
.language-switcher-language-url{
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: .5rem 1rem;
    text-transform: uppercase;
    /*transition: all 0.3s ease;*/
}






/*video background*/
.home-video-background img{
    max-width: 100%;
    height: auto;
}

/*footer*/
.region.region-footer{
    background-color: #2c2c2c;
    color: #f0f0f0;
    padding: 32px 0;
    font-size: 14px;
}

footer a,
footer a.is-active{
    color: #f0f0f0!important;
    text-decoration: none;
}
footer .message a {
    text-decoration: underline;
    display: inline-block;
}
footer a:hover,
footer a:active,
footer a:focus{
    color: #f0f0f0;
}

.region.region-footer .footer-block-item .title {
    font-size: 20px;
    line-height: 36px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 18px;
    font-weight: normal;
}
.region.region-footer .footer-block-item .social-links {
    list-style-type: none;
    padding-left: 0;
}
.region.region-footer .footer-block-item .social-links a {
    position: relative;
    padding-left: 35px;
    display: inline-block;
}
.region.region-footer .footer-block-item .social-links .social-item{
    margin-bottom: 15px;
}
.region.region-footer .footer-block-item .social-links .social-item a::before{
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.region.region-footer .footer-block-item .social-links .social-item.facebook a::before{
    background: url('../images/elements/socialIcons.png') -17px -6px;
}
.region.region-footer .footer-block-item .social-links .social-item.instagram a::before{
    background: url('../images/elements/socialIcons.png') -17px 160px;
}
.region.region-footer .footer-block-item .social-links .social-item.twitter a::before{
    background: url('../images/elements/socialIcons.png') -76px 216px;
}
.region.region-footer .footer-block-item .social-links .social-item.youtube a::before{
    background: url('../images/elements/socialIcons.png') -76px 160px;
}

.region.region-footer .footer-block-item .social-links .social-item.customer-service a::before{
    background: url('../images/elements/socialIcons.png') -17px 103px;
}
.region.region-footer .footer-block-item .social-links .social-item.email-contact a::before{
    background: url('../images/elements/socialIcons.png') -17px 47px;
}
#block-aboutus a {
    text-decoration: underline;
    display: inline-block;
}

.region.region-footer .footer-block-item .footer-brand{
    display: inline-block;
    /*max-width: 45%;*/
    /*margin-right: 10%;*/
}
.region.region-footer .footer-block-item .footer-play{
    display: inline-block;
    margin-top: 30px;
}
.region.region-footer .footer-block-item .footer-play a {
    display: inline-block;
    width: 100%;
}
.region.region-footer .footer-block-item .footer-play a img {
    width: 100%;
    max-width: 200px;
}
.region.region-footer .footer-block-item .footer-brand img,
.region.region-footer .footer-block-item .footer-play img{
    max-width: 100%;
    height: auto;
}



/*footer navigation*/
footer .region-footer-nav {
    background-color: #222;
    font-size: 16px;
}
footer nav {
    padding: 20px 0;
    width: 100%;
    text-align: center;
    font-size: 14px;
}
footer nav .menu{
    margin: 0 auto;
    display: inline-block;
    text-align: center;
}

footer nav .menu .menu-item{
    display: inline-block;
    padding: 0 30px;
}
footer nav .menu .menu-item a{
    text-decoration: underline;
}

footer .region-footer-copyright {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 10px 0 20px 0;
    font-size: 12px;
}

footer .region-footer-copyright p {
    margin: 0;
}

@media all and (max-width: 991px) {
    footer nav .menu{
        width: 100%;
        padding: 0;
    }
    footer nav .menu .menu-item:first-of-type {
        margin-top: 20px;
    }
    footer nav .menu .menu-item {
        width: 100%;
        margin-bottom: 20px;
        font-size: 1.1em;
    }
}

@media all and (min-width: 768px){
    .region.region-footer .footer-block-item .footer-brand,
    .region.region-footer .footer-block-item .footer-play{
        position: relative;
        bottom: 6%;
    }
    .region.region-footer .footer-block-item .footer-play{
        margin-top: 0;
    }
}

@media all and (max-width: 767px){
    .region.region-footer{
        font-size: 1.1em;
    }
    .region.region-footer .footer-block-item {
        margin-bottom: 32px;
    }
    .region.region-footer #block-aboutus .footer-block-item{
        margin-bottom: 0;
    }
}

/*links*/
.paragraph-single-column a {
    color: #10cfbd;
    font-family: 'Roboto',sans-serif;
    padding: 0;
}

/*container*/
/*content block*/
.full-width-background {
    margin-top: 92px;
    padding: 25px 0 35px 0;
    background-color: #f2f2f2;
}
/*.paragraph .container,*/
.page-separate-title{
    padding-top: 92px;
}
.paragraph .container .content a {
    color: #10cfbd;
    font-family: 'Roboto', sans-serif;
    padding: 0;
}
.paragraph .container .content a .fa-youtube-play{
    font-size: 22px;
}
.paragraph .container .content a:focus{
    box-shadow: none!important;
}
.container.page-separate-title{
    text-align: center;
    padding-bottom: 0;
}
/*.section-container.present-marathons {*/
/*    padding-top: 92px;*/
/*}*/
.owl-carousel .owl-item img{
    height: auto;
}
.media-carousel {
    padding-bottom: 92px;
    font-size: 0;
    color: #fff;
}
.two-slides .media-carousel {
    padding-bottom: 20px;
    font-size: 0;
    color: #fff;
}
.media-carousel .owl-item {
    min-height: 40px!important;
}
div[id*='block-partners'] .field--name-field-partner-ct .media-carousel .owl-item .field__item{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.media-carousel .owl-item > .field__item{
    max-width: 200px;
    margin: 0 auto;
}
.two-slides .media-carousel .owl-item > .field__item{
    max-width: 350px;
    margin: 0 auto;
}
.section-container img {
    max-width: 100%;
}

#program .section-container img {
    height: auto;
    max-height: 500px;
}

@media all and (max-width: 767px) {
    .content p {
        font-size: 1.1em;
    }
    .paragraph .container .content a {
        font-size: 1.1em;
    }
    .owl-carousel.owl-theme .owl-dots .owl-dot {
        display: none;
    }
    .media-carousel .owl-item a{
        display: inline-block;
        padding: 0 20px;
    }
}


/*header container*/
.path-frontpage .header-content.media-container:not(.slider){
    position: relative;
    height: 0;
    padding-bottom: 56.2%;
}
.header-content.media-container:not(.slider){
    position: relative;
    height: 450px;
}

.header-content.media-container .page-header{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding-top: 0;
    min-height: 270px;
    z-index: 2;
}

.header-content.media-container .page-header .content-image{
    margin-bottom: 30px;
    min-height: 123px;
}
.header-content.media-container .page-header .content-image img{
    max-width: 300px;
    margin: 0 auto;
}

.header-content.media-container .page-header .content {
    font-family: 'Roboto', Sans-Serif;
}


.content-block:not(.content-block-title) .content-action-toolbar:not(.shop-action-toolbar) {
    margin-top: 30px;
    min-height: 41px;
}

.title.page-title{
    color: #fff;
    margin: 0;
    min-height: 40px;
}
.title.page-title:before {
    display: none;
}

.page-node-type-landing-page .container:is(#run-trek, #bivouac, #water, #food, #equipment) .title.title-icon {
    position: relative;
    padding-left: 85px;
}

.paragraph .container:is(#run-trek, #bivouac, #water, #food, #equipment) .title:before,
.paragraph.container:is(#run-trek, #bivouac, #water, #food, #equipment) .title:before{
    content: '';
    display: inline-block;
    width: 85px;
    height: 50px;
    position: absolute;
    left: 0;
    transform: translateY(-50%);
    background-position: left;
    background-size: auto 100%;
    background-repeat: no-repeat;
}

#run-trek .title:before{
    top: 45%;
    background-image: url("../images/elements/runTrekNew.png");
}

#bivouac .title:before{
    top: 40%;
    background-image: url("../images/elements/bivouacNew.png");
}

#water .title:before {
    top: 50%;
    background-image: url("../images/elements/waterNew.png");
}

#food .title:before {
    top: 50%;
    background-image: url("../images/elements/foodNew.png");
}

#equipment .title:before {
    top: 50%;
    background-image: url("../images/elements/waterNew.png");
}

.paragraph ul {
    padding-left: 15px;
}


/*parallax*/
.parallax {
    min-height: 477px;
    background-size: cover;
    position: relative;
    /*background-attachment: scroll;*/
    background-position: 50%;
    background-attachment: fixed;
    text-align: center;
}

.parallax .parallax-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    width: 100%;
    height: 477px;
    background-color: rgba(0,0,0,0.4);
}
@media all and (max-width: 767px) {
    .parallax{
        min-height: 300px;
        background-size: auto 100%;
        background-attachment: inherit;
    }
    .parallax .parallax-content {
        height: 300px;
    }
}

.parallax .parallax-content .title{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    width: 100%;
    padding: 0 15px;
}
.parallax .parallax-content .title a{
    color: #fff;
    text-decoration: none;
}

.parallax .parallax-content .content-action-toolbar {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%,-50%);
}

/*.full-width {*/
/*    margin-top: 92px;*/
/*}*/
.full-width.row{
    margin-left: 0;
    margin-right: 0;
}

.full-width:not(.parallax) .image-background{
    min-height: 1px;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-bottom: 100%;
}
.full-width-image-background{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.full-width:not(.parallax) .image-background a {
    /*position: relative;*/
    display: inline-block;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-family: 'Roboto';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.full-width:not(.parallax) .image-background a .link-title{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: auto;
    padding: 10px 15px;
    text-transform: uppercase;
    transition: border 0.4s ease-in;
}
.transparent-background .image-background:hover .link-title {
    border: 1px solid #f2f2f2;
    border-radius: 5px;
}

.transparent-background .image-background:before{
    content: '';
    width: 100%;
    height: 100%;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.4);
    opacity: 1;
    transition: all 0.3s ease;

}
.transparent-background .image-background:hover:before {
    background-color: transparent;
    opacity: 0;
}

.paragraph .full-width .item.col-sm-3{
    padding: 0!important;
}

.paragraph .full-width .item.col-sm-3 img {
    max-width: 100%;
}

.content-block-title {
    text-align: center;
}




/*compare*/
.compare-block {
    margin-top: 40px;
}
/*compare popup*/
#block-views-block-compare-marathones-block-1 {
    display: none;
}
/*.spb-popup-main-wrapper {*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    margin-left: 0;*/
/*    margin-top: 0;*/
/*    transform: translate(-50%,-50%);*/
/*}*/
.block-views-blockcompare-marathones-block-1 .view-id-compare_marathones .views-row{
    width: 48%;
    display: inline-block;
}
.block-views-blockcompare-marathones-block-1 .view-id-compare_marathones .views-row img {
    max-width: 100%;
}

/*compare popup*/
.ui-dialog.ui-front{
    max-width: 730px;
    background-color: transparent;
    border: 0;
}
.ui-widget-overlay.ui-front{
    background-color: rgba(0,0,0,1);
}

#drupal-modal article .node__content .field__items.row{
    margin: 0;
}

.ui-dialog.ui-front .ui-dialog-titlebar {
    background-color: transparent;
    border: 0;
}

.ui-dialog.ui-front .ui-dialog-title{
    display: none;
}

.ui-dialog.ui-front #drupal-modal{
    padding: 0;
}
.ui-dialog.ui-front .ui-dialog-titlebar-close{
    width: 30px;
    height: 30px;
    z-index: 999;
    background-color: #fff;
    border-radius: 50%;
    margin: 0;
    padding: 0;
    right: -12px;
    top: -4px;
}
.ui-dialog.ui-front .ui-dialog-titlebar-close:before {
    content: "\f00d";
    font-family: fontAwesome;
    display: inline-block;
    width: 26px;
    height: 26px;
    font-size: 20px;
    line-height: 28px;
}
.ui-dialog.ui-front .ui-dialog-titlebar-close:focus{
    outline: 0;
}

.compare-item .paragraph {
    height: 100%;
}
.compare-item .compare-section {
    height: 100%;
    background-color: #fff;
}

.compare-item .compare-section .image-container{
    overflow: hidden;
    position: relative;
}

.compare-item .compare-section .image-container .marathon-status{
    padding: 5px;
    width: 200px;
    position: absolute;
    top: 43px;
    left: -43px;
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    transform: rotate(-45deg);
    background-color: #fd6139;
}

.compare-item .compare-section img{
    max-width: 100%;
}

.compare-item .compare-section .content-block{
    padding: 0 20px 30px 30px;
}
.compare-item .compare-section .content-block .content-title .title{
    font-size: 20px;
    margin: 10px 0;
}
.compare-item .compare-section .content-block .date-container{
    margin-bottom: 10px;
}

.compare-item .compare-section .content-block .content-action-toolbar{
    text-align: center;
}

/*concept popup*/
#drupal-modal a.show-concept-video,
.content-block .concept-video .youtube-video-container {
    display: none;
}


/*rating popup video modal*/
#drupal-modal .full-width{
    margin: 0;
}
#drupal-modal .full-width .rating-container .content,
#drupal-modal .full-width .rating-container .five-stars,
#drupal-modal .full-width .rating-container .circle-image,
#drupal-modal .full-width .rating-container .content-action-toolbar,
#drupal-modal .full-width .rating-container .person-name{
    display: none;
}
#drupal-modal .full-width .rating-container .youtube-video-container{
    text-align: center;
}
#drupal-modal .full-width .rating-container .youtube-video-container .youtube-container iframe{
    width: 100%;
    max-width: 749px;
}

/*buttons*/
.content-block .content-action-toolbar .btn{
    margin-right: 20px;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
}

.btn.btn-information {
    -webkit-transition: background-color 0.5s ease;
    -moz-transition: background-color 0.5s ease;
    -ms-transition: background-color 0.5s ease;
    -o-transition: background-color 0.5s ease;
    transition: background-color 0.5s ease;
}
.content-block .content-action-toolbar a:last-of-type{
    margin-right: 0;
}

.content-action-toolbar .btn-green{
    color: #fff!important;
    background-color: #10cfbd;
    border-color: #10cfbd;
    margin-right: 0;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
}

.shop-action-toolbar .btn-shop{
    background-color: #fff200;
    border-color: #fff200;
    margin-top: 20px;
    color: #212529!important;
}

.content-block .content-action-toolbar .btn-green:hover,
.content-block .content-action-toolbar .btn-green:active,
.content-action-toolbar .btn-green:not(:disabled):not(.disabled):active{
    background-color: #0eb7a7;
    border-color: #0eb7a7;
    color: #fff!important;
    animation-name: greenHover;
    animation-duration: 0.4s;
}

@keyframes greenHover {
    from {background-color: #10cfbd;}
    to {background-color: #0eb7a7;}
}



.content-action-toolbar .btn-gray{
    background-color: #f0f0f0;
    border: 1px solid transparent;
    color: #2c2c2c!important;
    padding: 6px 12px;
}
.content-action-toolbar .btn-gray:hover,
.content-action-toolbar .btn-gray:active,
.content-action-toolbar .btn-gray:not(:disabled):not(.disabled):active{
    background-color: #fafafa;
    border: 1px solid rgba(44,44,44,.27);
    animation-name: grayHover;
    animation-duration: 0.4s;
}

@keyframes grayHover {
    from {background-color: #f0f0f0;}
    to {background-color: #fafafa;}
}

.card-header .btn-link {
    color: #10cfbd!important;
    outline: none!important;
    box-shadow: none!important;
}
.card-header .btn-link:focus {
    outline: none;
}



/*present marathon container*/
.title.small{
    margin-bottom: 40px;
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
}


/*present marathon teaser*/
.marathon-teaser {
    position: relative;
    height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
    overflow: hidden;
}
.marathon-teaser:before {
    visibility: hidden;
    opacity: 0;
    content: '';
    width: 100%;
    height: 100%;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(0,0,0, 0.4);
    transition: all 0.3s ease;
}

.marathon-teaser:hover:before{
    visibility: visible;
    opacity: 1;
}

.marathon-teaser .content-title{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 96%;
    text-align: center;
}

.marathon-teaser .content-title .title {
    margin-bottom: 0;
    color: #fff;
    text-transform: uppercase;
    font-size: 24px;
}



.upcoming-marathon-teaser {
    position: relative;
    height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
    overflow: hidden;
}
.upcoming-marathon-teaser:before {
    visibility: hidden;
    opacity: 0;
    content: '';
    width: 100%;
    height: 100%;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(0,0,0, 0.4);
    transition: all 0.3s ease;
}

.upcoming-marathon-teaser .teaser-title {
    margin-bottom: 0;
    color: #fff;
    text-transform: uppercase;
    font-size: 24px;
}

/*Upcoming events - Teaser Marathons*/
.upcoming-marathon-teaser {
    background-color: rgba(0, 0, 0, 0.4);
    background-blend-mode: darken;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.upcoming-marathon-teaser .content-image .logo-teaser {
    max-height: 150px;
    width: auto;
}

/*animation for the logo*/
@media all and (min-width: 1024px) {
    .upcoming-marathon-teaser .content-image {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1);
        visibility: visible;
        opacity: 1;
        transition: opacity 1s ease, transform 1s ease;
    }

    .upcoming-marathon-teaser:not(:hover) .content-image {
        animation: zoomInNotHover 300ms ease forwards;
        visibility: visible;
    }

    .upcoming-marathon-teaser:hover .content-image {
        animation: fadeOutZoomOut 300ms ease forwards;
        visibility: visible;
    }

    @keyframes fadeOutZoomOut {
        0% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
        100% {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.9);
        }
    }

    @keyframes zoomInNotHover {
        0% {
            transform: translate(-50%, -50%) scale(0.9);
            opacity: 0;
        }
        100% {
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
        }
    }
}

.upcoming-marathon-teaser .teaser-description .description p {
    margin-bottom: 0;
}

.upcoming-marathon-teaser .content-image .teaser-marathon-short-description p {
    margin-bottom: 0;
}

/*animation for the description text*/
@media all and (min-width: 1024px) {
    .upcoming-marathon-teaser .teaser-description {
        visibility: hidden;
        opacity: 0;
        height: 0;
        padding-top: 0;
        transform: scale(0.9);
        transition: visibility 0s, height 0s, padding-top 0s;
    }

    .upcoming-marathon-teaser:hover .teaser-description {
        visibility: visible;
        height: inherit;
        padding-top: 50px;
        animation: fadeInZoomIn 300ms ease forwards;
    }


    .upcoming-marathon-teaser:not(:hover) .teaser-description {
        visibility: visible;
        height: inherit;
        padding-top: 50px;
        animation: zoomOutNotHoverText 300ms ease forwards;
    }

    @keyframes fadeInZoomIn {
        0% {
            opacity: 0;
            transform: scale(0.9);
        }
        100% {
            opacity: 1;
            transform: scale(1);
        }
    }


    @keyframes zoomOutNotHoverText {
        0% {
            opacity: 1;
            transform: scale(1);
        }
        100% {
            opacity: 0;
            transform: scale(0.9);
        }
    }
}

@media all and (max-width: 1024px) {
    .upcoming-marathon-teaser .teaser-description {
        visibility: visible;
        padding-top: 20px;
    }

    .upcoming-marathon-teaser .content-action-toolbar-teaser {
        visibility: visible;
    }

    .upcoming-marathon-teaser .content-image {
        visibility: hidden;
    }
}

.upcoming-marathon-teaser .content-image .teaser-marathon-short-description {
    color: #fff;
    font-family: 'Roboto', sans-serif;
    padding-top: 1.5em;
}

@media all and (max-width: 990px) and (min-width: 768px) {

    .upcoming-marathon-teaser .marathon-teaser .teaser-description {
        padding-top: 40px;
    }
}

.upcoming-marathon-teaser .teaser-description .description p {
    margin-bottom: 0;
}

.upcoming-marathon-teaser .content-image .teaser-marathon-short-description {
    margin-bottom: 0;
}

.upcoming-marathon-teaser .content-action-toolbar-teaser{
    position: absolute;
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
    visibility: hidden;
    opacity: 0;
}
.upcoming-marathon-teaser:hover .content-action-toolbar-teaser{
    visibility: visible;
    opacity: 1;
}


.upcoming-marathon-teaser:hover .content-action-toolbar-teaser .btn-information {
    border: 1px solid #fff;
    color: #FFF;
}

@media all and (max-width: 1024px) and (max-width: 1366px) {

    .upcoming-marathon-teaser .content-action-toolbar-teaser {
        visibility: visible;
        opacity: 1;
        /*border: 1px solid #fff;*/
        color: #FFF;
    }
    .upcoming-marathon-teaser .content-action-toolbar-teaser a{
        border: 1px solid #fff;
        color: #fff;
    }
}

.marathon-teaser .marathon-status{
    padding: 5px;
    width: 200px;
    position: absolute;
    top: 43px;
    left: -43px;
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    transform: rotate(-45deg);
    background-color: #fd6139;
}
.marathon-teaser .marathon-status.registration-open-status{
    background-color: #10cfbd;
}

.marathon-teaser .content-action-toolbar{
    position: absolute;
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
    visibility: hidden;
    opacity: 0;
}
.marathon-teaser:hover .content-action-toolbar{
    visibility: visible;
    opacity: 1;
}


.marathon-teaser:hover .content-action-toolbar .btn-information {
    border: 1px solid #fff;
    color: #FFF;
}


/*rating block*/
.paragraph-rating-container{
    background-size: cover;
    background-position: center;
}
.rating-carousel .owl-stage {
    background-color: rgba(0,0,0,0.3);
}
.rating-carousel .full-width {
    margin-top: 0;
}
.rating-carousel .full-width .rating-container{
    text-align: center;
}
.rating-carousel .full-width {
    padding: 40px 0;
    color: #fff;
    /*background-color: rgba(0,0,0,0.3);*/
    min-height: 340px;
}
.person-name {
    font-size: 20px;
    margin-bottom: 5px;
}
/*.rating-carousel .full-width .person-image{*/
/*    display: inline-block;*/
/*    border-radius: 50%;*/
/*    border: 3px solid #fff;*/
/*    overflow: hidden;*/
/*    width: 120px;*/
/*    height: 120px;*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*}*/

.circle-image{
    display: inline-block;
    border-radius: 50%;
    border: 3px solid #fff;
    overflow: hidden;
    width: 120px;
    height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.social-logo-image{
    background-size: 80%;
    background-color: #2c2c2c;
}
.social-logo-image a {
    display: inline-block;
    width: 100%;
    height: 100%;
    font-size: 0;
    text-decoration: none;
}
.outer-circle-image {
    width: 140px;
    height: 140px;
    display: inline-block;
    border-radius: 50%;
    border: 2px dashed #2c2c2c;
    padding: 8px;
}


.rating-carousel .full-width .btn {
    color: #fff;
    border: 1px solid #fff;
}

.rating-carousel .five-stars{
    max-width: 100px;
    margin: 0 auto 20px auto;
}

.rating-carousel .youtube-video-container iframe{
    display: none;
    width: 100%;
}
.youtube-video-container iframe{
    width: 100%;
}

/*slider header*/
.paragraph--type--slider-container {
    min-height: 500px;
}
.slider-carousel .content {
    color: #fff;
}
.slider-carousel .header-content.media-container .page-header .content-image {
    margin-top: 30px;
}
.slider-carousel .header-content.media-container .page-header .content-image img{
    max-width: 200px;
}
.slider-carousel .content-action-toolbar {
    margin-top: 20px;
}

@media all and (max-width: 991px){
    .slider-carousel .header-content.media-container .page-header .content-image {
        margin-top: 40px;
    }
    .slider-carousel .header-content.media-container .page-header .content-image img{
        max-width: 180px;
    }
    body:not(.path-frontpage) .slider-carousel h1.page-title {
        font-size: 30px;
        margin-bottom: 30px;
    }
}



/*shop section*/
.shop-action-toolbar {
    margin-bottom: 92px;
}
.shop-action-toolbar a {
    margin-right: 0;
}

/*page header section*/
.paragraph .media-container {
    min-height: 500px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.paragraph .slider.media-container:before {
    content: "";
    display: block;
    width: 100%;
    min-height: 500px;
    background-color: rgba(0,0,0,0.3);
}

@media all and (max-width: 850px) {
    /*video background*/
    .header-content.media-container .page-header .content-image img {
        max-width: 200px;
        height: auto;
    }
    body:not(.path-frontpage) h1.page-title {
        font-size: 30px;
        margin-bottom: 30px;
    }
    .paragraph .media-container {
        height: 500px;
        overflow: hidden;
    }
    .paragraph .media-container video{
        max-height: 100%;
        width: auto;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}



.ajax-progress-throbber { display: none}


/*concept teaser images*/
.concept-teaser-image-container.full-width-image-background .transparent-background{
    width: 100%;
}

/*content card deck*/
.card-deck-item {
    background-color: #008c96;
    color: #fff;
    border-radius: .25rem;
}
.peru .card-deck-item {
    background-color: #E1261D;
}

.morocco .card-deck-item {
    background-color: #000;
}

.card-deck-item .card-title,
.card-item .card-title{
    min-height: 95px;
}
@media all and (max-width: 767px){
    .paragraph .card-group>.card {
        -ms-flex: inherit;
        flex: inherit;
        margin-bottom: 15px;
    }
}

/*offerts*/
.card-item {
    border: 1px solid #10cfbd;
    border-radius: .25rem;
}
.morocco .card-item {
    border: 1px solid #000;
}
/*.offer-group .row >div {*/
/*    margin-top: 10px;*/
/*}*/


/*.offer-group >div:last-of-type {*/
/*    flex: inherit;*/
/*    max-width: 100%;*/
/*    margin-top: 30px!important;*/
/*}*/
/*.offer-group >div:last-of-type .card-item{*/
/*    max-width: 32%;*/
/*    margin: 0 auto;*/
/*}*/
.card-item .cart-content{
    min-height: 150px;
}
.card-item .cart-content.small-content{
    min-height: inherit;
}
.card-item .text-info {
    min-height: 50px;
}
@media all and (max-width: 1319px) and (min-width: 768px) {
    /*.offer-group .row >div:nth-child(3),*/
    /*.offer-group .row >div:nth-child(4){*/
    /*    margin-top: 26px;*/
    /*}*/
    .card-item .cart-content{
        min-height: 160px;
    }
}
.card-item .old-price {
    min-height: 24px;
}

.card-group.offer-group .content-action-toolbar {
    margin-top: 30px;
}

@media all and (max-width: 991px) and (min-width: 768px){
    .card-item .cart-content{
        min-height: 210px;
    }
}
@media all and (max-width: 991px) {
    .offer-group >div:last-of-type .card-item{
        max-width: inherit;
        margin: 0 auto;
    }
}

@media all and (max-width: 767px) {
    .offer-group >div:last-of-type {
        margin-top: 8px!important;
    }
    .card-item .cart-content{
        min-height: inherit;
    }
}

/*two columns content section*/
.justify-content-md-center ul {
    display: inline-block;
    text-align: left;
}
.wto-columns-container,
.three-columns-container{
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: .25rem;
    font-size: 20px;
}
.wto-columns-container ul,
.three-columns-container ul{
    margin-bottom: 0;
}
.background-green {
    background-color: #008c96;
    color: #fff;
}
.peru .background-green {
    background-color: #E1261D;
}

.morocco .background-green {
    background-color: #008c96;
}

/*photo gallery*/
.photo-gallery-container img {
    max-width: 100%;
    max-height: 100%;
}
#photo-gallery-wall {
    margin: 0 auto;
    overflow: hidden;
}
#photo-gallery-wall .item {
    margin: 0 auto;
    display: inline-block;
    float: left;
    width: 33.3333%;
}
#photo-gallery-wall .item img {
    width: 100%;
    height: auto;
}
#photo-gallery-wall > div:first-of-type {
    width: 100%;
}
.single-gallery img{
    height: auto;
}

.info-container a {
    color: #10cfbd!important;
    font-family: 'Roboto', sans-serif;
}

@media all and (max-width: 576px) {
    #photo-gallery-wall .item,
    #photo-gallery-wall > div:first-of-type{
        width: 100%;
    }
}

/*concept section mobile layout*/
@media all and (max-width: 1023px){
    .btn.d-btn-block{
        display: block;
        margin-right: 0;
        width: 100%;

    }
    .content-action-toolbar a {
        margin-bottom: 20px;
    }
    .content-action-toolbar a:last-of-type {
        margin-bottom: 0;
    }
}

/*concept image position and layout for mobile*/
@media all and (max-width: 991px) and (min-width: 768px) {
    .full-width:not(.parallax) .image-background a {
        font-size: 15px;
    }
}

@media all and (max-width: 767px) {
    .paragraph .container {
        padding-top: 60px;
    }
    .full-width {
        margin-top: 60px;
    }
    .content-image{
        padding: 0!important;
        margin-bottom: 30px;
    }
    .wto-columns-container .content-block,
    .three-columns-container .content-block{
        text-align: left!important;
    }
    .full-width.concept-teaser-image-container {
        margin-top: 0;
    }
    .concept-teasers >div:nth-child(-n + 2) {
        margin-top: 60px;
    }
}

@media all and (max-width: 576px) {
    .full-width:not(.parallax) .image-background a {
        font-size: 15px;
    }
}

/*marathon hover button show for tablet*/
@media all and (max-width: 1024px) and (max-width: 1366px) {
    .marathon-teaser:before {
        visibility: visible;
        opacity: 1;
    }
    .marathon-teaser .content-action-toolbar {
        visibility: visible;
        opacity: 1;
        /*border: 1px solid #fff;*/
        color: #FFF;
    }
    .marathon-teaser .content-action-toolbar a{
        border: 1px solid #fff;
        color: #fff;
    }
}


.fade-in {
    animation-name: fade;
    animation-duration: 2s;
}

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-long {
    animation-name: fadeLong;
    animation-duration: 6s;
}

@keyframes fadeLong {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/*user login*/
.path-user header {
    position: static;
}
.path-user #block-hmds-content{
    text-align: center;
}

.path-user .user-login-form {
    margin: 100px auto;
    display: inline-block;
    text-align: left;
}

/*newsletter popup*/
.newslettersignup-form {
    padding: 120px 30px 40px 30px;
    position: relative;
    background-color: rgba(0,0,0,0.4);
    background-repeat: no-repeat;
    border: 1px solid #fff;
}

.newslettersignup-form:before {
    content: '';
    width: 160px;
    height: 70px;
    background-image: url(../images/mainLogoWhite.png);
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    top: 25px;
    left: 25%;
    transform: translateX(-25%);
}

.newslettersignup-form:after {
    content: '';
    width: 100%;
    height: 100%;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(../images/popup-Fuerteventura_advenutre.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.newslettersignup-form .form-item{
    margin-top: 0;
    max-width: 360px;
}

.mailchimp-signup-subscribe-form .form-item-mergevars-language label {
    display: inline-block!important;
    width: auto!important;
    margin-right: 10px;
}

.mailchimp-signup-subscribe-form .form-item-mergevars-language select {
    display: inline-block;
    background-color: transparent;
    border: 1px solid #fff;
}
.mailchimp-signup-subscribe-form .form-item-mergevars-language select option {
    color: #333!important;
}


.newslettersignup-form label {
    color: #fff;
}
.newslettersignup-form input {
    max-width: 100%;
}

.newslettersignup-form input[type="submit"] {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    color: #fff!important;
    background-color: #10cfbd;
    border-color: #10cfbd;
    border-width: 1px;
    border-style: inherit;
    margin-left: 42%;
    margin-top: 20px;
}

.newslettersignup-form input[type="submit"]:hover,
.newslettersignup-form input[type="submit"]:active,
.newslettersignup-form input[type="submit"]:not(:disabled):not(.disabled):active,
.newslettersignup-form input[type="submit"]:focus{
    background-color: #0eb7a7;
    border-color: #0eb7a7;
    color: #fff!important;
    outline: 0;
}


@media all and (max-width: 767px) {

    .newslettersignup-form:before {
        left: 50%;
        transform: translateX(-50%);
    }

    .newslettersignup-form .form-item{
        margin: 0 auto 1em auto;
        max-width: 360px;
    }

    .newslettersignup-form input[type="submit"] {
        display: block;
        max-width: 360px;
        width: 100%;
        margin: 20px auto 0 auto;
    }
}



/*newsletter and custom popup popup*/
.custom-popup-background {
    position: fixed;
    top: 50%!important;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    z-index: 99;
}
.custom-popup-container{
    width: 90%;
    max-width: 800px;
    /*max-height: 533px;*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: #fff;
    border: 1px solid #fff;
}
.custom-popup-container.video-container {
    border: 0;
    background-color: transparent;
}
.custom-popup-container .close-popup {
    width: 30px;
    height: 30px;
    z-index: 999;
    background-color: #fff;
    border-radius: 50%;
    margin: 0;
    padding: 0;
    position: absolute;
    right: -15px;
    top: -15px;
    cursor: pointer;
}
.custom-popup-container .close-popup:before{
    content: "\f00d";
    font-family: fontAwesome;
    display: inline-block;
    width: 30px;
    height: 28px;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
}
.open-custom-popup {
    color: #10cfbd;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
}

/*.block-mailchimpsubscriptionformnewslettersignup,*/
/*.block-mailchimpsubscriptionformnewslettersignup-modal,*/
/*.mailchimp-signup-subscribe-form,*/
/*#block-mailchimpsubscriptionformnewslettersignup,*/
/*div[id$="block-mailchimpsubscriptionformnewslettersignup"],*/
div[id^="block-mailchimpsubscriptionformnewslettersignup"],
.custom-popup-background {
    display: none;
}

/*.block-mailchimpsubscriptionformnewslettersignup-modal {*/
/*    display: none!important;*/
/*}*/

div[id^="block-mailchimpsubscriptionformnewslettersignup"]{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background-color: rgba(0,0,0,0.5);*/
    z-index: 999999;
    overflow-y: scroll;
}

.mailchimp-container{
    /*background-image: url("../images/popup-Fuerteventura_advenutre.jpg");*/
    /*background-repeat: no-repeat;*/
    /*background-size: cover;*/
}

.mailchimp-container .transparent-background {
    padding: 30px;
    background-image: url("../images/elements/popup/Latest_Popup_Newsletter_Image.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.mailchimp-container .logo-container {
    width: 170px;
    height: 170px;
    margin: 0 auto 30px auto;
    background-image: url("../images/MDS_Logo.png");
    background-size: 100%;
    background-repeat: no-repeat;
}

.mailchimp-container form {
    text-align: center;
    color: #fff;
    font-size: 20px;
    margin: 0 auto;
    width: 76%;
}

.mailchimp-container form .messages {
    font-size: 14px;
    text-align: left;
}

.mailchimp-container .mailchimp-newsletter-mergefields {
    display: inline-block;
    width: 100%;
    text-align: left;
}

.mailchimp-container .js-form-item.js-form-type-checkbox label{
    display: block;
    width: 100%;
    text-align: left;
    font-size: 16px;
    margin: 0 auto;
    color: #fff;
}

.mailchimp-container .js-form-item label{
    display: block;
    width: 100%;
    text-align: left;
    font-size: 16px;
}
.mailchimp-container .js-form-item input {
    display: block;
    width: 100%;
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid #fff;
    outline: 0;
}

.mailchimp-container .form-actions {
    width: 100%;
    text-align: right;
    margin: 20px auto 0 auto;
}

.mailchimp-container .form-actions .js-form-submit {
    color: #fff!important;
    background-color: #10cfbd;
    border: 1px solid #10cfbd;
    margin-right: 0;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;

    border-radius: 0.25rem;
    display: inline-block;
    font-weight: 400;
    /*color: #212529;*/
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /*background-color: transparent;*/
    /*border: 1px solid transparent;*/
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.mailchimp-container .form-actions #edit-submit:hover,
.mailchimp-container .form-actions #edit-submit:active,
.mailchimp-container .form-actions #edit-submit:focus{
    background-color: #0eb7a7;
    border-color: #0eb7a7;
    outline: 0;
}
.mailchimp-container #captcha {
    border: 0;
}
.mailchimp-container #captcha summary{
    display: none;
}
.mailchimp-container #captcha .details-wrapper {
    padding: 0;
    margin: 0 auto;
    text-align: right;
}
.mailchimp-container #captcha .details-wrapper .g-recaptcha {
    display: inline-block;
}
.mailchimp-container #captcha .details-wrapper .details-description{
    display: none;
}

@media all and (max-width: 767px) {
    .mailchimp-container .js-form-item {
        margin-bottom: 40px;
    }
    .mailchimp-container .js-form-item label {
        display: block;
        width: 100%;
        text-align: left;
        font-size: 15px;
    }
    .mailchimp-container .js-form-item input {
        display: block;
        width: 96%;
    }
}

/*video in popup*/
@media all and (max-width: 991px){
    .mailchimp-container form {
        text-align: center;
        color: #fff;
        font-size: 20px;
        margin: 0 auto;
        width: 90%;
    }
}

@media all and (max-height: 800px) {
    .custom-popup-container{
        left: 50%;
        transform: translate(-50%, -50%);
        height: 80%;
        max-height: 60%;
    }
}

@media all and (max-width: 1200px) {
    .custom-popup-container{
        width: 90%!important;
        height: auto;
        max-height: 85%;
    }
}


/*cookie popup*/

#tarteaucitronRoot div#tarteaucitronAlertBig:before{
    content: '';
    background-image: url("../images/MDS_LOGO_HEADER.png");
    background-repeat: no-repeat;
    background-size: 100%;
    width: 170px;
    height: 75px;
    display: inline-block;
}

#tarteaucitronRoot div#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
    font: 20px "Open Sans", sans-serif!important;
}
#tarteaucitronRoot div#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert #tarteaucitronPrivacyUrl{
    font: 18px "Roboto", sans-serif!important;
}

#tarteaucitronRoot div#tarteaucitronAlertBig button{
    border-radius: 0.2rem;
    min-height: 28px;
}

/*Radio buttons*/
input[type="radio"] {
    display: none;
}

input[type="radio"] + label {
    position: relative;
    padding-left: 28px;
    line-height: 20px;
    display: inline-block;
    padding-top: 2px;
    margin-bottom: 0;
}

input[type="radio"] + label:before {
    content: '';
    display: inline-block;
    width: 21px;
    height: 22px;
    position: absolute;
    top: 0;
    left: 0;
    background: url('../images/elements/elements_sprite.png') no-repeat;
    background-position: -21px 3px;
}

input[type="radio"]:checked + label:before {
    background: url('../images/elements/elements_sprite.png') no-repeat;
    background-position: -21px -18px;
}

input[type="radio"][disabled] + label {
    color: #a8a8a8;
}

input[type="radio"][disabled] + label:before {
    background: url('../images/elements/elements_sprite.png') no-repeat;
    background-position: -21px -62px;
}

input[type="radio"][disabled]:checked + label:before {
    background: url('../images/elements/elements_sprite.png') no-repeat;
    background-position: -21px -83px;
}

/*END RADIO BUTTONS*/

/*CHECKBOX*/
input[type="checkbox"] {
    display: none!important;
}

input[type="checkbox"] + label {
    position: relative;
    padding-left: 28px;
    color: #2c2c2c;
    line-height: 20px;
    display: inline-block;
    padding-top: 2px;
    margin-bottom: 0px;
}

input[type="checkbox"] + label:before {
    content: '';
    display: inline-block;
    width: 21px;
    height: 22px;
    position: absolute;
    top: 0px;
    left: 0px;
    background: url('../images/elements/elements_sprite.png') no-repeat;
    background-position: 0 1.1px;
}

input[type="checkbox"]:checked + label:before {
    background: url('../images/elements/elements_sprite.png') no-repeat;
    background-position: 0 -19px;
}

/*END CHECKBOX*/



/*maintenance mode*/
.maintenance-page .container{
    padding-top: 92px;
    text-align: center;
}

.maintenance-page .container .page-title {
    font-size: 40px;
    font-family: 'Roboto';
}

.maintenance-page .container .maintenance-content{
    font-size: 26px;
    margin-top: 60px;
}

/*live page*/
.node--type-event-live .field--name-field-single-column {
    background-color: #fafafa;
}

/*image carousel*/
.image-gallery-carousel .image-background:hover {
    cursor: pointer;
}
.custom-slide .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: transparent!important;
    overflow: hidden;
    border: 0;
    border-radius: 5px;
}

.custom-popup-wrapper.custom-slide .owl-nav button {
    background-color: rgba(0, 0, 0, .5)!important;
}

.custom-slide .owl-nav button.owl-prev {
    left: 20px;
}
.custom-slide .owl-nav button.owl-next {
    right: 20px;
}
.custom-slide-carousel .owl-nav button span {
    display: none;
}
.custom-slide .owl-nav button.owl-prev:before {
    content: "\f104";
    font-family: 'fontAwesome';
    display: block;
    width: 100%;
    font-size: 45px;
    height: 50px;
    line-height: 47px;
    color: #fff!important;
}

.custom-slide .owl-nav button.owl-next:before {
    content: "\f105";
    font-family: 'fontAwesome';
    display: block;
    width: 100%;
    font-size: 45px;
    height: 50px;
    line-height: 47px;
    color: #fff!important;
}


/*custom popup*/
.custom-popup-wrapper {
    display: none;
}
.custom-popup-wrapper.show {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: rgba(0,0,0,0.6);
    text-align: center;
}
.custom-popup-wrapper.show img {
    max-width: 100%;
    max-height: 100%;
}

.custom-popup-wrapper .custom-popup-container {
    top: 55%;
    width: auto;
    height: 70vh;
    /*row 1730 has this two values, here we override this because we are not sure if we use this tow on different place*/
    background-color: transparent!important;
    border: none!important;
    /*max-width: 920px;*/
    /*height: 70%;*/
    /*max-height: 700px;*/
}
.custom-popup-wrapper .custom-popup-container .custom-close {
    position: absolute;
    top: -15px;
    right: -15px;
    z-index: 9;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background-color: #fff;
}

.custom-popup-wrapper .custom-popup-container .custom-close i {
    font-size: 20px;
}

.custom-popup-wrapper .custom-popup-content {
    width: 100%;
    height: 100%;
}

.custom-popup-wrapper .custom-popup-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    position: relative;
    /*top: 50%;*/
    /*transform: translateY(-50%);*/
    border: 1px solid #fff!important;
    /*position: absolute;*/
    /*top: 50%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
}

/*video content*/
.video-content iframe {
    max-width: 100%;
}

/*iframes*/
.iframe-content iframe {
    width: 100%;
    min-height: 400px;
    margin-bottom: 62px;
}
.node--type-static-pages .iframe-content iframe {
    height: 80vh;
    margin-bottom: 0;
}
.page-node-type-event-live .field__label {
    display: none;
}

.node--type-iframe {
    background-color: #fafafa;
}
.field--name-field-archive-title .page-separate-title p,
.field--name-field-archive-title .page-separate-title h2{
    margin-bottom: 0!important;
}
.field--name-field-archive-title .page-separate-title h2 {
    padding-bottom: 92px;
}
.field--name-field-archive-title,
.node--type-event-live .video-content.video-over {
    background-color: #fafafa;
}

.nav.stage-tabs{
    width: 100%;
    display: inline-block;
    background-color: #fafafa;
}
.nav.stage-tabs .nav-link {
    display: inline-block;
    color: #10cfbd;
    font-size: 26px;
    text-transform: uppercase;
}

.nav.nav-tabs .nav-link span:not(.tabs-text-content) {
    display: inline-block;
    background-color: #fa0000;
    color: #fff;
    border-radius: 3px;
    padding: 0 5px;
    margin-left: 10px;
    text-transform: uppercase;
    font-size: 20px;
}
@media all and (max-width: 768px) {
    .nav.stage-tabs .nav-link {
        font-size: 20px;
        /*width: 100%;*/
        padding: 8px;
    }

    .nav.stage-tabs .nav-link .tabs-text-content {
        display: inline-block;
        width: 100%;
        text-align: left;
    }

    .nav.nav-tabs .nav-link.active span {
        font-size: 16px;
    }
}
.paragraph--type--video-content .highlight-container {
    /*margin-bottom: 40px;*/
}
.highlight-container {
    background-color: #fafafa;
    border-top: 1px solid #ccc;
    margin-top: 92px;
}
.field--name-field-static-page-content .iframe-content{
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

.field--name-field-static-page-content .iframe-content iframe {
    min-height: 800px;
}

.page-node-type-static-pages .highlight-container {
    margin-top: 0;
    padding-top: 0!important;
    background-color: transparent;
    border: none;
}
.page-node-type-static-pages .highlight-container .row {
    margin-left: 0!important;
    margin-right: 0!important;
}

div[id*='block-partners'] .field--name-field-partner-ct .container{
    padding-top: 20px!important;
}

div[id*='block-partners'] .field--name-field-partner-ct .container .carousel-container {
    padding-bottom: 20px;
}

div[id*='block-partners'] .field--name-field-partner-ct .media-carousel img {
    max-width: 60px;
}

/*live block in header*/
.live-header-container {
    color: #fff;
}

.live-header-container p{
    margin: 0;
}
.live-header-container p a{
    text-decoration: none;
}
.live-header-container .live-view {
    margin: 0;
    font-size: 28px;
    font-family: 'Roboto', sans-serif;
    line-height: 26px;
}
.live-header-container .live-view a {
    color: #fa0000;
}
.live-header-container .live-edition a {
    color: #fff;
}

@media all and (max-width: 1319px) and (min-width: 768px) {
    .live-header-container .live-view {
        font-size: 20px;
        line-height: 18px;
        margin-bottom: 4px;
    }
    .live-header-container .live-edition {
        font-size: 12px;
        line-height: 14px;
    }
}

@media all and (max-width: 768px) {
    .live-header-container {
        padding-top: 10px;
        text-align: center;
    }
}

@media all and (min-width: 1320px) {
    .region-header .block-system-branding-block {
        flex: 0 0 9.499%;
        max-width: 9.499%;
    }
    /*#block-liveedition {*/
    /*    flex: 0 0 40.33333%;*/
    /*    max-width: 40.33333%;*/
    /*}*/
}
@media all and (max-width: 1319px) and (min-width: 992px) {
    .region-header .block-system-branding-block {
        flex: 0 0 12.499%;
        max-width: 12.499%;
    }
    /*#block-liveedition {*/
    /*    flex: 0 0 37.33333%;*/
    /*    max-width: 37.33333%;*/
    /*}*/
}

/*live page news letter*/
/*.page-node-type-event-live #newsletter-block, #newsletter-m-0 {*/
/*    margin-top: 0!important;*/
/*}*/



.event-card {
    position: relative;
}

.event-card .event-card-image {
    color: #fff;
    min-height: 450px;
    margin-bottom: 30px;
}

.event-card .event-card-image:before {
    content: "";
    display: block;
    width: 100%;
    min-height: 100%;
    background-color: rgba(0,0,0,0.3);
    position: absolute;
}

.event-card .event-card-image .new-label{
    /*padding: 15px 0 0 15px;*/
    line-height: 58px;
    position: absolute;
    top: 15px;
    left: 15px;
}
.event-card .event-card-image .new-label .label{
    width: 60px;
    height: 60px;
    display: inline-block;
    text-align: center;
}

.event-card .event-card-image .event-status {
    position: absolute;
    top: 0;
    left: 0;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    font-size: 23px;
    margin-bottom: 50px;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    margin-top: 20px;
    margin-left: 20px;
    display: inline-block;
    max-width: 88%;
}

.event-card .event-card-image .event-status.green {
    background-color: #10cfbd;
    border-color: #10cfbd;
}
.event-card .event-card-image .event-status.yellow {
    background-color: #fcc00a;
    border-color: #fcc00a;
}
.event-card .event-card-image .event-status.red {
    background-color: #FF0000FF;
    border-color: #FF0000FF;
}

.event-card-content {
    padding: 20px;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}
.event-card-content .content-item {
    margin-bottom: 10px;
}
.event-card-content .event-date{
    font-size: 18px;
}
.event-card-content .event-title,
.event-card-content .event-edition{
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    font-size: 30px;
    line-height: 30px;
}
/*.event-card-content .event-title a,*/
.event-card-link {
    color: #fff!important;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    min-height: 450px;
    margin-bottom: 30px;
    position: relative;
}

.views-row.col-lg-4 .event-card-content .event-title,
.views-row.col-lg-4 .event-card-content .event-edition{
    font-size: 24px;
    line-height: 24px;
}

.event-card-content .event-date span{
    display: inline-block;
}

.event-card-content p:last-of-type {
    margin: 0;
}

@media all and (max-width: 1319px) and (min-width: 992px) {
    .views-row.col-lg-4 .event-card-content .event-title,
    .views-row.col-lg-4 .event-card-content .event-edition {
        font-size: 18px;
    }
}

@media all and (max-width: 991px) and (min-width: 768px) {
    .views-row.col-lg-4 .event-card-content .event-title,
    .views-row.col-lg-4 .event-card-content .event-edition,
    .event-card-content .event-title,
    .event-card-content .event-edition {
        font-size: 20px;
    }
}


.paragraph--type--card-deck .field--name-field-center-content {
    text-align: center;
}
.paragraph--type--card-deck .field--name-field-footnote {
    text-align: center;
    margin-top: 20px;
}
