* {
    box-sizing: border-box;
}
body
{
    padding: 0;
    margin: 0;
	font-size: 14px;
	color: #000;
	background-color:#fff;
	line-height: 19px;
	font-family: verdana, sans-serif, arial;
}
table {
	font-size: 1em;
}
p {
	text-indent: 23px;
}
h1 {
	font-size: 1.4em;
	font-weight: bold;
}
h2 {
	font-size: 1.2em;
	font-weight: bold;
}
pre {
	line-height: 1em;
}
.texth2 {
	font-size: 1.2em;
	font-weight: bold;
}
.superletter {
	padding-left: 7px;
	padding-top: 7px;
}
table th {
	border-bottom: 1px solid #cccccc;
	color: #3a4f6c;
	font-size: 0.9em;
	font-weight: bold;
	letter-spacing: 1px;
	margin: 0;
	padding: 0.5em;
}

.groupheader, .groupheader a{
	color: #3a4f6c;
	font-size: 0.9em;
	font-weight: bold;
	letter-spacing: 1px;
	margin: 0;
}

td.block{
	border: #656c6c 1px solid;
	padding: 0.6em;
}
td.ph, td.ph1, td.ph2, td.ph3{
	border-bottom: #a0a0a0 1px solid;
	border-right: #a0a0a0 1px solid;
	padding: 0.4em;
	text-align: center;
	vertical-align: top;
}
td.ph1{
	border-left: #a0a0a0 1px solid;
	border-top: #a0a0a0 1px solid;
}
td.ph2{
	border-top: #a0a0a0 1px solid;
}
td.ph3{
	border-left: #a0a0a0 1px solid;
}
/************************************/
/* new markup section */
/* fm-  forum-message- related styles */
.fm-two-column {
    border: none;
    display: flex;
    flex-flow: column nowrap;
}
.fm-header-line {
    height: 2.4em;
    display: flex;
    flex-flow: row nowrap;
    color: #3a4f6c;
    font-weight: bold;
    font-size: 0.9em;
    letter-spacing: 1px;
    align-items: center;
}
.fm-header-left-part {
    flex: 0 0 11em;
    font-weight: bold;
    display: flex;
    justify-content: center;
}
.fm-header-right-part {
    flex: 1 1 auto;
    font-weight: bold;
    display: flex;
    justify-content: center;
}
.fm-info-line {
    height: 2em;
    display: flex;
    flex-flow: row nowrap;
}
.fm-info-num-msg {
    flex: 0 0 11em;
    display: flex;
    align-self: center;
    padding-left: 0.4em;
}
.fm-info-paginator {
    flex: 1 1 auto;
    display: flex;
    align-self: center;
    padding-left: 0.4em;
}
.fm-info-paginator > span {
    margin-left: 0.2em;
    margin-right: 0.2em;
}

.forum-message {
    flex: 0 0 auto;
    border: none;
    display: flex;
    flex-flow: row nowrap;
    margin-top: -1;
}
.forum-message-author {
    flex: 0 0 11em;
    border: 1px solid #d0d0d0;
    border-left: 0;
    overflow: hidden;
    min-height: 11em;
    padding-left: 0.5em;
    padding-top: 0.3em;
    display: flex;
    flex-flow: column nowrap;
}
img.forum-message-avatar {
    border: 0;
    border-radius: 10%;
    max-width: 80%;
    max-height: 5em;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
    box-shadow: 0 0 0.6em rgba(128, 128, 128, 1);
}
.forum-message-content {
    flex: 1 1 auto;
    border: 1px solid #d0d0d0;
    border-right: 0;
    border-left: 0;
    display: flex;
    flex-flow: column nowrap;
}
.fm-content-title {
    background-color: #e5e5e5;
    padding: 0.2em;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}
.fm-content-title > div{
    padding: 0.1em 0.2em 0.1em 0.2em;
}
.fm-content-subject {
    font-weight: bold;
    padding-left: 0.5em;
}
.fm-content-body {
    flex: 1 0 auto;
    padding: 1.5em 0.6em 1em 0.6em;
}
.fm-content-topic-addons {
    box-shadow: 0em 0.2em 0.5em rgba(64, 64, 64, 0.4);
    border-radius: 0.4em;
    padding: 0.5em;
    margin: 1em 2em 0.5em 0.5em;
}
.fm-content-footer {
    flex 0 0 auto;
    padding: 0.2em;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}
