/* HIGHEST POSSIBLE ZINDEX: 2147483647 */

* {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
 }

html, body, #background {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  -webkit-text-size-adjust: none;
}

body {
  font-size: 16px;
  overflow: none;
  font-family: Helvetica, Arial, sans-serif;
}

#engagement-window, .screen {
  display: none;
  position:absolute;
  top:0;
  left:0;
  z-index:1;
  width:100%;
  height:100%;
}

.screen {
 background:rgba(12,12,12,.85);
}

#engagement-window.visible, .screen.visible {
  display: block !important;
}



input[disabled='disabled'] {
  background: #FFF  !important;
  opacity: 1;
}

.clear {
  clear: both;
}

/* Engagement View */


#chat-screen #header {
  z-index: 400;
  position: absolute;
  top: 0;
  left: 0;
  height: 32px;
  overflow: hidden;
  width: 100%;
  background: rgba(10,10,10, .9);
  -moz-user-select: none;
  -webkit-user-select: none;
}

#chat-screen.ios7 #header {
  top: auto;
  bottom: 0;
}

#chat-screen.ipad-chrome-ios7 #header {
  top: auto;
  bottom: 0;
  height: 60px;
  line-height: 60px;
}


#chat-screen #logo-wrapper {
  -webkit-transition : left .15s ease-in;
  left: 0;
  position: absolute;
  width: 100%;
  top: 0;
  text-align: center;
  line-height: 32px;
  height: 32px;
}
#chat-screen #logo-wrapper img {
  -moz-user-select: none;
  -webkit-user-select: none;
  vertical-align: middle;
}


#chat-screen.ipad-chrome-ios7 #logo-wrapper {
  line-height: 60px;
}

#chat-screen #logo-wrapper.slide-out {
  left: -100%;
}

#logo {
  vertical-align: middle;
}


#header-spacer {
  height: 32px;
  line-height: 32px;
  text-align: center;
}

#header-spacer .lp-logo {
height: 18px;
}


#chat-screen.ios7 #header-spacer, #header-spacer.hidden {
  margin-top: -32px;
}





#notification-txt {
  -webkit-transition: left .15s ease-in;
  white-space: nowrap;
  position: absolute;
  top: 0;
  text-align: center;
  width: 100%;
  line-height: 32px;
  color: #FFF;
  font-size: .9em;
  font-weight: bold;
  display: block;
  left: -100%;
}

#notification-txt.slide-in {
  left: 0;
}

#notification-txt span {
  width: 100%;
}
#notification-txt span.scroll {
  width: auto;
  position: absolute;
  top: 0;
  left: 10px;
}
#notification-txt span.scroll-overflow {
  -webkit-transition: left 2s linear;
}

#btns {
  margin: 10px 0;
  text-align: center;
  padding: 0 10px;
}

#btns button {
  opacity: .9;
  font-size: .7em;
  padding: 0 1.2em;
  text-align: center;
  height: 2.5em;
  box-shadow: inset 0 0 1px #FFF; 
  border: 1px solid #000;
  line-height: 2.5em;
  color: #FFF;
  font-weight: bold;
  margin: 0 5px;
  background: #222;
  border-radius: 0.5em;
  -moz-user-select: none;
  -webkit-user-select: none;
}

#btns #end {
  font-family: inherit;
  background: #841816;
  width: 100%;
  margin: 0;
  padding: 0;
}


#scroller-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: none;
  z-index: 300;
}
#side-click-target {
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 299;
  -moz-user-select: none;
  -webkit-user-select: none;
}

#scroller {
  width: 100%;
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 301;
}

.chat-wrapper {
  padding-top: 5px;
  float:left;
  padding-bottom: 5px;
  width: 100%;
}

.chat {
  padding: .7em .8em;
  border-radius: 10px;
  margin: 0 10px;
  color: #ccc;
  width: 70%;
  font-size: 16px !important;
  float: right;
  border: 1px solid #525252;
  line-height: 1.2em;
  position: relative;
  background: #363b3e;
}

.chat .text { 
  font-size: 16px  !important;
}

.chat .from {
  font-size: 16px !important;
}

.chat.agent {
  background: #4c4c4c;
  border: 1px solid #616161;
  float: left;
}

.chat .from {
  font-weight: bold;
  margin: 0 5px 0 0;
}

.chat a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #FFF;
  font-size: 1em;
  padding: .8em .6em;
  border-radius: 6px;
  border: 1px #1d2226 solid;
  display: block;
  text-decoration: none;
  text-shadow: 0 -1px #222;
  text-align: center;
  background: -webkit-linear-gradient(top, #62676B, #42474B);
  margin: 5px 0;
}

#chat-spacer {
  width : 100%;
  height: 400px;
}

#aria-end {
  position: absolute;
  z-index: 9999;
  top: 150px;
  right: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: none;
}

#aria-list{
/* HACK!
 * This has to be fixed, NOT absolute, or it breaks long
 * welcome msgs in 7.x.
 */
  position: fixed;
  top: 50px;
  left: 0;
  z-index: 1;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: none;
}

