﻿@import url(customer-card.min.css);
@import url(customer-search.min.css);

html, body {
  height: 100%;
  min-height: 100%;
}

body {
  overflow-x: hidden;
  padding: 0;
  /*background: transparent url("/Content/images/bg_stripe.jpg");*/
}

#page-wrap {
  background: white;
  padding: 15px;
  max-width: 1170px;
  margin: 10px auto;
}

.navbar {
  max-width: 1170px;
  margin: 10px auto;
}

h3 {
  color: #007CC3;
}

.page-header {
  margin: 10px 0;
}

.logo {
  max-width: 100%;
  max-height: 80px;
}

h2 {
  color: #666;
  line-height: 1;
  font-size: 19px;
  text-transform: uppercase;
  font-weight: normal;
}

  h2 strong {
    letter-spacing: -1px;
    font-weight: normal;
    color: #007CC3;
  }

/* pagination */
.pagination ul > li > a,
.pagination ul > li > span {
  width: 2em;
  padding: 0;
  line-height: 2em;
  border-left-width: 1px;
  text-align: center;
  margin-left: -1px;
  margin-bottom: -1px;
}

.pagination ul > li:last-child > a,
.pagination ul > li:last-child > span,
.pagination ul > li:first-child > a,
.pagination ul > li:first-child > span {
  border-radius: 0;
}

.pagination ul > .active > a, .pagination ul > .active > span {
  background: transparent url("/Content/images/bg_stripe.jpg") bottom;
  font-weight: bold;
}

/* search */
.form-search {
  margin-bottom: 0;
}

.change-user-trigger,
.change-user-trigger:hover {
    color: #fff !important;
    background: #007CC3 !important;
}

.well {
  background: transparent url("/Content/images/bg_stripe.jpg");
}

.dealer {
  padding: 1em;
  font-size: 85%;
  margin-bottom: 10px;
  min-height: 120px;
}

  .dealer h5 {
    font-size: 14px;
    margin: 2px 0;
  }

.clickable {
  cursor: pointer;
}

/* rating */
.rateit-range {
  cursor: pointer;
}

div.rateit div.rateit-selected,
div.rateit div.rateit-hover {
  background-position: left -20px;
}


/* form */
.form-actions {
  background: transparent url("/Content/images/bg_stripe.jpg");
}

.rateit {
  margin-top: 5px;
}

.rateit-readonly .rateit-range {
  cursor: default;
}

/* dealer actions */
.btn-dealer-action {
  display: block;
  padding: 20px;
  font-size: 3em;
}

.row-fluid .span4 {
  text-align: center;
}

/* Review details */
dt {
  color: #007CC3;
}

.table-review-details td {
  border-color: #fff;
}

/* stats */
.charts .well {
  padding: 5px;
}

.chart {
  width: 100%;
  -moz-box-sizing: border-box;
}

/* responsive fix: 
   let span3 behave like span6 on <= tablet */
