/*
 * Graf wall - controller
 */

/* normalise */
  html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
  html, button, input, select, textarea { font-family: sans-serif; color: #222; }
  body { margin: 0; font-size: 1em; line-height: 1.4; }


/* site */
  html,
  body {
    width:100%;
    height:100%;
    margin:0;
    padding:0;
    overflow:hidden;
  }

  body {
    background:#aaa;
    font-size:16px;
  }

  h1,
  h2 {
    font-family: 'ComicZineOTRegular', Georgia, sans-serif;
    color:#000;
    font-weight:normal;
    font-size:2.0em;
    margin:0;
  }

  h1 {
    width:100%;
    text-align:center;
    background:#f60;
    font-size:2.4em;
    line-height:1;
    font-weight:normal;
    padding:0;
    margin:0 auto 0.25em auto;
    box-shadow: 2px 2px 5px #888;

    -webkit-transition : all 0.25s ease-out;
    -moz-transition    : all 0.25s ease-out;
    -ms-transition     : all 0.25s ease-out;
    -o-transition      : all 0.25s ease-out;
    transition         : all 0.25s ease-out;
  }

  p {
    margin:0;
  }

  #drawhere {
    width:95%;
    height:40%;
    display:table;
    margin:0 auto;
    border:1px solid #f90;
    border-radius:5px;
    background:#fff;
    cursor:pointer;
  }

  #drawhere,
  #drawhere * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
  }

  #drawhere h2 {
    display:table-cell;
    vertical-align:middle;
    text-align:center;
  }

  label {
    display:block;
    float:left;
    width:50%;
  }

  p#error {
    clear:both;
    width:90%;
    background:#f90;
    color:#fff;
    font-weight:bold;
    font-style:italic;
    padding:5px 2.5%;
    border-radius:10px;
    margin:20px auto;
    font-size:1em;
  }

  /* controls */
    #controls {
      width:95%;
      margin:0 auto;
    }

    .control {
      float:left;
      width:50%;
    }

    /* controls - colour */



    /* controls - slider */
      .slider-block {
        position:relative;
      }

      .slider {
        position:relative;
        width:90%;
        height:15px;
        background:#eee;
        border-radius:15px;
      }

      .noUiSlider { /* bar BG */
        width:100%;
        height:100%;
      }

      .noUi-midBar { /* bar fill */
        height:100%;
        z-index:0;
        background:#f90;
        border-radius:10px;
      }

      .noUi-handle > .handle { /* handle */
        position:absolute;
        top:-15px;
        left:-22px;
        z-index:5;
        width: 40px;
        height: 40px;
        /*border:1px dotted #f90;*/
      }

      .noUi-handle > .handle span { /* handle */
        display:block;
        background: #fff;
        border-radius: 15px;
        border: 2px solid #f60;
        width:15px;
        height:15px;
        margin:13px;
        cursor:pointer;
      }

      .noUi-handle > div:hover span,
      .noUi-handle > div.noUi-activeHandle span { /* handle in use */
        background:#ccc;
      }

      .slider-block #size {
        position:absolute;
        right:0;
        top:-5px;
        color:#d37316;
        font-size:1em;
        background:transparent;
        border:none;
        width:10%;
        text-align:right;
      }

      .slider-block .scale-low,
      .slider-block .scale-high {
        position:absolute;
        left:0;
        top:20px;
        margin:0;
        font-size:0.9em;
      }

      .slider-block .scale-high {
        left:auto;
        right:10%;
      }


/*
.rotate {
  display:inline-block;
  -webkit-animation-name: rotate;
  -webkit-animation-duration: 1s;
  -webkit-animation-direction: alternate;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
}
*/
/*
@-webkit-keyframes rotate {
  from { -webkit-transform:rotate(-15deg); }
  to   { -webkit-transform:rotate(15deg); }
}
*/



/*
 * mobile, landscape
 */
@media only screen and (max-height: 320px) {
  h1 {
    font-size:1.5em;
  }
}


@media only screen and (min-width: 35em) {


}


/* boilerplate */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }
