/* F O N T E S */
@font-face {
    font-family: "Combined";
    src: url('/typo/Combined/combined.otf');  
    font-style:   normal;
    font-weight:  normal;
}

@font-face {
    font-family: 'combinedregular';
    src: url('/typo/Combined/web/combined.eot');
    src: url('/typo/Combined/web/combined.eot?#iefix') format('embedded-opentype'),
         url('/typo/Combined/web/combined.woff2') format('woff2'),
         url('/typo/Combined/web/combined.woff') format('woff'),
         url('/typo/Combined/web/combined.ttf') format('truetype'),
         url('/typo/Combined/web/combined.svg#combinedregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'wremena';
    src: url('typo/Wremema/webfont/wremena_bold-webfont.woff2') format('woff2'),
         url('typo/Wremema/webfont/wremena_bold-webfont.woff') format('woff'),
         url('typo/Wremema/webfont/wremena_bold-webfont.ttf') format('truetype'),
         url('typo/Wremema/webfont/wremena_bold-webfont.svg#wremenabold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'wremena';
    src: url('typo/Wremema/webfont/wremena_regular-webfont.woff2') format('woff2'),
         url('typo/Wremema/webfont/wremena_regular-webfont.woff') format('woff'),
         url('typo/Wremema/webfont/wremena_regular-webfont.ttf') format('truetype'),
         url('typo/Wremema/webfont/wremena_regular-webfont.svg#wremenaregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'wremena';
    src: url('typo/Wremema/webfont/wremena_light-webfont.woff2') format('woff2'),
         url('typo/Wremema/webfont/wremena_light-webfont.woff') format('woff'),
         url('typo/Wremema/webfont/wremena_light-webfont.ttf') format('truetype'),
         url('typo/Wremema/webfont/wremena_light-webfont.svg#wremenalight') format('svg');
    font-weight: normal;
    font-style: 200;
}

@font-face {
  font-family: 'Coupeur Monospace Bold';
  src: url('/typo/Coupeur/webfont/CoupeurMonospace-Bold.eot'); /* IE9 Compat Modes */
  src: url('/typo/Coupeur/webfont/CoupeurMonospace-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/typo/Coupeur/webfont/CoupeurMonospace-Bold.woff') format('woff'), /* Modern Browsers */
       url('/typo/Coupeur/webfont/CoupeurMonospace-Bold.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('/typo/Coupeur/webfont/CoupeurMonospace-Bold.svg#fcf36b8f65c0f0737cd36a2be6922659') format('svg'); /* Legacy iOS */
       
  font-style:   normal;
  font-weight:  700;
}

@font-face {
  font-family: 'Coupeur Monospace Normal';
  src: url('/typo/Coupeur/webfont/CoupeurMonospace-Normal.eot'); /* IE9 Compat Modes */
  src: url('/typo/Coupeur/webfont/CoupeurMonospace-Normal.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/typo/Coupeur/webfont/CoupeurMonospace-Normal.woff') format('woff'), /* Modern Browsers */
       url('/typo/Coupeur/webfont/CoupeurMonospace-Normal.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('/typo/Coupeur/webfont/CoupeurMonospace-Normal.svg#4b219f539d302a6ffd9fd41e2da16172') format('svg'); /* Legacy iOS */
       
  font-style:   normal;
  font-weight:  400;
}



body {
    margin: 0;
    padding: 0;
    background: #f1f2f3;
    overflow: hidden;
}


.links line {
  /*stroke: #aaa;*/
  stroke: none;
}

.links line.active2 {
    stroke: red;
}

.links line.history {
    stroke: purple;
}

.active {
    stroke: red;
}

.category circle {
    fill: yellow;
}

.web circle {
    fill: purple;
}

.news circle {
    fill: lightgray;
}

.template circle {
    fill: lightgreen;
}

.discussion circle {
    fill: aqua;
}



svg {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    font: 10px sans-serif;
}

svg g.page {
    cursor: pointer;
}

svg g.page text {
    visibility: hidden;
    fill: #222;
    font: 10px sans-serif;
}

svg g.active text {
    visibility: visible;
}

svg g.mouse text {
    visibility: visible;
}

use {
    fill: #EEE;
    stroke: black;
}

.active use {
    fill: #FFF;
    stroke: red;
}

.active text {
    stroke: black;
}

.active2 use {
    fill: #FFF;
    stroke: red;
}

.highlight use {
    fill: #FFF;
    stroke: orange;
}


/* Categories */

#cats {
    display: none;
    position: absolute;
    left: 0;
    bottom: 0;
}
#cats .ocontents {
    background: #FFFFFFDD;
    display: none;
    /*padding: 5px;*/
    /*box-sizing: border-box;*/
}
#cats.expanded .ocontents {
    display: block;
}

/* showall class */
#cats div.cat {
    display: none;
}
#cats div.cat span.spacing {
    display: none;
}
#cats div.cat.icon {
    display: block;
}
#cats.showall div.cat {
    display: block;
}
#cats.showall div.cat span.spacing {
    display: inline;
}

#cats .contents {
    overflow: auto;
    height: 50vh;
    min-width: 300px;
}
#cats .contents .scroll {}

#cats .botright {
    position: absolute;
    right: 0;
    bottom: 0;
}

#cats .botright .thumb {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 32px;
    background: #FFFFFFDD;
}
#cats div.cat span.icon {
    position: relative;
    top: 4px;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    margin-right: 4px;
}
#cats div.cat span.count {
    padding: 0px 3px;
    background: #DDD;
    color: #444;
    font-size: 10px;
    margin-left: 4px;
}
#cats div.cat a {
    color: black;
    text-decoration: none;
}




#page {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 160vh;
    text-align: center;
}
#page.touched {
    background: #444;
}
#bottompane {
    position: absolute;
    top: 60vh;
    left: 0; right: 0;
    height: 100vh;
    z-index: 2;
}
#bottompane #bottompage {
    position: absolute;
    left: 0; right: 0;
    margin: 0 auto;
    max-width: 800px;
    background: white;
    border: 1px solid #E6E6E6;
    border-radius: 10px;
    display: inline-block;
    width: 100%;
    height: 100%;
}
#bottompane #menubar {
    height: 48px;
    width: 100%;

}
#wikiframediv {
    position: absolute;
    left: 0; top: 48px;
    right: 0; bottom: 0;
}
#bottompane iframe {
    border: none;
    width: 100%;
    height: 100%;
}
#debug {
    width: 300px;
    font-size: 10px;
    height: 8em;
    overflow: auto;
    position: absolute; left: 10px; top: 10px; z-index:23
}

#searchinput { 
    min-width: 220px;
    font-family: "combinedregular";
    font-size: 11px;
}
#menubar {
    text-align: center;
}
#menubar img {
    position: relative;
    top: 10px;
}
