body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  overflow-y: scroll;
}

.selectable {
  -webkit-touch-callout: initial;
  -webkit-user-select:text;
  -khtml-user-select: text;
  -ms-user-select: text;
  -o-user-select: text;
  user-select: text;
}

.margin-top-0 { margin-top: 0; }
.margin-top-5 { margin-top: 5px; }
.margin-top-10 { margin-top: 10px; }
.margin-top-15 { margin-top: 15px; }
.margin-top-20 { margin-top: 20px; }
.margin-top-25 { margin-top: 25px; }
.margin-top-30 { margin-top: 30px; }
.margin-top-35 { margin-top: 35px; }
.margin-top-40 { margin-top: 40px; }
.margin-top-45 { margin-top: 45px; }
.margin-top-50 { margin-top: 50px; }
.margin-top-55 { margin-top: 55px; }
.margin-top-60 { margin-top: 60px; }
.margin-top-65 { margin-top: 65px; }
.margin-top-70 { margin-top: 70px; }
.margin-top-75 { margin-top: 75px; }
.margin-top-80 { margin-top: 80px; }
.margin-top-85 { margin-top: 85px; }
.margin-top-90 { margin-top: 90px; }
.margin-top-95 { margin-top: 95px; }
.margin-top-100 { margin-top: 100px; }

.margin-bottom-0 { margin-bottom: 0; }
.margin-bottom-5 { margin-bottom: 5px; }
.margin-bottom-10 { margin-bottom: 10px; }
.margin-bottom-15 { margin-bottom: 15px; }
.margin-bottom-20 { margin-bottom: 20px; }
.margin-bottom-25 { margin-bottom: 25px; }
.margin-bottom-30 { margin-bottom: 30px; }
.margin-bottom-35 { margin-bottom: 35px; }
.margin-bottom-40 { margin-bottom: 40px; }
.margin-bottom-45 { margin-bottom: 45px; }
.margin-bottom-50 { margin-bottom: 50px; }
.margin-bottom-55 { margin-bottom: 55px; }
.margin-bottom-60 { margin-bottom: 60px; }
.margin-bottom-65 { margin-bottom: 65px; }
.margin-bottom-70 { margin-bottom: 70px; }
.margin-bottom-75 { margin-bottom: 75px; }
.margin-bottom-80 { margin-bottom: 80px; }
.margin-bottom-85 { margin-bottom: 85px; }
.margin-bottom-90 { margin-bottom: 90px; }
.margin-bottom-95 { margin-bottom: 95px; }
.margin-bottom-100 { margin-bottom: 100px; }

.scrollable {
  overflow: scroll;
}

.scrollable-y {
  overflow-y: scroll;
}

.bordered {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px;
}

.max-height-100 {  max-height: 100px; }
.max-height-115 {  max-height: 115px; }
.max-height-130 {  max-height: 130px; }
.max-height-150 {  max-height: 150px; }
.max-height-200 {  max-height: 200px; }
.max-height-300 {  max-height: 300px; }
.max-height-400 {  max-height: 400px; }
.max-height-500 {  max-height: 500px; }
.max-height-600 {  max-height: 600px; }
.max-height-700 {  max-height: 700px; }
.max-height-800 {  max-height: 800px; }

.inline-10 { display: inline-block; width: 10px; } 
.inline-20 { display: inline-block; width: 20px; } 
.inline-30 { display: inline-block; width: 30px; } 
.inline-40 { display: inline-block; width: 40px; } 
.inline-50 { display: inline-block; width: 50px; } 
.inline-60 { display: inline-block; width: 60px; } 
.inline-70 { display: inline-block; width: 70px; } 
.inline-80 { display: inline-block; width: 80px; } 
.inline-90 { display: inline-block; width: 90px; } 
.inline-100 { display: inline-block; width: 100px; } 
.inline-110 { display: inline-block; width: 110px; } 
.inline-120 { display: inline-block; width: 120px; } 
.inline-130 { display: inline-block; width: 130px; } 
.inline-140 { display: inline-block; width: 140px; } 
.inline-150 { display: inline-block; width: 150px; } 

