/*
	Theme Name: Risky Baja Ringan
	Theme URI: https://riskybajaringan.com
	Description: Custom WP Theme for Risky Baja Ringan
	Version: 1.08.2024
	Author: @harmonicnoise
	Author URI: http://www.deusain.com
	Tags: tukang baja ringan
*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:400 16px/1.8 'Inter', -apple-system,BlinkMacSystemFont,segoe ui,helvetica neue,sans-serif;
	background-color: #fff;
	color: #000;
	width: 100%;
	position: relative;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
blockquote {
	background-color: #fff;
    color: #000;
    padding: 20px 20px 2px 20px;
    margin: 0;
    font-size: 16px;
    display: block;
	font-style: italic;
	border-left: 4px solid #1b2e4f;
}
img {
	max-width:100%;
	height: auto;
}
a {
	color: #bf1e2e;
	text-decoration:none;
	transition: .3s ease-in-out;
	-moz-transition: .3s ease-in-out;
	-webkit-transition: .3s ease-in-out;
}
a:hover {
	color: #000;
	transition: .3s ease-in-out;
	-moz-transition: .3s ease-in-out;
	-webkit-transition: .3s ease-in-out;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #000;
}

strong {
	font-weight: 700;
}
h1 {font-weight: 700; color: #000; font-size: 50px; font-family: 'Inter';}
h2 {font-weight: 700; color: #000; font-size: 40px; font-family: 'Inter';}
h3 {font-weight: 700; color: #000; font-size: 30px; font-family: 'Inter';}
h4 {font-weight: 600; color: #000; font-size: 24px;}
h5 {font-weight: 600; color: #000; font-size: 20px;}
h6 {font-weight: 600; color: #000; font-size: 16px;}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	width:100%;
	margin:0 auto;
	position:relative;
	overflow: hidden;
	background-color: #fff;
}

/* header */
.header {
	position: relative;
	width: 100%;
	padding: 0;
	margin: 0 auto;
	top: 0;
	left: 0;
	z-index: 999;
	height: 100px;
    background-color: #fff;
    -webkit-transition: height 0.2s;
    -moz-transition: height 0.2s;
    -ms-transition: height 0.2s;
    -o-transition: height 0.2s;
    transition: height 0.2s;
    box-shadow: 0 0 10px rgba(0,0,0, .1);
}
.header .container {
	width: 100%;
	margin: 0 auto;
	height: 100px;
  	position: relative;
  	max-width: 1400px;
  	display: flex;
  	flex-wrap: nowrap;
  	align-items: center;
  	justify-content: space-between;
}
.header .container .logo {
    position: relative;
    width: 90px;
}
.header .container .logo a {
	line-height: 0;
}
.header .container .logo a img {
	width: 100%;
    height: auto;
    display: block;
}
.header.scrolled {
	position: fixed;
	background-color: #fff;
	top: 0;
	-webkit-transition: height 0.2s;
    -moz-transition: height 0.2s;
    -ms-transition: height 0.2s;
    -o-transition: height 0.2s;
    transition: height 0.2s;
}

.right-area {
	position: relative;
}
.right-area ul {
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
}
.right-area ul li {
	display: inline-block;
	margin-left: 20px;
	position: relative;
}
.right-area ul li a {
	font-size: 16px;
	color: #bf1e2e;
	border: 2px solid #bf1e2e;
	padding: 5px 15px;
	border-radius: 70px;
	display: block;
}
.right-area ul li a span {
	margin-left: 10px;
}
.right-area ul li:last-child a {
	font-size: 16px;
	color: #fff;
	border: 2px solid #089738;
	background-color: #089738;
	padding: 5px 15px;
	border-radius: 70px;
	display: block;
}

.nav {
	position: relative;
}
.nav ul {
	-webkit-font-smoothing:antialiased;
	padding: 0;
	margin: 0;
	list-style: none;
	text-align: center;
}
.nav ul li {
	display: inline-block;
	margin: 0;
	position: relative;
	line-height: 40px;
	margin-right: 30px;
}
.nav ul li a {
	display: block;
    font-size: 18px;
	font-weight: 500;
	color: rgba(0,0,0, .8);
	position: relative;
}
.nav ul li a:hover {
	color: #bf1e2e;
}
.nav ul li.current_page_item a {
	color: #000;
}
.nav ul li.current_page_item a:hover {
	color: #bf1e2e;
}
/* sub menu 1 */
.nav ul li ul.sub-menu {
	display: none;
	position: absolute;
}
.nav ul li:hover ul.sub-menu {
	display: block;
    left: 0;
    z-index: 9;
    border-top: 0;
    padding: 15px 20px;
    width: 250px;
    background-color: #000;
}

