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

/*************** ADD CUSTOM CSS HERE.   ***************/
.breadcrumbs-wrap{
	margin: 15px 0;
}
.d_flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: wrap;
    flex-flow: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.sec32_col1 {
    width: calc(100% - 300px - 32px);
}

.sec32_col2 {
    width: calc(300px);
}
.entry-title--archive {
    margin-top: 8px;
    font-weight: 600;
    color: #444;
    width: 100%
}
.entry-loop__top {
    margin: 8px 0 24px;
    padding-bottom: 8px;
    border-bottom: 3px solid #eee;
}
.entry-loop__top__col.v1 {
    width: 66%;
}
.entry-loop__top__col.v2 {
    width: calc(100% - 66% - 32px);
}
.entry-loop__top__col.v2 ul li {
    width: 100%;
}
.entry-loop__top__col.v1 ul li .text__title {
    font-size: 18px;
    max-height: calc(2*1.4*18px + 0px);
    font-weight: 600;
    margin-top: 4px;
}
.entry-loop__top__col.v2 ul li {
    margin-bottom: 12px;
}
.entry-loop__top__col.v2 ul li .text__title {
    font-size: 18px;
    max-height: calc(2*1.4*18px + 0px);
    font-weight: 600;
    margin-top: 4px;
}
.entry-loop__row {
    padding-bottom: 16px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--fs-experimental-link-color)
}
.entry-loop__row__title {
    width: 100%;
    margin: 8px 0 24px;
    font-weight: 600;
    font-size: 24px;
    color: #333
}
.thumb {
    width: 100%;
}
.text {
    width: 100%
}
.thumb a {
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
}
.thumb a img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 8px
}
.thumb a:hover img {
    opacity: .8;
}
.entry-loop__row__title .h_3 {
    padding: 0;
}
.entry-loop__row .text__title  a {
    color: #333;
}
.entry-loop__row .text p{
	margin-bottom:0;
}
.entry-loop__row ul:nth-child(2) {
    width: 55%;
}

.entry-loop__row ul:nth-child(3) {
    width: calc(100% - 55% - 24px);
}
.entry-loop__row ul:nth-child(2) li {
    width: 100%;
}
.entry-loop__row ul:nth-child(2) li .text {
    display: flex;
    flex-direction: column;
    margin-top: 8px
}
.entry-loop__row ul:nth-child(2) li .text__title {
    font-size: 18px;
    max-height: calc(2*1.4*18px + 0px);
    font-weight: 600;
    margin-top: 4px;
}
.entry-loop__row ul:nth-child(2) li .text__info {
    order: 2;
    margin-top: 8px;
}
.entry-loop__row ul:nth-child(3) {
    display: block
}
.entry-loop__row ul:nth-child(3) li {
    width: 100%;
    margin-bottom: 16px
}
.entry-loop__row ul:nth-child(3) li .thumb {
    width: 120px;
}
.entry-loop__row ul:nth-child(3) li .thumb a {
    padding-bottom: 70%
}
.entry-loop__row ul:nth-child(3) li .text {
    width: calc(100% - 120px - 12px);
}
.entry-loop__row ul:nth-child(3) li .text__title {
    -webkit-line-clamp: 3;
    font-size: 16px;
    max-height: calc(3*1.4*16px + 0px);
    font-weight: 600;
}
    .sec32 .wrap>div {
        padding:12px 8px 12px;
    }
/*     .sec32_col1,.sec32_col2 {
        width: 100%;
    } */
    .entry-loop__top {
        margin: 8px 0 16px;
    }
    .entry-loop__top__col.v1,.entry-loop__top__col.v2 {
        width: 100%;
    }
    .entry-loop__top__col.v1 ul li {
        margin-bottom: 16px;
    }
    .entry-loop__top__col.v1 ul li .text__title,.entry-loop__top__col.v2 ul li .text__title {
        font-size: 16px;
        max-height: calc(2*1.4*16px + 0px);
    }
    .entry-loop__row__title {
        margin: 8px 0 16px;
    }
