/*
Theme Name: ThammyvienTSNhan
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
/*************** ADD CUSTOM CSS HERE.   ***************/
body {
    font-size: 18px!important;
    color: #000;
}

.is-divider {
    display: none;
}

#ez-toc-container .ez-toc-toggle label, .ez-toc-cssicon {
    margin: 0;
}

.grecaptcha-badge {
    display: none!important;
}

/* bottom-conversion*/
#bottom-conversion {
    position: fixed;
    left: 10px;
    bottom: 15px;
    width: auto;
    height: auto;
    z-index: 9999
}

#bottom-conversion a {
    display: block;
    overflow: hidden
}

#bottom-conversion a div {
    width: 40px;
    height: 40px;
    display: block;
    margin: 5px auto
}

#bottom-conversion a .phone {
    background: url(img/call.png) top center no-repeat;
    background-size: 100% 100%
}

#bottom-conversion a .zalo {
    background: url(img/zalo.png) top center no-repeat;
    background-size: 100% 100%
}

#bottom-conversion a .mess {
    background: url(img/fbmessenger.png) top center no-repeat;
    background-size: 100% 100%
}

@media only screen and (max-width: 768px) {
    #bottom-conversion {
        left:0;
        bottom: 0;
        width: 100%;
        height: 50px;
        background: #fffbfbd4
    }

    #bottom-conversion a {
        float: left;
        width: 33.3%
    }
}

/* end bottom-conversion*/
/* Bai viet lien quan cung chuyen muc */
.related-box .related-head {
    display: block;
    margin-bottom: 20px;
    font-size: 22px;
    color: #ed6600;
    text-transform: uppercase;
    border-bottom: 4px double;
    font-weight: 600;
}

.related-box .box-post {
    height: 100%;
    border-radius: 20px;
    -webkit-box-shadow: 0 1px 3px -2px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    box-shadow: 0 1px 3px -2px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    border-top: 3px solid #ff8c8b;
    overflow: hidden;
    border-bottom: 3px solid #ed9c9b;
}

.related-box ul li {
    margin-bottom: 3px;
}

.related-box ul li a {
    font-weight: 700;
    font-size: 16px;
    /*color: #2a9e2f;*/
}

.related-box ul li a:hover {
    text-decoration: underline;
}

.related-box .feature {
    position: relative;
    overflow: hidden;
}

.related-box .feature::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.related-box .feature .image {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background-size: cover;
    background-position: center;
}

.related-box ul.row.related-post li {
    list-style: none;
}

.related-box .related-title {
    line-height: 1.3 !important;
    margin-top: 10px !important;
    padding: 5px 15px 10px;
    font-weight: 600;
}

.related-box .related-title a {
    font-size: 18px;
}

/* -- Bai viet lien quan */
/* Header & Footer */
#masthead .header-nav-main li .sub-menu {
    padding: 5px 10px;
    border: 0;
    border-radius: 4px;
    min-width: 210px;
    width: max-content;
    max-width: 320px;
    background: #fff;
}

#masthead .header-nav-main li .sub-menu li {
}

#masthead .header-nav-main li .sub-menu li a {
    padding: 10px 5px;
    margin: 0;
    letter-spacing: -0.6px;
    line-height: 1.4;
    color: #000;
    font-weight: 500;
    text-align: justify;
    font-size: 17px;
}

#main-menu.mobile-sidebar .nav > li > a {
    font-size: 16px;
    text-transform: capitalize;
    letter-spacing: -1px;
    color: #333;
}

@media only screen and (max-width: 768px) {
}

#footer {
    border-top: 5px solid #c34c4a;
}

#footer .absolute-footer {
    background: #2c3232;
    border-top: 1px solid #878181;
    padding: 5px 0;
    font-size: 13px;
}

#footer .my-footer {
    padding: 40px 0 20px!important;
    background: rgb(50, 60, 60);
    background-position: center;
    background-size: contain;
    color: #fff;
}

#footer .my-footer {
}

#footer .my-footer .text {
}

#footer .my-footer .text h3 {
    font-size: 20px;
    font-weight: 600;
}

#footer .my-footer .text h4 {
    font-size: 19px;
    margin: 0 0 10px;
}

#footer .my-footer .text h3:before {
    content: "/";
    font-weight: bold;
    margin-right: 5px;
}

#footer .my-footer .text p {
    font-size: 17px;
    line-height: normal;
    margin-bottom: 15px;
}

#footer .my-footer .text p a {
    color: #fff;
}

#footer .my-footer .text p i {
    font-size: 14px;
}

@media only screen and (max-width: 849px) {
}

@media only screen and (max-width: 768px) and (min-width:550px) {
}