.nav ul li ul.sub-menu li {
	display: block;
	margin: 0;
	border-bottom: 0;
	position: relative;
	border-bottom: 1px solid rgba(0,0,0, .2);
}
.nav ul li ul.sub-menu li a {
	display: block;
	color: #fff !important;
	font-size: 13px;
	padding: 20px 0;
	border-top: 0;
	font-weight: 500;
	line-height: 1;
	text-align: left;
	position: relative;
}
.nav ul li ul.sub-menu li:hover a {
	color: #999 !important;
}
.nav ul li ul.sub-menu li.menu-item-has-children a {
	color: #eee;
	font-size: 18px;
}
.nav ul li ul.sub-menu li:last-child {
	border: 0;
}
.nav ul li ul.sub-menu li:last-child a {
	padding-bottom: 0;
}

.image-slide {
	line-height: 0;
}

.layanan .elementor-image-box-title {margin: 10px 0 20px 0;}

.home-artikel {
	position: relative;
}
.home-artikel ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.home-artikel ul li {
	width: 30%;
}
.home-artikel ul li .thumb {
	border-radius: 10px;
	overflow: hidden;
}
.home-artikel ul li a h4 {
	margin: 7px 0 0 0;
	line-height: 1.3;
	font-size: 21px;
	text-align: center;
}

.gallery-item {
	padding: 10px !important;
	margin: 0 !important;
	line-height: 0 !important;
}
.gallery-item img {
	border: 0 !important;
}

.copyright {
	width: 100%;
	margin: 0 auto;
	padding: 25px 0;
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	overflow: hidden;
	background-color: #000;
	position: relative;
	text-align: center;
}
.copyright .container {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	font-size: 14px;
	overflow: hidden;
	position: relative;
	font-weight: 400;
	color: rgba(255,255,255, .7);
	z-index: 2;
	line-height: 1.4;
}

.a2a_svg {
	border-radius: 50px !important;
	padding: 4px !important;
}

#big-title {
	position: relative;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	background-color: #bf1e2e;
}
#big-title .container {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	padding: 50px 20px;
	position: relative;
	text-align: center;
}
#big-title .container h1 {
    font-size: 35px;
    line-height: 1.2;
    margin: 0;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}
#big-title img {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

#main-wrapper {
	position: relative;
	width: 100%;
	margin: 0 auto;
}
#main-wrapper .container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 70px 0;
	position: relative;
	overflow: hidden;
	color: #000;
}

#main-wrapper .container.grid {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#main-wrapper .container.grid article {
	width: 30%;
	margin-bottom: 40px;
	text-align: center;
}
#main-wrapper .container.grid article .post-thumb {
	border-radius: 10px;
	overflow: hidden;
}
#main-wrapper .container.grid article .post-wrap h2 {
	margin: 5px 0 0 0;
	line-height: 1.3;
	font-size: 21px;
}

#main-wrapper .container .content {
	width: 100%;
	max-width: 800px;
	position: relative;
	margin: 0 auto;
}

#main-wrapper .container .content article.full {
	width: 100%;
	border-bottom: 0;
	padding-bottom: 0;
	margin-bottom: 0;
	padding: 0;
}
#main-wrapper .container .content article.full img {
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 10px;
}
#main-wrapper .container .content article.full .body-content {
	width: 100%;
}
#main-wrapper .container .content article.full .body-content.buku {
	float: right;
	width: 55%;
}
#main-wrapper .container .content article.full .body-content h1 {
	float: left;
	width: 100%;
	font-size: 38px;
	font-weight: 600;
	line-height: 1.3;
	margin-top: 0;
	margin-bottom: 20px;
}
#main-wrapper .container .content article.full .body-content h2 {
	font-size: 24px;
	line-height: 1.4;
}
#main-wrapper .container .content article.full .body-content h3 {
	font-size: 20px;
	line-height: 1.4;
}
#main-wrapper .container .content article.full .body-content h5 {
	margin: -20px 0 20px 0 !important;
	line-height: 1.3;
}
#main-wrapper .container .content article.full .body-content p.tag-cat {
	font-size: 13px;
	margin: 0 0 3px 0;
}
#main-wrapper .container .content article.full .body-content .harga-sewa {
	font-weight: 700;
}
#main-wrapper .container .content article.full .body-content p {
	font-size: 17px;
	line-height: 1.6;
	padding: 5px 0;
}
#main-wrapper .container .content article.full .body-content a.cta {
	background-color: #45b33e;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	padding: 10px 30px;
}
#main-wrapper .container .content article.full .body-content a.cta i {
	margin-right: 10px;
}

