@charset "UTF-8";

html, body, div, span, h1, h2, p, ol, ul, li, table, tr, td, form, img{
	margin  : 0;
	border  : 0;
	padding : 0;
}

a{
	text-decoration: underline;
	font-weight: bold;
	outline-style: none;
}
a:link    { color: #184470; }
a:visited { color: #184470; }
a:hover   { color: #aa0070; }
a:active  { color: #aa0070; }

.nowrap {
	white-space: nowrap;
}
.disabledbutton{
	background-color : #d0d0d0 !important;
	color            : #eaeaea !important;
	text-shadow      : none !important;
	box-shadow       : none !important;
}

html{
	width: 100%;
}
body{
	background-color: #f6f8e8;
	overflow : auto;
}

#all{
	width: calc( 15px + 840px + 30px + 350px + 15px);
	margin: 0 auto;
	text-align: left;	
}

#upper{
	position: relative;	
	width: calc( 840px + 30px + 350px );
	height: calc( 840px + 5px + 140px );
	margin: 15px 15px 0;
	font-family: sans-serif;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;	
}
#upper > div{
	position: absolute;
	top: 0;
}

#left{
	left: 0;
	width: 840px;
	height: calc( 840px + 5px + 140px );
	font-weight: bold;
	text-align: center;
}
#left #thearea{
	width: 840px;
	height: calc( 840px + 5px + 140px);
}
#left #thearea *{
	position: absolute;
}

#right{
	right: 0;
	width: 350px;
	height: calc( 840px );
}
#right .island{
	background-color: #d2d3c4;
	border-radius: 7px;
	margin: 0 0 15px;
	padding: 10px 10px 5px;
	font-weight: bold;
	font-size: 22px;
	line-height: 100%;
}
#right .island .title{
	margin: 0 0 12px;
	text-align: center;
	font-family: serif;
	font-style: italic;	
	font-weight: normal;
	font-size: 100%;
	color: #80807a;
}
#right .island > table{
	border-collapse: collapse;
	border-radius: 5px;
	width: 100%;
	margin: 0 0 12px;
}
#right .island > table tr{
	background-color: #eff0e8;
}
#right .island > table tr:nth-child(2) td{
	border-width: 2px 0 0;
}
#right .island > table tr td{
	border-style: dotted;
	border-color: #d2d3c4;
	padding: 8px 8px;
	color: #555550;
}
#right .island > table tr td.left{
	text-align: left;
}
#right .island > table tr td.right{
	text-align: right;
}
#mainmenu{
	border-radius: 20px;
	width: 300px;
	height: 40px;
	margin: 0 auto 15px;
	text-align: center;
	line-height: 40px;
    font-size: 22px;
	font-weight: bold;
}
#nodeinfo #turnwinratebar{
	position: relative;
	width: 330px;
	height: 80px;
	margin: 20px 0 15px;
}
#nodeinfo #turnwinratebar *{
	position: absolute;
}
#nodeinfo #turnwinratebar #turn{
	width: 100%;
	height: 100%;
}
#nodeinfo #turnwinratebar #turn div{
	top: 8px;
	border-radius: 6px;
	width: 12px;
	height: calc( 80px - 8px - 8px );
}
#nodeinfo #turnwinratebar #turn #turnon{
	background-color: rgb( 170 110 170 / 1 );
	box-shadow: 0 0 6px 0 rgb( 30 30 30 / 0.4 ) inset;
}
#nodeinfo #turnwinratebar #turn #turnoff{
	background-color: rgb( 0 0 0 / 0.11 );
}
#nodeinfo #turnwinratebar #winratebar{
	background-color: rgb( 0 0 0 / 0.11 );
	top: 0;
	left: 22px;
	width: calc( 330px - 22px - 22px );
	height: 100%;
	border-radius: 5px;
	font-size: 50px;
	text-align: center;
	line-height: 80px;
	color: #d2d3c4;
}
#nodeinfo #turnwinratebar #winratebar > div{
	top: 0;
	height: 100%;
}
#nodeinfo #turnwinratebar #winratebar #blackbar{
	left: 0;
	background-color: #505050;
	box-shadow : -8px 0 6px -6px #f8f8f855 inset;
	border-radius: 5px 0 0 5px;
}
#nodeinfo #turnwinratebar #winratebar #whitebar{
	right: 0;
	background-color: #f8f8f8;
	box-shadow : 8px 0 6px -6px #50505022 inset;
	border-radius: 0 5px 5px 0;
}
#nodeinfo #turnwinratebar #winratebar #score{
	font-size: 30px;
	line-height: 80px;
}

