/*
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.   ***************/
.header-search-form-wrapper input[type='search'] {
    line-height: 33px;
    color: #333;
    height: 33px;
    border: 0;
}
.footer-widgets p {
	color:#fff;
	font-size:15px;
	line-height:30px;
}
.footer-widgets ul li a {
    color: #fff;
}
.footer-widgets .widget  {
    margin-bottom: 0;
}
.absolute-footer {
	display:none;
}

.news-style-22 .news-item-posts {
    position: relative;
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 0 25px 0 rgb(0 0 0 / 20%);
    transition: all .5s ease-in-out;
    -webkit-transition: all .3s;
    transition: all .3s;
    border: 1px solid #ccc;
    width: 100%;
    float: left;
    display: flex;
    align-items: center;
}
.news-style-22 .news-item-posts .nth__nth {
    width: 25%;
    float: left;
    padding: 0 15px;
    text-align: center;
}

.news-style-22 .news-item-posts .nth_child_img span {
    left: 0px;
    top: -15px;
    position: absolute;
    width: 30px;
    height: 38px;
    font-weight: bold;
    font-size: 15px;
    -webkit-transform: translateY(0);
    background-size: contain;
    transform: translateY(0);
    background: url(images/medal_blue.png)no-repeat;
    display: inline-block;
    color: #fff;
    line-height: 32px;
}
.news-style-22 .news-item-posts .nth_child_img span.maucam {
    background: url(images/medal_orange.png)no-repeat;	
}
.news-style-22 .news-item-posts .nth_child_img img {
    max-width: 100px;
    height: auto;
}
.news-style-22 .news-item-posts .nth__nth.nth_child_thuong  {
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
}

.news-style-22 .news-item-posts .nth__nth.nth_child_thuong p {
	    font-weight: 400;
    font-size: 14px;
    margin-bottom: 0;
    margin-top: 0;
    color: #333;
}
.news-style-22 .news-item-posts .nth__nth.nth_child_thuong >  span  {
    font-size: 28px;display: block;
    line-height: 30px;
    font-weight: 700;
    text-transform: none;
    margin: 0 0 10px 0;
    text-align:left;
}

.news-style-22 .news-item-posts .nth_child_star {
	border-right: 1px solid #ddd;
}
.nth_child_cuoc a {
    display: block;
    max-width: 142px;
    margin: 5px auto;
    background: #f50000;
    line-height: 40px;
    border-radius: 30px;
    color: #fff;
    font-size: 15px;
}
.nth_child_cuoc a i {
	font-size: 13px;
	margin-right: 5px;
}
.nth_child_cuoc a.review {
	background: #2ecc71;
}
.nth_child_cuoc a:hover {
	background: #214790;
	color: #fff;
}
.news-style-22 .news-item-posts .nth_child_star .star i {
	    color: #ffd32a;
	    font-size: 13px;
}
.news-style-22 .news-item-posts  .sale {
	font-size: 16px;
}
.title__home {
	margin: 0;
}
.title__home .section-title {
	margin: 0;
	border: 0;
}
.title__home .section-title b {
	opacity: 0;
	visibility: hidden;
}
.title__home .section-title span {
    font-size: 26px;
    font-weight: bold;
    margin: 0 0 22px 0;
    line-height: 40px;
    display: block;
}
.box__colum__left {
	overflow: hidden;
	clear: both;
	margin-bottom: 20px;
}
.box__colum__left  .news-item .boxx__innner {
	    display: flex;
    align-items: center;
}
.box__colum__left .news-thumb {
float: left;
    width: 200px;
    position: relative;
    overflow: hidden;
}
.box__colum__left .news-thumb img {

    width: 100%;
    height: 188px;
    object-fit: cover;


}
.box__colum__left .box__slider {
    float: right;
    padding-left: 20px;
    width: calc(100% - 200px);
}
.box__colum__left .box__slider h4 a {
    color: #214790;
    font-size: 16px;
    font-weight: 600;
    line-height: 23px;
    display: block;
    max-height: 69px;
    overflow: hidden;
}
.box__colum__left .box__slider  .box__description {
	margin-bottom: 15px;
}
.box__colum__left .box__slider  .box__description p {
    margin: 0;
    font-size: 15px;
    line-height: 23px;
    max-height: 69px;
    overflow: hidden;
}
.box__colum__left .box__slider  .views_all {
    display: inline-block;
    background: #334862;
    color: #fff;
    padding: 5px 20px;
    border: 0;
    border-radius: 30px;
}
.box__colum__left .box__slider  .views_all:hover {
	background: red;
}
.box__colum__right {
	overflow: hidden;
	clear: both;
}
.box__colum__right .news-item-clear {
    float: none;
    width: 100%;
    margin: 0 0 10px 0;
}
.box__colum__right .news-item-clear:nth-child(2n) {
	float: none;
}

