* {
  margin: 0;
  padding: 0;
  font-family: Calibri, Helvetica;
  font-size: 13px;
  color: #444;
}

#tt-preloader {
  background: #FFF;
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9999;
}

#pre-status, .preload-placeholder {
  background-image: url(../images/preloader.gif);
  background-position: center;
  background-repeat: no-repeat;
  height: 200px;
  left: 50%;
  margin: -100px 0 0 -100px;
  position: absolute;
  top: 50%;
  width: 200px;
}

.preload-placeholder {
  background: none;
  left: 0;
  margin: 0;
  text-align: center;
  top: 65%;
}

*:[not:input] {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  width: 100%;
  height: 100%;
  /*overflow: hidden;*/
}

#canvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  z-index: 1;
}

.tree-node {
  position: fixed;
  -top: 0;
  -left: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  z-index: 100;
  opacity: 1;
  cursor: pointer;
  -text-align: center;
  padding-left: 8px;
  padding-top: 3px;
  font-size: 16px;
  line-height: 12px;
  -background: #fff;
  color: #444;
  text-decoration: none;
  -moz-transition: color .5s;
  -webkit-transition: color .5s;
  -o-transition: color .5s;
  transition: color .5s;
}

.tree-node:hover {
  font-weight: bold;
  text-decoration: none;
  color: #444;
}

.tree-node.open {
  -color: #00f;
  font-weight: bold;
  color: #000;
}

#parent {
  font-size: 21px;
  background: "#fff";
  line-height: 10px;
  top: 100px;
  left: 90px;
}

#search, #clearsearch {
  box-shadow: none;
  font-size: 12px !important;
  display: block !important;
  position: fixed !important;
  background: "#fff" !important;
  line-height: 10px !important;
  top: 0 !important;
  left: 0 !important;
  margin-top: 130px !important;
  margin-left: 98px !important;
  width: 130px !important;
  padding-right: 20px !important;
  z-index: 100 !important;
  -opacity: .5 !important;
  border: none;
  -moz-transition: opacity .5s;
  -webkit-transition: opacity .5s;
  -o-transition: opacity .5s;
  transition: opacity .5s;
  height: 20px !important;
  opacity: 0;
}

#clearsearch {
  margin-left: 235px !important;
  width: 20px !important;
  text-align: center !important;
  cursor: pointer;
  background: #fff;
  font-weight: bold;
  padding: 0 !important;
}

#parent.open {
  color: #000;
}

a {
  cursor: pointer;
  text-decoration: none;
}

#link-box {
  position: fixed;
  bottom: 0px;
  left: 0px;
  right: 0px;
  top: 0px;
  overflow-y: hidden;
  overflow-x: scroll;
  display: none;
  z-index: 1;
}

.link a:not(.search-result) {
  text-shadow: 0px 0 5px white;
}

#link-box .link {
  letter-spacing: 1px;
  width: 200px;
  position: absolute;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  overflow: visible;
  text-overflow: ellipsis;
  line-height: 18px;
  -moz-transition: all .5s ease;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
  padding-right: 100px;
}

.bullet, .sbullet {
  -moz-transition: all 1s;
  -webkit-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
  background: #aaa;
  float: right;
  width: 10px;
  height: 10px;
  margin-top: 2px;
  border-radius: 20px;
  opacity: 1;
}

.sbullet {
  margin-top: 3px;
  width: 7px;
  height: 7px;
}

.open .bullet {
  transform: scale(.3);
  -moz-transform: scale(.3);
  -webkit-transform: scale(.3);
}

.open .sbullet {
  transform: scale(.3);
  -moz-transform: scale(.3);
  -webkit-transform: scale(.3);
}

.highlighted {
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
  -color: #33a;
}

#link-box a:hover {
  font-weight: bold;
}

.highlighted :hover {
  color: #66f !important;
}

.search-result {
  text-shadow: 0 0 2px #777;
  font-size: 13px;
  font-weight: bolder;
  letter-spacing: 1px;
}

.search-result.highlighted {
  -text-shadow: 0 0 5px #ff0;
  color: #900;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
}

#article.open, .folder3.highlighted {
  color: #43aa34;
}

#painting.open, .folder1.highlighted {
  color: #c51e1e;
}

#thought.open, .folder4.highlighted {
  color: #09afbe;
}

#workshop.open, .folder5.highlighted {
  color: #4a28bb;
}

#news.open, .folder6.highlighted {
  color: #ec6912;
}

#news.open, .folder7.highlighted {
  color: #43aa34;
}

#video.open, .folder2.highlighted {
  color: #2f55fd;
}

#editorModal, #editorModal2, #emailModal {
  width: 900px;
  -height: 60%;
  top: 0;
  left: 50%;
  margin-top: 5%;
  margin-left: -450px;
}