#analyzebuttonarea{
	position: absolute;
	bottom: 3px;
	width: 100%;
}
#analyzebuttonarea > div{
	height: 70px;
	margin: 6px 10px 0;
	font-size: 32px;
	font-weight: bold;
	line-height: 70px;
	text-align: center;
}
#analyzebuttonarea #fast{
	border-radius: 35px 35px 0 0;
}
#analyzebuttonarea #medium{
	border-radius: 0 0 0 0;
}
#analyzebuttonarea #slow{
	border-radius: 0 0 35px 35px;
}

#dialogmain{
	width       : calc( 840px - 80px - 80px );
	height      : calc( 840px - 80px - 80px );
	margin      : 80px 80px;
	line-height : 40px;
	font-size   : 40px;
	font-weight : normal;	
	color       : #eeeeff;
}
#dialogmain #menutitle{
	width: calc( 840px - 80px - 80px );
	text-align  : center;
	font-family : serif;
	font-style  : italic;
	font-size   : 56px;	
}
#dialogmain .menubutton{
	background-color : #eeeeff;
    color            : #666666;
	font-family      : sans-serif;
	font-weight      : bold;
}
#dialogmain .menubuttonlarge{
    border-radius : 8px 40px 40px 8px;
	left          : 80px;
	width         : calc( 840px - 80px - 80px - 80px - 80px );
	height        : 80px;
	line-height   : 80px;
	font-size     : 48px;
}
#dialogmain .menubuttonsmall{
	border-radius : 5px 25px 25px 5px;
	top           : 600px;
	left          : 180px;
	width         : calc( 840px - 80px - 80px - 180px - 180px );
	height        : 50px;
	line-height   : 50px;
	font-size     : 28px;
}
#dialogmain .menubuttonsmallclose{
    border-radius : 25px;
}
#dialogmain .menubuttonsmallback{
    border-radius : 25px 5px 5px 25px;
}
#dialogmain form *{
	position: absolute;
}
#dialogmain form div{
	width : calc( 840px - 80px - 80px );
}
#dialogmain form #boardsize div:first-child,
#dialogmain form #komi      div:first-child,
#dialogmain form #rule      div:first-child{
	left        : 50px;
	width       : 300px;
	line-height : 60px;
	text-align  : left;	
	font-family : serif;
	font-weight : bold;
	font-size   : 50px;
}
#dialogmain form #boardsize input,
#dialogmain form #komi      input{
	border-radius : 5px;
	right         : 70px;
	width         : 160px;
	padding       : 3px 0 3px 10px;
	line-height   : 50px;
	font-size     : 50px;
	text-align    : left;
	color         : #555544;
}
#dialogmain form #rule #rulechoice{
	top         : 5px;
	right       : 0;
	width       : 300px;
	font-family : sans-serif;
	font-size   : 28px;
	line-height : 36px;
	text-align  : left;
}
#dialogmain form #rule #rulechoice *{
	vertical-align : middle;
	position       : relative;
}
#dialogmain form #rule #rulechoice input[type="radio"]{
	transform : scale(1.8);
	margin    : 8px 15px 12px;
}	
#dialogmain form #boardsize{
	top: 110px;
}
#dialogmain form #komi{
	top: 205px;
}
#dialogmain form #rule{
	top: 300px;
}

#lower{
	width: calc( 840px + 30px + 350px );
	margin: 50px 15px 30px;
}
#lower > div{
	color: #4b4b40;	
	position: relative;
	border-radius: 10px;
	background-color: #f2f2e4;
	padding: 3px 3px 16px 7px;
	border: dotted 4px #e8e8db;
	margin: 25px 5px 35px;
}
#lower > div .title{
	margin: 10px auto 8px;
	font-family: serif;
	font-style: italic;	
	font-weight: normal;
	font-size: 28px;
	text-shadow : 2px 2px 5px #00000033;
	text-align: center;
	color: #776099;
}
#lower > div > ul > li{
	list-style-position: inside;
	list-style-type: disc;
	margin: 12px 15px 18px;
	font-size: 20px;
	line-height: 160%;
}
#lower > div > ul > li b{
	color: #664466;
}
#lower > div > ul > li > ul{
	list-style-type: none;
	margin: 6px 10px 12px;
}
#lower > div > ul > li > ul > li{
	margin: 0 0 5px;
	font-size: 22px;
	line-height: 140%;
}
#lower #changelog td{
	padding: 10px 10px 0;
	vertical-align: top;
	line-height: 140%;
	font-size: 20px;
}
#lower #changelog td.date{
	font-family: 'Courier New', Courier, monospace;
	font-weight: bold;
	text-align: center;
}
#lower #changelog td .network{
	font-weight: bold;
	color: #708870;
}

.fullscreen{
	border-radius: 0 !important;
	padding: 0 0 0 !important;
 	margin: 0 auto 0 !important;
}
