﻿.input-group {
    box-shadow: 0px 4px 7px rgba(0,0,0,0.4);
    border-radius: 5px;
}

.shadow-custom {
    border-radius: 40px 0 0 0;
    box-shadow: 2px 6px 8px rgba(0,0,0,0.4);
}

.shadow-custom2 {
    border-radius: 0 0 30px 0;
    box-shadow: 4px -2px 10px rgba(0,0,0,0.4);
}

* {
    font-family: 'Noto Serif Lao', serif;
}

.bg-image {
    /* background-image: url('https://cdn.pic.in.th/file/picinth/logot334f3f43cbd50ee1a.png');*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    max-width: 100%;
    height: auto !important;
}

:root {
    --primary-clr: #4daeee;
    --silver-clr: #d0d0d3;
    --blue-clr: #201cf5e3;
    --white-clr: #edece7;
    --orange-clr: rgb(255, 106, 0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: 500;
    font-family: 'Noto Serif Lao', serif;
}

body {
    /* background-color: #201cf5e3; */
    background-color: #f9f9f8;
}

.btn-custom {
    padding: 5px 15px;
    text-decoration: none;
    background: transparent;
    border: 2px solid var(--primary-clr);
    color: var(--primary-clr);
    display: inline-block;
    position: relative;
    text-transform: uppercase;
    font-size: 12px;
    border-radius: 5px;
    transition: all 0.3s;
    box-shadow: 2px 2px 0 var(--primary-clr);
}

.btn-custom:hover {
    box-shadow: none;
    top: 2px;
    left: 2px;
}

i {
    max-width: 100%;
    padding: 17px;
    color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    margin-top: -20px;
}

.container .title {
    text-align: center;
    padding: 10px 0;
    font-size: 40px;
    margin-bottom: 80px;
}

#timeline {
    font-size: 14px;
    /*width: 90%;*/
    margin: 30px auto;
    line-height: 1.5em;
    position: relative;
    transition: all 0.3s;
}
#timeline1 {
    font-size: 14px;
    width: 90%;
    margin: 30px auto;
    line-height: 1.5em;
    position: relative;
    transition: all 0.3s;
}

#timeline,
#timeline *,
#timeline *::before,
#timeline *::after {
    box-sizing: border-box;
}
#timeline1,
#timeline1 *,
#timeline1 *::before,
#timeline1 *::after {
    box-sizing: border-box;
}

#timeline::before {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 0;
    background-color: var(--silver-clr);
}
#timeline1::before {
    content: "";
    width: 100%;
    height: 4px;
    position: absolute;
    left: 0;
    top: 25px;
    background-color: var(--silver-clr);
    transition: background 0.5s ease;
}
.half-background1::before {
    background: linear-gradient(to right, var(--orange-clr) 10%, transparent 40%);
}
.half-background2::before {
    background: linear-gradient(to right, var(--orange-clr) 50%, transparent 75%);
}
.half-background3::before {
    background: linear-gradient(to right, var(--orange-clr) 100%, transparent 100%);
}
#timeline .timeline-item {
    margin-bottom: 30px;
    position: relative;
}
#timeline1 .timeline-item1 {
    margin-bottom: 30px;
    position: relative;
}

#timeline .timeline-item .timeline-icon {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -23px;
    border-radius: 50%;
    /* background-color: var(--blue-clr); */
    background: linear-gradient(rgb(255, 194, 150), rgb(255, 106, 0));
    /*background: linear-gradient(#d5d5d5, #d5d5d5);*/
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.6);
    font-size: 24px;
    z-index: 1;
}
#timeline1 .timeline-item1 .timeline-icon1 {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -23px;
    border-radius: 50%;
    /* background-color: var(--blue-clr); */
    background: linear-gradient(#ffffff, #d7d7d7);
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.6);
    font-size: 24px;
    z-index: 1;
}

#timeline .timeline-item .timeline-icon i {
    width: 50%;
}
#timeline1 .timeline-item1 .timeline-icon1 i {
    width: 50%;
}

#timeline .timeline-item .timeline-content {
    width: 45%;
    padding: 20px;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
    /* box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.5); */
    /* background-color: #fff; */
    background-color: var(--silver-clr);
    transition: all 0.3s;
}

#timeline .timeline-item .timeline-content h5 {
    padding: 4px 5px 0 15px;
    color: #000;
    margin: -20px -20px 5px -20px;
    font-weight: 900;
    font-size: 16px;
    border-radius: 3px 3px 0 0;
    /* background-color: var(--primary-clr); */
    background-color: var(--silver-clr);
}

#timeline .timeline-item .timeline-content::before {
    content: "";
    position: absolute;
    top: 20px;
    right: -5px;
    width: 14px;
    height: 14px;
    display: block;
    border-radius: 3px;
    transform: rotate(45deg);
    /* background-color: var(--primary-clr); */
    background-color: var(--silver-clr);
}

#timeline .timeline-item .timeline-content.right {
    float: right;
}

#timeline .timeline-item .timeline-content.right::before {
    left: -5px;
    right: inherit;
}

