
/**********************************************************/
/* director */
.tnwos-director {
}

.tnwos-title {
/*	position: absolute;*/
	position: fixed;
	top: 50%;
	left: 50%;
	width: 320px;
	height: 320px;
	margin-left: -160px;
	margin-top: -160px;
/*
	height: 100vh;
	height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
	text-align: center;
	vertical-align: middle;
*/

	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	background-color: transparent;
}
.tnwos-title .tnwos-icon-m {
  margin: 0px 3px 0px 3px;
  background: var(--tnwos-face-color1);
}
/* END:director */


/**********************************************************/
/* circle-popup */
.tnwos-popup {	
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	margin: 0;
  background: transparent;
  z-index: 555;
}

.tnwos-popup-upper {
  position: absolute;
  background: transparent;
  width:55%;
  height:8%;
  top: 4%;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 556;
 }
.tnwos-popup-lower {
  position: absolute;
  background: transparent;
  width:55%;
  height:8%;
  bottom:4%;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 556;
}

.tnwos-popup-close {
  display:none;
	position: absolute;
  background: transparent;
  right: calc( var(--tnwos-popup-size-xl)*0.1425 - (var(--tnwos-icon-size-l)) - 4px);
  top: 0;
  bottom: 0;
  margin: auto;
  z-index: 556;
  height: var(--tnwos-icon-size-l);
  cursor: pointer;
}
@media screen and (orientation:landscape){
	.tnwos-popup-close {
	 display:block;
	}
}

.tnwos-popup-s {
  width: var(--tnwos-popup-size-s);
  height: var(--tnwos-popup-size-s);
  margin-left: calc(var(--tnwos-popup-size-s) / 2 * -1);
  margin-top: calc(var(--tnwos-popup-size-s) / 2 * -1);
}
.tnwos-popup-m {
  width: var(--tnwos-popup-size-m);
  height: var(--tnwos-popup-size-m);
  margin-left: calc(var(--tnwos-popup-size-m) / 2 * -1);
  margin-top: calc(var(--tnwos-popup-size-m) / 2 * -1);
}
.tnwos-popup-l {
  width: var(--tnwos-popup-size-l);
  height: var(--tnwos-popup-size-l);
  margin-left: calc(var(--tnwos-popup-size-l) / 2 * -1);
  margin-top: calc(var(--tnwos-popup-size-l) / 2 * -1);
}
.tnwos-popup-xl {
  width: var(--tnwos-popup-size-xl);
  height: var(--tnwos-popup-size-xl);
  margin-left: calc(var(--tnwos-popup-size-xl) / 2 * -1);
  margin-top: calc(var(--tnwos-popup-size-xl) / 2 * -1);
}
.tnwos-popup > div {	
	position: fixed;
	top: 50%;
	left: 50%;
/*
	width: var(--tnwos-popup-size-s);
	height: var(--tnwos-popup-size-s);
	margin-left: calc(var(--tnwos-popup-size-s) / 2 * -1);
	margin-top: calc(var(--tnwos-popup-size-s) / 2 * -1);
*/
	border-radius: 50%;
 	background: var(--tnwos-face-color1);
/*  overflow: auto;*/
}
.tnwos-popup > div > span {
  position: absolute;
  display: inline-block;
/*  left: 0;*/
  left: 14.25%;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 71.5%;
  height: 70%;
  text-align: center;
	color: var(--tnwos-back-color1);
  background: translate;
  overflow: auto;
}
.tnwos-popup > div > span > span {
  position: absolute;
  display: inline-block;
  left: 0%;
  top: 50%;
  width: 100%;
  height: 100%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  text-align: center;
  color: var(--tnwos-back-color1);
}
/*
.tnwos-popup-info > div:nth-child(1){
	height:40%;
}
.tnwos-popup-info > div:nth-child(2){
	height:45%;
}
.tnwos-popup-info > div:nth-child(3){
	height:15%;
}
*/
.tnwos-popup-info{
	background-color: var(--tnwos-face-color1);	
}

.tnwos-apps-conf {
	margin:1px 1px;
	display:flex;
	flex-flow: row wrap;
	justify-content: space-evenly;
}
/* END :circle-popup */

/**********************************************************/
/* calendar */
.tnwos-desktop-calendar{
  width:99vw;
}

