/*
Theme Name: skda
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  ***************/


}


/*************** TITLE   ***************/

.title-qa {
    text-align: center;
    margin-bottom: 20px;
}

.title-qa .bottom-title:before {
    right: 40px;
}

.title-qa .bottom-title:after {
    left: 40px;
}

.title-qa .bottom-title:after, .bottom-title:before {
    position: absolute;
    content: '';
    width: 90px;
    height: 3px;
    background-color: #23282d;
    top: 50%;

}

.title-qa .bottom-title {
    position: relative;
    display: inline-block;
}

.title-qa .bottom-title .bottom-icon {
    margin: 0 auto;
    font-size: 23px;
    color: #7b7b7b;
}

.title-qa h3 {
    margin-bottom: 0;
    color: #e2231a;
}

.item-qa .content {
    text-align: center;
    margin-top: -15px;
    z-index: 999;
    position: relative;
}

.item-qa .content .info {
    background-color: #f44336b0;
}

.item-qa .content .info {
    text-transform: uppercase;
    text-align: center;
    display: inline-block;
}

/*************** item-qa   ***************/
.item-qa .content {
    text-align: center;
    margin-top: -15px;
    z-index: 999;
    position: relative;
}

.item-qa .content .info {
    background-color: #f44336b0;
}

.item-qa .content .info {
    text-transform: uppercase;
    text-align: center;
    display: inline-block;
}

.item-qa img:hover {
    -webkit-transform: scale(1.05, 1.05);
    -moz-transform: scale(1.05, 1.05);
    -ms-transform: scale(1.05, 1.05);
    -o-transform: scale(1.05, 1.05);
}

.item-qa img {
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}


.item-qa .date, .item-qa .author {
    display: inline-block;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 30px;
    padding: 0 0 0 20px;
    float: left;
}

.item-qa .date {
    padding: 0 20px 0 0;
}

.list-item-qa {
    margin: 10px 0;
}

.item-qa .date:before {
    content: '';
    width: 4px;
    height: 4px;
    background: #fff;
    line-height: 30px;
    float: left;
    border-radius: 50%;
    display: inline-block;
    margin: 13px 8px;
}

.item-qa {
    -webkit-box-shadow: 1px 3px 5px 0px rgba(158, 153, 153, 0.75);
    -moz-box-shadow: 1px 3px 5px 0px rgba(158, 153, 153, 0.75);
    box-shadow: 1px 3px 5px 0px rgba(158, 153, 153, 0.75);
    overflow: hidden;
    background: #fff;
}

.item-qa .image {
    overflow: hidden;
}

.item-qa h4.title {
    text-align: left;
    padding: 10px;
    font-size: 15px;
  
    overflow: hidden;
}
@media screen and (min-width:769px){
    .item-qa h4.title {
         height: 90px; 
    }
}
.btn-item-qa {
    text-align: center;
}

.btn-item-qa a {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #e83025;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 8px 25px;
    text-align: center;
    text-decoration: none;
}

.btn-item-qa a:hover {
    background-color: #f20e00;
}

/*************** TU LIEU NGHE NHIN  ***************/
.tu-lieu-nn .title-qa h3, .tu-lieu-nn .title-qa .bottom-title .bottom-icon {
    color: #fff;
}

.tu-lieu-nn .title-qa .bottom-title:after, .tu-lieu-nn .bottom-title:before {
    background-color: #fff;
}

/*************** FOOTER  ***************/
@media screen and (min-width: 769px) {
    #widget-footer-1 {
        width: calc(33.3% - (0.667 * 30px)) !important;
    }


    #widget-footer-2, #widget-footer-3, #widget-footer-4, #widget-footer-5 {
        width: calc(16.675% - (0.83325 * 30px)) !important;
    }
}

/*************** page single ***************/
.single .entry-header .entry-meta li {
    border-right: 1px solid #eee;
    padding-right: 23px;
    margin-right: 20px;
    list-style: none;
    display: inline-block;
    line-height: 18px;
    margin-top: 10px;
}

.single .entry-header .entry-meta li span {
    color: #ccc;
    font-size: 12px;
    font-weight: 700;
    display: block;
    line-height: 18px;
}

.single .entry-header .entry-meta li span {
    color: #ccc;
    font-size: 12px;
    font-weight: 700;
    display: block;
    line-height: 18px;
}

.single .entry-meta li span.value {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    display: inline-block;
    color: #7a7a7a;
}

/*************** page-title-wrapper ***************/
.page-title-wrapper {

    padding-bottom: 90px;
    text-align: left;
    position: relative;
    z-index: 1;
}
@media screen and (min-width:769px){
    .page-title-wrapper {
    padding-top: 90px;
    padding-bottom: 90px;
    text-align: left;
    position: relative;
    z-index: 1;
}
} 
.page-title-wrapper h2 a {
    color: #fff;
}

.page-title-wrapper h2 {
    color: inherit;
    margin: 0;
    line-height: 54px;
    text-transform: uppercase;
    font-size: 48px;
    font-weight: 700;
    padding-left: 25px;
    position: relative;
    border-left: 3px solid #ed1300;
}

.overlay-top-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
}

.top_site_main {
    color: #fff;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-color: rgba(45, 51, 57, .95);
    min-height: 235px;
    margin-bottom: 20px;
}

#footer {
    background: #111;
    padding-top: 80px;
}

#footer .thim-social li a {
    color: #999;
}

#footer .thim-social li a {
    border-color: #999;
}

#footer .thim-social a {
    font-size: 16px;
    width: 32px;
    height: 32px;
    line-height: 30px;
    border: 1px solid #999;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    overflow: hidden;
    cursor: pointer;
}

