﻿/********** Template CSS **********/
:root {
    --primary: #4761FF;
    --secondary: #555555;
    --light: #F1F3FA;
    --dark: #1C2035;
    --backgroundGray: #f1f1f1ff;
}

body{
    padding-top:55px;
    background-color: var(--backgroundGray);
}

@media (min-width:1400px){
    .main {
        min-height:600px;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}

/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-square:hover,
.btn-sm-square:hover,
.btn-lg-square:hover {
    transform: scale(1.2);
}

/*** Navbar ***/
.sticky-top {
    position:sticky;
    top: 0px;
    transition: .5s;
}

.navbar .navbar-nav {
    justify-content:space-between;
    width:100%; 
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .nav-item {
    width:100%;
}

.navbar .navbar-left .nav-item {
    display:flex;
    align-items:center;
}

.navbar-nav .navbar-left .nav-item img{
    width:100%;
}

/*.navbar .navbar-mid .nav-item {
    justify-content:center;
}*/

.navbar .navbar-nav ul {
    list-style-type: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .navbar-nav .nav-link:hover::before,
.navbar .navbar-nav .nav-link.active::before {
    width: 100%;
    transition: all 0.5s;
}

.navbar .navbar-nav .navbar-mid li:hover {
    background-color: rgb(243, 243, 243);
    border-radius: 20px;
}

.navbar .navbar-nav .nav-link {
    position: relative;
    padding: 13px 10px ;
}

.navbar .navbar-mid .nav-link::before {
    content: "";
    background-color: blue;
    position: absolute;
    width: 0;
    left:0;
    height: 3px;
    bottom: 1px;
}

.navbar .dropdown-toggle{
    margin:0 !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    display: none;
    content: "";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-nav .navbar-mid li {
    position:relative;
}

.navbar-nav .navbar-mid li a {
    text-align: center;
}

.navbar-nav .navbar-mid li .dropdown-toggle svg {
    padding: 0 53px;
}

.navbar-nav .navbar-mid li a span {
    display: none;
}

.navbar-nav .navbar-mid li a svg {
    padding:0px 30px;
    font-size:25px;
}

.navbar .nav-item a img {
    width: 50px;
    border-radius: 25px;
    transform: translateY(-5px);
}

.navbar .nav-item input {
    min-height:auto !important;
    height: 100% !important;
}
.navbar .navbar-left .nav-item svg {
    position: absolute;
    right: 4%;
    top: 15%;
    font-size: 20px;
    color: gray;
    padding: 10px;
    cursor: pointer;
}


.navbar .icon-cart-quantity {
    position: absolute;
    top: 1px;
    left: 75px;
    background-color: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50px;
    padding: 3px 9px;
    transform:scale(0.9);
}

.navbar .navbar-right {
    width:12%;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
     
    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

@media (max-width: 1400px) {
    .navbar-nav .navbar-mid li a svg {
        padding: 0px 0px;
        font-size: 25px;
    }

    .navbar-nav .navbar-mid li a::before{
        display:none;
    }

    .navbar-right {
        width: 17% !important;
    }
}

@media (max-width: 992px) {
    .navbar .navbar-nav .navbar-left {
        display: none !important;
    }

    .navbar .navbar-nav .navbar-mid {
        display: block !important;
    }

    .navbar .dropdown-toggle::after {
        display: inline-block;
    }

    .navbar .dropdown-toggle::after {
        content: "\f107";
    }

    .navbar-nav .navbar-mid li a {
        text-align: start;
    }

    .navbar-nav .navbar-mid li .dropdown-toggle svg {
        padding: 0 5px;
    }

    .navbar-nav .navbar-mid li a span {
        display: inline-block;
    }

    .navbar-nav .navbar-mid li a svg {
        padding: 0px 5px;
        font-size: 30px;
    }

    .navbar .icon-cart-quantity {
        top: -1px;
        left: 22px;
    }

}

@media only screen and (max-width: 768px) {
    .navbar .icon-cart-quantity {
        top: -1px;
        left: 25px;
    }

    .navbar .navbar-mid .nav-link::before {
        display:none;
    }

    .navbar .navbar-right {
        width: 100% !important;
    }


    .navbar .navbar-right li{
        display:block;
    }

     .navbar .navbar-right{
        display:block !important;
    }
}

/*** Breadcrumb ***/

.breadcrumb {
    padding-top:10px;
}

.breadcrumb .b_content a{
    text-decoration:none;
}

/*** Carousel ***/

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
}

#header-carousel .carousel-item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position:center;
    overflow:hidden;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 250px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display:none;
    }

    .carousel-caption{
        padding-top:0;
        padding-bottom:0;
    }

    .carousel-caption .container {
        height: 100%;
    }

    .carousel-caption p {
        height: 30px;
        margin-bottom: 5px !important;
        font-size: 20px !important;
    }

    .carousel-caption h1 {
        width: 150px;
        height: 140px;
        font-size:30px !important;
    }

    .carousel-caption a {
        padding: 10px 30px 10px 30px !important;
    }

}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/theme_img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

    .page-header .breadcrumb-item + .breadcrumb-item::before {
        color: var(--light);
    }

    .page-header .breadcrumb-item,
    .page-header .breadcrumb-item a {
        font-size: 18px;
        color: var(--light);
    }


/*** Features ***/
.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.feature-item svg{
    color:blue;
    font-size:50px;
}


/*** About ***/
.about {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/Banner_3.jpg) left center no-repeat;
    background-size: cover;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

    .btn-play:before {
        content: "";
        position: absolute;
        z-index: 0;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        display: block;
        width: 90px;
        height: 90px;
        background: var(--primary);
        border-radius: 100%;
        animation: pulse-border 1500ms ease-out infinite;
    }

    .btn-play:after {
        content: "";
        position: absolute;
        z-index: 1;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        display: block;
        width: 90px;
        height: 90px;
        background: var(--primary);
        border-radius: 100%;
        transition: all 200ms;
    }

    .btn-play span {
        display: block;
        position: relative;
        z-index: 3;
        width: 0;
        height: 0;
        left: 3px;
        border-left: 30px solid #FFFFFF;
        border-top: 18px solid transparent;
        border-bottom: 18px solid transparent;
    }



@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.about .content svg {
    color: blue;
    font-size: 50px;
    margin-bottom: 10px;
    background-color: #f1f1f1ff;
    padding: 15px 10px;
    border-radius: 60px;
}

.about .content svg:hover {
    transform:scale(1.2);
    transition:all 0.5s;
}

    
/*** Service ***/
.service-item .service-text {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
    transition: all  .5s;
    z-index: 2;
}

.service-item .service-text svg{
    color:blue;
    font-size:50px;
}

.service-item:hover .service-text {
    top: -1.5rem;
}

.service-item .service-text h5 {
    transition: .5s;
}

.service-item:hover .service-text h5 {
    color: var(--primary);
}

.service-item .service-btn {
    position: absolute;
    width: 80%;
    height: 3rem;
    left: 10%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-btn {
    bottom: -1.5rem;
}



/*** Team ***/
.team-item {
    position: relative;
    text-align: center;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

    .team-item .team-social {
        position: absolute;
        padding: 0;
        top: 15px;
        left: 0;
        overflow: hidden;
    }

        .team-item .team-social li {
            list-style-type: none;
            margin-bottom: 10px;
            margin-left: -50px;
            opacity: 0;
            transition: .5s;
        }

    .team-item:hover .team-social li {
        margin-left: 15px;
        opacity: 1;
    }

    .team-item .team-social li .btn {
        background: #FFFFFF;
        color: var(--primary);
        border-radius: 40px;
        transition: .5s;
    }

        .team-item .team-social li .btn:hover {
            color: #FFFFFF;
            background: var(--primary);
        }

    .team-item .team-social li:nth-child(1) {
        transition-delay: .1s;
    }

    .team-item .team-social li:nth-child(2) {
        transition-delay: .2s;
    }

    .team-item .team-social li:nth-child(3) {
        transition-delay: .3s;
    }

    .team-item .team-social li:nth-child(4) {
        transition-delay: .4s;
    }

    .team-item .team-social li:nth-child(5) {
        transition-delay: .5s;
    }


/*** Testimonial ***/
.testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
}

    .owl-item .testimonial-item,
    .testimonial-item * {
        transition: .5s;
    }

    .owl-item.center .testimonial-item,
    .testimonial-item:hover {
        background: var(--primary);
    }

        .owl-item.center .testimonial-item *,
        .testimonial-item:hover * {
            color: #FFFFFF !important;
        }

    .testimonial-item img {
        width: 100px !important;
        height: 100px !important;
        border-radius: 100px;
    }

.testimonial-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 0;
    display: flex;
}

    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        margin-left: 15px;
        width: 55px;
        height: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--secondary);
        border-radius: 55px;
        box-shadow: 0 0 45px rgba(0, 0, 0, .15);
        font-size: 25px;
        transition: .5s;
    }

        .testimonial-carousel .owl-nav .owl-prev:hover,
        .testimonial-carousel .owl-nav .owl-next:hover {
            background: var(--primary);
            color: #FFFFFF;
        }

