/*add font Open_Sans*/

@font-face {
    font-family: 'Open Sans';
    src: url(../..//fonts/Open_Sans/OpenSans-Light.ttf);
    font-weight:300;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: url(../..//fonts/Open_Sans/OpenSans-LightItalic.ttf);
    font-weight:300;
    font-style: italic;
}
@font-face {
    font-family: 'Open Sans';
    src: url(../..//fonts/Open_Sans/OpenSans-Regular.ttf);
    font-weight:400;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: url(../..//fonts/Open_Sans/OpenSans-Italic.ttf);
    font-weight:400;
    font-style: italic;
}
@font-face {
    font-family: 'Open Sans';
    src: url(../..//fonts/Open_Sans/OpenSans-SemiBold.ttf);
    font-weight:600;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: url(../..//fonts/Open_Sans/OpenSans-SemiBoldItalic.ttf);
    font-weight:600;
    font-style: italic;
}
@font-face {
    font-family: 'Open Sans';
    src: url(../..//fonts/Open_Sans/OpenSans-Bold.ttf);
    font-weight:700;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: url(../..//fonts/Open_Sans/OpenSans-ExtraBold.ttf);
    font-weight:800;
    font-style: italic;
}
@font-face {
    font-family: 'Open Sans';
    src: url(../..//fonts/Open_Sans/OpenSans-ExtraBoldItalic.ttf);
    font-weight:800;
    font-style: italic;
}

/*======================================
2. HEADING & TITLE 
======================================*/

h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
    margin-bottom:24px;
}
h1 a, 
h2 a, 
h3 a, 
h4 a, 
h5 a, 
h6 a {
    color:#3d474a;
}
h1 a:hover, 
h2 a:hover, 
h3 a:hover, 
h4 a:hover, 
h5 a:hover, 
h6 a:hover {
    color:#000;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    margin: 25px 0;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}
h1 {
    font-size: 40px;
    line-height:40px;
    color:#000;
    font-weight: normal;
}

h2 {
    font-size: 30px;
    line-height:30px;
    color:#000;
    font-weight: normal;
}

h3 {
    font-size: 24px;
    line-height:24px;
    color:#000;
    font-weight: normal;
    margin-bottom:20px;
}

h4 {
    font-size: 17px;
    line-height:17px;
    color:#000;
    font-weight: normal;
    margin-bottom:15px;
}

h5 {
    font-size: 22px;
    line-height:22px;
    color:#000;
    font-weight: normal;
    margin-bottom:10px;
}

h6 {
    font-size:17px;
    line-height:18px;
    color:#000;
    font-weight: normal;
    margin-bottom:10px;
}
body{
    font-family: 'Open Sans', Arial, sans-serif;
    word-spacing: 1px;
    font-size:14px;
    color: #4c4c4c;
    background: #fff;
}

.slogan{
    font-style: italic;
    text-align: center;
    font-size: 18px;
    font-weight: 300;
}
@media screen and (min-width: 576px) {
    .slogan{
        font-size: 35px;
    }
}
.col-custom-5{
    position: relative;
    width: 100%;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 50%;
    -moz-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

@media screen and (min-width: 576px) {
    .col-custom-5{
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 33.33333%;
        -moz-box-flex: 0;
        -ms-flex: 0 0 33.33333%;
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }
}
@media screen and (min-width: 768px) {
    .col-custom-5{
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 20%;
        -moz-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}
.home-title-danh-muc-san-pham{
    margin: 0;
    padding: 15px;
    background-color: #ea2129;
    display: block;
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 500;
}
.terms-grid-home{
    padding: 15px;
    background-color: #fafafa;
}
.terms-grid-home .box-term{
    display: block;
    padding: 15px;
    border-right:1px solid #e1e1e1;
}
.terms-grid-home .box-term:after{
    content: '';
    background: #e1e1e1;
    height: 1px;
    position: absolute;
    left: -1px;
    right: -1px;
    bottom: -1px;
    z-index: 11;
}
.terms-grid-home .col-custom-5:nth-child(even) .box-term{
    border-right:none;
}
.terms-grid-home .col-custom-5:nth-last-child(-n+1) .box-term:after{
    background: #fafafa;
}
@media screen and (min-width: 576px) {
    .home-title-danh-muc-san-pham{
        margin: 0;
        padding: 15px 70px;
        background-color: #ea2129;
        display: inline-flex;
        color: #fff;
        font-size: 20px;
        text-transform: uppercase;
    }
    .terms-grid-home .col-custom-5:nth-child(even) .box-term{
        border-right:1px solid #e1e1e1;
    }
    .terms-grid-home .col-custom-5:nth-child(3n) .box-term{
        border-right:none;
    }
    .terms-grid-home .col-custom-5:nth-last-child(-n+3) .box-term:after{
        background: #fafafa;
    }
}
@media screen and (min-width: 768px) {
    .terms-grid-home .col-custom-5:nth-child(3n) .box-term {
        border-right:1px solid #e1e1e1;
    }
    .terms-grid-home .col-custom-5:nth-child(5n) .box-term{
        border-right:none;
    }
    .terms-grid-home .col-custom-5:nth-last-child(-n+5) .box-term:after{
        background: #fafafa;
    }
}
.terms-grid-home .box-term img{
    border-radius: 8px;
}
.terms-grid-home .title-term{
    text-align: center;
    margin: 10px 0 0 0;
    font-size: 15px;
}
@media screen and (min-width: 576px) {
    .terms-grid-home .title-term{
        font-size: 20px;
    }
}
.standard{
    padding: 0 10px;
    margin: 20px 0;
}
.standard .row > div{
    padding: 5px;
}
.box-standard{
    display: flex;
    background-color: #fafafa;
    padding: 15px;
    align-items: center;
}
.box-standard h3{
    margin: 10px 0;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 30px;
    font-size: 20px;
}
.box-standard h3:first-child{
    color: #c58132;
}
.box-standard h3:last-child{
    padding-bottom: 15px;
    border-bottom: 5px solid #000;
}
@media screen and (min-width: 576px) {
    .box-standard h3{
        font-size: 24px;
    }
}
.box-standard-1{
    flex-grow: 8;
}
.box-standard-2{
    flex-grow: 1;
    text-align: right;
    width: 100px;
}
/*single*/
.single .entry-content p{
    margin-bottom: 10px;
    font-size: 16px;
}
.single .entry-content ul{
    padding-left: 30px;
    margin: 10px 0;
}
.single .single-post{
    padding: 30px;
    background-color: #fff;
}
.single .single-post .entry-header h1.entry-title{
    text-align: center;
    font-size: 20px;
    line-height: 30px;
    text-transform: uppercase;
    font-weight: 600;
    color: #800005;
    margin: 0 0 20px 0;
}
.single .single-post .entry-header h1.entry-title.title-single-tintuc{
    text-align: left;
    margin: 10px 0 0px 0;
    color: #5f5f5f;
}
.date-single{
    font-style: italic;
    font-size: 12px;
    margin: 10px 0 30px 0;
    font-weight: 300;
    display: block;
}
@media screen and (min-width: 768px) {
    .single .single-post .entry-header h1.entry-title{
        font-size: 30px;
        margin: 10px 0 30px 0;
    }
}
/*service-list-home*/
.service-list-home{
    padding: 15px;
    background-color: #fafafa;
}
.service-list-home .service-box h2.title-service{
    margin: 10px 0;
    font-size: 18px;
    font-weight: 600;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.service-listpage .service-box h2.title-service{
    margin: 10px 0;
    font-size: 20px;
    font-weight: 600;
}
.service-listpage .service-box h2.title-service a{
    color: #5f5f5f;
}
.service-list-home .service-box .service-info .excerpt p{
    color: #000;
}
.service-listpage .service-box .service-info .excerpt p{
    color: #000;
    font-size: 14px;
}
@media screen and (min-width: 576px) {
    .service-list-home .service-box .col-sm-4{
        padding-right: 0;
    }
    .service-list-home .service-box h2.title-service{
        margin: 0 0 10px 0;
        font-size: 20px;
    }
    .service-listpage .service-box h2.title-service{
        margin: 0 0 10px 0;
        font-size: 30px;
    }
    .service-listpage .service-box .service-info .excerpt p{
        font-size: 18px;
    }
}
.title-service-page{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 0;
    text-transform: uppercase;
    text-align: center;
    font-size: 20px;
    margin: 20px 0 40px 0;
    font-weight: 600;
    color: #800005;
    line-height: 28px;
}
.title-service-page:before, .title-service-page:after{
    content: '';
    border-top: 3px solid #6b6b6b;
    margin: 0 10px 0 0;
    flex: 1 0 20px;
}
.title-service-page:after{
    margin: 0 0 0 10px;
}
@media screen and (min-width: 576px) {
    .title-service-page{
        font-size: 25px;
        line-height: 40px;
        margin: 20px 0 20px 0;
        margin: 0px 0 30px 0;
    }
    .title-service-page:before{
        margin: 0 20px 0 0;
    }
    .title-service-page:after{
        margin: 0 0 0 20px;
    }
}
.another-page{
    padding: 15px;
    background: #fff;
}
@media screen and (min-width: 576px) {
    .another-page{
        padding: 60px;
    }
}
.pagination .page-numbers.current{
    padding: 5px 10px;
    background: #ea2129;
    color: #fff;
}
.pagination .page-numbers{
    color: #000;
    background: #f8f9fb;
    padding: 5px 10px;
    margin-right: 1px;
}
.related-post{
    padding: 30px;
    background-color: #fff;
}
.related-post .widget-title{
    font-size: 25px;
    margin: 10px 0 30px 0;
    text-transform: uppercase;
    font-weight: 600;
    color: #3a5a98;
}
.related-post .service-box h2.title-service {
    margin: 10px 0;
    font-size: 20px;
    font-weight: 600;
}
.related-post .service-box .service-info .excerpt p{
    font-size: 16px;
}
.single .entry-content p > img{
    display: block;
}
.page .entry-content p > img{
    display: block;
}
.page .entry-content p{
    margin-bottom: 10px;
    font-size: 16px;
}
.related-post .related-tintuc .widget-title{
    color: #730808;
}
@media screen and (min-width: 576px){
    .related-post .service-box h2.title-service {
        margin: 0 0 10px 0;
        font-size: 22px;
    }
}
.about-page{
    position: relative;
}
.about-page:after{
    background: url("../..//img/background-footer.png") top 0px right 0px;
    background-repeat: no-repeat;
    background-size: 400px;
    padding: 30px 0 15px 0px;
    background-color: #fff;
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    opacity: 0.02;
}
#gform_1 input, #gform_1 textarea{
    background: #dfdfdf;
    border-radius: 5px;
    padding: 5px 10px;
    border: 1px solid #000;
}
@media screen and (max-width: 576px){
    #gform_1 input, #gform_1 textarea{
        width: 100%;
    }
}
#gform_submit_button_1{
    background: #ea2129 !important;
    border: none !important;
    color: #fff;
    text-transform: uppercase;
    padding: 10px 45px !important;
    font-size: 18px;
}
@media screen and (min-width: 576px){
    #gform_submit_button_1{
        padding: 15px 45px !important;
    }
}
.gform_wrapper .top_label .gfield_label{
    margin: 1.625em 0 .5em !important;
}
.gform_wrapper{
    margin: 0 !important;
    max-width: 100%;
}
.tieu-de-form{
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
    text-align: center;
}
@media screen and (min-width: 576px){
    .tieu-de-form{
        font-size: 28px;
        text-align: left;
    }

}
.widget-standard{
    background: #fafafa;
    border: 5px solid #cf8939;
}
.widget-standard .box-standard {
    display: flex;
    background-color: #fafafa;
    padding: 0px;
    align-items: center;
}
.widget-standard .box-standard h3{
    font-size: 12px;
    margin: 0;
    line-height: 24px;
}
.widget-standard .box-standard h3:last-child {
    padding-bottom: 5px;
    border-bottom: 3px solid #000;
}
.widget-standard .box-standard-2 {
    width: 55px;
}
.widget-standard .standard .row > div:nth-child(odd){
    padding: 15px 5px 15px 15px;
}
.widget-standard .standard .row > div:nth-child(even){
    padding: 15px 15px 15px 5px;
}
.archive .page-header h1.page-title, .search .page-header h1.page-title{
    margin: 0;
    padding: 20px;
    text-transform: uppercase;
    font-size: 22px;
    color: #fff;
    background: #ea2129;
    font-weight: 600;
    line-height: 24px;
}
.archive .site-main, .search .site-main{
    box-shadow: 0px 1px 4px 1px #eaeaea;
    padding-bottom: 30px;
}
.archive article, .single article, .search article{
    margin-top: 20px;
    margin-bottom: 20px;
}
.single article{
    margin-top: 0px;
}
.archive article h2.entry-title a, .search article h2.entry-title a{
    color: #800005;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 25px;
    margin-top: 10px;
    display: block;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.archive article .image-archive img, .search article .image-archive img{
    border-radius: 8px;
}
.archive a.detail, .search a.detail{
    display: inline-block;
    text-transform: uppercase;
    padding: 5px 20px;
    border: 1px solid #800005;
    color: #800005;
    margin-top: 10px;
}
.archive a.detail:hover, .search a.detail:hover{
    background-color: #800005;
    color: #fff;
}
.archive .title-mtv-sanpham, .search .title-mtv-sanpham{
    padding: 0 15px;
    margin-top: 30px;
}
nav .pagination{
    justify-content:center;
    padding: 20px 0 0 0;
}
.pagination .page-item.active .page-link{
    background-color: #ea2129;
    border-color: #ea2129;
    color: #fff;
}
.pagination .page-item .page-link{
    color: #636363;
}
.single .entry-header h1.page-title{
    margin: 0;
    padding: 20px;
    text-transform: uppercase;
    font-size: 22px;
    color: #fff;
    background: #ea2129;
    font-weight: 600;
    line-height: 24px;
}
.single .thongtin-sanpham{
    padding: 20px 15px;
    box-shadow: 0px 1px 4px 1px #eaeaea;
}
.single .image-single img{
    border-radius: 8px;
}
.single .thongso-tieude{
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
    color: #800005;
}
@media screen and (min-width: 768px){
    .single .thongso-tieude{
        font-size: 22px;
    }
}
.single .modal-lienhe{
    display: inline-block;
    margin-top: 20px;
    color: #fff;
    background-color: #ea2129;
    padding: 8px 23px;
    font-weight: 700;
}
.single .tieude-sanpham{
    text-transform: uppercase;
    font-size: 16px;
    color: #800005;
    text-align: center;
    margin: 10px 0 0 0;
}
@media screen and (min-width: 768px){
    font-size: 20px;
}
.single .top-sanpham{
    margin-bottom: 30px;
}
@media screen and (min-width: 768px){
    .single .bot-sanpham{
        padding: 0 30px;
    }
}

.single .mota-sanpham .nav-link.active{
    background: #fff;
    color: #800005;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0px 1px 4px 1px #eaeaea;
    padding: 10px 30px;
}
@media screen and (min-width: 768px){
    font-size: 22px;
}
#gform_wrapper_2{
    width: 100%
}
ul#gform_fields_2{
    list-style: none;
}
#gform_2 .gfield_label{
    margin: 0 0 0.5em !important;
}
#gform_2 li{
    margin-bottom: 10px;
}
#gform_2 li#field_2_1{
    pointer-events: none;
}
#gform_2 input{
    width: 100%;
    padding: 5px 10px;
}
#gform_submit_button_2{
    padding: 8px !important;
    background: #ea2129;
    border: none;
    color: #fff;
}
h5.modal-title{
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ea2129;
}
.related-sanpham .widget-title{
    margin: 0;
    line-height: 28px;
    font-size: 18px;
    padding: 0 0 5px 0;
    border-bottom: 2px solid #ea2129;
    color: #800005;
}
@media screen and (min-width: 768px){
    font-size: 22px;
    border-bottom: 3px solid #ea2129;
}
@media screen and (max-width: 576px){
    .related-product{
        margin-bottom: 20px;
    }
}

.related-sanpham .navi-arrow a{
    display: inline;
    padding: 4px 13px;
    background: #ea2129;
    color: #fff;
    font-size: 20px;
}

.related-sanpham .navi-arrow a:hover{
    color: #fff;
    cursor: pointer;
}
.tag-products a{
    color: #333;
}
.wp-caption-text {
    font-size: inherit;
    font-style: italic;
    text-align: center;
    margin: 5px 0;
}
