/*

CSS:
http://www.rueckenwind.de/en
http://www.eurotrek.ch/de
http://www.eurobike.at/en
http://www.eurohike.at/en
http://www.eurohike.at/en
http://www.radreisefreunde.at/de
http://www.espace-randonnee.fr/fr

*/

noscript {
    position: absolute;
    background: lightyellow none repeat scroll 0% 0%;
    height: 100%;
    z-index: 1000;
    width: 100%;
    padding: 20px;
}

.not-supported-browsers {
    position: absolute;
    background: lightyellow none repeat scroll 0% 0%;
    height: 100%;
    z-index: 1000;
    width: 100%;
    padding: 20px;
}

/* ======================================
 * 
 * Bootstrap overrides 
 *
 * ====================================== */

.form-control {
    height: 31px;
}

.text-muted {
    color: #CCC;
}

i {
    font-style: italic;
}

#insurance_form .checkbox label {
    font-weight: 700;
}

/* =================
 * Modal dialogs
 * ================ */

.modal {
    text-align: center;
}
/*.modal-backdrop.in {
    filter: alpha(opacity=5);
    opacity: .05;
    background-color: transparent;
    background-image: url(../../core/css/images/animated-overlay.gif) !important;
    background-repeat: repeat;
}*/
.modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    top: 50%;
    position: absolute;
    -moz-transform: translate3d(-50%, -50%, 0) !important;
    -ms-transform: translate3d(-50%, -50%, 0) !important;
    -o-transform: translate3d(-50%, -50%, 0) !important;
    -webkit-transform: translate3d(-50%, -50%, 0) !important;
    transform: translate3d(-50%, -50%, 0) !important;
    height: 70%;
}

body.modal-open.modal-position-bottom .modal-dialog {
    top: initial;
    bottom: 60px;
    height: auto;
    position: fixed;
    -moz-transform: translate3d(-50%, 0, 0) !important;
    -ms-transform: translate3d(-50%, 0, 0) !important;
    -o-transform: translate3d(-50%, 0, 0) !important;
    -webkit-transform: translate3d(-50%, 0, 0) !important;
    transform: translate3d(-50%, 0, 0) !important;
}

.glyphicon {
    font-size: 8px;
    vertical-align: top;
    padding-left: 4px;
}

/* ======================================
 * 
 * Main 'booking_form.css' rules
 *
 * ====================================== */

.tb-only-print {
    display: none;
}

input:disabled, textarea:disabled, option:disabled, optgroup:disabled, select:disabled:disabled {
    -moz-user-input: disabled;
    background-color: #f0f0f0; /* Or use ThreeDFace for taking system color */
}

.footnote {
    font-size: smaller;
    margin-top: 14px;
    padding-top: 4px;
    width: 150px;
}

#booking_form {
    display: block;
    margin: 10px 20px;
}

#booking_form input {
    padding-left: 5px;
    cursor: pointer;
}

#booking_form .nextButton input {
    -webkit-appearance: none;
    background: none;
    border: none;
}

#booking_form input[type="radio"] {
    margin-right: 3px;
}

#booking_form select {
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #CCC;
    border-radius: 5px;
    height: 31px;
    margin: 0;
}

#booking_form input.hasDatepicker {
    width: 90px;
    font-size: 14px;
    border: 1px solid #CCC;
    border-radius: 5px;
    height: 33px;
}

#booking_form .tabPane {
    display: block;
    border: 1px solid #f1f1f1;
    border-top: 0;
    padding: 10px 10px 60px 10px;
    position: relative;
}

#booking_form .tabPane .framesubContainer {
    margin-bottom: 20px;
    padding-left: 0px !important;
}


#booking_form .tabPane .framesubContainer.col-sm-4.tb-datepicker {
    min-width: 270px;
}

.tabPane .subtitle {
    padding: 5px 0px;
    margin-bottom: 10px;
	font-size: 20px;
	font-weight: bold;
	color: #2e91c6;
	margin-top: 0;
}

#booking_form .tabPane .thick_minor_subtitle {
    color: black;
    font-weight: bold;
    font-size: 16px;
    padding: 5px 0px;
    margin-bottom: 10px;
}

#booking_form .tabPane .countrySelect {
    margin-left: 10px;
    font-size: 14px;
    border: 1px solid #CCC;
    border-radius: 5px;
    height: 31px;
}

#booking_form .tabPane .field {
    margin-bottom: 15px;
}

#booking_form .tabPane .type {
    display: inline-block;
    /* width: 205px;	if all okay, delete me, thomas */
}

#booking_form .tabPane .value {
    display: inline-block;
    font-size: 15px;
    border-radius: 5px;
    margin-left: 0;
    padding: 5px;
    box-shadow: none;
    border: 1px solid #CCC;
}

