@font-face {
    font-family: 'ubunturegular';
    src: url('type/ubuntu-r-webfont.eot');
    src: url('type/ubuntu-r-webfont.eot?#iefix') format('embedded-opentype'),
         url('type/ubuntu-r-webfont.woff') format('woff'),
         url('type/ubuntu-r-webfont.ttf') format('truetype'),
         url('type/ubuntu-r-webfont.svg#ubunturegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
  font-family: 'ubunturegular', arial, sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
}

/*container*/
#liveChat {
  display: block;
  position: absolute;
  height:   100%;
  width:   100%;
  margin:  0;
  padding: 0;
}

#content {
  position:     absolute;
  width:        100%;
  top:          130px;
  margin-left:  auto;
  margin-right: auto;
  padding-bottom: 50px;
}

/*header*/

#header {
  width:   100%;
  margin:  0;
  padding: 0;
}

#header .container {
  display: block;
  margin:  0 auto 0 auto;
  width:   545px;
}

#logo {
  float: left;
}

#map {
  float: left;
}

#liveAssistance {
  float: left;
  font-family: 'Arial', sans-serif;
  font-size:   18px;
  font-style:  italic;
}

#login {
  display:      block;
  position:     relative;
  width:        545px;
  top:          0px;
  margin-left:  auto;
  margin-right: auto;
}

#status_header {
  width: 90%;
  float: left;
  background: #f4f4f4;
  border: 1px #cdcdcd solid;
  padding: 2.5% 5%;
}

#message .container, #login .container, #feedback .container, #feedback2 .container, #thanks .container {
  background: #fff;
  margin: 0 auto;
}

#message .container {
  padding-bottom: 3em;
}

#login .container {
  width: 90%;
  height: 100%;
  float: left;
  background: #fff;
  border: 1px #ccc solid;
  padding: 4%;
}

#feedback .container, #feedback2 .container {
  width: 100%;
  height: 100%;
  background: #fff;
}

#thanks .container {
  height: 100%;
  float: left;
  border: 1px #ccc solid;
  padding: 6% 6% 8% 6%;
}

#login #name, #login #email, #login #pin, #login #question, #feedback #feedbackText, #authorizeModal .email, #authorizeModal .password, #client_email, #client_sub_email, #password {
  width: 97.5%;
  float: left;
  font-size: 18px;
  border: 1px #ccc solid;
  margin: 0 auto 30px auto;
  padding: 8px 0 8px 2%;
  clear: both;
}

#existingClientLink,
#toggle_subaccount,
#forgot_password,
 {
  float: right;
  text-decoration: underline;
}

#login #question {
  height: 120px;
  padding: 8px 0 8px 2%;
  resize: none;
}

#feedback #feedbackText {
  padding: .5em;
  padding-right: 0;
  resize: none;
}

#message h1, #feedback h1, #feedback2 h1, #thanks h1 {
  font-size: 2em;
  font-family: 'ubunturegular', arial, sans-serif;
  margin: 0 auto;
}

#message p, #feedback p, #feedback2 p, #thanks p {
  font-size: 1em;
  font-family: 'ubunturegular', arial, sans-serif;
  line-height: 1.6em;
  margin: 1em auto;
  clear: both;
}

#info_announce.auth_error {
  width: 95%;
  position: relative;
  color: #ff0000;
  padding: 2.5%;
}

.auth_error span,
.info_bubble {
  width: 100%;
  font-size: 1em;
  color: #ff0000;
  font-family: 'ubunturegular', arial, sans-serif;
  font-weight: 800;
  text-align: center;
  margin: 0;
}

.auth_error span {
  font-style: italic;
}

.info_bubble {
  color: #303030;
}

#announce_icon {
  float: left;
  margin-top: 2px;
}

.auth_error i {
  margin: 2px 6px 0 0;
}

.auth_error span{
  color: #303030;
  font-style: italic;
}

#info_announce {
  width: 95%;
  float: left;
  font-size: .8em;
  text-align: center;
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  padding: 2.5%;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  color: #303030;
  margin: 0 auto 30px auto;
}

#info_announce a {
  color: #00a2ff;
  text-decoration: underline;
  margin-left: 8px;
}

#loading {
  display: none;
  float: right;
  color: #28A4F9;
  font-size: 2.2em;
  position: relative;
  top: 2px;
  right: 10px;
}

