﻿body {
    background-color: #fafafa;
    color: black;
}

.navbar {
    /*min-height:70px;*/
    margin-bottom:-20px;
}
.hre1 {
    border: none;
    height: 2px;
    /* Set the hr color */
    color: red; /* old IE */
    background-color: red; /* Modern Browsers */
    margin-top:-5px;
}
/*.dropdown{
    position:relative;
    display:inline-block;
}
.dropdown-content{
    display:none;
    position:absolute;
    background-color:#f5f5f5;
    z-index:1;
}
.dropdown:hover .dropdown-content{
    display:block;
}*/
.menu {
    /*background-color: gray;*/
}
.tieude1 {
    /*background-color: #333333;
    color: red;
    /*text-align: center;*/
    /*font-weight: bold;*/
    border-bottom: 2px solid red;
    margin-bottom: 10px;
    display: block;
    margin-top:15px;
    
}
.tieude2 {
    /*background-color: #333333;
    color: red;
    /*text-align: center;*/
    /*font-weight: bold;*/
    border-bottom: 2px solid #009999;
    margin-bottom: 10px;
    display: block;
    margin-top: 10px;
}
h2.tde {
    margin: 0;
    font-size: 22px;
    line-height: 20px;
    display: inline-block;
    text-transform: uppercase;
}
h2.tde :after {
    content: "";
    width: 0;
    height: 0;
    border-top: 40px solid transparent;
    border-left: 20px solid #EA3A3C;
    border-bottom: 0px solid transparent;
    border-right: 0 solid transparent;
    position: absolute;
    top: 0px;
    right: -20px;
}
h2.tde span {
    background: #EA3A3C;
    padding: 10px 20px 8px 20px;
    color: white;
    position: relative;
    display: inline-block;
    margin: 0;
}

h3.tde {
    margin: 0;
    font-size: 18px;
    line-height: 20px;
    display: inline-block;
    text-transform: uppercase;
}

    h3.tde :after {
        content: "";
        width: 0;
        height: 0;
        border-top: 40px solid transparent;
        border-left: 20px solid #009999;
        border-bottom: 0px solid transparent;
        border-right: 0 solid transparent;
        position: absolute;
        top: 0px;
        right: -20px;
    }

    h3.tde span {
        background:#009999;
        padding: 10px 20px 8px 20px;
        color: white;
        position: relative;
        display: inline-block;
        margin: 0;
    }


.sub-cat {
    display: inline-block;
    margin: 0;
    margin-bottom:5px;
    line-height: 45px;
    margin-right: 10px;
    float: right;
}
[class^="col-"] {
    padding-left: 0;
    padding-right: 0;
}
.mota1 {
    text-align:justify;
    font-size: 20px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top:10px;
}
.mota2 {
    text-align: justify;
    font-size: 20px;
    font-style:italic;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
}
.tuyendung {
    text-decoration-line: underline;
    text-align: center;
    font-weight:bold;
}
.footter {
    background-color: black;
    font-size: 16px;
    color:wheat;
    font-family:Cambria;
}
.tencongty{
    display:none;
}
@media screen and (max-width: 768px) {
   .tencongty{
       display:block;
       color:red;
       font-weight:bold;
       font-size:25px;
       margin-top:10px;
       
      
   }
}
.min {
    display: none;
}

@media screen and (max-width: 768px) {
    .min {
        display: block;
    }
}
.brandmax{
    display:block;
}
@media screen and (max-width: 768px) {
    .brandmax {
        display: none;
    }
}
.brandmin{
    display:none;
}
@media screen and (max-width: 768px) {
    .brandmin {
        display: block;
        margin: 0 auto;
        margin-top: 17px;
    }
}
.cartmax {
    display: block;
}

@media screen and (max-width: 768px) {
    .cartmax {
        display: none;
    }
}
.giohangmin{
    display:none;
}
@media screen and (max-width: 768px) {
    .giohangmin {
        display: block;
        float: right;
        margin-top: 10px;
        margin-right: 10px;
    }
}
.addimg {
    border: solid;
    width: 150px;
    height: 150px;
    background-image: url('../img/AddImg.png');
    background-repeat:no-repeat;
}

