
    /* Some CSS styling */
    /* Preloading images does not use CSS because we have a javascript function for preloading */
    
    html {
       border: 0;
       padding: 0;
       margin: 0;
       height: 0;
    }

    #container {
      display: block;
      overflow: hidden;
      border: 0;
      margin: 0 auto;
      width: 650px;
      height: 580px;
      font-family: sans-serif;
      font-size: 18px;
      -ms-transform-origin: 0 0;
      -moz-transform-origin: 0 0;
      -o-transform-origin: 0 0;
      -webkit-transform-origin: 0 0;
      transform-origin: 0 0;
    }

    body {
      /* Prevent nearby text being highlighted when accidentally dragging mouse outside confines of the canvas */
      -webkit-touch-callout: none;
      -webkit-user-select: none;
      -khtml-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
       border: 0;
       padding: 0;
       margin: 0;
    }

    #loader {
      border-radius: 5px;
      padding: 20px;
      background-color: #eee;
      width: 600px;
      height: 504px;
      z-index: 1;
      font-size: 40px;
    }

    input {
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
    }

    input[type=number],
    select {
      width: 100%;
      padding: 12px 20px;
      margin: 8px 0;
      display: inline-block;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
      font-size: 40px;
    }

    input[type=button] {
      width: 100%;
      background-color: #5050d2;
      color: white;
      padding: 14px 20px;
      margin: 8px 0;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 40px;
    }

    input[type=button]:hover {
      background-color: #6161d7;
    }
    
    /* CHAT APP STYLING */
    .messageA, .messageB {
      border-radius: 25px;
      position: relative;
      margin: 10px 0;
      padding: 10px;
      width: 380px;
      font-size: 40px;
      display: inline-block;
      word-wrap: break-word;
    }
    
    .messageA {
      left: 20px;
      background-color: #caeaf0;
      opacity: 1;
      z-index: 2;
    }

    .messageB {
      left: 150px;
      background-color: #f8e896;
      opacity: 1;
      z-index: 2;
    }

    p.timestampA, p.timestampB {
      display: inline;
      position: relative;
      font-size: 35px;
      color: #fff;
    }
    
    p.timestampA {
      left: 30px;
      z-index: 2;
    }

    p.timestampB {
      left: 140px;
      z-index: 2;
    }
    
    #chatBox {
      width: 100%;
      height: 340px;
      overflow-y: scroll;
      border-style: solid;
      border-width: 1px;
      font-size: 40px;
      z-index: 2;
    }

    textarea {
      width: 460px;
      height: 150px;
      font-size: 40px;
      float: left;
      margin-left: 20px;
      padding: 10px 20px;
    }

    #reset {
      width: 100px;
      height: 100px;
      border: 1px solid black;
      float: right;
    }

    .reset1 {
      background: white;
      -webkit-transition: background 5s;
      /* For Safari 3.1 to 6.0 */
      transition: background 5s;
    }

    .reset2 {
      background: #c8e9ef;
    }
    
    #chat {
      display:none; 
      position: absolute; 
      left: 0; 
      bottom: 0; 
      width: 650px;
      /* background-color: rgba(80, 80, 200, .8); */
      z-index: 2;
    }
    
    #chatHeader {
      background-color: #5050d2;
      color: white;
      cursor: pointer;
      width: 100%;
      border: none;
      text-align: center;
      outline: none;
      font-size: 40px;
      top: 0;
      margin: 0;
      height: 80px;
      line-height: 80px;
    }
    
    #chatWindow {
      height: 0;
      -webkit-transition: .25s linear;
      -moz-transition: .25s linear;
      -ms-transition: .25s linear;
      -o-transition: .25s linear;
      transition: .25s linear;
      display: none;
      overflow: hidden;
    }
    
    #appContainer {
      width: 650px;
      height: 644px; 
      position: relative;
      display: block;
    }
    
    #chatTexting {
      width: 100%;
      height: 224px;
      background-color: #eee;
    }
    
    #chatBoxContainer {
      display: none;
      position: absolute;
      width: 100%;
      height: 341px;
      left: 0px;
      top: 80px;
      background-color: #000;
      opacity: 0.3;
      z-index: 1;
    }