/*
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.   ***************/
.carousel {
    margin-bottom: 40px;
}

.carousel-main.img {
    width: 100%;
    height: 200px;
    margin-right: 10px;
    background: #8C8;
    border-radius: 5px;
    counter-increment: img;
}

/* cell number */
.carousel-main.img:before {
    display: block;
    text-align: center;
    content: counter(img);
    line-height: 200px;
    font-size: 80px;
    color: white;
}

.carousel-main h1{
    font-size:127px;
}

.carousel-main p{
    font-size:85px;
    margin:0;
    line-height: 85px;
}
.carousel-main .flickity-prev-next-button {
    top: auto;
    bottom: 16%;
    width: 30px;
    height: 30px;
    color: #111;
    border: 2px solid #111;
    opacity: .3;
    font-size: 12px;
    border-radius: 50%;
    z-index: 99999;
}
.carousel-main .flickity-prev-next-button.previous {
    -ms-transform: translateX(-35%);
    transform: translateX(-35%);
    left: auto;
    right: 35%;
}
.carousel-main .flickity-prev-next-button.next {
    -ms-transform: translateX(-35%);
    transform: translateX(-35%);
    right: 35%;
    bottom: 12%;
}
.carousel-main .flickity-prev-next-button.previous:hover,
.carousel-main .flickity-prev-next-button.next:hover{
    opacity: 1;
}
.carousel-nav{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 9999;
    width: 70%;
    height: 260px;
    padding: 20px 150px;
}
.carousel-nav:before{
    content: '';
    position: absolute;
    bottom:0;
    left:0;
    height:258px;
    width: 50%;
    background: #FFEDE2;
}
.carousel-nav .flickity-slider>div {
    height: 180px;
    width: 300px !important;
    margin: 30px 20px;
    padding-top: 0 !important;
    counter-increment: gallery-cell;
}

.carousel-nav .flickity-slider > div > img{
    max-width:100%;
}

.carousel-nav .img:before {
    font-size: 50px;
    line-height: 80px;
}

.carousel-nav .img.is-nav-selected {
    background: #ED2;
}
.carousel-nav .banner:before{
    display: block;
    text-align: center;
    content: counter(gallery-cell, decimal-leading-zero);
    line-height: 90px;
    font-size: 72px;
    color: white;
    position: absolute;
    top: 0;
    left: 11px;
    z-index: 99;
}
.carousel-nav .text-box{
    width: 90% !important;
    padding: 50px 0 0;
    font-size: 23px;
}
.carousel-nav .text-box h1{
    display:none;
}
.carousel-nav .fill {
    background: rgba(0,0,0, .2);
}
.nav>li>a, .header-main .nav > li > a {
    /* padding: 24px 0; */
}
.nav-dropdown {
    padding: 5px 0;
    border: none;
}
.form-flat input:not([type="submit"]), .form-flat textarea, .form-flat select {
    background-color: transparent;
    font-size: .9em;
    height: 35px;
}
.searchform .button.icon i {
    font-size: 1em;
}
.searchform-wrapper {
    min-width: 200px;
}
.section-title-normal, .section-title-normal span {
    border-bottom: none;
}
.section-title{
    text-align: center;
}
.section-title b{
    display: none;
}
.section-title-center span, .section-title-bold-center span {
    text-align: center;
    display: block;
    width: 100%;
}
.absolute-footer.dark {
    color: #FFF;
}
.blog-post-inner .is-divider{
    display: none;
}
a:hover .from_the_blog_excerpt {
    color: #000;
}
.post-title{
    min-height: 45px;
}
.nav-pagination>li>span, .nav-pagination>li>a {
    padding: 2px 7px;
    border: 1px solid #f78836;
}
.top-bar-nav.nav-right a > img {
    margin-right: 5px;
}
.hotline {
    margin-bottom: 0;
}
.search-form {
    width: 89%;
}
input[type='search'] {
    border: 1px solid #00833d;
    box-shadow: none;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}