.tnwos-date-race .keiba,
.tnwos-day-race .keiba{
  color: #22BB00;
}
.tnwos-date-race .kyotei,
.tnwos-day-race .kyotei{
  color: #3399FF;
}
.tnwos-date-race .keirin,
.tnwos-day-race .keirin{
  color: #CC33FF;
}
.tnwos-date-race .auto,
.tnwos-day-race .auto{
  color: #FF0000;
}

.tnwos-date-race ul{
  margin: 0;
  padding: 0;
  font-size: 13px;
  list-style: none;
}
.tnwos-desktop-calendar .tnwos-date-race ul{
  font-size: 15px;
}

.tnwos-date-race th{
  border-bottom: solid 1px var(--tnwos-face-color3);
}

.tnwos-date-race td{
  vertical-align : top;
  border-bottom: solid 1px var(--tnwos-face-color3);
  height: 40px;
}
.tnwos-desktop-calendar .tnwos-date-race td{
  height: 51px;
}

.tnwos-day-race ul{
  margin: 0;
  padding: 0;
  list-style: none;
}

.tnwos-day-race td{
  border-bottom: solid 1px var(--tnwos-face-color3);
  height: 50px;
}

.tnwos-time-race td{
  border-right: solid 1px var(--tnwos-face-color3);
}

.tnwos-time-kind {
  display: inline-flex;
  flex-direction: row;
  width: 100%;
}

.tnwos-time-time {
  display: flex;
  box-sizing: border-box;
  padding: 0 0 0 0;
  width: 16%;
  flex-direction: column;
  border-right: solid 1px var(--tnwos-face-color3);
}

.tnwos-time-time div {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0 4px 0 0;
  height:50px;
  text-align: right;
  border-top: 1px solid var(--tnwos-face-color3);
}

.tnwos-time-time div.head {
  height:20px;
  border-top: none;
}

.tnwos-time-rcs {
  display: flex;
  box-sizing: border-box;
  margin: 0;
  flex: 1;
  flex-direction: column;
  border-right: solid 1px var(--tnwos-face-color3);
  position: relative;
}

.tnwos-time-rcs > div{
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  line-height: 19px;
  height:20px;
  position: absolute;
  left: 0px;
  border-top: 1px solid var(--tnwos-face-color3);
}

.tnwos-time-rcs > div.head{
  border-top: none;
}



/**********************************************************/
/* progress */
.tnwos-progress { 
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  background: transparent;
  z-index: 777;
}
.tnwos-progress div {  
  position: fixed;
  top: 50%;
  left: 50%;

  width: var(--tnwos-progress-size);
  height: var(--tnwos-progress-size);
  margin-left: calc(var(--tnwos-progress-size) / 2 * -1);
  margin-top: calc(var(--tnwos-progress-size) / 2 * -1);
  overflow: auto;
/*  
  border-radius: 50%;
  background: white;
*/
}
.tnwos-progress .tnwos-icon-m {
  background: #ffffff;
}
/* END:progress */


/**********************************************************/
/* content */
.tnwos-contents {
	font-family: 'Dosis', 'Lato', sans-serif;
	font-size: 15px;
	font-weight: 100;
	letter-spacing: 14px;
	text-align: center;
    
	position:relative;
	height: 100%;
	width: 100%;
	min-width: 320px;
	margin:0 auto;
	box-sizing: border-box;
	align: center;

	min-height:0px;
  	overflow: auto;

	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: center;
	-moz-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-moz-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;

	/*background: #555;/*yu*/
/*
	background-color: blue;
	z-index: 5;
*/
}

