body {
  padding-top: 48px;
  min-width: 450px;
  font-family: 'open sans', arial, sans-serif;
}
pre {
  white-space: pre-wrap;
  font-family: 'open sans', arial, sans-serif;
  line-height: 1.6;
}

.contain-to-grid .top-bar {
  min-height: 125px;
  height: auto;
  max-width: 100%;
}

#visitor_avatar img {
  display: block;
  border-radius: 5pt;
  width: 122px;
  -webkit-box-shadow: 0 0 2px #aaa;
  -moz-box-shadow: 0 0 2px #aaa;
  box-shadow: 0 0 2px #aaa;
  background: #fff;
  padding: 9px;
}

.email,
.phone {
  font-family: 'Open sans', arial, sans-serif;
  color: #777;
  font-size: 0.8em;
  padding: 0;
  line-height: 12px;
  margin-bottom: 12px;
}

.email {
  background: url(//cdn.vivocha.com/a/desk/images/2015_6/mail.png) no-repeat 1px 50%;
}

.phone {
  background: url(//cdn.vivocha.com/a/desk/images/2015_6/phone.png) no-repeat 1px 50%;
}

.phone span,
.phone input,
.email a,
.email input {
  text-decoration: none;
  color: #555;
  padding-left: 24px !important;
}

.social_fb img {
  max-height: 30px;
  display: inline;
  margin: 0 auto;
  border: 1px solid #666;
  margin-right: 12px;
}

#visitor_name h2 input,
#visitor_name h2 span.noinput {
  font-family: Montserrat, 'Open sans', arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
}

#visitor_name input,
#visitor_name span.noinput {
  padding: 0px;
  margin: 0px;
  border: none;
  color: #555;
  background-color: inherit;
  width: 20em;
  cursor: pointer;
}

.stats {
  padding: 0;
}

.map,
.referrer,
.other,
.calldata-form,
.adwords {
  margin-top: 12px;
  margin-bottom: 12px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 12px 12px 12px;
  -webkit-box-shadow: 0 0 2px #ccc;
  -moz-box-shadow: 0 0 2px #ccc;
  box-shadow: 0 0 2px #ccc;
  background: #fff;
}

ul#data_icons {
  width: 230px;
  height: auto;
  border-radius: 2pt;
  padding: 5px 10px;
  overflow: hidden;
  float: right;
  background: #fff;
  border: 1px solid #d8d8d8;
  font-size: 0.85em;
}

ul#data_icons li {
  width: 100%;
  background-position: 5%;
  border-bottom: 1px dashed #d8d8d8;
  line-height: 34px;
  color: #787878;
  font-weight: 700;
}

ul#data_icons li:last-child {
  border: none;
}

.dati {
  width: 100%;
  height: 30px;
  padding-left: 36px;
  background-position: 1px 0;
  position: relative;
  left: -39px;
}

.data {
  font-size: 1em;
  font-weight: 700;
  /* display: block; */
  color: #787878;
  text-align: center;
  float: right;
  line-height: 16px;
  position: relative;
  background: #fff0d6;
  top: 6px;
  padding: 2px 4px;
  border: 1px solid #ffcc88;
  border-radius: 4pt;
  right: 0;
}

.current_page {
  margin-top: 24px;
}

.current_page h2 {
  font-family: 'Montserrat';
  font-size: 1.75em;
  color: #555;
  font-weight: 700;
  /* float:left; */
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 80%;
  cursor: pointer;
  margin-bottom: 0;
}

.thumbnail-wrap {
  height: 45px;
  width: 80px;
  float: left;
  margin-bottom: 24px;
  margin-right: 12px;
  padding: 3px;
  -webkit-box-shadow: 0 0 2px #aaa;
  -moz-box-shadow: 0 0 2px #aaa;
  box-shadow: 0 0 2px #aaa;
  border-top: 4px solid #787878;
  overflow: hidden;
  border-radius: 2pt;
  background: #f8f8f8;
}

.current_page .thumbnail {
  position: relative;
  display: block;
  margin: 0 auto;
}

