﻿/* 首頁CSS Default.aspx */

/* Header */
header .navbar {
    background-color: transparent;
    border-bottom: 0;
    position: absolute;
    width: 100%;
    z-index: 3;
}

    header .navbar .logo img.logo-white {
        display: inline-block;
    }

header .navbar-nav {
    padding-top: 8px;
}

body:not(.fixed-header-on) header .logo-black {
    display: none;
}

body:not(.fixed-header-on) header .navbar-nav > li > a {
    color: #ffffff;
}

    body:not(.fixed-header-on) header .navbar-nav > li > a:hover,
    body:not(.fixed-header-on) header .navbar-nav > li > a.active,
    body:not(.fixed-header-on) header .navbar-nav > li.show > a {
        border-color: transparent;
        background-color: rgba(0,0,0,0.3);
        color: #9dcd0f;
    }

.navbar-toggle .icon-bar {
    background-color: #ffffff;
}

/* Button */
.btn-outline-yellow {
    color: #f4c32f;
    border: 2px solid #f4c32f;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 72px;
}

    .btn-outline-yellow:hover {
        background-color: #f4c32f;
        color: #000;
    }

/* Video Banner */
.video-banner {
    position: relative;
    width: 100%;
    height: calc(100vh - 0px);
    overflow: hidden;
}

    .video-banner video {
        min-width: calc(100% + 15px);
        min-height: calc(100vh - 0px);
        position: absolute;
        right: 0;
        bottom: 0;
        -ms-transform: translateX(50%) translateX(-50vw) translateY(50%) translateY(-50vh) translateY(0px);
        transform: translate(calc((100% - 100vw) / 2), calc((100% - 100vh + 0px) / 2));
    }

    .video-banner .card-img-overlay {
        background-color: rgba(0, 0, 0, 0.6);
    }

    .video-banner h1 {
        color: #ffffff;
        font-weight: bold;
        font-size: 12vw;
        text-shadow: 0px 4px 3px rgba(0,0,0,0.4), 0px 8px 13px rgba(0,0,0,0.1), 0px 18px 23px rgba(0,0,0,0.1);
    }

    .video-banner h2 {
        color: #ffffff;
        font-weight: bold;
        font-size: 6vw;
        text-shadow: 0px 4px 3px rgba(0,0,0,0.4), 0px 8px 13px rgba(0,0,0,0.1), 0px 18px 23px rgba(0,0,0,0.1);
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .video-banner h3 {
        color: #ffffff;
        text-shadow: 0px 4px 3px rgba(0,0,0,0.4), 0px 8px 13px rgba(0,0,0,0.1), 0px 18px 23px rgba(0,0,0,0.1);
    }

    .video-banner .social-links {
        position: absolute;
        bottom: 0;
        margin-bottom: calc(3vh + 1rem);
    }

    .video-banner .btn .phone {
        font-size: 0.8em;
    }

/* List */
#list-row-29 .list-item {
    border-radius: 10px;
    padding: 10px 15px 8px;
    margin: 10px;
    text-align: center;
    border: 1px solid #f2f2f2;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
}

    #list-row-29 .slick-current .list-item,
    #list-row-29 .list-item:hover {
        background-color: #7bbe33;
        color: #ffffff;
        cursor: pointer;
    }

    #list-row-29 .list-item h4 {
        text-align: center;
        font-weight: bold;
        margin: 0;
    }


#list-row-4 .slick-slider {
    background-color: #efefef;
    padding: 30px;
}

#list-row-4 .slick-arrow {
    position: absolute;
    top: calc(50% - 30px);
    right: calc(100% + 20px);
    font-size: 40px;
    color: #eaeaeb;
    z-index: 2;
}

#list-row-4 .slick-next {
    left: calc(100% + 20px);
    right: auto;
}

#list-row-4 h4 {
    display: none;
}

#list-row-4 .list-item ul {
    list-style: none;
    padding-left: 0;
}

    #list-row-4 .list-item ul > li {
        color: #345232;
        font-weight: bold;
        padding: 10px 0 15px;
        line-height: 1.7;
    }

        #list-row-4 .list-item ul > li img {
            display: inline-block;
            padding-right: 20px;
        }

    #list-row-4 .list-item ul > li {
        background-image: url(/Images/icon-green-stars.svg);
        background-position: left 5px;
        background-repeat: no-repeat;
        background-size: 32px 32px;
        padding-left: 50px;
    }

#list-row-4 .list-item.eld ul > li:nth-child(2) {
    background-image: url(/Images/icon-green-tree.svg);
}

#list-row-4 .list-item.eld ul > li:nth-child(3) {
    background-image: url(/Images/icon-green-delivery.svg);
}

#list-row-4 .list-item.gps ul > li:nth-child(1) {
    background-image: url(/Images/icon-green-lock.svg);
}

#list-row-4 .list-item.gps ul > li:nth-child(2) {
    background-image: url(/Images/icon-green-thief.svg);
}

#list-row-4 .list-item.gps ul > li:nth-child(3) {
    background-image: url(/Images/icon-green-route.svg);
}

