/*
 Theme Name:   RALLYPLUS.NET
 Theme URI:    http://www.rallyplus.net/
 Description:  For RALLYPLUS.NET
 Author:       CINQ LLC
 Author URI:   http://cinq-5.co.jp/
 Template:     hueman1.5.7

/* ------------------------------------------------------------------------- *
 *  Theme customization starts here
/* ------------------------------------------------------------------------- */

/* イベント特設ページ */
#wrc-sppage-ttl{
	margin: 0 auto 10px;
	padding: 0;
	width: 100%;
	display: inline-block;
	position: relative;
}
#wrc-sppage-ttl img{
	width: 100%;
}
#wrc-sppage-ttl .wrc-sppage-ttl-txt{
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	box-sizing: border-box;
/*
	background: rgba(126,188,50,0.75);
	border-left: solid 4px #fff000;
*/
}
#wrc-sppage-ttl .wrc-sppage-ttl-txt img{
	box-sizing: border-box;
	width: 50%;
	margin: 10px 0 0 10px;
}

#wrc-sppage-ttl .wrc-sppage-ttl-txt-h{
	width: auto;
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 10px;
	box-sizing: border-box;
	/*background: rgba(126,188,50,0.8);*/
	background: rgba(252,76,2,0.8);
	font-weight: bold;
	font-family: 'arial black',arial, helvetica;
	line-height: 1.7em;
}
#wrc-sppage-ttl .jrc-sppage-ttl-txt-h{
	background: rgba(126,188,50,0.8);
}

.wrc-sppage-ttl-right {
	left: unset !important;
	right: 10px;
}
@media only screen and (max-width:719px) {
	#wrc-sppage-ttl {
		/*margin-bottom: 0;*/
	}
	#wrc-sppage-ttl .wrc-sppage-ttl-txt-h{
		top: 0;
		left: 0;
		width: 100%;
		height: 98%;
		background: rgba(0,0,0,0.4);
		text-shadow: 1px 2px 3px #000;
	}
	.wrc-sppage-ttl-right {
		right: 0;
	}
}
#wrc-sppage-ttl .wrc-sppage-ttl-txt-h h4{
	font-size: 1.35em;
	color: #fff;
}
#wrc-sppage-ttl .wrc-sppage-ttl-txt-h h3{
	font-size: 2em;
	color: #fff;
}
#wrc-sppage-ttl .wrc-sppage-ttl-txt-h h5{
	color: #fff;
}


.eventsppage-links{
	margin: 0 auto;
	padding: 0 0 10px;
	width: 100%;
	display: inline-block;
}
.eventsppage-links ul{
	margin: 0 auto;
	padding: 0;
	width: 100%;
	float: left;
	background: #7ebc32;
}
.eventsppage-links ul li{
	margin: 0;
	padding: 0;
	display: inline;
	float: left;
	background: #7ebc32;
	color: #fff;
}
.eventsppage-links ul li a{
	padding: 0.7em 1em;
	color: #fff;
	display: block;
	font-weight: bold;
	background: #7ebc32;
}
.eventsppage-links ul li.livehover a{
	background: #333;
}

.eventsppage-links ul li a:hover{
	background: #fff000;
	color: #333;
}

.tab-pane .data,
.tab-pane .data-jrc{
	width: 100%;
	display: inline-block;
}

.tab-pane h5{
	margin: 0 5px;
	padding: 10px 0;
	clear: both;
}
.tab-pane h4{
	margin: 0 5px;
	padding: 4px 0;
	clear: both;
	background: #666;
	color: #fff;
	text-align: center;
}

.tab-pane .w50,
.tab-pane .stage-results-in,
.tab-pane .stage-results-after {
	margin: 0 0 20px;
	width: 50%;
	float: left;
}

.scrolltable,
.tab-pane .stage-results-in div,
.tab-pane .stage-results-after div {
	margin: 10px;
	box-sizing: border-box;
}
.scrolltable table,
.tab-pane .stage-results-in div table,
.tab-pane .stage-results-after div table {
	width: 100%;
	font-size: 14px;
}
.scrolltable table td,
.tab-pane .stage-results-in div table td,
.tab-pane .stage-results-after div table td {
	border-bottom: 1px solid #ccc;
	padding: 0.15em;
}
.scrolltable table td.aright,
.stage-results-time,
.stage-results-lost,
.text-right {
	text-align: right;
}
.scrolltable table td:nth-of-type(1),
.scrolltable table td:nth-of-type(2){
	/* text-align: right; */
}
.scrolltable table thead tr:nth-child(1){
	font-weight: bold;
}
.stage-results-overall-caption {
	display: none;
}

.data .w50 .scrolltable table td:nth-of-type(2),
.data .w50 .scrolltable table td:nth-of-type(5),
.tab-pane .stage-results-in table td:nth-of-type(4),
.tab-pane .stage-results-after table td:nth-of-type(4),
.tab-pane .stage-results-in table td:nth-of-type(7),
.tab-pane .stage-results-after table td:nth-of-type(7) {
	/*display: none;*/
}
.tab-pane a.ss-name {
	font-weight: bold; 
}
.tab-pane a.ss-name.notyet {
	font-weight: normal;
	color: #111;
	cursor: text;
}

