/*
Theme Name: daohaisan
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
	--main-color: #333;
	--sub-color: #129fd8;
}
.no-pb {padding-bottom: 0}
.my-3 {margin: 30px 0}
.border-img-20, .border-img-20 img {border-radius: 20px;}
.border-img-10, .border-img-10 img {border-radius: 10px;}
.img-hover {
    position: relative;
}
.img-hover:before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}
.d-flex {display: flex; -webkit-display: flex;}
.align-items-center {align-items: center;}

@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}
@keyframes shine {
    100% {
        left: 125%;
    }
}
.img-hover:hover:before {
    -webkit-animation: shine .75s;
    animation: shine .75s;
}



html {background: #fff}
.header .header-bg-color {background: transparent;}
.header .header-main { color: #fff}
.header-main .hotline_number {
    display: inline-block;
    vertical-align: middle;
    padding-right: 0.35714em;
    text-align: center;
    padding: 0 1em
}
div#main-menu .hotline_number .hotline-link , .header-main .hotline_number .hotline-link {
    font-size: 2em;
    font-weight: bold;
    font-style: italic;
    color: #FEC519;
    line-height: 0.66667em;
}
.header-main .hotline_number p {
    font-size: 0.85714em;
    text-align: center;
    margin-bottom: 0;
    font-style: italic;
    color: #fff;
}
.header-main .head-hotline {max-width: 200px}
.header-main .header-button .header-cart-link.button {
	border-color: #fff!important;
	font-size: 1.2em;
}

.header-main .searchform input[type="search"] {box-shadow: none; border: none; height: 34px;}
.header-main .searchform button[type="submit"] {background: #fff; font-size: unset; border: none!important;}
.header-main .searchform button[type="submit"]:hover {background: #fff; box-shadow: none;}
.header-main .searchform button[type="submit"] i {color: var(--main-color)}

.absolute-footer {display: none; background-color: transparent;}

.header-bottom .nav li {width: 100%}
.header-bottom .nav li .head-item {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.header-bottom .nav li .head-item .item > a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-bottom .nav li .head-item .item > a img { width: 40px;  height: auto;}
.header-bottom .nav li .head-item .item > a span {
    color: #333;
    text-align: center;
    font-weight: 700;
    margin-left: 10px;
}
.header .header-wrapper.stuck img.header-image {display: none;}

/** Menu */
#mega-menu-wrap {background: #000}
#mega-menu-title {padding: 12.5px 0 12.5px 15px; 
font-family: unset;
    text-transform: uppercase;
    letter-spacing: 0.5px;}
#mega_menu>li {background: #f2f2f2;}
#mega_menu a:hover {background-color: var(--main-color); color: #fff}
#mega_menu>li a {display: flex; align-items: center;}
div#main-menu ul>li>a:before ,#mega_menu>li a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu1.png");
    content: '';
    width: 22px;
    height: 22px;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    margin-right: 1.5rem
}
#mega_menu>li>a {font-size: 1em; color: #111}
.sf-menu a {padding: .53em 1em}
div#main-menu ul>li:nth-child(5)>a:before , #mega_menu li:nth-child(2) a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu2.png");
    width: 50px
}
 #mega_menu li:nth-child(2):hover a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu2_hover.png")
}
  #mega_menu li:nth-child(3) a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu3.png");
}
div#main-menu ul>li:nth-child(6)>a:before , #mega_menu li:nth-child(4) a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu4.png");
}
div#main-menu ul>li:nth-child(7)>a:before , #mega_menu li:nth-child(5) a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu5.png");
}
div#main-menu ul>li:nth-child(8)>a:before , #mega_menu li:nth-child(6) a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu6.png");
}
div#main-menu ul>li:nth-child(9)>a:before , #mega_menu li:nth-child(7) a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu7.png");
}
div#main-menu ul>li:nth-child(10)>a:before ,#mega_menu li:nth-child(8) a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu8.png");
}
div#main-menu ul>li:nth-child(11)>a:before ,#mega_menu li:nth-child(9) a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu9.png");
}
div#main-menu ul>li:nth-child(12)>a:before, #mega_menu li:nth-child(10) a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu10.png");
}
div#main-menu ul>li:nth-child(13)>a:before, #mega_menu li:nth-child(11) a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu12.png");
}
div#main-menu ul>li:nth-child(14)>a:before , #mega_menu li:nth-child(12) a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu13.png");
}

#mega_menu li:nth-child(4):hover a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu4_hover.png")
}
#mega_menu li:nth-child(5):hover a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu5_hover.png")
}
#mega_menu li:nth-child(6):hover a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu6_hover.png")
}
#mega_menu li:nth-child(7):hover a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu7_hover.png")
}#mega_menu li:nth-child(8):hover a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu8_hover.png")
}#mega_menu li:nth-child(9):hover a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu9_hover.png")
}#mega_menu li:nth-child(10):hover a:before {
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_menu10_hover.png")
}

