/*
 Theme Name:   GP Newsprime - GeneratePress child
 Theme URI:    https://addpren.com
 Description:  GeneratePress Custom Theme 
 Author:       Kang Nurdin
 Author URI:   https://addpren.com
 Template:     generatepress
 Version:      1.8.0
*/

.img-ratio {
	aspect-ratio: 16/9;
	object-fit: cover;
	width: 100%;
}

a {text-decoration: none;}

/* Search Modal */
span.gp-icon.icon-search {
	font-size: 20px;
	margin-top: 5px;
	color: var(--contrast-2);
}
.search-modal-form {
    background: transparent!important;
}
.gp-modal__container input.search-field {
    margin: 0!important;
    border: none !important;
}
.search-modal-fields {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

/* Sosmed Header */

.sosmed {
	font-size: 20px !important;
	margin: 0 ;
}

.current_date {
	margin: 0 ;
}

/* Toggle Button */
.slideout-navigation .main-nav, .slideout-navigation .slideout-widget:not(:last-child) {
    margin-bottom: 15px !important;
}

/* Sticky Top */
header#masthead.site-header {
  position: sticky !important;
	top: 0;
	z-index: 1;
}

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

    /* Owl Nav */
    .owl-nav button {
		border: solid 5px rgba(33, 33, 33, 0.19) !important;
		border-radius: 50%;
        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;
    }
    .top_post .owl-dots {
        position: absolute;
        margin: 0;
        top: auto;
        bottom: 20px;
    }

/* Site Content Padding */
div#content.site-content {
	padding-top: 40px;
	padding-bottom: 40px;
}

/* Single Post*/
	/* Breadcrumb */
	.rank-math-breadcrumb p { 
		font-size: 13px !important;
		margin-bottom:10px; 
		line-height: 1.5em;
	}
	.breadcrumb {line-height: 1.5em;}

	/* Post Views & reading-time */
	span#post-views.post-views, .reading-time {
		font-size: 14px !important;
	}

	/* Tag List */
	.taxonomy-post_tag {
		display: flex;
		gap: 5px;
		flex-wrap: wrap;
	}
	.taxonomy-post_tag a {
		color: #fff;
		position: relative;
		background: var(--accent);
		padding: 2px 13px;
		font-size: 14px;
		line-height: 1.3em;
		border-radius: 50px;
		display: inline-block;
		transition: all .3s ease-in-out;
	}
	.taxonomy-post_tag a:hover {
		background: var(--contrast-2);
	}
	.taxonomy-post_tag a:before {
		content: "#";
	}
	.wp-block-post-terms__separator {
		display: none;
	}

	/* Comment */
	.comments-area {
			border: 0px solid #f1f1f1;
			padding: 0px!important;
			border-radius: 5px;
			margin-top: 25px;
			font-size: 14px;
			background: none!important;
		}

	.comment-content {
		padding: 0;
		border: none;
		margin: 8px 0 0 60px;
		padding: 10px 0!Important;
		border-radius: 5px;
	}
	.comment-content p {
		margin-bottom: 10px;
		line-height: 21px;
	}
	.comment-list .reply a {
		border-radius: 10px;
		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: 5px!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 {
			border: 1px solid #f1f1f1!important;
			border-radius: 5px!important;
			padding: 10px 15px!important;
			margin: 0 0 10px !important;
			width: 100%;
		}
	.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;
		}
		.comment-meta .avatar {
			padding-top: 1px;
		}
		.comments-area footer.comment-meta {
			display: block;
			grid-template-columns: 30px 1fr;
			grid-gap: 10px;
		}
		.comments-area footer.comment-meta img.avatar {
			display: none;
		}
		.entry-meta.comment-metadata { margin-top:-1.5px; }
		.entry-meta.comment-metadata a {
			color: #000;
			opacity: 0.5;
		}
		.comment-content {
			margin: 10px 0;
			border: 0px solid #f1f1f1;
		}

/* Archive */
	h1.page-title  {
	border-left: 5px solid var(--accent) !important;
	padding-left: 7px;
	font-size: 21px;
	display: inline-flex;
}
    /* Categories BG Color */
	.cat-one {
		display: flex;
		gap: 5px;
		padding: 0;
		margin-left: 0;
		flex-wrap: wrap;
		margin-bottom: 5px;
	}
	.cat-one  span,
	.cat-one  span a {
		padding: 0px 5px;
		line-height: 20px;
		border-radius: 3px;
		background: var(--accent);
		color: var(--base-3);
		display: inline-block;
		transition: all .3s ease-in-out;
	}

	/* masonry-load-more */
		.masonry-load-more {
			display: flex;
			justify-content: center;
			margin-top: 20px;
		}
		.masonry-load-more a {
			border-radius: 5px;
			background-color: var(--accent);
		}

		.more-link:before {
			height: 30px;
			width: 30px;
			content: " ";
			background: #fff;
		}
		.more-link {
			position: absolute;
			top: 0;
			right: 0;
		}
		.more-link a {
			padding: 0 15px !important;
			border-radius: 50px;
			font-size: 12px !important;
			background: #fff !important;
			color: var(--accent) !important;
			border: 1px solid var(--accent);
			line-height: 13px;
			display: flex !important;
			align-items: center;
		}

	/* Page Pagination */
	.paging-navigation {
		margin: 0;
		background: none!important;
		text-align: center;
		font-size: 14px;
		padding: 10px 0px 50px 0px !important;
	}
	.paging-navigation span,
	.paging-navigation a {
		border: 1px solid #ccc;
		padding: 5px 10px!important;
		color: #333333 !important;
		border-radius: 4px;
	}
	.paging-navigation span.current {
		background: #fff;
		color: #fff!important;
		background: var(--contrast-2);
		font-weight: normal!important;
	}
	a.prev,
    a.next,
	a.prev span,
	a.next span{
		display: none;
	}

/* Sidebar */
.inside-right-sidebar {
    position: sticky;
    top: 80px;
}

/* List Custom */
.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;
    top: 10px;
    left: 25px;
    font-size: 40px;
    font-weight: bold;
	font-style: italic;
    color: #DDDDDD;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.list_custom .generate-columns.grid-50 {
    width: 100%!important;
    margin: 0;
}
.list_custom p.gb-headline-text {
    min-height: 50px;
}

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

/* Profile Builder Login Register */
input#register.submit.button, input#wppb-submit.button.button-primary {
    background: var(--accent) !important;
    color: #fff;
    border: 1px solid transparent;
    cursor: pointer;
    -webkit-appearance: button;
    padding: 10px 20px;
	border-radius: 5px;
}

/* Grid Container */
.container.grid-container {
    width: auto;
}