@import url(https://fonts.googleapis.com/css?family=EB+Garamond|Droid+Serif|Playfair+Display|Open+Sans+Condensed:300);

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
h1 {font-size: 1.5em;margin-bottom: 10px;}
p{font-size: 1em;line-height: 1.3em;margin-bottom: 10px;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}

img {
    max-width: 100%;
    max-height: 100%;
}

.about-img {
    /*height: 50px;*/
    width: 50%;
    float: left;
    margin: 10px;
}

ul {
    list-style-position: inside;
}

#desktop {
    font-family: Arial, Helvetica, sans-serif;
    position: fixed;
    height: 100%;
    width: 100%;
    background: #CCC;
    /*background-image: url("../images/bg-retro.jpg");*/
    overflow: hidden;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.window {
    position: absolute;
    border: 2px solid #000;
    background: #EEE;
    border-radius: 5px;
    z-index: 1000;

    /*default position for all windows*/
    top: 5px;
    left: 5px;
}

.window.closed {
    display: none;
}

.window.minimizedWindow {
    display: none;
}

.window.fullSizeWindow {
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    border-radius: 0;
    bottom: 32px !important;
}

.fullSizeWindow .ui-resizable-handle {
    display: none;
}

.windowHeader {
    background-color: #b7b7e0;
    text-align: right;
    border-bottom: 2px solid #000;
    padding: 2px;
    cursor: move;
    height: 28px;
}

.activeWindow .windowHeader {
    background-color: #8888d6;
}

.windowHeader > span {
    display: inline-block;
    cursor: pointer;
    border: 2px solid #000;
    margin-left: 4px;
    font-size: 19px;
    padding: 2px 10px;
    font-family: "Arial Black", Gadget, sans-serif;
    border-radius: 5px;
    line-height: 20px;
    width: 12px;
    height: 20px;
    position: relative;
    overflow: hidden;
}

.windowHeader > span:hover {
    background: rgba(255, 255, 255, 0.3);
}

.windowHeader > span.winclose:hover {
    background: #f15454;
}

.windowHeader > span > span {
    display: inline-block;
    height: 8px;
    width: 10px;
    position: absolute;
    top: 6px;
    left: 10px;
}

.winminimize > span {
    border-bottom: 3px solid #000;
}

.winmaximize > span {
    border: 2px solid #000;
    border-top: 3px solid #000;
}

.winmaximize > span:nth-child(2) {
    display: none;
}

span.winsettings {
    float: left;
    padding: 2px 13px 2px 7px;
}

.fullSizeWindow .winmaximize > span:nth-child(1) {
    margin: 2px 0 0 -4px;
}

.fullSizeWindow .winmaximize > span:nth-child(2) {
    display: inline-block;
    top: 3px;
    left: 12px;
}

.wincontent {
    padding: 10px;
    min-width: 200px;
    min-height: 140px;
    border: 2px solid #000;
    margin: 2px;
    border-radius: 0 0 5px 5px;
    overflow: hidden;

    /*height: 100%;*/
    /*width: 100%;*/
}

.scrollable {
    height: 100%;
    width: 100%;
    /*overflow-y: auto;*/
    box-sizing: border-box;
}

.windowHeader > strong {
    float: left;
    margin: 0 3px 0 10px;
    line-height: 29px;
    font-size: 17px;
}

.taskbarPanel {
    display: inline-block;
    border: 2px solid #000;
    border-radius: 5px;
    line-height: 24px;
    margin: 2px 0 0 10px;
    font-size: 17px;
    padding: 0 10px;
    background: #CCC;
    font-weight: bold;
    cursor: pointer;
}

.taskbarPanel.activeTab {
    background: #FFF;
}

.taskbarPanel.minimizedTab {
    background: #AAA;
}

.taskbarPanel.minimizedTab:hover {
    background: #DDD;
}

.taskbarPanel.closed {
    display: none;
}

#taskbar {
    position: absolute;
    height: 32px;
    border-top: 2px solid #000;
    bottom: 0;
    left: 0;
    right: 0;
    background: #EEE;
}

#icons {
    margin-top: 20px;
    text-align: center;
    /*position: absolute;*/
    float:left;
    z-index: 10;
    /*top: 20px;*/
    /*left: 20px;*/

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 90%;
}

#icons a {
    display: block;
    cursor: pointer;
    padding: 0px 10px;
}

#icons p {
    margin: 0;
}

#icons i {
    font-size: 30px;
}

#icons a:hover {
    /*background: #000;*/
    color: #FFF;
}

@media screen and (max-height: 900px) {
    #icons a { float: left; }
}

#templateLink {
    position: absolute;
    display: inline-block;
    bottom: 10px;
    right: 20px;
    font-weight: bold;
    font-size: 15px;
    color: #30478c;
}

#piSym {
    display: none;
    position: absolute;
    bottom: 50px;
    left: 40px;
    font-weight: bold;
    font-size: 15px;
    color: #30478c;
    text-decoration: none;
    cursor: default;
}

.build-info {
    font-family: monospace;
    /*color: white;*/
    position: fixed;
    bottom: 40px;
    right: 1em;
    z-index: 1;
    opacity: 30%;
    transition: opacity 1s;
    cursor: default;
}

form {
    overflow: hidden;
}

/*Styles for desktop*/
@media screen and (min-width: 960px) {
    #piSym { display: inline-block; }

    #window0 { top: 30px; left: 175px; }
    #window1 { top: 50px; left: 195px; }
    #window2 { top: 70px; left: 215px; }
    #window3 { top: 90px; left: 235px; }

    #window0 .wincontent { width: 300px; height: 356px;}
    #window1 .wincontent { width: 400px; height: 400px;}
    #window2 .wincontent { width: 500px; height: 356px;}
    #window3 .wincontent { width: 500px; height: 456px;}

}

@media screen and (max-width: 960px) {
}

@media screen and (max-width: 770px) {
}

@media screen and (max-width: 540px) {
    #window0 { top: 100px; }
    #window0 .wincontent {
        width: auto;
        height: auto;
    }

    .hideOnMobile {
        display: none;
    }
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

.openWindow {
    margin: 10px;
}

.openWindow p {
    font-size: 12px;
}
