/*
 Theme Name:   Ruang Bedah
 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; */
}


/* 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;
}
/* .slider-banner .elementor-swiper-button-prev {
	left: 15px !important;
    display: block;
}
.slider-banner .elementor-swiper-button-next {
	right: 15px !important;
    display: block;
} */


/* HERO BANNER - WASIR */
.wasir-hero{
	content: "";
    inset: 0;
    background: linear-gradient(180deg,rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 1) 100%) !important;
    opacity: .2;
    pointer-events: none;
    z-index: 2;
}

/* DISABLE BUTTON */
.btn-disabled{
    pointer-events: none;
    cursor: not-allowed;
}

/* NINJA FORM */
.ninja-forms-req-symbol,
.nf-field-label .ninja-forms-req-symbol,
#nf-form-1-cont .ninja-forms-req-symbol,
.nf-form-layout .nf-before-form-content {
	display: none !important;
	visibility: hidden !important;
}

.nf-field-label label {
	font-family: var(--e-global-typography-bb63c41-font-family), Sans-serif) !important;
	font-size: var(--e-global-typography-bb63c41-font-size) !important;
	font-weight: var(--e-global-typography-bb63c41-font-weight) !important;
	font-style: var(--body-semi-bold-md-style) !important;
	color: var(--black-default);
}


/* .nf-field-element input {
	background-color: #4611F5;
} */

.nf-form-content {
	padding: 0px !important;
}

.nf-form-content input.ninja-forms-field,
.nf-form-content textarea.ninja-forms-field {
	font-size: var(--desktop-default-field-size);
	font-weight: var(--desktop-default-field-weight);
}

.nf-form-content input:not([type=button]),
.nf-form-content textarea.ninja-forms-field {
	background: var(--grey-background-3) !important;
	border: 1px solid var(--grey-background) !important;
	border-radius: var(--section-radius-8) !important;
	color: var(--black-paragraph);
}

.nf-form-content select.ninja-forms-field {
	background: var(--grey-background-3) !important;
	border: 1px solid var(--grey-background) !important;
	border-radius: var(--section-radius-8) !important;
	color: var(--black-paragraph);
	padding: var(--section-padding-10-half) var(--section-padding-10)!important;
}

.nf-form-content select.ninja-forms-field {
	font-size: var(--desktop-default-field-size);
	font-weight: var(--desktop-default-field-weight);
	background-color: var(--grey-background-3) !important;
	border: 1px solid var(--grey-background) !important;
	color: var(--black-paragraph);
}
}

.nf-form-content textarea.ninja-forms-field {
	height: 150px;
}

.nf-error.field-wrap .nf-field-element:after {
	height: 43px !important;
	width: 43px !important;
	line-height: 43px !important;
}

.nf-error .nf-error-msg {
	font-size: 14px;
}

#nf-form-title-1 h3 {
	display: none;
}

.nf-form-content input[type=submit] {
	padding: var(--desktop-btn-padding-vertical-default) var(--desktop-btn-padding-horizontal-default) var(--desktop-btn-padding-vertical-default) var(--desktop-btn-padding-horizontal-default) !important;
	font-family: var(--e-global-typography-accent-font-family), Sans-serif;
	font-size: var(--e-global-typography-accent-font-size) !important;
	font-weight: var(--e-global-typography-accent-font-weight) !important;
	font-style: normal !important;
	line-height: normal;
	display: inline-flex;
	text-transform: uppercase;
	border-radius: 0px;
	background: var(--yellow-default) !important;
	color: var(--white-default) !important;

}

.nf-form-content input[type=submit]:hover {
	background: var(--yellow-dark) !important;
	color: white !important;
}

.nf-input-limit{
	display : none !important;
}

/* ARTICLE PAGE */
.truncated-content .jet-listing-dynamic-field__content {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jet-radio-list-wrapper fieldset {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.jet-radio-list__input,
.jet-radio-list__decorator {
    display: none !important;
}

.jet-radio-list__button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid #dcdcdc;
    border-radius: 100px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all .3s ease;
}

.jet-radio-list__button:hover {
    border-color: #1a6b8a;
    color: #1a6b8a;
}

.jet-radio-list__item.is-active .jet-radio-list__button,
.jet-radio-list__input:checked + .jet-radio-list__button {
    background: #1a6b8a;
    border-color: #1a6b8a;
    color: #fff;
}

.jet-radio-list__label {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

/* DESKTOP */
@media (min-width: 1280px) {
    /* FOOTER */
    .site-middle-footer-wrap .site-container {
        padding: 0 !important;
    }
}


/* 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;
	}
}