/*!
Theme Name: underscores child
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: https://dangminhhai.net/
Template: underscores
Description: Underscores Personal Theme
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: underscores
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

underscores is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*-- site general css --*/
html, body {
    /* overflow-x: hidden; */
    margin-bottom: 0 !important;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}

.hidden {
    display: none;
}

.img-content {
    width: 100%;
}

.hover-img-wrapper {
    width: 100%;
    display: inline-block;
    overflow: hidden !important;
}

.hover-img {
    transition: all .5s ease-in-out;
}

.archive-post-wrapper:hover .hover-img,
.content-invest:hover .hover-img,
.index-product-wrapper:hover .hover-img {
    transform: scale(1.5);
}

.content-wrapper {
    padding: 50px 0;
}

.content-title-wrapper {
    margin-bottom: 20px;
    border-bottom: solid 1px #CCC;
}

.content-title {
    margin-bottom: 0;
    padding-bottom: 10px;
    font-size: 22px;
    line-height: 31px;
    display: inline-block;
    border-bottom: solid 3px #11705B;
}

.content-title,
.archive-title,
.woocommerce-products-header__title {
    font-weight: 700;
}
/*-- end site general css --*/


/*-- site top header css --*/
.site-top-header {
    padding: 10px 0;
}

.top-header {
    height: 100%;
    display: flex;
    align-items: center;
}

.search-form,
.search-form label,
.search-field {
    width: 100%;
}

.search-field,
.search-submit {
    height: 40px;
}

.search-form {
    position: relative;
}

.search-field {
    padding-left: 10px !important;
    border-radius: 10px !important;
    border: solid 1px #A68843 !important;
}

.search-field:focus {
    outline: none;
}

.search-submit {
    top: 0;
    right: 0;
    padding-left: 15px;
    padding-right: 15px;
    color: #FFF;
    border-radius: 0 10px 10px 0;
    border-color: #A68843;
    background: #A68843;
    position: absolute;
}

.header-socials {
    justify-content: end;
}

.header-socials a {
    margin-left: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: solid 1px #11705B;
}

.header-socials a,
.header-socials a:visited {
    color: #A68843;
}

.header-socials a:hover,
.header-socials a:focus {
    color: #FFF;
    background: #11705B;
}
/*-- end site top header css --*/


/*-- site navigation css --*/
#site-navigation {
    background: #11705B;
    border-bottom: solid 3px #A68843;
}
/*-- end site navigation css --*/


/*-- site breadcrumbs css --*/
.breadcrumbs-wrapper {
    margin-bottom: 20px;
    padding: 10px 0;
    background: #CCC;
}

#breadcrumbs {
    margin: 0;
}

#breadcrumbs,
#breadcrumbs a,
#breadcrumbs a:hover,
#breadcrumbs a:focus,
#breadcrumbs a:visited {
    color: #333;
}
/*-- end site breadcrumbs css --*/


/*-- site contact form 7 css --*/
.wpcf7-text,
.wpcf7-textarea {
    width: 100%;
    margin: 10px 0;
    padding: 10px !important;
}

.wpcf7-not-valid-tip {
    margin-bottom: 10px;
}

.wpcf7-response-output {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.wpcf7-submit {
    padding: 10px 20px !important;
    border: none !important;
    border-radius: 0 !important;
    font-weight: 700;
    text-transform: uppercase;
}
/*-- end site contact form 7 css --*/


/*-- site carousel content css --*/
#home-carousel {
    position: relative;
}

#home-carousel .owl-prev,
#home-carousel .owl-next,
#home-carousel .owl-prev:hover,
#home-carousel .owl-next:hover,
#home-carousel .owl-prev:focus,
#home-carousel .owl-next:focus {
    color: #FFF;
    outline: none;
}

#home-carousel .owl-prev,
#home-carousel .owl-next {
    top: 40%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    background:rgba(0,0,0, .6);
    position: absolute;
}

#home-carousel .owl-prev {
    left: 0;
}

#home-carousel .owl-next {
    right: 0;
}

#home-carousel .owl-nav {
    margin: 0;
}

#home-carousel .owl-dots {
    padding: 10px 0;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
}

#home-carousel .owl-dots .owl-dot {
    margin: 0 5px;
    background: #FFF;
}

.owl-theme .owl-dots .owl-dot span {
    width: 5px;
    height: 5px;
}
/*-- end site carousel content css --*/


/*-- site index content css --*/
.btn-news-viewmore {
    border-color: #A68843;
    background: #A68843;
}

.btn-news-viewmore,
.btn-news-viewmore:hover,
.btn-news-viewmore:focus,
.btn-news-viewmore:visited {
    color: #FFF;
}

.shareholder-title {
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 23px;
    position: relative;
}

.shareholder-title::after {
    content: '';
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #CCC;
    position: absolute;
}

