/*
Theme Name: Danhhd Child
Description: Design by Danhhd
Author: Danhhd
Author URI: https://www.danhhd.com/
Description: Đây là giao diện con của Flatsome
Template: flatsome
Version: 3.0
*/

.side-header .menu-item {
    text-align: center;
    /* border: none; */
    box-sizing: border-box;
    position: relative;
}

.side-header .menu-item button.toggle {
    position: absolute;
    right: 5%;
    top: 7px;
}

.side-header .menu-item ul.sub-menu {
    margin: 0;
    border: none;
    padding: 0;
}

.side-header .menu-item a {
    text-transform: uppercase;
}

.slide-banner .text-inner.text-left div {
    padding: 35px 0 30px 35px;
}

.slide-banner .is-selected .text-inner.text-left div:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.5);
    -webkit-animation-duration: 0.5s;
    -moz-animation-duration: 0.5s;
    -ms-animation-duration: 0.5s;
    -o-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    -ms-animation-delay: 1s;
    -o-animation-delay: 1s;
    animation-delay: 1s;
    -webkit-animation-name: top_left;
    animation-name: top_left;
}

.slide-banner .is-selected .text-inner.text-left div:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255,255,255,0.5);
    -webkit-animation-duration: 0.5s;
    -moz-animation-duration: 0.5s;
    -ms-animation-duration: 0.5s;
    -o-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
    -ms-animation-delay: 1.5s;
    -o-animation-delay: 1.5s;
    animation-delay: 1.5s;
    -webkit-animation-name: top_bottom;
    animation-name: top_bottom;
}

.slide-banner .is-selected .text-inner.text-left div p.line:before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255,255,255,0.5);
    -webkit-animation-duration: 0.5s;
    -moz-animation-duration: 0.5s;
    -ms-animation-duration: 0.5s;
    -o-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-delay: 2s;
    -moz-animation-delay: 2s;
    -ms-animation-delay: 2s;
    -o-animation-delay: 2s;
    animation-delay: 2s;
    -webkit-animation-name: bottom_left;
    animation-name: bottom_left;
}

.slide-banner .is-selected .text-inner.text-left div p.line:after {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    bottom: 3px;
    width: 3px;
    background: rgba(255,255,255,0.5);
    -webkit-animation-duration: 0.5s;
    -moz-animation-duration: 0.5s;
    -ms-animation-duration: 0.5s;
    -o-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-delay: 2.5s;
    -moz-animation-delay: 2.5s;
    -ms-animation-delay: 2.5s;
    -o-animation-delay: 2.5s;
    animation-delay: 2.5s;
    -webkit-animation-name: bottom_top;
    animation-name: bottom_top;
}

.slide-banner .banner-bg.fill:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: url(/wp-content/uploads/2019/10/pattern.png) repeat center center rgba(0,0,0,0.2);
}

.slide-banner .banner-layers.container {
    z-index: 1;
}

.slide-banner .is-selected h3.td-banner, .slide-banner .is-selected p.icon-arrow {
    -webkit-animation-duration: 1.5s;
    -moz-animation-duration: 1.5s;
    -ms-animation-duration: 1.5s;
    -o-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-delay: 0.3s;
    -moz-animation-delay: 0.3s;
    -ms-animation-delay: 0.3s;
    -o-animation-delay: 0.3s;
    animation-delay: 0.3s;
    -webkit-animation-name: trf_left;
    animation-name: trf_left;
}

.slide-banner h3.td-banner {
    font-size: 45px;
}

.slide-banner p.icon-arrow {
    font-size: 30px;
    margin: 0;
    line-height: 30px;
}

p.td {
    font-size: 35px;
    margin-bottom: 0;
}

.portfolio-element-wrapper .col-inner .box-image .image-cover:before, .post-item .image-cover:before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    bottom: -25px;
    right: 25px;
    background: url(/wp-content/uploads/2019/10/pattern.png) repeat left top;
    z-index: -1;
    opacity: .4;
    pointer-events: none;
}

.portfolio-element-wrapper .col-inner .box-image .image-cover img, .post-item .image-cover img {
    margin-left: 25px;
    padding-bottom: 25px;
}

.portfolio-box .box-text.text-left, .portfolio-box .box-text.text-center, .post-item .box-text.text-left {
    text-shadow: none;
    bottom: 25px;
    left: 25px;
    width: 93.5%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.5) 100%);;
}

.portfolio-box .box-text.text-left h6.uppercase.portfolio-box-title, .portfolio-box .box-text.text-center h6.uppercase.portfolio-box-title, .post-item .box-text.text-left h5.post-title {
    font-size: 18px;
    opacity: 1;
}