.slider-nav-light .flickity-prev-next-button.next {
	right: 0;
}
.slider-nav-light .flickity-prev-next-button.previous {
	left: 0;
}
.slider-nav-light .flickity-prev-next-button svg {
	background: #fff;
	fill: #111;
	border-radius: 0;
}
.slider-nav-light .flickity-prev-next-button .arrow {
	fill: #111;
	transition: unset;
}
.flickity-page-dots .dot {
	height: 3px; 
	border: none;
	background: #fff;
	border-radius: 0
}
.slider-nav-light .flickity-page-dots .dot.is-selected {background: var(--main-color);}





/** Title home */
.section-title-normal, .section-title-normal span {border: none;}
.section-title-normal span {font-size: 1.5em; text-transform: unset;}
.section-title-normal a {font-family: 'Quicksand', sans-serif; display: flex; align-items: center;}
.section-title-normal a i {opacity: 1}
.section-title-container {margin-bottom: 0}

/** product */
.product-small.box {padding: .5em}
.product-small.box:hover {
	-webkit-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px
}
.product-small.box .box-text .category {
	color: var(--sub-color);
}
.product-small.box .box-text .product-title a {
	color: #111;
    font-weight: 700;
    margin: 10px 0;
    font-size: 1.1em;
    min-height: 40px
}
.product-small.box .price-wrapper .price {margin: 10px 0; display: flex; align-items: baseline;}
.product-small.box span.amount {
	color: var(--main-color);
    font-weight: bold;
    font-size: 1.3em;
}
.product-small.box .add-to-cart-button .button{background: var(--main-color); color: #fff; border: none; border-radius: 3px!important; font-size: 1em; line-height: 2.4em}
.product-small.box .box-image img {border-radius: 10px}
.product-small.box span.price del {color: #888!important; font-size: .8em; order: 2; margin-left: 10px}
.product-small.box span.price del span.amount {color: #888}
.luachon {
    position: absolute;
    z-index: 99;
    top: 5%;
    left: 20px;
    background: rgba(0,0,0,.5);
    padding: 5px;
    color: #fff;
    font-size: .8em;
    border-radius: 6px;
}


/** Footer */
.main-footer .section-title-normal {
    border-top: 1px dashed #d6d6d6;
    padding-top: 1rem;
	font-size:1em;
}
.main-footer ul {list-style: none;}
.main-footer ul li {margin-left: 0}
.main-footer ul li a {color: #333333;}
.main-footer ul li a:hover {color: var(--main-color);}

.sub-footer {background-color: #e3e3e3}

/** Shop sidebar */
.shop-sidebar .widget .is-divider {display: none;}
.shop-sidebar .widget {
    background: #f8f8f8;
    margin-bottom: 10px;
    padding: 10px;
     font-size: .9em
}
.shop-sidebar .widget:first-child {margin-top: 40px}
.shop-sidebar .widget .widget-title {border-bottom: 1px solid #d6d6d6; display: block; padding-bottom: 10px; margin-bottom: 10px}
.shop-sidebar .widget a {color: var(--sub-color); font-weight: 700}
.shop-sidebar .widget p {margin-bottom: 0;}
.sidebar_hotline .sidebar_hotline_img {margin-right: 10px}
.sidebar-feat img {width: 35px; height: 35px; object-fit: contain;}
.sidebar-feat .sidebar-feat-img {margin-right: 10px; display: flex; align-items: center;}
.sidebar-feat {margin-bottom: 10px}
.sidebar-feat h4 {font-family: 'Quicksand', sans-serif; margin-bottom: 0; font-size: .9em}
.sidebar-nha {text-align: center;}
.sidebar-nha img {margin-bottom: 10px}

.related-products-wrapper {border-top: none; margin-top: 20px}
.related-products-wrapper h3.product-section-title {font-family: 'Quicksand', sans-serif; 
    background-color: var(--main-color);
    display: block;
    height: 35px;
    color: #fff;
    line-height: 5px;
    padding-left: 12px;
    text-transform: uppercase;
    font-size: 17px;
    position: relative; border-radius: 6px}
.related-products-wrapper h3.product-section-title:after {
    content: '';
    display: inline-block;
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_vmega.png");
    width: 35px;
    height: 35px;
    position: absolute;
    top: 0px;
    right: 0px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

/** Single product */
.product-info {font-size: .9em; padding-top: 0}
.product-info .breadcrumbs {display: none;}
.product-info .product-title {font-size: 1.7em}
.product-info .product-short-description blockquote {
    background: var(--sub-color);
    border: none;
    padding: 10px;
    margin-bottom: 10px;
    color: #fff;
    font-style: normal;
    border-radius: 6px;
    font-size: 1em
}
.product-info .product-short-description p {margin-bottom: 10px}
.product-info .product-short-description blockquote p {margin-bottom: 0}
.product-info .price-wrapper {
    background-color: #fdf6f5;
    border: 1px solid #f1f1f1;
    font-size: 20px;
    padding: 5px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.product-info .price-wrapper .price, .product-info .price-wrapper .price span {color: var(--main-color)}
.product-info .price-wrapper .price {font-size: 1em}
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) {box-shadow: none!important; border: 1px solid #d6d6d6}
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected, .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover {background: var(--main-color); color: #fff; border-color: var(--main-color)}

.woocommerce-variation-price {font-size: 1.2em; padding: 10px 0}
.woocommerce-variation-price span.amount {color: var(--sub-color)}

.woobt-wrap .woobt-text, .woobt-wrap .woobt-products {
    font-size: 1.2em;
    color: #ed1c24;
    font-weight: 700;
}
.quantity.buttons_added input[type='button'] {width: 30px; line-height: 30px; border-radius: 0!important}
.single_add_to_cart_button.button {opacity: 1}
.single_add_to_cart_button.button:hover {box-shadow: none;}

.product-main {padding-bottom: 20px}
.product-footer .product-footer-title {
    font-size: 1.5em;
    border-bottom: 1px dashed #888;
    padding-bottom: 10px;
}

.single-product-map {margin-top: 40px}
.dvls_maps_wrap .dvls_result_infor h3 {font-family: 'Quicksand', sans-serif; font-size: 1em}
.dvls_maps_wrap .dvls_result_infor a {font-size: .9em}
.dvls_maps_wrap input.dvls-submit {padding: 10px 20px; line-height: 20px; background: var(--main-color)!important}

.product-info .price-wrapper .price {
    display: flex;
    align-items: flex-end;
}
.product-info .price-wrapper .price del {
    order: 2;
    margin-left: 10px;
    font-size: .9em;
    color: #888888;
}
.product-info .price-wrapper .price del span, .product-info .price-wrapper .price del bdi span {color: #888}
.product-info .price-wrapper .price ins {order: 1}




/** Blog post */
.box-blog-post .box-text {padding: 10px; z-index: 3}
.box-blog-post .box-text h5 {min-height: 45px; margin-bottom: 15px}
.box-blog-post .box-text .is-divider {display: none;}
.box-blog-post .box-text .from_the_blog_excerpt {min-height: 69px}
.box-blog-post .box-image {z-index: 3}
.box-blog-post .box-image img{border-radius: 10px 10px 0 0}
.box-blog-post {transition: transform .3s ease;}
.box-blog-post:hover {transform: translate3d(0,-8px,0);}
.box-blog-post:after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    z-index: -1;
    transition: box-shadow .3s ease;
    box-shadow: 0 4px 32px 0 rgba(10,14,29,.02), 0 8px 64px 0 rgba(10,14,29,.08);
    border-radius: 10px;
    z-index: 2
}
.box-blog-post:hover:after {
    box-shadow: 0 16px 40px 0 rgba(10,14,29,.04), 0 16px 80px 0 rgba(10,14,29,.16);
}

.page-title {
    text-transform: capitalize;
    font-size: 2em
}

/** Blog single */
.blog-single .entry-header-text h6, .blog-single .entry-header-text .is-divider {display: none;}
.blog-single .entry-header-text {padding-bottom: 0}
.blog-single .entry-header-text h1 {margin-bottom: 0}
.post-sidebar .block_widget .is-divider {display: none;}
.post-sidebar .block_widget span.widget-title {
    background-color: var(--main-color);
    display: block;
    height: 35px;
    color: #fff;
    line-height: 35px;
    padding-left: 12px;
    text-transform: uppercase;
    font-size: 17px;
    position: relative;
    margin-bottom: 1rem;
    border-radius: 6px
}
.post-sidebar .block_widget span.widget-title:after {
    content: '';
    display: inline-block;
    background-image: url("/wp-content/themes/daohaisan/assets/imgs/icon_vmega.png");
    width: 35px;
    height: 35px;
    position: absolute;
    top: 0px;
    right: 0px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
blockquote {
    background: var(--sub-color);
    border: none;
    padding: 10px;
    margin-bottom: 10px;
    color: #fff;
    font-style: normal;
    border-radius: 6px;
    font-size: 1em;
}
blockquote p {margin-bottom: 0}

.page-wrapper .entry-header .is-divider {display: none;}

/** Update */
.archive.tax-product_cat .page-title {font-size: unset;}
.product-images .badge-container, .product-small .badge-container{left: 30px;}
.badge-container .badge-inner {border: none; background-color: var(--sub-color)!important; color: #fff; font-size: .9em; border-radius: 3px}
.image-tools .tooltip {border-radius: 0!important; border-color: #fff}
.image-tools .tooltip i {color: #fff}



/** Sashimi page */
.sashimi_menu .icon-box-img img {min-height: 94px; object-fit: contain;}

/** Cart & Checkout */
.woocommerce-cart .page-title, .woocommerce-checkout .page-title {display: none;}
.box-shadow {
    position: relative;
    z-index: 3
}
.box-shadow:after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    z-index: -1;
    transition: box-shadow .3s ease;
    box-shadow: 0 4px 32px 0 rgba(10,14,29,.02), 0 8px 64px 0 rgba(10,14,29,.08);
    border-radius: 10px;
    z-index: 2
}
form.checkout h3 {font-family: 'Quicksand', sans-serif}



@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

    .mobile-nav i {color: #fff}
    .header-main .header-button .header-cart-link.button {font-size: .9em}

    .widget_shopping_cart h4 {font-family: 'Quicksand', sans-serif;}
    .widget_shopping_cart .is-divider {display: none;}
}
