/*
 Theme Name:   Melchers
 Theme URI:    https://shandykaf.com
 Description:  Kadence Child Theme
 Author:       Shandyka Febrian
 Author URI:   https://shandykaf.com
 Template:     kadence
 Version:      2.0.0
 Text Domain:  kadence-child
*/


/* GLOBAL STYLE */
/* -- EDIT HERE -- */


/* SAMPLE CODE */
.sample-code .for-global-styles {
	font-family: var(--default-title-family);
	font-size: var(--default-title-size);
	font-weight: var(--default-title-weight);
}


/* BODY */

.single-content h1.elementor-heading-title,
.single-content h2.elementor-heading-title,
.single-content h3.elementor-heading-title,
.single-content h4.elementor-heading-title,
.single-content h5.elementor-heading-title,
.single-content h6.elementor-heading-title {
	margin-bottom: 0 !important;
}

.single-content p:last-child,
p:last-child {
    margin-bottom: 0px !important;
}

.single-content p:not(:last-child),
p:not(:last-child) {
    margin-bottom: 15px !important;
}

p:first-child {
    margin-top: 0px !important;
}

.single-content ul,
.single-content ol {
    margin: 0 0 0px;
}

.aspect-ratio-1-1,
.aspect-ratio-1-1 img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


/* HEADER */

header.site-header,
.item-is-fixed {
    -webkit-box-shadow: 0 0 15px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, .1);
}

.header-navigation .menu {
    margin-left: 20px;
}


/* FOOTER */

.site-middle-footer-wrap .site-middle-footer-inner-wrap {
	/* grid-template-columns: 1.5fr 0.3fr 2.2fr !important; */
}

/* UNDERLINE LIST WHILE HOVER */
/* Heading */
.underline-hover .elementor-heading-title {
    display: inline-block;
    position: relative;
}

/* Icon List */
.underline-hover .elementor-icon-list-text {
    display: inline-block;
    position: relative;
}

/* Underline awal */
.underline-hover .elementor-heading-title::after,
.underline-hover .elementor-icon-list-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #34435c;
    transition: width 0.3s ease;
}

/* Underline saat hover */
.underline-hover:hover .elementor-heading-title::after,
.underline-hover .elementor-icon-list-item:hover .elementor-icon-list-text::after {
    width: 100%;
}


/* BUTTON - STICKY WHATSAPP BUTTON */

.wa-button {
	position: fixed;
	bottom: 20px;
	right: 20px;
/* 	z-index: 999999; */
}

.wa-button a {
	background: linear-gradient(to top, #29b43f, #60d36b);
	color: #fff !important;
	width: 60px;
	display: table;
	height: 60px;
	border-radius: 100%;
	position: relative;
	text-align: center;
	font-size: 35px !important;
	transition: all 0.2s ease-in-out;
	box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.35);
	outline: none;
	text-decoration: none;
	animation: ring-animation 5s infinite;
}

.wa-button a:hover {
	transform: scale(0.9);
	text-decoration: none !important;
}

.wa-button a img {
	width: 30px;
	height: auto;
	position: absolute;
	margin: auto;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	text-decoration: none;
	z-index: 888;
	transition: all 0.2s ease-in-out;
	text-shadow: 0 2px 5px rgba(20, 113, 34, 0.5);
}

.wa-button a:hover img {
	text-shadow: 0 0 0 rgba(20, 113, 34, 0.5);
	text-decoration: none;
}

@keyframes ring-animation {
	0%,90% {transform: scale(1) rotate(0deg);}
	92%,94% {transform: scale(1.2) rotate(-5deg);}
	94%,96% {transform: scale(1.2) rotate(5deg);}
	96%,98% {transform: scale(1.2) rotate(-4deg);}
	98%,100% {transform: scale(1.2) rotate(4deg);}
	100% {transform: scale(1) rotate(0deg);}
}

/* BANNER */

.slider-banner .elementor-image-carousel-caption,
.slider-banner .elementor-image-carousel-caption a {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
}

.slider-banner img.swiper-slide-image {
	width: 100% !important;
}

/* =========================================================
   MELCHERS SIDEBAR
   ========================================================= */

.melchers-sidebar {
    position: fixed;
    top: 0;
    left: 0;

    width: 338px;
    height: 100vh !important;
    min-height: 100vh !important;

    z-index: 9;

    box-sizing: border-box;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.melchers-sidebar::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.side-menu {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.side-menu .jet-nav {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.jet-nav__item.menu-item-has-children > .jet-nav__sub {
    overflow: hidden;
    overflow-anchor: none;
}

.jet-nav,
.jet-nav__list,
.jet-nav__item {
    overflow-anchor: none;
}

html {
    overflow-anchor: none;
}

.jet-nav__sub .menu-item-link-sub .jet-nav-link-text {
    display: inline-block;
    position: relative;
}

.jet-nav__sub .menu-item-link-sub .jet-nav-link-text::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -2px;

    width: 0;
    height: 1px;

    background: #A6956F;

    transition: width 0.3s ease;
}

.jet-nav__sub .menu-item-link-sub:hover .jet-nav-link-text::after {
    width: 100%;
}


/* TRUNCATED TEXT */
.truncated-text .jet-listing-dynamic-field__content {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.copyright-text {
    font-family: "Hind Madurai", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
	color: white !important;
}

/* DESKTOP */
@media (min-width: 1280px) {
    /* FOOTER */
    .site-middle-footer-wrap .site-container {
        padding: 0 !important;
    }
	
	.melchers-page-content {
        margin-left: 338px;
        width: calc(100% - 338px);
    }
	
	/* 	CONTENT MAX-WIDTH */
/* 	.content-max-width {
		width: 100%;
		max-width: 960px !important;
		margin-inline: auto;
	} */
}


/* TABLET */
@media (min-width: 768px) and (max-width: 1279px) {}


/* MOBILE */
@media (max-width: 767px) {
	/* 	FOOTER */
	.site-middle-footer-wrap .site-middle-footer-inner-wrap {
		/* grid-template-columns: none !important; */
    }
	
	/* BUTTON - STICKY WHATSAPP BUTTON */
	.wa-button {
		bottom: 10px;
		right: 10px;
	}
	
	/* 	SIDEBAR HAMBURGER MENU */
/* 	.mobile-hamburger {
    position: relative;
    z-index: 9999;
    pointer-events: auto !important;
    cursor: pointer;
	}

	.mobile-hamburger .elementor-widget-container,
	.mobile-hamburger .elementor-icon-wrapper,
	.mobile-hamburger .elementor-icon {
		pointer-events: auto !important;
	} */
	
	.copyright-text {
        font-size: 15px !important;
    }
}