.box__colum__right .news-item-clear:nth-child(2n+1) {
	clear: both;
}

.box__colum__right .news-item-clear a {
	display: block;
	color: #333;
	font-size: 15px;
	font-weight: 600;
	line-height: 23px;
}
.box__colum__right .news-item-clear a:hover {
    color: red;
}
.box__content__home {
    font-size: 18px;
    line-height: 32px;
}
.heading a {
    color: #ff2453;
    font-size: 25px;
    font-weight: bold;
    line-height: 24px;
    display: block;
    margin: 0 0 20px 0;
    border-left: 4px solid #ff2453;
    padding-left: 9px;
}
.section .col.large-12 {
	padding-bottom: 0;
}

.box__content__home #toc_container {
	clear: both;
	float: none;
}
/*
section__width
*/
.section__width {
    clear: both;
}
.section__width .box__left__layout {
    float: left;
    width: calc(100% - 340px - 20px);
}
.section__width .box__right__layout {
    float: right;
    width: 340px;
}

.news-post-news {
    overflow: hidden;
    background-color: #fff;
    margin-bottom: 15px;
    border-radius: 5px;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 0 25px 0 rgb(0 0 0 / 20%);
    transition: all .5s ease-in-out;
    clear: both;
}
.news-post-news .box__thumb__img {
    float: left;
    width: 250px;
}
.news-post-news .box__thumb__img img {
    width: 100%;
    height: 155px;
    object-fit: cover;
}
.news-post-news .box__content {
    float: right;
    width: calc(100% - 250px - 20px);
}
.news-post-news .box__content  h3 a {
    color: #214790;
    line-height: 25px;
    display: block;
    font-size: 18px;
    font-weight: 600;

}
.news-post-news .box__content p {
    font-size: 15px;
    line-height: 23px;
    max-height: 92px;
    margin: 0;
    overflow: hidden;
}
.heading__title {
    font-size: 23px;
    font-weight: bold;
    line-height: 30px;
}

.box__right__layout .nth_child_star .sale {

}
.box__right__layout  .news-item-posts  {
    display: block;
}
.box__right__layout  .news-item-posts .nth__nth {
    width: 100%;
    border: 0 !important;
}
.box__right__layout .news-item-posts .nth__nth.nth_child_img  {

    float: left;
    width: 100px;
    padding: 0;
    margin-top: -15px;


}
.box__right__layout .news-item-posts .nth__nth.nth_child_img p {
    margin: 0 !important;
}
.box__right__layout .news-item-posts .nth__nth.nth_child_thuong {
    float: right;
    width: calc(100% - 110px);
    padding-top: 10px;
    text-align: left;
}

.box__right__layout .news-style-22 .news-item-posts .nth_child_img img {
    max-width: 70px;
    height: auto;
}
.box__right__layout  .nth_child_cuoc {
    overflow: hidden;
    clear: both;
    padding: 10px 0 0 !important;
}
.box__right__layout  .nth_child_cuoc a {
    float: left;
    width: 48%;
    margin: 0;

}
.box__right__layout  .nth_child_cuoc a:nth-child(2n) {
    float: right;
}
.box__right__layout  .news-style-22 .news-item-posts .nth__nth.nth_child_thuong span {
    font-size: 23px;
}
.box__right__layout .widget-title  {

    display: block;
    line-height: 30px;
    font-weight: bold;
    font-size: 20px;
    margin: 0 0 20px 0;

}
.heading-title-single {
    font-size: 23px;
    line-height: 32px;
}
.header-bottom .header-nav  > li > a {
    color: #fff;
    opacity: 1;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
}
.content__single ul ,.content__single ol {
    padding-left: 30px;
}

