html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 4.0vh!important;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    position: relative;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}




@font-face {
    font-family: pala-bold;
    src: url(../font/PalatinoLTStd-Bold.otf);
}

@font-face {
    font-family: pala-roman;
    src: url(../font/PalatinoLTStd-Roman.otf);
}





body{
    position: relative;
    background-color: #e5e9ed;
}


#loading-spinner{
    position: fixed;
    z-index: 10000;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background-color: #1a3468;
}


header{
    position: fixed;
    z-index: 10;
    left: 0px;
    top: 0px;
    right: 0px;
    height: 10vh;
    background-color: red;
}

header .topbar{
    display: block;
    height: 10vh;
    line-height: 10vh;
    background-color: #1a3468;
}

header .topbar #volume-button {
    display: none;
    visibility: collapse
    /*;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 10vh;
    height: 10vh;
    background-image: url(../icon/volume.svg);
    background-size: 65%;
    background-repeat: no-repeat;
    background-position: center;
    */
}

header .topbar #language-button{
    position: absolute;
    right: 0px;
    top: 0px;
    width: 10vh;
    height: 10vh;
    background-image: url(../icon/language.svg);
    background-size: 65%;
    background-repeat: no-repeat;
    background-position: center;
}

header .topbar h1{
    display: block;
    height: 10vh;
    line-height: 10vh;
    font-family: pala-bold, pala-roman, 'Times New Roman', Times, serif;
    font-size: 2.0rem!important;
    color: #ffffff;
    text-align: center;
    padding-top: 0.175rem;
    
}

/*
header .station-title{
    display: block;
    height: 10vh;
    background-color: #b9bdc1;
}

header .station-title h1{
    display: block;
    text-align: left;
    font-family: pala-bold, pala-roman, 'Times New Roman', Times, serif;
    font-size: 1.75rem;
    color: #1a3468;
    height: 5vh;
    line-height: 5vh;
    padding-top: 0.25rem;
    padding-left: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
}

header .station-title h2{
    display: block;
    text-align: left;
    font-family: pala-roman, 'Times New Roman', Times, serif;
    font-size: 1.75rem;
    color: #1a3468;
    height: 5vh;
    line-height: 5vh;
    margin-top: -0.25rem;
    padding-left: 0.5rem;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
}
*/









#volume-popup,
#language-popup{
    z-index: 20000;
    position: fixed;
    visibility: collapse;
    left: 0px;
    top: opx;
    right: 0px;
    bottom: 0px;
    width: 100vw;
    height: 100vh;
    background-color:#1a3468;
}

.volume-popup-panel,
.language-popup-panel{
    position: relative;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
    background-color: #1a3468;
}

#popup-volume-button {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 10vh;
    height: 10vh;
    background-image: url(../icon/volume.svg);
    background-size: 65%;
    background-repeat: no-repeat;
    background-position: center;
}

#volume-popup input{
    position: absolute;
    top: 30vh;
    left: 1.0rem;
    right: 1.0rem;
}

.slider {
    -webkit-appearance: none;
    height: 15px;
    border-radius: 5px;   
    background: #d3d3d3;
    outline: none;
    opacity: 1.0;
  }
  
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%; 
    background:#ffffff;
    cursor: pointer;
  }
  
  .slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
  }




.language-popup-panel{
    padding-top: 30vh;
}

  #popup-language-button{
    position: fixed;
    right: 0px;
    top: 0px;
    width: 10vh;
    height: 10vh;
    background-image: url(../icon/language.svg);
    background-size: 65%;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
  }

  .set-language-button{
    display: block;
    height: 1.5rem;
    line-height: 1.5rem;
    color:#1a3468;
    background-color: #d3d3d3;
    border-radius: 0.5rem;
    margin: 0.5rem;
    font-family: pala-bold, 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    padding: 1.0rem;
  }









main{
    margin-top: 10vh;
    margin-bottom: 20vh;
    display: block;
    padding: 0.5rem;
}
main::after{
    content: '';
    display: block;
    clear: both;
}


