html,
body {
    height: 100%;
}

select {
    -webkit-appearance: none;
}

hr {
  border-top: 1px solid #337ab7;
}
/*Fix for ZZZ hosting, remove later*/
div[style="margin: 0 20% !important; text-align:center !important;font-size:16px !important;font-family:arial !important;background-color:black !important;color:white !important"] {
    display: none;
}
.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
}

.wrap > .container {
    padding: 15px 10px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav > li > form {
    padding: 8px;
}

.nav > li > form > button:hover {
    text-decoration: none;
}

.color-success {
    color: #5cb85c;
}


.option_2, .option_3 {
    display: none;
}
.option_2.show, .option_3.show {
    display: block;
}


.center {
    text-align: center;
}

#sideBox {
    padding-top: 15px;
    padding-bottom: 15px;
    background: rgb(244,243,243);
}

#sideBox h5 {
    position: relative;
}

#sideBox h5:before {
    content: '';
    left: -15px;
    top: -5px;
    height: 25px;
    background: rgb(155,155,155);
    display: block;
    width: 10px;
    position: absolute;
}

#sideBox hr {
    border-top: 1px solid rgb(155,155,155);
}




#reservation-type input {
	margin-right: 5px;
}
#reservation-type label {
	margin-left: 80px;
    cursor: pointer;
}

#reservation-route_id input {
	margin-right: 10px;
}
#reservation-route_id label {
	margin-left: 50px;
    cursor: pointer;
}

#peoples {
	margin-top: 40px;
    margin-bottom: 40px;
}

.route_0 h4 {
    margin-bottom: 20px;
}
.route_1 {
	margin-top: 10px;
	margin-bottom: 20px;
}
.route_2 {
	margin-top: 30px;
	margin-bottom: 30px;
}

#pay_amount_hint {
	padding: 5px;
	margin-left: 5px;
    color: #999;
}

.hidden-mxs {
    display: none;
}

.scrol_m {
 	overflow-x: scroll;
}

#commission_block {
    display: none;
}

#commission_block.show_admin {
    display: block;
}

.step1form {
    background-color: #F0F0F0;
}

.breadcrumbs_wizard {
    margin-bottom: 60px;
}

.pay hr {
    margin-top: 100px;
    border-top: 1px solid rgb(155,155,155);
}

.pay_buttons {
	margin-top: 50px;
}

#submit_payment {
	margin-top: 20px;
}

#search_hotel_wrapper {
	margin-top: 10px;
	padding: 1px 1px 10px 1px;
}

.search_state_img {
	width: 60%;
	margin-left: 20px;
}

.modal-dialog.modal-fit {
    width: 100%;
}

.modal-content {
    max-height: 750px;
    overflow-y: auto;
    overflow-x: auto;
}

.modal-body {
    max-height: calc(100vh - 170px);
    overflow-y: auto;
}

.tooltip-inner {
    white-space:pre-wrap;
}

td.custom_id {
    max-width: 160px;
    font-size: 14px;
    overflow: hidden;
    white-space: normal;
}

.brone_info_detail hr {
    margin-top: 5px;
    margin-bottom: 5px;
}

.brone_info_detail {
    padding-left: 10px;
}

.kv-expand-detail-row td {
    white-space: normal;
}

/*
#my_brone_grid td {
    white-space: normal;
}*/


.wrapper_insurance_cost, .wrapper_insurance_cost_no_show, .wrapper_insurance_data {
    display: none;
}
.wrapper_insurance_cost.show_cost, .wrapper_insurance_data.show_data {
    display: block;
}

#low_cost .top-block i {
    line-height: 20px;
}
#low_cost .top-block span {
    color: #337ab7;
    font-size: 24px;
    line-height: 16px;
    vertical-align: sub;
    font-family: serif;
}

.message-list-block{
}
.message-list-block > div {
    width: 100%;
    display: inline-block;
    margin: 3px 0;
}
.message-list-block > div > span {
    display: inline-block;
    padding: 6px 12px;
    margin: 0;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
}