@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        top: -70px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

        .testimonial-carousel .owl-nav .owl-prev,
        .testimonial-carousel .owl-nav .owl-next {
            margin: 0 7px;
            width: 45px;
            height: 45px;
            font-size: 20px;
        }
}


/*** Footer ***/
footer {
    color: #FFFFFF;
    background-color: #00abe0 !important;
}   

footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
}

.copyright {
    background: #00abe0;
}

.copyright a:hover {
    color: var(--primary) !important;
}

.footerLogo img {
    padding-left: 50px;
}

.footer-email-wrap {
    margin-top: 50px;
}

.footer-email-wrap a {
    color: #FFFFFF !important;
}

.footer-email-wrap a:hover {
    color: #06517c !important;
}

.container-fluid .container .d-flex .footer-social-wrap {
    margin-left: 2%;
    overflow-wrap: break-word;
    width: 160px;
}

.footer-social-wrap a {
    color: #FFFFFF;
    background-color: #1e8ccc;
    border-color: #1e8ccc;
}

.container-fluid .container .logo img {
    width: 100%;
}

.logo {
    width: 40%;
    margin-left: 25%;
}

.container-fluid .container .text-center span {
    font-size: 160%;
    font-weight: bold;
    color: #1c427f;
    font-family: RoundedNext !important;
}
@media all and (min-width:417px) {
    .container-fluid .container .footer-address-mobile {
        display: none;
    }
}

