/**
 * Website/Theme: Tranh Shop Việt.
 *
 * Giao diện riêng website: Header, top bar, Footer cũ, liên hệ nổi,
 * hotline mobile và responsive. Không thuộc Core hoặc Module dùng chung.
 *
 * File: website/tranh-shop-viet/assets/css/tsv-site-theme.css
 */

/* Typography riêng website được quản lý tại:
 * website/tranh-shop-viet/assets/css/tsv-typography.css
 */


/* =====================================================
   01. HEADER RIÊNG WEBSITE
===================================================== */

/* Header search */
.header-search .is-small:hover {
    background: transparent !important;
}

.header-search .is-small i:hover {
    color: yellow;
}

.header-bottom-nav i {
    padding-right: 5px;
}

/* Căn giữa menu chính ở thanh xanh */
.header-bottom .flex-row {
    justify-content: center !important;
}

.header-bottom .flex-left,
.header-bottom .flex-center,
.header-bottom .flex-right {
    justify-content: center !important;
}

.header-bottom .nav {
    display: flex !important;
    justify-content: center !important;
    margin: 0 auto !important;
}

#wide-nav > .flex-row > .flex-left {
    width: 100% !important;
}

.html.custom.html_topbar_right {
    width: 100%;
}

.text_top {
    text-align: center;
    margin-top: -5px;
    margin-left: -10px;
}


/* Footer / thông tin công ty */
.name-cty {
    font-size: 17px;
    color: #ffe000;
}

.info-cty {
    font-size: 16px;
    margin-top: 5px !important;
}

.info-cty i {
    margin-top: 6px;
    margin-bottom: 7px;
    margin-right: 5px;
}

.info-cty li {
    padding: 7px 0 0;
    font-size: 15px;
}

div#block_widget-2 {
    max-width: 30%;
}

div#block_widget-5 {
    max-width: 18%;
}

div#block_widget-4 {
    min-width: 36%;
}

div#block_widget-7 {
    max-width: 40%;
}

.salogan {
    font-size: 14px;
    color: #003d7e;
    font-weight: 400;
}

.ten_cong_ty_dt span {
    color: #ea1515;
    text-shadow: 1px 1px #696969;
    animation: colorchange 2s infinite;
    -webkit-animation: colorchange 2s infinite;
    line-height: 35px;
    font-size: 22px;
    letter-spacing: 1px;
    font-weight: bold;
}

/* Liên hệ nổi */
.hotline-footer {
    display: none;
}

.float-contact {
    position: fixed;
    bottom: 25px;
    left: 15px;
    z-index: 99999;
}

.float-contact .chat-zalo {
    background: #0FA3DB;
    border-radius: 20px;
    padding: 0 10px;
    display: block;
    color: #fff;
    margin-bottom: 6px;
    font-size: 13px;
}

.float-contact .chat-facebook {
    background: #147ABE;
    border-radius: 20px;
    padding: 0 10px;
    display: block;
    color: #fff;
    margin-bottom: 6px;
    font-size: 13px;
}

.float-contact .hotline {
    background: #e12029;
    font-size: 15px;
    border-radius: 20px;
    padding: 0 0 0 10px;
    color: white;
    display: block;
    margin-bottom: 6px;
}

.float-contact .hotline:hover,
.float-contact .chat-facebook:hover,
.float-contact .chat-zalo:hover {
    color: #333;
}

.hotline i {
    font-size: 20px;
    line-height: 36px;
    background: #b52026;
    border-radius: 100%;
    width: 36px;
    height: 36px;
    text-align: center;
    float: right;
    margin-left: 5px;
}

/* Responsive header */
@media only screen and (max-width: 1170px) {
    .header-bottom-nav li {
        font-size: 12px;
    }

    .salogan {
        font-size: 13px;
    }

    .ten_cong_ty_dt span {
        font-size: 20px;
    }
}

@media only screen and (max-width: 1000px) {
    .header-bottom-nav li {
        font-size: 10px;
    }

    .salogan {
        font-size: 10px;
    }

    .ten_cong_ty_dt span {
        font-size: 16px;
    }
}

@media only screen and (max-width: 900px) {
    div#block_widget-5,
    div#block_widget-2,
    div#block_widget-7 {
        display: none;
    }
}

@media only screen and (max-width: 48em) {
    div#block_widget-4 {
        text-align: center;
    }

    .info-cty li {
        text-align: center !important;
    }

    .header .flex-row {
        height: 98%;
    }

    .flickity-page-dots {
        display: none;
    }

    .float-contact {
        display: none;
    }

    .hotline-footer {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 40px;
        text-transform: uppercase;
        z-index: 99;
        background: rgba(0, 0, 0, 0.6);
    }

    .hotline-footer .left,
    .hotline-footer .right {
        width: 33%;
        height: 100%;
        font-size: 11px;
        margin: 0;
        color: #fff;
        line-height: 40px;
        text-align: center;
        background: #1A80E6;
        opacity: 0.9;
    }

    .hotline-footer .left {
        float: left;
    }

    .hotline-footer .right {
        float: right;
    }

    .hotline-footer .center {
        font-weight: bold;
        font-size: 14px;
        width: 34%;
        float: left;
        height: 100%;
        color: #fff;
        line-height: 40px;
        margin: 0;
        text-align: center;
        background: #EA1515;
        opacity: 0.9;
    }

    .hotline-footer .right a,
    .hotline-footer .left a,
    .hotline-footer .center a {
        color: #fff;
    }
}