.portfolio-box .box-text.text-left span.show-on-hover, .portfolio-box .box-text.text-center span.show-on-hover {
    opacity: 1;
    color: #fff;
    border-bottom: 1px solid;
    font-size: 12px;
}

.portfolio-box .box-text.text-left .portfolio-box-category, .portfolio-box .box-text.text-center .portfolio-box-category {
    opacity: 1;
}

.portfolio-box .image-cover {
    padding-top: 100% !important;
}

.shade {
    bottom: 25px;
    left: 25px;
    background-color: rgba(0, 0, 0, 0.3);
}

.portfolio-box:hover .shade {
    opacity: 1;
}

.portfolio-box .box-text.text-center {
    text-align: left;
    max-width: 91%;
}

.portfolio-box .box-text.text-center p.uppercase.portfolio-box-category.is-xsmall.op-6 {
    display: none;
}

.portfolio-box .box-text.text-center h6.uppercase.portfolio-box-title {
    font-size: 15px;
}

.overlay {
    left: 25px;
    bottom: 25px;
    height: auto;
}

.post-sidebar input#s {
    border: 1px solid #e2e2e2;
    box-shadow:  none;
    border-top-left-radius:  5px;
    border-bottom-left-radius:  5px;
    transition:  border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    color:  #555;
}

.post-sidebar button.ux-search-submit.submit-button.secondary.button.icon.mb-0 {
    color: #fff;
    border:  1px solid;
    background-color:  #3A3B74;
    border-color:  #3A3B74;
    border-bottom-right-radius:  5px;
    border-top-right-radius:  5px;
}

.post-sidebar button.ux-search-submit.submit-button.secondary.button.icon.mb-0:hover {
    box-shadow:  none;
}

.post-sidebar input#s:focus {
    border-color:  #3A3B74;
}

.post-sidebar span.widget-title {
    font-size: 20px;
    font-weight: normal;
    color: #6d6d6d;
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e2e2e2;
    text-transform:  none;
    /* line-height:  60px; */
    display:  block;
}

.post-sidebar .is-divider.small {
    display:  none;
}

.post-sidebar aside {
    margin: 0 0 40px 0;
}

.post-sidebar ul li a {
    font-size:  14px;
    color: #6d6d6d;
    transition:  all ease-in-out 0.2s;
}

.post-sidebar ul li a:hover {
    color:  #000;
}

.post-sidebar a.tag-cloud-link {
    font-size: 13px !important;
    padding: 6px 8px;
    line-height: 34px;
    background-color: #f1f3f4;
    white-space: nowrap;
    border-radius: 4px;
    -webkit-transition: all 0.15s linear;
    -moz-transition: all 0.15s linear;
    transition: all 0.15s linear;
}

.post-sidebar a.tag-cloud-link:hover {
    background-color:  #3A3B74;
    color:  #fff;
    text-decoration: none;
}

.entry-header .entry-image.relative {
    margin-top: 15px;
}

.entry-header .entry-image.relative .badge.absolute.top.post-date.badge-outline {
    display: none;
}


.entry-header .entry-header-text.entry-header-text-top.text-center {
    padding:  0;
    text-align:  left;
}

.entry-header h6.entry-category.is-xsmall {
    max-width: 100%;
    width:  auto;
    margin:  0;
    display:  inline-block;
    opacity: 1;
    transition: all 0.3s ease;
}

.entry-header .entry-meta.uppercase.is-xsmall {
    max-width: 100%;
    margin:  0;
    display:  inline-block;
    width:  auto;
}

.entry-header h6.entry-category.is-xsmall:before {
    content:  '\f02e';
    font-family:  "Font Awesome 5 Free";
    color:  #000;
    font-weight: normal;
    transition: all 0.3s ease;
}

.entry-header .entry-meta span.posted-on:before {
    content: '\f017';
    color:  #000;
    font-family:  "Font Awesome 5 Free";
    padding-right: 3px;
    transition: all 0.3s ease;
}

.entry-header .entry-meta span.byline:before {
    content:  '\f007';
    font-family:  "Font Awesome 5 Free";
    color:  #000;
    transition: all 0.3s ease;
}

.entry-header .entry-meta a {
    color:  #000;
    text-transform:  none;
    transition: all 0.3s ease;
}

.entry-header .entry-meta span.posted-on {
    padding-right:  20px;
}

.entry-header .entry-meta span.byline {
    padding-right:  20px;

}