@media (max-width: 980px) {
  .row-fluid .span3 {
    width: 48.93617021276595%;
    *width: 48.88297872340425%;
    display: block;
    float: left;
    min-height: 30px;
    margin-left: 2.127659574468085%;
    *margin-left: 2.074468085106383%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

    .row-fluid .span3:nth-child(3) {
      margin-left: 0;
    }

  /*#page-wrap,
  .logo-container,
  .navbar
  {
    margin: 10px;
  }*/

  .container {
    width: 100%;
  }

  body {
    padding: 0 10px;
  }

  .ui-datepicker {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  /*fix tables*/
  /* Force table to not be like tables anymore */
  .table-responsive table,
  .table-responsive thead,
  .table-responsive tbody,
  .table-responsive th,
  .table-responsive td,
  .table-responsive tr {
    display: block !important;
    width: 100% !important;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
    /* Hide table headers (but not display: none;, for accessibility) */
    .table-responsive thead tr {
      position: absolute;
      top: -9999px;
      left: -9999px;
    }

  .table-responsive tr {
    border-bottom: 1px solid #fff;
  }

  .table-responsive td {
    border: none;
  }


    /*
  Label the data
  */
    .table-responsive td:before {
      content: attr(data-title);
    }
}

/* smallest screen */
@media (max-width: 319px) {
  .row-fluid .span3,
  .row-fluid .span4 {
    width: 100%;
    display: block;
    float: none;
    margin: 0;
  }

  .form-search,
  .back-link,
  h2 {
    float: none;
  }
}

/* big screens */
@media (min-width: 768px) {
  .form-horizontal .control-label {
    // width: 260px;
  }

  .form-horizontal .controls {
    margin-left: 280px;
  }

  .form-horizontal .form-actions {
    padding-left: 280px;
  }
}

.brand img {
  height: 30px;
  margin: 0;
}

@media (min-width: 960px) {


  .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
    //width: 960px;
  }
}

@media (min-width: 992px) {
    body {
        margin: 20px;
    }
    .container {
        width: 100%;
        margin: 0 20px;
    }
}
@media (min-width: 768px) {
    body {
        margin: 20px;
    }
    .container {
        width: 100%;
        margin: 0 20px;
    }
}



/* fix font icons */
[class^="icon-"], [class*=" icon-"] {
  background-image: none;
  width: auto;
  height: auto;
  margin: auto;
  vertical-align: middle;
}

/*=loading*/
#loading {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: -100%;
  margin: 0 0 0 0;
  z-index: 999;
  text-align: center;
  opacity: 0.5;
  -webkit-transition: top 1s ease-in-out, opacity 0.5s ease-in;
  -moz-transition: top 1s ease-in-out, opacity 0.5s ease-in;
  -o-transition: top 1s ease-in-out, opacity 0.5s ease-in;
  transition: top 1s ease-in-out, opacity 0.5s ease-in;
}
#loading.l_visible {
  top: 0;
  opacity: 1;
}

#message {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
  text-align: center;
  font-size: 12px;
  height: 0;
}

  #message p {
    display: none;
    margin: 5px auto;
  }

  #message span {
    display: inline-block;
    padding: 14px;
    border-radius: 5px;
  }

  #message .error span {
    background: red;
    color: #fff;
  }

  #message .success span {
    background: blue;
    color: #fff;
  }

.clear {
  clear: both;
}

.starrating-container i {
  font-size: 1.5em !important;
}

.image-container {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
}

  .image-container img {
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

.navbar {
  //max-width: 960px !important;
}

  .navbar .btn-danger {
    color: #fff !important;
  }

    .navbar .btn-danger:hover {
      background: #222 !important;
    }

.inline-search-container {
  position: relative;
}

.inline-search-button {
  position: absolute;
  right: 15px;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  top: 0;
}

.inline-search-field {
  padding-right: 30px;
}

#icon-selector {
  margin-top: 10px;
}

  #icon-selector label {
    font-size: 20px !important;
    padding: 10px;
  }

#customerlist-filter-row {
  margin-top: 10px;
}

#global-notification {
  position: absolute;
  width: 200px;
  z-index: 10000;
  top: 0;
  left: 50%;
}

  #global-notification p {
    position: relative;
    padding: 4px;
    text-align: center;
    left: -50%;
    background: #f0f225;
    text-transform: uppercase;
    font-size: 80%;
  }

.pagination li a {
  padding: 6px 10px;
}