/* -- Header & Footer */
/* Single post  and categories */
.breadcrum #breadcrumbs {
    margin: 0;
}

.single.single-post .entry-content.single-page {
    padding-top: 0;
    padding-bottom: 0;
}

.single.single-post h1 {
    color: brown;
}

.single.single-post .large-9.col {
}

.single.single-post .large-9.col .html-before-comments.mb {
    margin-bottom: 0;
}

.single.single-post .entry-content.single-page a, .single.single-post .entry-content.single-page a:hover {
    color: #F44336;
    font-weight: 600;
}

.single.single-post #ez-toc-container a {
    font-weight: 100;
}

.single.single-post #main #content, .archive #main #content.blog-archive {
    padding-bottom: 0;
}

.single.single-post #main #content .post {
    margin: 0 0 0;
}

.single.single-post #main #content .entry-meta .posted-on {
    text-transform: initial;
}

.single.single-post #main #content .entry-meta .byline {
    display: none;
}

.single.single-post .breadcrum nav a, #content.blog-archive .breadcrum nav a {
    font-weight: 600;
    color: #fff;
}

.single.single-post .breadcrum nav .separator, #content.blog-archive .breadcrum nav .separator {
    color: #fff;
}

.single.single-post .breadcrum nav .last, #content.blog-archive .breadcrum nav .last {
    color: #fff;
}

.single.single-post article .entry-header {
    border-bottom: 1px solid #ffeded;
    margin-bottom: 20px;
}

.post-sidebar {
    padding-left: 0!important;
}

.post-sidebar aside .custom-html-widget {
    border: 1px solid #f1eaea;
    padding: 10px;
}

.post-sidebar aside .custom-html-widget .post-item {
    padding-bottom: 0;
}

.post-sidebar .widget {
    margin-bottom: 35px;
}

.post-sidebar aside#custom_html-2, .post-sidebar aside#custom_html-3 {
    background-color: unset;
    padding: 0;
    border: 0;
    text-align: unset;
}

.post-sidebar .is-divider {
    margin: 0 0 15px;
    max-width: 100%;
    background: unset;
    border-top: 3px double #ffdcdc;
}

.post-sidebar span.widget-title span {
    font-size: 22px;
    color: brown;
}

#content .post-sidebar .widget .side-call, #content .post-sidebar .widget ul {
    overflow: hidden;
    padding: 10px 0;
}

#content .post-sidebar .widget .side-call a {
    height: 40px;
    display: block
}

#content .post-sidebar .widget .side-call a.phone {
    float: left;
    width: calc(100% - 65px);
    line-height: 38px;
    background: #4CAF50;
    padding: 0 20px;
    color: #fff;
    border-radius: 20px;
    font-weight: 700;
    text-align: center;
    border: 1px solid #009688;
}

#content .post-sidebar .widget .side-call a.phone i {
    font-size: 13px;
    vertical-align: 0px
}

#content .post-sidebar .widget .side-call a.zalo {
    float: left;
    margin-left: 15px;
    animation: pulse-blue 2s infinite;
    background-color: #028fe3;
    border-radius: 50%;
    box-shadow: 0 0 0 0 #028fe3;
    overflow: hidden
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(2,143,227,.7);
        transform: scale(.95)
    }

    70% {
        box-shadow: 0 0 0 10px rgba(2,143,227,0);
        transform: scale(1)
    }

    to {
        box-shadow: 0 0 0 0 rgba(2,143,227,0);
        transform: scale(.95)
    }
}

#content .post-sidebar .widget .side-call a.zalo img {
    width: 40px;
    height: 40px
}

@media only screen and (max-width: 420px) {
    #content .post-sidebar .widget .side-call a.phone span {
        display:none;
    }
}

.post-sidebar .widget_media_image img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 2px;
}

.post-sidebar .widget .post-item .is-divider {
    display: none;
}

.category #main #content header.archive-page-header {
    display: none;
}

.category #main #content.blog-archive .large-9 .breadcrum {
    margin-bottom: 15px;
}

.category #main #content.blog-archive .post-item .col-inner {
    border-bottom: 1px solid #eee9e9;
    padding-bottom: 20px;
}

.category #main #content.blog-archive .post-sidebar .post-item {
    border-bottom: 0px solid #eee9e9;
    margin-bottom: 0px;
}