.fm-footer-ctl-element {
    margin: 0em 0.2em;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    border-radius: 0.3em;
    padding: 0.2em 0.5em;
	color: #530004;
    text-decoration: underline;
}
.fm-footer-ctl-element:hover {
    cursor: pointer;
    box-shadow: 0 0 1em rgba(128, 128, 128, 0.5), inset 0 0 0.3em rgba(192, 128, 128, 0.5);
}
.fm-header-post {
    background-color: #f0f0f0;
}

.flex-center-content {
    display: flex;
    justify-content: center;
    align-self: center;
}
.stub-flex-item {
    flex: 1 1 auto;
}

.btn-ctl {} /* class to bind events */

/********* end of new markup section ****************/

td.fsections {

	border-bottom: 1px solid #cccccc;
	margin: 0;
	padding: 0.4em;
}
td.messageact {
	margin: 0;
	padding: 0.4em;
}
td.messagehd {
	vertical-align: middle;
	margin: 0;
	padding: 0.4em;
	background-color:#e5e5e5;
}
td.message1 {

	border-bottom: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
	margin: 0;
	padding: 0.4em;
}
td.message2 {

	border-bottom: 1px solid #cccccc;
	margin: 0;
	padding: 0;
}
td.equipinfo {

	border-bottom: 1px solid #cccccc;
	margin: 0;
	padding: 0.4em;
	background-color:#f3f3f3;
}
div.comments {
	border: 1px solid #cccccc;
	padding: 0.4em;
	color: #808080;
	margin: 0.4em;
}
.messageds {
	margin: 0;
	padding: 0.2em;
}
td.messagerate {
	margin: 0;
	padding-left: 1em;
	padding-right: 1em;
	padding-top: 1em;
}
img
{
	border-color: #000;
}
input.field100pr,input.inputbox,input.loginfield,input.field75,input.field300,textarea,select
{
	border: #757575 1px solid;
	padding-left: 0.3em;
	font: 1em arial;
	color: #000;
	background-color:#fff;
}
input.field100pr,input.inputbox,input.loginfield,input.field75,input.field300
{
	height: 1.3em;
}
li {
    line-height: 1.3em;
}
.button {
	background-color: #be0009;
	color: #FFF;
	padding: 0.7em 1.4em;
	border: none;
	cursor: pointer;
}

.quote
{
	border: #dddddd 1px solid;
}
.line2
{
	background-color:#f0f0f0
}
.line3
{
	background-color:#ffe0e0
}
.quote1 {
	float: left;
	font-weight: bold;
	margin-left: 10px;
	margin-top: 0.9em;
}
.quote2 {
	border: 1px solid #dddddd;
	padding: 0.4em;
	float: left;
	font-weight: normal;
	width: 90%;
}
.field100pr{
	width: 100%
}
.field75{
	width: 7em;
}
.field300{
	width: 30em;
}

.loginfield{
	width: 7em;
}
.leftband {
	width: 3.5em;
}
.midband {
	width: 100%
}
.rightband {
	width: 16em;
}
.right2band {
	width: 18em;
}
.logoband
{
	width: 1px;
}
hr {
	border: none;
	border-bottom: #999 1px solid;
	height: 1px;
}

div.mainpage_base{
	overflow: auto;
	/*outline: 1px solid #faa;*/
}
div.mainpage_column{
	float: left;
	width: 50%;
	overflow: auto;
}

div.block_content{
	border-bottom: 1px solid #f8f0e0;
	padding: 1em 0.4em 0.2em 0.3em;
	margin: 5px 10px 20px 4px;
	overflow: auto;
	width: 96%;
}
div.block_right_forms{
    max-width: 15em;
    margin-left: 1em;
    margin-top: 0.8em;
    padding: 0.6em 0.4em 0.5em 0.4em;
    border-left: 1px solid #d0c0a0;
    border-bottom: 1px solid #d0c0a0;
    border-radius: 0.2em;
    box-shadow: -0.4em 0.4em 0.6em #d0c0a040;
}