#toc_container {
    float: none;
}
.duong__dan {
    background: #f5f5f5;
    padding: 10px 0;
    display: none;
}
.duong__dan .breadcrumbs {
    margin: 0;
    font-size: 14px;
    text-transform: none;
}
.cate__dess {
    padding: 15px;
    background: #f5f5f5;
    border-radius: 5px;
}
.cate__dess ul ,.cate__dess  ol {
    padding-left: 25px;
}
.home .duong__dan {
    display: none;
}
.header-bottom .header-nav > li > .sub-menu {
    background: #214790;
    padding: 0;
}
.header-bottom .header-nav > li > .sub-menu li a {
    color: #fff;
    font-size: 14px;
    text-transform: none;

}
.header-bottom .header-nav > li > .sub-menu li:hover {
    background: #ee1f28;
}
.page-numbers {
    margin-bottom: 20px !important;
}
.header, .header-wrapper {
    background: url(images/bottom-pattern.png)repeat #ee1f28  !important;
}
.box__right__layout .widget .is-divider {
    display: none;
}
.box__sec__Ct {

}
.box__sec__Ct {
     background: #fbf4da;
    height: 500px;
    overflow: auto;
    padding: 0;
    border-radius: 10px;   
}
.box__sec__Ct {
    padding: 0;
}

.box__sec__Ct::-webkit-scrollbar-thumb {
    background-color: #d61515 ; 
}

.box__sec__Ct::-webkit-scrollbar {
    width: 10px;
    background-color: #fff;
}
.news-style-22 .news-item-posts .nth__nth.nth_child_thuong.abczy > span {
    text-align: center;
}

.news-style-22 .news-item-posts .nth__nth.nth_child_thuong p.khuyen_mai {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0;
    margin-top: 0;
    color: #f11b18;
}



@media only screen and (max-width: 1024px) {
    .section__width .box__left__layout {
        width: 100%;
        margin-bottom: 15px;
    }  
    .section__width .box__right__layout {
        width: 100%;
    }
    .mobile-nav .nav-icon i {
        color: #fff;
    }  
    .off-canvas-right .mfp-content, .off-canvas-left .mfp-content {
        background: #fff;
    }
}




@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.title__home .section-title span {
    font-size: 22px;
    line-height: 33px;
}
.news-style-22 .news-item-posts {
    display: block;
}
.news-style-22 .news-item-posts .nth__nth {
    /*width: 100% !important;*/
    border: 0 !important;
}
.news-style-22 .news-item-posts .nth__nth.nth_child_cuoc  {
    overflow: hidden;
    clear: both;
    padding: 10px 0 0 0;
}
.news-style-22 .news-item-posts .nth__nth.nth_child_cuoc a {
    float: left;
    width: 49%;
}
.news-style-22 .news-item-posts .nth__nth.nth_child_cuoc a:nth-child(2) {
    float: right;
}
.news-style-22 .news-item-posts .sale {
    font-size: 13px;
    font-weight: 600;
}
.news-style-22 .news-item-posts .nth__nth.nth_child_thuong p {
    font-size: 13px;
}
.news-style-22 .news-item-posts .nth__nth.nth_child_thuong p.khuyen_mai {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0;
    margin-top: 0;
    color: #f11b18;
}
.box__colum__left .news-item .boxx__innner {
    display: block;
}
.box__colum__left .news-thumb {
    width: 100%;
    margin-bottom: 15px;
}
.box__colum__left .box__slider {
    width: 100%;
    padding: 0;
}
.box__colum__right .news-item-clear {
    width: 100%;
}
.news-post-news .box__thumb__img {
    width: 100%;
}
.news-post-news .box__content {
    width: 100%;
    padding: 15px 0 0 0;
}
.footer-widgets .widget  {
    margin-bottom: 15px;
}
.news-post-news .box__thumb__img img {
    height: auto;
}
.news-style-22 .news-item-posts.nhacaihome__home .nth__nth {
    width: 100% !important;
    clear: both;
}
}