.white {
  color: #ffffff !important;
}
a.white {
  color: #ffffff !important;
}
a.white:hover,
a.white:focus {
  color: #ffffff !important;
}
.grey {
  color: #cccccc !important;
}
a.grey {
  color: #cccccc !important;
}
a.grey:hover,
a.grey:focus {
  color: #b5b5b5 !important;
}
.black {
  color: #666666 !important;
}
a.black {
  color: #666666 !important;
}
a.black:hover,
a.black:focus {
  color: #4d4d4d !important;
}
.red {
  color: #ed5441 !important;
}
a.red {
  color: #ed5441 !important;
}
a.red:hover,
a.red:focus {
  color: #e52d16 !important;
}
.green {
  color: #51d466 !important;
}
a.green {
  color: #51d466 !important;
}
a.green:hover,
a.green:focus {
  color: #30c247 !important;
}
.lblue {
  color: #32c8de !important;
}
a.lblue {
  color: #32c8de !important;
}
a.lblue:hover,
a.lblue:focus {
  color: #1faabe !important;
}
.blue {
  color: #609cec !important;
}
a.blue {
  color: #609cec !important;
}
a.blue:hover,
a.blue:focus {
  color: #3280e7 !important;
}
.orange {
  color: #f8a841 !important;
}
a.orange {
  color: #f8a841 !important;
}
a.orange:hover,
a.orange:focus {
  color: #f69110 !important;
}
.yellow {
  color: #fcd419 !important;
}
a.yellow {
  color: #fcd419 !important;
}
a.yellow:hover,
a.yellow:focus {
  color: #dfb803 !important;
}
.purple {
  color: #cb79e6 !important;
}
a.purple {
  color: #cb79e6 !important;
}
a.purple:hover,
a.purple:focus {
  color: #ba4ede !important;
}
.rose {
  color: #ff61e7 !important;
}
a.rose {
  color: #ff61e7 !important;
}
a.rose:hover,
a.rose:focus {
  color: #ff2edf !important;
}
.brown {
  color: #d08166 !important;
}
a.brown {
  color: #d08166 !important;
}
a.brown:hover,
a.brown:focus {
  color: #c4613f !important;
}
/* Background color classes */
.bg-white {
  background-color: #ffffff !important;
}
.bg-grey {
  background-color: #eeeeee !important;
}
.bg-black {
  background-color: #666666 !important;
}
.bg-red {
  background-color: #ed5441 !important;
}
.bg-green {
  background-color: #51d466 !important;
}
.bg-lblue {
  background-color: #32c8de !important;
}
.bg-blue {
  background-color: #609cec !important;
}
.bg-orange {
  background-color: #f8a841 !important;
}
.bg-yellow {
  background-color: #fcd419 !important;
}
.bg-purple {
  background-color: #cb79e6 !important;
}
.bg-rose {
  background-color: #ff61e7 !important;
}
.bg-brown {
  background-color: #d08166 !important;
}

/* Label colors */
.label.label-white{
  color: #666666 !important;
  background: #f7f7f7;
}
.label.label-grey {
  color: #666666 !important;
  background: #eeeeee;
}
.label.label-black {
  color: #ffffff;
  background: #666666;
}
.label.label-red {
  color: #ffffff;
  background: #ed5441;
}
.label.label-green {
  color: #ffffff;
  background: #51d466;
}
.label.label-lblue {
  color: #ffffff;
  background: #32c8de;
}
.label.label-blue {
  color: #ffffff;
  background: #609cec;
}
.label.label-orange {
  color: #ffffff;
  background: #f8a841;
}
.label.label-yellow {
  background: #fcd419;
  color: #ffffff;
}
.label.label-purple {
  background: #cb79e6;
  color: #ffffff;
}
.label.label-rose {
  background: #ff61e7;
  color: #ffffff;
}
.label.label-brown {
  background: #d08166;
  color: #ffffff;
}

.left-1 {
  position: relative;
  left: -1px;
}

.right-1 {
  position: relative;
  left: 1px;
}

.text-small {
  font-size: 0.75em;
}

.full-width {
  width: 100%;
}

.strike {
  text-decoration: line-through;
}

.btn-circle {
  border-radius: 50%;
}

.lime {
  color: lime;
}

.select2-container {
  margin-left: 0 !important;
  width: 100% !important;
  font: 13px/1.7em "FontAwesome", "Open Sans", "trebuchet ms", arial, sans-serif;
}

.uppercase {
  text-transform: uppercase;
}

