﻿body {
    -webkit-appearance: none;
    appearance: none;
    -ms-scroll-chaining: none;
}

hr {
    border: 1px solid #333;
}


/*html {
    -ms-content-zooming: none;
    -ms-overflow-style:none;
    -ms-user-select: none;
    user-select: none;
    touch-action: none;
    -ms-scroll-chaining: none;
}*/

button {
    border: none;
    cursor: pointer;
}

@font-face {
    font-family: 'Noto Sans Thin';
    font-style: normal;
    font-weight: normal;
    src: url('fonts/notothin.woff') format('woff');
}

@font-face {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: normal;
    src: url('fonts/noto.woff') format('woff');
}

@font-face {
    font-family: 'Noto Sans Bold';
    font-style: normal;
    font-weight: normal;
    src: url('fonts/notobold.woff') format('woff');
}

@font-face {
    font-family: 'Noto Sans Light';
    font-style: normal;
    font-weight: normal;
    src: url('fonts/notolight.woff') format('woff');
}

sf {
    font-family: 'Inter';
}

.WindowsXAML {
    padding: 0.5vw 1.9vw;
    font-family: 'Noto Sans Light';
    font-size: 4vh;
    color: black;
    margin: 2px 6px;
    border-radius: 15px;
    background: rgb(254, 254, 254);
    box-shadow: 0px 1px 3px 0px #4a4a4a;
    border: 1px solid #4a4a4a;
    transition: 0.2s;
    opacity: 0.9;
}

.WindowsXAML:hover {
    background: rgb(250, 250, 250);
    border: 1px solid #5a5a5a;
    color: #444;
    opacity: 1;
}

.WindowsXAMLDark {
    padding: 0.5vw 1.9vw;
    font-family: 'Noto Sans Light';
    font-size: 4vh;
    color: #eee;
    margin: 2px 6px;
    border-radius: 15px;
    background: rgb(55, 55, 55);
    box-shadow: 0px 1px 3px 0px rgb(43, 43, 43);
    border: 1px solid rgb(77, 77, 77);
    transition: 0.2s;
    opacity: 0.9;
}

.WindowsXAMLDark:hover {
    background: rgb(60, 60, 60);
    border: 1px solid rgb(60, 60, 60);
    color: white;
    opacity: 1;
}

.WindowsXAMLDark:active {
    background: rgb(50, 50, 50);
    box-shadow: none;
    border: 1px solid rgb(60, 60, 60);
    color: #aaa;
    opacity: 1;
}