.entry-header h6.entry-category.is-xsmall a {
    color:  #000;
    font-weight: normal;
    text-transform:  none;
    transition: all 0.3s ease;
}

.entry-header .entry-meta span.posted-on:hover:before, .entry-header .entry-meta span.posted-on:hover a, .entry-header .entry-meta span.byline:hover:before, .entry-header .entry-meta span.byline:hover a, .entry-header h6.entry-category.is-xsmall:hover:before, .entry-header h6.entry-category.is-xsmall:hover a {
    color:  #f27c66;
}


.entry-image-float .badge.absolute.top.post-date.badge-outline {
    display: none;
}

.chuyen-muc {
    display: flex;
    width: 100%;
}

.entry-image-float img.attachment-large.size-large.wp-post-image {
    width: 100%;
    transition: transform 3s;
    -webkt-transition: transform 3s;
    -moz-transition: transform 3s;
    border-top-left-radius: 10px;
    -ms-border-top-left-radius: 10px;
    -moz-border-top-left-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    -ms-border-bottom-right-radius: 10px;
    -moz-border-bottom-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    border: 1px solid #cfcfcf;
    padding: 3px;
    border-top-left-radius: 10px;
    -ms-border-top-left-radius: 10px;
    -moz-border-top-left-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    -ms-border-bottom-right-radius: 10px;
    -moz-border-bottom-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
}

.entry-image-float {
    display:  inline-flex;
    max-width:  30%;
    width:  100%;
    margin: 0;
    /* border: 1px solid #cfcfcf; */
    /* padding: 3px; */
    /* border-top-left-radius: 10px; */
    -ms-border-top-left-radius: 10px;
    -moz-border-top-left-radius: 10px;
    /* -webkit-border-top-left-radius: 10px; */
    /* border-bottom-right-radius: 10px; */
    -ms-border-bottom-right-radius: 10px;
    -moz-border-bottom-right-radius: 10px;
    /* -webkit-border-bottom-right-radius: 10px; */
}

#post-list .entry-content {
    display: flex;
    margin-left: 35px;
    padding-bottom: 0;
}

#post-list footer.entry-meta.clearfix {
    display:  none;
}

#post-list .entry-content .text-center {
    float: right;
}

#post-list .entry-content .text-center a {
    margin:  0;
    text-transform:  none;
    border-radius:  5px;
}


#post-list a:hover img.attachment-large.size-large.wp-post-image {
    transform: scale(1.2, 1.2);
}

#post-list .entry-content span.posted-on {
    display:  block;
    font-size:  13px;
    color:  #000;
    padding-bottom:  5px;
    padding-top:  5px;
}

#post-list .entry-content span.posted-on:before {
    content: "\f017";
    font-family:  "Font Awesome 5 Free";
    padding-right:  5px;
    font-size:  13px;
}

#post-list .entry-content span.posted-on a {
    color:  #000;
}

#post-list .entry-content span.byline:before {
    content: "\f007";
    font-family:  "Font Awesome 5 Free";
    padding-right: 2px;
    padding-left: 1px;
    font-size:  13px;
    color:  #000;
}

#post-list .entry-content span.byline a {
    color:  #000;
    font-size:  13px;
    text-transform: none;
}

#post-list .entry-content p {
    font-size:  14px;
    color:  #000;
    text-align: justify;
}

.chuyen-muc .entry-meta.uppercase.is-xsmall {
    display:  inline-block;
    width:  50%;
}

.chuyen-muc .text-left {
    display:  inline-block;
    width: 49%;
}

.chuyen-muc .text-left a.more-link.button.primary.is-outline.is-smaller {
    margin:  0;
    float:  right;
    margin-top: 20px;
}

.absolute-footer.dark.medium-text-center.text-center {
    display: none;
}


@media only screen and (max-width: 414px) {
.chuyen-muc {
    display:  block;
}

.entry-image-float{
    max-width: 100%;
}

.entry-content {
    margin-left:  0 !important;
    padding-top:  5px;
}

#post-list .entry-content h2.entry-title {
    text-align:  justify;
}

#post-list .entry-content  p {
    text-align:  justify;
}

.chuyen-muc .text-left {
    display:  inline-block;
    width: 48%;
}
}



@keyframes top_left{from{width:0}to{width:100%}}
@keyframes top_bottom{from{height:0}to{height:100%}}
@keyframes bottom_left{from{left:100%}to{left:0}}
@keyframes bottom_top{from{top:100%}to{top:3px}}
@keyframes trf_left{from{opacity:0;transform:translate3d(-100%, 0, 0)}to{opacity:1;transform:none}}