:root {
	--bg1: #000c36;
	--bg2: #049ed6;
	--bg3: #d9b800;
	--bg4: #f7c80a;
	--txt-color: #ffffff;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Barlow", sans-serif;
	color: var(--txt-color);
}

body {
	background-color: var(--bg1);
}

.header {
	background-color: var(--bg2);
	margin-bottom: 60px;
	border-bottom: 3px solid var(--bg3);
}

.header-left, .header-right {
	display: flex;
	min-height: 60px;
	align-items: center;
}

.header-right {
	justify-content: right;
}


.header-left a, .header-right a {
	display: block;
}

.logo {
	width: 250px;
	height: auto;
}

.cta-btn {
	padding: 10px 15px;
	min-width: 150px;
	border-radius: 50px;
	text-align: center;
	font-weight: 600;
}

#btnTop1 {
	background-color: var(--bg4);
    color: var(--bg1);
	margin-right: 10px;
}

#btnTop2 {
	background-color: var(--bg4);
	color: var(--bg1);
}

.inner-header {
	padding: 20px;
}

.market-grid .col-4 {
	padding: 15px;
}

.grid {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 200px;
	background-color: var(--bg2);
	border-radius: 10px;
	padding: 0px;
	border: 5px solid var(--bg2);
	transition: 0.3s;
	background-repeat: no-repeat;
	background-position: right;
	background-size: contain;
}

.grid:hover {
	border: 5px solid #2f5fd8;
}

.grid-market-name .line {
	display: block;
	height: 1px;
	background-color: var(--txt-color);
	width: 90%;
}

.grid-market-name h1 {
	margin-bottom: 17px;
	text-transform: uppercase;
	font-size: 20px;
}

.grid-date-details {
	margin-top: 60px;
}

.grid-date-details h3 {
	font-weight: 600;
	font-size: 17px;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 1px 1px 0px rgba(0,0,0,0.6);
}

.market-op {
	background-color: #c9c1c1e5;
	padding: 8px 6px;
	border-radius: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	top: 33px;
}

.market-op span {
	font-size: 12px;
	color: var(--bg2);
}

.market-op i {
	color: var(--bg2);
	margin-right: 3px;
}

.market-op .closed {
	margin-right: 10px;
}

.market-op .closed, .market-op .open {
	display: flex;
	justify-content: center;
	align-items: center;
}

.table-prediksi {
	border-radius: 10px;
	border: 2px solid #ffffff;
}

.grid-date-details a {
	background-color: var(--bg3);
	border-radius: 50px;
	padding: 9px 7px;
	margin-top: 15px;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 14px;
	width: 100%;
}

.grid-date-details a:hover {
	background-color: #1e56dc;
}

.container-detail {
	max-width: 1000px;
}

.table-content {
	padding: 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #ffffff;
}

.table-content p {
	color: var(--txt-color);
}

.table-header ~ .table-title > p {
	color: var(--bg4);
}

.table-footer h2 {
	color: var(--txt-color);
}

.table-title {
	background-color: var(--bg2);
}

.table-header {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.table-footer {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

.search {
	margin-bottom: 15px;
}

.search .col-12 {
	padding: 15px;
}

#noResults {
	display: none;
}

.search input {
	width: 100%;
	border-radius: 50px;
	padding: 10px;
	outline: none;
	color: var(--bg3);
	font-size: 1rem;
	text-align: center;
	text-transform: uppercase;
	border: 3px solid #a8a8a8;
}

.footer {
	margin-top: 30px;
	background-color: var(--bg2);
	padding: 20px;
	letter-spacing: 2px;
}

.footer p {
	text-align: center;
	font-size: 14px;
}