.input-group .select2-container .select2-selection {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

.select2-container .select2-selection {
  height: 34px;
  /*line-height: 34px;*/
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border-color: #ccc;
  background: #fff !important;
  filter: none;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 32px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow  {
  background: none;
  border: none;
  top: 2px;
  right: 5px;
  height: 32px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow  b {
  background-position: 1px 1px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow  b {
  background-position: -17px 1px;
}
.select2-container-open .select2-selection,
.select2-container-open .select2-selections,
.select2-container .select2-selection:hover {
  border-color: #c2c2c2 !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}
.select2-results {
  padding: 0;
  margin-right: 0;
}
.select2-search {
  padding-top: 4px;
}
.select2-drop,
.select2-drop.select2-drop-above {
  border: 1px solid #aaa;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.select2-drop.select2-drop-above.select2-drop-open {
  border-color: #aaa;
  margin-top: -5px;
}
.select2-drop-multi.select2-drop-above {
  margin-top: -1px !important;
}
.select2-container .select2-selection abbr {
  top: 9px;
}
/* .select2-search-selection-close */
.select2-container-multi .select2-selections {
  min-height: 34px;
  background: #fff;
  border: 1px solid #ccc;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.select2-container-multi .select2-selections .select2-search-field input {
  height: 28px;
  padding-bottom: 4px;
}
.select2-container-multi .select2-selections .select2-search-selection {
  background: #f8f8f8;
  height: 22px;
  line-height: 14px;
  margin: 2px 1px 1px 2px;
  -webkit-border-radius: 2px !important;
  -moz-border-radius: 2px !important;
  border-radius: 2px !important;
  padding: 3px 22px 3px 6px;
  border: 1px solid #aaa;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.select2-container-multi .select2-search-selection-close {
  right: 3px;
  top: 4px;
  left: auto;
}
.select2-container-multi .select2-selections .select2-search-selection-focus {
  background: #e1e1e1;
}
.select2-dropdown-open.select2-drop-above .select2-selection,
.select2-dropdown-open.select2-drop-above .select2-selections {
  background: #fff !important;
  border: 1px solid #dcdcdc;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}
.select2-container .select2-selection > .select2-chosen i,
.select2-results .select2-result-label i,
.select2-container-multi .select2-selections .select2-search-selection i {
  margin: -1px 6px 0 0;
  height: 15px;
  vertical-align: -2px;
}
.form-control.select2-container {
  height: auto;
  padding: 0;
  border: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.stars {
  font-family: 'FontAwesome', Arial;
}

.parsley-form .input-group-btn {
  vertical-align: top;
}

.parsley-errors-list {
  color: red;
}

.form-group ul {
  list-style: none;
}

button i, label i {
  margin-right: 8px;
}

table.dataTable tbody {
  cursor: default;
}

tr.selected {
  background-color: #fdf3e4;
}

.table-hover > tbody > tr.selected:hover {
  background-color: #ede3d4;
}

.input-daterange.input-group input {
  top: 0;
}

.btn-default.active {
  font-weight: bold;
}

.input-row-with-min-stay label {
  line-height: 30px; 
  padding-right: 0; 
  text-align: center;
}

.input-row-with-min-stay div {
  padding-left: 0;
}
.vspacer.h8 {
  height: 8px;
}
#special-offer-base-rooms p, #special-offer-upgraded-rooms select {
  margin-bottom: 4px;
}

#special-offer-base-rooms p {
  width: 100%;
  height: 34px;
  padding: 6px 12px 6px 0;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
}

/* wysiwig editor */
.wysiwig-editor {
  overflow: scroll;
  height: auto;
  min-height: 60px;
  max-height: 320px;
}

.wysiwig-editor.large {
    min-height: 120px;
}

.thumbnail {
  margin-bottom: 0;
}

.thumbnail-view {
  display: block;
}

table.text-centered th, table.text-centered td {
  text-align: center;
}

/* Correzioni all'accordion per il supporto a Bootstrap 3.3.2 */
.accordion .panel.open .panel-heading { 
  background-color: #e5412d;
}

.list-group-item.selected {
  background-color: #f5f5f5;
}

.list-group-item.selected i.list-group-chevron {
  color: #e5412d;
}

.group-header {
  margin-bottom: 8px;
}

#price-rooms-form input, 
#price-services-form input {
  /* width: 80px; */
  height: 24px;
}

#price-rooms-form .table>tbody>tr>td,
#price-services-form .table>tbody>tr>td {
  line-height: 24px;
  vertical-align: middle;
}

.results-wrapper {
  max-height: 300px;
  overflow: scroll;
}

.inquiry-result-wrapper, .inquiry-hotel-detail-wrapper {
  padding: 10px;
}

.inquiry-result.row {
      border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
        margin-bottom: 8px !important; 
}

.inquiry-result.row:hover {
  border-color: #dcc;
  background-color: #fffafa;
}

.inquiry-result .row {
  margin-bottom: 0px !important; 
}


.inquiry-result.row .image-wrapper img {
  padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}


.inquiry-result.row .hotel-stars {
     /*position: absolute;*/
    /*top: 10px;*/
    /*right: 0;*/
    color: orange;
    font-size: 20px;
    white-space: pre;
}

.inquiry-result.row .hotel-name {
  font-size: 24px;
    font-weight: lighter;
    /* margin-bottom: 0px; */
    padding-top: 10px;
}

.inquiry-result.row .promo_sum {
  font-size: 18px;
}

.inquiry-result.row .combination_sum {
  font-size: 18px;
  font-weight: 600;
}

.inquiry-result.row .text-primary.promo_sum {
  border-top: 1px solid #e5412d;
  border-right: 1px solid #e5412d;
  border-bottom: 1px solid #e5412d;
  border-radius: 5px;
  padding: 3px 4px 4px 10px;
  margin-left: -8px;
  font-weight: 600;
}

div.price-block {
  margin-bottom: 8px;
}

.inquiry-result.row .price-block {
  padding-top: 10px;
}

.inquiry-result.row .detail-link {
  position: absolute;
    right: 0;
    top: 65px;
}

.btn-add-vat {
  font-size: 8px;
  line-height: 10px;
}

.promos-applied td div, .promos-applied th div{
  white-space: nowrap;
}

td.center, th.center {
  vertical-align: middle !important;
  text-align: center;
}

td.collapsable-table-row {
  padding: 0 !important;
  border: none !important;
}

td.collapsable-table-row .table-responsive {
  padding-left: 32px;
  padding-right: 32px;
}

td.collapsable-table-row tbody td {
  vertical-align: middle;
}

tbody.offer_body_totals td.totals {
  border-top: 2px solid #000;
  font-weight: bold;
}

tbody.offer_body_totals td.partial {
  color: #666;
  border-top: 2px solid #CCC;
  font-weight: bold;
}

tbody.offer_body_totals td.discount {
  color: #3a87ad;
}

a.table-row-action {
  padding: 0 3px;
  margin: 0 0 0 3px;
}

#recent-offers-wrapper,
#offer_customer_select_wrapper {
  max-height: 300px;
  overflow: scroll;
}

#recent-offers-wrapper .radio,
#offer_customer_select_wrapper .radio{
  margin-top: 0;
  margin-bottom: 0;
}

.row-even {
  background-color: #f5fff5;
}

.row-odd {
  background-color: #fff5f5;
}

.table-striped>tbody>tr:nth-of-type(odd) td.darker {
  background-color: #e9e9e9;
}

.table-striped>tbody>tr:nth-of-type(even) td.darker {
  background-color: #efefef;
}

td.money-format, th.money-format {
  text-align: right;
  padding-right: 10px !important;
}

th .input-sm {
  height: 24px;
  padding: 4px;
  font-size: 11px;
}

.table-font-small th,
.table-font-small td {
  font-size: 11px !important;
}

span.status-icons i {
  display: inline-block;
  text-align: center;
  width: 20px;
}

td.vert-align-middle{
  vertical-align: middle !important;
}

input.qty_modifier {
    display: inline;
}

span.days_count {
  font-size: 12px;
}

ul#create-doc-dropdown-menu li.disabled {
  display: none;
}

.hidden {
  display: none
}

.greyed, .greyed td, .greyed th, .greyed a, .greyed a:link {
  color: #999 !important;
}

.alert-compact {
  padding: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
}


#content-header, #content-container {
  top: -40px;
}

#content-header {
  height: 62px;
}

#content-header h1{
  line-height: 62px;
  font-size: 28px;
}

#content {
  margin-left: 180px;
}

#sidebar, #main-nav {
  width: 180px;
}

#site-logo {
  left: 4px;
}

#site-logo img {
  width: 170px;
}

#main-nav > li > a {
  padding-left: 12px;
}

#main-nav .sub-nav {
  padding-left: 5px;
}

#main-nav .sub-nav > li > a {
  padding: 5px 8px 5px 16px;
}


.dashboard-stat .value {
    font-size: 28px;
}

.status_cancel_btn {
    margin-top: 40px;
    padding: 5px 10px;
    background-color: #e5412d;
    color: white;
}

.booking.verified, 
.book_manager.verified,
.ext_booking.verified {
  display: none;
}

th.colfixed {
  position: absolute;
  background-color: #f7f7f7 !important;
}

td.colfixed {
  position: absolute;
  background-color: #fff !important;
}