/*
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.   ***************/
@font-face {
  font-family: HelveticaNeue;
  src: url(./fonts/HelveticaNeue.otf);
}
@font-face {
  font-family: HelveticaNeue-Bold;
  src: url(./fonts/HelveticaNeue-Bold.otf);
}
body {
    font-family: HelveticaNeue;
    font-size: 14px;
}
strong, b, h1, h2, h3, h4, h5, h6 {
    font-family: HelveticaNeue-Bold;
    font-weight: normal;
}
p {
    margin-bottom: 15px;
}
p:last-child {
    margin-bottom: 0;
}
.section > .section-content > .row > .col {
    padding-bottom: 0;
}
.header-top {
    z-index: 1;
}
.header-top .nav-small.nav>li.html {
    font-size: 14px;
    font-size: 14px;
    position: relative;
}


.header-main .header-nav-main.nav > li > a {
    font-weight: normal;
    font-size: 14px;
}
.txt-h2 h2 {
    color: #fff;
    font-size: 40px;
    text-shadow: 2px 2px 2px #000000;
}
.button {
    font-weight: normal;
}
.row-uni > .col {
    max-width: 20%;
    flex-basis: 20%;
    border: 1px solid #deeaff;
    margin-right: -1px;
    margin-bottom: -1px;
}
.copyright-footer {
    font-size: 14px;
    font-weight: normal;
    color: #fff;
}
.flickity-page-dots {
    bottom: 0;
}
.box-text {
    font-size: 14px;
}
.box-text ul li {
    list-style: none;
    margin-left: 0;
    position: relative;
    padding-left: 20px;
}
.box-text ul li:before {
    content: '\f00c';
    font-family: FontAwesome;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}
.row-border > .col > .col-inner {
    border: 1px solid #68a3ff;
    background-color: #f5f8ff;
}
.row-border h3 {
    margin-bottom: 0;
}

.blog-wrapper.blog-archive {
    padding-top: 0;
}
.archive-page-header {
    background-image: url(images/bg3.jpg);
    background-size: cover;
    padding-top: 60px;
    padding-bottom: 60px;
}
.archive-page-header .row .col {
    padding-bottom: 0;
}
.archive-page-header h1 {
    font-size: 40px;
    color: #fff;
    text-align: center;
    margin-bottom: 0;
}
.box-parent-term {
    overflow: hidden;
    margin-bottom: 50px;
}
.box-cate-select {
    margin: 0px 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sl-category {
    width: 165px;
}
.parent-term {
    display: block;
}
.parent-term > span {
    display: inline-block;
    margin-right: 13px;
    position: relative;
    top: 7px;
    font-weight: bold;
}
.parent-term .sl-category {
    width: initial;
    display: inline-block;
    min-width: 190px;
    margin-top: 25px;
    margin-right: 15px;
}
.category-title h2 {
    font-size: 28px;
    text-transform: uppercase;
}
.category-title h2 a {
    color: #333;
}
.category-title h2 a:hover {
    color: var(--primary-color);
}
.row-post {
    display: grid;
    grid-template-columns: 31.5% 31.5% 31.5%;
    grid-gap: 30px;
}
.row-post .post-1 {
  grid-row: 3 / 1;
  grid-column: 1 / 3;
}
.row-post .rt-post-image img {
    height: 156px;
    object-fit: cover;
}
.row-post .post-1 .rt-post-image img {
    height: 549px;
    object-fit: cover;
}
.row-post .boxt-text-item {
    background-color: #f0f0f0;
    padding: 15px 15px;
}
.row-post .post-1 .boxt-text-item {
    background-color: #f0f0f0;
    padding: 15px 25px;
}
.row-post .post-1 .boxt-text-item .title-product a {
    border-bottom: none;
}
.row-post .boxt-text-item .title-product a {
    border-bottom: 1px solid;
    font-size: 22px;
    line-height: 26px;
}
.row-post .boxt-text-item .meta-item span {
    font-size: 12px;
    text-transform: uppercase;
    margin-right: 15px;
}
.row-post .boxt-text-item .post-tags {
    margin-top: 20px;
}
.row-post .boxt-text-item .post-tags a {
    font-size: 10px;
    color: #444444;
    border: 1px solid #d6d6d6;
    padding: 5px 10px;
    margin-right: 10px;
}
.row-post .boxt-text-item .post-tags a:last-child {
    margin-right: 0;
}
.row-post .boxt-text-item .post-tags a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.row-post-item {
    margin: 0 -15px;
    margin-top: 20px;
}
.row-post-item .post-item {
    width: 33.33333333%;
    padding: 0 15px;
    margin: 15px 0;
    float: left;
}
.row-post-item .boxt-text-item {
    background-color: #f0f0f0;
    padding: 15px 15px;
}
.row-post-item .boxt-text-item .meta-item span {
    font-size: 12px;
    text-transform: uppercase;
    margin-right: 15px;
}
.row-post-item .boxt-text-item .post-tags {
    margin-top: 20px;
}
.row-post-item .boxt-text-item .post-tags a {
    font-size: 10px;
    color: #444444;
    border: 1px solid #d6d6d6;
    padding: 5px 10px;
    margin-right: 10px;
}
.row-post-item .boxt-text-item .post-tags a:last-child {
    margin-right: 0;
}
.row-post-item .boxt-text-item .post-tags a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.row-post-item .rt-post-image img {
    height: 240px;
    object-fit: cover;
}
ul.links {
    clear: both;
    padding-top: 30px;
}
.ux-menu-title {
    font-size: 18px;
}
.back-to-top {
    background-image: linear-gradient(to right, #5780e5 , #59a9e8);
    border: none !important;
    color: #fff !important;
    font-size: 16px !important;
}
.absolute-footer {
    padding-top: 0;
}
#related_posts_rpw ul {
    padding: 8px !important;
}
#related_posts_rpw li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.single-title-bar {
    background-image: url(images/bg3.jpg);
    background-size: cover;
    padding-top: 40px;
    padding-bottom: 40px;
}
.single-title-bar .breadcrumb {
    color: #fff;
}
.single-title-bar .breadcrumb a {
    color: #fff;
}
.single-title-bar h1 {
    color: #fff;
    font-size: 27px;
    margin-top: 15px;
}
.single-title-bar .share-icons {
    color: #fff;
    font-size: 16px;
}
.but-scroll a:after {
    content: '\f078';
    font-family: FontAwesome;
    width: 42px;
    height: 42px;
    background-color: #fff;
    color: var(--primary-color);
    border-radius: 100%;
    text-align: center;
    line-height: 42px;
    position: absolute;
    top: auto;
    right: 0;
    bottom: -22px;
    left: 0;
    margin: auto;
    z-index: 1;
    font-size: 18px;
}
.but-scroll a:after:hover {
    background-color: var(--primary-color);
    color: #fff;
}
.but-scroll {
    position: relative;
}
.single-title-bar .container{
    position: relative;
}
.single-title-bar .container .cus-date {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #fff;
    font-style: italic;
}