#main-wrapper .container .content article.full .body-content ul li {
	line-height: 1.6;
}

.sidebar {
	float: left;
	width: 20%;
}
.sidebar .sidebar-widget h3 {
	margin: 0;
	line-height: 1.2;
	padding-bottom: 12px;
	margin-bottom: 15px;
	border-bottom: 2px solid #000;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 24px;
}
.sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
	margin-bottom: 40px;
}
.sidebar ul li {
	position: relative;
}
.sidebar ul li a {
	display: block;
	padding: 5px 0;
	font-size: 18px;
}
.sidebar ul li.current-menu-item a {
	color: #f00;
}

.pagination {
	float: left;
	width: 100%;
	margin-top: 30px;
	padding-top: 30px;
	text-align: center;
}
.pagination .page-numbers {
	background-color: #fff;
	color: #222;
	padding: 5px 10px;
	margin: 0 5px;
	border-radius: 0;
}
.pagination .page-numbers.current {
	background-color: #1b2e4f;
	color: #fff;
}
.pagination .page-numbers:hover {
	background-color: #1b2e4f;
	color: #fff;
}

#related {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 50px 0;
    background-color:#f5f5f5;
}
#related h3 {
    color: #000;font-size: 24px; line-height: 1.3; font-weight: 600; text-align: center; margin: 0;
}
#related ul {
	margin: 0 auto;
	margin-top: 30px;
	padding: 0;
	list-style: none;
	width: 100%;
	max-width: 1400px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#related ul li {
    width: 30%;
    text-align: center;
}
#related ul li a {
	display: block;
	line-height: 0;
}
#related ul li h4 {
	margin: 10px 0 0 0;
	line-height: 1.3;
	font-size: 21px;
}
#related ul li h4 a {
	display: block;
	line-height: 1.3;
}
#related ul li a img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    line-height: 0;
}

.header #megamenu {
  position: relative;
  text-transform: uppercase;
  z-index: 9999;
  cursor: pointer;
  right: 20px;
  display: none;
}

#nav-toggle { cursor: pointer; padding: 0; }
#nav-toggle strong {font-size: 10px; line-height: 1; display: block; margin-top: 14px; font-weight: 500;}
#nav-toggle span {
  cursor: pointer;
  height: 3px;
  width: 30px;
  background:#bf1e2e;
  position: absolute;
  display: block;
  content: '';
}
#nav-toggle span:before {
  cursor: pointer;
  height: 3px;
  width: 30px;
  background:#bf1e2e;
  position: absolute;
  display: block;
  content: '';
}
#nav-toggle span:after {
  cursor: pointer;
  height: 3px;
  width: 30px;
  background:#bf1e2e;
  position: absolute;
  display: block;
  content: '';
}
#nav-toggle span:before {
  top: -7px; 
}
#nav-toggle span:after {
  bottom: -7px;
}

#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
  transition: all 500ms ease-in-out;
}
#nav-toggle.active span {
  background-color: transparent;
}
#nav-toggle.active span:before, #nav-toggle.active span:after {
  top: 0;
}
#nav-toggle.active span:before {
  transform: rotate(45deg);
}
#nav-toggle.active span:after {
  transform: rotate(-45deg);
}
#nav-toggle.active span:before, #nav-toggle.active span:after {
  background: #000;
}
.menu-dropdown {
  position: relative;
  width: 100%;
  background-color: #fff;
  z-index: 9;
  padding-left: 20px;
  padding-right: 20px;
  overflow: hidden;
}
.menu-dropdown ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.menu-dropdown ul li {
	border-bottom: 1px solid rgba(0,0,0, .2);
}
.menu-dropdown ul li a {
	padding: 8px 0;
	display: block;
	color: #000;
	font-size: 18px;
	font-weight: 500;
}
.menu-dropdown ul li a i {
	color: rgba(0,0,0, .7);
}

