html {
    box-sizing: border-box;
    height: 100%;
    background: #ffffff;
    font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
}

html.dark {
    background: #333355;
}

.dark .welcome {
    color: #aaaaaa;
}


*, *:before, *:after { box-sizing: inherit; }
a {
    text-decoration: none;
    color: #0071ce;
}

input[type=text] {
    background-color: #f1f1f1;
}

.dark input[type=text] {
    background-color: #555577;
    color: #bbbbbb;
}

.dark  ::placeholder {
    color: #333355;

}

.dark-checkbox:before {
    content: "\360\237\214\231";
}

.fullscreen-checkbox {
    appearance: none;
    margin: 0;
    font-size: 2em;
}

.fullscreen-checkbox:before {
    content: '\26F6';
    color: #bbbbbb;
    position: absolute;
    margin-top: -.5em;
}

.dark .fullscreen-checkbox:before {
    color : #555555;
}
.fullscreen-checkbox:checked:before {
    /*    color : #555555; */
}

.dark-checkbox {
 appearance: none;
 margin: 0;
 font-size: 2em;
}

.dark-checkbox:before {
    content: "🌙";
}

.dark-checkbox:checked:before {
    content: "☀️";
    filter: hue-rotate(180deg) brightness(0.5);
}

.main {
    display : flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.anim-rotate {
    animation-duration: 10s;
    animation-name: rotate;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.load-progress {
    position: absolute;
    font-size: 28px;
    color: #aaaaaa;
    z-index: 1;
    width: 90%;
    height: 400px;
    overflow: auto;
    padding-top: 4em;
    text-align: center;
}

.controls {
    position: absolute;
    right : 30px;
    top: 30px;
    width: 450px;
    height: 490px;
    background: #f1f1f1;
    border: solid 1px #aaaaaa;
    overflow: hidden;
    opacity: .8;
    border-radius: 2px;
    user-select: none;
}

.controls.hidden {
    width : 60px;
    height: 60px;
    background: transparent;
    border-color: transparent;
    overflow: hidden;
}

.controls.hidden .component {
    visibility: hidden;
    pointer-events: none;
    user-select: none;
}

.slider-main {
    display: inline-block;
    background: #dddddd;
    border: solid 1px transparent;
    border-radius: 3px;
    position: relative;
}

.slider-thumb {
    display: inline-block;
    background: #aaaaaa;
    border: solid 1px #888888;
    border-radius: 5px;
    position: absolute;
}

.slider-thumb:hover {
    background: #bbbbbb;
    border: solid 1px #aaaaaa;
}

.plan {
    margin-left: auto;
    margin-right: auto;
    width: 65%;
    display: inline-block;
    touch-action: none;
}

.room-wall {
    stroke: #3d7700;
    stroke-width: 1;
    stroke-linecap : square;
}

.room-window {
    stroke: #ffffff;
    stroke-width: 1;
    stroke-linecap : square;
    stroke-opacity: .8;
}

.room-wall-dash {
    stroke: #3d7700;
    stroke-width: 1;
    stroke-linecap : square;
    stroke-dasharray: 1 2 1;
}

.rose-r1 {
    stroke: #555555;
    stroke-width: .1;
    stroke-linecap: butt;
    fill: #ffffff;
}
.rose-r2 {
    stroke: #555555;
    stroke-width: .1;
    stroke-linecap: butt;
    fill: #8888ff;
}

.rose-c1 {
    stroke: #555555;
    stroke-width: 1;
    fill: none;
}

.rose-c2 {
    stroke: #555555;
    stroke-width: .5;
    fill: none;
}

.rose-text {
    text-anchor: middle;
    font-size: 5px;
    user-select: none;
}

.marked-potential {
    fill : rgb(100, 204, 170);
    stroke : none;
}

.marked-potential:hover {
    opacity: 0.4;
    fill : #0000ff;
    stroke : none;
    filter: blur(2px);
}
.marked-block {
    opacity: 0.7;
    fill : rgba(0,0,255, .5);
    stroke : none;
    filter: blur(2px);
}

.marked-text {
    text-anchor: middle;
    font-size: 5px;
    fill: black;
    user-select: none;
}

.marked-text-extra {
    text-anchor: middle;
    font-size: 4px;
    fill: black;
    user-select: none;
}

.marked-arrow {
    stroke: #888888;
    stroke-width: .1;
    stroke-linejoin: round;
    stroke-linecap: butt;
    /* marker-end: url(#arrowhead); */
    fill : #555555;
}


.cursor {
    stroke: none;
    stroke-width : .1;
    fill: #ffff00;
    fill-opacity: .5;
    pointer-events: none;
}

.large {

}

button.large {
    padding: .2em .5em .2em .5em;
    font-size : 2em;
}

input[type=text].large {
    padding: .2em .5em .2em .5em;
    font-size : 2em;
    border-radius : 8px;
    border : 1px solid transparent;
}

select.large {
    padding: .2em .5em .2em .5em;
    font-size : 2em;
}


dialog {
    border-radius : 8px;
    border : 1px solid transparent;
}

.dark dialog input[type=text] {
    background-color: inherit;
    border : solid;
    border-radius : 8px;
    color: #333333;
}

.dark dialog.large input[type=text].large {
    background-color: inherit;
    border: solid;
    border-radius: 8px;
    color: #333333;
}

.dark dialog ::placeholder {
    color: #cccccc;
}

.dark dialog button {
    background-color: inherit;
    border : solid;
}

.dark dialog button.large {
    background-color: inherit;
    border : solid;
}

@media print {
    #sign-out-button {
        opacity: 0;
        visibility: hidden;
    }

    .controls {
        opacity: 0;
        visibility: hidden;
    }

    ::placeholder {
        opacity: 0;
        visibility: hidden;
    }

    .thumb-wrap {
        opacity: 0;
        visibility: hidden;
    }

    .no-print {
        opacity: 0;
        visibility: hidden;
    }

}