/* BUS LINES */

.node--type-bus-line, .block-views-blockbus-lines-bloc-block-1{
    overflow: hidden;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 70%;
}
.node--type-bus-line .black_bg, .block-views-blockbus-lines-bloc-block-1 .black_bg{
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: black;
    z-index: 1;
    opacity: var(--opacity-bg);
}
.node--type-bus-line .bg_image, .block-views-blockbus-lines-bloc-block-1 .bg_image{
    width: 100%;
    z-index: -1;
}
.node--type-bus-line .bg_image img, .block-views-blockbus-lines-bloc-block-1 .bg_image img{
    width: 100%;
    object-fit: contain;
    position: absolute;
    display: none;
}
.node--type-bus-line .blocs, .block-views-blockbus-lines-bloc-block-1 .blocs{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: var(--padding);
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    z-index: 1;
    padding: var(--padding);
    color: white;
}
@media only screen and (min-width: 1200px) {
    .node--type-bus-line .blocs, .block-views-blockbus-lines-bloc-block-1 .blocs{
        flex-direction: row;
    }
}
@media only screen and (min-width: 992px) {
    .node--type-bus-line .blocs, .block-views-blockbus-lines-bloc-block-1 .blocs{
        padding: var(--padding-wide);
        gap: 4rem;
    }
}
.node--type-bus-line .blocs div, .block-views-blockbus-lines-bloc-block-1 .blocs div{
    flex: 1;
}
.node--type-bus-line .blocs div, .block-views-blockbus-lines-bloc-block-1 .blocs .links{
    display: flex;
    flex-direction: column;
}
.node--type-bus-line .blocs .text, .block-views-blockbus-lines-bloc-block-1 .blocs .text{
    font-size: var(--font-size-h1);
    font-weight: bold;
}
.node--type-bus-line .blocs .text, .block-views-blockbus-lines-bloc-block-1 .blocs .text a{
    display: block;
    width: 34px;
    height: 50px;
    background: url(../../images/icons/link.png) no-repeat center bottom;
}
.node--type-bus-line .blocs .lines, .block-views-blockbus-lines-bloc-block-1 .blocs .lines{
    font-size: 25px;
    padding: var(--padding);
    position: relative;
}
.node--type-bus-line .blocs .lines .red_bg, .block-views-blockbus-lines-bloc-block-1 .blocs .lines .red_bg{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--red);
    opacity: var(--opacity-box);
    top: 0;
    left: 0;
    z-index: -1;
}
.node--type-bus-line .blocs .lines h2, .block-views-blockbus-lines-bloc-block-1 .blocs .lines h2{
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 1rem;
}
.node--type-bus-line .blocs .lines .list, .block-views-blockbus-lines-bloc-block-1 .blocs .lines .list{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
}
.node--type-bus-line .blocs .lines .list div, .block-views-blockbus-lines-bloc-block-1 .blocs .lines .list div{
    border: 1px solid white;
    max-width: 56px;
    flex: 1 0 0;
    text-align: center;
    padding: 2px;
}
.night{
    margin-top: 1.5rem;
}
.night a{
    border: 1px solid white;
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 2px 1rem;
    padding-right: 3rem;
    background: url(../../images/icons/link.png) no-repeat center right 0.5rem;
    background-size: 10%;
    transition: background-color .3s;
}
.night a:hover{
    background-color: black;
    transition: background-color .3s;
}