img.lazyloading {
    opacity: 0.01;
}

img.lazyloaded {
    opacity: 1;
    transition: 0.3s all;
}

.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    transition: all 0.5s;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    max-width: 780px;
    transform: translatey(-30px);
    transition: all .5s;
}

.modal-dialog-size{
    width: 700px !important;
}
.modal .close{
    background: #333;
    color: #fff;
    opacity: 1;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-weight: 400;
    border-radius: 50% !important;
}
.modal-header .close{
    margin-top: -2px;
}
.modal{
    overflow-x: hidden;
    overflow-y: auto;
}
.tinhsize p{
    font-size: 16px;
    color: red;
    font-weight: 700;
}
.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    text-align: center;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* - - - chung - - -*/
.attr a {
    display: inline-block;
    min-width: 30px;
    height: 30px;
    overflow: hidden;
    line-height: 29px;
    border: 1px solid #fff;
    margin-right: 7px;
    transition: all 0.2s;
    box-shadow: 0 0 0 1px #B8B8B8;
    text-align: center;
    font-size: 14px;
    color: #000;
    padding: 0 2px;
}

.attr a:hover, .attr a.active {
    box-shadow: 0 0 2px 2px #FF7A00;
}

.unsel {
    cursor: not-allowed;
}

.deactive {
    background: #ccc;
    pointer-events: none;
}

#pagination .paginator {
    display: inline-flex;
    margin: 20px 0;
}

#pagination .paginator a, #pagination .paginator span.currentPage {
    border: 1px solid #000;
    padding: 7px 13px;
    font-weight: 500;
    font-size: 15px;
    -moz-transition: all 0.1s ease-in;
    -webkit-transition: all 0.1s ease-in;
    transition: all 0.1s ease-in;
    margin-right: 3px;
    color: #000;
}

#pagination .paginator a:hover, #pagination .paginator span.currentPage {
    background: #000;
    color: #fff;
}

.paginator a.paging-first:before {
    content: "\f100";
    font-family: FontAwesome;
}

.paginator a.paging-previous:before {
    content: "\f104";
    font-family: FontAwesome;
}

.paginator a.paging-next:before {
    content: "\f105";
    font-family: FontAwesome;
}

.paginator a.paging-last:before {
    content: "\f101";
    font-family: FontAwesome;
}

#pagination .paginator .labelPages, #pagination .paginator .titlePages {
    display: none;
}

/* - - - chung - - -*/

.ui-tooltip {
    padding: 5px 10px;
    color: white;
    box-shadow: 0 0 7px black;
    font-size: 14px;
}

.ui-tooltip, .arrow:after {
    background: black;
    /*border: 2px solid white !important;*/
}

.arrow {
    width: 70px;
    height: 16px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    margin-left: -32px;
    bottom: -16px;
}

.arrow:after {
    content: "";
    position: absolute;
    left: 20px;
    top: -20px;
    width: 20px;
    height: 20px;
    box-shadow: 6px 5px 9px -9px black;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    tranform: rotate(45deg);
}

.no-padding {
    padding: 0;
}

a:hover {
    text-decoration: none;
}


.smart-search-wrapper > a.thumbs {
    width: 32px;
    display: inline-block;
    padding: 5px 0px;
}

.smart-search-wrapper > a.thumbs img {
    position: absolute;
    top: 0px;
    width: 32px;
    height: 35px;
    left: 0px;
}

.smart-search-wrapper {
    position: fixed;
    background: #fff;
    border: 1px solid rgb(215, 215, 215);

    border-top: none;
    z-index: 999;
}

.smart-search-wrapper > a {
    width: calc(100% - 32px);
    float: left;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: pre;
    color: #686767;
    text-decoration: none;
    line-height: 29px;
    font-size: 13px;
    font-family: sans-serif;
    padding: 5px 160px 5px 5px;
    position: relative;
    height: 35px;
}

.smart-search-wrapper > a.select, .smart-search-wrapper > a:hover {
    background: -webkit-linear-gradient(left, #fff, #EAEAEA); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(left, #fff, #EAEAEA); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(left, #fff, #EAEAEA); /* For Firefox 3.6 to 15 */
    background: linear-gradient(left, #fff, #EAEAEA); /* Standard syntax (must be last) */
    color: #000;
}

.smart-search-wrapper > a > span.price-search {
    position: absolute;
    right: 5px;
    top: 0px;
}

#home-main-slider img {
    width: 100%;
}

form.f ul li {
    list-style: none;
}
.cn_city.text-center {
    padding: 30px 0 30px;
}

.cn_city.text-center h3{
    font-size: 24px;
    text-transform: uppercase;
    color: #2d2d2d;
    line-height: 1.3;
    margin: 0;
    font-weight: bold;
}
.list-branch .item-branch .img-branch {
    height: 150px;
    overflow: hidden;
    object-fit: contain;
}
.list-branch .item-branch .img-branch img{
    width: 100%;
    object-fit: contain;
    float: left;
}
.list-branch .item-branch .content-branch {
    background: #ede2cf;
    min-height: 144px;
    padding: 25px 15px 15px;
    text-align: center;
}
.list-branch .item-branch .content-branch .name-branch {
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: bold;
}
.list-branch .item-branch .content-branch .address-branch {
    font-size: 13px;
    text-transform: uppercase;
}
.list-branch .item-branch .content-branch .hotline-branch {
    color: #656565;
    font-weight: bold;
}
@media (min-width: 768px) {
    .product-item .product-normal .product-img > a img {
        max-height: 250px;
    }
    .hd-home.scrolldown .grid__item.large--two-twelfths.logo-box{
        display: none;
    }
    .hd-other.scrolldown .grid__item.large--two-twelfths.logo-box{
        display: none;
    }
    #breadcrumb-wrapper.breadcrumb-w-img .breadcrumb-content{
        top: 80% !important;
    }
}


.product-item .product-normal .product-img .product-actions {
    top: initial;
}
.title-cart{
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #eee;
    font-size: 13px;
}
.tp_product_hot, .tp_product_betseller{
    display: none;
}

.logo-scroll{
    display: none;
    float: left;
}
.hd-home.scrolldown .logo-scroll{
    display: inline-block !important;
}
.hd-other.scrolldown .logo-scroll{
    display: inline-block !important;
}
.logo-scroll{
    width: 110px;
}
.product-title h3{
    font-size: 14px;
    font-weight: 700;
}