@media screen and (max-width: 768px) {
    .single.single-post #main #content .html-before-comments.mb {
        margin-bottom:0;
    }

    .single.single-post #main #content .breadcrum {
        padding: 0;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .post-sidebar {
        padding-left: 15px!important;
        padding-bottom: 0;
    }

    .post-sidebar #custom_html-4 {
        margin-bottom: 0px;
    }

    .category #main #content.blog-archive .large-9 .post-item .image-cover {
        width: 100%;
        height: auto;
    }

    .category #main #content.blog-archive .post-item .box .post-title {
        font-size: 18px;
    }

    .category #main #content.blog-archive .post-item .box img {
        object-fit: fill;
    }

    .category #main #content.blog-archive .post-item {
        margin-bottom: 25px;
        padding-bottom: 0;
    }

    .category #main #content.blog-archive .post-item .from_the_blog_excerpt, .category #main #content.blog-archive .post-item .is-divider {
        display: none;
    }

    .category #main #content.blog-archive .post-sidebar .post-item {
        margin-bottom: 20px;
    }

    #content.blog-single .post-sidebar .custom-html-widget .row-full-width, #content.blog-archive .post-sidebar .custom-html-widget .row-full-width {
        margin: 0;
    }
}

@media screen and (max-width: 549px) {
    article.post a, article.post p, article.post p span, article.post li, article.post li span, article.post strong {
        font-size: 18px;
    }

    .single.single-post h3 {
        font-size: 20px;
        line-height: 1.3;
    }
}

/* --Single post and categories */
/* Trang chu */
.home-title .text h2 {
    position: relative;
    font-size: 34px;
    font-weight: 700;
    width: max-content;
    margin: 0 auto;
    color: #000;
    padding-left: 50px;
}

.home-title .text h2 .square-shape {
    width: 40px;
    height: 35px;
    left: 0;
    top: 13px;
    position: absolute;
}

.home-title .text h2 i:nth-child(1) {
    height: 5px;
    width: 5px;
    background-color: #4ce7f3;
}

.home-title .text h2 .square-shape i:nth-child(1) {
    top: -8px;
    width: 5px;
    height: 5px;
    left: 20px;
    background-color: #4ce7f3;
}

.home-title .text h2 .square-shape i {
    height: 9px;
    width: 9px;
    position: absolute;
    top: 0;
    left: 0;
}

.home-title .text h2 .square-shape i:nth-child(2) {
    width: 10px;
    left: 28px;
    height: 10px;
    background-color: #4ce7f3;
}

.home-title .text h2 .square-shape i:nth-child(3) {
    height: 17px;
    width: 17px;
    background-color: #7c0dbe;
}

.home-title .text h2 .square-shape i:nth-child(4) {
    top: 10px;
    left: 10px;
    width: 12px;
    height: 12px;
    background-color: #ff00d6;
}

.gioi-thieu {
    padding: 40px 0 30px!important;
}

.gioi-thieu .col-inner {
}

.gioi-thieu .col-inner .box-image {
    border-radius: 40px 10px;
}

.gioi-thieu .col-inner .box-text {
}

.gioi-thieu .col-inner .box-text-inner h3 {
    font-size: 24px;
    text-transform: capitalize;
    font-weight: 100;
    color: rebeccapurple;
}

.gioi-thieu .col-inner .box-text-inner h4 {
    font-size: 28px;
    color: red;
    margin-bottom: 10px;
}

.gioi-thieu .col-inner .box-text-inner div {
    font-size: 18px;
    color: #000;
}

.tin-tuc {
    padding: 40px 0 30px!important;
}

.tu-van {
    padding: 40px 0 30px!important;
}

.tu-van .home-title .text h2 {
    margin-bottom: 15px;
}

.dich-vu {
    background: pink;
    padding: 40px 0 30px!important;
}

.dich-vu .home-title .text h2 {
    margin-bottom: 15px;
}

.dich-vu .img-inner img {
    border-radius: 20px;
}

.dich-vu .tabbed-content ul li a {
    font-size: 20px;
    color: #000;
    padding: 0 25px 0 0;
}

.dich-vu .tabbed-content ul li.active a {
    color: #ed6600;
}

.dich-vu .tabbed-content ul li:last-child a {
    padding: 0;
}

.dich-vu .tabbed-content ul li a span {
}

.dich-vu .tabbed-content .tab-panels {
}

.dich-vu .tabbed-content .tab-panels .post-item {
}

.dich-vu .tabbed-content .tab-panels .post-item .col-inner {
}

.dich-vu .tabbed-content .tab-panels .post-item .col-inner {
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid #e25252;
}

.cam-nhan {
    padding: 40px 0 20px!important;
}

.cam-nhan .icon-box {
}

