/*
Theme Name: Thegioidodoc
Description: This is a child theme for Mino Theme
Author: Mino
Template: mino
Version: 3.0
*/

/* Remove uppercase header contact top bar */
#header-contact>li>a {
    text-transform: none;
}
#masthead input.search-field {
    height: 40px;
    font-size: 15px;
    border: 1px solid #f32c25;
    border-left: 0;
}

/* Border search form */
#masthead select.search_categories {
    min-width: 80px;
    height: 40px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    font-size: 15px;
    border: 1px solid #f32c25;
}
.header-search-form .searchform .button.icon {
    margin: 0;
    height: 40px;
    width: 40px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* Tab home product by sale and new */
.tab-home .tab.has-icon {
    border: 5px solid var(--primary-color);
    background-color: var(--primary-color);
    padding: 0 10px;
    margin: 0;
    line-height: 1.3em;
}
.tab-home .tab.has-icon a {
    color: #fff;
    padding: 6px;
    border-top: 0 !important;
    text-transform: uppercase;
}
.tab-home .tab.has-icon.active {
    background-color: #fff;
}
.tab-home .tab.has-icon.active a {
    color: #000;
}
.tab-home .nav-line>li>a:before {
    display: none;
}

/* Product list border */
.product-small.box {
    border: 1px solid #e2e2e2;
    padding: 10px;
    background: #fff;
    margin-bottom: 10px;
}
.product-small.box:hover {
    border: 1px solid var(--primary-color);
    border-radius: 3px;
}

/* Title style */
.section-title-normal {
    margin-bottom: 0;
    border-top: 2px solid var(--primary-color);
    border-bottom: 0;
    background: linear-gradient( to bottom, #cecece, #cecece 50%, #dfdfdf 50%, #dfdfdf);
    background-size: 100% 3px;
}
.section-title-normal span {
    padding: 8px 15px;
    color: #fff!important;
}
.section-title-normal span {
    border-bottom: 1px solid var(--primary-color);
    background: var(--primary-color);
    font-size: 14px;
    margin-bottom: 0;
}
.section-title-normal span:after {
    border: 20px solid var(--primary-color);
    position: absolute;
        display: inline-block;
        margin-left: 15px;
    border-right-color: transparent;
    border-bottom-color: transparent;
    margin-top: -9px;
    left: auto;
    content: "";
    clear: both;
}
.section-title a {
    display: block;
    padding-left: 15px;
    font-size: 15px;
    font-weight: 400;
    color: var(--primary-color);
    padding-right: 10px;
}

/* Footer widget */
.footer-2 span.widget-title {
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    text-transform: uppercase;
}
#footer .widget .is-divider {
    background: transparent;
    margin: .5em 0 .5em;
}

/* Product list widget */
ul.product_list_widget li img {
    width: 45px;
    height: 45px;
}
ul.product_list_widget li {
    list-style: none;
    padding: 8px 0 0 55px;
    min-height: 68px;
}

/* Recent post block */
.posts-shortcode{list-style:none}
.posts-shortcode img{width:100%}
ul.posts-shortcode.clearfix{margin-left:0}
.posts-shortcode .clearfix{clear:both}
ul.posts-shortcode.clearfix.top-bottom h2{font-size:15px}
li.other-news.clearfix{padding-bottom:10px}
.posts-shortcode a{color:#444;text-decoration:none;box-shadow:none!important;font-weight:400}
.posts-shortcode.left-right li{overflow:hidden;padding:12px 0;width:47%;float:right;clear:right;font-size:0}
.posts-shortcode.left-right li.first-news{width:50%;float:left;padding-bottom:0;padding-top:15px}
.posts-shortcode.left-right li.first-news .inner-content{padding:0 20px 0 0;overflow:hidden}
.posts-shortcode li.first-news .post-thumbnail{float:none;position:relative;line-height:0;opacity:1;-webkit-transition:all .4s ease-in-out;-moz-transition:all .4s ease-in-out;-o-transition:all .4s ease-in-out;transition:all .4s ease-in-out}
.posts-shortcode li .post-thumbnail{float:left;margin:0}
.posts-shortcode.left-right .post-thumbnail a:hover img{opacity:.3!important}
.posts-shortcode li.other-news .post-thumbnail{max-width:100px;display:table-cell;vertical-align:top;padding-right:10px;padding-top:3px}
.posts-shortcode.top-bottom li.other-news .post-thumbnail{max-width:90px}
.posts-shortcode li.other-news a{line-height:20px}
.posts-shortcode li.other-news .post-box-title{display:table-cell;vertical-align:top}
.posts-shortcode .post-thumbnail a{display:block!important;background:#000;font-size:0;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-ms-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;color:#444;text-decoration:none}
.posts-shortcode .post-thumbnail img{height:auto;max-width:100%;width:100%;vertical-align:middle;opacity:1;-webkit-transition:all .4s ease-in-out;-moz-transition:all .4s ease-in-out;-o-transition:all .4s ease-in-out;transition:all .4s ease-in-out}
.posts-shortcode h2,.posts-shortcode h2 a,.posts-shortcode p,.posts-shortcode p a,.posts-shortcode h3,.posts-shortcode h3 a{font-family:Arial,Helvetica,sans-serif}
.posts-shortcode .first-news h2.post-box-title{font-size:20px;line-height:26px;font-weight:400;margin-top:10px;margin-bottom:3px}
.posts-shortcode.left-right .first-news h2.post-box-title a:hover{color:#000}
.posts-shortcode .other-news h2{font-size:14px}
.posts-shortcode p.post-meta{color:#888;margin:7px 0;font-size:85%}
.posts-shortcode .entry{word-wrap:break-word;line-height:22px;font-size:14px}
.posts-shortcode .entry p{line-height:21px;margin-bottom:12px;text-align:justify}
.posts-shortcode a.more-link{color:#FFF!important;float:left;padding:5px 12px;padding-top:2px;padding-bottom:2px;margin-top:0;width:auto;position:relative;background-color:#D58530;font:12px Tahoma;display:inline-block;line-height:22px;border:0 none;cursor:pointer;text-decoration:none;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;-ms-transition:all .3s ease-in-out;transition:all .3s ease-in-out;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important}
.posts-shortcode a.more-link:hover{background-color:#777!important;text-decoration:underline}
.posts-shortcode.top-bottom li{position:relative;border-bottom:1px dashed #ddd;margin-bottom:10px;overflow:hidden}
.posts-shortcode.top-bottom li.first-news,.posts-shortcode.top-bottom li:last-child{border-bottom:0}
.posts-shortcode.top-bottom li .post-thumbnail{float:left;border-width:1px;border-style:solid;border-color:#ccc;border-image:initial;padding:2px;margin-right:15px}
.posts-shortcode.top-bottom li.first-news .post-thumbnail{width:100%;margin-right:0}
.posts-shortcode.top-bottom a,h2{font-family:Roboto,helvetica,arial,sans-serif!important}
.posts-shortcode.top-bottom li h2{margin-top:0;font-size:14px;font-weight:500;line-height:18px}
.posts-shortcode.top-bottom li.first-news h2{position:absolute;background:rgba(0,0,0,0.6);margin:0;padding:8px 10px;min-height:45px;left:1px;right:3px;bottom:1px}
.posts-shortcode.top-bottom li h2 a{color:#000;text-decoration:none;line-height:inherit;transition:all .4s}
.posts-shortcode.top-bottom li:not(.first-news) h2 a:hover{color:#29972b}
.posts-shortcode.top-bottom li.first-news h2 a{color:#fff}
@media ( max-width: 767px ) {
    .posts-shortcode.left-right li.first-news{width:100%;padding-top:12px;margin-bottom:20px}
    .posts-shortcode.left-right li{width:100%}
    .posts-shortcode.left-right li.first-news .inner-content{padding:0}
}
.posts-shortcode .no-image{width:90px;height:90px;border:1px solid #eee;background-color:#f5f5f5;display:table-cell;vertical-align:middle;text-align:center}
.posts-shortcode .no-image span{font-size:12px}
.posts-shortcode .no-image + h2{padding-left:10px}
.posts-shortcode.top-bottom .no-image + h2{padding-left:15px}

/* Wrapper background */
#wrapper, #main, #main.dark {
    background-color: #f5f5f5;
}

/* Row page */
.page-template-page-right-sidebar .large-9.col,
.single .large-9.col,
.page-right-sidebar .large-3.col, 
.search .large-3.col,
.blog .large-3.col,
.archive .large-3.col,
.single .large-3.col {
    background: #fff;
    padding: 15px;
}

@media screen and (min-width: 850px) {
    .page-right-sidebar .large-9.col, 
    .search .large-9.col,
    .archive .large-9.col,
    .blog .large-9.col,
    .single .large-9.col {
        margin-right: 15px;
        max-width: calc(75% - 15px);
        -ms-flex-preferred-size: calc(75% - 15px);
        flex-basis: calc(75% - 15px);
    }
    .page-right-sidebar .large-3.col, 
    .search .large-3.col,
    .archive .large-3.col,
    .blog .large-3.col,
    .single .large-3.col {
        border-left: 0!important;
        margin-left: 15px;
        max-width: calc(25% - 15px);
        -ms-flex-preferred-size: calc(25% - 15px);
        flex-basis: calc(25% - 15px);
    }
}
.blog .col.post-item,
.search .col.post-item,
.archive .col.post-item {
    background: #fff;
    padding: 15px;
    margin-bottom: 30px;
}

/* Single blog */
.single .entry-header-text.entry-header-text-top.text-left {
    padding-bottom: 0.5em;
    border-bottom: 1px solid #ececec;
    margin-bottom: .5em;
}
.single .entry-content.single-page {
    padding-top: 0;
}
.single .post {
    margin: 0;
}
@media screen and (max-width: 850px) {
    .md-text-right {
        text-align: left;
        margin-top: 5px;
    }
}

/* Related-posts */
.related-posts li{width:22%;margin:0 3% 1.5em 0}
.related-posts ul{padding:0;margin:0;overflow:hidden;margin-bottom:20px}
.related-posts h5{line-height:20px;padding-left:80px;color:#919191;text-transform:uppercase}
.related-posts h3{font-size:18px;margin-top:10px}
.relatedthumb img{margin-top:5px;margin-bottom:0}
.relatepostli .post-info a,.relatepostli .post-info .theauthor{font-weight:400}
.relatedthumb .theauthor{color:#999}
.related-posts li{float:left;list-style:none;line-height:1.4;margin-bottom:18px;margin-top:10px}
.related-posts li a{color:#868686}
.rthumb{float:left;margin-bottom:8px}
.single_post_right .rthumb{float:left;width:100%}
.related-posts .last{margin-right:0;padding-bottom:0}
@media screen and (max-width:481px) {
.related-posts li,.single_post_right .related-posts li{width:100%!important;float:left!important;max-width:100%;margin-right:0}
.related-posts li .rthumb{width:30%;float:left;margin-right:14px}
.related-posts li .relatedthumb{width:auto;float:none}
.single_post_right .rthumb{margin-right:15px;float:none}
}
.stripe-line{background:rgba(0,0,0,0) url(https://thegioidodoc.com/wp-content/themes/thegioidodoc/images/stripe.png) repeat scroll 0 0;height:12px;margin-top:5px;overflow:hidden}
.related-posts h7{font-size:18px;float:left;margin:-8px 20px 0 0}


/* Product amount */
span.amount {
    color: var(--primary-color);;
    font-size: 1.2em;
}
del span.amount {
    font-size: .8em;
    color: #111;
}

/* Sidebar */
#product-sidebar .is-divider.small,
#secondary .is-divider.small,
#shop-sidebar .is-divider.small {
    display: none;
}
span.widget-title.shop-sidebar,
#secondary span.widget-title {
    margin-bottom: 20px;
    display: block;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 5px;
}
.product_list_widget .star-rating {
    display: none;
}
ul.product_list_widget li a:not(.remove) {
    margin-bottom: 0;
}

/* Page title product single */
.page-title-inner {
    padding-top: 20px;
}

/* Page title product list */
.category-page-row {
    padding-top: 20px;
}

/* Height product name */
p.name.product-title {
    min-height: 45px;
}

/* Common */
.mb-5 {
    margin-bottom: 5px;
}
.w-100 {
    width: 100%;
}
.p-30 {
    padding: 30px;
}
.pb-20 {
    padding-bottom: 20px!important;
}
.no-border {
    border: none!important;
}
/* End common */

@media screen and (min-width: 850px) {
    .footer-2 .large-columns-4>.col:first-child {
        max-width: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
    }
}