/*
 Theme Name:   GP Projects Custom - GeneratePress child
 Theme URI:    https://digitalpreneurclub.com
 Description:  GeneratePress Custom Theme 
 Author:       Kang Nurdin
 Author URI:   https://digitalpreneurclub.com
 Template:     generatepress
 Version:      0.1
*/

/* Header */
/* Menu Toggle */
 button.menu-toggle {
    padding-right: 0;
    padding-left: 0;
    font-size: 23px !important;
 }

/* Header Border Bottom*/
header.site-header, nav#mobile-header {
	border-bottom: 1px solid var(--base);
}
/* Header Menu Button*/
 #header-button {
     border: 1px solid var(--accent);
     border-radius: 5px;
     padding: 7px 12px;
     margin-right: 10px;
     font-weight: 500;
     color: var(--accent);
 }
 
 @keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
  }

  #whatsapp-button {
    animation: blink 1s infinite;
    background-color: #2FB859;
    border-radius: 5px;
    padding: 1px 9px;
    margin-right: 10px;
    font-weight: 500;
    color: white;
    font-size: 25px !important;
  }

/* Sub Menu */
ul.sub-menu {
	background-color: white !important;
	}
li.menu-item {
	border-top: 1px solid #f1f1f1 !important;
}

@media (min-width: 1000px) {
	ul.sub-menu {
	border-bottom: 3px solid grey !important;
	border-left: 1px solid #f1f1f1 !important;
	}
}

.sub-menu.toggled-on {
    box-shadow: none!important;
    border: 0px solid #f1f1f1!important;
    border-radius: 0;
    margin-left: 10px;
    width: 100%!important;
    padding: 0!important;
}
.sub-menu.toggled-on li a {
    position: relative;
    padding-left: 25px!Important;
}
.sub-menu.toggled-on li a::before {
    width: 5px;
    height: 5px;
    content: " ";
    position: absolute;
    left: 12px;
    background: var(--accent);
    border-radius: 50px;
    top: 20px;
}  

/* Categories & Author Archive*/
h1.page-title {
		padding: 20px;
	}
header.page-header, div.gb-container.gb-container-45a92b1c {
	border: 1px solid var(--base);
}

/* Single Post */
	/* Post Categories*/
	span.post-term-item a {
	background-color: var(--accent);
	color: white;
	padding: 2px 10px 2px 10px;
		border-radius: 30px;
	}

	/* Breadcrumb */
	.rank-math-breadcrumb p { margin-bottom:0; }
	.breadcrumb { line-height: 18px; }

	/* Image Single Post */
	.image-single-post {
	aspect-ratio: 16/9;
	object-fit: cover;
}

	/* Comment */
	div.comments-area {
		padding: 20px !important;
		border: 1px solid var(--base);
	}
	.comment-content {
		padding: 0;
		border: none;
		margin: 8px 0;
		padding: 10px 0!Important;
		border-radius: 8px;
	}
	.comment-content p {
		margin-bottom: 10px;
			line-height: 21px;
	}
	.comment-list .reply a {
		border-radius: 20px;
		padding: 2px 10px;
		border: 1px solid #f1f1f1;
	}
	.comment-list article {
		border: none;
		padding: 0!important;
		margin: 0!important;
	}
	.comment-list li.depth-1 {
		border: 1px solid #f1f1f1!important;
		padding: 20px!important;
		border-radius: 8px!important;
	}
	.comment .children {
		padding-left: 30px;
		margin: 20px 0 20px 20px!important;
		border-left: 0 dotted rgba(0,0,0,.09)!important;
		border-bottom: none !important;
	}
	.comment-respond {
		margin-top: 40px;
	}
	input[type=email], 
	input[type=number], 
	input[type=password], 
	input[type=search], 
	input[type=tel],
	input[type=text], 
	input[type=url], 
	select, textarea {
		width: 100%;
		border-radius: 5px;
	}
	.comments-area .form-submit input.submit {
		border-radius: 5px!important;
		background: var(--accent)!important;
		padding: 10px 35px!important;
	}
	.comment-form-cookies-consent {
		font-size: 12px;
		line-height: 18px;
	}

	.comment-list li.depth-1 {
		border-bottom: 0px solid #f1f1f1;
		margin-bottom: 20px;
	}
	h3.comments-title {
		font-size: 18px;
	}
	h3#reply-title.comment-reply-title { 
		margin-bottom: 30px;
		display: flex;
		align-items: center;
		text-transform: uppercase;
		font-size: 20px;
	}
	.comment-meta .avatar {
		padding-top: 1px;
	}

	.comments-area footer.comment-meta img.avatar {
		display: none;
	}

	.comment-content {
		margin: 10px 0;
		border: 0px solid #f1f1f1;
	}

	/* Author */
	.avatar {
		margin-right: 20px;
		border-radius: 50px;
	}

