/* CSS for the VTSHOW Telidon Videotex Emulator */


:root {
    --theme-color-dark-yellow: #7C680E;
    --theme-color-yellow: #fee516;
    --theme-color-medium-grey: #333333
}

body {
    margin: 0;
    background-color: var(--theme-color-medium-grey);
}

:fullscreen {
    background-color: var(--theme-color-medium-grey);
}

canvas {
    width: 640px;
    height: 480px;
}

#jsdos {
    display: inline;
    width: 640px;
}

#vtContainer {
    position:absolute;
    top: 100px;
    left: 20px; 
    z-index: 1; 
    width: 640px; 
    height: 480px;
    background-color: black;
}

#pageTitle {
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Arial, Hevetica, san-serif;
    font-size: 30px;
    height: 40px;
    color: orange;
}

#vtControls {
    position: absolute;
    top: 600px;
    left: 20px;
}

#vtMonitor {
    position: absolute;
    top: 100px;
    left: 680px;
    width: 420px;
    height: 440px;
    background-color: black;
    color: #00ff00;
    padding: 20px;
    border-radius: 8px;
}

#keypad {
    text-align: center;
    outline: 1px solid #222222;
    width: 622px;
    padding: 8px;
    min-height: 30px;
}

/*
#pauseButton {
    position: absolute;
    top: 8px;
    left: 570px;
}
*/

#console {
    position: absolute;
    top: 600px;
    left: 681px;
    text-align: right;
    outline: 1px solid #222222;
    width: 442px;
    padding: 8px;
}


#goFullscreen, #exitFullscreen {
    text-align: right;
    width: 632px;
    padding-right: 8px;
}

#exitFullscreen {
    display: none;
}

#statusWin, #statusWin2 {
    position: absolute;
    left: 20px;
    width: 640px;
    min-height: 40px;
    outline: 1px solid #222222;
    display: none;
}


#statusWin {
    top: 700px;
}

#statusWin2 {
    top: 750px;
}

.vtInputSquare {
    font-family: Arial,Helvetica,San-serif;
    font-style: bold;
    border: 1px solid black;
    padding: 4px 8px;
    background-color: #222222;
    color: orange;
}


.vtInputRect {
    border: 1px solid black;
    font-family: Arial,Helvetica,San-serif;
    font-style: bold;
    padding: 2px 6px;
    background-color: #222222;
    color: orange;
}


.vtInputSquare:hover, .vtInputRect:hover {
    outline-style: solid;
    outline-color: orange;
    outline-width: thin;
}

.vtInputSquare:, .vtInputRect:hover {
    outline-style: solid;
    outline-color: orange;
    outline-width: thin;
}


/* ---- Begin blinkenlights CSS ---- */


#enterBtnLabel {
    position: relative;
    left: -12px;
}

#rxBtnLabel, #txBtnLabel {
    position: relative;
    left: -2px;
}


.blinkenlights {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    width: 120px;
    position: absolute;
    top: 590px;
    left: 30px;
    font-size: 10px;
    line-height: 20px;
}

.bulb-off {
    border-radius: 50%;
    height: 10px;
    width: 10px;
    background: var(--theme-color-dark-yellow);
}

.bulb-on {
    border-radius: 50%;
    box-shadow: 0px 0px 1px 1px var(--theme-color-yellow);    
    height: 10px;
    width: 10px;
    background: var(--theme-color-yellow);
}

.bulb-flicker {
    border-radius: 50%;
    height: 10px;
    width: 10px;
    background: var(--theme-color-yellow);
    animation-duration: 0.1s;
    animation-iteration-count: infinite;
    animation-name: light-up-theme-color-yellow;
}


@keyframes light-up-theme-color-yellow {
    0% {
	box-shadow: 0px 0px 1px 1px var(--theme-color-yellow);
    }
    50% {
	box-shadow: 0px 0px 1px 1px var(--theme-color-yellow);
    }
    100% {
	box-shadow: none;
	background: var(--theme-color-dark-yellow);
    }
}