/*css cho phan login*/
.header {
    background-color: #cccccc;
    min-height: 70px;
    padding: 15px;
}
.main {
    background-color: #dddddd;
    min-height: 300px;
    padding: 7.5px 15px;
}
.footer {
    background-color: #cccccc;
    min-height: 70px;
    padding: 15px;
}
.containeredit {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.login-form {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    background-color: #ffffff;
    padding: 15px;
    border: 2px dotted #cccccc;
    border-radius: 10px;
}
.h1edit {
    color: #009999;
    font-size: 20px;
    margin-bottom: 30px;
}
.input-box {
    margin-bottom: 10px;
    color:black;
}

    .input-box input {
        padding: 7.5px 15px;
        width: 100%;
        border: 1px solid #cccccc;
        outline: none;
    }

.btn-box {
    text-align: right;
    margin-top: 30px;
}
    .btn-box button {
        padding: 7.5px 15px;
        border-radius: 2px;
        background-color: #009999;
        color: #ffffff;
        border: none;
        outline: none;
    }
/*phan css cho khung hien thi san pham*/
.products {
    padding: 20px 0;
    text-align: center;
}

.products div div {
    padding: 5px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: 0.2s;
}

.products div:hover div {
    /*margin-top: -10px;*/
    border: 1px solid rgb(200, 200, 200);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 5px 2px;
    background: rgba(200, 200, 200, 0.1);
    transition: 0.5s;
}

.dl-horizontal dt {
    float: left;
    width: 120px;
    overflow: hidden;
    clear: left;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dl-horizontal dd {
    margin-left: 140px;
    text-align: left;
}

/*CSS CHO PHAN PRODUCTDETAIL*/
.preview {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

@media screen and (max-width: 996px) {
    .preview {
        margin-bottom: 20px;
    }
}

.preview-pic {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.preview-thumbnail.nav-tabs {
    border: none;
    margin-top: 15px;
}

    .preview-thumbnail.nav-tabs li {
        width: 18%;
        margin-right: 2.5%;
    }

        .preview-thumbnail.nav-tabs li img {
            max-width: 100%;
            display: block;
        }

        .preview-thumbnail.nav-tabs li a {
            padding: 0;
            margin: 0;
            cursor: pointer;
        }

        .preview-thumbnail.nav-tabs li:last-of-type {
            margin-right: 0;
        }

.tab-content {
    overflow: hidden;
}

    .tab-content img {
        width: 100%;
        -webkit-animation-name: opacity;
        animation-name: opacity;
        -webkit-animation-duration: .3s;
        animation-duration: .3s;
    }

.card {
    margin-top: 0px;
    padding: 3em;
    line-height: 1.5em;
}

@media screen and (min-width: 997px) {
    .wrapper {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }
}

.details {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.colors {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.product-title, .price, .sizes, .colors {
    text-transform: UPPERCASE;
    font-weight: bold;
}

    .checked, .price span {
        color: #ff9f1a;
    }

.product-title, .rating, .product-description, .price, .vote, .sizes {
    margin-bottom: 15px;
}

.product-title {
    margin-top: 0;
}

.size {
    margin-right: 10px;
}

    .size:first-of-type {
        margin-left: 40px;
    }

.color {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    height: 2em;
    width: 2em;
    border-radius: 2px;
}

    .color:first-of-type {
        margin-left: 20px;
    }

.add-to-cart, .like {
    background: #ff9f1a;
    padding: 1.2em 1.5em;
    border: none;
    text-transform: UPPERCASE;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    -webkit-transition: background .3s ease;
    transition: background .3s ease;
}

    .add-to-cart:hover, .like:hover {
        background: #b36800;
        color: #fff;
        text-decoration: none;
    }

.not-available {
    text-align: center;
    line-height: 2em;
}

    .not-available:before {
        font-family: fontawesome;
        content: "\f00d";
        color: #fff;
    }

.orange {
    background: #ff9f1a;
}

.green {
    background: #85ad00;
}

.blue {
    background: #0076ad;
}

.tooltip-inner {
    padding: 1.3em;
}

@-webkit-keyframes opacity {
    0% {
        opacity: 0;
        -webkit-transform: scale(3);
        transform: scale(3);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes opacity {
    0% {
        opacity: 0;
        -webkit-transform: scale(3);
        transform: scale(3);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
/*button home*/
.btn-top {
    background-image: url('../img/btn_top (2).png');
    background-repeat: no-repeat;
    border: medium none;
    bottom: 20px;
    cursor: pointer;
    display: none;
    height: 50px;
    outline: medium none;
    padding: 0;
    position: fixed;
    right: 20px;
    width: 50px;
    z-index: 9999;
}
/*CSS cho phan CART*/
.table > tbody > tr > td, .table > tfoot > tr > td {
    vertical-align: middle;
    color:red;
}

@media screen and (max-width: 600px) {
    table#cart tbody td .form-control {
        width: 20%;
        display: inline !important;
    }

    .actions .btn {
        width: 36%;
        margin: 1.5em 0;
    }

    .actions .btn-info {
        float: left;
    }

    .actions .btn-danger {
        float: right;
    }

    table#cart thead {
        display: none;
    }

    table#cart tbody td {
        display: block;
        padding: .6rem;
        min-width: 320px;
    }

    table#cart tbody tr td:first-child {
        background: #333;
        color: #fff;
    }

    table#cart tbody td:before {
        content: attr(data-th);
        font-weight: bold;
        display: inline-block;
        width: 8rem;
    }



    table#cart tfoot td {
        display: block;
    }

        table#cart tfoot td .btn {
            display: block;
        }
}

/*css cho footer*/
/* Footer */
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

section {
    padding: 60px 0;
}

    section .section-title {
        text-align: center;
        color: #007b5e;
        margin-bottom: 50px;
        text-transform: uppercase;
    }

#footer {
    /*background: black !important;*/
}

    #footer h5 {
        padding-left: 10px;
        border-left: 3px solid #eeeeee;
        padding-bottom: 6px;
        margin-bottom: 20px;
        color: #ffffff;
    }

    #footer a {
        color: #ffffff;
        text-decoration: none !important;
        background-color: black;
        -webkit-text-decoration-skip: objects;
    }

    #footer ul.social li {
        padding: 3px 0;
    }

        #footer ul.social li a i {
            margin-right: 5px;
            font-size: 25px;
            -webkit-transition: .5s all ease;
            -moz-transition: .5s all ease;
            transition: .5s all ease;
        }

        #footer ul.social li:hover a i {
            font-size: 30px;
            margin-top: -10px;
        }

        #footer ul.social li a,
        #footer ul.quick-links li a {
            color: #ffffff;
        }

            #footer ul.social li a:hover {
                color: #eeeeee;
            }

    #footer ul.quick-links li {
        padding: 3px 0;
        -webkit-transition: .5s all ease;
        -moz-transition: .5s all ease;
        transition: .5s all ease;
    }

        #footer ul.quick-links li:hover {
            padding: 3px 0;
            margin-left: 5px;
            font-weight: 700;
        }

        #footer ul.quick-links li a i {
            margin-right: 5px;
        }

        #footer ul.quick-links li:hover a i {
            font-weight: 700;
        }

@media (max-width:767px) {
    #footer h5 {
        padding-left: 0;
        border-left: transparent;
        padding-bottom: 0px;
        margin-bottom: 10px;
    }
}
/*dieu chinh kich thuoc font chu trong trang sp*/
.tenSP {
    font-size: 2rem;
}

@media (max-width:767px){
    .tenSP{
        font-size:1rem;
    }
}
.tenSPSearch {
    font-size: 2rem;
}

@media (max-width:767px) {
    .tenSPSearch {
        font-size: 2rem;
    }
}
.GiaBan{
    font-size:2rem;
    color:red;
}
@media (max-width:767px) {
    .GiaBan {
        font-size: 1.2rem;
        color:red;
    }
}
.pagination{
    float: right;
}

#hoptimkiemMin {
    display: none;
}

@media screen and (max-width: 768px) {
    #hoptimkiemMin {
        display: block;
    }

    #hoptimkiem {
        display: none;
    }
}
/*.btn-primary{
    background-color:orangered;
}*/
.productss {
    padding: 2px 0;
}
/*==========================================================*/
#datepicker {
    width: 180px;
    margin: 0 20px 20px 20px;
}

    #datepicker > span:hover {
        cursor: pointer;
    }