.header2,.header2r,h1 {
	font-weight: bold;
	font-size: 1.2em;
	color: black;
	font-style: normal;
	margin: 0 0 0 0.3em;
	padding-top: 0;
	padding-bottom: 0;
	text-decoration: none;
	font-family: arial, verdana;
}
.red{
	color: #b30838;
	/*font-weight: none;*/
	text-decoration: none;
}
.header3{
	color: #000;
	font-weight: bold;
	text-decoration: none;
}
.tabheader3{
	color:#000;
	font-weight:bold;
	text-decoration: none;
	padding: 0.4em;
}
.tabmid,.tableft,.tabright{
	color:#000;
	font-weight: normal;
	text-decoration: none;
	padding: 0.4em;
	vertical-align: top;
}
.tabmid{
	text-align: center;
}
.tabright{
	text-align: right;
}
.header2r{
	color:	#be0009;
}
td.menu{
	background-position : right bottom;
	background-repeat : no-repeat;
	padding-top: 3px;
	padding-bottom: 3px;
}
td.my_padding{
	background-color:#656c6c;
	margin-left : 5px;
	margin-right : 5px;
}

.top-menu, .top-menu tr, .top-menu td {
	border: none;
}
.top-menu {
	width: 100%;
	height: 35px;
}
.top-menu td {
	text-align: center;
}

.highlight1
{
	background-color:#ffc0c7
}
a.gray{
	color: #222222;
	/*font-weight: none;*/
	text-decoration: none;
}
a.gray:hover{
	color:#be0009;
	/*font-weight: none;*/
	text-decoration:none;
}
.textblock {
	font-weight: normal;
	color: black;
	padding: 0.5em 0.5em 1em 0.5em;
	line-height: 1.4em;
	font-style: normal;
	letter-spacing: 0;
}
.textblock0 {
	font-weight: normal;
	color: black;
	padding: 0.5em 0em 1em 0.5em;
	line-height: 1.4em;
	font-style: normal;
	letter-spacing: 0;
}
.maintext, .maintextnl, td.fsections, .tabheader {
	font-weight: normal;
	color: black;
	line-height: 1.4em;
	font-style: normal;
	letter-spacing: 0;
}
.tabheader, .maintextnl {
	text-decoration: none;
}
.elemlevel1 {
	font-weight: bold;
	font-size: 1.1em;
    line-height: 1.4em;
	color: black;
	padding-left: 1.2em;;
}
.elemlevel2 {
	font-weight: normal;
	font-size: 1em;
	color: black;
	padding-left: 3em;;
}
.elemlevel3 {
	font-weight: normal;
	font-size: 1em;
	color: black;
	padding-left: 5em;
}
.rmlevel1 {
	font-weight: bold;
	font-size: 1.1em;
	color: black;
	padding-left: 15px;
}
.rmlevel2 {
	font-weight: bold;
	font-size: 1em;
	color: black;
	padding-left: 22px;
}
.rmlevel3 {
	font-weight: normal;
	font-size: 0.8em;
	color: black;
	padding-left: 30px;
}
.techlevel3 {
	font-weight: normal;
	font-size: 0.8em;
	color: black;
	padding-left: 90px;
}
.elemsyn {
	font-weight: normal;
	color: #aaaaaa;
	line-height: 1.4em;
	font-style: normal;
	letter-spacing: 0px;
}

.comments1 {
	font-weight: normal;
	font-size: 0.8em;
	color: #333333;
	font-style: normal;
}
.comments2,.comments2 a, a.comments2,.comments2r,.comments2r a, a.comments2r{
	font-weight: normal;
	font-size: 0.8em;
	font-style: normal;
}
.comments2,.comments2 a, a.comments2{
	color: #808080;
}
.comments2r,.comments2r a, a.comments2r{
	color: red;
}
.comments,.comments a, a.comments{
	font-weight: normal;
	color: #808080;
	font-style: normal;
}
.comments3 {
	font-weight: normal;
	font-size: 0.8em;
	color: #a0a0a0;
	font-style: normal;
	letter-spacing: 0px;
}
span.dt {
	font-size: 100%; font-family: tahoma,arial,geneva,sans-serif
}

a.external {
	background-attachment: scroll;
	background-color: transparent;
	background-image: url("/images/external_link.gif");
	background-position: 0px 2px;
	vertical-align: bottom;
	background-repeat: no-repeat;
	padding-left: 1em;
}

a,
a.maintext,
a.maintextnl,
a.tabheader,
.elemlevel1 a,
.elemlevel2 a,
.elemlevel3 a,
.rmlevel1 a,
.rmlevel2 a,
.rmlevel3 a,
.techlevel3 a,
.header3 a {
	text-indent: 0;
	color: #530004;
}

a.maintext:hover,
a.maintextnl:hover,
a.tabheader:hover,
.elemlevel3 a:hover,
.elemlevel2 a:hover,
.elemlevel1 a:hover,
.techlevel3 a:hover,
.rmlevel3 a:hover,
.rmlevel2 a:hover,
.header3 a:hover,
.rmlevel1 a:hover {
	color: #be0009;
}