/*     .entry-loop__row ul:nth-child(2),.entry-loop__row ul:nth-child(3) {
        width: 100%;
    } */

/*     .entry-loop__row ul:nth-child(3) {
        width: 100%;
        margin-top: 24px;
    } */

    .entry-loop__row ul:nth-child(3) li .text__title {
        -webkit-line-clamp: 3;
        font-size: 15px;
        max-height: calc(3*1.4*15px + 0px)
    }

    .entry-loop__row ul:nth-child(2) li .text__info,.entry-loop__row ul:nth-child(3) li .text__info {
        padding-bottom: 0
    }
.category-goi-kham-da-khoa .entry-loop__row__title .h_3 {
    padding: 8px;
    background: linear-gradient(to top,var(--color2),var(--color2));
    color: #fff;
    font-size: 21px;
    line-height: 1.3;
    text-transform: uppercase;
}
.category-goi-kham-da-khoa .entry-loop__row__title .h_3 a {
    color: #fff;
}

.category-goi-kham-da-khoa .entry-loop__row {
    margin-bottom: 0;
    border-bottom: 0;
}
/************************widget sidebar************************/
.widget_qa {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
}

.widget_qa a {
    background: linear-gradient(to top,#00a551,#00a551);
    text-align: center;
    border-radius: 10px;
    padding: 20px 50px;
    color: #fff;
    display: block;
}

.widget_qa a:hover {
    background: var(--color2);
    color: #fff;
}

.widget_news {
    background: #f7f7f7;
    border: 1px solid var(--primary-color);
    margin-top: 20px;
    padding: 20px 12px 4px;
    border-radius: 10px
}
.text_excerpt {
    float: left;
    padding: 10px 0;
    line-height: 22px;
    font-size: 14px;
    text-align: justify;
}
.widget_news .widget__title span {
    text-align: left;
}

.widget_news .widget__title span a {
    display: block;
    text-transform: uppercase;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--color1);
    padding: 0 0 8px;
}

.widget_news .widget__title hr {
    margin-right: auto;
    margin-left: 0;
    margin-top: 4px;
    width: 130px;
    border: 1px solid var(--color1);
}

.widget_news ul {
    display: block;
    margin-top: 16px;
}

.widget_news ul li {
    width: 100%;
    margin-bottom: 16px;
}

.widget_news ul li .thumb {
    width: 110px !important;
    float: left;
}

.widget_news ul li .thumb a {
    padding-bottom: 65%;
}

.widget_news ul li .text {
    width: calc(100% - 110px - 12px);
    float: right;
}

.widget_news ul li .text__title {
    -webkit-line-clamp: 3;
    font-size: 16px;
    max-height: calc(3*1.4*15px + 0px);
    font-weight: 600;
    margin-bottom: 0;
}
.widget_question li h3 a, .widget_news .text__title a{
	color:#333;
}
.widget_question {
    background: #f7f7f7;
    border: 1px solid var(--primary-color);
    margin-top: 20px;
    padding: 20px 10px;
    border-radius: 10px
}

.widget__title_question hr {
    margin-right: auto;
    margin-left: 0;
    width: 130px;
    border: 1px solid var(--primary-color)
}

.widget__title_question {
    display: block;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 700;
    color: #006632;
    padding: 0 0 10px
}

.widget_question h3 {
    font-size: 15px;
    margin-top: 0;
    padding: 0 0 10px !important;
}

.widget_question ul li {
    counter-increment: my-awesome-counter;
    padding: 0 0 5px;
}

.widget_question li:before {
    display: inline-block;
    float: left;
    content: counter(my-awesome-counter);
    background: var(--primary-color);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    line-height: 2rem;
    color: #fff;
    text-align: center;
    margin-right: .5rem
}

.widget_form {
    border: 1px solid #006632;
    padding: 20px 10px 0;
    margin: 20px 0;
    border-radius: 10px;
    background-color: #fff;
}

.widget_form {
    padding: 16px 12px;
    line-height: 1.4;
}