.cam-nhan .icon-box .icon-box-img {
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.cam-nhan .icon-box .icon-box-text {
}

.cam-nhan .icon-box .icon-box-text h3 {
    font-size: 20px;
    color: #674133!important;
}

.cam-nhan .icon-box .icon-box-text p {
    font-size: 17px;
    color: #000!important;
    text-align: justify!important;
    margin-bottom: 0;
}

.cam-nhan .slider-style-focus {
    padding-bottom: 0px;
}

.cam-nhan .slider-show-nav .flickity-prev-next-button, .cam-nhan .slider:hover .flickity-prev-next-button {
    top: 60px;
    color: #ed6600;
    display: block;
}

.chuyen-khoa {
    padding: 40px 0 40px!important;
    background: aliceblue;
}

.chuyen-khoa .home-title .text h2 {
    margin-bottom: 15px;
}

.chuyen-khoa:after {
    content: "";
    right: 0;
    top: 50px;
    z-index: 0;
    position: absolute;
    width: 739px;
    height: 507px;
    background: url(img/f-shape1.png) top right no-repeat;
    background-size: 100%;
}

.chuyen-khoa .inner-box {
}

.chuyen-khoa .inner-box .col-inner {
    border-radius: 20px;
    padding: 30px 15px 25px;
    background-color: #e9ebf7;
    transition: 0.3s all ease-in-out;
    height: 100%;
    z-index: 0;
}

.chuyen-khoa .inner-box .col-inner:hover {
    background-color: #fff;
    box-shadow: 0px 25px 38px 0px rgba(43, 1, 68, 0.17);
}

.chuyen-khoa .inner-box .col-inner .box-image {
    width: 115px!important;
    height: 115px;
    z-index: 1;
    padding: 5px;
}

.chuyen-khoa .inner-box .col-inner .box-image:before, .chuyen-khoa .inner-box .col-inner .box-image:after {
    content: "";
    z-index: -1;
    border-radius: 25px;
    mix-blend-mode: multiply;
    height: 105px;
    opacity: 0;
    left: 0px;
    top: 0px;
    width: 105px;
    position: absolute;
    transition: 0.3s all ease-in-out;
}

.chuyen-khoa .inner-box .col-inner .box-image:before {
    content: "";
    animation: rotate 1.6s linear infinite;
    background: #33f1ff;
}

.chuyen-khoa .inner-box .col-inner .box-image:after {
    content: "";
    animation: rotate 1.2s linear reverse infinite;
    background: #e933ff;
}

.chuyen-khoa .inner-box .col-inner:hover .box-image:before, .chuyen-khoa .inner-box .col-inner:hover .box-image:after {
    content: "";
    display: block;
    opacity: 1;
}

.chuyen-khoa .inner-box .col-inner .box-image img {
    width: 95px!important;
    z-index: 1;
    height: 95px;
    margin: 0 auto;
    line-height: 95px;
    margin-bottom: 0;
    padding: 10px;
    border-radius: 25px;
    background-color: #ffffff;
    box-shadow: -0.707px 0.707px 10px 0px rgba(43, 1, 68, 0.1);
}

.chuyen-khoa .inner-box .col-inner .box-text {
    padding: 5px 0 0;
}

.chuyen-khoa .inner-box .col-inner .box-text .box-text-inner h3 {
    font-size: 20px;
    color: #000;
    margin: 0;
}

.chuyen-khoa .inner-box .col-inner .box-text .box-text-inner div {
    color: #000;
    margin: 5px 0 0;
}

.tai-sao {
    background: #f9efed;
    padding: 40px 0 30px!important;
}

.tai-sao .home-title .text h2 {
    margin-bottom: 15px;
}

.tai-sao .inner-box .col-inner {
    background: #fff;
    height: 100%;
    padding: 30px 10px;
    border-radius: 20px;
    overflow: hidden;
    border-bottom: 3px solid #FF9800;
    border-top: 3px solid #FF5722;
}

.tai-sao .inner-box .col-inner .box-image {
    border-radius: 50%;
    width: 60%!important;
    max-width: 90px;
}

.tai-sao .inner-box .col-inner .box-image img {
}

.tai-sao .inner-box .col-inner .box-text {
    padding: 15px 0 0;
}

.tai-sao .inner-box .col-inner .box-text .box-text-inner h4 {
    font-size: 18px;
    font-weight: 400;
    color: #000;
}

@media screen and (max-width: 768px) {
    .home-title .text h2 {
        font-size: 30px;
        width: 100%;
        text-align: left;
    }
}

/* -- Trang chu */
/* Lien he */
@media screen and (max-width: 768px) {
    .page-id-17 .contact-form-1, .page-id-17 .contact-form-2 {
        width: 100%;
        margin-right: 0;
        float: none;
    }

    .page-id-17 .submit-button {
        text-align: left;
    }

    .page-id-17 img.aligncenter {
        margin: 0 auto;
        display: block;
    }
}

/* -- Lien he */