.header-consultant {
    background-color: #fff;
    padding: 10px 20px;
    box-shadow: 0px 8px 10px -7px #c7c7c7;
    position: relative;
    z-index: 2;
}
.header-consultant .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.consultant-breadcrumbs {
    font-size: 20px;
}
.consultant-search .consultant-search-box form {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}
.consultant-search .consultant-search-box form .ip-text {
    height: 40px;
    border: 1px solid #89D8EF;
    border-radius: 8px 0 0px 8px;
    width: 585px;
    margin-bottom: 0;
}
.consultant-search .consultant-search-box form button {
    background-color: #1F498A;
    text-transform: none;
    color: #fff;
    font-weight: normal;
    width: 100px;
    border-radius: 0 8px 8px 0;
    white-space: normal;
    height: 40px;
    margin-bottom: 0;
}
.consultant_content {
    background-color: #E4EBF3;
}
.consultant_content .consultant_content-box {
    overflow: hidden;
}
.consultant_content .consultant_content-left {
    width: 20.5%;
    background-color: #fff;
    padding: 20px;
    float: left;
}
.consultant_content .consultant_content-right {
    padding: 20px;
    width: 79.5%;
    float: left;
}

@media(min-width: 850px) {

    .header-top .nav-small.nav>li.html {
        top: 6px;
    }
    #logo img {
        max-height: 98px !important;
    } 
    .header-main #logo {
        position: absolute;
        top: -20px;
        z-index: 9999;
    }
    .list-menu-footer ul {
        margin: 0;
    }
    .list-menu-footer ul li {
        list-style: none;
        margin: 2px 11px;
        display: inline-block;
    }
    .list-menu-footer ul li:first-child {
        margin-left: 0;
    }
    .list-menu-footer ul li:last-child {
        margin-right: 0;
    }
    .absolute-footer .footer-primary {
        border-top: 1px solid #5f80ad;
        padding-top: 15px;
    }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .row-uni > .col {
        max-width: 50%;
        flex-basis: 50%;
    }
    .txt-h2 h2 {
        font-size: 20px;
    }
    .row-post-item .post-item {
        width: 100%;
    }
    .archive-page-header h1 {
        font-size: 26px;
    }
    .row-post {
        grid-template-columns: 100%;
    }
    .row-post .post-1 {
        grid-row: 1 / 1;
        grid-column: 1 / 1;
    }
    .row-post .post-1 .rt-post-image img {
        height: 321px;
    }
    .row-post .rt-post-image img {
        height: 321px;
    }
    .single-title-bar .container .cus-date {
        position: initial;
    }
}
.entry-category a {
    line-height: 20px;
    display: inline-block;
}
#shop-sidebar .widget-title,
#product-sidebar .widget-title,
.post-sidebar .widget-title  {
    display: block;
    background: #1f498a;
    color: #fff;
    padding: 12px 20px;
}
#shop-sidebar .is-divider,
#product-sidebar .is-divider,
.post-sidebar .is-divider {
    display: none;
}
#shop-sidebar .widget,
#product-sidebar .widget,
.post-sidebar .widget {
    box-shadow: 0 0 0 1px #e1e1e1;
}
.product_list_widget,
.post-sidebar .widget .recent-blog-posts {
    padding: 10px;
}
#shop-sidebar .widget ul.menu li > a,
#product-sidebar .widget ul.menu li > a,
.post-sidebar .widget ul.menu li > a {
    display: block;
    padding: 8px 10px;
}
#product-sidebar .widget ul.menu li > a:before,
.post-sidebar .widget ul.menu li > a:before {
    content: "\f105";
    font-family: 'fl-icons' !important;
    font-size: 15px;
    margin-right: 10px;
    color: #000;
    font-weight: bold;
}
.entry-content.single-page {
    padding-top: 0;
}
.entry-header .entry-header-text {
    padding-bottom: 0;
}
/* */
.breadcrumb_last {
    display: none;
}
.tagcloud {
    padding: 10px 10px;
}
.tagcloud a {
    font-size: 15px !important;
    border: 1px solid #e1e1e1;
    padding: 2px 9px;
    display: inline-block;
    margin-bottom: 6px;
    margin-right: 4px;
}
.tagcloud a:hover {
    color: #fff;
}

