.container-info-delivery {
    position: absolute;
    transform: translateY(150%);
    background-color: #fff;
    width: 100%;
    box-shadow: 0 0 10px #ccc;
    transition: transform 300ms;
    z-index: 205;
    overflow-y: auto;
    bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}


.container-info-delivery > nav {
    padding: 15px 10px;
    background-color: var(--main-color);
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    font-weight: 600;
    justify-content: center;
}

.container-info-delivery > nav > a {
    position: absolute;
    left: 5px;
}


.container-info-delivery.active {
    transform: translateY(0);
}

.container-info-delivery > p {
    font-size: 6vw;
    text-align: center;
    color: #afacac;
    margin-bottom: 1vw;
}

.container-info-delivery > label {
    text-align: center;
    text-transform: uppercase;
    font-size: 4vw;
    padding: 0 5vw 1vw;
    display: block;
    background-color: #fff;
    font-weight: 600;
    color: var(--main-color);
}

.container-info-delivery > .trip-item-type {
    display: flex;
    width: 100%;
    justify-content: space-around;
    border-bottom: 1px solid #ccc;
    padding: 2vw 0;
    overflow-x: auto;
}

.container-info-delivery > div {
    flex: 1;
    overflow-y: auto;
}

.container-info-delivery > div > p {
    margin: 10px 5vw;
    font-family: sans-serif;
    color: #656565;
}


.container-info-delivery > div > hr {
    background-color: #ccc;
    margin: 0 5vw
}

.container-info-delivery > div > ul {
    overflow: auto;
    margin: 10px 0;
    white-space: nowrap;
}

.container-info-delivery > div > ul > li {
    display: inline-block;
    color: white;
    text-align: center;
    text-decoration: none;
    height: 25vw;
    width: 25vw;
    margin: 0 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 5px;
    opacity: 0.5;
}

.container-info-delivery > div > ul > li:first-child {
    margin-left: 5vw;
}

.container-info-delivery > div > ul > li:last-child {
    margin-right: 5vw;
}

.container-info-delivery > div > ul > li.active {
    opacity: 1;
}


.container-info-delivery > div > ul > li > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    color: #000;
    font-size: 10pt;
}


.container-info-delivery > div > ul > li > div > div {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 20vw;
    height: 20vw;
    margin-bottom: 5px;
}

.container-info-delivery > div  .detail-delivery {
    display: flex;
    flex-direction: column;
    width: calc(100% - 10vw);
    padding: 2vw 5vw;
    background-color: #fff;
    margin-bottom: 10px;
}


.container-info-delivery > div  .detail-delivery > span {
    margin-bottom: 5px;
    color: #383838;
    font-weight: 400;
    font-family: sans-serif;
    font-size: 10pt;
    display: flex;
    align-items: center;
}

.container-info-delivery > div .detail-delivery > .obs-text-area {
    padding: 10px;
    border: 1px solid #dadada;
    font-size: 8pt;
    overflow: hidden;
}


.container-info-delivery > div .detail-delivery > .obs-text-area:empty:before {
    content: attr(text);
    color: #9a9a9a;
}

.container-info-delivery > div .detail-delivery > .obs-text-area#obsOriginTextArea:empty:before {
    content: "Ex.: Retirar encomenda com Fulano"
}

.container-info-delivery > div .detail-delivery > .obs-text-area#obsDestinationTextArea:empty:before {
    content: "Ex.: Entregar encomenda para Ciclano"
}

.container-info-delivery > div .detail-delivery > .obs-text-area#obsTextArea:empty:before {
    content: "Ex.: Pegar nota fiscal"
}

.container-info-delivery > div .detail-delivery > span > span.icon-custom {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    display: block;
}

.container-info-delivery > div .detail-delivery > span > span:nth-child(2){
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    width: 100%;
    -webkit-box-orient: vertical;
}

.container-info-delivery > div .detail-delivery > span > span.material-icons {
    font-size: 12pt;
    margin-right: 5px;
    display: block;
    width: 15px;
    height: 15px;
}

.container-info-delivery > div .detail-delivery > textarea {
    height: 30vw;
    outline: none;
    padding: 5px;
    background-color: #f7f7f7;
    border-radius: 0;
    border: 1px solid #e2e2e2;
}