/* Sidebar */
.inside-right-sidebar {
    position: sticky;
    top: 80px;
}
h2.widget-title, h3#reply-title.comment-reply-title { 
    margin-bottom: 30px;
    display: flex;
    align-items: center;
	text-transform: uppercase;
}
h2.widget-title:after, h3#reply-title.comment-reply-title:after {
    content: " ";
    margin-left: 10px;
    flex: 1 1 auto;
    border-top: 2px solid var(--accent);
    background: #f1f1f1;
}
.list_custom {
    list-style: none;
    counter-reset: my-awesome-counter;
}
.list_custom .gb-query-loop-item {
    counter-increment: my-awesome-counter;
    position: relative;
}
.list_custom .gb-query-loop-item::before {
    content: "#" counter(my-awesome-counter) "";
    position: absolute;
    left: 0;
    font-size: 30px;
    font-weight: bold;
    color: var(--contrast-3);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.list_custom .generate-columns.grid-50 {
    width: 100%!important;
    margin: 0;
}

/***************/

/* Box Shadow*/
.box-shadow {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Box Shadow 2*/
.shadow {
    box-shadow: 0px -10px 20px rgba(0, 0, 0, 0.08)
}

/* Limit Title*/
.limit-title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Limit */
.limit {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.limit_three {
     -webkit-line-clamp: 3;
}
.limit_two {
    -webkit-line-clamp: 2;
}

/* Hidden Text Decoration */
a {
	text-decoration: none;
}

/* owl caraousel styling */
.owl-carousel {
    visibility: hidden;
}
.owl-carousel.owl-loaded {
    visibility: visible;
}
.owl-carousel .owl-stage::after {
    display: none;
}

    /* Slide Nav */
    .owl-dots {
        text-align: center;
        margin: 10px auto 20px;
        position: static;
        bottom: 20px;
        right: 20px;
    }
    .owl-dots button,
    .owl-dot {
        width: 14px;
        height: 8px;
        opacity: 0.3;
        border-radius: 100px;
        margin: 0 2px;
        background: var(--contrast-3) !important;
    }
    .owl-dots button.active,
    .owl-dot.active {
        opacity: 0.75;
        width: 30px;
		background: var(--accent) !important;
    }
    .owl-stage {
        display: flex;       
    }

    /* Owl Nav */
    .owl-nav button {
        position: absolute;
        top: 38%;
        width: 35px;
        opacity: 1;
        height: 35px;
        transition: all .2s ease-in-out;
        background-repeat: no-repeat;
        background-position: center center!important;
    }
    .owl-nav button:hover { opacity:1; }
    .owl-nav button span {
        display: none;
    }
    .owl-nav button.owl-prev {
        left: -20px;
        background-image: url(images/arrow-left.svg) !important;
    }
    .owl-nav button.owl-next {
        right: -20px;
        background-image: url(images/arrow-right.svg) !important;
    }

    .owl-dots {} 
    .owl-carousel .owl-stage::after {
        display: none!important;
    }
    .latest_post .owl-dots {
        position: absolute;
        margin: 0;
        top: auto;
        bottom: 20px;
    }