.order-det-content {
    display: flex;
    flex-direction: column;
    padding: 0 5%;

}

.order-details-header {
    font-size: 50px;
    padding: 15px 0;
    text-align: end;
    padding-top: 40px;
}

.order-details-title {
    display: flex;
    flex-direction: row-reverse;
    font-size: 20px;
    opacity: 0.7;
}

.order-details-title span {
    display: flex;
    flex-direction: row-reverse;
}

.order-details-title a {
    color: #4A4A4A;
}

.order-details-time {
    font-size: 20px;
    padding: 2% 0;
    opacity: 0.5;
}

.order-details {
    display: flex;
    flex-direction: row-reverse;
}

.order-details-info {
    display: flex;
    flex-direction: column;
    margin-left: 3%;
}

.order-details-info-top {
    display: flex;
    flex-direction: row-reverse;
}

.order-details-info-avatar {
    width: 200px;
    height: 200px;
}

.order-data-content {
    width: 72%;
    display: flex;
    flex-direction: row-reverse;
}

.order-details-info-data {
    display: flex;
    flex-direction: column;
}

.col-order-details .list-unstyled {
    padding-right: 1rem !important;
    text-align: right;
}

.list-unstyled .pr-name {
    font-size: 22px;
    padding-top: 0 !important;
}

.list-unstyled .ord-name {
    opacity: 0.5;
    font-size: 20px;
}

.list-unstyled .question {
    font-size: 20px;
    color: #79d2f5;
}

.question .order-review {
    color: #79d2f5;
}
.question .order-open{
    color: #91D1A9;
}
.my-order-details-info-text {
    width: 100%;
    padding: 4px 10px;
    color: white;
    text-align: center;
    font-size: 16px;
    border-radius: 5px;
    display: flex;
    margin-bottom: 30px;
    align-items: center;
    justify-content: center;
}
.order-details-info-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.order-details-info-bottom a {
    padding: 5% 0 0 1rem;
}

.date-location-promo {
    display: flex;
    flex-direction: column;
    width: 60%;
    margin: 0 auto;
}
.rate-service-button .view-offers{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 64px;
    border-radius: 5px;
    background: #fad262;
    color: white;
    font-weight: 700;
    font-size: 20px;
    padding: 0 1.5rem;
    cursor: pointer;
}
.label-header {
    font-size: 20px;
    opacity: 0.5;
}

.label-value {
    font-size: 20px;
    padding-bottom: 20px;
}

.cancel-order {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 196px;
    height: 64px;
    border-radius: 5px;
    background: white;
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
}

.cancel-order span {
    opacity: 0.5;
}

.order-details-text {
    opacity: 0.5;
    font-size: 20px;
    line-height: normal;
    width: 860px;
    text-align: end;
}

.order-detail-images img {
    width: 64px;
    height: 64px;
    opacity: 1 !important;
}
.order-detail-images .order_file_video {
    width: 64px;
    height: 64px;
    opacity: 1 !important;
    overflow: hidden;
    position: relative;
}

.order-detail-images .order_file_video .play-video {
    width: 17px;
    height: 21px;
}
.order-detail-images .order_file_video video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transform: translate(0, 0);
}
.order_file{margin-right: 10px; margin-bottom: 10px}

.order-detail-images .label-header {
    margin-bottom: 2%;
}

.order-detail-images {
    text-align: end;
    flex-wrap: wrap;
}
.order-files{
  flex-wrap: wrap;
}

.order-detail-map {
    height: 220px;
    margin-top: 4%;
    margin-bottom: 2%;
}

.date-location-promo .dlp-col {
    margin-left: 9%;
}

.order-detail-translate {
    color: #79d2f5;
    cursor: pointer;
}

#translate .modal-dialog {
    width: 28%;
}

#translate .translate-content {
    width: 80%;
    min-height: 100px;
    margin: auto;
    text-align: center;
    overflow: hidden;
}

.order-details-info-bottom {
    display: grid;
}

#translate .close {
    width: 13%;
    position: relative;
}

/*Report Modal*/
#orderReport .modal-content {
    width: 585px;
    height: 467px;
    padding: 10px;
    margin: auto;
    border: none;
}

#orderReport .modal-content .modal-header {
    display: flex;
    font-size: 30px;
    flex-direction: row-reverse;
}

#orderReport .modal-content .modal-header div {
    margin-right: 4%;
}

#orderReport .modal-content .modal-header button {
    padding: 0;
    position: relative;
    right: 83%;
}

.report-reason-value textarea ,
.report-reason-value textarea:focus {
    width: 485px;
    height: 77px;
    margin: auto;
    direction: rtl;
    outline: unset;
    border: unset;
    box-shadow: none;
}

