/*
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.   ***************/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');



@font-face {
    font-family: 'Montserrat';
    src: url('font/Montserrat-Regular.ttf') format('opentype');
    font-weight: regular;
}
  
@font-face {
    font-family: 'Ethnocentric';
    src: url('font/ethnocentric-rg.ttf') format('opentype');
    font-weight: regular;
}

body {
	font-family:Arial !important;
    
}

h3.section-title-normal span{
    font-weight: 400;
}
.header-wrapper.stuck  .header-main{ 
	background: #ddd;
}
@media (min-width: 1200px) {
    .container, .container-width, .full-width .ubermenu-nav, .row,.row.row-small {
    max-width: 1170px;
}
}

.thumbnail {
    display: block;
    padding: 4px;
    margin-bottom: 20px;
    line-height: 1.428571429;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.section-title-container .section-title-normal span,
.section-title-container .section-title-normal{
    border-bottom: none;
}
.section-title-container .section-title-normal span:after {
    content: '';
    height: 2px;
    background: #ffd200;
    width: 50px;
    margin-top: .5em;
    display: block;
}

.product-small .col-inner {
    text-align: center;
    border: #5bb2f5 2px solid;
    background: #fff;
    padding: 25px 5px 1px 5px;
    height: 100%;
}
.product-small .product-small{
    display: flex;
    align-items: end;
    flex-wrap: wrap;
}
.tiny-border {
    height: 2px;
    background: #333;
    width: 50px;
    margin-top: 1em;
    display: block;
    background-color: #ffd200;
}
.product-small .tiny-border{
    margin: 0 auto;
    margin-top: 1em;
}

.product-small .box-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 1:1 tỷ lệ ảnh vuông */
    overflow: hidden;
}
.product-title a{
    font-size: 14px;
    color: #333;
}
.product-small .box-text{
    padding-bottom: 1em;
}

.product-small .subtitle {
    display: block;
    font-size: 13px;
    margin: .3em 0;
    font-weight: 700;
    color: #ee0003;
}
.product-small .box-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*Sibar*/

.sidebar-inner .woocommerce .widget-title{
    display: block;
    background-color: #333;
    color: #fff;
    margin-bottom: 3px;
}
.widget.woocommerce .is-divider{
    display: none;
}
.widget  .is-divider{
    background-color: #ffd200;
}


.product-categories a{
    color: #333;
}
.sidebar-inner  .woocommerce .widget-title,
.product-categories{
    padding: .5em 1em;
}
#recent-posts-2 a {
    color: #088be8;
}
.product-tags a,.product-single-categories a{
	color: #088be8;
}
.single-product .col.col-divided:not(.col-first):last-child{
	border:none;
}



/* timeline */

.timeline{ margin-top: 20px; position: relative; padding: 10px}
.timeline:before{ 
    content: '';
    position: absolute;
    top: 0;
    left: 127px;
    height: 100%;
    width: 1px;
    background: #eee;
}
.text-light .timeline:before{ 
    background:rgba(255,255,255,.1);
}
.timeline .tl-block{ position: relative; margin-top: 10px; }
.timeline .tl-block:after{ content: ' '; clear: both; display: block;}
.timeline .tl-block .tl-time{ float: left; padding:10px 20px 0px 20px; margin-top:-15px; border:solid 2px #ddd; }
.timeline .tl-block .tl-time:after{width:50px; height:1px; background:#ddd;}
.timeline .tl-block .tl-bar{float: left; width: 5%; position: absolute; margin-left:110px; }

.timeline .tl-block .tl-line{background: #333; margin-right: 10px;  border-radius: 10px; width: 15px; height: 15px; font-size: 10px; text-align: center; line-height: 15px; }


.timeline .tl-message{ border-radius: 3px; float: left; margin-left:160px; top:0; margin-top:-50px; margin-bottom:30px; }
.timeline .tl-block .tl-message:after{ display: block; content: ' '; clear:both; }
.timeline .tl-block .tl-message .tl-icon{float: left; left:100px; }
.timeline .tl-block .tl-message .tl-main{ float: left; }
.timeline .tl-block .tl-message .tl-main .tl-title {}
.timeline .tl-block .tl-message .tl-main .tl-content{}
.timeline .tl-block .tl-message .tl-main .tl-content label{ font-weight: bold; display: inline-block; width: 80px;}
.timeline .tl-block .tl-message .tl-main .tl-content span{}
.timeline .tl-block .tl-message h3{text-transform:none;}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

.home_timeline .container.section-title-container {
    padding-top: 60px;
    padding-left: 80px;
}
.home_timeline .timeline-title,
.home_timeline .timeline-desc{
    color:#fff;
}
.custom-timeline {
    max-width: 100%;
    margin: 0 auto;
    padding: 0px 80px;
    position: relative;
}

.custom-timeline::before {
    content: '';
    position: absolute;
    top: -3px;
    bottom: 0;
    left: 205px;
    width: 1px;
    height: 69%;
    background-color: rgb(255, 255, 255, 0.3);
    transform: translateX(-50%);
}
.timeline-date h3 {
    font-size: 17px;
    padding: 5px 15px 5px 15px;
    border: 2px solid #fff;
    color: #fff;
    display: flex;
    align-items: center;
}
.timeline-date h3:after{
    content:"";
    display: block;
    width: 15px;
    height: 15px;
    margin-left: 5px;
    border-radius: 50%;
    background: #ffd200;
}
.timeline-item {
    display: flex;
    position: relative;
    justify-content: space-between;
}

.timeline-date {
    padding: 10px;
    text-align: right;
    font-weight: bold;
    color: #333;
}

.timeline-content {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 75%;
    width: 100%;
}

.timeline-title {
    margin: 0 0 10px 0;
    color: #d23669;
    font-size: 18px;
}

.timeline-desc {
    margin: 0;
    color: #666;
    font-size: 14px;
}
/* Contact page */
.stp-contact input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: none;
    border: solid 1px rgba(1, 1, 1, .2) !important;
    color: #333;
    font-size: 12px;
}
.stp-contact form.wpcf7-form.init {
    margin-bottom: 0;
}
.de_nav {
    background: #222;
    height:39px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}
.de_nav p{
    margin-bottom: 0;
    background: #ffd200;
    color: #333;
    display: inline;
    padding:7px 30px;
}
.srt-address .widget.widget-address p {
    border-bottom: solid 1px #222;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-weight: 300;
    font-size: 13px;
    color: #000;
}
/* End*/
@media (max-width: 1025px){
    .home_timeline .container.section-title-container {
        padding-top: 10px;
        padding-left: 25px;
    }
    .custom-timeline {
        padding: 0px 15px;
    }
    .custom-timeline::before {
        left: 140px;
    }
}

@media (max-width: 600px) {
    .timeline-date{
        display: none;
    }
    .custom-timeline::before {
        content:none;
    }
    .timeline-content {
        max-width: 100%;
    }
}


