:root {
  --bg-color: #2A2A2A;
  --main-color: #FF7C00;
  --sec-color: #2750D9;
  --text-color: white;
  --sec-text-color: black;
}

::-webkit-scrollbar-button {
  display: none;
  height: 13px;
  border-radius: 0px;
  background-color: #2750d9;
}

::-webkit-scrollbar-button:hover {
  background-color: #AAA;
}

::-webkit-scrollbar-thumb {
  background-color: #2750d9;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #6481e3;
}

::-webkit-scrollbar-track {
  background-color: #2a2a2a;
}

::-webkit-scrollbar-track:hover {
  background-color: #2a2a2a;
}

::-webkit-scrollbar {
  width: 5px;
}

* {
  box-sizing: border-box;
  cursor:url(/img/cursor.png)13 13, auto !important;
}

body.tvoff {
  background: black;
}

.tvoff .grid {
  display: none;
}

body {
  background-color: var(--bg-color);
  background-color: #2A2A2A;
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Roboto Mono', monospace;
  color: var(--text-color);
  color: white;
}

p {
  margin: 0;
  padding: 0;
}

.grid {
  display: flex;
  height: 100%;
  /* flex-wrap: wrap; */
}

.grid_element {
  position: relative;
  /* width: calc(100% / 4); */
  /* height: calc(100% / 2); */
  border: 1px solid var(--sec-color);
  border: 1px solid #2750D9;
  display: block;
  min-width: 250px;
  flex-grow: 1;
  overflow-y: auto;
  background: white;
}

.long_grid {
  width: 25%;
  display: flex;
  height: 100%;
  flex-wrap: wrap;
}

.long_grid .grid_element {
  width: 100%;
}

.half_grid {
  width: calc(100% / 4 * 3);
  display: flex;
  height: 100%;
  flex-wrap: wrap;
}

.half_grid .grid_element {
  width: calc(100% / 3);
  height: calc(100% / 2)
}

.lastUpdate {
  position: absolute;
  bottom: 5px;
  text-align: center;
  font-size: 10px;
  width: 100%;
}

.animate {
  animation-name: alarm;
  animation-duration: 500ms;
  animation-iteration-count: 20;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: #2A2A2A;
}

@keyframes alarm {
  from{
    background: #2A2A2A;
  }
  to {
    background: green;
  }
}

/* WEATHER */

#weather {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  flex-wrap: wrap;
}

#curTemp {
  text-align: center;
}

#city {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 20px;
}

#tempCol {
  background: rgb(183, 227, 54);
  display: block;
  width: 100%;
  height: 2px;
  margin-bottom: 5px;
}

#minmax {
  display: inline-flex;
  justify-content: space-around;
  width: 100%;
  font-size: 15px;
}

#tempImg {
  display: flex;
  justify-content: center;
}

#tempImg img {
  filter: grayscale(0) contrast(0) brightness(11);
  -webkit-filter: grayscale(0) contrast(0) brightness(11);
}

/* END WEATHER */

/* SCREENSAVER */

#screensaver.livetv {
  display: none;
}

#screensaver {
  overflow: hidden;
}

#screensaver img, #screensaver  div {
  width: 70px;
  height: 82px;
}

#screensaver .x {
  -webkit-animation: x 7s linear infinite alternate;
          animation: x 7s linear infinite alternate;
}

#screensaver .y {
  -webkit-animation: y 13s linear infinite alternate;
          animation: y 13s linear infinite alternate;
}

/* END SCREENSAVER */

/* LIVE TV */
#livetv {
  display: none;
}

#livetv.livetv {
  display: block;
}
/* END LIVE TV */

/* TOGGL */

#toggl {
  overflow-y: auto;
}

#toggl .projects {
  display: block;
  border-bottom: 1px solid #FF7C00;
  width: 100%;
}

#toggl .projects .project_info {
  padding: 5px;
}

#toggl .projects span {
  display: block;
}

#toggl .progress {
  height: 15px;
  background: var(--sec-color);
  background: #2750D9;
  font-size: 10px;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
}

#toggl .progress span {
  background: var(--main-color);
  background: #FF7C00;
  height: 100%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-right: auto;
  padding-right: 4px;
}

/* END TOGGL */

/* SERVER STATS */

#serverStat {
  cursor: pointer;
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}

#serverStat .urlCheck {
  padding: 3px;
  border-bottom: 1px solid var(--main-color);
  border-bottom: 1px solid #FF7C00;
  position: relative;
  width: 100%;
}

#serverStat a {
  color: var(--text-color);
  color: white;
  text-decoration: none;
  font-size: 15px;
}

#serverStat .indicator {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 100%;
  background: rgb(43, 231, 33);
  height: 15px;
  width: 15px;
}

#serverStat .urlCheck.offline {
    background: #e81111;
    order: -1;
}

/* END SERVER STATS */

/* LOGO */

#logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  border: 2px solid var(--sec-color);
  border: 2px solid #2750D9;
  background: var(--bg-color);
  background: #2A2A2A;
}

#logo img {
  width: 70px;
  height: auto;
}

/* END LOGO */

/* LIVE CLOCK */

#clock {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  flex-wrap: wrap;
}

#clock > span {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#clock p {
  width: 100%;
  text-align: center;
}

#clock .date {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 20px;
}

#clock .break {
  font-size: 20px;
  text-align: center;
  border-bottom: 2px solid #8bc34a;
  padding-bottom: 5px;
}

.pause {
  position: absolute;
  bottom: 0;
  text-align: center;
  font-size: 10px;
  width: 100%;
}

.pause span {
  flex: 1;
  padding-bottom: 5px;
  padding-top: 5px;
}

.curPause {
  border-top: 1px solid #8bc34a;
}

.pastPause {
  border-top: 1px solid #E53953;
}

/* END LIVE CLOCK */

/* BIRTHDAY */

#birthday {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4%;
  flex-wrap: wrap;
  text-align: center;
}

#birthday #whosbirthday .birthday-name {
  font-size: 40px;
  display: block;
}

/* END BIRTHDAY */

/* BITCOIN */

#bitCoin {
  cursor: pointer;
}

#bitCoin svg {
  width: auto;
  height: 14px;
  fill: white;
}

#bitCoin .cryptoCheck, #bitCoin .rddCheck, #bitCoin .reqCheck {
  padding: 3px;
  border-bottom: 1px solid var(--main-color);
  border-bottom: 1px solid #FF7C00;
  position: relative;
}

#bitCoin .cur {
  color: var(--text-color);
  color: white;
  text-decoration: none;
  font-size: 15px;
  margin-right: 10px;
}

#bitCoin .crypIcon {
  height: 21px;
  position: absolute;
  object-fit: contain;
}

#bitCoin .crypGraph {
    margin-left: 30px;
    height: 10px;
}

#bitCoin .percentage {
  min-width: 80px;
  display: inline-block;
  text-align: right;
  /* margin-left: 30px; */
}

#bitCoin .rightFloat {
  float: right;
}

/* END BITCOIN */
