@import url('https://fonts.googleapis.com/css2?family=Tilt+Prism&family=Ubuntu+Mono:wght@400;700&display=swap');

body {
	font-family: 'Ubuntu Mono', monospace;
	background:#000; font-weight:400; color:#f9ebeb;
}
a {
	color:#a7ffba;
}
a:hover {
	color:#4fdf6e;
}
img {
	max-width:100%;
}
.border-danger {
	border-color:#04791f !important;
}
.boxshadow {
	box-shadow: 2px 2px 6px #04791f, -2px -2px 6px #04791f;
}
header .container {
	background:url(img/bg-head.png) 50% 50% repeat;
	background-color:#000;
}
header p {
	color:#7f7f7f; font-weight:700; font-size:16px; padding-bottom:10px;
}
.onclick {
	cursor:pointer;
}
.headtitle {
	font-family: 'Tilt Prism', sans-serif; font-weight:400; font-size:80px; line-height:1.2; text-transform:capitalize;
	color:#04791f;
}
#menu {
	list-style:none; margin:0;
	display: flex; justify-content: center;
	background: linear-gradient(to bottom,  #00530b 0%,#04791f 100%);
}
#menu li {
	padding:0; border-right:1px solid rgba(0,0,0,0.3);
}
#menu li:first-child {
	border-left:1px solid rgba(0,0,0,0.3);
}
#menu li a {
	display:block; padding:10px 20px 8px; text-decoration:none; color:#FFF; font-weight:bold;
	text-transform:uppercase;
}
#menu li a:hover {
	color:rgba(255,255,255,0.6); text-decoration:none;
}

#paitotable {
    background: #000 none repeat scroll 0 0;
    margin: 10px;
    border-collapse: collapse;
    width: 100%;
	margin:0;
    color: #000;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}
#paitotable td {
    border: 1px solid #333;
    text-align: center;
    padding: 2px 0;
    width: 20px;
    font-size: 14px;
    color:#FFF;
    font-weight:400;
}
#paitotable tr:nth-last-child(5n+1) {
    background: #464542;
}
#paitotable .disabled {
    background: #464542; color:#bdbdbd;
}
#paitotable td.nxpx {
    color: #bdbdbd; background-color:#464542;
}
#paitotable thead td.nxpx {
	color:#000;
}
#floatmenu {
    padding:10px 5px; z-index: 999999;
}
#paitocolor p {
    clear: both;
}
#paitocolor .color {
    float: left;
    height: 28px;
    position: relative;
    width: 28px;
    cursor:pointer;
    border-radius: 18px;
    border:2px solid #DDD;
    margin:0 2px;
}
#paitocolor .color.eraser {
    background: none repeat scroll 0 0 #000;
}
#paitocolor .color.Blue {
    background: #43a2ff;
}
#paitocolor .color.Aqua {
    background: #00F5FF;
}
#paitocolor .color.Teal {
	background: #43CD80;
}
#paitocolor .color.Lime {
	background: #01FF70;
}
#paitocolor .color.Yellow {
	background: #FFDC00;
}
#paitocolor .color.Orange {
	background: #FF851B;
}
#paitocolor .color.Red {
	background: #FF4136;
}
#paitocolor .color.Pink {
	background: #F012BE;
}
#paitocolor .color.Purple {
	background: #A23BEC;
}
#paitocolor .color.Silver {
	background: #a9a9a9;
}
#paitocolor .selected {
    box-shadow: inset 0px 0px 0px 2px #000;
    border-color:#007bff;
}
#paitocontainer {
    font-weight: bold;
    position: relative;
}
#paitocontainer table {
    position: relative;
    z-index: 10;
}
#paitotable thead td {
    text-transform: uppercase;
    font-weight: bold;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    border: 1px solid #333;
	background: linear-gradient(to bottom,  #00530b 0%,#04791f 100%);
	color:#FFF; font-size:16px;
}
#clear {
    margin-top:2px; margin-left: 10px;
}
#floatmenu.fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999999;
    background: #000;
}
.floatmenuwrap {
    position: relative;
}
body.hasftop #floatmenu.fixed {
    top:90px;
}
.rek { background-color:#0caacb; color: white !important; } 
.rke { background-color:#609c33; color: white !important; }
.rko { background-color:#0069b0; color: white !important; } 
.ras { background-color:#06dd96; color: white !important; }
.rd { background-color:#cb5b0c !important; color: white !important; }
.copyright {
	color:#FFF; margin-bottom:30px; font-size:14px;
}

@media (min-width: 990px){
	.container {
		max-width: 990px !important;
	}
}
@media (max-width:767px){
	body > .container {
		width:auto; margin-left:10px; margin-right:10px;
	}
	#menu {
		display: block; margin:0; padding:0;
	}
	#menu li {
		display:block;
		border-bottom:1px solid #04791f;
	}
	#menu li a {
		display:block; text-align:center;
	}
	.headtitle {
		font-size:40px;
	}
	header p {
		font-size:14px;
	}
	header {
	    padding-left: 10px;
		padding-right: 10px;
	}
}
@media (max-width:640px){
	body { font-size:12px; line-height:1.4; }
    #paitotable td { font-size: 10px;font-weight: 400; padding:0; }
    #paitocolor .color { height: 25px; width: 25px; border-radius: 13px;
        border-width:2px; margin:0 1px; }
    #clear { margin-top:0; margin-left: 5px; font-size:12px; }
	.form-control-sm { font-size:12px; }
	header p { font-size:12px; }
}