.post-custom-1 .flickity-button {
    display: none;
}
.post-custom-1 .col-inner {
    border-radius: 20px;
}
.post-custom-1 .box {
    padding-top: 30px;
    border-radius: 20px;
}
.post-custom-1 .box .box-text {
    border-radius: 0 0 20px 20px;
    padding-top: 25px;
}
.post-custom-1 .box .post-title {
    color: var(--primary-color);
    text-transform: uppercase;
}
.box-blog-post .is-divider {
    display: none;
}
.chucvu {
    font-size: 16px;
}

.post-custom-2 .col.post-item {
    border: 1px solid #deeaff;
    margin-right: -1px;
    margin-bottom: -1px;
}
.post-custom-2 .box {
    padding: 15px;
    background-color: #fff;
}
.post-custom-2 .box .box-image {
    margin-bottom: 15px;
}
.post-custom-2 .box .box-text {
    padding: 0;
}
.post-custom-2 .box .post-title {
    font-size: 15px;
    font-family: HelveticaNeue;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.inner-box .icon-box {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 70px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 10px;
    z-index: 2;
}
.inner-box .icon-box::before {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(-45deg, var(--primary-color), #96bfff);
    border-radius: 50%;
    content: "";
    opacity: 0.1;
}
.inner-box .icon-box::after {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(-45deg, #fcac3a, var(--primary-color));
    border-radius: 50%;
    content: "";
    opacity: 0.6;
    transform: scale(0);
    transition: all 300ms ease;
}
.inner-box .icon-box i {
    position: relative;
    font-size: 42px;
    z-index: 2;
    color: var(--primary-color);
}
.read-more {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 80px;
    width: 80px;
    padding: 10px 20px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 2;
    color: var(--primary-color);
    font-size: 20px;
}
.read-more i {
    position: relative;
}
.read-more:before {
    position: absolute;
    right: 0;
    bottom: 0;
    border-left: 80px solid transparent;
    border-bottom: 80px solid #f5f5f6;
    transition: all 300ms ease;
    content: "";
}
.read-more:before {
    border-bottom-color: #ebebeb;
}
/* */
.row-post-item .post-item .title-product a {
	height: 40px;
	line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* */
.related-post .col.post-item {
    padding:0 10px;
}
.related-post .col.post-item .col-inner{
    border-bottom: 1px solid #e1e1e1;
    padding: 10px 10px;
}
.related-post .col.post-item .post-title {
    color: #1f498a;
    font-size: 14px;
    font-weight: 300;
}