.maintextauthor {
	font-weight: normal;
	color: black;
	line-height: 1.4em;
	font-style: normal;
	letter-spacing: 0;
}
.picdesc {
	font-weight: normal;
	color: #808080;
	line-height: 1.4em;
	font-style: normal;
	letter-spacing: 0;
}
.linkurl {
	color: #808080;
	line-height: 1.5em;
	font-style: normal;
	letter-spacing: 0;
}
.maintextsource {
	color: #808080;
	line-height: 1.5em;
	font-style: normal;
	text-align: right;
	letter-spacing: 0;
}
.maintextsource a {
	color:	#808080;
}
.maintextsource a:hover {
	color:	#be0009;
}
.maintextb {
	font-weight: bold;
	color: black;
	line-height: 1.5em;
	font-style: normal;
	vertical-align: top;
	padding-top: 4px;
	letter-spacing: 0;
}
.navigator {
	font-weight: bold;
	font-size: 1em;
	color: #be0009;
	line-height: 1.6em;
	font-style: normal;
	letter-spacing: 0;
	padding-left: 5px;
	vertical-align: middle;
}
.navigator a:hover {
	color:	#be0009;
}
.navigator a, .arrow {
	color:	#555;
}
.arrow {
	font-weight: normal;
	white-space: nowrap;
}
.border1 {
	border: 1px solid #d0d0d0;
}