.store-address {
  font-size: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

  .store-address li {
    margin: 0;
    padding: 0;
  }

.site-label {
  position: absolute;
  top: 3px;
  left: 77px;
  padding: 6px 6px 5px;
  border-radius: 12px;
  text-align: center;
  
  font-size: 8px;
  margin-top: 14px;
  font-weight: bold;
  color: #fff;
  background: #357EBD;
}

@media (max-width: 768px) {
  .revenue-list {
    font-size: 12px !important;
  }

    .revenue-list .badge {
      font-size: 10px !important;
    }
}

.cb-table-container {
  overflow: auto;
}

.windows8 {
  position: absolute;
  width: 90px;
  height: 90px;
  padding: 20px;
  border-radius: 10px;
  left: 50%;
  top: 50%;
  margin: -50px 0 0 -50px;
  background: #007dc3;
}

  .windows8 .wBall {
    position: absolute;
    width: 50px;
    height: 50px;
    opacity: 0;
    -moz-transform: rotate(225deg);
    -moz-animation: orbit 7.15s infinite;
    -webkit-transform: rotate(225deg);
    -webkit-animation: orbit 7.15s infinite;
    -ms-transform: rotate(225deg);
    -ms-animation: orbit 7.15s infinite;
    -o-transform: rotate(225deg);
    -o-animation: orbit 7.15s infinite;
    transform: rotate(225deg);
    animation: orbit 7.15s infinite;
  }

    .windows8 .wBall .wInnerBall {
      position: absolute;
      width: 5px;
      height: 5px;
      background: #FFFFFF;
      left: 0px;
      top: 0px;
      -moz-border-radius: 11px;
      -webkit-border-radius: 11px;
      -ms-border-radius: 11px;
      -o-border-radius: 11px;
      border-radius: 11px;
    }

  .windows8 #wBall_1 {
    -moz-animation-delay: 1.56s;
    -webkit-animation-delay: 1.56s;
    -ms-animation-delay: 1.56s;
    -o-animation-delay: 1.56s;
    animation-delay: 1.56s;
  }

  .windows8 #wBall_2 {
    -moz-animation-delay: 0.31s;
    -webkit-animation-delay: 0.31s;
    -ms-animation-delay: 0.31s;
    -o-animation-delay: 0.31s;
    animation-delay: 0.31s;
  }

  .windows8 #wBall_3 {
    -moz-animation-delay: 0.62s;
    -webkit-animation-delay: 0.62s;
    -ms-animation-delay: 0.62s;
    -o-animation-delay: 0.62s;
    animation-delay: 0.62s;
  }

  .windows8 #wBall_4 {
    -moz-animation-delay: 0.94s;
    -webkit-animation-delay: 0.94s;
    -ms-animation-delay: 0.94s;
    -o-animation-delay: 0.94s;
    animation-delay: 0.94s;
  }

  .windows8 #wBall_5 {
    -moz-animation-delay: 1.25s;
    -webkit-animation-delay: 1.25s;
    -ms-animation-delay: 1.25s;
    -o-animation-delay: 1.25s;
    animation-delay: 1.25s;
  }

@-moz-keyframes orbit {
  0% {
    opacity: 1;
    z-index: 99;
    -moz-transform: rotate(180deg);
    -moz-animation-timing-function: ease-out;
  }

  7% {
    opacity: 1;
    -moz-transform: rotate(300deg);
    -moz-animation-timing-function: linear;
    -moz-origin: 0%;
  }

  30% {
    opacity: 1;
    -moz-transform: rotate(410deg);
    -moz-animation-timing-function: ease-in-out;
    -moz-origin: 7%;
  }

  39% {
    opacity: 1;
    -moz-transform: rotate(645deg);
    -moz-animation-timing-function: linear;
    -moz-origin: 30%;
  }

  70% {
    opacity: 1;
    -moz-transform: rotate(770deg);
    -moz-animation-timing-function: ease-out;
    -moz-origin: 39%;
  }

  75% {
    opacity: 1;
    -moz-transform: rotate(900deg);
    -moz-animation-timing-function: ease-out;
    -moz-origin: 70%;
  }

  76% {
    opacity: 0;
    -moz-transform: rotate(900deg);
  }

  100% {
    opacity: 0;
    -moz-transform: rotate(900deg);
  }
}