input {
    border-radius: 10px;
    padding: 5px 10px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

select {
    border-radius: 10px;
    padding: 5px 10px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.Timerstart {
    color: white;
    font-size: 8.3vh;
    font-family: Noto Sans;
    border-radius: 15px;
    background: linear-gradient(#18E53E, #127524);
    padding: 10px 20px;
}

.Timerstart:active {
    background: linear-gradient(0deg, #18E53E, #127524);
}

.Timerstart1 {
    color: #d6ffde;
    font-size: 4.1vw;
    font-family: 'Inter';
    border-radius: 10px;
    background: none;
    padding: 10px 20px;
}

.Timerstart1:active {
    color: #98ffab;
}

.Timercancel {
    color: rgb(255, 221, 221);
    font-size: 4.1vw;
    font-family: 'Inter';
    border-radius: 10px;
    background: none;
    padding: 10px 20px;
}

.Timercancel:active {
    color: rgb(255, 176, 176);
}

.Timerpause {
    color: #ffe6ce;
    font-size: 4.1vw;
    font-family: 'Inter';
    border-radius: 10px;
    background: none;
    padding: 10px 20px;
}

.Timerpause:active {
    color: #ffd6b0;
}

.inputTimer {
    font-size: 9.2vh;
    font-family: "Inter";
    background: none;
    color: #E0EAFF;
    text-align: center;
    width: 20vh;
    transition: 0.2s;
    /* border: 2px solid #fff; */
}

.buttonclose {
    font-size: 54px;
    color: #000;
    background: linear-gradient(#ffdb00, #8B7800);
    margin: 2px 6px;
    font-family: Noto Sans;
    border-radius: 10px;
    padding: 5px 25px;
}

.buttonclose:active {
    color: #ffdb00;
    background: linear-gradient(0deg, #666, #000);
}

.buttonmenu {
    font-size: 54px;
    color: black;
    margin: 2px 6px;
    font-family: Noto Sans;
    border-radius: 10px;
    padding: 5px 25px;
}

.buttonnum {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-size: 5vw;
    padding: 0vw 1.8vw;
    font-family: "Inter";
    color: white;
    transition: 0.2s;
    width: 7vw;
    height: 7vw;
}

.buttonnum:active {
    background: rgba(255, 255, 255, 0.05);
}

.buttoncall {
    background-image: linear-gradient(#FF0000, #7B0000);
    font-size: 5.5vh;
    color: white;
    margin: 2px 6px;
    padding: 1vh 2vh;
    font-family: Noto Sans;
    border-radius: 10px;
    padding: 1vh 1.5vh;
}

.buttoncall:active {
    background-image: linear-gradient(0deg, #FF0000, #7B0000);
}

.buttoncall2 {
    background-image: linear-gradient(#33C51F, #1A6310);
    font-size: 5.5vh;
    color: white;
    margin: 2px 6px;
    padding: 1vh 2vh;
    font-family: Noto Sans;
    border-radius: 10px;
    padding: 1vh 2vh;
}

.buttoncall2:active {
    background-image: linear-gradient(0deg, #33C51F, #1A6310);
}

.buttoncall3 {
    background-image: linear-gradient(#395CAB, #1C2D53);
    font-size: 5.5vh;
    color: white;
    margin: 2px 6px;
    padding: 1vh 2vh;
    font-family: Noto Sans;
    border-radius: 10px;
    padding: 1vh 2vh;
}

.buttoncall3:active {
    background-image: linear-gradient(0deg, #395CAB, #1C2D53);
}

.buttoncall4 {
    background-image: linear-gradient(#F1C20C, #A7870C);
    font-size: 5.5vh;
    color: black;
    margin: 2px 6px;
    padding: 1vh 2vh;
    font-family: Noto Sans;
    border-radius: 10px;
    padding: 1vh 2vh;
}

.buttoncall4:active {
    background-image: linear-gradient(0deg, #F1C20C, #A7870C);
}

.buttonclear {
    border-radius: 15px;
    /* font-size: 5vw; */
    font-family: Noto Sans;
    background: #820520;
    color: white;
    transition: 0.2s;
    width: 14vw;
    height: 7vw;
}

.buttonclear:active {
    background: #3d020f;
}

.bulletinboard {
    font-family: Noto Sans;
    font-size: 13vh;
    color: #E0EAFF;
}

.time {
    font-family: 'Inter';
    font-size: 30vh;
    /*position: relative;*/
    padding: 5vh 0px;
    color: #E2E2E2;
}

.timernum {
    font-family: 'Inter';
    font-size: 18vw;
    color: #ecddff;
    opacity: 1;
}

.buttonsel {
    font-family: Noto Sans;
    font-size: 4vh;
    color: black;
    border-radius: 8px;
    padding: 0.5vh 2vh;
    background: #aaa;
}

.buttonchange {
    font-family: Noto Sans;
    font-size: 48px;
    color: black;
    border-radius: 5px;
    background: #77bc1f;
}

.imgdetract {
    opacity: 0.6;
    height: 8vh;
    z-index: 3;
    transition: 0.3s;
}

.imgdetract:hover {
    opacity: 0.9;
}

.imgdetract:active {
    opacity: 0.7;
}

.butdetract {
    font-size: 36px;
    opacity: 0.01;
    transition: 0.3s;
}

.butdetract:hover {
    opacity: 0.8;
}


/* Color Picker 2x Properties */

.colorpicker.colorpicker-2x {
    width: 238px;
}

.colorpicker-2x .colorpicker-saturation {
    width: 200px;
    height: 200px;
}

.colorpicker-2x .colorpicker-hue,
.colorpicker-2x .colorpicker-alpha {
    width: 30px;
    height: 200px;
}

.colorpicker-2x .colorpicker-alpha,
.colorpicker-2x .colorpicker-preview {
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.colorpicker-2x .colorpicker-preview,
.colorpicker-2x .colorpicker-preview div {
    height: 30px;
    font-size: 16px;
    line-height: 160%;
}

.colorpicker-saturation .colorpicker-guide {
    height: 10px;
    width: 10px;
    border-radius: 10px;
    margin: -5px 0 0 -5px;
}


/* Top Menu Buttons*/

.ImgShow {
    color: white;
    background: linear-gradient(#C48C31, #7B5921);
}

.ImgShow:active {
    background: linear-gradient(0deg, #C48C31, #7B5921);
}

.CurrentTime {
    color: white;
    background: linear-gradient(#E3002C, #94001D);
}

.CurrentTime:active {
    background: linear-gradient(0deg, #E3002C, #94001D);
}

.PickerMenu {
    background: linear-gradient(#008659, #005337);
    color: white;
}

.PickerMenu:active {
    background: linear-gradient(0deg, #008659, #005337);
}

.Notice {
    background: linear-gradient(#F8B61C, #966F15);
    color: white;
}

.Notice:active {
    background: linear-gradient(0deg, #F8B61C, #966F15);
}

.TimerCss {
    background: linear-gradient(#0070BD, #003D67);
    color: white;
}

.TimerCss:active {
    background: linear-gradient(0deg, #0070BD, #003D67);
}

cyr {
    font-family: Segoe UI;
}


/* Menu Properties*/

.menuItems {
    padding: 3vh 4vw;
    font-family: Noto Sans Thin;
    font-size: 3vh;
    transition: 0.3s;
    cursor: pointer;
    color: #CCC;
    width: 30vw;
    background: none;
    text-align: left;
    letter-spacing: 0.2vw;
}

.menuItems:hover {
    background: #444;
    color: #FFF;
}

.menuItems:active {
    background: #000;
    color: #AAA;
    /*border: 1px solid #FFF;*/
}

.NYCountdown {
    padding: 3vh 3.6vw;
    font-family: 'Noto Sans Bold';
    font-size: 3.5vh;
    color: #FFF;
    width: 27vw;
    /*background: url('windowslight.jpg');
	background-size: 30vw auto;*/
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    box-shadow: 1px 1px 30px 0px #333;
    cursor: pointer;
}

.NYNum {
    font-family: 'Inter';
    padding: 0 0.8vw;
    font-size: 4.5vh;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.MaterialYou {
    padding: 10px 40px;
    font-family: 'Noto Sans Light';
    font-size: 4vh;
    color: rgb(0, 0, 0);
    margin: 2px 6px;
    border-radius: 100vh;
    background: rgb(96, 255, 176);
    box-shadow: 0px 1px 3px 0px #4a4a4a;
    border: 1px solid #4a4a4a;
    transition: 0.2s;
    opacity: 0.9;
}

.MaterialYou:active {
    background: rgb(226, 226, 226);
    transform: scale(0.8);
    transition: 0s;
}

.red {
    background: rgb(255, 184, 184);
}

.orange {
    background: rgb(255, 223, 184);
}

.hexBtn{
    font-size: 4.5vh;
    width: 15%;
    border: 1px solid #333;
    background: none;
    color: white;
    padding: 5px 0;
    transition: 0.2s;
    font-family: "Cascadia Code","Consolas","微軟正黑體","Microsoft Jhenghei UI";
}

/*switch*/


/* The switch - the box around the slider */

.switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 40px;
}


/* Hide default HTML checkbox */

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}


/* The slider */

.slider {
    position: absolute;
    cursor: pointer;
    top: 14px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: none;
    border: 1px solid rgb(255, 255, 255);
    -webkit-transition: .1s;
    transition: .1s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 5px;
    bottom: 5px;
    background-color: rgb(255, 255, 255);
    -webkit-transition: .1s;
    transition: .1s;
}

input:checked+.slider {
    background-color: #3260ad;
    border: 1px solid #3260ad;
}

input:active+.slider {
    box-shadow: 0 0 1px rgb(255, 255, 255);
    background-color: white;
}

input:checked+.slider:before {
    -webkit-transform: translateX(30px);
    -ms-transform: translateX(30px);
    transform: translateX(30px);
}


/* Rounded sliders */

.slider.round {
    border-radius: 80px;
}

.slider.round:before {
    border-radius: 50%;
}


.rollcall {
    background: rgba(255, 255, 255, 0.11);
}


.long{
    width: 30.8%
}
.hexBtn:active{
    background: #2e2e2e;
}
.long:active{
    background: rgb(63, 0, 14);
}

select option {
  background-color: #333;
  color: #fff;
}
