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

/*************** ADD CUSTOM CSS HERE.   ***************/


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


}


#masthead table td {
    border: none;
}

#wide-nav .menu-item a.nav-top-link {
    padding: 15px 10px;
}

#wide-nav li+li a.nav-top-link:after {
    height: 100%;
    top: 0;
    margin-top: 0;
}

#wide-nav input#s {
    height: 51px;
    border-radius: 0;
    border: none;
}

.td {
    font-size: 22px;
    font-weight: bold;
    color: #00854a;
}

.sc-doingu .icon-box p {
    margin-bottom: 0;
}

.sc-ketnoi .col.large-4:first-child p {
    color: #fff;
    margin-bottom: 10px;
}

.sc-ketnoi .col.large-4:first-child p:first-child {
    font-weight: bold;
    font-size: 18px;
}

.td {
    font-size: 22px;
    font-weight: bold;
    color: #00854a;
}

.sc-doingu .icon-box p {
    margin-bottom: 0;
}

.sc-ketnoi .col.large-4:first-child p {color: #fff;margin-bottom: 10px;}

.sc-ketnoi .col.large-4:first-child p:first-child {
    font-weight: bold;
    font-size: 18px;
}

.sc-khoahoc .tab a {
    color: #c86b3e;
    font-size: 15px;
    padding: 10px 25px;
    border: 1px solid #f5cc9c;
    font-weight: normal;
}

.sc-khoahoc .tab.active a {
    background-color: #339344;
    color: #fff;
}

.view-all:before, .view-all:after {
    content: "";
    display: inline-block;
    width: 100%;
    height: 2px;
    background-color: #e5e5e5;
}

.view-all {
    display: flex;
    align-items: center;
}

.view-all a {
    white-space: nowrap;
    padding: 0 15px;
    font-weight: bold;
    text-transform: uppercase;
    color: #27a24f;
    font-size: 20px;
}

.sc-blog .box.box-vertical {
    background: none !important;
}

.sc-blog .post-item .col-inner {
    background-color: transparent;
    box-shadow: none;
}

.sc-blog .post-item .box-image {
    border-radius: 10px;
    border: 5px solid #bb1931;
    box-shadow: 4px 4px 4px #9b2436;
}

.sc-blog .post-title {
    color: #fff950;
}

.sc-blog .is-divider {
    display: none;
}

.form-dk .form-email {
    margin-bottom: 0;
}

.form-dk .wpcf7-spinner {
    position: absolute;
}

.form-dk .bt-email {
    margin: 0;
}

.form-dk > .col {
    padding-bottom: 0;
}

.form-dk {
    background: url(/wp-content/uploads/2023/09/bg_dangky.png) no-repeat;
    background-size: 100%;
    padding: 100px 0;
    align-items: flex-end;
}

.form-dk label {
    color: #b13445;
    font-size: 16px;
    margin-bottom: 0;
}

.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:  var(--primary-color);
    border-color:  var(--primary-color);
    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:  var(--primary-color);
}

.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:  var(--primary-color);
    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.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.is-xsmall > span {
    margin-right: 10px;
    font-size: 12px;
}

.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;
}

.chuyen-muc .entry-image-float a {
    overflow: hidden;
    padding-top: 65%;
    background-position: 50% 50%;
    background-size: cover;
}

.chuyen-muc .entry-image-float a img {
    right: 0;
    width: 100%;
    height: 80%;
    bottom: 0;
    left: 0;
    top: 0;
    position: absolute;
    object-position: 50% 50%;
    object-fit: cover;
    font-family: 'object-fit: cover;';
}

.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: 20px;
    width: 70%;
    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.1, 1.1);
}

#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.is-xsmall {
    display:  inline-block;
    width:  50%;
}

.chuyen-muc .entry-meta.is-xsmall span {
    margin-right: 10px;
}

.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;
}

@media only screen and (max-width: 768px) {
div#masthead {
    height: 75px;
}

.sc-doingu .icon-box p {
    font-size: 15px;
}

.form-dk .bt-email {
    width: 100%;
}
}

@media only screen and (max-width: 549px) {
.sc-ketnoi .img {
    margin: 0 auto;
    width: 80% !important;
}

.sc-ketnoi .col-inner > p, .sc-ketnoi .col-inner .text > p {
    text-align: center;
    font-size: 24px;
    margin-bottom: 0;
    text-shadow: -1px -1px 2px rgba(255,255,255,.8), 0px -1px 2px rgba(255,255,255,.8), 1px -1px 2px rgba(255,255,255,.8), 1px 0px 2px rgba(255,255,255,.8), 1px 1px 2px rgba(255,255,255,.8), 0px 1px 2px rgba(255,255,255,.8), -1px 1px 2px rgba(255,255,255,.8), -1px 0px 2px rgba(255,255,255,.8);
}

.sc-ketnoi .col:first-child .col-inner > div {
    text-align: center;
}

.sc-ketnoi .col:first-child .col-inner  > p {
    color: #000;
}

.sc-khoahoc li.tab {
    width: 50%;
    margin: 0;
    padding: 5px;
}

.sc-khoahoc .tab a {
    max-width: 100%;
    display: block;
    margin: 0;
    padding: 10px;
    text-align: center;
}

.form-dk .form-email {
    margin-bottom: 30px;
}

.form-dk {
    background-size: 100% 100%;
    padding: 50px 0;
}

.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%;
}
}

@font-face {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  src: url("webfonts/fa-solid-900.ttf") format("truetype");
}

@font-face {
  font-family: 'Font Awesome 6 Free';
  font-weight: normal;
  src: url("webfonts/fa-regular-400.ttf") format("truetype");
}

.fa, .fas {
  font-family: 'Font Awesome 6 Free';
}