.dialog-history {
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 10px;
}
.dialog-history > legend {
    width: auto;
    margin: 10px;
    padding: 4px;
    line-height: normal;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.dialog-history > legend > h3 {
    margin: 0;
}

.brone_info_detail_wrapper.new-answer {
    padding: 10px;
    background-color: #D9EDF7;
}

.dpicker-range-from {
    display: inline-block;
    min-width: 16px;
    text-align: center;
    margin: 0px -31px 0px 31px;
    box-sizing: content-box;
    line-height: 1.42857143;
    padding: 6px 5px;
    background-color: #eee;
    border-radius: 3px 0px 0px 3px;
    border-width: 1px 0px 1px 1px;
    border-style: solid;
    border-color: #ccc;
}

.datepicker-days .day.free_0 {
    background-color: red;
    color: white;
}
.datepicker-days .day.free_0:hover {
    /*background-color: #8b0000;*/
    background-color: red;
    color: white;
}
.datepicker-days .day.free_more_1 {
    background-color: #ffff00;
    color: black;
}
.datepicker-days .day.free_more_1:hover {
    background-color: #ffff66;
    color: black;
}
.datepicker-days .day.free_more_15 {
    background-color: green;
    color: black;
}
.datepicker-days .day.free_more_15:hover {
    background-color: #006400;
    color: black;
}

.left-menu .calendar-free-state {
    display: block;
    margin-bottom: 5px;
}
.left-menu .calendar-free-state.active a {
    background-color: green;
}
.left-menu .list-group-item.active, .left-menu .list-group-item.active:hover, .left-menu .list-group-item.active:focus {
    background-color: lightgray;
}

.left-menu-netto .panel-heading {
    padding: unset;
}

.pull-bottom {
    display: inline-block;
    vertical-align: bottom;
    float: none;
}

.roads-every-day-checkbox {
    padding-right: 18px;
}

.checkbox-form-control {
    margin-top: 30px;
}

#road-image-preview img {
    width: 100%;
}

/* Internal roads step 1 form */
.reserve-internal-routes-container {
    background-color: white;
    margin: 0 -15px;
    padding: 15px;
}

.reserve-internal-routes-container > form > .row {
    border-bottom: 1px dotted grey;
    padding: 10px 0;
    min-height: 150px;
}

.reserve-internal-routes-container .road-title {
    font-weight: bold;
    font-size: 18px;
    text-decoration: underline;
    margin-bottom: 10px;
}

.reserve-internal-routes-container .road-description {
    font-size: 12px;
}

.reserve-internal-routes-container img {
    width: 100%;
    max-height: 300px;
}

.reserve-internal-routes-container .input-span {
    width: 60px;
    display: inline-block;
    padding: 5px 0 5px 5px;
}

.reserve-internal-routes-container .internal-road-people-count {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.reserve-internal-routes-container .internal-road-people-count .help-block {
    display: none;
}

.reserve-internal-routes-container .internal-road-people-count .form-group {
    margin-bottom: 0;
}

.reserve-internal-routes-container .input-span .form-control {
    float: none;
    padding: 2px 6px;
    height: 30px;
}

.reserve-internal-routes-container .blue {
    color: #337ab7;
}

.reserve-internal-routes-container .total-price {
    font-weight: 900;
    font-size: 14px;
    padding: 2px 7px;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: inline-block;
    margin-top: 1em;
    margin-bottom: 2em;
}

.reserve-internal-routes-container .total-price span {
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 22px;
}

.reserve-internal-routes-container .price-column {
    padding-left: 10%;
}

.reserve-internal-routes-container .route-date {
    text-align: right;
    font-weight: bold;
}

.reserve-internal-routes-container .route-date .form-group {
    max-width: 140px;
    display: inline-block;
    margin-bottom: 5px;
}

.reserve-internal-routes-container .route-date label,
.reserve-internal-routes-container .route-date .help-block {
    display: none;
}

.reserve-internal-routes-container .list-image {
    padding: 0;
}

/* Tour details page */
.tour-details-container {
    padding: 0 15px;
}

.tour-details-container label {
    margin-bottom: 0;
    font-weight: 600;
}

.tour-details-container .form-row {
    margin-top: 1em;
    margin-bottom: 1em;
}

.tour-details-container .blue {
    color: #337ab7;
}

.tour-details-container .road-title {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.tour-details-container .tour-image img {
    width: 100%;
    max-width: 100%;
}

.tour-details-container .route-date {
    width: 140px;
}

.tour-details-container .internal-road-people-count {
    width: 80px;
}

.tour-details-container .total-price {
    font-weight: 900;
    font-size: 14px;
    padding: 2px 7px;
    display: inline-block;
    margin-top: 16px;
    margin-bottom: 22px;
}

.tour-details-container .total-price span {
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 22px;
}

.tour-details-container .road-description {
    margin-top: 15px;
}

.gallery .gallery-image {
    width: 160px;
    height: 120px;
    border-radius: 5px;
    margin: 2px 0;
}

.common-field-mark {
    color: #46b8da;
}

@media (min-width: 992px) {
    .route_direction_wrap {
        position: absolute;
        right: 0;
        top: -50px;
    }
}
