.flex-container{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.flex-item-box {
    flex: 1 0 30%;
    height: 60px;
    margin-top:20px;
    margin-bottom:20px;
    display: flex;
    text-align: center;
    justify-content: center;
}
.box{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width:330px;
    padding-bottom: 5px;
    /* box-shadow: 1px 2px lightsteelblue; */
}

.flex-item-box:nth-of-type(1) {
    flex: 1 0 45%;
}
.flex-item-box:nth-of-type(2) {
    flex: 1 0 45%;
}
.flex-item-box:nth-of-type(4) {
    flex: 1 0 90%;
}
.flex-item-box:nth-of-type(5) {
    flex: 1 0 90%;
}
.status-default-b{
    border-top: 10px solid royalblue;
    border-bottom: 10px solid royalblue;
}
.status-default{
    border: 1px solid #000;
    color:#000;
    border-radius: 5px;
}
.status-default span{
    color:#000;
}
.status-red{
    border: 1px solid #dc3545;
    color:#000;
    border-radius: 5px;
}
.status-red a span{
    color:#000;
}
.status-green{
    border: 1px solid #28a745;
    color:#000;
    border-radius: 5px;
}
.status-green a span{
    color:#000;
}
.status-yellow{
    border: 1px solid #ffc107;
    color:#000;
    border-radius: 5px;
}
.status-yellow a span{
    color:#000;
}
.item-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex: 1;
    height: 180px;
    margin-top: 10px;
    text-align: center;
    font-size: 1rem;
}
.desktop-container{
    padding-left: 7%;
    padding-right: 7%;
}
.count-shipment{
    font-size: 1.5rem;

}
.flex-item-box a:hover{
    text-decoration: none;
}

body{margin-top:20px;}
.timeline {
    border-left: 2px solid #d3d3d3;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    margin: 0 auto;
    letter-spacing: 0.2px;
    position: relative;
    line-height: 1.4em;
    font-size: 1.03em;
    padding: 50px;
    list-style: none;
    text-align: left;
    max-width: 50%;
}
.custom-button{
    color:#000;
    background-color: #ffde0f;
    border: none;
    min-width: 130px;
    max-width:200px;
    margin: 4px 2px;
    padding: 8px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    cursor: pointer;
    font-weight: 700;
    border-radius: 3px;
    box-shadow: 1px 2px 3px 0px rgba(0,0,0,.2);
}
.custom-button:hover{
    color:#000;
    text-decoration: none;
    background-color: #ffc107;
}
.custom-button-sm{
    color:#000;
    background-color: #ffde0f;
    border: none;
    min-width: 130px;
    max-width:200px;
    margin: 4px 2px;
    padding: 5px 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    cursor: pointer;
    font-weight: 700;
    border-radius: 3px;
    box-shadow: 1px 2px 3px 0px rgba(0,0,0,.2);
}
.custom-button-sm:hover{
    color:#000;
    text-decoration: none;
    background-color: #ffc107;
}
.custom-button-icon{
    color:#000;
    background-color: #ffde0f;
    border: none;
    min-width: 130px;
    max-width:200px;
    margin: 4px 2px;
    padding: 8px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    cursor: pointer;
    font-weight: 700;
    border-radius: 3px;
    box-shadow: 1px 2px 3px 0px rgba(0,0,0,.2);
}
.custom-button-icon:hover{
    color:#000;
    text-decoration: none;
    background-color: #ffc107;
}
.custom-button-icon-sm{
    color:#000;
    background-color: #ffde0f;
    border: none;
    min-width: 130px;
    max-width:200px;
    margin: 4px 2px;
    padding: 5px 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    cursor: pointer;
    font-weight: 700;
    border-radius: 3px;
    box-shadow: 1px 2px 3px 0px rgba(0,0,0,.2);
}
.custom-button-icon-sm:hover{
    color:#000;
    text-decoration: none;
    background-color: #ffc107;
}
.custom-button-green{
    color:#fff;
    min-width: 130px;
    max-width:200px;
    margin: 4px 4px;
    background-color: #38c172;
    border: none;
    padding: 8px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    cursor: pointer;
    font-weight: 700;
    border-radius: 3px;
    box-shadow: 1px 2px 3px 0px rgba(0,0,0,.2);
}
.custom-button-green:hover{
    color:#fff;
    text-decoration: none;
    background-color: #2b8651;
}
.custom-button-disabled{
    color:#fff;
    min-width: 130px;
    max-width:200px;
    margin: 4px 4px;
    background-color: #d3d3d3;
    border: none;
    padding: 8px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    cursor: pointer;
    font-weight: 700;
    border-radius: 3px;
    box-shadow: 1px 2px 3px 0px rgba(0,0,0,.2);
}
.custom-button-disabled:hover{
    color:#fff;
    text-decoration: none;
    background-color: #d3d3d3;
}
.text-label{
    font-weight: bold;
}
.custom-search {
    position: relative;
  }
  .custom-search-input {
    width: 100%;
    padding-right: 100px !important;
    box-sizing: border-box;
  }
  .custom-search-botton {
    position: absolute;
    right: 3px;
    top: 3px;
    bottom: 3px;
    line-height: 1 !important;
    z-index: 4;
  }