#footer .thim-social ul.social_link li {
    display: inline-block;
    margin: 0;
    list-style: none;
    padding: 0;
}


#footer .copyright-content {
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px solid #252121;
}


#footer p.text-copyright {
    color: #879599;
    font-size: 12px;
}

#footer p.text-copyright a {
    color: #676767;
    font-size: 15px;
}

#footer p.info .fa {
    margin-right: 10px;
    color: #fff;
}

#footer p.info a {
    color: #fff;
}

#footer h3 {
    color: #fff;
}

#footer a {
    color: #999;
    font-size: 13px;
}

#footer li {
    border-top: transparent;
}

#footer .copyright-content .text-right li {
    display: inline-block;
    list-style: none;
    line-height: 30px;
    margin-left: 15px;
}

@media screen and (max-width: 768px) {
    .footer-wrapper {
        padding: 0 25px;
    }
}

/*************** WIDGET RIGHT ***************/
.post-sidebar.large-3.col {
    padding: 0;
}

#flatsome_recent_posts-2 ul {
    padding: 0 25px;
    margin-top: 15px;
}

#flatsome_recent_posts-2 .is-divider.small {
    display: none;
}

#flatsome_recent_posts-2 .widget-title {
    border-left: 3px solid #ed1300;
    padding: 10px 20px;
}

/*************** ARCHIVE POST ***************/
.archive .page-numbers.nav-pagination.links.text-center {
    text-align: right;
}

.archive .nav-pagination>li>.current,.archive .nav-pagination>li>a.current {
    border-color: #ed1300;
    background-color: #ed1300;
    color: #FFF;
    border-radius: inherit;
}

.archive .nav-pagination>li>span, .archive .nav-pagination>li>a {
    border-radius: inherit;

}
.archive .nav-pagination>li>.current, .archive .nav-pagination>li>span:hover, .archive .nav-pagination>li>a:hover {
    border-color: #ed1300;
    background-color: #ed1300;
}
.archive .heading-tt.container {
    padding: 0 15px;
    text-align: center;
}

.archive .heading-tt.container h3 {
    background: #ed1300;
    color: #fff;
    padding: 5px 0;
    font-size: 16px;
}

.archive .heading-tt.container {
    margin: 10px auto ;
}

.breadcrumbs-wrapper .container {
    border-bottom: 1px solid #eee;
    margin-bottom:10px;
}
/*************** Edugate***************/
.edugate-image.col {
    padding: 0 0 0 15px;

}

.edugate-content {
    padding: 15px 30px;
    background-color: #fafafa;
}

.edugate-content .title {
    font-size: 30px;
    line-height: 35px;
    margin: 0 0 6px 0;
    max-height: 84px;
    overflow: hidden;
    color: #49575f;
    display: inline-block;

}
.edugate-content .info .item {
    text-transform: capitalize;
    display: inline-block;
}
.edugate-content .info .author:after  {
    content: '|';
    margin: 0 5px;
    color: #bfc9ce;
}
.edugate-content .info .item a {
    color: #49575f;
    font-size: 14px;
}
.edugate-content  .info-more .item {
    display: inline-block;
    margin-right: 12px;
    color: #49575f;
}
.edugate-content .info-more {
    margin-bottom: 15px;
}

.edugate-content .btn-post {
    text-align: right;
}

.edugate-content .btn-post a {
    background-color: #ed1300;
    color: #fff;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    padding:10px 25px;
}

/* Header luon dinh len top khi cuon (sticky) — ban goc co class has-sticky nhung khong hoat dong
   (position:sticky bi vo hieu boi phan tu cha co overflow/transform, hay gap voi slider).
   Dung position:fixed qua JS (class .skda-scrolled) thay vi CSS sticky de chac chan hoat dong,
   kem .skda-header-spacer (JS tao) de khong bi giat noi dung khi header roi khoi flow. */
.header-wrapper.skda-scrolled {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #12100f;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
    transition: background-color .25s ease, box-shadow .25s ease;
}
.skda-header-spacer {
    width: 100%;
}

/* Mau chu Menu mac dinh la do tuoi (giong mau logo nhung sang hon vi #a4161a hoi tham).
   Khi hover thi doi sang trang. Them 1 lop nen xam trang mo (van xuyen thau thay anh nen phia
   sau) ngay duoi khu Menu de tach rieng no ro rang hon voi anh nen.
   LUU Y: Menu chinh dung plugin Max Mega Menu, markup la .mega-menu-link (KHONG PHAI .nav>li>a
   cua Flatsome) — phai target dung class nay CSS moi co tac dung. */
#mega-menu-wrap-primary {
    background-color: rgba(247, 243, 236, 0.4);
    border-radius: 999px;
    padding: 4px 20px;
}
#mega-menu-wrap-primary .mega-menu-link {
    color: #e2231a !important;
}
#mega-menu-wrap-primary .mega-menu-link:hover,
#mega-menu-wrap-primary .mega-menu-item.mega-current-menu-item > .mega-menu-link,
#mega-menu-wrap-primary .mega-menu-item:hover > .mega-menu-link {
    color: #fff !important;
}

/* Icon Menu (3 gach) tren mobile mau trang bi mo vao anh nen sang mau -> doi sang do de de nhin ro */
@media (max-width: 900px) {
    .header .nav-icon a,
    .header .nav-icon .header-button {
        color: #a4161a !important;
    }
    .header .nav-icon svg,
    .header .nav-icon svg * {
        fill: #a4161a !important;
        stroke: #a4161a !important;
    }
}