.table table.table tbody tr td {
    border-top: 0px none #DDD;
}

div.table {
    border-top: 1px solid #DDD;
}

#booking_form .tabPane .extraPassenger {
    border-bottom: 1px solid #82bddd;
    margin-bottom: 9px;
}

#booking_form .tabPane .extraPassenger:last-of-type {
    border: 0;
}

#booking_form .tabPane .extraTravellerSize {
    width: 50px;
}


#booking_form .tabPane .extraNightsOptions {
    text-align: center;
    margin: 15px 0;
}

#booking_form .tabPane .extraNightsButton {
    color: #FFF;
    border-radius: 5px;
    width: 84px;
    padding: 7px 0;
    text-align: center;
    display: inline-block;
    margin: 0 20px;
    cursor: pointer;
}

#booking_form .tabPane .extraNightsButton.disable {
    background: #CCC;
    pointer-events: none;
}

#booking_form .tabPane .tripStep {
    border-bottom: 1px solid black;
    margin-bottom: 20px;
    padding-bottom: 20px;
}


#booking_form .tabPane .tripStepDate {
    display: inline-block;
    margin-right: 20px;
}

#booking_form .tabPane .tripStepOptions {
    display: inline-block;
}

#booking_form .tabPane .pricingTitle {
    text-align: center;
    margin-bottom: 20px;
}

#booking_form .tabPane.showPricesWrapper .type {
    font-size: 14px;
    width: 550px;
}

#booking_form .tabPane.showPricesWrapper .value {
    font-size: 14px;
    font-weight: bold;
    border: 0;
    position: absolute;
    right: 0;
}

#booking_form .tabPane.showPricesWrapper .field {
    margin-bottom: 10px;
    border-bottom: 1px solid #82bddd;
    padding-bottom: 15px;
    position: relative;
}

#booking_form .tabPane.showPricesWrapper .field.last {
    border: 0;
}

#booking_form .tabPane.showPricesWrapper .field.last .type,
#booking_form .tabPane.showPricesWrapper .field.last .value {
    font-size: 16px;
    font-weight: bold;
}

/* Season price column */
#booking_form .tabPane.completeDataWrapper input {
    margin-right: 5px;
}

#booking_form .tabPane.completeDataWrapper label {
    display: inline-block;
}

#booking_form div.season_list_season > div:nth-child(2) {
    padding-left: 0 !important;
}

/* normal */
#booking_form .season_list_toggle li.seasons_list_dates {
    display: none !important;
}
#booking_form .season_list_toggle .dropup {
    display: none;
}
#booking_form .season_list_toggle .dropdown {
    display: block;
}

/* extended */
#booking_form .season_list_toggle_extend li.seasons_list_dates {
    display: block !important;
}
#booking_form .season_list_toggle_extend .dropup {
    display: block !important;
}
#booking_form .season_list_toggle_extend .dropdown {
    display: none !important;
}


#booking_form .tabPane.completeDataWrapper .extraInfo {
    width: 100%;
    max-width: 100%;
    min-height: 60px;
    max-height: 200px;
    margin-top: 10px;
}

#booking_form .tabPane.completeDataWrapper .phoneFirstCode {
    width: 30px;
}

#booking_form .tabPane .nextButton:hover,
#booking_form .tabPane .prevButton:hover,
#booking_form .printButton:hover {
}

#booking_form .tabPane .requiredFieldInfo {
    text-align: right;
    font-style: italic;
    font-size: 12px;
}

#booking_form .amount_select_entry {
    height: 40px;
}

#booking_form .amount_select_entry select {
    float: left;
}

#booking_form select.select_number {
    width: 50px;
}

#booking_form .amount_select_entry_title {
    /*width:130px;*/
    float: left;
    padding-top: 6px;
}

#booking_form .amount_select_entry_suffix {
    float: left;
    padding-left: 6px;
}

#booking_form .comments {
    width: 540px;
    height: 100px;
}

#booking_form .child_date_col {
    padding: 0;
}

#booking_form .child_date_col .child_date {
    margin-right: 5px;
}

/* ======================================
 * 
 * The bootstrap tabs
 *
 * ====================================== */

.nav-tabs {
    border-bottom: 1px solid black;
}

.nav-tabs a {
    color: black;
}


.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    border: 1px solid black;
    border-bottom: none;
}

/* ======================================
 * 
 * The prev and next button for tab navigation
 *
 * ====================================== */

#booking_form .tabPane .prevButton,
#booking_form .tabPane .nextButton,
#booking_form .printButton {
    color: #FFF;
    border-radius: 5px;
    border: 0;
    min-width: 84px;
    width: auto;
    position: absolute;
    cursor: pointer;
    padding: 7px 10px;
    text-align: center;
    bottom: 10px;
}

