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

/*************** ADD CUSTOM CSS HERE.   ***************/
#header {
    border-bottom: solid 2px #d4af37;
}

#footer {
    border-top: 4px solid #d4af37;
}
.footer p {
    margin-bottom: 8px;
}
.footer i {
    margin-right: 8px;
}

.footer ul.menu>li a::before {
    content: "›";
    padding-right: 5px;
    font-weight: bold;
}
.footer ul.menu>li a:hover {
color: #d4af37
}
.absolute-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
span.widget-title {
    color: #d4af37;
    border-bottom: solid 2px #d4af37;
    padding-bottom: 15px;
}
.section-content p {
    text-align: justify;
}
.section-title-normal span {
width: 100%;
}
.v-home-title .section-title {
    justify-content: center;
    text-align: center;
}

.v-home-post .box-blog-post{
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 14px;
}

.v-home-post .box-blog-post .box-image{
  width: 84px !important;
  flex: 0 0 84px !important;
  margin: 0 !important;
}
.v-home-post .box-blog-post .box-image .image-cover{
  width: 84px !important;
  height: 84px !important;
  padding-top: 0 !important;          
  background-size: cover !important;  
  background-position: center !important;
  border-radius: 6px;
  overflow: hidden;
}

.v-home-post .box-blog-post .box-image img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.v-home-post .box-blog-post .box-text{
  flex: 1;
  padding: 0 !important;
}
.v-home-post .box-blog-post{
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.12);
}
.v-home-post .box-blog-post:last-child{ border-bottom: 0; }
.v-home-post .is-divider {
    display: none;
}
.section-content .icon-box-text p {
    text-align: center;
    color: #666 !important;
    font-size: 0.65rem;
    font-style: italic;
}

.v-home-icon .has-icon-bg .icon i, .v-home-icon .has-icon-bg .icon img, .v-home-icon .has-icon-bg .icon svg {
width: 100%;
margin: 0;
}
.v-home-icon .has-icon-bg .icon .icon-inner {
overflow: hidden;
}
.v-home-icon h4 {
    margin-bottom: 0;
    line-height: 13px;
}
.v-home-title h3.section-title {
font-size: 17px;
}

p {
    font-size: 14px;
}
p.from_the_blog_excerpt {
    font-size: 12px;
}

aside.widget {
    padding: 15px;
    background-color: #FFF;
    border-radius: 5px;
    border: 1px solid #eee;
}

.post-sidebar .widget-title {
    color: #8b0000;
    display: block;
margin-bottom: 20px;
}
.post-sidebar .ux-search-submit {
    background-color: #8b0000;
}
.post-sidebar .is-divider {
    display: none;
}
.recent-blog-posts a {
font-size: 15px;
}

.widget_categories ul li{
  position: relative;
  padding-right: 40px;
}
.widget_categories ul li .cat-count{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  padding: 0 8px;
  background-color: #eee;
}

.entry-image img {
    max-height: 250px;
}
.post-item .entry-image,
article.post .entry-image{
  overflow: hidden;
}
.post-item .entry-image img,
article.post .entry-image img{
  transition: transform .4s ease;
  transform: scale(1);
}
.post-item:hover .entry-image img,
article.post:hover .entry-image img{
  transform: scale(1.08);
}
#menu-footer li {
    font-size: 14px;
}
.absolute-footer {
font-size: 12px;
}
/* css for history */
.history-hero {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(banner-history.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}
.history-hero h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    background: var(--gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}
:root {
    --red-primary: #8B0000;
    --gold-text: linear-gradient(to bottom, #FFD700, #DAA520, #B8860B);
    --gold-border: #C5A059;
    --text-black: #222;
    --bg-parchment: #f4f1ea;
}
.history-hero p {
    color: #eee;
    font-size: 1.2rem;
    max-width: 700px;
    font-style: italic;
    border-top: 1px solid var(--gold-border);
    border-bottom: 1px solid var(--gold-border);
    padding: 10px 0;
    margin-left: auto;
    margin-right: auto;
}

.tl-content {
    border-top: solid 4px #8b0000;
    border-radius: 6px;
}

.tl-content{
  position: relative;
}
.tl-right .tl-content::before{
  content:"";
  position:absolute;
  top: 22px;
  left: -14px;
  width:0;
  height:0;
  border-style: solid;
  border-width: 12px 14px 12px 0;
  border-color: transparent #fff transparent transparent;
  z-index: 2;
}
.tl-right .tl-content::after{
  content:"";
  position:absolute;
  top: 24px;
  left: -12px;
  width:0;
  height:0;
  border-style: solid;
  border-width: 10px 12px 10px 0;
  border-color: transparent #8b0000 transparent transparent;
  z-index: 3;
}
.tl-left .tl-content::before{
  content:"";
  position:absolute;
  top: 22px;
  right: -14px;
  width:0;
  height:0;
  border-style: solid;
  border-width: 12px 0 12px 14px;
  border-color: transparent transparent transparent #fff;
  z-index: 2;
}
.tl-left .tl-content::after{
  content:"";
  position:absolute;
  top: 24px;
  right: -12px;
  width:0;
  height:0;
  border-style: solid;
  border-width: 10px 0 10px 12px;
  border-color: transparent transparent transparent #8b0000;
  z-index: 3;
}

.circle-ring {
    position: absolute;
    left: 50%;
    top: 35px;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #8b0000;
    box-shadow: inset 0 0 0 4px #f3c15a;
    z-index: 5;
}
.tl-right .circle-ring {
    left: 53%;
}
.tl-left .circle-ring {
    left: 47%;
}
.p-title h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: var(--gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}
.p-video-feature {
    padding: 60px 5%;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
}
.p-title p {
    color: #aaa;
    text-align: center;
}
.posts-section-title-related {
    border-bottom: 2px solid #eee;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.tl-right, .tl-left {
    /*padding-left: 75px;*/
}
.tl-right .circle-ring {
    /*left: -17%;*/
}
.tl-left .circle-ring {
    /*left: -17%;*/
}

.tl-left .tl-content::after {
    content: "";
    position: absolute;
    top: 24px;
    left: -12px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 12px 10px 0;
    border-color: transparent #8b0000 transparent transparent;
    z-index: 3;
}


}