@media screen and (min-width: 1170px) {
    .sec32_col2 .widget_form {
        position:sticky;
        top: 7.5vh;
        left: 0;
    }
}

.widget__title span {
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 700;
    color: #006632;
}

.widget_text ._p {
    text-align: center;
    display: block;
    padding: 5px 0;
    font-size: .9rem
}

.widget_form input {
    border: 1px solid #006632;
    margin: 5px 0;
    width: 100%;
    padding: 5px;
    border-radius: 5px;
}

.widget_form textarea {
    width: 100%;
    border: 1px solid #006632;
    border-radius: 5px;
    padding: 5px;
    margin: 5px 0;
}

.widget_form button[type=submit] {
    background: #006632;
    color: #fff;
    text-transform: uppercase;
    width: 195px;
    margin: 0 auto;
    display: block;
    padding: 10px;
    border-radius: 20px;
}

.widget_form button[type=submit]:hover {
    cursor: pointer;
    background-color: #006632;
}
.primary, input[type=submit], input[type=submit].button {
    background-color: #006632;
}
.widget_sidebar--list_child_cat {
    background: #fff;
    border: 1px solid #00a551;
    margin-top: 16px;
    padding: 20px 10px 14px
}

.widget_sidebar--list_child_cat .widget__title span {
    text-align: left
}

.widget_sidebar--list_child_cat .widget__title span a {
    display: block;
    text-transform: uppercase;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--color1);
    padding: 0 0 8px;
}

.widget_sidebar--list_child_cat .widget__title hr {
    margin-right: auto;
    margin-left: 0;
    margin-top: 4px;
    width: 130px;
    border: 1px solid var(--primary-color);
}

.widget_sidebar--list_child_cat ul {
    margin-top: 16px;
}

.widget_sidebar--list_child_cat ul li {
    font-size: 16px;
    line-height: 1.5;
    margin: 6px 0;
    padding-left: 14px;
    text-align: justify;
    position: relative;
    font-weight: 600;
}

.widget_sidebar--list_child_cat ul li:before {
    content: '';
    width: 10px;
    height: 10px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 304.992 512"><path fill="%23777" d="M300.028,365.573,65.185,602.336a19.214,19.214,0,0,1-27.2,0L6.314,570.661a19.214,19.214,0,0,1,0-27.2l189.57-191.49L6.314,160.485a19.214,19.214,0,0,1,0-27.2l31.675-31.675a19.214,19.214,0,0,1,27.2,0L300.028,338.377A19.214,19.214,0,0,1,300.028,365.573Z" transform="translate(-0.675 -95.975)"></path></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 0;
}

.widget_sidebar--list_child_cat ul li a {
    color: #555;
}
.widget_sidebar--list_child_cat ul li a:hover {
    color: var(--color2)
}
    .widget_sidebar--list_child_cat .widget__title span a {
        font-size:19px;
        padding: 0 0 4px;
    }
    .widget_sidebar--list_child_cat ul li {
        font-size: 16px;
        margin: 6px 0;
        padding-left: 16px;
    }
ol, ul {
    list-style: none;
}
.jhgbib::after {
    content: "";
    width: 100%;
    position: absolute;
    display: unset;
    height: 95px;
    top: -95px;
/*     background-color: rgba(251, 251, 254, 0.7); */
}
.jhgbib {
	margin-bottom: 15px !important;
    width: 100%;
    height: 30px;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    position: relative;
/*     background-color: rgba(251, 251, 254, 0.7); */
}
.entry-loop ul li {
    width: 100%;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #ddd;
}
.hotline-right {
    background: #176eef;
    color: #fff;
    margin-left: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 7px;
}

.entry-loop__row__title .h_3 {
    padding: 0;
    background: #f4830f;
    display: flex;
    align-items: center;
    padding: 6px 0;
}

.entry-loop__row__title .h_3 a{
	color: #fff;
    padding-left: 15px;
    font-size: 18px;
    text-transform: uppercase;
}
.entry-loop__row {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.entry-loop ul li:last-child{
	border: 0 !important;
}

#footer .dark p, #footer .dark h4 {
    color: #fff !important;
}