#booking_form .printButton {
    position: relative !important;
    margin-top: 14px;
    margin-left: 2px;
}

#booking_form .tabPane .prevButton {
    left: 10px;
}

#booking_form .tabPane .nextButton {
    right: 10px;
}

#booking_form .tabPane .nextButton.printButton {
    position: relative;
    float: right;
    right: 10px;
    top: 16px;
}

#booking_form .tabPane .nextButton.printButton::after {
    content: initial;
}

/* ======================================
 * 
 * The seasons lists with its date and the legend
 *
 * ====================================== */


#booking_form .seasons_list_name {
    font-weight: 900;
}

#booking_form .seasons_list {
    list-style: none;
    padding-left: 0px;
}

#booking_form .season_list_season td {
    padding-left: 0px;
    padding-bottom: 0px;
}

#booking_form .season_list_season {
    clear: both;
}

#booking_form #seasons_datepicker_message {
    clear: both;
}

#booking_form .ui-datepicker-trigger {
    width: 30px;
}

#booking_form .seasons_list_legend_item {
    margin: 5px 0px;
}

#booking_form .seasons_list_legend_item_colorkey {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 5px;
}


table.ui-datepicker-calendar td.season a.ui-state-default {
    background: none;
}


#seasons_legend {
    margin-top: 44px;
    margin-bottom: 20px;
    padding-left: 0 !important;
}


/* ======================================
 * 
 * The price info bubble
 *
 * ====================================== */

#tabsAndPriceWrapper {
    position: fixed;
    top: 0;
    left: 0;
    padding: 10px 20px 0;
    z-index: 3;
    width: 100%;
    background-color: #fff;
}

#currentPriceInfos {
    clear: both;
    width: 100%;
    height: auto;
    padding: 10px;
}

#price-table {
    width: 100%;
}

#priceTableContainer {
    position: relative;
}

table#pricetable {
    margin-top: 5px;
}

#onlyPrice {
    margin-top: 5px;
    display: none;
}

table#pricetable tbody td {
    vertical-align: top;
}

#currentPriceInfos {
    background-color: #ccc;
    color: black;
    box-shadow: 0 5px 8px -5px rgba(0,0,0,0.75);
}

#seasons_dates {
    font-size: 1.6rem;
}

#currentPriceInfos .pricetable_row {
    width: 100%;
    clear: both;
    min-height: 20px;
}

#currentPriceInfos .pricetable_row_entry {
    min-height: 20px;
}

#currentPriceInfos .pricetable_row_final {
    border-top: 2px solid black;
}

#currentPriceInfos .pricetable_row_entry_bold {
    font-weight: 900;
}

#currentPriceInfos .pricetable_row_entry.pricetable_row_single.pricetable_row_entry_bold {
    margin-left: 4px;
}

#currentPriceInfos .pricetable_row_entry.pricetable_row_sum.pricetable_row_entry_bold {
    margin-left: -3px;
}

li.no-heading a[tab-heading-transclude] {
    display: none;
}


/* ======================================
 * 
 * tb-helpbox
 *
 * ====================================== */

tb-helpbox {
    display: inline-block;
}

tb-helpbox .dropdown {
    top: -2px;
}


tb-helpbox .glyphicon.glyphicon-info-sign {
    left: -2px;
}

tb-helpbox .btn {
    padding: 0;
}

tb-helpbox .btn-default,
tb-helpbox .btn-default:focus,
tb-helpbox .btn-default:hover,
tb-helpbox .btn-default:active,
tb-helpbox .btn-default.active,
fieldset[disabled] tb-helpbox .btn-default,
tb-helpbox .open > .dropdown-toggle.btn-default {
    border-color: white;
    background-color: white;
    box-shadow: none;
}

tb-helpbox .btn:focus,
tb-helpbox .btn:active:focus,
tb-helpbox .btn.active.focus {
    outline: none;
}

/*tb-helpbox .btn-default .glyphicon-info-sign {*/
.glyphicon-info-sign, .glyphicon-question-sign {
    font-size: 22px;
}



/* ======================================
 * 
 * tb-helpkey
 *
 * ====================================== */

[tb-helpkey] .dropdown-menu {
    width:500px;
    font-weight: normal;
    padding: 6px;
}

/* ======================================
 * 
 * Minor helper classes
 *
 * ====================================== */

.inactive {
    color: #ccc;
}

#mobile_number_hint {
    padding-top: 4px;
}

.mbottom15 {
    margin-bottom: 15px;
}

.clear {
    clear: both;
}

