html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    /* padding-top: 1rem; */
	background: #000000;
    /* background-color: #f8f9fa; */
    /* max-width: 800px; */
    margin-top: -10px;
}

h2 { padding-top: 1rem; font-size: 3rem;}
h3, h4 { font-weight: 600;}

p {display: inline; color:#4f4d67; font-size: 0.8rem;}
small { color:#c5c5c5; font-size: 73%; }
/* small { color:#676672; font-size: 73%; } */

b { color:#bdc7ff; }

hr { 
	border-top: 1px dashed #cc3b3b;
	width: 102%;
}

#mbody {
    background-color: #161616;
	max-width: 800px;
	height: 100vh;
    padding-top: 1rem;
	position: relative;
}
.label_1 {display: block; margin: -5px 0px 0px 0px;}
.bkg_color_3 {background: crimson !important;}
.bkg_color_1 {background: rgb(68, 179, 95) !important;}
.bkg_color_2 {background: rgb(172, 151, 36) !important;}

.clr_alert {color: #f34d71; }
.clr_message {color: #debaff; }
.clr_good {color: #98fdb1; }

.lighttext { color:#fffacb; }

.dice {
    width: 44px;
    height: 44px;
    float: left;
    border: 1px solid white;
    margin: 5px 12px;
    text-align: center;
    padding-top: 8px;
    border-radius: 8px;
    background: #0000002e;
    font-size: 16px;
}

img { width: 100%; }


a:link, a:visited {
  color: white;
  text-decoration: none;
}

a:hover, a:active { color: green; }

.noma {margin-left: 0px; margin-right: 0px; justify-content: left !important; float:left;}
.dice_img {width:60px; margin-top:-12px}
.gameico_img {width:40px; height:40px; margin: 3px;}

.ora_line { margin-bottom: 50px; }
.ora_div {
    margin: -10px auto;
    width: 90%;
}
.ora_padding {
    padding: 10px !important;
    margin: 2px;
    background: #667dfc;
    border-radius: 4px;
    color: white; 
    width:32%;
    cursor: pointer;
    height: 8ex;
    word-wrap: break-word;
    max-width: 190px;
}

.bottom_div {
    /* margin-bottom:-19px; */
    /* margin-left:-15px; */
    /* background: #f8f9fa; */
    display: flex;
    position: fixed;
    bottom: 5.8em;
	width: 100%;
	justify-content: center;
    left: 0;
    right: 0;
}

.left_div {
	position: absolute;
	top: 0;
	left: 0;
	height: 80vh;
	/* width: 100%; */
	overflow: auto;
	display: block;
	padding-bottom: 4em;
	background-color: rgba(255, 255, 255, 0.596);
	border-radius: 6px;
}

.left_div .ora_padding {
	width: auto;
	height: 3em;
	background: #4e744e;
    line-height: 1.1rem;
}

.bottom_alt_div {
	position: absolute;
	bottom: 86px;
	left: 10px;
	right: 10px;
	overflow-y: auto;
	overflow-x: hidden;
	max-height: 54vh;
	display: block;
}

.bottom_alt_div .ora_padding {
	width: 100%;
	height: auto;
	min-height: 50px;
	background: #4e744e;
    line-height: 1.1rem;
	float: none;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 0.85rem;
	padding: 8px 4px;
	border-radius: 6px;
	transition: all 0.2s ease;
}

.container_row { 
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 8px;
	padding: 8px;
	width: 100%;
	max-width: none;
	min-width: auto;
}

.arrows { 
	margin-top: -60px;
	left: auto;
	position: absolute;
	cursor: pointer;
}

svg { width: 52px; height: 52px;}

.chart_padding {
    padding: 10px !important;
    margin: 2px;
    /* background: #cc3b3b; */
    border-radius: 4px;
    color: white; 
    max-width: 94%;
    min-width: 360px;
    height: 8ex;
}

.results_div {
    min-height: 190px;
    max-height: 360px;
    margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
    border-radius: 4px;
    overflow: auto;
    border: 1px dashed #cc3b3b;
}

.log_div {
	height: 60px; 
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 4px;
	overflow: auto;
	border: 1px dashed #cc3b3b;
	display: none;
}

.log_txtarea {
	width:80%; 
	height:56px; 
	resize: none; 
	background: transparent; 
	border: 0 none;
	margin-top: 1px;
	color: #f3f3f3;
	font-size: 1rem;
}

.log_txtarea:focus {
    outline: none;
}

.ta_btn {
	float: right;
	margin-right: 6px;
	margin-top: 11px;
}

.charts_div{
    margin-bottom:-10px;
    margin-left:-15px;
    background: #f8f9fa;
    display: none;
    position: fixed;
    bottom: 6em;
}
.moves_div {
    width: 100vw;
    height: 78vh;
}
.footer_div {
    bottom:5px;
    justify-content: center;
}

.circle_div {
    border-radius: 50%;
    width: 65px;
    height: 65px;
    text-align: center;
    font-size: x-large;
    font-weight: bold;
    margin-top: 8px;
    color: white;
	/*cursor: pointer;*/
}

.minisq_div {
	border-radius: 4px;
	width: 46px;
    height: 46px;
	margin: 2px;
	cursor: pointer;
}

.minicircle_div {
	border-radius: 50%;
	padding: 4px;
	width: 46px;
    height: 46px;
	margin: 2px;
	cursor: pointer;
}

.sqrounded { border-radius: 4px; }

#altcb { float: left; margin-left: 10px; }

#frame_ii {
	color: transparent; 
	width: 100%; 
	height: 100%; 
	border: dashed 1px #cc3b3b;
	margin: auto;
	display: block;
	max-width: 800px;
}

.no_border { border: 0px !important; padding: 2em 1em 1em; text-align: center;}
.no_padding { padding: 0px !important; }
.small_box { padding: 13px 5px 10px 5px !important; margin: 5px; }



.gold { background: #fff284 !important;}

.bottom_alt_div .ora_padding:hover {
	background: #5a857a;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.bottom_alt_div .ora_padding:active {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

._ptr { cursor: pointer; }
._ptr:hover {
	transform: scale(1.08);
	transition: 0.2s;
}
._ptr:active {
	background-color: #3e8e41;
	transform: translateY(3px);
	transition: 0.2s;
}

._acapo { clear: left; }

._indent { margin-left: 47px; }

._btn { width:50px; float:right; margin-top: -10px; margin-left: 14px; opacity: 80%; }

._ico { width:36px; margin: 3px; }

@media only screen and (min-width : 420px) {
	.left_div { height: 100% !important; }
	.container_row {
		grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	}
	.bottom_alt_div .ora_padding {
		font-size: 0.9rem;
		padding: 10px 6px;
	}
}

@media only screen and (min-width : 768px) {
	.container_row {
		grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
		gap: 10px;
	}
	.bottom_alt_div .ora_padding {
		font-size: 0.95rem;
		min-height: 55px;
	}
}

@media only screen and (min-width : 1024px) {
	.container_row {
		grid-template-columns: repeat(4, 1fr);
	}
}