.giolamviec li{
	display: flex;
	justify-content: space-between;
	color: #fff;
	max-width: 200px;
	font-size: 14px;
	font-weight: normal;
}



#footer .col > .col-inner {
    padding: 0px 0px 10px 0px !important;
}

@media screen and (max-width: 768px){
	.off-canvas .sidebar-menu {
		padding: 0;
	}
	.off-canvas .sidebar-menu {
		background-color: #f7941e;
	}
	.off-canvas:not(.off-canvas-center) .nav-vertical li>a {
        color: #fff;
    }
	.header-search-form.search-form , .header-newsletter-item, .html.header-social-icons, .element-error.tooltip, #top-bar{
		display: none !important;
	}
	.sec32_col2{
		width: 100%;
	}
	
	#footer .dark p{
        font-size: 14px !important;
        margin-bottom: 5px !important;
        font-weight: normal;
	}
	#footer .dark h4 {
		
	}
	#footer .icon-box-img img, #footer .icon-box-img svg {
    padding-top: 0;
    height: 24px;
    width: auto;
		        transform: translateY(1px);
}
	
}

.thumb a img{
	    object-fit: cover;

}

.entry-loop .text__title a{
	color: #00666d;
}

.entry-loop .text__title a:hover{
	color: #fe8423;
}

@media screen and (min-width: 900px){
	.footer-custom > strong {
		width: 50%;
	}
	
	.footer-custom > strong > strong > strong > .col.medium-3.small-12.large-3{
		max-width: 100%;
		display: flex;
		justify-content: flex-start;
	}
	
	.footer-custom > strong > strong > strong > .col.medium-3.small-12.large-3 .col-inner{
		width: 50%;
		max-width: 50%;
		margin: 0;
	}
	
	.thoigianlamviec{
		    width: 100%;
    max-width: 100%;
	}
	
	.panpage{
		width: 50%;
        max-width: 50%;
        min-width: 50%;
        flex-basis: 50%;
	}
	
	.panpage .col-inner{
		    width: 100% !important;
    max-width: 100% !important;
	}
	.logo-desktop .col-inner{
		    display: flex;
    flex-wrap: wrap;
    justify-content: center;
	}
	.section-content{
		padding-top: 40px;
	}
	#footer .dark p, #footer .dark h4 {
    color: #fff !important;
    font-size: 14px;
    margin-bottom: 6px;
}
	.custom-post{
		display: flex;
	}
	.custom-post .thumb{
		width: 45% !important;
	}
	.custom-post .text{
		width: 55% !important;
		padding-left: 15px;
	}
	.custom-post .text .text__info{
		margin-bottom: 10px;
	}
	#wide-nav .flex-center{
		margin: 0 !important;
	}
}

@media (max-width: 549px) {
    #footer .footer-section, #footer .gioi-thieu-4 {
        padding-top: 20px !important;
        padding-bottom: 0 !important;
    }
	#footer iframe{
		transform: translatey(10px);
	}
	    .mobile-hotline {
        bottom: 3px !important;
	}
	.absolute-footer.dark{
		padding-bottom: 50px;
	}
	.copyright-footer{
	transform: translatey(-15px);	
	}
	.logo-footer{
		display: flex;
    margin-bottom: 25px;
	}
	.logo-footer .box-image{
		width: 60px !important;
		transform: translatey(10px);
	}
	.logo-footer{
		margin-bottom: 10px !important;
	}
	.entry-loop ul li {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
	    .nut1, .nut2 {
        padding: 0px 15px !important;
    }
	.bando{
		padding-bottom: 0 !important;
	}
	.bando p{
		margin-bottom: 0 !important;
	}
	section.section5 {
        padding-top: 0px !important;
        padding-bottom: 40px !important;
    }
	.dichvutieubieu {
		padding-bottom: 0 !important;
	}
	.col.post-item{
		padding-bottom: 0 !important;
	}
	.col.post-item .post-title a{
		transform: translatey(10px);
	}
	.panpage{
		padding: 0 !important;
	}
}