/*      Home        */
#primary,
#content,
.content-box,
#row-new-product,
#row-wrap-category {
    float: left;
    width: 100%;
}
.limit {
    float: left;
    width: 100%;
}
.content-slide {
    display: block;
    width: 100%;
    overflow: hidden;
}
#content-home,
.content-home {
    float: left;
    width: 100%;
    position: relative;
}
.content-box section {
    float: left;
    width: 100%;
}
.phan-mot {
    padding: 50px 0px 30px;
}
.center {
    text-align: center;
}
.ads-left-body {
    display: none;
}
.ads-right-body {
    display: none;
}
.section-title h2 {
    font-weight: 300;
    font-style: normal;
    color: #333333;
    font-size: 35px;
    letter-spacing: 0px;
    text-transform: uppercase;
    margin: 0px 0px 20px;
}
/*Phần 1*/
.p1-wrapper.flex {
    margin: 0px -10px;
}
.p1-box {
    float: left;
    width: calc(100%/3 - 20px);
    margin: 0px 10px 20px;
}
.p1-box img {
    object-fit: cover;
    width: 100%;
    display: block;
    height: 100%;
}
.p1-box h3 {
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    margin: 15px 0px 10px;
    text-transform: uppercase;
    width: 100%;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.p1-box h3 a {
    color: #E1704B;
}
.p1-box h3 a:hover {
    color: #39A9A4;
}
.p1-box p {
    font-weight: 400;
    font-style: normal;
    color: #999999;
    font-size: 16px;
    line-height: 1.4;
    display: -webkit-box;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}
a.rm {
    font-size: 18px;
    font-weight: 500;
    color: #e1704b;
    float: right;
}
a.rm:hover {
    color: #39a9a4;
}
/*Phần 2*/
.phan-hai {
    background: #39a9a4;
    padding: 40px 0px;
}
.p2-content.flex {
    margin: 0px -10px;
}
.p2-item {
    width: calc(100%/3 - 20px);
    margin: 10px;
    display: flex;
    align-items: center;
}
.p2-item img {
    float: left;
    width: 120px;
    height: 120px;
}
.p2-detail {
    width: calc(100% - 130px);
    padding-left: 10px;
}
.p2-detail h4 {
    font-weight: 500;
    font-style: normal;
    color: #fff;
    font-size: 18px;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0px 0px 10px;
}
.p2-detail p {
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}
/*Phần 3*/
.phan-ba {
    padding: 50px 0px;
}
.p3-left {
    float: left;
    width: 67.5%;
    margin-right: 2.5%;
    background: #eee;
    padding: 50px 25px;
}
.p3-img {
    float: left;
    width: 20%;
    margin-right: 7%;
}
.p3-detail {
    float: left;
    width: calc(100% - 27%);
}
.p3-detail h4 {
    font-weight: 500;
    font-style: normal;
    color: #333333;
    font-size: 20px;
    line-height: 1.1;
    margin-top: 0px;
    margin-bottom: 25px;
}
.p3-right {
    float: left;
    width: 30%;
}
.p3-right-content {
    padding: 25px;
    margin-bottom: 25px;
}
.p3-right-content:last-child {
    margin-bottom: 0px;
}
.p3-right-img {
    float: left;
    width: 30%;
    margin-right: 25px;
}
.p3-right-content h2 {
    float: left;
    width: calc(100% - 30% - 25px);
    font-weight: 700;
    font-style: normal;
    color: #e1704b;
    font-size: 48px;
    margin: 0px;
}
.p3-right-content2 h2 {
    color: #fff;
}
.p3-right-content1 {
    border: 3px solid #e1704b;
}
.p3-right-content2 {
    background: #e1704b;
}
/*Phần bốn*/
.inner-banner {
    max-width: 768px;
}
.banner-title p {
  font-weight: 500;
  font-style: normal;
  color: #ffffff;
  font-size: 46px;
  line-height: 1.2;
  padding: 50px 0px;
  margin: 0;
}
/*Phần năm*/
.phan-nam {
    padding: 50px 0px;
    background: #eee;
}
.p5-box-1.flex {
    align-items: center;
}
.p5-wrapper img {
    max-height: 100%;
    object-fit: cover;
}
.p5-box-1 .p5-img1 {
    float: left;
    width: 39.5%;
    margin-right: 2.5%;
}
.p5-box-1 .p5-box-detail {
    float: right;
    width: 58%;
}
.p5-box-1 .p5-box-detail h2,
.p5-box-2 .p5-box-detail h2 {
    color: #e1704b;
}
a.btn-rm {
    font-size: 14px;
    padding: 10px 30px;
    font-weight: 500;
    font-style: normal;
    color: #ffffff;
    background-color: #e1704b;
    line-height: normal;
    margin-top: 10px;
    transition: .3s;
}
a.btn-rm:hover {
    color: #ffffff;
    background-color: #39a9a4;
}
.p-norm {
    font-weight: 400;
    font-style: normal;
    color: #999999;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0px;
}
/*Phần bảy*/
.phan-bay {
    padding: 50px 0px 30px;
}
.p7-wrapper.flex {
    margin: 0 -10px;
}
.p7-blog {
    width: calc(100%/3 - 20px);
    margin: 0px 10px 20px;
}
.p7-img {
    display: block;
    width: 100%;
    overflow: hidden;
}
.p7-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.p7-blog h3 {
    display: inline-block;
    width: 100%;
}
.p7-blog h3 a {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    color: #e1704b;
    line-height: normal;
    font-size: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
.p7-blog h3:hover a {
    color: #39a9a4;
}
.p7-blog a.btn-rm {
    float: right;
    background: #e1704b;
}
.p7-blog a.btn-rm:hover {
    background: #39a9a4;
}
.p7-blog p {
    font-weight: 400;
    font-style: normal;
    color: #999999;
    font-size: 16px;
    line-height: 1.4;
    width: 100%;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}
/*Phần tám*/
.phan-tam {
    background: #eee;
    padding: 50px 0px 0px;
}
.p8-wrapper.flex {
    margin: 0px -10px;
}
.p8-img {
    width: calc(100%/3 - 20px);
    margin: 0px 10px 20px;
}
.p8-img a {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: block;
    height: 100%;
}
.p8-img img {
    transition: all .55s ease;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.p8-img a:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    z-index: 1;
    -webkit-transition: all .35s ease;
    transition: all .35s ease;
    background-color: transparent;
}
.p8-img a:after {
    top: 50%;
    left: 50%;
    content: "\f065";
    text-align: center;
    width: 27px;
    height: 24px;
    line-height: 24px;
    position: absolute;
    z-index: 20;
    font: 22px/22px FontAwesome;
    color: #ffffff;
    margin: -11px 0 0 -11px;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: all .35s ease;
    transition: all .35s ease;
}
.p8-img a:hover img {
    -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}
.p8-img a:hover:before {
    background-color: rgba(0, 0, 0, 0.5);
}
.p8-img a:hover:after {
    opacity: 1;
}
/*Phần chín*/
.phan-chin {
    padding: 20px 0px;
}
.item-partner {
    display: block;
    width: 100%;
}
.phan-chin .owl-carousel .owl-item img {
    width: auto;
    margin: 0 auto;
    max-height: 75px;
}
.phan-chin .owl-carousel .owl-item .item {
    text-align: center;
}
.phan-chin .owl-theme .owl-nav [class*="owl-"] {
    width: 26px;
    height: 26px;
    opacity: 1;
    margin: 0;
    padding: 0;
    text-align: center;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
    border-radius: 0;
    position: absolute;
    top: calc(80% - 26px);
    background: #ccc;
    color: #666;
}
.phan-chin .owl-next {
    right: 0px;
}
.phan-chin .owl-prev {
    left: 0px;
}
/*Blog in home*/
.blog-area {
    overflow: hidden;
    position: relative;
    border-top: 1px solid #ebebeb;
}
.blog-area .title h2 {
    margin-top: 0px;
    margin-bottom: 40px;
}
.blog-area .entry-blog-home {
    float: left;
}
.entry-thumnail {
    width: 100%;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}
.entry-thumnail a {
    float: left;
    width: 100%;
    overflow: hidden;
}
.entry-thumnail img {
    display: block;
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: all 0.3s;
}
.entry-thumnail:hover a > img {
    transform: scale(1.1);
}
.blog-area::after {
    background: #e04622;
    bottom: -165px;
    content: "";
    height: 200px;
    left: 25px;
    position: absolute;
    transform: rotate(50deg);
    width: 200px;
    z-index: 1;
}

/*Responsive*/
@media only screen and (max-width: 960px) {
.phan-mot {
    padding: 20px 0px 10px;
}
.section-title h2 {
    font-size: 26px;
    margin: 0px 0px 10px;
}
.p1-wrapper.flex {
    margin: 0px -5px;
}
.p1-box {
    width: calc(100%/3 - 10px);
    margin: 0px 5px 10px;
}
.p1-box h3 {
    font-size: 18px;
}
.p1-box p {
    font-size: 14px;
    -webkit-line-clamp: 3;
}
a.rm {
    font-size: 14px;
}

.phan-hai {
    padding: 10px 0px;
}
.p2-content.flex {
    margin: 0px -5px;
}
.p2-item {
    width: calc(100%/3 - 10px);
    margin: 5px;
}
.p2-item img {
    width: 50px;
    height: 50px;
}
.p2-detail {
    width: calc(100% - 50px);
}
.p2-detail h4 {
    line-height: 1.4;
    margin: 0;
    font-size: 14px;
}
.p2-detail p {
    display: none;
}

.phan-ba {
    padding: 20px 0px;
}
.p3-left {
    width: 100%;
    margin: 0;
    padding: 10px;
}
.p3-img {
    float: left;
    width: 20%;
    margin-right: 3%;
}
.p3-right {
    display: none;
}
.p3-detail h4 {
    margin-bottom: 10px;
}
.banner-title p {
    font-size: 30px;
}
.phan-nam {
    padding: 20px 0px;
}
.phan-bay {
    padding: 20px 0px 10px;
}
.p7-wrapper.flex {
    margin: 0px -5px;
}
.p7-blog {
    width: calc(100%/3 - 10px);
    margin: 0px 5px 10px;
}
.p7-blog h3 {
    margin: 10px 0px 8px;
}
.p7-blog h3 a {
    font-size: 16px;
}
.p7-blog p {
    -webkit-line-clamp: 3;
    font-size: 14px;
}
.p7-blog a.btn-rm {
    margin: 0;
    padding: 5px 20px;
    font-size: 13px;
}
.phan-tam {
    padding: 20px 0px 0px;
}
}

@media only screen and (max-width: 768px) {
.p8-wrapper.flex {
    margin: 0px -5px;
}
.p8-img {
    width: calc(100%/3 - 10px);
    margin: 0px 5px 10px;
}
}

@media only screen and (max-width: 640px) {
.section-title h2 {
    font-size: 20px;
}
.p1-box h3 {
    font-size: 14px;
    margin: 7px 0px 5px;
}
.p1-box p {
    font-size: 13px;
    -webkit-line-clamp: 2;
    margin-bottom: 5px;
}
a.rm {
    font-size: 13px;
}
.phan-ba {
    padding: 10px 0px;
}
.p3-img {
    display: none;
}
.p3-detail {
    width: 100%;
}
.p-norm {
    font-size: 14px;
}
.banner-title p {
    font-size: 24px;
}
.p5-box-1 .p5-img1 {
    display: none;
}
.p5-box-1 .p5-box-detail {
    width: 100%;
    text-align: center;
}
a.btn-rm {
    margin: 0;
    padding: 5px 20px;
}
.p7-blog h3 {
    margin: 8px 0px 5px;
}
.p7-blog h3 a {
    font-size: 14px;
    -webkit-line-clamp: 2;
}
.p7-blog p {
    -webkit-line-clamp: 3;
    font-size: 13px;
}
}

@media only screen and (max-width: 480px) {
.p1-box {
    width: calc(100%/2 - 10px);
}
.p2-item {
    width: calc(100%/2 - 10px);
}
.p2-item img {
    width: 40px;
    height: 40px;
}
.p2-detail {
    width: calc(100% - 40px);
    padding-left: 5px;
}
.p2-detail h4 {
    font-size: 12px;
}
.banner-title p {
    font-size: 20px;
    padding: 30px 0px;
}
.p7-blog {
    width: calc(100%/2 - 10px);
}
.p8-img {
    width: calc(100%/2 - 10px);
}
}