@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;1,700&display=swap');

body {
	font-family: 'Lato', sans-serif;
	background:#212121; font-weight:400;
}
a {
	color:#c13b02; text-decoration:none;
}
a:hover {
	color:#bd6d4b; text-decoration:underline;
}
img {
	max-width:100%;
}
.border-danger {
	border-color:#a50000 !important;
}
.boxshadow {
	box-shadow: 2px 2px 6px #a50000, -2px -2px 6px #a50000;
}
header .container {
	background:url(img/bg-head.png) 50% 50% repeat;
	background-color:#000;
}
header p {
	color:#2a2a2a; font-weight:700; font-size:16px; padding-top:10px;
}
.onclick {
	cursor:pointer;
}
#menu-parent {
	border:2px solid rgba(0,0,0,0.4); overflow:hidden;
	background:#c13b02;
}
#menu {
	list-style:none; margin:0;
	display: flex; justify-content: center;
}
#menu li {
	padding:0; border-right:1px solid rgba(0,0,0,0.3);
	background: linear-gradient(135deg,  #c13b02 0%,#bd6d4b 50%,#c13b02 51%,#c13b02 100%);
}
#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; font-size:14px;
	transition: all 0.5s;
}
#menu li a:hover {
	color:rgba(0,0,0,0.8); text-decoration:none;
	background:rgba(255,255,255,0.6);
}

#paitotable {
    background: #fff 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 {
    font-size: 14px;
    border: 1px solid #333;
    text-align: center;
    padding: 2px 0;
    width: 20px;
    color:#000;
    font-weight:400;
	font-weight:600;
}
#paitotable tr:nth-last-child(5n+1) {
    background: #e5e5e5;
}
#paitotable .disabled {
    background: #dddddd; color:#bdbdbd;
}
#paitotable td.nxpx {
    color: #c7c7c7; background-color:#FFF;
}
#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: 5px;
    border:2px solid #bfbfbf;
    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 {
	margin-top:10px;
}
#paitotable thead td {
    text-transform: uppercase;
    font-weight: bold;
    padding-top: 5px !important;
    padding-bottom: 7px !important;
    border: 1px solid #333;
	background: linear-gradient(135deg,  #c13b02 0%,#bd6d4b 50%,#c13b02 51%,#c13b02 100%);
	text-shadow:0 3px 3px #000;
	color:#FFF;
	font-size:16px;
}
#clear {
    margin-top:2px; margin-left: 10px; font-size:11px;
}
#floatmenu.fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999999;
    background: #FFF;
}
.floatmenuwrap {
    position: relative;
}
.form-select-sm {
	font-size:12px; padding:3px 28px 3px 3px;
}
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; }
#contents h1 {
	font-size:32px;
}
#contents h2 {
	font-size:26px;
}
#contents h3 {
	font-size:22px;
}
.copyright {
	color:#FFF; margin-bottom:30px; font-size:14px;
}
.copyright a {
	color:#FFF;
}
.copyright a:hover {
	text-decoration:underline;
}

@media (min-width: 1100px){
	.container {
		max-width: 1100px !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 rgba(0,0,0,0.3);
	}
	#menu li a {
		display:block; text-align:center; font-size:12px; padding-top:9px; padding-bottom:9px;
	}
	.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; }
	#paitotable thead td { font-size:10px; }
    #clear { margin-top:0; margin-left: 5px; font-size:12px; }
	.form-control-sm { font-size:12px; }
	header p { font-size:12px; }
	#contents h1 { font-size:22px; }
	#contents h2 { font-size:18px; }
	#contents h3 { font-size:16px; }
}