/* header */

.datepicker-dropdown .search-switch {
    display: block;
    margin-top: 5px;
    text-align: center;
    font-size: 14px;
}

.datepicker-dropdown .alter div + .search-switch {
    margin-top: 10px;
    padding-top: 6px;
    border-top: solid 1px #ccc;
}

.datepicker-dropdown .search-switch label {
    border-bottom: 1px dashed #666;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.header-search-bar .header-search-date-section {
    width: 204px;
    height: 42px;
}

.header-search-bar .header-search-person-section {
    vertical-align: top;
}

.header-search-bar .header-search-date-section .search-date-picker {
    position: relative;
}

.header-search-bar .header-search-date-section .fields {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.header-search-bar .header-search-date-section .wrapper {
    position: relative;
    top : 0;
}

.header-search-date-section .wrapper.has-flexible-dates {
    top : -45px
}

.mainpage header .btn-search {
    vertical-align: top;
}

/* no-date */

.header-search-bar .input-no-date {
    display:  inline-block;
    margin-top: 3px;
    cursor: pointer;
}

.header-search-bar .input-no-date .input-small {
    width: 203px;
}

.header-search-bar .input-no-date .no-date-span {
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    text-align: right;
}

.header-search-bar .input-no-date .no-date-span .calendar {
    display: inline-block;
    padding-top: 7px;
    padding-right: 6px;
    width: 35px;
    text-align: center;
}

.header-search-bar .input-no-date .no-date-span .calendar:after {
    content: '';
    position: relative;
    top: -49px;
    left: 35px;
    width: 1px;
    height: 25px;
    background: #DDD;
    display: block;
}

.header-search-bar .input-no-date .date-input-no-date-day {
    display: inline-block;
    position: relative;
    top: 4px;
    width: 20px;
    z-index: 4;
    font-size: 11px;
    font-weight: bold;
    color: #666;
    text-decoration: none;
            text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
       -moz-text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
    -webkit-text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
}

.header-search-bar .input-no-date .glyphicon {
    display: inline-block;
    position: relative;
    top: -20px;
    right: 0;
    font-size: 28px;
    color: #ededed;
    text-decoration: none;
}

.header-search-bar .input-no-date .no-date-nights {
    margin-right: 26px;
    padding-top: 10px;
    vertical-align: top;
    cursor: pointer;
}

.input-no-date.has-value .no-date-nights {
    margin-left: 6px;
}

.header-search-bar .input-no-date .caret {
    position: absolute;
    top: 20px;
    right: 10px;
}

.no-date-popup {
    padding: 0px;
    width: 300px;
    border-radius: 2px;
    left: 50%;
    top: 5px;
    margin-left: -150px;
    color: #333;
}

.no-date-popup:before{
    content: '';
    display: inline-block;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ccc;
    border-bottom-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: -10px;
    left: 50%;
    margin-left: -5px;
}
.no-date-popup:after {
    content: '';
    display: inline-block;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #ffffff;
    position: absolute;
    top: -9px;
    left: 50%;
    margin-left: -4px;
}

.no-date-popup-title {
    padding: 10px 25px 10px 15px;
}

.no-date-popup .close {
    position: absolute;
    top: 5px;
    right: 7px;
    text-decoration: none;
}

.no-date-popup-content {
    padding: 15px;
}

.no-date-popup-content .row {
    margin-bottom: 5px;
}

.no-date-popup-content .row label {
    margin-top: 8px;
    padding-right: 10px;
    text-align: right;
}

.no-date-popup-content select {
    width: 135px !important;
}

.no-date-popup .search-switch {
    position: absolute;
    bottom: 12px;
    min-width: 200px;
}

.no-date-popup .search-switch label {
    border-bottom: 1px dashed #666;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.no-date-popup .no-date-popup-footer {
    padding: 0px 10px 10px 10px;
}



@media (min-width: 601px) and (max-width: 767px) {
    .mainpage .header-search-bar .header-search-date-section,
    .mainpage .header-search-bar .header-search-date-section .input-no-date,
    .mainpage .header-search-bar .header-search-date-section .fields {
        width: 100% !important;
    }

    .mainpage .no-date-popup {
        left: 50%;
    }

    .header-search-bar .header-search-person-section,
    .header-search-bar .btn-search {
        top: 0;
    }

    .no-date-popup {
        left: 150px;
    }
}

@media (max-width: 767px) {
    .header-search-bar .input-no-date {
        width: 100% !important;
    }

    .header-search-bar .header-search-date-section {
        width: 100%;
    }

    .datepicker-dropdown .search-switch {
        height: 42px;
    }

    .datepicker-dropdown .search-switch label {
        margin-top: 5px;
        padding-bottom: 4px;
        font-size: 16px;
    }

    .no-date-popup-content .row label {
        margin-top: 8px;
        font-size: 15px;
    }

    .no-date-popup .search-switch {
        bottom: 15px;
    }

    .no-date-popup .search-switch label {
        padding-bottom: 4px;
        font-size: 15px;
    }

    .header-search-bar .input-no-date .input-small {
        width: 100%;
    }

    .no-date-popup {
        top: 0;
    }

    .header-search-bar .datepicker.end-date {
        left: auto !important;
        right: 0px !important;
    }

    .header-search-bar .datepicker-dropdown.end-date:before {
        left: auto;
        right: 26px;
    }

    .header-search-bar .datepicker-dropdown.end-date:after {
        left: auto;
        right: 27px;
    }
}

/* button search */

.header-search-bar .btn-search {
    vertical-align: top !important;
}

/* Bootstrap 2 kompatibilit�s */

.bs2 .header-search-bar .location_header_input,
.bs2 .header-search-bar .btn-travelers-number,
.bs2 .header-search-bar .btn-greysearch {
    vertical-align: top;
}

.bs2 .header-search-date-section {
    display: inline-block;
}

.bs2 .header-search-date-section,
.bs2 .header-search-bar .input-no-date .input-small {
    width: 208px;
}

.bs2 .header-search-date-section .input-arrival,
.bs2 .header-search-date-section .input-arrival input,
.bs2 .header-search-date-section .input-leave,
.bs2 .header-search-date-section .input-leave input {
    cursor: pointer;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.bs2 .header-search-date-section .input-small::selection {
    background: transparent !important;
}

.bs2 .input-arrival .icon-calendar,
.bs2 .input-leave .icon-calendar {
    padding-top: 14px;
    font-family: Arial, sans-serif !important;
    font-size: 11px;
    font-weight: bold;
    color: #666 !important;
    text-decoration: none;
    text-align: center;
            text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
       -moz-text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
    -webkit-text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
}

.bs2 .datepicker-dropdown .search-switch {
    padding-bottom: 5px;
}

.bs2 .datepicker-dropdown .search-switch.alter-before {
    margin-top: 20px;
}

.bs2 .search-date-picker .datepicker-dropdown {
    background-color: #fff !important;
}

.bs2 .input-no-date .input-small {
    border-radius: 4px;
    text-align: left;
    background-color: #fff;
}

.bs2 .input-no-date .input-small:focus {
    border-color: #f89406!important;
    outline: 0;
    outline: thin dotted \9;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(248, 148, 6, 0.6) !important;
       -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(248, 148, 6, 0.6) !important;
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(248, 148, 6, 0.6) !important;
            transition: all .1s ease-in-out;
       -moz-transition: all .1s ease-in-out;
    -webkit-transition: all .1s ease-in-out;
         -o-transition: all .1s ease-in-out;
        -ms-transition: all .1s ease-in-out;
}

.bs2 .input-no-date .calendar {
    margin-right: 10px;
    line-height: 1.2;
    background-color: transparent;
}

.bs2 .input-no-date .calendar:after {
    top: -46px !important;
}

.bs2 .input-no-date .date-input-no-date-day {
    top: 7px;
}

.bs2 .input-no-date.has-value .calendar  {
    margin-right: 0;
}

.bs2 .input-no-date.has-value .no-date-nights {
    margin-right: 47px;
}

.bs2 .no-date-popup {
    border-radius: 5px;
}

.bs2 .no-date-popup .control-label {
    min-width: 130px;
}

.bs2 .no-date-popup .flexible-select {
    display: inline-block;
}

.bs2 .no-date-popup .search-switch {
    bottom: 17px;
}

.bs2 .no-date-popup-content select {
    width: 125px !important;
}

/* cobrand specifikus */

.origo .no-date-ok-btn {
    background-color: #ff6600;
    border-radius: 0;
    border: none;
    color: #fff;
}

.origo .no-date-ok-btn:hover {
    background-color: #ff6600;
}