@-webkit-keyframes orbit {
  0% {
    opacity: 1;
    z-index: 99;
    -webkit-transform: rotate(180deg);
    -webkit-animation-timing-function: ease-out;
  }

  7% {
    opacity: 1;
    -webkit-transform: rotate(300deg);
    -webkit-animation-timing-function: linear;
    -webkit-origin: 0%;
  }

  30% {
    opacity: 1;
    -webkit-transform: rotate(410deg);
    -webkit-animation-timing-function: ease-in-out;
    -webkit-origin: 7%;
  }

  39% {
    opacity: 1;
    -webkit-transform: rotate(645deg);
    -webkit-animation-timing-function: linear;
    -webkit-origin: 30%;
  }

  70% {
    opacity: 1;
    -webkit-transform: rotate(770deg);
    -webkit-animation-timing-function: ease-out;
    -webkit-origin: 39%;
  }

  75% {
    opacity: 1;
    -webkit-transform: rotate(900deg);
    -webkit-animation-timing-function: ease-out;
    -webkit-origin: 70%;
  }

  76% {
    opacity: 0;
    -webkit-transform: rotate(900deg);
  }

  100% {
    opacity: 0;
    -webkit-transform: rotate(900deg);
  }
}

@-ms-keyframes orbit {
  0% {
    opacity: 1;
    z-index: 99;
    v-ms-transform: rotate(180deg);
    -ms-animation-timing-function: ease-out;
  }

  7% {
    opacity: 1;
    -ms-transform: rotate(300deg);
    -ms-animation-timing-function: linear;
    -ms-origin: 0%;
  }

  30% {
    opacity: 1;
    -ms-transform: rotate(410deg);
    -ms-animation-timing-function: ease-in-out;
    -ms-origin: 7%;
  }

  39% {
    opacity: 1;
    -ms-transform: rotate(645deg);
    -ms-animation-timing-function: linear;
    -ms-origin: 30%;
  }

  70% {
    opacity: 1;
    -ms-transform: rotate(770deg);
    -ms-animation-timing-function: ease-out;
    -ms-origin: 39%;
  }

  75% {
    opacity: 1;
    -ms-transform: rotate(900deg);
    -ms-animation-timing-function: ease-out;
    -ms-origin: 70%;
  }

  76% {
    opacity: 0;
    -ms-transform: rotate(900deg);
  }

  100% {
    opacity: 0;
    -ms-transform: rotate(900deg);
  }
}

@-o-keyframes orbit {
  0% {
    opacity: 1;
    z-index: 99;
    -o-transform: rotate(180deg);
    -o-animation-timing-function: ease-out;
  }

  7% {
    opacity: 1;
    -o-transform: rotate(300deg);
    -o-animation-timing-function: linear;
    -o-origin: 0%;
  }

  30% {
    opacity: 1;
    -o-transform: rotate(410deg);
    -o-animation-timing-function: ease-in-out;
    -o-origin: 7%;
  }

  39% {
    opacity: 1;
    -o-transform: rotate(645deg);
    -o-animation-timing-function: linear;
    -o-origin: 30%;
  }

  70% {
    opacity: 1;
    -o-transform: rotate(770deg);
    -o-animation-timing-function: ease-out;
    -o-origin: 39%;
  }

  75% {
    opacity: 1;
    -o-transform: rotate(900deg);
    -o-animation-timing-function: ease-out;
    -o-origin: 70%;
  }

  76% {
    opacity: 0;
    -o-transform: rotate(900deg);
  }

  100% {
    opacity: 0;
    -o-transform: rotate(900deg);
  }
}

@keyframes orbit {
  0% {
    opacity: 1;
    z-index: 99;
    transform: rotate(180deg);
    animation-timing-function: ease-out;
  }

  7% {
    opacity: 1;
    transform: rotate(300deg);
    animation-timing-function: linear;
    origin: 0%;
  }

  30% {
    opacity: 1;
    transform: rotate(410deg);
    animation-timing-function: ease-in-out;
    origin: 7%;
  }

  39% {
    opacity: 1;
    transform: rotate(645deg);
    animation-timing-function: linear;
    origin: 30%;
  }

  70% {
    opacity: 1;
    transform: rotate(770deg);
    animation-timing-function: ease-out;
    origin: 39%;
  }

  75% {
    opacity: 1;
    transform: rotate(900deg);
    animation-timing-function: ease-out;
    origin: 70%;
  }

  76% {
    opacity: 0;
    transform: rotate(900deg);
  }

  100% {
    opacity: 0;
    transform: rotate(900deg);
  }
}
#ui-datepicker-div {
  max-width: 200px !important;
}