.secondary {
    background-color: #00833d;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}
div#wide-nav:before {
    content: "";
    height: 3px;
    background: url(https://shop.dalathasfarm.com/public/dalathasfarm/images/line.png) no-repeat;
    background-size: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}
#block_widget-2 {
    max-width: 40%;
    -ms-flex-preferred-size: 40%;
    flex-basis: 40%;
    padding-right: 60px;
}
.footer-logo img{
    width: auto;
    height: 94px;
}
#block_widget-2 p{
    margin-bottom: 0;
}
ul.menu>li+li, .widget>ul>li+li {
    border-top: none;
}
#custom_html-2, #nav_menu-7, #nav_menu-8 {
    max-width: 20%;
    -ms-flex-preferred-size: 20%;
    flex-basis: 20%;
}
.col-6{
    width: 50%;
}
.blog-item-block .post-image {
    position: relative;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
}
.blog-item-block .box-image {
    position: relative;
    height: auto;
    overflow: hidden;
    padding-top: 100%;
    background-position: 50% 50%;
    background-size: cover;
}
.cate-date-post{
    display: flex;
}
.cate-date-post span{
    position: relative;
    margin-left: 30px;
    list-style: disc;
    display: list-item;
}
.cate-date-post a{
    color: #4B4B4B;
    font-weight: 500;
}
.post-info{
    padding: 70px 80px 30px;
    height: 100%;
}
.post-info p{
    color: #6E6E6E;
}
.post-info h2 a{
    color: #313131;
}
.bsf-rt-reading-time {
    color: #6E6E6E;
    font-size: 15px;
    display: block;
    min-width: 100px;
    font-size: 17px;
}
.bsf-rt-display-label:after {
    content: attr(prefix);
}
.bsf-rt-display-time:after {
    content: attr(reading_time);
}
.bsf-rt-display-postfix:after {
    content: attr(postfix);
}
.time-read-more{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.time-read-more p{
    margin: 0;
}
.time-read-more p:last-child{
    font-weight: bold;
}
.blog-item-block .row{
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.section-heading{
    margin-bottom: 22px;
}
.section-heading h2{
    font-size: 24px;
    text-align: left;
    border-bottom: 1px solid #D6D6D6;

    margin-bottom: 0;
}
.section-heading h2 span{
    border-bottom: 2px solid #313131;
    margin-bottom: -1px;
}
.section-heading .section-title a{
    font-size: 15px;
    display: flex;
    align-items: center;
}
.main-list-post{
    padding: 25px;
    border: 1px solid rgba(49, 49, 49, 0.2);
    border-radius: 5px;
}
.main-list-post .main-post .main-image{
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
    min-height: 300px;
    max-height: 300px;
    text-align: center;
    display: flex;
    justify-content: center;
}
.main-post .main-image img{
    height: 100%;
    width: auto;
    max-width: inherit !important;
    margin: auto;
}
.main-post .time, .list-title .time{
    font-size: 12px;
}
.main-post h3{
    line-height: 26px;
    color:#313131;
}
.list-item{
    display: flex;
    justify-content: flex-start;
    margin-bottom: 30px;
    max-height: 105px;
}
.list-item .list-img{
    flex: 0 0 40%;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    border-radius: 5px;
}
.main-list-post .col{
    padding: 0 15px 0;
}
.list-title p:first-child{
    line-height: 25px;
}
.list-img img{
    height: 100%;
    width: auto;
    max-width: inherit !important;
    margin: auto;
}
.read-more{
    margin-bottom: 0;
}
.list-item:last-child{
    margin-bottom: 0;
}
.blog-style-23 .col{
    padding: 0 15px 0;
}
.photo .slider-nav-light .flickity-prev-next-button {
    color: #282828;
}
.slider-nav-light .flickity-prev-next-button svg, .slider-nav-light .flickity-prev-next-button .arrow {
    fill: #282828;
}
.photo .flickity-prev-next-button.previous {
    -ms-transform: translateX(20%);
    transform: translateX(20%);
    left: 15%;
}
.photo .flickity-prev-next-button.next {
    -ms-transform: translateX(-20%);
    transform: translateX(-20%);
    right: 15%;
}
.photo .slider-nav-light .flickity-page-dots .dot {
    background-color: #D6D6D6;
    border-color: #D6D6D6;
    margin: 0;
    width: 50px;
}
.photo .slider-nav-light .flickity-page-dots .dot.is-selected {
    background-color: #313131;
    border-color: #313131;
}
.photo .flickity-page-dots {
    bottom: -38px;
}
.custom-slider .box-text, .custom-slider .col{
    padding-bottom: 0;
    margin-bottom: 0;
}
.custom-html-widget p{
    margin-bottom: 0;
}
.absolute-footer, .footer-nav>li>a {
    color: #333 !important;
}
#menu-webshop-menu>li>a, #menu-thong-tin>li>a{
    font-size: 14px;
}
.header, .header-wrapper {
    box-shadow: 1px 1px 2px rgb(0 0 0 / 15%);
}
.footer-1{
    border-top: none;
}
.footer-1:before {
    content: "";
    height: 3px;
    background: url(https://shop.dalathasfarm.com/public/dalathasfarm/images/line.png) no-repeat;
    background-size: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}
.wpforms-image-choices-item{
    width: 15% !important;
}
.post-archive .elementor-grid-item{
    border: 1px solid #ddd;
    padding: 20px !important;
    border-radius: 5px;
}
@media screen and (max-width: 860px) {
    .wpforms-image-choices-item{
        width: 50% !important;
    }
    .carousel-nav {
        padding: 20px 50px !important;
        width: 64% !important;
    }
    .carousel-main h1 {
        font-size: 60px !important;
    }
    .carousel-main p {
        font-size: 40px;
        line-height: 45px;
    }
    .post-info {
        padding: 30px 20px 30px;
    }
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .col-6{
        width: 100%;
    }
    .carousel-nav {
        padding: 20px 40px !important;
        width: 95% !important;
        height: 210px;
    }
    .carousel-nav .flickity-slider>div {
        height: 140px;
        margin: 15px 20px;
    }
    .carousel-nav:before {
        height: 210px;
    }
    .carousel-main .flickity-viewport{
        height: 440px !important;
    }
    .carousel-main .banner {
        padding-top: 440px !important;
    }
    .carousel-main h1 {
        font-size: 30px !important;
    }
    .carousel-main p {
        font-size: 16px;
        line-height: 30px;
    }
    .carousel-nav .banner:before {
        line-height: 50px;
        font-size: 30px;
    }
    .carousel-nav .text-box {
        padding: 20px 0 0;
        font-size: 16px;
    }
    .carousel-nav .text-box p{
        margin: 0;
    }
    .slider-section {
        min-height: auto !important;
    }
    .post-image .image-cover{
        padding-top: 220px !important;
    }
    .photo .flickity-viewport{
        height: 300px !important;
    }
    .photo .flickity-viewport .img-inner{
        padding-top: 300px !important;
    }
    .footer .col {
        max-width: 100% !important;
        flex-basis: 100% !important;
    }
    #block_widget-2 {
        padding-right: 15px;
    }
}