/* Polls */
.poll-wrap {
	position: relative;
}
.poll-wrap, .poll-answer, .poll-answer span {
	width: 300px;
	height: 16px;
}
.poll-wrap, .poll-answer {
	background-color: #ccc;
}
.poll-answer span {
	position: absolute;
	top: 0;
	left: 0;
	padding-top: 1px;
	color: #333;
	text-align: center;
	width: 100%;
}
ul.poll {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.poll table {
	border: none;
	margin-bottom: 7px;
}
ul.poll table td {
	padding: 0;
}
.question {
	font-weight: bold;
}
.poll-answer-0 {	background-color: #ff7326; }
.poll-answer-1 {	background-color: #265aff; }
.poll-answer-2 {	background-color: #32ff26; }
.poll-answer-3 {	background-color: #f9ff26; }
.poll-answer-4 {	background-color: #5ce; }
.poll-answer-5 {	background-color: #7f9; }
.poll-answer-6 {	background-color: #b4c; }
.poll-answer-7 {	background-color: #99f; }
.poll-answer-8 {	background-color: #f37; }
.poll-answer-9 {	background-color: #a94; }

.video-preview-link {
	display: inline-block;
	border: 3px solid #333;
	margin: 3px;
}
img.video-preview {
	max-height: 100px;
	text-indent: 0;
	padding: 3px;
	background-color: #333;
	border-left: 7px dotted #999;
	border-right: 7px dotted #999;
}

/* Wiki */
.wiki table {
	border-collapse: collapse;
}
.wiki tr, .wiki td {
	border: 1px solid #CCC;
	white-space: nowrap;
}
.wiki td {
	padding: 2px;
}
.wiki tr:nth-child(even) { background-color: #e9e9e9; }
.wiki table img { vertical-align: middle; }


table.viewmsg {
	border-collapse: collapse;
	background-color: #fff;
	overflow: auto;
}
table.viewmsg td.col_left {
	border-width: 1px 1px 0 0;
	border-style: solid;
	border-color: #ccc;
	padding: 5px 5px 5px 8px;
	width: 188px;
	height: 120px;
	vertical-align: top;
}
table.viewmsg td.col_right {
	border-width: 1px 0 0 1px;
	border-style: solid;
	border-color: #ccc;
	padding: 0;
	vertical-align: top;
}
table.viewmsg td.col_left_bottom {
	border-width: 0 1px 1px 0;
	border-style: solid;
	border-color: #ccc;
	padding: 5px 5px 6px 8px;
	vertical-align: bottom;
}
table.viewmsg td.col_right_bottom {
	border-width: 0 0 1px 1px;
	border-style: solid;
	border-color: #ccc;
	vertical-align: bottom;
	padding: 5px 5px 6px 2px;
}

table.viewmsg td.row_nav {
	border: 0;
}
table.viewmsg table.full_box {
	border-collapse: collapse;
	border: 0;
	height: 100%;
	width: 100%;
}

table.viewmsg td.head_line {
	height: 1em;
	background-color: #e5e5e5;
	padding: 5px;
}
table.viewmsg td.msg_body {
	vertical-align: top;
	padding: 24px 20px 12px 12px;
}
table.viewmsg td.msg_signature {
	padding: 0px 0px 4px 12px;
}

table.viewmsg td.topic_header {
	background-color: #f0f0f0;
}
table.viewmsg .topic_header td.head_line {
	background-color: #dddddd;
}

/* tablesorter */
table.tablesorter thead tr .header {
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table.tablesorter .headerSortUp, table.tablesorter .headerSortDown {
	padding-right: 20px;
}
table.tablesorter thead tr .headerSortUp {
	background-image: url('/images/asc.gif');
}
table.tablesorter thead tr .headerSortDown {
	background-image: url('/images/desc.gif');
}

.btn_forum_spoiler {
    border: 1px solid #504038;
    color: #504038;
    background-color: #f0e8e0;
    border-radius: 0.3em;
    padding: 0.1em 1em 0.2em 1em;
    cursor: pointer;
}

.forum_spoiled_text {
    border: 1px solid #a0a0a0;
    border-radius: 0.4em;
    display: none;
    padding: 0.5em;
    margin-top: 0.3em;
}
.forum_spoiler_title {
    margin-bottom: 0.2em;
}

/* tablesorter - Judge Games tool */
table.jGames03 {
    font-family:arial;
    background-color: #CDCDCD;
    margin:10px 0 15px;
    text-align: left;
}
table.jGames03 thead tr th, table.jGames03 tfoot tr th {
    background-color: #e6EEEE;
    border: 1px solid #FFF;
    padding: 2px;
}
table.jGames03 thead tr .header {
    background-image: url(/images/bg.gif);
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
    padding-right: 20px;
}
table.jGames03 tbody td {
    color: #3D3D3D;
    padding: 4px;
    background-color: #FFF;
    vertical-align: top;
}
table.jGames03 tbody tr.odd td {
    background-color:#F0F0F6;
}
table.jGames03 thead tr .headerSortUp {
	background-image: url('/images/asc.gif');
}
table.jGames03 thead tr .headerSortDown {
	background-image: url('/images/desc.gif');
}
table.jGames03 thead tr .headerSortDown, table.jGames03 thead tr .headerSortUp {
background-color: #8dbdd8;
}
p.jGames03 {
    font-size: 1.1em;
    font-family: arial;
}

/* social auth */
.social-auth {
	text-align: center;
	padding: 0px 10px 10px 10px;
}

.user-profile-social-accounts {
	list-style: none;
	padding: 0;
}
.user-profile-social-accounts li {
	position: relative;
	height: 35px;
}
.user-profile-social-accounts li span {
	position: absolute;
	bottom: 10px;
	left: 40px;
	height: 16px;
}

.vplayer3_vpanel {
    position: relative;
}
.vplayer video {
    position: relative;
    z-index: 0;
}
.vplayer3 .overlay_text {
    z-index: 2;
    font-family: verdana, arial;
    color: #fff0a0;
    position:absolute;
    top: 0.2em;
    left: 0.5em;
}
.vplayer3_btn {
    width: 11.5%;
    margin-top: 0.9em;
    font-weight: bold;
    font-size: 1.0em;
    text-align: center;
    padding: 0;
}
.vplayer3_btn_toggle_controls {
    width: 10em;
    text-align: center;
}
.vplayer3 .controls {
    display:flex;
    width: 100%;
    justify-content: space-between;
    border: 1px solid gray;
}
.vplayer3 .info_field {
    width: 100%;
    border: 1px solid gray;
    border-radius: 0.3em;
    min-height: 1.6em;
    padding: 0.3em;
    display: flex;
}

.schedule table {
    border-collapse: collapse;
    border: 2px solid gray;
}
.schedule td {
    border: 1px solid gray;
    padding: 0.2em 0.7em 0.2em 0.7em;
}
.schedule ._dance td {
    background-color: #ffff60;
}
.schedule ._pairs td {
    background-color: #c0ffc0;
}
.schedule ._ladies td {
    background-color: #ffc0c0;
}
.schedule ._men td {
    background-color: #c0c0ff;
}
.schedule ._title td {
    background-color: #d0d0d0;
    font-weight: bold;
    text-align: center;
    border-top: 3px solid #606060;
}