@media all and (max-width: 416px) {
    .container-fluid .container .logo img {
        width: 195%;
        margin-left: -35%;
    }
    .container-fluid .container .footer-address {
        display: none;
    }
    .support {
        margin-top: 1px;
    }
}



.container-fluid .container .footer-right h4 {
    color: #1c427f;
    font-size: 22px;
    margin-top: 2%;
}

.footer-copy {
    font-size: 15px;
    margin-left: 35px;
}




/*** Chi Tiet San Pham ***/


.login-form{
    box-sizing:border-box;
    background-color: var(--backgroundGray);
    padding: 19.5px 50px;
}

.login-container .content {
    background-color: white;
    height:auto !important;
    border-radius:20px;
    overflow:hidden;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}


.login-container .content .form{
    height:100%;
    border-right:1px solid black;
}


.login-container .content .form{
    height:100%;
    border-right:0.1px solid rgba(184, 184, 184,0.3);
  
}

.login-container .content form{
    width:100%;
    padding:10px 20px;
}



@media (max-width: 768px) {
    .login-form {
        min-height: 95vh;
        padding: 10px;
    }

    .login-container {
        width: 100%;
        min-height: 95vh;
    }

    .login-form .login-img{
        display:none;
    }

    .login-container .content .form {
       display:block !important;
       border:none;
    }

    .login-container .content {
        display: block !important;
        padding: 30px;
    }

}