
/* @font-face {
	font-family: 'MobileFont';
	src: url(fonts/mobile-font.regular.ttf);
} */
@font-face {
   font-family: OSP-DIN;
   src: url(../font/OSP-DIN.ttf);
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  text-align: center;
  background: #1f1f1f;
  color: white;
  font-family: 'OSP-DIN', Arial, sans-serif;
  /* margin: 0px;
  padding: 0px; */
}

a {
color: inherit;
text-decoration: inherit;
}



.country {
  font-size: 3vmin;
  margin-bottom: 0;
  margin-top: 0;

}

.country-flag {
    width:15%;
    height:16px;
    line-height: 1.5;
    margin-right: 8px;
    margin-bottom: 5px;
}
.country-name {
    margin-left: 5px;
    vertical-align: bottom;
}
.wrapper {
  background: gray;
  display: grid;
  width: 100vw;
  height: 100vh;
  grid-column-gap: 1px;
  grid-row-gap: 1px;
  grid-template-columns: repeat(6, 1fr);
  /* grid-template-columns: 248px 248px 248px; */
  /* grid-template-columns: 1fr 1fr 1fr; */
  grid-template-rows:repeat(4, 1fr);
}

.wrapper > div {
  background-color: black;
  padding: 5px;
}

.clockBox {
  /* height: 248px; */
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 1;
  grid-row-end: 2;
  display: grid;
  /* grid-template-columns: 248px 248px 248px; */
  grid-template-columns: repeat(3, 1fr);
}

.chartBox {
  grid-column-start: 4;
  grid-column-end: 7;
  grid-row-start: 1;
  grid-row-end: 3;
}
.currentWeatherBox {
  grid-column-start: 4;
  grid-column-end: 6;
  grid-row-start: 3;
  grid-row-end: 4;
  color: silver;
}

.subBox{
  display: grid;
  grid-template-columns: repeat(8, 1fr);
}

.ctime {
  font-size: 4.5vmin;
  /* font-family: MobileFont; */
  color: rgb(106, 232, 100);
  border-style: solid;
  border-color: lightslategray;
  border-width: thin;
  margin: auto 10px auto 10px;
  background-color: rgb(58, 70, 68)
}
.night {
  color: #427B3D;
}
.cday {
  font-size: 3vmin;
  /* font-family: MobileFont; */
  color: #969393;
}

.clock {
  position: relative;
  margin: 10px auto 10px auto;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: solid 5px silver;
  background-color: black;
}

.clock::after {
  content: "";
  position: absolute;
  top: calc(50% - 3px);
  left: calc(50% - 3px);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  background-color: deepskyblue;
}

.dials {
  position: relative;
  width: 100%;
  height: 100%;
}

.dials > div {
  position: absolute;
  top: 0;
  left: calc(50% - 2px);
  width: 4px;
  height: 50%;
  transform-origin: 50% 100%;
}
.dials > div::after {
  position: absolute;
  top: 0;
  content: "";
  width: 1px;
  height: 10px;
  background-color: silver;
}

.dials div:nth-child(1) { transform: rotate(30deg); }
.dials div:nth-child(2) { transform: rotate(60deg); }
.dials div:nth-child(3) { transform: rotate(90deg); }
.dials div:nth-child(4) { transform: rotate(120deg); }
.dials div:nth-child(5) { transform: rotate(150deg); }
.dials div:nth-child(6) { transform: rotate(180deg); }
.dials div:nth-child(7) { transform: rotate(210deg); }
.dials div:nth-child(8) { transform: rotate(240deg); }
.dials div:nth-child(9) { transform: rotate(270deg); }
.dials div:nth-child(10) { transform: rotate(300deg); }
.dials div:nth-child(11) { transform: rotate(330deg); }
.dials div:nth-child(12) { transform: rotate(360deg); }

.hand {
  position: absolute;
  /* bottom: calc(50% - 2px);
  left: calc(50% - 2px); */
  background-color: salmon;
  transform-origin: 50% 100%;
}

.hour.hand {
  width: 6px;
  height: 30px;
  left: calc(50% - 3px);
  bottom: calc(50%);
  border-radius: 0.75em 0.75em 0 0
}

.minute.hand {
  width: 4px;
  height: 44px;
  left: calc(50% - 2px);
  bottom: calc(50% - 1px);
  border-radius: 0.5em
}

.second.hand {
  width: 2px;
  height: 46px;
  background: red;
  left: calc(50% - 1px);
  bottom: calc(50% - 1px);
}