.report-textbox-label {
    width: 485px;
    font-size: 22px;
    line-height: 33px;
    padding-top: 20px;
    margin: auto;
    text-align: right;
}

.report-submit {
    position: relative;
    left: 38%;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    width: 312px;
    height: 64px;
    border-radius: 5px;
    background: #fad262;
    color: white !important;
    font-weight: 700;
    font-size: 20px;
    padding: 0 2rem;
    cursor: pointer;
    margin-top: 10%;
}


.order-details-info-avatar {
    width: 150px;
    height: 150px;
    background-color: white;
    border-radius: 6px;
}
.order-detail-row-4_buttons{
    display: flex;
    flex-direction: row-reverse;
}
.order-data-content {
    flex-direction: column-reverse;
    justify-content: flex-end;
}

.date-location-promo {
    flex-direction: row-reverse;
    padding-top: 5%;
    width: 100%;
}

.order-details-time, .order-details-text, .label-header {
    font-size: 16px;
}

.list-unstyled .ord-name {
    font-size: 16px;
}

.list-unstyled .question {
    font-size: 16px;
}

.order-details-text {
    width: auto;
    min-height: 15%;
    overflow: hidden;
}
.order-files {
    flex-wrap: wrap;
    justify-content: end;
}

.order-files {
    flex-wrap: wrap;
    justify-content: end;
}

@media only screen and (max-width: 1024px) {
    .order-detail-row-1{
        align-items: flex-start;
    }
    .order-detail-images{
        justify-content: end;
    }
    .order-details-info-top {
        width: 320px;
    }

    .order-details-info-avatar {
        width: 100px;
        height: 100px;
    }

    .list-unstyled .pr-name {
        font-size: 20px;
    }

    .order-details-info-bottom {
        flex-direction: column;
        align-items: flex-end;
    }

    .date-location-promo {
        flex-wrap: wrap;
        padding-top: 0;
    }

    .date-location-promo .dlp-col {
        width: 50%;
    }

    .order-details {
        display: none;
    }

    .order-data-content {
        flex-direction: column;
    }

    .order-details-640px {
        display: block;
    }

    .order-details-640px .order-detail-row-1 {
        flex-direction: row-reverse;
    }

    .order-details-640px .order-details-info-top {
        width: 100%;
    }

    .order-details-640px .order-details-info-avatar {
        width: 200px;
        height: unset;
    }

    .order-details-640px .order-details-info, .order-details-640px .order-detail-images {
        width: 50%;
        overflow: auto;
        justify-content: end;
    }
    .order-details-640px .order-detail-images{
        flex-wrap: wrap;
    }

    .order-details-640px .order-detail-images img {
        width: 76px;
        height: 76px;
        margin: 1%;
    }

    .order-details-640px .date-location-promo {
        flex-wrap: unset;
        white-space: nowrap;
    }

    .order-details-640px .order-details-info-bottom {
        display: block;
        text-align: right;
    }

    .order-details-640px .cancel-order, .order-details-640px .view-offers {
        width: 160px;
        font-size: 17px;
    }

    #translate .modal-dialog {
        width: unset;
    }

    .date-location-promo .label-value {
        white-space: initial;
    }
}

@media only screen and (max-width: 640px) {
    .order-details {
        flex-direction: column;
    }

    .order-details-info-bottom {
        display: block;
        text-align: end;
    }

    .date-location-promo {
        flex-wrap: nowrap;
        flex-direction: column;
        text-align: initial;
    }

    .order-details-640px {
        display: none;
    }

    .order-details-320px {
        display: block;
    }

    .order-det-content {
        width: auto;
    }

    .order-detail-row-4_buttons {
        flex-direction: column;
    }

    .order-details-320px .order-details-info-top {
        width: 100%;
    }

    .order-details-320px .order-details-info-avatar img {
        width: 100%;
        height: auto;
    }

    .order-details-320px .order-details-info-avatar {
        width: 31%;
        height: auto;
    }

    .order-details-320px .col-order-details .list-unstyled {
        line-height: 2;
    }

    .order-details-320px .order-detail-row-3 {
        margin-top: 5%;
        direction: rtl;
    }

    .order-details-320px .cancel-order, .order-details-320px .view-offers {
        width: 150px;
    }

    .order-detail-images img {
        width: 100%;
        height: 100%;
    }

    .order-detail-row-4_buttons {
        display: flex;
        flex-direction: column;
    }

    .order-details-320px .label-value {
        font-size: 26px;
    }

    .order-details-320px .order-details-text {
        font-size: 20px;
    }

}

@media (max-width: 440px) {
    #modalVideo{
        max-width: 300px;
    }
}