.content-invest,
.img-invest {
    height: 350px;
}

.content-invest {
    position: relative;
}

.img-invest {
    object-fit: cover;
}

.invest-title {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    font-weight: 700;
    background: rgba(0,0,0, .6);
    position: absolute;
}

.invest-title a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invest-title a,
.invest-title a:hover,
.invest-title a:focus,
.invest-title a:visited {
    color: #FFF;
}

.invest-title a:hover,
.invest-title a:focus {
    text-decoration: none;
}

.index-product-thumb {
    height: 210px !important;
    object-fit: cover;
}

.index-product-wrapper {
    margin-bottom: 20px;
    border: solid 3px #FFF;
    position: relative;
}

.index-product-wrapper .onsale {
    top: 5px !important;
    right: 5px !important;
    left: unset !important;
    min-height: unset !important;
    line-height: unset !important;
    border-radius: 0 !important;
    padding: 5px 10px !important;
    color: #FFF;
    background:#EB5E17 !important;
    position: absolute;
}

.index-product-wrapper:hover {
    border: solid 3px #EB5E17;
}

.product-excerpt-wrapper {
    padding: 10px;
}

.index-product-title {
    font-size: 16px;
    line-height: 23px;
    font-weight: 700;
    height: 47px;
    overflow: hidden;
}

.price-contact .contact,
.single-price-contact,
.index-regular-price,
.index-regular-price-onsale,
.price {
    color: #EB5E17 !important;
    font-weight: 700;
}

.index-sale-price,
.price del {
    color: #777;
    font-weight: 400;
    text-decoration: line-through;
}

.index-product-title,
.index-product-title a,
.index-product-title a:hover,
.index-product-title a:focus,
.index-product-title a:visited {
    color: #333;
}
/*-- end site index content css --*/


/*-- site archive page css --*/
.archive-main {
    padding: 50px 0;
}

.archive-content {
    padding: 50px 0;
}

.news-wrapper .col-lg-3,
.archive-content .col-lg-3 {
    margin-bottom: 30px;
}

.archive-post-wrapper {
    height: 100%;
}

.archive-thumb-wrapper {
    position: relative;
}

.archive-thumb-opacity {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, .6);
    position: absolute;
    visibility: hidden;
}

.archive-post-wrapper:hover .archive-thumb-opacity {
    visibility: visible;
}

.archive-post-date {
    top: 10px;
    left: 10px;
    padding: 5px 15px;
    border: solid 1px #F9D324;
    background: #FFF;
    position: absolute;
}

.archive-post-date p {
    margin: 0;
}

.archive-post-thumb {
    height: 210px;
    object-fit: cover;
}

.archive-post-title {
    padding: 20px;
    font-size: 16px;
    line-height: 23px;
}

.archive-post-title,
.archive-post-title a,
.archive-post-title a:visited {
    color: #333;
}

.archive-post-title a:hover,
.archive-post-title a:focus {
    color: #A68843;
    text-decoration: none;
}
/*-- end site archive page css --*/


/*-- site invest page css --*/
.nav-invest {
    margin-left: 0;
    padding-left: 0;
}

.nav-invest .active {
    border-color: #F8F8F8 !important;
    background: #F8F8F8 !important;
}

.nav-invest .nav-link {
    color: #11705B;
    font-weight: 700;
}

.nav-invest .nav-link:hover,
.nav-invest .nav-link:focus {
    outline: none;
}

.tab-invest-content {
    padding: 20px;
    background: #F8F8F8;
}
/*-- end site invest page css --*/


/*-- site contact page css --*/
.contact-header {
    border-bottom: solid 1px #CCC;
}

.contact-title {
    margin-bottom: 0;
    padding-bottom: 10px;
    font-size: 26px;
    line-height: 37px;
    font-weight: 700;
    border-bottom: solid 2px #11705B;
    display: inline-block;
}

.contact-subtitle-wrapper {
    margin-bottom: 30px;
    position: relative;
}

.contact-subtitle-wrapper::after {
    content: '';
    top: 45%;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background: #CCC;
    position: absolute;
}

.contact-subtitle {
    padding-right: 20px;
    font-size: 22px;
    line-height: 31px;
    background: #FFF;
    display: inline-block;
    position: relative;
    z-index: 1;
}
/*-- end site contact page css --*/


/*-- site cart page css --*/
.woocommerce .col-1, 
.woocommerce .col-2 {
    max-width: none;
}

#customer_details {
    margin-bottom: 30px;
    padding: 10px 0;
    border-radius: 5px;
    border: solid 1px #CCC;
}

.woocommerce-billing-fields__field-wrapper label,
.woocommerce-billing-fields__field-wrapper span {
    width: 50%;
}

.woocommerce-billing-fields__field-wrapper .selection span {
    width: 100%;
}

.woocommerce-input-wrapper,
#order_comments_field textarea {
    width: 100%;
}