.citytemp {
  position: relative;
  /* top:-15px; */
  /* font-size: 3.5vmin; */
  margin-top: 0px;
}

.ct {
  font-size: 3.5vmin;
}



.weatherbox {
  /* background-color: darkslateblue); */
  margin-left: 10px;
  margin-top: 20px;
  margin-right: 10px;
  /* opacity: 0.8; */
  /* color: darkorchid; */
  font-size: 2.5vmin;
}

.desc {
  position: relative;
  margin-top: 1vmin;

}

.wi {
  font-size: 2.5vmin;
}
.nowInfo .wi {
  font-size: 2vmin;
}

.nowInfo p {
  margin-top: 5px;
  margin-bottom: 5px;
}
.nowInfo td {
  font-weight: normal;
  text-align: right;
  background-color: #000;
}
table{
  border-collapse: separate;
  border-spacing: 3px;
}

#currentInfo {
  background-color: #330;
  color: lightgoldenrodyellow;
  border-style: solid;
  border-color: black;
  border-width: thin;
}

#current_title {
  background-color: #220
}
.hourly_forecast {
  position: relative;
  background-color: #3d3d5d;
    border-color: black;
    border-style: solid;
    border-width: thin;
}

.hourly_info {
    display: grid;
    grid-template-rows: 80px 25px 1fr;
}
.hourly_forecast > .time {
  margin-bottom: 1.5vmin;
  color: silver;
  background-color: #003;
}
.hourly_forecast .wi {
  font-size: 3.5vmin;
}
.rain {
  color: lightskyblue;
  /* margin-top: 0.5vmin; */
  font-style: italic;
  font-size: 1.5vmin;
}
.rain .wi {
  font-size: inherit;

}
.hourly_info > .temp {
  font-size: 3.0vmin;
  /* margin-top: 2vmin; */
  position: relative;
  bottom: 0;
  right: 0;
  /* margin-bottom: 1.0vmin;*/
  /* margin-right:2.5vmin; */
  color: rgb(190, 100, 191);
}

.forecast {
   color: silver;

}
.day {
  font-size: 3.5vmin;
  background-color: #909;
  margin-bottom: 1.5vmin;
}

.boxTitle {
  font-size: 2.5vmin;
  background-color: #909;
  margin-bottom: 0.5vmin;
}

.forecast .desc {
  font-size: 1.5vmin;
   /* margin-top: 2.5vmin; */
  margin-bottom: 0.5vmin;
}

.highTemp {
  font-size: 2.3vmin;
  color: tomato;
}
.lowTemp {
  font-size: 2.3vmin;
  color: dodgerblue;
}

.wrap {
   /* height: 100%; */
  /*  display: flex; */
    flex-flow: column;
    justify-content: space-evenly;
}

#weekly tr {
    padding : 5px 10px;
    color: silver;
    background-color: #333;
    text-align: center;
    border-bottom: solid 4px #000;
    font-weight: inherit;
    font-size: 2.5vmin;
}

.weekly_date {
    background-color: #959;
}
.currency {
  color: silver;
}

.currencyName {
  font-size: 2.5vmin;
  margin-bottom: 0.5vmin;
}

.jpy {
    background-color: #088;
}

.usd {
    background-color: #9900cc;
}

.usy {
    background-color: #cc9900;
}

.price {
  font-size: 3.5vmin;
  /* margin-bottom: 0.5vmin; */
}

.pricechange {
  font-size: 2.5vmin;
  /* margin-bottom: 0.5vmin; */
}

.curTime {
  font-size: 2.0vmin;
}

.sDate {
    font-size: 3.0vmin;
    color: silver;
    background-color: #898F3C;
    margin-bottom: 1.5vmin;
}

.VrDepf {
    border-radius: 8px;
    border: 4px solid;
    height: 0;
    width: 0;
    margin-right: 3px;
}

.content {
    text-align: left;
}

.event li {
    /* position: relative; */
    list-style-type: none!important;
    /* padding: 0.5em 0.5em 0.5em 0.5em; */

    margin-bottom: 5px;
    line-height: 1;
    /* background: #000; */
    /* vertical-align: middle; */
    color: silver;
    /* border-radius: 15px 0px 0px 15px; */
}
.event li:before {
    display: inline-block;
    vertical-align: middle;
    content: '';
    width: 0.7em;
    height: 0.7em;

    border-radius: 8px;
    margin-right: 7px;
}

.family:before{
    background: rgb(192,202,51);
}