.selected-address{
    color:#709fff !important;
}
.checkbox_row{
    height:20px;
    width:20px;
    vertical-align:middle;
}
.checkbox{
    height:32px;
    width:32px;
    vertical-align:middle;
}
.table-inside td{
    padding:0 !important;;
}
textarea.form-control,input.form-control,select.form-control{
    border-color: #000;
}
.arrow-back{
    position: absolute;
    padding-top: 5px;
    left: 80px;
    border:none;
    cursor:pointer;
    background:#fff;
}
.arrow-back2{
    width:50px;
    height: 40px;
    position: absolute;
    padding-top: 5px;
    left: 80px;
    border:none;
    cursor:pointer;
    background:#fff;
    z-index: 999;
}
.back-icon{
    font-size:2rem;
    font-weight:bold;
}
.long-arrow-right,
.long-arrow-left{
    display: block;
    width: 18px;
    height: 18px;
    border-top: 4px solid #000;
    border-left: 4px solid #000;
  }
  .long-arrow-right{
    transform: rotate(135deg);
   }
  .long-arrow-left{
   transform: rotate(-45deg);
  }
  .long-arrow-right::after,
  .long-arrow-left::after{
    content: "";
    display: block;
    width: 4px;
    height: 20px;
    background-color: black;
    transform: rotate(-45deg) translate(6px, 0px);
    left: 0;
    top: 0;
  }
  .custom-button-no-border{
    color:#72a0ff;
    background-color: #fff;
    border: none;
    padding: 5px 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    cursor: pointer;
}
.disable-color{
    color:#6e6e6e !important;
    cursor: not-allowed;
}

.custom-button-no-border:hover{
    color:#4b6bad;
    text-decoration: none;
}
.btn_advanced_search{
    text-decoration: none;
    color:#000;
    width: 30px;
    height:30px;
    cursor:pointer;
}
.btn_advanced_search i{
    position: relative;
    top: -5px;
}
.content-mobile{
    display: none;
}
.header-margin-top{
    margin-top:30px;
}
.mobile-row-shipment{
    border: 1px solid #000;
    padding: 10px;
    width: 100%;
    display: flex;
    margin-bottom: 10px;
}
.my-active span{
    background-color: #5cb85c !important;
    color: white !important;
    border-color: #5cb85c !important;
}
.label-upload-photo{
    cursor: pointer;
 }

 .upload-photo {
    opacity: 0;
    position: absolute;
    z-index: -1;
    width: 50px;
 }
