/*
Theme Name: flatsome-child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
#footer > .section{
    background: var(--footer-bg);
}

.border-around {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    background: var(--border-bg);
}

.border-around h2:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #fff;
    opacity: 0.2;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
.border-around h2 span {
    position: relative;
    z-index: 9;
    padding: 0 20px;
    background: var(--border-sub);
}


h1{
    color: var(--heading1) !important;
}
h2{
    color: var(--heading2) !important;
}
h3{
    color: var(--heading3) !important;
}
h4{
    color: var(--heading4) !important;
}
body,td{
    color: var(--body-color) !important;
}
a{
    color: var(--link);
}
#main, 
#wrapper{
    background-color: var(--body-bg);
}
#header,
.header-wrapper.stuck{
    background: var(--header-bg);
}
.header-bg-color,
.header-bottom{
    background-color: inherit !important;
}
.header-nav > li.menu-item > a {
    background: inherit;
    margin-right: 5px;
    color: var(--nav-color);
}

.header-nav > li.current-menu-item a,
.header-nav > li.menu-item a:hover{
    color: var(--nav-active);
}
.nav-dropdown-default {
    padding: 10px;
}

.inside-article {
    padding: 0 !important;
}
.inside-article .entry-header,
.post-sidebar .widget {
    background: var(--widget) !important;
    padding: 10px;
    text-align: center;
}

.mb0 {
    margin-bottom: 0;
}

.nwm-item-center {
    display: flex;
    align-items: center !important;
}
.p0 {
    padding: 0 !important;
}

ol,
ul {
    margin: 0px 0px 1.5em 1em;
}

.wp-block-buttons .wp-block-button__link {
    border: 2px solid var(--button__link);
    background-color: inherit;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s,
        color 0.3s, opacity 0.3s;
    border-radius: 5px;
}
.wp-block-buttons .wp-block-button__link:hover {
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s,
        color 0.3s, opacity 0.3s;
    transform: translateY(-6px);
}

h3 {
    border-bottom: 2px solid hsla(0, 0%, 100%, 0.2);
}
h3 span {
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 2px solid hsla(0, 0%, 100%, 0.5);
    position: relative;
    top: 2px;
}

/*-----------------------*\
    GALLERY
\*-----------------------*/
.nwm-gallery.wp-block-gallery{
    display: flex;  
    flex-wrap: wrap;
    gap: 0 !important;
    justify-content: center;
}
.nwm-gallery.wp-block-gallery figure {
    width: auto !important;
    flex-grow: initial !important;
}

.nwm-gallery.wp-block-gallery img {
    height: 70px !important;
    width: auto !important;
    object-fit: contain !important;
/*  filter: grayscale(100%) brightness(155%) contrast(0.4);*/
    padding: 0px 10px 10px 0px;
    flex: auto !important;
    -webkit-transition: all .3s ease 0s;
    -moz-transition: all .3s ease 0s;
    -ms-transition: all .3s ease 0s;
    -o-transition: all .3s ease 0s;
    transition: all .3s ease 0s;
}
.nwm-gallery.wp-block-gallery img:hover{
    filter: grayscale(0%);
    -webkit-transition: all .3s ease 0s;
    -moz-transition: all .3s ease 0s;
    -ms-transition: all .3s ease 0s;
    -o-transition: all .3s ease 0s;
    transition: all .3s ease 0s;
}

/*-----------------------*\
    LIST
\*-----------------------*/
ol, ul{
    margin: 0px 0px 1.5em 0;
}
ul.bullet-arrow li {
    border-bottom: 1px solid #ececec;
    list-style: none;
    margin: 0;
    padding: 7px 0 7px 15px;
    position: relative;
}
ul.bullet-arrow li a {
    padding-left: 0;
    font-size: 14px;
    text-decoration: none;
}
ul.bullet-arrow li a:before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    transition: 0.5s;
    float: left;
    box-shadow: -2px 2px 0 var(--button__link);
    transform: rotate(225deg);
    left: -7px;
    top: 36%;
}

