///////////////////////////////////////////////////////////////
// Device: Desktop
///////////////////////////////////////////////////////////////

.eventstabs-transports-tab {
    /*border: 1px solid $color-grey-light;*/
    border-right: none;
    /*&:last-child {
        border-right: 1px solid $color-grey-light;
    }*/
}

.eventstabs-transports-tab-header-content {
    border: 1px solid $color-grey-light;
    height: 100%;
    width: 100%;
}

.eventstabs-picto {
    display: inline-block;
    width: 45px;
    height: 30px;

    svg {
        fill: $color-golden;
    }

    .icon-car-service {
        display: block;
        height: 22px;
        width: 45px;
    }
}

.eventstabs-transports-tab-content {
    border-top: 1px solid $color-golden;
    top: 110px;
}

.eventstabs-transports-tab.is-active {
    border: 1px solid $color-golden;
    .eventstabs-transports-tab-header {
        margin: 0 !important;
    }
}

.eventstabs-transports-tab:hover,
.eventstabs-transports-tab.is-active {

    .eventstabs-transports-tab-header {
        margin: 0;
    }

    .eventstabs-transports-tab-header-mask {
        height: 5px;
        width: 100%;
        position: absolute;
        bottom: 0px;
        left: 0;
        background-color: white;
        z-index: 100;
    }

    .eventstabs-transports-tab-header-content {
        background-color: $color-golden;
        border: none;
    }

    .eventstabs-transports-tab-header-location {
        p {
            color: white;
        }
    }

    .eventstabs-picto {
        svg {
            fill: white;
        }
    }

}

.eventstabs-transports-tab-header {
    position: relative;
    align-items: center;
    flex-direction: column;
    font-size: 1rem;
    justify-content: flex-start;
    padding: 15px 0;
    background-color: white;
    border: none;
    padding: 2px;
    height: 110px;

    &:first-child {
        border: none !important;
    }
}

.eventstabs-transports-tab-header-location {
    p {
        color: black;
        font-family: 'lucien-bold';
        font-size: 0.75em;
        margin-bottom: 3px;
        margin: 10px 0 18px 0;
        padding-top: 5px;
    }
}

.practical-information-list-item-picto {
    span {
        display: block;
    }
}

.eventstabs-transports-event {
    display: flex;
    width: 100%;
}

.eventstabs-transports-event-description {
    flex-basis: 0;
    flex-grow: 2;
    font-size: 1rem;
    padding-left: 30px;
}

.eventstabs-transports-event-description-location {
    color: $color-golden;
    font-family: lucien-regular, sans-serif;
    font-size: 1.5em;
    margin: 0 0 10px;
    padding: 0;
}

.eventstabs-transports-event-description-paragraph, 
.eventstabs-transports-event-description-paragraph p {
    color: $color-black-light;
    font-family: georgia-regular, serif;
    font-size: 1em;
    line-height: 1.5em;
    margin: 0 0 15px;
    padding: 0;

    a {
        color: $color-grey-light;
        font-family: lucien-regular, sans-serif;
        text-decoration: underline;
    }
    small {
        font-size: 0.8em;
    }
}

///////////////////////////////////////////////////////////////
// Device: Tablet
///////////////////////////////////////////////////////////////

@include tablet-landscape-and-below {
    .eventstabs-transports-tab.is-active {
        .eventstabs-transports-tab-content {
            padding: 40px;
        }
    }
    .eventstabs-transports-tab-header {
        justify-content: center;
    }
    .eventstabs-transports-event-description {
        font-size: 2vw;
    }
    .eventstabs-transports-event-description-buttons-item {
        display: block;
        margin: 0 0 20px 0;
        width: 100%;

        &:not(:first-child) {
            margin-left: 0;
            margin-top: 20px;
        }
    }
}

///////////////////////////////////////////////////////////////
// Device: Mobile
///////////////////////////////////////////////////////////////

@include mobile-landscape-and-below {
    .eventstabs-transports-tab.is-active {
        .eventstabs-transports-tab-content {
            padding: 20px;
        }
    }
    .eventstabs-transports-event {
        display: block;
    }
    .eventstabs-transports-event-figure {
        height: auto;
        margin-bottom: 40px;
        width: 100%;
    }
    .eventstabs-transports-event-figure-image {
        height: auto;
        width: 100%;
    }
    .eventstabs-transports-event-description {
        font-size: 4vw;
        padding-left: 0;
    }
    .eventstabs-transports-event-description-paragraph {
        line-height: 1.4;
    }
}