/* for entry list */
.entry-tbl h4 {
	display: none;
}
.entry-tbl .scrolltable table td:nth-of-type(2) {
	text-align: left;
}
.entry-tbl .scrolltable table thead tr:nth-child(1) {
	word-break: break-all;
}

/* for entry list (ewrc) */
.data-ewent { margin: 10px; }
.data-ewent table{
	width: 100%;
	font-size: 14px;
}
.data-ewent table td {
	border-bottom: 1px solid #ccc;
	padding: 0.15em;
}
.data-ewent table tr:last-child td {
	border-bottom: none;
}

.entry-tbl span.startlist-chassis { display: none; }
.entry-tbl td.startlist-team { display: none; }

.fs-09 { font-size: .85em }

.entry-tbl .scrolltable table {
  display: block;
  overflow-x: scroll;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.entry-tbl .scrolltable table td {
	padding: 4px 20px 4px 0;
}
.entry-tbl .scrolltable table td:nth-of-type(2) {
	width: 220px;
}
.entry-tbl .scrolltable table td:nth-of-type(3) {
	display: none;
}
.entry-tbl .scrolltable table td:nth-of-type(4) {
	width: 240px;
}


span.text-muted { color: #8899a6; }

li.notyet{
color: #ccc;
pointer-events: none;
}

@media only screen and (max-width:719px) {
	.tab-pane .w50,
	.tab-pane .stage-results-in,
	.tab-pane .stage-results-after {
		width: 100%;
	}
}

/* for JRC result */
table.data-jrc{
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}
table.data-jrc > tbody > tr:nth-child(1) > td{
	padding: 6px;
	clear: both;
	background: #666;
	color: #fff;
	font-weight: bold;
}
table.data-jrc > tbody > tr:nth-child(2) > td{
	font-weight: bold;
}
table.data-jrc > tbody > tr > td{
	border-bottom: 1px solid #ccc;
	padding: 0.15em;
}


/* for RESULT from wrc.com  */
.stage-results {
	margin: 0 0 20px;
	width: 50%;
	float: left;
}
.stage-results div {
	margin: 10px;
	box-sizing: border-box;
}
.stage-results div table {
	width: 100%;
	font-size: 14px;
}
.stage-results div table tr {
	height: 26px;
}
.stage-results div table th {
	border-bottom: 2px solid #ccc;
	padding: 0.15em;
	text-align: left;
	font-size: 12px;
}
.stage-results div table td {
	border-bottom: 1px solid #ccc;
	padding: 0.15em;
}

.stage-results th:nth-child(2),
.stage-results td:nth-child(2),
.stage-results th:nth-child(4),
.stage-results td:nth-child(4),
.stage-results th:nth-child(5),
.stage-results td:nth-child(5) {display: none;}
.stage-results th:nth-child(6),
.stage-results td:nth-child(6) {text-align: right;}
@media only screen and (max-width:719px) {
	.tab-pane .stage-results {
		width: 100%;
	}
}
.stage-results td .position-up {
	color: green;
	font-size: 12px;
}
.stage-results td .position-down {
	color: red;
	font-size: 12px;
}



/* for results (ewrc) */
.data-ewrc .stage-results-in tr,
.data-ewrc .stage-results-in td {
	overflow-y: hidden;
	height: 2em;
}

.data-ewrc .stage-results-in td:nth-child(1) span.font-weight-normal.fs-091,
.data-ewrc .stage-results-in td:nth-child(2),
.data-ewrc .stage-results-in td:nth-child(3) div.stage-results-drivers-icon,
.data-ewrc .stage-results-in td:nth-child(3) span.stage-results-codriver-dash,
.data-ewrc .stage-results-in td:nth-child(3) span.fs-091,
.data-ewrc .stage-results-in td:nth-child(3) div.tyre-brand,
.data-ewrc .stage-results-in td:nth-child(4),
.data-ewrc .stage-results-in td:nth-child(5) span.text-info.pl-1,
.data-ewrc .stage-results-in td:nth-child(5) span.font-weight-bold.fs-091,
.data-ewrc .stage-results-in td:nth-child(6) span.font-weight-normal.fs-091,
.data-ewrc .stage-results-in td:nth-child(7),
.data-ewrc .stage-results-after td:nth-child(1) span.font-weight-normal.fs-091,
.data-ewrc .stage-results-after td:nth-child(2),
.data-ewrc .stage-results-after td:nth-child(3) img,
.data-ewrc .stage-results-after td:nth-child(3) div.stage-results-drivers-icon,
.data-ewrc .stage-results-after td:nth-child(3) span.stage-results-codriver-dash,
.data-ewrc .stage-results-after td:nth-child(3) span.fs-091,
.data-ewrc .stage-results-after td:nth-child(3) div.tyre-brand,
.data-ewrc .stage-results-after td:nth-child(4),
.data-ewrc .stage-results-after td:nth-child(5) span.text-info.pl-1,
.data-ewrc .stage-results-after td:nth-child(5) span.font-weight-bold.fs-091,
.data-ewrc .stage-results-after td:nth-child(6) span.font-weight-normal.fs-091,
.data-ewrc .stage-results-after td:nth-child(7) { display: none; } 

.data-ewrc .stage-results-after td:nth-child(1) div.fs-08.font-weight-normal {margin: 0; font-size: 60%; }