.tnwos-contents {
  -webkit-animation: fadi 1s 1;
}
@-webkit-keyframes fadi {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@-moz-keyframes fadi {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

.tnwos-contents h2 {
	font-family: 'Dosis', 'Lato', sans-serif;
	font-size: 15px;
	font-weight: 200;
	width: 100%;
/*
	overflow: hidden;
	text-transform: uppercase;
	padding: 0;
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
	letter-spacing: 14px;
	text-align: center;
	z-index: 7;
*/
}

.tnwos-contents h2 {
/*
	height: 100%;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-box-pack: center;
	-moz-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-moz-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	z-index: 5;
*/
}

.tnwos-contents h3 {
	font-family: 'Dosis', 'Lato', sans-serif;
	font-size: 10px;
	font-weight: 100;
	width: 100%;
	bottom: 0%;
	overflow: hidden;
	text-transform: uppercase;
	padding: 0;
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
	letter-spacing: 10px;
	text-align: center;
/*	z-index: 4;*/
}

.tnwos-contents h3 {
	width: 100%;
/*	height: 100%;*/
	height: 10%;
	bottom: 0%;

	text-align: center;
	
	display: -moz-box;
	display: -webkit-box;
	display: -o-box;
	display: -ms-box;
	display: flex;
	
	-moz-box-align: end;
	-webkit-box-align: end;
	-o-box-align: end;
	-ms-box-align: end;
	align-items: flex-end;

	-webkit-box-pack: center;
	-moz-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
}
/* END:content */


/**********************************************************/
/* header and footer */
.tnwos-header {
	width: 100%;
	height: calc(var(--tnwos-icon-size-s) * 3);

	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;

	/*font-family: 'Dosis', 'Lato', sans-serif;*/
	font-family: 'Lato', Calibri, Arial, sans-serif;
	font-size: calc(var(--tnwos-icon-size-s) / 2);
	font-weight: 700;
	letter-spacing: 0px;
/*	background-color: black;*/
}
.tnwos-header > .tnwos-icon-s {
  margin: 0px 3px 0px 3px;
  background: var(--tnwos-face-color1);
}
.tnwos-header > .tnwos-icon-s span {
  color: var(--tnwos-back-color1);
}

.tnwos-footer {
	flex-shrink:0;
	height: var(--tnwos-footer-height);
	margin: 0px;
	min-height: 0;
/*	width: 322px;*/
  width: 368px;
	overflow: auto;
	position:fixed;
	bottom: 0px;
	bottom: calc( 0px + constant(safe-area-inset-bottom) );
	bottom: calc( 0px + env(safe-area-inset-bottom) );
	left: 50%;
	transform: translateX(-50%);

	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-moz-box-pack: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-moz-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	z-index: 444;
	/*background-color:#888;/*yu*/
}
.tnwos-footer > .tnwos-icon-m {
  margin: 0px 3px 0px 3px;
  background: var(--tnwos-face-color1);
}
.tnwos-footer > .tnwos-icon-m span {
/*  color: #000000;*/
  color: var(--tnwos-back-color1);
}


/**********************************************************/
/* desktop-main */
.tnwos-desktop {
	overflow: auto;
	height: 100%;
  width: 100%;
	box-sizing: border-box;
	/*background-color:darkgreen;/*yu*/
}


/**********************************************************/
/* desktop-iframe */
.tnwos-desktop-iframe {
  width: 100vw;
  height: 100vh;
  margin: 0;
}


/**********************************************************/
/* apps-main */
.tnwos-apps {
	padding-top: constant(safe-area-inset-top);
	padding-bottom: calc(constant(safe-area-inset-bottom) + var(--tnwos-footer-height));
	padding-left: constant(safe-area-inset-left);
	padding-right: constant(safe-area-inset-right);

	padding-top: env(safe-area-inset-top);
	padding-bottom: calc(env(safe-area-inset-bottom) + var(--tnwos-footer-height));
	padding-left: env(safe-area-inset-left);
	padding-right: env(safe-area-inset-right);
}

/**********************************************************/
/* apps-title */
.tnwos-apps-title {
  margin-top: 18px;
}

/**********************************************************/
/* desktop-icons */
.tnwos-desktop-icons {
  margin:1px 1px;
  display:flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
}
/*
.tnwos-deskpop > .tnwos-desktop-icons {
  margin: 0px 0px 0px 0px;
  overflow: auto;
  flex-grow: 1;
}
.tnwos-deskpop > .tnwos-desktop-icons > .tnwos-apps {
  display:flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  margin:0px;
  box-sizing: border-box;

  color: var(--tnwos-face-color3);
}
*/


/**********************************************************/
/* tnwos-app */
.tnwos-app {
/*	padding-bottom: var(--tnwos-footer-height);*/
  background-color: transparent;
}


/**********************************************************/
/* tnwos-app-contents */
.tnwos-pdf-contents {
	/*
	width: 100vw;
	height: calc(100vw * 1.414);
	*/
	/*
    padding: constant(safe-area-inset-top) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left);
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  width: calc(100vw - env(safe-area-inset-top) - env(safe-area-inset-right) - env(safe-area-inset-bottom) - env(safe-area-inset-left));
  */
  width: calc(100vw - env(safe-area-inset-right) - env(safe-area-inset-left));
  /*height: calc((100vw - env(safe-area-inset-right) - env(safe-area-inset-left)) * 1.414 + var(--tnwos-icon-size-l) + 64px);*/
  height: calc((100vw - env(safe-area-inset-right) - env(safe-area-inset-left)) * 1.414);
	align: center;
  background: var(--tnwos-back-color2);
}


/**********************************************************/
/* tnwos-date-select */
.tnwos-date-select {
	padding: 0;
	letter-spacing: 0px;
  display:flex;
  flex-flow: row wrap;
  justify-content: center;
}
.tnwos-date-select > .tnwos-icon {
  width: calc(var(--tnwos-icon-size-m));
	height: calc(var(--tnwos-icon-size-m));
  margin: 0px 3px 0px 3px;
}
.tnwos-date-select > .tnwos-icon > .tnwos-icon-m {
  background: var(--tnwos-face-color1);
  color: var(--tnwos-back-color1);
}
.tnwos-date-select > .tnwos-icon > .tnwos-icon-label {
  background: var(--tnwos-back-color2);
  color: var(--tnwos-face-color2);
  cursor: default;
}


/**********************************************************/
/* tnwos-select-l */
.tnwos-select-l {
  padding: 7px;
  display:flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  letter-spacing: 0px;
}
.tnwos-select-l > .tnwos-icon {
  width: calc(var(--tnwos-icon-size-l));
  height: calc(var(--tnwos-icon-size-l));
  margin:1px 1px;
}
.tnwos-select-l > .tnwos-icon-half {
  width: calc(var(--tnwos-icon-size-l) / 2);
  height: calc(var(--tnwos-icon-size-l) / 2);
  margin:1px 1px;
}
.tnwos-select-l > .tnwos-icon > .tnwos-icon-l {
  background: var(--tnwos-face-color3);
  color: var(--tnwos-back-color3);
}
.tnwos-select-l > .tnwos-icon > input:disabled + .tnwos-icon-l {
  background: var(--tnwos-back-color2);
  color: var(--tnwos-back-color3);
}


/**********************************************************/
/* tnwos-select-m */
.tnwos-select-m {
  padding: 7px;
  display:flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  letter-spacing: 0px;
}
.tnwos-select-m > .tnwos-icon {
  width: calc(var(--tnwos-icon-size-m));
  height: calc(var(--tnwos-icon-size-m));
  margin:1px 1px;
}
.tnwos-select-m > .tnwos-icon-half {
  width: calc(var(--tnwos-icon-size-m) / 2);
  height: calc(var(--tnwos-icon-size-m) / 2);
  margin:1px 1px;
}
.tnwos-select-m > .tnwos-icon > .tnwos-icon-m {
	background: var(--tnwos-face-color3);
  color: var(--tnwos-back-color3);
}
.tnwos-select-m > .tnwos-icon > input:disabled + .tnwos-icon-m {
  background: var(--tnwos-back-color2) !important;
  color: var(--tnwos-back-color3) !important;
}


/**********************************************************/
/* tnwos-select-s */
.tnwos-select-s {
  padding: 7px;
  display:flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  letter-spacing: 0px;
}
.tnwos-select-s > .tnwos-icon {
  width: calc(var(--tnwos-icon-size-s));
  height: calc(var(--tnwos-icon-size-s));
  margin:1px 1px;
}

.tnwos-select-s > .tnwos-icon-half {
  width: calc(var(--tnwos-icon-size-s) / 2);
  height: calc(var(--tnwos-icon-size-s) / 2);
  margin:1px 1px;
}

.tnwos-select-s > .tnwos-icon > .tnwos-icon-s {
  background: var(--tnwos-face-color3);
  color: var(--tnwos-back-color3);
}
.tnwos-select-s > .tnwos-icon > input:disabled + .tnwos-icon-s {
  background: var(--tnwos-back-color2);
  color: var(--tnwos-back-color3);
}

/**********************************************************/
/* tnwos-select-common s~lと順番を逆にしないこと(適用順問題) */
.tnwos-select-center {
  justify-content: center;
}

/**********************************************************/
/* tnwos-app-tools */
.tnwos-app-tools {
  padding: 0;
  display:flex;
  flex-flow: row wrap;
  justify-content: center;
  letter-spacing: 0px;
  text-align: center;
}
.tnwos-app-tools > .tnwos-icon {
  width: calc(var(--tnwos-icon-size-l));
  height: calc(var(--tnwos-icon-size-l) + 18px);
  margin:1px 1px;
}
.tnwos-app-tools > .tnwos-icon > .tnwos-icon-l {
  background: var(--tnwos-face-color2);
  color: var(--tnwos-back-color2);
}


/**********************************************************/
/* tnwos-menu-hamburger */
.tnwos-menu-hamburger{
	padding: 0px;
	margin: 12px 0px 0px 2px;
	z-index: 300;
}
.tnwos-menu-hamburger .tnwos-coinbtn{
/* 	  box-shadow: 2px 2px 5px 1px var(--tnwos-back-color3); */
}

/**********************************************************/
/* text allipsis span set*/
.tnwos-ellipsis-parent > span{
  word-wrap: break-word;
  word-break: break-all;
	/*
  display:inline-block;
  width:100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;  
  */
}

/**********************************************************/
/* list number*/
.tnwos-list-number{
  counter-reset: number;
}
.tnwos-list-number .tnwos-list-number-child:before{
  color: white;
  counter-increment: number;
  content: counter(number)':';
 }


/**********************************************************/
/* page*/
.tnwos-page-title{
  color: var(--tnwos-face-color2);
}
.tnwos-page-text{
  color: var(--tnwos-face-color2);
  font-size: 12px;
  letter-spacing: 0em;
  margin: 0 auto;
  width: calc(var(--tnwos-deskpop-width) - 7px - 7px);
  text-align: left;
}


/**********************************************************/
/* product*/
.tnwos-product-title{
  color: var(--tnwos-face-color2);
  letter-spacing: 0.15em;
  margin: 2px auto 0px auto;
  width: calc(var(--tnwos-deskpop-width) - 7px - 7px);
  text-align: left;
}


.tnwos-product-table{
  color: var(--tnwos-face-color2);
  font-size: 12px;
  letter-spacing: 0em;
  margin: 0px auto 20px auto;
  width: calc(var(--tnwos-deskpop-width) - 7px - 7px);
  text-align: left;
}

.tnwos-product-table > tbody > tr{
  display: block;
  margin-top: 4px;
  margin-bottom: 2px;
}

.tnwos-product-table > tbody > tr.tnwos-product-intro{
  margin-top: 0px;
  margin-bottom: 6px;
}

.tnwos-product-table > tbody > tr > td:nth-child(2){
  padding-left:4px;
}

.tnwos-product-table > tbody > tr > td:first-child,
.tnwos-product-table > tbody > tr > td > img
{
  max-width: 32px;
  width: 32px;
  max-height: 32px;
  height: 32px;
}

.productTitle{
  color: var(--tnwos-face-color2);
  text-align: left;
}

#Title{
  font-size: 18px;
  text-align: left;
}

#Title2{
  font-size: 12px;
  background: #505050;
  text-align: left;
  padding: 5px;
  margin-bottom: 15px;
}

#Title3{
  font-size: 12px;
  background: #666666;
}

#Note{
  font-size: 12px;
}

#menu{
  font-size: 12px;
}

.ConsumerContents{
  color: var(--tnwos-face-color2);
  letter-spacing: 0em;
  margin: 0 auto;
  width: calc(var(--tnwos-deskpop-width) - 7px - 7px);
}

.inner{
  font-size: 12px;
  text-align: left;
}

#InfoCard{
  font-size: 12px;
  word-break: break-all;
  text-align: left;
}


/**********************************************************/
/* circle-popup */
.tips-db-rank1{
  color: #efae00;
  font-size: 40px;
}

.tips-db-rank2{
  color: #bec1c3;
  font-size: 40px;
}

.tips-db-rank3{
  color: #c47222;
  font-size: 40px;
}

.tips-db-rank{
  color: var(--tnwos-face-color2);
  font-size: 30px;
}