#message p {
  padding-bottom: 1em;
}

#feedback #submitFeedback, #feedback #closeFeedback, #message a.button {
  width: 25%;
  float: right;
  color: #fff;
  font-size: 1em;
  background: #f37720;
  margin-top: 20px;
  padding: 8px 0;
  text-align: center;
}

#thanks .container #googlereview {
  display: none;
}

#thanks .container #googlereview #googlerating {
  text-align: center;
  margin-top: 40px;
}

#thanks .container #googlereview #googlerating a {
  width: 45%;
  color: #fff;
  background: #f37720;
  padding: 10px;
}

#closeFeedback i,
#submitFeedback i {
  margin-left: 10px;
}

#createChat {
  width: 30%;
  float: right;
  color: #fff;
  font-size: 1em;
  text-decoration: none;
  background: #505050;
  padding: 8px 0;
  text-align: center;
}

#feedback #submitFeedback {
  width: 25%;
  float: right;
  color: #fff;
  font-size: 1em;
  background: #f37720;
  margin-top: 20px;
  padding: 8px 0;
  text-align: center;
}

#feedback #closeFeedback {
  margin-right: 2em;
}

#login_form {
  float: left;
  width: 100%;
  margin: 0 auto;
}

#login_form label {
  float: left;
  margin-bottom: 6px;
  display: block;
}

#login #dept {
  width: 100%;
  float: left;
  list-style-type: none;
  text-align: center;
  text-decoration: none;
  margin: 0 auto 2em auto;
  padding: 0;
  clear: both;
}

#login #dept li {
  width: 32%;
  display: inline-block;
}

#login #dept li:nth-of-type(2) {
  margin: 0 2%;
}

#dept .sales a, #dept .support a, #dept .accounting a {
  width: 100%;
  font-size: 1em;
  font-family: 'ubunturegular', arial, sans-serif;
  color: #fff;
  text-decoration: none;
  background: #505050;
  padding: 8px 0;
  display: block;
}

#dept .sales input, #dept .support input, #dept .accounting input {
  display: none;
}

#createChat span, #submitFeedback span {
  display: none;
}

#message, #chat, #feedback, #feedback2, #thanks {
  display:      none;
  position:     relative;
  width:        545px;
  top:          0px;
  margin-left:  auto;
  margin-right: auto;
}

#feedback {
  background: #fff;
  padding: 2%;
}

#message {
  background: #fff;
  padding: 4%;
  display: block;
}

.status {
  display:              none;
  -moz-user-select:     -moz-none;
  -khtml-user-select:   none;
  -webkit-user-select:  none;
  user-select:          none;
  font-size:            14px;
}

/*chat content*/

#chat .container {
  height: 500px !important;
  width: 100%;
  font-size: 16px;
  font-family: 'ubunturegular', arial, sans-serif;
  background-color: #fff;
  display: block;
  position: relative;
  border: 1px #ccc solid;
  margin: 0 auto;
}

#scrollBox {
  width: 100%;
  display: block;
  position: absolute;
  top: 0px;
  max-height: 500px !important;
  overflow: auto;
}

#spinner {
  position: relative;
  display: block;
  top: 50%;
  left: 50%;
  z-index: 10;
}

#msgBox {
  width: 100%;
  float: left;
  display: block;
  word-wrap: break-word;
  padding-bottom: 1.5em;
}

#msgBox div.message {
  width: 100%;
  float: left;
  display: block;
  clear: both;
  margin: 0 0 1em 0;
  padding: 0;
}

.clientText,
.operatorText {
  width: 75%;
  float: right;
}

.client,
.operator {
  font-size: 1.2em;
  font-weight: 800;
  margin-bottom: .8em !important;
  border-bottom: 1px #ebebeb solid;
  padding-bottom: 6px !important;
}

.clientPic, .operatorPic, .ratingPic {
  display:  block;
  float:    left;

  width:    41px;
  height:   46px;

  background-image:      url('/images/client.png');
  background-repeat:     no-repeat;
  background-position-x: center;
  background-position-y: bottom;

  margin: 0 30px;
  border: 1px #ccc solid;

  vertical-align: middle;

}

