﻿

button#send-button {
    margin: 10px;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: GoogleSans Bold,Arial,sans-serif !important;
    margin-bottom: 60px;
}

a {
    text-decoration: none;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    border-bottom: 1px solid black;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.LogoImg {
    width: 60px;
    height: 60px;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px !important;
    margin: auto;
}

.navbar {
    height: 90px;
    transition: height .3s;
}

.navbar-collapse {
    flex-grow: 1;
}

.navbar-nav {
    list-style-type: none;
    padding: 0;
}

.navbar-small {
    height: 60px;
    transition: height 0.5s;
}

.navbar-brand img {
    height: 40px;
    transition: height 0.5s;
}

.navbar-small .navbar-brand img {
    height: 40px;
}


.nav-item {
    position: relative;
    display: inline-block;
}

    .nav-item::after {
        content: '';
        position: absolute;
        left: 25%;
        bottom: -2px;
        width: 50%;
        height: 3px;
        background-color: #008fec;
        opacity: 0;
        transition: opacity 0.5s;
    }

    .nav-item:hover a {
        text-decoration:auto;
        cursor: pointer;
    }


        .nav-item .drop-down-products {
            width: 680px;
            transform: translateX(-30%);
        }

.dropdown-menu span {
    font-weight: bold;
}

.dropdown-menu a {
    color: #212529 !important;
    transition: all .5s;
}

    .dropdown-menu a:hover {
        color: #0077cc !important;
        background-color: #fff;
        border-color: #f2f0f7;
        box-shadow: 0 20px 30px 0 rgba(12,0,46,.1),0 -1px 0 0 rgba(243,241,248,.004);
        transform: scale(1.05);
    }

.dropdown-menu li {
    padding: 10px;
}


.drop-down-products {
    text-align: left;
}

    .drop-down-products li a {
        padding: 10px 40px 10px 10px;
    }

    .drop-down-products a img {
        width: 30px;
    }

.nav-item:hover .knowledge {
    width: 50rem;
    display: flex;
    align-items: flex-start;
    transform: translateX(-30%);
}

    .nav-item:hover .knowledge li {
        list-style-type: none
    }

.nav-item:hover .product {
    transform: translateX(-10%);
}

.nav-item:hover .support {
    transform: translateX(-10%);
}

.nav-item:hover .news {
    transform: translateX(-10%);
}

.nav-link {
    text-decoration: none;
    padding: 10px;
    transition: all .5s;
    color: #212121 !important;
}

    .nav-link:hover {
        color: #008fec;
    }


.dropdown-menu {
    display: none;
}


.search-container {
    position: relative;
}

#search-form {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background: white;
    padding: 10px;
    border: 1px solid #ccc;
    box-shadow: 10px 10px 15px rgb(55 85 183/6%);
    width: 200px;
    height: 200px;
}

#header {
    font-size: 18px;
}

.navbar-nav .nav-item {
    padding: 0 10px 0 10px;
}

.footer-right a {
    margin: 0 20px 0 20px;
}

.partner-img {
    width: 80px;
    height: 80px;
}

.company-name {
    font-weight: 600;
}

.phone-email {
    line-height: 20px;
}


/*css cho footer*/

.footer-container {
    background: url("../img/_Layout/bg-erp-slider.jpg") no-repeat center center;
    background-size: cover;
    width: 100%;
    height: auto;
    padding: 20px;
    color: #fff;
}

    .footer-container .container {
        max-width: 1000px;
        margin: auto;
    }

    .footer-container h6 {
        font-weight: bold;
    }

    .footer-container ul {
        padding-left: 0;
        list-style-type: none;
    }

        .footer-container ul li {
            padding: 10px 0;
        }

            .footer-container ul li a {
                color: rgba(255,255,255,.8);
                font-size: 14px;
                text-decoration: none;
            }

                .footer-container ul li a:hover {
                    text-decoration: underline;
                }

    .footer-container .social-icons a {
        color: #fff;
        margin-right: 15px;
        font-size: 24px;
    }

        .footer-container .social-icons a:hover {
            color: #ccc;
        }

    .footer-container hr {
        border-color: rgba(255, 255, 255, 0.2);
    }

    .footer-container img {
        max-width: 15%;
        height: auto;
        padding-right: 10px
    }


@media(max-width:991px) {
    .navbar-collapse {
        text-align: left;
        background-color: white;
        margin-top: 30px;
        padding: 15px;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        z-index: 998;
        
        overflow-y: auto;
    }

    .nav-item:hover::after {
        opacity: 0;
    }
    .nav-item .drop-down-products{
        width:325px;
    }
    .drop-down-products {
        transform: translateX(10px) !important;
    }
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); 
        z-index: 997;
    }

    .navbar-collapse.show + #overlay {
        display: block;
        z-index: 997;
    }

    body.nav-open {
        overflow: hidden;
    }
}