/*==================================================
>>>       HEADER     
==================================================*/
.header-wrapper .top-divider{
    display: none;
}
#wide-nav{
    border-top: 1px solid;
    border-color: rgba(255, 255, 255, .1);
}
/*-----------------------*\
    HEADER BTN
\*-----------------------*/
.header-button-1 a,
.header-button-2 a,
.mobile-nav .header-button a{
    font-weight: 500;
    color: var(--header-btn);
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: var(--header-btn);
    font-size: 14px;
    padding: 0 20px;
    text-transform: capitalize;
    border-radius: 5px !important;
    background: inherit;
}
.header-button-1 a:hover,
.mobile-nav .header-button a:hover{
    background: var(--header-btn-hover);
    color: #fff;
}
.header-button-2 a {
    border-color: #fff;
    color: #fff;
}
.header-button-1 a:hover{

}

/*-----------------------*\
    ICON
\*-----------------------*/
.nwm-icon {
    position: relative;
}
.nwm-icon a {
    padding-left: 30px !important;
    padding-right: 10px !important;
}
.nwm-icon:after {
    content: "";
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 50%;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    left: 0;
}
.nwm-icon.home:after {
    background-image: url(img/menu-icon/home.webp);
}
.nwm-icon.fish:after {
    background-image: url(img/menu-icon/fish.webp);
}
.nwm-icon.block:after {
    background-image: url(img/menu-icon/block.webp);
}
.nwm-icon.live:after {
    background-image: url(img/menu-icon/live.webp);
}
.nwm-icon.slot:after {
    background-image: url(img/menu-icon/slot.webp);
}
.nwm-icon.table:after {
    background-image: url(img/menu-icon/table.webp);
}

.main-navigation .main-nav ul li a {
    position: relative;
}
/*.main-navigation .main-nav ul li a:hover:before,
.main-navigation .main-nav ul li[class*="current-menu-"] a:before {
    content: "";
    position: absolute;
    height: 2px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--main);
}
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li[class*="current-menu-"] a {
    color: var(--main);
}*/

/* The sticky class is added to the header with JS when it reaches its scroll position */
#masthead.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
}
#site-navigation.sticky {
    position: fixed;
    top: 48px;
    width: 100%;
}

/*==================================================
>>>            
==================================================*/
.eb-accordion-uveo4.eb-accordion-container .eb-accordion-content-wrapper-eb-accordion-uveo4 .eb-accordion-content{
    color: var(--body-color);
    border: none;
    padding: 0 30px;
    font-size: 14px;
}
/*==================================================
>>>       FOOTER     
==================================================*/
footer.site-info .inside-site-info {
    padding: 10px;
}
.wp-block-tag-cloud a {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 5px;
    text-decoration: none;
}
.wp-block-tag-cloud a:hover {
/*    background-color: var(--main);*/
}

#footer-widgets .wp-block-gallery .wp-block-image img {
    max-width: 65px !important;
}
/*==================================================
>>>       HOMEPAGE     
==================================================*/
.eb-slider-wrapper .eb-slider-type-image .eb-slider-item img {
    object-fit: cover !important;
}
.slider {
    overflow: hidden;
}
.slider .wp-block-columns {
    padding: 0;
}
.border-around {
    margin-bottom: 30px;
}

.border-around h2 {
    position: relative;
}


.h-hover-btn .wp-block-column {
    position: relative;
}
.h-hover-btn .wp-block-column:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.h-hover-btn .wp-block-column:hover:after {
    opacity: 1;
}
.h-hover-btn .wp-block-column .wp-block-buttons {
    position: absolute;
    left: 0;
    right: 0;
    top: 70%;
    -webkit-transform: translateY(-70%);
    -moz-transform: translateY(-70%);
    -ms-transform: translateY(-70%);
    -o-transform: translateY(-70%);
    transform: translateY(-70%);
    opacity: 0;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    z-index: 3;
}
.h-hover-btn .wp-block-column:hover > .wp-block-buttons {
    opacity: 1;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.h-hover-btn .wp-block-column .wp-block-buttons .wp-block-button__link {
    padding: 5px 10px;
    cursor: pointer;
    background: inherit;
    font-weight: 700;
    text-transform: uppercase;
    border-color: #fff;
    color: #fff;
    font-size: 12px;
}
.h-hover-btn .wp-block-button:nth-child(2) .wp-block-button__link {
}
.marquee {
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
}
.ring_b {
    display: flex;
    align-items: center;
}
.marquee .ring_b span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}
/* Make it move */
@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}

