body {
    background: #f3f4f6;
    margin: 0;
    padding: 0;
}

div {
    box-sizing: border-box;
}

/*    Trace page    */

.Trace_bg {
    width: 100%;
    height: 210px;
    background: linear-gradient(180deg, #fde125, #ffffff);
    background-image: url(/Public/Track/images/trackbg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.Trace_box {
    width: 100%;
    height: 210px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 0 18px;
    position: relative;
    z-index: 12;
}

.Trace_box_info {
    width: 100%;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.Trace_title {
    width: 100%;
    height: 55px;
    font-size: 18px;
    font-weight: bold;
    padding: 35px 0 0 7px;
}

.Trace_detail {
    width: 100%;
    height: 55px;
    font-size: 12px;
    padding: 6px 0 0 7px;
}

.Trace_search {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 36px;
    background: #f2f2f2;
    border-radius: 18px;
    padding: 6px 10px;
}

.Trace_search .icon-boat {
    font-size: 24px;
    color: #ff6800;
}

.Trace_search .icon-guanbi {
    align-self: center;
    color: #ccc;
}

.Trace_input {
    height: 24px;
    flex-grow: 2;
    border: none;
    background: none;
    padding: 0 10px;
}

.Trace_input:focus{
    outline: none;
}

.Trace_input::placeholder {
    font-size: 12px;
    color: #ddd;
}

.Trace_input:focus-visible {
    border: none;
}

.Trace_button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 36px;
    background: #fde125;
    border-radius: 18px;
    margin-top: 12px;
    font-size: 12px;
    font-weight: bold;
}

.Trace_button .icon-search {
    font-size: 14px;
    font-weight: normal;
}

.Trace_list {
    width: 100%;
    background: #fff;
    margin: 10px 0 20px;
}

.Trace_list_title {
    font-size: 12px;
    font-weight: bold;
    background: #fcf3b0;
    height: 25px;
    width: 130px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.Trace_list_item {
    width: 100%;
    margin: 0;
    padding: 0;
}

.Trace_list_item li {
    width: 100%;
    height: 36px;
    border-bottom: 1px solid #f2f2f2;
    font-size: 12px;
    color: #999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Trace_bg .Trace_list_item {
    display: none;
    height: 360px;
    background: #fff;
    position: relative;
    overflow-y: auto;
    z-index: 15;
    border-radius: 18px;
    margin-top: -42px;
    box-shadow: 0 3px 6px -4px rgba(0,0,0,.12), 0 6px 16px 0 rgba(0,0,0,.08), 0 9px 28px 8px rgba(0,0,0,.05);
}

.Trace_bg .Trace_list_item li {
    justify-content: left;
    padding: 0 10px 0 45px;
}

/*     ShipAis page     */

.SA_tab {
    width: 100%;
    height: 72px;
}

.SA_carrier {
    width: 100%;
    height: 38px;
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
    padding: 0 16px;
    display: flex;
    align-items: center;
}

.SA_carrier img {
    width: 22px;
    height: 15px;
}

.SA_carrier span {
    font-size: 13px;
    font-weight: bold;
    padding-left: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.SA_tab_ul {
    width: 100%;
    height: 33px;
    background: #eff1f6;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.SA_tab_li {
    display: inline-block;
    font-size: 12px;
    color: #333;
    border-right: 1px solid #ddd;
    flex-grow: 1;
    text-align: center;
    list-style: none;
}

.SA_tab_li:last-child {
    border: none;
}

.SA_tab_li_on {
    color: #ff6800!important;
}

.SA_tab_li_on span {
    display: inline-block;
    width: 48px;
    height: 4px;
    border-radius: 2px;
    background: #ff6800;
    position: absolute;
    margin-top: 20px;
}

.SA_item {
    width: 100%;
    background: #fff;
}

.SA_carrier_info {
    width: 100%;
    padding: 16px;
    display: flex;
    border-bottom: 1px solid #e7e7e7;
}

.SA_carrier_info img {
    width: 130px;
    height: 90px;
    border-radius: 2px;
    border: 1px solid #e7e7e7;
}

.SA_carrier_msg div {
    display: flex;
    height: 19px;
}

.SA_carrier_msg i {
    display: inline-block;
    width: 60px;
    font-size: 12px;
    line-height: 19px;
    color: #333;
    font-style: normal;
    text-align: right;
    margin-right: 16px;
}

.SA_carrier_msg span {
    display: inline-block;
    font-size: 12px;
    line-height: 19px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;    
}

.SA_status {
    background: #fdf8eb;
    padding: 10px 16px;
    font-size: 12px;
    color: #ff6800;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e7e7e7;
}

.SA_route {
    width: 100%;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    padding: 16px 0;
    border-bottom: 1px solid #e7e7e7;
}

.SA_port {
    width: 100%;
    display: flex;
}

.SA_port_name {
    width: 50%;
    text-align: center;
    font-size: 13px;
    color: #333;
    font-weight: bold;
}

.SA_port_terminal {
    width: 50%;
    text-align: center;
    font-size: 12px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;    
}

.SA_port_date {
    width: calc(25vw + 20px);
    text-align: right;
    font-size: 12px;
    color: #999;
}

.SA_port_dot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 10px 0;
    width: calc(25vw + 7px);
}

.SA_port_dot span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 14px;
    height: 14px;
    border: 1px solid #ff6800;
    border-radius: 8px;

}

.SA_port_dot em {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: #ff6800;
}

.SA_port_dot i {
    color: #ffba0b;
    margin-left: 6px;
    display: flex;
    align-items: center;
}

.icon-tips b {
    font-size: 10px;
    font-weight: normal;
    color: #fff;    
    position: relative;
    left: 0;
    margin-left: -35px;
}

.SA_tt_kn {    
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: calc(50vw - 14px);
    border-bottom: 1px solid #e7e7e7;
    position: relative;
}

.SA_tt_kn b {
    position: absolute;
    font-size: 11px;
    font-weight: normal;
    color: #ff9913;
    top: -8px;
}

.SA_tt_kn span {
    display: inline-block;
    position: relative;
    top: 6px;
    font-size: 10px;
    color: #fff;
    background: #ff9913;
    width: 34px;
    height: 13px;
    border-radius: 2px;
    text-align: center;
}

.SA_tt_process {
    width: calc(50vw - 40px);
    padding: 0 16px;
    display: flex;
    align-items: center;
}

.SA_tt_process span {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #fdf8eb;
    position: relative;
    display: flex;
}

.SA_tt_process i {
    display: inline-block;
    height: 100%;
    background: #ff9913;
    border-radius: 2px;
}

.SA_tt_process span svg {
    width: 20px;
    height: 20px;
    fill: #ff9913;
    position: absolute;
    top: -16px;
    left: 44%;
}

.SA_close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 35px;
    background: #fff;
}

.SA_close div {
    display: flex;
    justify-content: center;
    width: 64px;
    height: 4px;
    border-radius: 2px;
    background: #eff1f6;
}

.SA_close span {
    display: flex;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 8px;
    border: 1px solid #eff1f6;
    position: relative;
    top: 0;
    margin-top: -6px;
    background: #fff;
}

.SA_close .icon-arrowup {
    font-size: 12px;
    color: #ff6800;
}

.SA_position_btn {
    width: 100%;
    padding: 16px;
    background: #fff;
    display: flex;
    justify-content: space-between;
}

.SA_port_btn {
    width: 100%;
    padding: 16px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e7e7e7;
}

.SA_position_button {
    width: calc((100vw - 62px) / 4);
    height: 28px;
    border-radius: 2px;
    background: #ffba0b;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
}

.SA_position_button_on {
    background: #ff6800!important;
}

.SA_position_search {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
    display: flex;
    padding: 0 16px 16px;
}

.SA_position_input {
    height: 39px;
    border: 1px solid #ddd;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    flex-grow: 2;
    display: flex;
    align-items: center;
}

.SA_position_input .icon-clander {
    color: #ff6800;
    margin: 0 3px 0 4px;
}

.SA_position_input input[type='date'] {
    border: none;
    height: 36px;
    background: none;
    outline: none;
}
.SA_position_input label{width: 15px;display: inline-block;text-align: center;}

.SA_position_search_btn {
    width: 100px;
    height: 39px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    background: #ff6800;
    color: #fff;
    font-size: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.SA_position_search_btn .icon-search {
    font-size: 14px;
}

.SA_port_history {
    width: 100%;
    max-height: 367px;
    overflow-y: scroll;
    background: #fff;
    padding: 16px 16px 0;
    border-bottom: 1px solid #e7e7e7;
}

.SA_port_history ul {
    margin: 0;
    padding: 0;
}

.SA_port_history li {
    width: 100%;
    list-style: none;
    display: flex;
}

.SA_port_history_item_left {
    width: 16px;
    height: 100px;
}

.SA_port_history_item_left_dot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 16px;

}

.SA_port_history_item_left_dot span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 14px;
    height: 14px;
    border: 1px solid #ff6800;
    border-radius: 8px;

}

.SA_port_history_item_left_dot em {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: #ff6800;
}

.SA_port_history_item_left_dot i {
    color: #ffba0b;
    margin-left: 6px;
    display: flex;
    align-items: center;
}

.SA_port_history_item_left_line {
    width: 9px;
    height: 84px;
    border-right: 1px solid #e7e7e7;
}

.SA_port_history_item_left_line span {
    width: 14px;
    height: 14px;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    position: relative;
    top: 30px;
}

.SA_port_history_item_left_line .icon-next {
    font-size: 10px;
    color: #ff6800;
}

.SA_port_history_item_right {
    flex-grow: 2;
    padding-left: 16px;
}

.SA_port_history_item_name {
    width: 100%;
    display: flex;
    align-items: center;
    padding-bottom: 8px;
}

.SA_port_history_item_name img {
    width: 22px;
    height: 15px;
    margin-right: 10px;
}

.SA_port_history_item_name span {
    display: inline-block;
    max-width: calc(100vw - 120px);    
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.SA_port_history_item_name .icon-tips {
    margin-left: 10px;
    color: #008234;
    display: inline-flex;
    align-items: center;
}

.SA_port_history_item_info {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #999;
    padding-bottom: 6px;
}

.SA_port_history_item_info_dot {
    width: 22px;
    margin-right: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.SA_port_history_item_info_dot i {
    display: inline-block;
    width: 9px;
    height: 9px;
    border: 1px solid #ffba0b;
    border-radius: 5px;
}

.SA_port_history_item_info_dot b {
    display: inline-block;
    width: 1px;
    height: 11px;
    background: #e7e7e7;
    position: relative;
    top: -14px;
}

.SA_port_history_item_info_title {
    display: inline-block;
    color: #333;
    margin-right: 10px;
}

.SA_port_history_item_info_content {
    display: inline-block;
    max-width: calc(100vw - 155px);  
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.Mapleaf {
    width: 100%;
    height: 470px;
    position: relative;
    flex: 1;
    z-index: 9;
}

.Mapleaf img {
    width: 100%;
}

.SA_port_rotation {
    width: 100%;
    overflow-y: scroll;
    background: #fff;
    padding: 16px 16px 0;
    border-bottom: 1px solid #e7e7e7;
}


.SA_rotation_box {
    position: relative;
    width: 100%;
    max-height: calc(100vh - 200px);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.SA_rotation_list1,.SA_rotation_list2 {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.SA_rotation_list2 {
    flex-direction: column-reverse!important;
}

.SA_rotation_item {
    width: 100%;
    height: 40px;
    display: flex;
    padding: 0 10px;
    box-sizing: border-box;
}

.SA_rotation_list1 .SA_rotation_item {
    justify-content: flex-end !important;
}

.SA_rotation_pass .SA_rotation_port h1,.SA_rotation_pass .SA_rotation_port h2,.SA_rotation_pass .SA_rotation_tt h5,.SA_rotation_pass .SA_rotation_mid h5 {
    color: #ccc;
}

.SA_rotation_pass .SA_rotation_line h3 {
    border: 2px solid #ddd;
}

.SA_rotation_pass .SA_rotation_mid {
    border: 6px solid #ddd;
}

.SA_rotation_pass .SA_rotation_line h4 {
    background: #ddd;
}

.SA_rotation_now .SA_rotation_port h1,.SA_rotation_now .SA_rotation_port h2,.SA_rotation_now .SA_rotation_tt h5,.SA_rotation_now .SA_rotation_mid h5 {
    color: #ff6800;
}

.SA_rotation_now .SA_rotation_line h3 {
    border: 2px solid #ff6800;
}

.SA_rotation_now .SA_rotation_mid {
    border: 6px solid #ff6800;
}

.SA_rotation_now .SA_rotation_line h4 {
    background: #ff6800;
}

.SA_rotation_port h1 {
    font-size: 12px;
    color: #333;
    font-weight: normal;
    height: 22px;
    line-height: 30px;
    width: 117px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.SA_rotation_port h2 {
    font-size: 10px;
    font-weight: normal;
    color: #333;
    height: 18px;
    width: 117px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.SA_rotation_list1 .SA_rotation_port h1,.SA_rotation_list1 .SA_rotation_port h2 {
    text-align: right;
}

.SA_rotation_line {    
    position: relative;
}

.SA_rotation_line h3 {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    border: 2px solid #0088ff;
    box-sizing: border-box;
    margin: 14px 10px;
    background: #fff;
    position: relative;
    z-index: 3;
}

.SA_rotation_line h4 {
    width: 6px;
    background: #0088ff;
    height: 40px;
    position: absolute;
    top: 20px;
    left: 13px;
}

.SA_rotation_dot .SA_rotation_port h1,.SA_rotation_dot .SA_rotation_port h2,.SA_rotation_dot .SA_rotation_tt h5,.SA_rotation_dot .SA_rotation_mid h5 {
    color: #ff6800;
}
.SA_rotation_dot .SA_rotation_line h3 {
    border: 2px solid #ff6800;
}
.SA_rotation_dot .SA_rotation_mid{
    border: 6px solid #ddd;
}
.SA_rotation_dot .SA_rotation_line h4 {
    background: #ddd;
}

.SA_rotation_list1 .SA_rotation_item:last-child .SA_rotation_line h4,.SA_rotation_list2 .SA_rotation_item:last-child .SA_rotation_line h4 {
    display: none;
}

.SA_rotation_list2 .SA_rotation_item .SA_rotation_line h4 {
    top: unset;
    bottom: 20px;
}

.SA_rotation_list2 .SA_rotation_item:last-child .SA_rotation_line h3 {
    border-bottom: 12px solid #0088ff;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: none;
    border-radius: 0;
    margin: 14px 8px;
}

.SA_rotation_tt h5 {
    font-size: 12px;
    font-weight: normal;
    line-height: 80px;
    width: 28px;
    color: #333;
}

.SA_rotation_list2 .SA_rotation_tt h5 {
    text-align: right;
    line-height: 0;
}

.SA_rotation_list3 {
    height: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
    top: -16px;
}

.SA_rotation_mid {
    width: 114px;
    height: 80px;
    border: 6px solid #0088ff;
    box-sizing: border-box;
    border-radius: 40px;
    position: relative;
    top: -40px;
}

.SA_rotation_mid h5 {
    font-size: 12px;
    line-height: 100px;
    text-align: center;
    font-weight: normal;
    color: #333;
}