#timeline .timeline-item:after,
#timeline .timeline-item::before {
    content: "";
    display: block;
    width: 100%;
    clear: both;
}
#timeline1 .timeline-item1:after,
#timeline1 .timeline-item1::before {
    content: "";
    display: block;
    width: 100%;
    clear: both;
}

.head_bg {
    background: linear-gradient( #001c5a,#00539c);
    padding-bottom: 60px;
    border-radius: 0 0px 30px 30px;
    box-shadow: 2px 7px 7px rgba(0,0,0,0.7);
    color: #fff;
    margin: 0px -20px !important;
}

.app-content {
    margin-left: 0;
}

.theme-collapse-btn {
    display: none;
}

.dataTables_length {
    margin-bottom: 15px;
}

#titletruck {
    font-size: 50px;
    /*padding-left: 70px;*/
    /*padding-top: -10px;*/
    color: #FF6A00;
    font-weight: 600;
    text-shadow: 3px 4px 4px rgba(0, 0, 0, 0.3);
}
.Text-Truckplate {
    color: #fff;
    text-shadow: 3px 4px 4px rgba(0, 0, 0, 0.8);
    /*font-weight: 600;*/
}

.horizontal {
    display: flex;
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.horizontal::before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: .2em;
    background-color: lighten(#000, 95%);
}

.line {
    display: block;
    position: absolute;
    width: 100%;
    height: .3em;
    background-color: var(--silver-clr);
    top: 25px;
}

.app {
    padding-top: 0;
}
.banner-img {
    background-image: url('/img/Truckstatus-banner.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 360px;
    border-radius: 10px;
    box-shadow: 7px 7px 7px rgba(0, 0, 0, 0.2);
    margin-bottom: 18px;
}
.text-banner {
    position: absolute;
    top: 15px;
    background-color: #f9f9f8;
    border-radius: 0 0 10px 0;
    padding: 10px 15px;
}
.input-searchTruck {
    position: absolute;
    z-index: 1;
    top: 300px;
    right: 64px;
    width: 84%;
}
.card {
    border-radius: 10px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}
.text-detail1 {
    font-size: 14px;
}
.text-detail {
    position: absolute;
    width: 100px;
    top: 60px;
    left: -56px;
    font-size: 18px;
    text-align: center;
}
.img-status {
    margin: 12px 0 0 11px;
    width: 60%;
}
/*.card-style{
    height:460px;
}*/
.text-time {
    text-align:center;
}
@media (max-width:666px) {
    .banner-img {
        background-size: cover;
        background-position: unset;
        width: 100%;
        height: 212px;
    }
    .input-searchTruck {
        top: 156px !important;
        right: 28px !important;
    }
    .Text-Truckplate{
        font-size:14px;
    }
    #timeline .timeline-item .timeline-icon {
        width: 35px;
        height: 35px;
        position: absolute;
        top: 0;
        left: 50%;
        margin-left: -23px;
        border-radius: 50%;
        background: linear-gradient(rgb(255, 194, 150), rgb(255, 106, 0));
        box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.6);
        font-size: 14px;
        z-index: 1;
    }
    #timeline1 .timeline-item1 .timeline-icon1 {
        width: 35px;
        height: 35px;
        position: absolute;
        top: 0;
        left: 50%;
        margin-left: -23px;
        border-radius: 50%;
        background: linear-gradient(#ffffff, #d7d7d7);
        box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.6);
        font-size: 14px;
        z-index: 1;
    }
    .fa-pen-to-square {
        margin: -6px 0 0 -5px !important;
    }
    .fa-truck-arrow-right {
        margin: -5px 0 0 -8px !important;
    }
    .fa-check {
        margin: -5px 0 0 -5px !important;
    }
    .line{
        top:18px;
    }
    
    /*#timeline {
        width: 84%;
    }*/
    .text-status {
        font-size: 16px;
        width: 124%;
        /*white-space: nowrap;*/
    }
    .text-status-detail {
        font-size: 14px;
        width: 140%;
    }
    #timeline::before {
        left: 47% !important;
    }
    .text-time{
        font-size:14px;
    }
    
    .hideCard {
        border: none;
        box-shadow: none;
        background: transparent;
        margin-top: -30px !important;
        margin-bottom: 0px !important;
    }
    .text-detail {
        margin-top:-14px;
    }
    .banner-img{
        margin-bottom:0;
    }
    #timeline1::before {
        content: "";
        width: 100%;
        height: 4px;
        position: absolute;
        left: 0;
        top: 18px;
        background-color: var(--silver-clr);
    }
    .img-status {
        margin: 10px 0 0 8px;
    }
    .time-detail{
        margin-left:-18px !important;
    }
    .container{
        margin-top:0px;
    }
    .card-style {
        height: 400px;
    }
}
@media (max-width:767px) {
    .car-number {
        display: none;
    }
    .text-detail1 {
        font-size: 12px;
    }
    .flex-reverse {
        flex-direction: column-reverse
    }
}
@media (max-width:991px) {
    .input-searchTruck {
        top: 274px;
        right: 28px;
    }
    .text-banner {
        top: 8px;
    }
    .text-detail {
        font-size: 14px !important;
    }
}

/*@media (max-width: 991.98px) {
    .app-content {
        padding: .55rem .55rem;
        margin-left: 0;
    }
}*/