.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
}
.whatsapp a {
    color: #fff;
	width: 60px;
	height: 60px;
    padding: 0;
	text-align: center;
	line-height: 60px;
    background: #8d7842;
    border-radius: 100%;
	-moz-border-radius: 100%;
	-webkit-border-radius: 100%;
    display: block;
}
.whatsapp a img {
    vertical-align: middle;
    width: 32px;
    position: relative;
    padding: 0;
    top: 0;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
@media only screen and (max-width:1400px) {
	.header .container,
	.navbar .nav,
	#main-wrapper .container,
	#big-title,
	#related ul,
	.copyright .container,
	#foot .container {padding-left: 20px !important; padding-right: 20px !important;}
	.nav ul li a {font-size: 16px;}
}
@media only screen and (max-width:1024px) {
	html {padding-top: 0 !important;}
	.header {display: block; z-index: 99; top: 0; height: 80px;}
	.header .container {position: relative; padding: 0; height: 80px;}
	.header .container .logo {width: 80px;}
	.right-area {right: 0; position: relative; right: 50px;}
	.right-area ul li {margin-left: 10px;}
	.right-area ul li a {border: 0; background-color: transparent; padding: 0;}
	.right-area ul li a span {display: none;}
	.nav {display: none;}
	.header.scrolled {transition: none;}
	
	.header #megamenu {display: block !important; top: 35px; z-index: 99; position: absolute;}
	.header.scrolled #megamenu {display: block !important; top: 35px; z-index: 99;}
  	
  	.menu-dropdown {display: block; top: 0; padding-bottom: 20px; top: 0;}
  	.header.scrolled .menu-dropdown {display: block; top: 0;}
}
@media only screen and (max-width:768px) {
	html {padding-top: 0 !important;}

	h1 {font-size: 36px;}
	h2 {font-size: 30px;}
	h3 {font-size: 24px;}
	h4 {font-size: 18px;}
	h5 {font-size: 14px;}
	h6 {font-size: 12px;}

	.home-artikel ul {display: block;}
	.home-artikel ul li {width: 100%; padding: 10px 0;}

	.gallery-item {width: 50% !important; padding: 5px !important;}

	#big-title {padding: 50px 20px;}
	#big-title .container {padding: 0;}
	#big-title .container h1 {font-size: 27px; line-height: 1.2;}

	#main-wrapper {margin-top: 0;}
	#main-wrapper .container {padding: 50px 0;}
	#main-wrapper .container.grid {display: block;}
	#main-wrapper .container.grid article {width: 100%;margin-bottom: 30px;}
	#main-wrapper .container.grid article .post-wrap p {font-size: 14px;}
	#main-wrapper .container .content {width: 100%; float: none;}
	#main-wrapper .container .content article.full img {width: 100%;}
	#main-wrapper .container .content article.full .body-content {width: 100%;}
	#main-wrapper .container .content article.full .body-content h1 {font-size: 24px;}
	#main-wrapper .container .content article.full .body-content h2 {font-size: 21px;}
	#main-wrapper .container .content article.full .body-content p {font-size: 15px;}
	#main-wrapper .container .content article.full .body-content ul li {font-size: 15px;}

	#related ul {margin-top: 10px; display: block;}
	#related ul li {width: 100%; padding: 10px 0;}
	#related ul li a {line-height: 0;}
	#related ul li h4 {margin: 0;}
	#related ul li h4 a {line-height: 1.3;}

	.copyright {line-height: 1.3; color: rgba(0,0,0,.8); padding: 20px 0;}
	.copyright .container {font-size: 14px;}
}
@media only screen and (max-width:640px) {
}
@media only screen and (max-width:480px) {
}
/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#00a1e9;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#00a1e9;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#00a1e9;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border: 0;
	max-width:100%;
	padding:0;
	font-size: 13px;
	font-style: italic;
}
.wp-block-image figcaption {
	position: relative;
	top: -10px;
	line-height: 1.3;
}
.wp-caption.alignnone {
	margin:0 0 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:100%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
p.wp-caption-text {
	font-size: 13px !important;
	line-height: 1.2 !important;
	font-style: italic;
	position: relative;
	padding: 10px 20px !important;
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background-color: #eee;
}
::-webkit-scrollbar-thumb {
  background-color: #aaa;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #000;
}