main article{
    display: block;
}
main article::after{
    content: '';
    display: block;
    clear: both;
}


main article h1{
    display: block;
    text-align: left;
    font-family: pala-bold, pala-roman, 'Times New Roman', Times, serif;
    font-size: 2.0rem;
    /*color: #1a3468;*/
    color: #3f3f3f;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

main article h2{
    display: block;
    text-align: left;
    font-family: pala-roman, 'Times New Roman', Times, serif;
    font-size: 2.0rem;
    color: #3f3f3f;
    margin-bottom: 1.0rem;
}



main article .station-image{
    width: 100%;
    display: none;
    visibility: collapse;
}

main article p{
    display: block;
    margin-top: 1.0rem;
    line-height: 1.25rem;
    font-family: pala-roman, 'Times New Roman', Times, serif;
    font-size: 1.75rem;
    color: #1a3468;
}










footer{
    position: fixed;
    z-index: 10;
    left: 0px;
    bottom: 0px;
    right: 0px;
    height: 25vw;
    background-color: #1a3468;
}


footer .button{
    box-sizing: border-box;
    position: absolute;
    bottom: 2.5vw;
    width: 20vw;
    height: 20vw;
    /*border-radius: 100%;*/
    background-color: #1a3468;
    border-color: #1a3468;
    border-width: 0.5vh;
    border-style: none;
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
}

footer .go-back{
    visibility: hidden;
    left: 2.5vw;
    background-image: url(../icon/rewind.svg);
}

footer .select-station{
    visibility: hidden;
    left: 40vw;
    bottom: 2.5vw;
    background-image: url(../icon/dialpad.svg);
    background-size: 65%;
}

footer .play-pause{
    visibility: hidden;
    right: 2.5vw;
    background-image: url(../icon/play-pause.svg);
    background-size: 100%;
}










nav .number-pad-inner{
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

nav{
    font-family: pala-roman, 'Times New Roman', Times, serif;
    z-index: 1000;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100vW;
    height: 100vh;
    background-color: #1a3468;
    color: #ffffff;
    transition: all 0.5s;
}

nav h2{
    height: 10.0vh;
    line-height: 10.0vh;
    font-family: pala-roman, 'Times New Roman', Times, serif;
    text-align: center;
    display: block;
    font-size: 1.5rem;
}

nav h1{
    height: 10.0vh;
    line-height: 10.0vh;
    font-family: pala-bold, 'Times New Roman', Times, serif;
    text-align: center;
    display: block;
    font-size: 3.0rem!important;
    margin-top: 1.0rem;
}

nav .close-button{
    position: absolute;
    top: 2.5vh;
    right: 2.5vh;
    width: 5.0vh;
    height: 5.0vh;
    /*border-radius: 100%;*/
    /*background-color: #ffffff;*/
    background-image: url(../icon/close.svg);
    background-position: center;
    background-size: 100%;
}

.number-pad-hidden{
    top: 100vh!important;
}



.number-pad-buttons-parent{
    position: absolute;
    display: block;
    left: 0px;
    right: 0px;
    bottom: 0px;
    height: auto;
    padding-bottom: 15vh;
}
.number-pad-buttons-parent::after{
    content: '';
    display: block;
    clear: both;
}




.number-pad-buttons{
    display: table;
    bottom: 2.5vh!important;
    width: auto;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

nav .number-pad-button{
    display: inline-block;
    box-sizing: border-box;
    width: 12vh;
    height: 12vh;
    margin: 1.0vh;
    border-radius: 100%;
    border-style: solid;
    border-width: 0.15rem;
    border-color: #ffffff;
    font-family: pala-bold, 'Times New Roman', Times, serif;
    font-size: 2.5rem;
    line-height:  12vh;
    text-align: center;
}

#npbB{
    color: rgb(211, 2, 2)!important;
}

#npbA{
    color: rgb(231, 192, 17)!important;
}