@media (max-width: 767px) {
    .timeline {
        max-width: 98%;
        padding: 25px;
    }
    .arrow-back{
        left:30px;
    }
    .arrow-back2{
        left:30px;
    }
    .modal-dialog {
       padding: 0 !important;
       margin:0 !important;
    }
    #addressModal .modal-content,#modal_estimation .modal-content,#QrCodeModal .modal-content
    {
        min-height:100vh;
    }
    #dashboard-header{
        display: none;
    }
    .flex-item-box {
        height: 90px;
        margin: 5px 10px;
        flex: 1 0 100%;
    }
    .flex-item-box:nth-of-type(1) {
        flex: 1 0 100%;
    }
    .flex-item-box:nth-of-type(2) {
        flex: 1 0 100%;
    }
    .flex-item-box:nth-of-type(4) {
        flex: 1 0 100%;
    }
    .flex-item-box:nth-of-type(5) {
        flex: 1 0 100%;
    }
    .box{
        width:100%;
    }
    .count-shipment{
        font-size:2rem;
    }
    .mobile-text-center{
        text-align: center !important;
    }
    .content-desktop{
        display: none;
    }

    .content-mobile{
        display: block;
    }
    .header-margin-top{
        margin-top:10px;
    }
    .navbar{
        top:0;
        position: fixed !important;
        width: 100%;
        z-index: 1000;
    }
    .mobile-container{
        margin-top:70px !important;
    }
    .message_estimation_box{
       max-width:220px
    }
    .desktop-container{
        padding-left: 10px;
        padding-right: 10px;
    }
    .mobile-btn-addfriend{
        position: absolute;
        right: 20px;
        bottom: 12px;
    }
}

.timeline h1 {
    font-weight: 300;
    font-size: 1.4em;
}

.timeline h2,
.timeline h3 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
}

.timeline .event {
    padding-bottom: 10px;
    margin-bottom: 10px;
    position: relative;
}

@media (max-width: 767px) {
    .timeline .event {
        padding-top: 30px;
    }
}

.timeline .event:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

.timeline .event:before,
.timeline .event:after {
    position: absolute;
    display: block;
    top: 0;
}

.timeline .event:before {
    left: -230px;
    content: attr(data-date);
    text-align: right;
    font-weight: 100;
    font-size: 0.9em;
    min-width: 120px;
}

@media (max-width: 767px) {
    .timeline .event:before {
        left: 0px;
        text-align: left;
    }
}

.timeline .event:after {
    -webkit-box-shadow: 0 0 0 3px #727cf5;
    box-shadow: 0 0 0 3px #0b9dd1;
    left: -57px;
    background: #0b9dd1;
    border-radius: 50%;
    height: 12px;
    width: 12px;
    content: "";
    top: 5px;
}

@media (max-width: 767px) {
    .timeline .event:after {
        left: -31.8px;
    }
}

.rtl .timeline {
    border-left: 0;
    text-align: right;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    border-right: 3px solid #727cf5;
}

.rtl .timeline .event::before {
    left: 0;
    right: -170px;
}

.rtl .timeline .event::after {
    left: 0;
    right: -55.8px;
}
.active ~ .event::after {
  background: #d3d3d3;
  box-shadow: 0 0 0 3px #d3d3d3;
}

.hidden-search{
    display: none;
}
.tracking-font{
    font-family: monospace !important;
}


.time-line-p {
    font-size: 1em;
    line-height: 1.75em;
    margin: 0;
    padding: 15px;
    counter-increment: section;
    position: relative;
    }
    .time-line-p:before {
      content: counter(section);
      position: absolute;
      border-radius: 50%;
      height: 1.5em;
      width: 1.5em;
      background-color: #3490dc;
      text-align: center;
      line-height: 1.55em;
      color: white;
      font-size: 1em;
    }

  .time-line-p {
    border-left: 3px solid #d3d3d3;
    padding-right: 0;

  }
  .time-line-p:before {
    right: 100%;
    margin-right: -10px;
  }
  .time-line-p:first-child {
    border-top: 0;
    border-top-right-radius:0;
    border-top-left-radius:0;
  }
  .time-line-p:last-child {
    border-bottom-right-radius:0;
    border-bottom-left-radius:0;
  }