#aria-list * {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
}

#kbfix {
  height: 1px;
  width: 1px;
  border: 0;
  opacity: 0;
}

#hide-chat {
  position: absolute;
  bottom: 50px;
  background: -webkit-linear-gradient(top, rgba(201,201,201,0.15) 0%,rgba(61,61,61,0.15) 100%); 
  -webkit-box-shadow : 0 -1px 5px black;
  box-shadow: 0 -1px 5px black, 0px 2px 3px rgba(255, 255, 255, 0.1) inset;
  left: 0;
  width: 100%;
  height: 30px;
  text-align: center;
  line-height: 30px;
  /*-webkit-transition : bottom .5s ease-in;*/
  color: #999;
  text-shadow:0px 1px 1px #000;
  z-index: 9999;
  font-size: 15px;
  font-weight: bold;
  -moz-user-select: none;
  -webkit-user-select: none;
}
#chat-screen.port.ios7 #hide-chat {
  bottom: 82px;
}

#chat-screen.ipad-chrome-ios7 #hide-chat {
  display: none;
}

#hide-chat.hidden {
  bottom: 0;
}

@media all and (max-width: 480px) and (min-width: 400px) {
 #chat-box input {
  width: 350px;
}
}

#lookio-client-chat-box {
 display: block;
 width: 100%;
 z-index: 2000000500;
 overflow: hidden;
 height: 43px;
 position: absolute; /* fxed for device-wdith version otherwise absolute */
 left: 0;
 bottom: 0;
 padding: 4px 0;
 border-top: 1px solid #000;
 margin: 0;
 background: -webkit-linear-gradient(top, #333, #000);
 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#333), color-stop(100%,#000));
}

#lookio-client-chat-box.disabled {
  opacity: .7;
}

#lookio-client-chat-box input::-webkit-input-placeholder {
}

#lookio-client-chat-box input {
 color: #111;
 background: #FFF;
 left: 5px;
 position: relative;
    /*-webkit-backface-visibility: hidden;*/
 margin: 0 5px 0 0;
 border:1px solid black;
 box-shadow:0px 1px 0px rgba(255,255,255,0.2), inset 0px 0px 5px #ccc;
 width: 70%;
 padding: 5px;
 height:23px;
 border-radius:8px;
 margin-left:4px;
}

#lookio-client-chat-box button {
 color: #FFF;
 background: -webkit-linear-gradient(top, #555, #000); 
 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#555), color-stop(100%,#000));
 border: 1px solid #000;
 padding: 5px;
 box-shadow: 0 1px 0 #888;
 margin-left:4px;
 height:35px;
 box-shadow:0px 1px 2px rgba(255,255,255,0.1), 0px 1px 2px rgba(255,255,255,0.1) inset;
}

#lookio-client-chat-box  input, #lookio-client-chat-box  button {
   border-radius:6px;
   margin-top:2px;
   font : 16px/24px Helvetica, Arial, sans-serif;
}

#lookio-client-chat-box  button {
 font-weight: bold;
 width: 20%;
 font-size: 1em;
 /*font-weight:lighter;*/
 color:#e5e5e5;
}

#lookio-client-chat-box input[disabled='disabled'] {
 background: #FFF  !important;
 opacity: 1;
}


/* LOADING VIEW */
@-webkit-keyframes spin {0% {-webkit-transform: rotate(0deg);}100% { -webkit-transform: rotate(360deg);}}
#loading {

}

#loading .loader-body {
  height: 170px;
  top: 50%;
  position: absolute;
  width: 100%;
  margin-top: -100px;
}

#loading .text {
  text-align: center;
  color: #FFF;
  /* text-shadow: 0 1px #222; */
}

#loading .spinner-wrapper {
  text-align: center;
  margin-top: 25px;
}


#loading .spinner {
  width: 75px;
  height: 75px;
  max-width: 125px;
  max-height:125px;
}

#loading .spinner.spin {
  -webkit-animation: spin .75s infinite linear;
}



#loading .btn-wrapper {
  text-align: center;
}

@media (min-width:600px) {
  /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */

  .screen {
    background:-moz-linear-gradient(left, rgba(12,12,13,0.8) 0%, rgba(12,12,13,0.9) 100%);
    background:-webkit-gradient(linear, left top, right top, color-stop(0%,rgba(12,12,13,0.8)), color-stop(100%,rgba(12,12,13,0.9)));
    background:-webkit-linear-gradient(left, rgba(12,12,13,0.8) 0%,rgba(12,12,13,0.9) 100%);
    background:linear-gradient(to right, rgba(12,12,13,0.8) 0%,rgba(12,12,13,0.9) 100%);
  }
  #scroller-wrapper {
    width: 55%;
    right: 0;
  }
  #side-click-target {
    width: 50%;
    height: 100%;
  }
  #hide-chat {
    bottom: 60px;
  }
}
@media (min-width:801px) {
  /* tablet, landscape iPad, lo-res laptops ands desktops */
}