.primary:before{
    background: rgb(3,155,229);
}

.other {
    color: #DD716D !important;
    font-size: 1.8vmin! important;
    margin-left: -20px;
}

.event {
    font-size: 2.5vmin;
    margin: 0 0 0 0;
}

.modal {
    display: none;
    position: fixed;
    height: 100vh;
    top:0;
    left:0;
    width: 100%

}
.modal__bg{
    background: rgba(0,0,0,0.1);
    height: 100vh;
    position: absolute;
    width: 100%;
}

.modal_box {

  position: absolute;
  padding: 5px;
  border-radius: 8px;
  background: #333;
  color: #fff;
  border: 4px solid #c2e1f5;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}

/*
.arrow_box:before {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -10px;
  border: solid transparent;
  border-color: rgba(51, 51, 51, 0);
  border-top-color: #333;
  border-width: 10px;
  pointer-events: none;
  content: " ";
}

*/

/* Yuma's Score */
#yuma {
    font-size: 3.0vmin;
    color: silver;
    background-color: #0033CC;
    margin-bottom: 1.5vmin;
}
#score {
    font-size: 3.0vmin;
    background-color: rgb(25, 120,0);
    margin: auto 3.5vmin 1.0vmin 3.5vmin;
    border-style: solid;
    border-color: lightslategray;

}
#btn1, #btn2, #btn3, #btn4 {
    cursor: pointer;
    position: relative;
    font-size: 2.0vmin;
  display: inline-block;
  padding: 0.25em 0.5em;
  text-decoration: none;
  color: #000;
  background: #fd9535;/*背景色*/
  border-bottom: solid 2px #d27d00;/*少し濃い目の色に*/
  border-radius: 4px;/*角の丸み*/
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
  font-weight: bold;
    margin: auto 2px auto 2px
}

#longterm_stocks {
    font-size: 3.0vmin;
    color: silver;
    background-color: #883333;
    margin-bottom: 0.5vmin;
}
#monitoring_stocks {
    font-size: 3.0vmin;
    color: silver;
    background-color: #008888;
    margin-bottom: 0.5vmin;
}

#feature_stocks0 {
    font-size: 3.0vmin;
    color: silver;
    background-color: #0088CC;
    margin-bottom: 0.5vmin;
}

#feature_stocks {
    font-size: 3.0vmin;
    color: silver;
    background-color: #0033CC;
    margin-bottom: 0.5vmin;
}

#vaccine_stocks {
    font-size: 3.0vmin;
    color: silver;
    background-color: #338822;
    margin-bottom: 0.5vmin;
}

#etf_stocks {
    font-size: 3.0vmin;
    color: silver;
    background-color: #CC3300;
    margin-bottom: 0.5vmin;
}
#weekly, #some_indexs, #some_indexs2, #us_treasury{
  width: 100%;

  border-collapse: collapse;
  border-spacing: 0;
  font-size: 2.5vmin;
  color: silver;
}
#longlist, #monitoringlist, #vlist, #rlist, #flist, #cryptolist{
  width: 100%;

  border-collapse: collapse;
  border-spacing: 0;
  font-size: 2.2vmin;
  color: silver;
}
#some_indexs th, #some_indexs2 th {
  text-align: center;
  border-bottom: solid 2px #9900cc;
  font-weight: inherit;
}

 #us_treasury th {
  text-align: center;
  border-bottom: solid 2px #cc9900;
  font-weight: inherit;
}

#longlist th {
  text-align: center;
  border-bottom: solid 2px #883333;
  font-weight: inherit;
}

#monitoringlist th {
  text-align: center;
  border-bottom: solid 2px #008888;
  font-weight: inherit;
}

#flist th {
  text-align: center;
  border-bottom: solid 2px #0033CC;
  font-weight: inherit;
}

#vlist th {
  text-align: center;
  border-bottom: solid 2px #33aa22;
  font-weight: inherit;
}

#rlist th {
  text-align: center;
  border-bottom: solid 2px #fb5144;
  font-weight: inherit;
}

#cryptolist th {
  text-align: center;
  border-bottom: solid 2px #0088CC;
  font-weight: inherit;
}

#longlist td, #monitoringlist td, #vlist td, #rlist td, #flist td, #cryptolist td, #some_indexs td, #some_indexs2 td, #us_treasury td {
  text-align: right;
  border-bottom: solid 2px #999;
}

.diff_u {
    color: #00AA1B;
}
.diff_d {
    color: #d73c3c
}
