﻿.browser-form {
    position: relative;
    z-index: 999
}

.browser-form .tab-content {
    margin-top: -1px;
}

    .home .browser-form .search-title {
        display: none;
    }

    .browser-form .nav-tabs {
        border: none;
        margin-top: 50px;
    }

        .browser-form .nav-tabs li a {
            padding: 7px 30px;
            border-radius: 3px 3px 0 0;
            font-size: 14px;
            margin-right: 1px;
            color: #E26120;
            background-color: #fff;
        }

            .browser-form .nav-tabs li a:hover {
                background-color: #e1e1e1;
                border-color: #e1e1e1;
            }


        .browser-form .nav-tabs li.active a {
            background-color: #E26120;
            color: #fff;
            border-color: #E26120;
        }

.browser-form .search-form {
    border-radius: 4px;
    padding: 30px 20px 22px;
    border: 0;
    position: relative;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: 1px !important;
    min-height: 80px;
    background: #E26120;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}

.box-input {
    border: 1px solid #ccc;
    border-radius: 6px;
    height: 60px;
    box-sizing: border-box;
    background-color: #fff;
    cursor: pointer;
}

    .box-input label, .date-wrapper label {
        margin-bottom: 4px;
        color: #888 !important;
        margin-left: 36px;
        margin-top: 10px;
        font-weight: 400;
        font-size: 10px !important;
        min-height: 7px;
        display: inline-block;
        text-transform: uppercase;
        letter-spacing: 1pt;
    }

    .input-container {
        position: relative;
    }

.box-input .input-container svg, .date-wrapper .check-in-wrapper svg, .box-input .input-container i {
    font-size: 24px;
    position: absolute;
    left: 12px;
    margin-top: 2px;
}

.box-input .input-container i {
    font-size: 16px;
}

.date-wrapper .check-in-wrapper svg {
    bottom: 11px;
}

.box-input .input-container .select2-container, .date-wrapper .check-in-render, .date-wrapper .check-in-wrapper .select2-container, .box-input .input-container .form-control {
    padding-left: 38px !important;
}

.box-input .input-container .select2-container--bootstrap .select2-selection--single, .date-wrapper .check-in-wrapper .select2-container--bootstrap .select2-selection--single, .box-input .input-container .form-control {
    padding: 0;
    height: auto;
}

.box-input .input-container .select2-container--bootstrap .select2-selection, .date-wrapper .check-in-wrapper .select2-container--bootstrap .select2-selection, .box-input .input-container .form-control {
    border: 0;
    box-shadow: none;
    font-size: 14px;
    font-weight: 700;
}

.box-input .input-container .select2-container--bootstrap .select2-dropdown, .date-wrapper .check-in-wrapper .select2-container--bootstrap .select2-dropdown {
    margin-top: 8px;
}

.box-input .input-container .select2-dropdown, .date-wrapper .check-in-wrapper .select2-dropdown {
    margin-top: 10px;
}

.date-wrapper.two {
    display: flex;
    flex: 1;
}

    .date-wrapper.two .check-in-wrapper, .date-wrapper.two .check-out-wrapper {
        flex: 1 0 50%;
    }

        .date-wrapper.two .check-out-wrapper .check-out-render {
            padding-left: 15px;
        }

.check-in-wrapper, .check-out-wrapper {
    border: 1px solid #ccc;
    border-radius: 6px;
    height: 60px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #fff;
    position: relative;
    cursor: pointer;
}

.date-wrapper.two .check-in-wrapper {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.date-wrapper.two .check-out-wrapper {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.date-wrapper .render {
    width: 100%;
    padding: 0 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

.search-form .check-in-out, #strField {
    position: absolute;
    left: 15px;
    bottom: 3px;
    z-index: -1;
    opacity: 0;
}

.search-form .box-input .validation-msg {
    top: auto;
    right: 0;
    bottom: 100%;
    left: auto;
    margin: auto 5px -12px;
}

.search-form .date-wrapper .validation-msg {    
    top: auto;
    right: 0;
    bottom: 100%;
    left: auto;
    margin: auto 5px -40px;
}

.search-form .validation-msg {
    -webkit-filter: drop-shadow(0 2px 8px rgba(0,0,0,.2));
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.2));
    position: absolute;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 300px;
    padding: 8px 10px;
    border-radius: 4px;
    background-color: #a43424;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    -webkit-transition: opacity .2s,visibility .2s,-webkit-transform .2s cubic-bezier(.54,.56,.48,1.71);
    transition: opacity .2s,visibility .2s,transform .2s cubic-bezier(.54,.56,.48,1.71);
    transition: opacity .2s,visibility .2s,transform .2s cubic-bezier(.54,.56,.48,1.71),-webkit-transform .2s cubic-bezier(.54,.56,.48,1.71);
    visibility: hidden;
    opacity: 0;
    z-index: 1;
}

    .search-form .validation-msg:before {
        content: "";
        position: absolute;
        border: 8px solid;
        top: auto;
        right: 7px;
        bottom: -16px;
        left: auto;
        border-left-color: transparent;
        border-bottom-color: transparent;
        border-right-color: transparent;
        border-top-color: #a43424;
    }


.search-form .date-wrapper .invalid .validation-msg, .search-form .box-input .invalid .validation-msg {
    transform: translateY(-10px);
    visibility: visible;
    opacity: 1;
}

.search-form .occupation-wrapper {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 6px;
    height: 60px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #fff;
    cursor: pointer;
}
    
.search-form .disabled {
    background: #eeeeee;
    cursor: no-drop;
}

.search-form .select2-selection__arrow {
    display: none;
}

.search-form .occupation-wrapper label {
    color: #888;
    margin-left: 18px;
    margin-top: 10px;
    font-weight: 400;
    font-size: 10px !important;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1pt;
    display: inline-block;
}

.search-form .search-type {
    flex-basis: auto;
    height: 32px;
    margin-left: 30px;
    margin-top: 0;
    display: inline-flex;
    flex: 0 0 400px;
}

    .search-form .search-type button, .search-form .search-type div {
        flex: unset;
        display: flex;
        justify-content: flex-start;
    }

        .search-form .search-type div.st-separator {
            margin: 0 16px 0 8px;
            height: 36px;
            background-color: #fff;
            width: 2px;
        }

    .search-form .search-type button {
        color: #fff;
        border: 1px solid #fff;
        margin-right: 8px;
        height: 36px;
        padding: 0 16px;
        font-size: 14px;
        line-height: 36px;
    }

    .search-form .occupation-wrapper .occupation-inner {
        border: 0;
        height: 20px;
        padding: 0 14px;
        background-color: #fff;
        border-radius: 6px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

        .search-form .occupation-wrapper .occupation-inner .occupation-first, .search-form .occupation-wrapper .occupation-inner .occupation-second {
            overflow: hidden;
            height: 100%;
            float: left;
            width: 50%;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
        }

        .search-form .occupation-wrapper .occupation-inner.single .occupation-second {
            width: 100%;
        }

            .search-form .occupation-wrapper .occupation-inner svg {
                float: left;
                width: 26px;
                height: 100%;
                padding-right: 8px;
            }

        .search-form .occupation-wrapper .occupation-inner input, .date-wrapper .check-out-wrapper input {
            border: 0;
            float: left;
            height: 100%;
            max-width: 25px;
            outline: 0;
            font-size: 14px;
            font-weight: 700;
        }

        .tramo-label {
            margin-top: 20px;            
        }

.occupation-manager {
    min-width: 260px;
    background: #fff;
    position: relative;
    z-index: 3;
    position: absolute;
    border: 1px solid #ddd;
    box-shadow: none;
    margin-top: 4px;
}

    .occupation-manager:before {
        left: 9px;
        top: -7px;
        border-right: 7px solid transparent;
        border-left: 7px solid transparent;
        border-bottom: 7px solid #ccc;
        position: absolute;
        display: inline-block;        
        content: '';
    }

    .occupation-manager:after {
        left: 10px;
        top: -6px;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #fff;
        border-left: 6px solid transparent;
        position: absolute;
        display: inline-block;
        content: '';
    }

    .occupation-manager label {
        display: block;
        color: #444;
        font-size: 18px;
        line-height: 18px;
        padding-top: 2px;
    }

    .occupation-manager .label-container.sm label {
        font-size: 13px;
    }

    .occupation-manager .label-container span {
        display: block;
        color: #aaa;
        font-size: 12px;
        line-height: 16px;
    }

.occupation-manager .label-container, .occupation-manager .counter-container {
    padding-top: 10px;
    padding-bottom: 10px;
}

    .occupation-manager .occupation-steppers {
        width: 100px;
        height: 36px;
        line-height: 33px;
        position: relative;
        border: 1px solid #ccc;
        border-radius: 6px;
        background-color: #fff;
    }

        .occupation-manager .occupation-steppers:after {
            content: "";
            position: absolute;
            border-right: 1px solid #ccc;
            border-left: 1px solid #ccc;
            top: 7px;
            right: 30px;
            bottom: 5px;
            left: 30px;
            height: 20px;
        }

        .occupation-manager .occupation-steppers .steppers-tag {
            height: 34px;
            font-size: 16px;
            line-height: 33px;
            display: block;            
            box-sizing: border-box;
            width: 100%;
            padding: 0;
            border: 0;
            border-radius: 6px;
            color: #555;
            text-align: center;
        }

.occupation-steppers .steppers-icon-left, .occupation-steppers .steppers-icon-right {
    width: 30px;
    height: 34px;
    font-size: 16px;
    position: absolute;
    top: 0;    
    box-sizing: border-box;
    border: 1px solid transparent;
    background-color: inherit;
    color: #ccc;
    text-align: center;
    z-index: 1;
}

.occupation-steppers .steppers-icon-left {
    left: 0;
    border-radius: 6px 0 0 6px;
}

.occupation-steppers .steppers-icon-right {
    right: 0;
    border-radius: 0 6px 6px 0;
}

.stepper__icon svg {
    margin-top: 8px;
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.stepper__icon svg:disabled {
    color: #ccc;
    border-color: transparent;
    cursor: default;
}

.occupation-manager .item {
    padding: 8px 15px;    
}

    .occupation-manager .item.br-top {
        border-top: 1px solid #ddd;
    }

    .occupation-manager .item h3 {
        color: #888;
        padding: 4px 0 8px;
        font-size: 14px;
        margin: 0;
        border-bottom: 1px solid #f5f5f5;
        margin-bottom: 6px;
    }

.occupation-manager .occupation-actions {
    clear: both;
    text-align: right;
    padding: 8px 8px 3px 8px;
    border-top: 1px solid #ddd;
    line-height: 12px;
    vertical-align: middle;
}

.error_container .alert {
    margin-bottom: 0;
    position: relative;
}

.error_container .message-icon-container {
    position: absolute;
    left: 20px;
    font-size: 24px;
    top: 0 !important;
    padding-top: 19px;
    margin: 0;
}

.error_container .message-body {
    padding: 8px 20px 8px 56px;
}

    .error_container .message-body p {
        margin: 0;
    }

    .pd-right5 {
        padding-right: 5px !important;
    }

.pd-left5 {
    padding-left: 5px !important;
}

.pd-right0 {
    padding-right: 0;
}

.pd-left0 {
    padding-left: 0;
}

.origin-outer .box-input {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0
}

.destination-outer .box-input {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.browser-form .origin-outer .box-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 6px;
}

.browser-form .destination-outer .box-input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 6px;
}

    .search-form .places-wrapper .places-toggle {
        right: -15px;
        top: 14px;
        width: 20px;
        height: 20px;
        width: 32px;
        position: absolute;
        height: 32px;
        box-sizing: border-box;
        background-color: #fff;
        border-radius: 4px;
        z-index: 1;
        border: 1px solid #ccc;
        display: flex;
        justify-content: center;
        align-items: center;
    }

.search-form .search-filter {
    margin-bottom: 25px;
}

.search-form .nav-pills {
    margin-bottom: 15px;
}

.air-segment-title {
    font-size: 15px;
}

.browser-form .air-segment-title {
    font-size: 20px;
    font-weight: bold;
    color: #fff;    
}

.search-form .search-filter ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-form .search-filter ul li {
    display: inline-block;
    margin-right: 8px;
}

.search-form .nav-pills li.nav-item {
    margin-right: 10px;
    margin-bottom: 10px;
}

    .browser-form .search-form .nav-pills li.nav-item:last-child::after {
        content: "";
        display: block;
        position: absolute;
        border-left: 2px #fff solid;
        height: 38px;
        width: 1px;
        left: 0;
        z-index: 10;
        top: -1px;
    }

.browser-form .search-form .nav-pills li.nav-item:last-child {
    padding-left: 18px;
    margin-left: 6px;
}

    .search-form .search-filter ul li a, .search-form .nav-pills .nav-item a {
        border: 1px solid #949494;
        height: 36px;
        padding: 0 16px;
        font-size: 14px;
        line-height: 36px;
        border-radius: 24px;
        text-align: center;
        text-decoration: none;
        white-space: nowrap;
        transition: background-color .3s ease-out;
        cursor: pointer;
        display: block;
        color: #949494;
    }

        .search-form .search-filter ul li.active a,
        .search-form .search-filter ul li a:hover,
        .search-form .nav-pills .nav-item.active a,
        .search-form .nav-pills .nav-item a:hover {
            background: #949494;
            color: #fff;
        }

.browser-form .search-form .search-filter ul li a, .browser-form .search-form .nav-pills .nav-item a {
    color: #fff;
    border-color: #fff;
}

    .browser-form .search-form .search-filter ul li.active a,
    .browser-form .search-form .search-filter ul li a:hover,
    .browser-form .search-form .nav-pills .nav-item.active a,
    .browser-form .search-form .nav-pills .nav-item a:hover {
        background: #fff;
        color: #E26120;
    }

    .btn-remove, .btn-add {
        cursor: pointer;        
    }

        .browser-form .btn-add {
            color: #fff;
        }

        .btn-remove {
            color: #fa503f;
        }