#order_comments_field textarea {
    height: 200px;
}
/*-- end site cart page css --*/


/*-- site widget css --*/
.search-submit {
    border: none !important;
    border-radius: 0 10px 10px 0 !important;
    color: #FFF !important;
    background: #11705B !important;
}

.widget ul {
    margin-left: 0;
    padding-left: 0;
}

.widget li {
    list-style: inside;
    padding: 10px 0;
    border-bottom: dashed 1px #CCC;
}

.widget, 
.widget a,
.widget a:visited {
    color: #333;
}

.widget a:hover,
.widget a:focus {
    color: #11705B;
    text-decoration: none;
}

.widget-title,
.widgettitle {
    margin-bottom: 0;
    padding: 10px;
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    color: #FFF;
    background: #11705B;
    text-align: center;
    text-transform: uppercase;
}

.sidebar-product-excerpt-wrapper {
    padding: 10px;
    border-bottom: dashed 1px #777;
}

.sidebar-product-thumb-wrapper,
.sidebar-product-thumb {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover;
}

.widget {
    background: #F5F5F5;
}
/*-- end site widget css --*/


/*-- site single css --*/
.entry-meta,
.entry-footer,
.nav-links,
.product_meta,
.single-product-main .quantity,
.single_add_to_cart_button {
    display: none !important;
}

.single-title,
.related h2 {
    font-weight: 700;
}

.simplesocialbuttons {
    margin-top: 50px !important;
    padding: 10px 0;
    border-top: solid 1px #CCC;
    border-bottom: solid 1px #CCC;
}
/*--  end site single css --*/


/*-- site single product css --*/
.single-product-main .onsale {
    top: 5px !important;
    left: 5px !important;
    min-height: unset !important;
    line-height: unset !important;
    padding: 5px 10px !important;
    background: #EB5E17 !important;
    border-radius: 0 !important;
}

.single-product-main .entry-summary {
    margin-top: 0;
}

.product_title {
    font-weight: 700;
}

.single-product-main .cart {
    margin: 0;
}

.btn-single-product-addtocart {
    border-color: #EB5E17;
    background: #EB5E17;
}

.btn-single-product-addtocart,
.btn-single-product-addtocart:hover,
.btn-single-product-addtocart:focus {
    color: #FFF;
}

.archive-product-thumb,
.related-product-thumb {
    height: 175px !important;
    object-fit: cover;
}
/*-- end site single product css --*/


/*-- site pagination css --*/
.pagination {
    margin: 0 auto;
}

.pagination .page-item:not(:last-child) {
    margin-right: 10px;
}

.pagination .page-link {
    min-width: 36px;
    height: 36px;
    border-radius: 4px !important;
    color: var(--font-primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .current,
.pagination .page-link:hover,
.pagination .page-link:focus {
    color: #FFF;
    border-color: #11705B !important;
    background: #11705B !important;
}

.pagination .page-link:hover,
.pagination .page-link:focus {
	box-shadow: none !important;
}

.pagination .prev,
.pagination .next {
    padding: 0;
    border: none;
}

.pagination .prev:hover img,
.pagination .next:hover img,
.pagination .prev:focus img,
.pagination .next:focus img {
    filter: brightness(0) invert(1);
}
/*-- end site pagination css --*/


/*-- site footer css --*/
.site-footer {
    border-top: solid 2px #A68843;
    border-bottom: solid 3px #A68843;
    background: url('img/bg_footer.jpg') no-repeat center center;
    background-size: cover;
}

.site-info {
    padding: 50px 0;
}

.footer-title {
    font-weight: 700;
}

.site-copyright {
    padding: 20px 0;
    border-top: solid 1px rgba(255,255,255, .1);
}

.site-copyright p {
    margin: 0;
}

.site-footer,
.site-footer a,
.site-footer a:hover,
.site-footer a:focus,
.site-footer a:visited {
    color: #FFF;
}
/*-- end site footer css --*/


@media (max-width: 768px) {
    .site-top-header {
        display: none;
    }

    .content-wrapper,
    .archive-main,
    .archive-content,
    .site-info {
        padding: 20px 0;
    }

    #home-carousel .owl-prev, 
    #home-carousel .owl-next {
        top: 30%;
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .content-title,
    .archive-title,
    .woocommerce-products-header__title,
    .single-title,
    .product_title,
    .widget-title,
    .widgettitle,
    .related h2 {
        font-size: 18px;
        line-height: 26px;
    }

    .nav-invest .nav-item {
        width: 50%;
    }

    .nav-invest .nav-link {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .content-invest {
        margin-bottom: 20px;
    }

    .footer-content {
        margin-bottom: 10px;
        border-bottom: dashed 1px #FFF;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    
}

@media (min-width: 992px) and (max-width: 1824px) {
    
}

@media (min-width: 1824px) {
    
}