img.thumbnail {
  height: 98%;
}

.uri {
  font-size: 0.8em;
  color: #454545;
  background-repeat: no-repeat;
  background-size: 24px;
  background-position: 0 -47px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  max-width: 600px;
  cursor: pointer;
}

.map {
  width: 47.5%;
  float: left;
  padding-top: 12px;
}

.remote-city-name {
  background: #787878;
  color: #fc7;
  padding: 6px;
  font-size: 1.2em;
  height: 30px;
  display: block;
  width: auto;
  float: left;
  text-transform: capitalize;
}

.remote-region-name {
  background: #787878;
  color: #fc7;
  padding: 6px;
  font-size: 1.2em;
  height: 30px;
  display: block;
  width: auto;
  float: left;
  text-transform: capitalize;
}

.remote-country-name,
.no-ref {
  color: #555;
  display: block;
  float: left;
  margin-left: 12px;
  font-weight: 700;
  line-height: 30px;
  text-transform: capitalize;
}

.no-ref,
.ref {
  padding-top: 0;
  margin-left: 0;
  padding-left: 12px;
  text-overflow: ellipsis;
  overflow: hidden;
}

.referrer,
.adwords {
  width: 47.5%;
  float: right;
  margin-left: 5%;
}
.referrer .favicon-wrap {
  min-width: 26px;
  min-height: 26px;
  background: #787878;
  vertical-align: top;
  padding: 6px;
  float: left;
}

.referrer.direct-access .no-ref {
  display: block;
}
.referrer.direct-access .ref {
  display: none;
}
.referrer .no-ref {
  display: none;
}
.referrer .ref {
  display: block;
}

.adwords > div > h6 {
  min-width: 20%;
  width: 30%;
}
.adwords > div > * {
  display: inline-block;
  margin: 7px 0;
  padding: 0;
  font-size: 0.9em;
  color: #787878;
}
.adwords > div {
  border-bottom: 1px dashed #d8d8d8;
}

.other {
  width: 47.5%;
  float: left;
  clear: left;
}

.other-ban {
  float: right;
  clear: right;
}

div.row.chunk > div {
  border-top: 2px solid #787878;
  min-height: 64px;
}
.info-chunk {
  font-size: 0.9em;
  height: 42px;
  padding: 10px 0;
  color: #787878;
  border-bottom: 1px dashed #d8d8d8;
  background-repeat: no-repeat;
  background-size: 24px;
  background-position: 0 50%;
  padding-left: 34px;
  font-weight: 700;
}

.screen {
  display: none;
}

.info-chunk.locale {
  display: none;
}
.info-chunk.flash {
  background-image: url('../images/icon_flash_32.png');
}
.info-chunk.flash.disabled {
  background-image: url('../images/icon_flash_gray_32.png');
  text-decoration: line-through;
  color: gray;
}

.info-chunk.browser {
  background-image: url('../images/browser_unknown_32.png?_=1371460497708');
}
.info-chunk.browser.android {
  background-image: url('../images/browser_android_32.png?_=1371460497708');
}
.info-chunk.browser.chrome {
  background-image: url('../images/browser_chrome_32.png?_=1371460497708');
}
.info-chunk.browser.epiphany {
  background-image: url('../images/browser_epiphany_32.png?_=1371460497708');
}
.info-chunk.browser.firefox {
  background-image: url('../images/browser_firefox_32.png?_=1371460497708');
}
.info-chunk.browser.konqueror {
  background-image: url('../images/browser_konqueror_32.png?_=1371460497708');
}
.info-chunk.browser.msie {
  background-image: url('../images/browser_msie_32.png?_=1371460497708');
}
.info-chunk.browser.opera {
  background-image: url('../images/browser_opera_32.png?_=1371460497708');
}
.info-chunk.browser.safari {
  background-image: url('../images/browser_safari_32.png?_=1371460497708');
}
.info-chunk.browser.sdk {
  background-image: url('../images/browser_sdk_32.png?_=1371460497705');
}
.info-chunk.browser span.sdk {
  display: none;
}
.info-chunk.browser.sdk span.sdk {
  display: inline-block;
  margin-left: 0.5em;
}