#footer {
  position: fixed;
  left: 0;
  right: 10px;
  bottom: 7px;
  height: 20px;
  font-size: 90%;
  color: #999;
  text-align: right;
}

textarea, input {
  outline: none;
}

ttl {
  color: #777;
}

#first, #last, #email, #subscribe {
  background: #fff !important;
  border: none !important;
  font-size: 12px !important;
  color: #888 !important;
  padding: 0 !important;
  box-shadow: none !important;
  margin-bottom: 5px !important;
}

#subscribe {
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

#subscribe:hover {
  color: #555;
}

#popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 9998;
  -display: none;
  padding: 0px;
  overflow: hidden;
  background: #fff url('loading.gif') center no-repeat;
}

#popup * {
  font-size: 17px;
}

#close-button {
  position: fixed;
  top: 5%;
  right: 5%;
  padding: 0 10px 6px 10px;
  color: #bbb;
  cursor: pointer;
  font-size: 20px;
  z-index: 100000;
}

#close-button:hover {
  color: #777;
}

#embedPreview {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 240px;
  margin-left: -160px;
  margin-top: -150px;
  background: #999;
}

.gallery-desc {
  position: absolute;
  right: 5%;
  top: 94%;
  height: auto;
  left: 6%;
  text-align: left;
  z-index: 100;
}

#next-button, #prev-button {
  position: absolute;
  top: 50%;
  left: 5%;
  padding: 2px 10px 4px 10px;
  color: #bbb;
  cursor: pointer;
  font-size: 20px;
  z-index: 1000000;
}

#next-button:hover, #prev-button:hover {
  -font-weight: bold;
  color: #777;
}

#next-button {
  right: 5%;
  left: auto;
}

.statement {
  display: none;
}

#popup-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 0;
  text-align: left;
  overflow-y: auto;
  opacity: 1;
  background: #fff;
}

.block {
  text-align: center;
  position: absolute;
  top: 0px;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
}

.block:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em;
  /* Adjusts for spacing */
}

.img-frame {
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  -moz-transition: all 1s;
  -webkit-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
  color: #888;
  font-size: 80% !important;
  min-width: 50px;
  min-height: 50px;
}

.img-frame img {
  margin: auto;
  max-height: 80%;
  max-width: 80%;
  margin-bottom: 10px;
}

.related {
  color: #aaa;
  font-size: 13px !important;
  text-decoration: none;
}

.related:hover {
  color: #333;
  text-decoration: none;
}

.mainpic {
  display: none;
  font-family: arial, serif;
}

@media (min-width: 640px) {
  .mainpic {
    display: block;
    float: left;
    position: absolute;
    width: 162px;
    top: 20px;
    left: 98px;
    margin-left: 0;
    margin-top: 0;
    border-radius: 5px;
  }
  #search, #clearsearch {
    box-shadow: none;
    font-size: 12px !important;
    display: block !important;
    position: fixed !important;
    background: "#fff" !important;
    line-height: 10px !important;
    top: 0 !important;
    left: 0 !important;
    margin-top: 130px !important;
    margin-left: 311px !important;
    width: 130px !important;
    padding-right: 20px !important;
    z-index: 100 !important;
    border: none;
    -moz-transition: opacity .5s;
    -webkit-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
    height: 20px !important;
    opacity: 0;
  }
  #parent {
    font-size: 21px;
    background: "#fff";
    line-height: 10px;
    top: 100px;
    left: 303px;
  }
}

/*@media (min-width: 870px) {*/
  /*.mainpic {*/
    /*display: block;*/
    /*float: left;*/
    /*position: absolute;*/
    /*width: 180px;*/
    /*top: 30px;*/
    /*left: 98px;*/
    /*margin-left: 0;*/
    /*margin-top: 0;*/
    /*border-radius: 5px;*/
  /*}*/
/*}*/

@media (min-width: 1200px){
  .mainpic {
    display: block;
    float: left;
    position: absolute;
    width: 180px;
    top: 30px;
    left: 98px;
    margin-left: 0;
    margin-top: 0;
    border-radius: 5px;
  }
  #search, #clearsearch {
    box-shadow: none;
    font-size: 12px !important;
    display: block !important;
    position: fixed !important;
    background: "#fff" !important;
    line-height: 10px !important;
    top: 0 !important;
    left: 0 !important;
    margin-top: 130px !important;
    margin-left: 311px !important;
    width: 130px !important;
    padding-right: 20px !important;
    z-index: 100 !important;
    border: none;
    -moz-transition: opacity .5s;
    -webkit-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
    height: 20px !important;
    opacity: 0;
  }
  #parent {
    font-size: 21px;
    background: "#fff";
    line-height: 10px;
    top: 100px;
    left: 303px;
  }
}