/*==================================================
>>>       PAGE     
==================================================*/
.featured-image.page-header-image img {
    max-width: 100%;
    width: 100%;
}

/*==================================================
>>>       POST & ARCHIVE     
==================================================*/
body.archive .page-header {
    background: var(--navigation-background);
    padding: 20px;
}
/*-----------------------*\
    RESPONSIVE
\*-----------------------*/

/* Large desktops and laptops */
@media (min-width: 1200px) {
}

/* Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    .wp-block-columns,
    .grid-container,
    .inside-header.grid-container {
        max-width: 960px;
    }
    .inside-header {
        padding: 5px 0;
    }
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
    .main-navigation .menu-toggle {
        line-height: 3;
        text-align: right;
    }

    .footer-widget-1 .wp-block-columns {
        gap: 0;
    }

    .footer-widget-1 .wp-block-columns:first-child > .wp-block-column {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding: 10px 0;
    }
    /*-----------------------*\
        POST
    \*-----------------------*/
    body.single .inside-article {
        padding: 20px !important;
    }
    body.single #right-sidebar {
        padding: 20px;
    }

    body.archive .page-header,
    body.archive article,
    body.archive #right-sidebar {
        margin: 20px;
    }
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
    h1 {
        font-size: 32px;
    }
    h2 {
        font-size: 28px !important;
    }
    h3 {
        font-size: 24px;
    }
    h4 {
        font-size: 20px;
    }
    h5 {
        font-size: 18px;
    }
    p {
        font-size: 16px;
    }
    /*-----------------------*\
        HEADER
    \*-----------------------*/
    .main-navigation .menu-toggle {
        line-height: 3;
        text-align: right;
    }
    /*.inside-header.grid-container {
        flex-direction: row;
        justify-content: space-between;
    }*/
    .site-header .header-widget {
        margin-top: 10px;
    }
    #site-navigation.sticky {
        top: 118px;
    }
    .menu-toggle {
        top: 30px;
        right: 0px;
        position: fixed;
    }

    /*-----------------------*\
        FOOTER
    \*-----------------------*/
    .footer-widget-1 .wp-block-columns {
        gap: 0;
    }
    .footer-widget-1 .wp-block-columns:first-child > .wp-block-column {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding: 10px 0;
    }
    .eb-slider-wrapper .eb-slider-type-image .eb-slider-item img {
        object-fit: fill !important;
    }

    /*-----------------------*\
        PAGE & HOME
    \*-----------------------*/
    .h-hover-btn {
        gap: 0;
    }
    .h-hover-btn .wp-block-column {
        flex: 0 0 33.33%;
        max-width: 33.33%;
        width: 33.33%;
        padding: 10px;
    }

    .border-around {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 20px;
    }
    /*-----------------------*\
        POST
    \*-----------------------*/
    body.single .inside-article {
        padding: 20px !important;
    }
    body.single #right-sidebar {
        padding: 20px;
    }
    /*-----------------------*\
        ARCHIVE
    \*-----------------------*/
    body.archive .page-header,
    body.archive article,
    body.archive #right-sidebar {
        margin: 20px;
    }
}

/* Landscape phones and smaller */
@media (max-width: 576px) {
    /*.footer-widget-1 .wp-block-columns:first-child > .wp-block-column{
        padding: 0;
    }*/
    .h-hover-btn .wp-block-column {
        padding: 5px;
    }
}

/* Landscape phones and smaller */
@media (max-width: 480px) {
    .h-hover-btn .wp-block-column {
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
        padding: 10px;
    }
    .inside-article .entry-header {
        padding: 20px;
    }
}