.info-chunk.os {
  background-image: url('../images/os_unknown_32.png?_=1371460497708');
}
.info-chunk.os.android {
  background-image: url('../images/device_android.png');
}
.info-chunk.os.ios {
  background-image: url('../images/device_apple.png');
}
.info-chunk.os.ipad {
  background-image: url('../images/device_ipad_32.png?_=1371460497708');
}
.info-chunk.os.ipad {
  background-image: url('../images/device_ipad_32.png?_=1371460497708');
}
.info-chunk.os.iphone {
  background-image: url('../images/device_iphone_32.png?_=1371460497708');
}
.info-chunk.os.x86_64 {
  background-image: url('../images/device_iphone_32.png?_=1371460497708');
}
.info-chunk.os.linux {
  background-image: url('../images/os_linux_32.png?_=1371460497708');
}
.info-chunk.os.os_x {
  background-image: url('../images/os_mac_32.png?_=1371460497708');
}
.info-chunk.os.windows {
  background-image: url('../images/os_windows_32.png?_=1371460497708');
}

.info-chunk.locale .remote-flag {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  display: inline-block;
  overflow: hidden;
}
.info-chunk.locale .remote-address {
  line-height: initial;
  min-width: 40px;
  text-align: left;
  vertical-align: top;
  display: inline-block;
}
.info-chunk.locale .remote-address > .remote-ip-address {
  font-size: smaller;
  color: #999;
}
.info-chunk.locale .remote-address > span {
  display: block;
  padding-left: 0;
  text-transform: capitalize;
}
.info-chunk.locale {
  cursor: crosshair;
}
.info-chunk.locale .remote-city-name {
}
.info-chunk.locale .remote-country-name {
}
.info-chunk.locale iframe.google-map {
  width: 300px;
  height: 300px;
  display: block;
}
.info-chunk.locale a.google-map-link {
  width: 100%;
  display: block;
  text-align: center;
  font-size: smaller;
}

/*Form and data collections*/
.calldata.ng-scope {
  float: left;
  width: 100%;
}

.calldata-form {
  width: 100%;
  float: left;
}

.calldata-form.odd {
  margin-right: 0;
  margin-left: 0%;
}
.calldata-form.even {
  margin-right: 0;
}

.calldata-desc.ng-binding {
  /*float: left;*/
  min-width: 189px;
  font-size: 12px;
  line-height: 26px;
  font-weight: 700;
  text-transform: uppercase;
}

.calldata-editor {
  height: 30px;
  width: 330px;
  font-size: 0.9em;
  display: inline;
}
.calldata-editor textarea {
  font-size: 14px;
}
.calldata-value {
  border-bottom: 1px dashed #e0e0e0;
  font-size: 0.9em;
  color: #333;
  padding-bottom: 17px;
}
.calldata-value p {
  margin-bottom: 0;
}

.name.ng-binding {
  font-weight: 700;
  color: #555;
  float: left;
  margin-right: 12px;
  max-width: 40%;
  min-width: 121px;
  font-size: 0.9em;
  text-transform: uppercase;
  font-family: 'open sans', arial, sans-serif;
  padding-top: 6px;
}

#form_cell {
  overflow: hidden;
  padding: 24px;
  background: #efefef;
  width: 433px;
  border-radius: 3pt;
  box-shadow: 0 0 8px #bbb;
}

form {
  margin-bottom: 24px;
  float: left;
  width: auto;
  font-family: 'Open sans', Arial, sans-serif;
  margin-right: 5%;
  border-top: 4px solid #787878;
  width: 42.5%;
  min-width: 433px;
}