.chatText {
  font-family:  'ubunturegular', arial, sans-serif;
  font-size:    16px;
  margin: 0;
  padding: 0 5% 0 0;
  vertical-align: top;
}

.chatText span {
  font-family:  'ubunturegular', arial, sans-serif;
  font-size:    16px;
}

.chatText p {
  margin:  0;
  padding: 0;
}

.parentText {
  vertical-align:    middle;
}

.info {
  /*width:        100%;*/
  width: 98%;
  font-size: 14px;
  text-align: center;
  padding: .8em 1%;
  display: block;
}

.message:nth-of-type(even) .info {
  background: #f5f5f5;
}

a {
  color: #f37720;
  text-decoration: none;
}

a:hover {
  color: #f37720;
  cursor: pointer;
  text-decoration: underline;
}

a:visited, a.visited {
  font-weight: 800;
}

img {
  border: 0px;
}

#inputBox {
  width: 96%;
  font-size: 16px;
  padding: 12px 2%;
  display: block;
  border: 1px #ccc solid;
  margin: 20px auto 0 auto;
  vertical-align: middle;
}

#toggleSound {
  width: 20%;
  float: right;
  color: #fff;
  font-size: 1em;
  background: #f37720;
  margin-top: 20px;
  padding: 8px 0;
  text-align: center;
}

#closeChat {
  width: 20%;
  float: left;
  color: #fff;
  font-size: 1em;
  background: #f37720;
  margin-top: 20px;
  padding: 8px 0;
  text-align: center;
}

#toggleSound i,
#closeChat i {
  margin-left: 10px;
}

.hidden {
  display:  block;
  position: absolute;
  width:    0px;
  height:   0px;
  top:      0px;
  height:   0px;
  opacity:  0.0;
}

#preload {
  display: none;
}

#progressBar {
  width: 260px;
  z-index: 10;
  position: absolute;
  bottom: -20px;
  margin-left: 122px;
}

#connectedBar {
  width: 260px;
  z-index: 10;
  position: absolute;
  bottom: -20px;
  margin-left: 122px;
}

#modal {
  display:  none;
  position: absolute;
  top:      0;
  left:     0;
  width:    100%;
  height:   100%;
  z-index:  100;
  background-color: rgba(0, 0, 0, .5);
}

#modal p {
  text-align: center;
}

#closeConfirmation, #authorizeModal {
  font-size: 1em;
  display:  none;
  position: relative;
  top:  50%;
  left: 50%;
  width:  360px;
  padding: 6px 12px 10px 12px;
  margin-left: -192px;
  background-color: #fff;
}

#authorizeModal {
  margin-top: -90px;
  height: 180px;
}

#authorizeModal .button {
  width: 100px;
}

#authorizeModal #submitAuth {
  float: left;
  margin-left: 40px;
}

#authorizeModal #cancelAuth {
  float: right;
  margin-right: 40px;
}

#authorizeModal .email, #authorizeModal .password {
  width: 300px;
  margin-bottom: 1em;
}

#closeConfirmation {
  margin-top: -45px;
  height: 90px;
}

#closeConfirmation .button {
  width: 100px;
}

#closeConfirmation #confirmClose {
  width: 50%;
  float: left;
  text-align: center;

}

#closeConfirmation #cancelClose {
  width: 50%;
  float: right;
  text-align: center;
}

.messageSpinner {
  display: block;
  float: right;
  width: 16px;
  height: 16px;
  background-image: url('/images/spinner.gif');
}

textarea, input {
  font-family: 'ubunturegular', arial, sans-serif;
}

#feedback .ratings {
  list-style-type: none;
  display: inline-block;
  margin: 0 auto;
  margin-bottom: 0;
  height: 88px;
  padding: 0;
  width: 50%;
  text-align: left;
  overflow: hidden;
}

#feedback .ratings .agent {
  float: left;
  width: 100px;
  margin: 0 auto;
  padding: 0 .5em;
}

#feedback .ratings .agent .ratingPic {
  margin-left:   28px;
  margin-bottom: 0.3em;
  clear: both;
}

#feedback .ratings .agent span {
  display:    block;
  clear:      both;
  font-size:  11px;
  font-style: italic;
  text-align: center;
}

#feedback .ratings .agent .stars {
  clear: both;
  margin: 0 auto;
}

.prompt {
  color: #BBB;
  text-align: center;
}