/* Map */
#map-container {
  display: none;
  position: relative;
  height: 500px;
}

.address-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.address-list li {
  margin-bottom: 10px;
}
.address-list li ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 11px;
}
.address-list li ul li {
  margin-bottom: 2px;
}
.address-list li h3 {
  font-size: 14px;
  margin: 0 0 5px;
}


.badge:hover {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}
.badge-error {
  background-color: #b94a48;
}
.badge-error:hover {
  background-color: #953b39;
}
.badge-warning {
  background-color: #f89406;
}
.badge-warning:hover {
  background-color: #c67605;
}
.badge-success {
  background-color: #468847;
}
.badge-success:hover {
  background-color: #356635;
}
.badge-primary {
  background-color: #357EBD;
}


pre.answer-text {
    background-color: transparent;
    border:none;
    padding:0;
    border-radius:0;
    color:inherit;
    display:inherit;
    font-size:inherit;
    line-height:inherit;
}

ul.nav-tabs a, .nav-stacked a {
  cursor: pointer;
}
.nav-stacked small {
  display: block;
  font-size: 10px;
}
.nav-stacked .glyphicon {
  font-size: 30px;
  float: left;
  margin-right: 10px;
}
.table>thead>tr>.danger, .table>tbody>tr>.danger, .table>tfoot>tr>.danger, .table>thead>.danger>td, .table>tbody>.danger>td, .table>tfoot>.danger>td, .table>thead>.danger>th, .table>tbody>.danger>th, .table>tfoot>.danger>th {
  background-color: #f2dede !important;
}
.table>thead>tr>.success, .table>tbody>tr>.success, .table>tfoot>tr>.success, .table>thead>.success>td, .table>tbody>.success>td, .table>tfoot>.success>td, .table>thead>.success>th, .table>tbody>.success>th, .table>tfoot>.success>th {
  background-color: #dff0d8 !important;
}
.fc {
  text-transform: capitalize;
}
.pagination.center-aligned {
  width: 100%;
  text-align: center;
}
.pagination.center-aligned li {
  display: inline-block;
}
.video-link {
  display: block;
  padding: 20px;
  border: 1px solid #ccc;
  margin: 10px 0;
  background: #fff;
}
.video-link video {
  width: 600;
  height: 320px;
  display: block;
  margin: 0 auto 10px auto;
}

select.input-xs {
    height: 22px;
    padding: 2px 4px;
    font-size: 10px;
}


.table-darker-border,
.table-darker-border tr,
.table-darker-border td,
.table-darker-border th {
    border-color: #ccc!important;
}

table.table-bordered.dataTable th, table.table-bordered.dataTable td {
    font-size:12px !important;
}

.ellipsis-container {
    table-layout: fixed;
}

.ellipsis {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.review-history {
    border: 2px solid #007CC3;
    list-style: none;
    margin: 0 0 20px;
    padding: 20px;
    *zoom: 1;
    border-radius: 4px;
}
.review-history:after,
.review-history:before {
    content: " ";
    display: table;
}
.review-history:after {
    clear: both;
}
.review-history li.first {
    width: 100%;
    float: none;
    color: #007CC3;
    font-size: 3em;
    font-weight: 400;
    border-bottom: 1px solid #eee;
}
.review-history li.first small {
    display: block;
    font-size: 18px;
    margin-bottom: 20px;
}
.review-history li {
    width: 50%;
    display: inline-block;
}
.review-history li.last {
    float: none;
    margin-top: 30px;
    width: 100%;
}
.review-history li h3 {
    font-size: 16px;
}
.review-history li span {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
}