#list-row-4 .list-item.dashcam ul > li:nth-child(1) {
    background-image: url(/Images/icon-green-caution.svg);
}

#list-row-4 .list-item.dashcam ul > li:nth-child(2) {
    background-image: url(/Images/icon-green-bar.svg);
}

#list-row-4 .list-item.dashcam ul > li:nth-child(3) {
    background-image: url(/Images/icon-green-accident.svg);
}

#list-row-4 .list-item.ifta ul > li:nth-child(1) {
    background-image: url(/Images/icon-green-dollar.svg);
}

#list-row-4 .list-item.ifta ul > li:nth-child(2) {
    background-image: url(/Images/icon-green-times.svg);
}

#list-row-4 .list-item.ifta ul > li:nth-child(3) {
    background-image: url(/Images/icon-green-check.svg);
}

#list-row-4 .list-item.api ul > li:nth-child(1) {
    background-image: url(/Images/icon-green-cog.svg);
}

#list-row-4 .list-item.api ul > li:nth-child(2) {
    background-image: url(/Images/icon-green-info.svg);
}

#list-row-4 .list-item.api ul > li:nth-child(3) {
    background-image: url(/Images/icon-green-bulb.svg);
}


#list-row-37 .slick-slider {
    padding: 15px 0;
}

#list-row-58 .list-item h1 {
    line-height: 1.0;
    font-weight: bold;
}

#list-row-58 .list-item p {
    margin-bottom: 0;
}

/* Youtube Video */
#section-list-38 {
    background-image: url(/Images/bg-road.gif), url(/Images/bg-road.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 10vw 0;
}

#list-row-40 .video-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: -5vw 0;
}

    #list-row-40 .video-container::after {
        padding-top: 56.25%;
        display: block;
        content: '';
    }

    #list-row-40 .video-container iframe {
        box-sizing: border-box;
        background: url(/Images/ipad-frame.png) center center no-repeat;
        background-size: contain;
        padding: 8% 13.9% 2.8% 14%;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

/* Quotation */
#list-row-37 .quotation {
    background-image: url('/Images/quotation-before.png'), url('/Images/quotation-after.png');
    background-position: top left, bottom right;
    background-repeat: no-repeat;
    background-size: 30px;
    padding: 30px 15px;
}

    #list-row-37 .quotation p:last-child {
        margin-bottom: 0;
    }

#list-row-37 .quotation-img img {
    border-radius: 100%;
    border: 1px solid black;
}

#list-row-37 .name {
    padding-left: 15px;
}

/* Pricing */
#list-row-16 .list-item {
    background-color: #7bbe33;
    margin: 15px;
}

    #list-row-16 .list-item h4 {
        position: relative;
        background-color: #ffffff;
        padding: 30px 15px 25px;
        color: #333333;
        text-align: center;
        font-size: 40px;
        font-weight: bold;
        margin: 10px 0 0;
    }

        #list-row-16 .list-item h4:before {
            content: "";
            background-image: url(/Images/icon-handshake.svg);
            background-repeat: no-repeat;
            width: 100px;
            height: 80px;
            position: absolute;
            top: -30px;
            left: -24px;
        }

#list-row-16 .basic .list-item h4:before {
    background-image: url(/Images/icon-cup.svg);
}

#list-row-16 .plus .list-item h4:before {
    background-image: url(/Images/icon-diamond.svg);
}

#list-row-16 .list-item ul {
    list-style: none;
    padding-left: 0;
}

    #list-row-16 .list-item ul > li {
        position: relative;
        padding: 5px 0 5px 30px;
        color: #f1f5ee;
    }

        #list-row-16 .list-item ul > li:before {
            font-family: 'FontAwesome';
            content: "\f00c";
            display: inline-block;
            font-size: 12px;
            line-height: 16px;
            text-align: center;
            border: 2px solid #ffffff;
            width: 20px;
            height: 20px;
            position: absolute;
            left: 0;
        }

#list-row-16 .card-body {
    min-height: 200px;
    padding: 2rem;
}

    #list-row-16 .card-body .card-hover-overlay {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 1.25rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
    }

    #list-row-16 .card-body:hover .card-hover-overlay {
        opacity: 1;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }

    #list-row-16 .card-body:hover > :not(.card-hover-overlay) {
        opacity: 0;
    }



@media (min-width: 576px) {
}

@media (min-width:768px) {

    /* Header */
    header .navbar {
        padding-top: 1rem;
    }

    header .navbar-nav {
        padding-top: 17px;
    }

    /* Banner */
    .video-banner h1 {
        font-size: 72px;
    }

    .video-banner h2 {
        font-size: 36px;
    }

    .video-banner h3 {
        font-size: 24px;
    }


    /* List */
    #list-row-29 .list-item {
        padding: 20px 15px;
    }

    #list-row-4 .list-item {
        line-height: 2.5;
    }

    /* Quotation */
    #list-row-37 .quotation {
        background-size: initial;
        padding: 60px 100px;
    }

    #list-row-37 .name {
        padding-left: 100px;
    }
}

@media (min-width:992px) {
}

@media (min-width:1200px) {

    /* Header */
    header .navbar-nav {
        padding-top: 20px;
    }
}