.container-info-delivery > .trip-item-type:empty {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-info-delivery > .trip-item-type:empty:before {
    content: "";
    height: 20vw;
    width: 20vw;
    border: 8px solid #f3f3f3;
    border-top: 8px solid var(--main-seconds-color);
    border-radius: 100%;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.container-info-delivery > .trip-item-type > div {
    padding: 1vw 2vw;
    border-radius: 100%;
    opacity: 1;
    /* border: 1px solid #f0aa3b; */
    /* margin-top: 2vw; */
    /* margin-bottom: -3vw; */
    position: relative;
    margin: 0 1vw;
    max-width: 15vw;
    min-width: 15vw;
}

.container-info-delivery > .trip-item-type > div.trip-type.active {
    box-shadow: 0 0 3px #626262;
    border-radius: 0;
    border-radius: 5px;
    background-color: #f2f2f2;

}

.container-info-delivery > .trip-item-type > div.trip-type.active > p {
    color: var(--main-seconds-color);
}

.container-info-delivery > .trip-item-type > div.trip-type > span {
    /* position: absolute; */
    top: -1.5vw;
    font-size: 2.5vw;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
    width: 80%;
    background-color: #3a434c;
    color: #fff;
    padding: 0.5vw 1vw;
    border-radius: 1vw;
    display: block;
}

.container-info-delivery > .trip-item-type > div > img {
    display: block;
    width: 80%;
    margin: 10% auto;
    transition: transform 0.3s;
}

.container-info-delivery > .trip-item-type > div.active > img {
    transform: scale(1.25);
}

.container-info-delivery > .trip-item-type > div > p {
    text-align: center;
    font-size: 10pt;
    color: var(--main-seconds-color);
}

.container-info-delivery > .trip-item-type > div > p > span {
    font-size: 3vw;
    margin-right: 0.5vw;
    position: relative;
}


.container-info-delivery > .switch-type-trip {
    display: flex;
    float: left;
    width: 100%;
    justify-content: space-between;
    padding: 2vw 0;
    flex: unset;
    overflow: hidden;
}

.container-info-delivery > .switch-type-trip + .btn-confirm-scheduled-trip,
.container-info-delivery > .switch-type-trip.hide {
    display: none;
}

.container-info-delivery > .switch-type-trip.hide + .btn-confirm-scheduled-trip {
    display: flex;
}

.container-info-delivery > .btn-confirm-scheduled-trip {
    padding: 2vw;
    border: none;
    border-radius: 1vw;
    color: #fff;
    background-color: var(--main-color);
    width: 90%;
    font-size: 15pt;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 60px auto 0;
}

.container-info-delivery > .switch-type-trip > button {
    padding: 2vw;
    border: none;
    border-radius: 1vw;
    color: #fff;
    margin: 0 5px;
}

.container-info-delivery > .switch-type-trip > button:nth-child(2) {
    background: linear-gradient(90deg, var(--main-seconds-color) 50%, var(--main-color) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
}

.container-info-delivery > .switch-type-trip > button:nth-child(2) > i {
    font-size: 15pt;
}

.container-info-delivery > .switch-type-trip > button:nth-child(2) > span {
    font-size: 7pt;
}

.container-info-delivery > .switch-type-trip > button:first-child {
    background-color: var(--main-color);
    width: 90%;
    display: flex;
    padding: 10px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-size: 6vw;
    margin: 5px auto;
    color: #fff;
    color: #fff;
}

.container-info-delivery > .switch-type-trip > button:first-child:disabled:before {
    content: "";
    width: 5vw;
    height: 5vw;
    border: 5px solid transparent;
    border-top-color: #fff;
    position: absolute;
    left: 15vw;
    border-radius: 100%;
    animation: spin 2s infinite linear;
}

.container-info-delivery > .switch-type-trip > button:last-child {
    /* background-color: var(--main-color); */
    /* width: 70%; */
    font-size: 6vw;
}

.container-info-delivery > .btn-search-trip {
    border: none;
    padding: 3vw;
    font-size: 5vw;
    width: 100%;
    display: block;
    background-color: #e9991a;
    color: #fff;
    position: absolute;
    float: left;
    height: 12vw;
    bottom: 0;
}

.container-obs-delivery-info {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 210;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    transition: transform 300ms;
    transform: translateY(150%);
}

.container-obs-delivery-info.active {
    transform: translateY(0%);
}

.container-obs-delivery-info > nav {
    display: flex;
    padding: 15px;
    margin-bottom: 10px;
    align-items: center;
    justify-content: space-between;
}

.container-obs-delivery-info > nav > span {
    font-weight: 600;
    font-size: 13pt;
}


.container-obs-delivery-info > nav > span#titleObs{
    position:absolute;
    width: 60%;
    right:0;
    left:0;
    z-index:-1;
    margin:auto;
    text-align:center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    -webkit-box-orient: vertical;
}

.container-obs-delivery-info > nav > i {
    font-size: 20pt;
}

.container-obs-delivery-info > textarea {
    flex: 1;
    border: none;
    padding: 10px;
    outline: none;
}

.container-obs-delivery-info > button {
    margin: 10px;
    padding: 10px;
    background-color: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14pt;
}
