#bus-details {
    width: 100%;
    padding-top: 80px;
    position: relative;
    background-color: rgb(252,252,252);
}

#bus-details .details-header {
    width: 100%;
    height: 300px;
    background-color: #e62e98;
    padding: 80px;
    color: white;
}

#bus-details .title {
    font-size: 45px;
    font-weight: 700;
}

#bus-details .title-divider {
    margin: 10px 0;
    width: 200px;
    height: 2px;
    background-color: rgb(235, 235, 235);
}

#bus-details .images-grid {
    max-width: 80%;
    position: relative;
    left: 50%;
    top: -50px;
    transform: translateX(-50%);
}

#bus-details .box {
    height: 300px;
    display: inline-block;
    padding: 0;
}

#bus-details .background-img-grid {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

#bus-details .description {
    width: 80%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 30px;
}


/* MAPA ONIBUS */

.box-bus {
    width: 80px;
    height: 80px;
    padding: 0;
    float: left;
}

.box-bus .poltrona {
    position: relative;
    width: 85%;
    height: 85%;
    border: 1px solid black;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    border-radius: 15px;
    background-color: #5D143A;
    color: white;
}

.box-bus .poltrona h3 {
    position: relative;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    font-size: 25px;
}

.box-bus .frigobar {
    position: relative;
    width: 50%;
    height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background-color: #ccc;
}

.box-bus .frigobar h3 {
    position: relative;
    text-align: center;
    top: 45px;
    transform: rotate(-90deg);
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.box-bus .escada{
    position: relative;
    width: 100%;
    height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background-color: #ccc;
}

.box-bus .escada h3 {
    position: relative;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    font-size: 18px;
}

.box-bus.vazio {
    position: relative;
    height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background-color: rgb(77, 77, 77);
}

#mapa {
    max-width: none;
}

#mapa .titulo-piso{
    margin-left: 30px;
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 400;
}

#cima,
#baixo{
    border: 1px solid black;
    border-top-left-radius: 70px;
    border-top-right-radius: 70px;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    padding: 20px;
    background-color: rgb(150, 150, 150);
}

.map-card {
    overflow-x: auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: 80%;
    margin-bottom: 70px;
}

.main-image-mobile {
    display: none;
    position: relative;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    top: -30px;
}

@media screen and (max-width: 768px){
    #bus-details .details-header {
        padding: 50px 30px;
        height: 220px;
    }

    #bus-details .details-header .title {
        font-size: 35px;
    }

    .image-main-bus {
        max-width: 100%;
        position: relative;
        left: 50%;
        top: -50px;
        transform: translateX(-50%);
        height: 350px;
    }

    #bus-details .itinerary {
        width: 95%;
    }

    .contact-us-btn {
        font-size: 20px;
    }

    .main-image-mobile {
        display: block;
    }
    
    #bus-details .description {
        width: 90%;
        padding: 0;
    }

    .map-card {
        max-width: 95%;
    }

    .images-grid-bus {
        display: none;
    }
}