.after_label {
    line-height: 2.2em;
}


/* ======================================
 * 
 * Tab 'Tour data'
 *
 * ====================================== */
#seasons_dates {
    font-size: 14px;
    margin-bottom: 0;
}

.tb-table-itinerary .col-sm-2,
#additionalservices_form .col-sm-2 {
    max-width: 130px;
    padding-right: 0;
}

.tb-table-itinerary .inactive,
#additionalservices_form .inactive {
    color: black;
}

.tb-table-itinerary,
.tb-table-itinerary table,
#additionalservices_form table {
    font-size: 14px;
    margin-bottom: 0;
}

.table.table.tb-table-itinerary .tb-price,
#additionalservices_form table.table .tb-price {
    padding-top: 20px;
}


/* ======================================
 * 
 * Tab 'Rental bikes'
 *
 * ====================================== */
#rentalbikes_form table {
    font-size: 14px;
}

#rentalbikes_form table.table > tbody > tr > td {
    border-top: 0 none;
    padding: 0;
}

#rentalbikes_form table.table .tb-header {
    height: 32px;
}

#rentalbikes_form table.table .tb-header:nth-child(4) {
    padding-right: 40px;
}

#rentalbikes_form table.table .tb-price {
    padding-right: 40px;
}


/* ======================================
 * 
 * Tab 'Tour price' / insurance
 *
 * ====================================== */

.tb-table-insurance.table > tbody > tr > td {
    border: 0 none white;       /* Bootstrap override */
    font-size: 14px;              /* User agent override */
}

#availableInsurances {
    margin-bottom: 20px;
}

#availableInsurances .insurance {
    margin-bottom: 15px;
}

#availableInsurances .insurance .insuranceName{
    font-weight: bold;
}

/* ======================================
 * 
 * Tab 'Personal data'
 *
 * ====================================== */
#personal_data_form .tb-birthday-select.form-control.ng-valid-required.ng-valid,
#personal_data_form .form-control.ng-valid-required.ng-valid.ng-dirty {
    border-color: #71C656;
    box-shadow: 0 0 6px #B8F8AE;
}

#personal_data_form .tb-birthday-select.form-control.ng-invalid-required.ng-invalid.ng-dirty,
#personal_data_form.submitted .form-control.ng-valid-required.ng-invalid:not(:focus),
#personal_data_form.submitted .form-control.ng-invalid-required.ng-invalid:not(:focus) {
	border-color: #E9322D;
	box-shadow: 0 0 6px #F8B9B7;    
}

#personal_data_form .tb-phone-number-area {
    min-width: 64px !important;
}

#personal_data_form ::-webkit-input-placeholder {
    font-style: italic;
    font-size: smaller;
}

#personal_data_form :-moz-placeholder { /* Firefox 18- */
    font-style: italic;
    font-size: smaller;
}

#personal_data_form ::-moz-placeholder { /* Firefox 19+ */
    font-style: italic;
    font-size: smaller;
}

#personal_data_form :-ms-input-placeholder {
    font-style: italic;
    font-size: smaller;
}

/* ======================================
 * 
 * Tab 'Thank you'
 *
 * ====================================== */

#bookingform_Ctrl_Thanks_container.tb-tabPane-thanks {
    border: 1px solid black;
}

.tb-form-thanks table 
{
    font-size: 14px;
}

.tb-form-thanks .subtitle {
    margin-bottom: 0;
    font-size: 16px;
}

/* ======================================
 * footer
 * ====================================== */
#footer {
    display: block;
}

/* ======================================
 * arrows - price table toggle
 * ====================================== */
.arrow {
    position: absolute;
    top: -30px;
    right: 0;
    cursor: pointer;
}

.arrow .caret {
    margin-left: 5px;
}

/* ======================================
 * mobile
 * ====================================== */
.mobileOn {
    display: none;
}

/* ======================================
 * Overwrite some bootstrap files
 * ====================================== */
@media (max-width: 767px) {
  .birthday_field,
  .birthday_calendar,
  .phone_mobile_area_country,
  .phone_mobile_number {
    float: left;
  }
  .phone_mobile_number {
    width: 70%;
  }
  .phone_mobile_area_country {
    width: 8.33333333%;
    padding-left: 15px;
    margin-right: 20px;
  }
  .phone_mobile_label {
    display:block;
  }
  #personal_data_form .tb-phone-number-area {
    min-width: 50px !important;
  }

  .birthday_field {
    width: 25%;
 
  }
  .birthday_calendar {
    width:16%;
  }
}

/* ======================================
 * Dialogs
 * ====================================== */
.dialog {
    z-index: 1002;
}
.dialog iframe {
    width: 100%;
    height: 100%;
    border: none;
}