form legend,
h3.ng-binding {
  padding: 4px 8px;
  padding-left: 36px;
  font-size: 1em;
  width: auto;
  background: #787878;
  background-image: url(https://cdn.vivocha.com/www/images/page.png);
  background-position: 4px;
  background-repeat: no-repeat;
  background-size: 18px;
  color: #efefef;
  min-width: 78px;
  font-family: montserrat, 'open sans', arial, sans-serif;
  margin-top: 0;
  margin-bottom: 6px;
  display: inline-block;
}

form fieldset {
  display: block;
  padding: 0;
  border: none;
  border-image: none;
  margin: 0;
}

form table {
  float: left;
  border-spacing: 0 0;
  background: transparent;
  border-collapse: collapse;
  padding: 12px 0;
  width: 100%;
  border-top: 0;
}

form table tr {
  margin-top: 12px;
  border-bottom: 1px dashed #e0e0e0;
}

form table td {
  min-width: 200px;
  border-spacing: 0;
  padding-left: 6px;
  height: 24px;
  line-height: 24px;
  max-width: 240px;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
  border-bottom: 0 !important;
  color: #666;
  font-size: 0.9em;
  font-weight: 100 !important;
}

form input,
form textarea {
  border: none;
  width: 96%;
  height: auto;
  margin: 0;
  font-size: 14px;
  padding-left: 4%;
  border-left: 2px solid #cc4;
  overflow: hidden;
  background: none;
}

form input[disabled],
form input[readonly],
form select[disabled],
form select[readonly],
form textarea[disabled] {
  background: url(https://cdn.vivocha.com/a/desk/images/1/read_only_pattern.gif);
  border: none;
  border-left: 2px solid red;
}

#visitor_name input:focus,
input[type='text'],
input[type='password'],
input[type='date'],
input[type='datetime'],
input[type='email'],
input[type='number'],
input[type='search'],
input[type='tel'],
input[type='time'],
input[type='url'],
textarea,
select {
  width: auto;
  border: 1px solid #ccc;
  outline: 2px solid transparent;
  background-color: #e7e7e7 !important;
  min-height: 30px;
  margin: 0;
  border-left: 4px solid #cc8 !important;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  padding-left: 12px;
  min-width: 100%;
}

#visitor_name input:focus {
  height: inherit;
}

#ui-datepicker-div {
  padding: 4px 16px;
  background: #f8f8f8;
  border: 1px solid #aaa;
  visibility: hidden;
}

a.ui-datepicker-next {
  float: right;
}
a.ui-datepicker-next,
a.ui-datepicker-prev {
  cursor: pointer;
}

@media (min-width: 1425px) {
}

@media (max-width: 940px) {
  .top-bar ul > li {
    float: left;
  }
}

div.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(200, 200, 200, 0.8);
}

.ban_popup label {
  display: inline-block;
  text-align: right;
  width: 30%;
}
.ban_popup label:after {
  content: ':';
}

.ban_popup input,
.ban_popup select,
.ban_popup textarea {
  float: right;
  resize: none;
}

.ban_popup input[readonly] {
  color: #999;
}

.ban_popup textarea {
  height: 6em;
}

.ban_popup .spaced {
  margin-top: 10px;
}

.ban_popup .row {
  margin: 0 0 10px 0;
}

.ban_popup {
  text-align: center;
  width: 400px;
  display: block;
  background: #fff;
  position: fixed;
  height: auto;
  top: 30%;
  left: 30%;
  padding: 18px;
  margin: 12px auto;
  box-shadow: 0 0 6px #999;
  z-index: 999999999;
}

.warn p {
  padding: 0.5em 1em;
  text-align: center;
  background: #fc7;
  margin: 0;
}

.button.ban-customer,
.button.ban,
.button.cancel {
  border: none;
  border-bottom: 2px solid;
  border-radius: 4pt;
  font-weight: 700;
}

.button.ban-customer,
.button.ban {
  color: #dd565a;
  border-bottom-color: #dd565a;
  background: #f1bbbd;
  float: left;
}

.button.cancel {
  color: #787878;
  border-bottom-color: #787878;
  float: right;
}

@media (max-width: 768px) {
  .contain-to-grid {
    padding: 0 5%;
  }
  .contain-to-grid .top-bar {
    height: 180px;
  }

  #visitor_avatar img {
    max-width: 100px;
    float: left;
    margin-left: 1px;
  }

  #visitor_name {
    position: relative;
    top: -116px;
    left: 120px;
    width: 310px !important;
  }

  .stats {
    width: 40% !important;
    position: absolute;
    right: 0;
    top: 13px;
  }

  label {
    position: relative;
    width: auto;
    min-width: 80px;
    left: -11px;
    padding: 2px 6px;
    text-align: center;
  }

  label:before {
    display: none;
  }

  .current_page {
    min-height: 106px;
  }

  .row .offset-by-one {
    margin-left: 5% !important;
  }

  .map,
  .referrer,
  .other,
  .actions-row,
  .calldata-form.ng-scope {
    width: 90%;
    margin: 12px auto;
    float: none;
    min-height: 60px;
    overflow: hidden;
  }

  .ban_popup {
    left: 10%;
  }

  .ban_popup label {
    display: inline;
  }

  .button.ban-customer,
  .button.ban,
  .button.cancel {
    margin-bottom: 6px;
  }
}

.social_salesforce .sf_add {
  line-height: 28px;
  display: inline-block;
  vertical-align: top;
  width: 28px;
  text-align: center;
  border: 1px solid #777;
  border-right: 0;
  background: #f8f8f8;
  color: #333;
  font-size: 30px;
}

.geo-buttons {
  position: relative;
  float: right;
  height: 30px;
  width: 60px;
}

.geo-btn,
.autogeo-btn {
  display: inline-block;
  margin: 2px;
  height: 24px;
  width: 24px;
}

.flex-spacer {
  flex: 1 1 auto;
}
.box {
  padding: 0px 12px 12px 12px;
  margin-top: 12px;
  box-shadow: 0 0 2px #ccc;
  background: #fff;
}
.box.hidden {
  padding-bottom: 0;
}
.box .toggle-box {
  float: right;
  margin-top: 4px;
  padding: 2px;
  cursor: pointer;
  color: gray;
}
.box .box-actions {
  display: flex;
  align-items: center;
  padding-top: 10px;
}
.help-box h3,
.sales-box h3,
.product-box h3,
.products-box h3 {
  padding: 4px 8px;
  padding-left: 36px;
  font-size: 1em;
  width: auto;
  background: #787878;
  background-image: url(https://cdn.vivocha.com/www/images/page.png);
  background-position: 4px;
  background-repeat: no-repeat;
  background-size: 18px;
  color: #efefef;
  min-width: 78px;
  font-family: montserrat, 'open sans', arial, sans-serif;
  margin-top: 0;
  margin-bottom: 6px;
  display: inline-block;
}
.box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.box ul li {
  border-bottom: 1px dashed #ddd;
  display: flex;
  align-items: center;
  padding: 5px 0;
}
.sales-box ul li {
  padding: 10px 0;
}
.products-box ul li:first-child {
  background-color: #f2f2f2;
  padding: 10px 10px 10px 0;
}
.product-box ul li span,
.products-box ul li span {
  display: flex;
  align-items: center;
}
.product-box ul li .col {
  width: 49%;
}
.products-box ul li .col1 {
  width: 65px;
}
.products-box ul li .col2 {
  width: 34%;
}
.products-box ul li .col3 {
  width: 34%;
}
.products-box ul li .col4 {
  width: 20%;
}
.product-box ul li img,
.products-box ul li img {
  width: 48px;
  height: 48px;
}
.products-box button.send-contract {
  border: 1px solid gray;
  border-radius: 4px;
  padding: 5px;
  cursor: pointer;
  background: white;
  color: gray;
}

.product-box ul li .col1 {
  margin-right: 20px;
}

.box button {
  padding: 8px 14px;
  font-size: 12px;
  border: none;
  border-radius: 4px;
  background-color: #81bc79;
  color: white;
  cursor: pointer;
}

.box button:disabled {
  opacity: 0.6;
}

.product-item img {
  width: 48px;
  height: 48px;
}

.product-item .product-name {
  margin-left: 25px;
}

button.sent {
  background: white;
  color: gray;
  border: 1px solid gray;
}
