﻿/*****************************************************************************************************************************************/
/*Search filter*/

.showUpdatedCalendarResultsButton {
    display:none;
}

#filterResultsSpinner {
    margin-left: 20px;
}

#searchResultsUpdateMessage div.messageSuccess {
    text-transform: uppercase;
    background-color: rgba(134,209,148);
    color: #ffffff;
    text-transform: uppercase;
}

#searchResultsUpdateMessage div.messageError {
    text-transform: uppercase;
    background-color: rgba(255, 0, 0, 0.8);
    color: #ffffff;
    text-transform: uppercase;
}

.searchFilterTitle {
    padding: 8px 0px 8px 8px;
    text-transform: uppercase;
    border-bottom: 1px solid #CCCCCC;
    font-weight: bold;
    color: var(--block-title-font-color);
    background-color: var(--block-title-background-color);
    display: flex;
    justify-content: flex-start;
    cursor: pointer;
    display: block;
    border-radius: var(--title-border-radius);
}

.filterDisplay {
    text-transform: none;
    cursor: pointer;
    padding: 5px;
    background-color: var(--button-background-color);
    color: var(--button-font-color);
    border-radius: var(--default-border-radius);
    margin-left: 10px;
    font-weight: var(--body-font-weight);
}

.filterDisplayHide {
    color: var(--button-font-color);
}

#newSearchBar {
    /*margin-top: 3%;
    margin-bottom: 2%;
    border: none;
    color: white;
    float: left;
    min-width: 100%;*/
}

    #newSearchBar .searchButton {
        /*text-transform: uppercase;
        padding: 4px 8px 4px 8px;
        height:auto;
        color: var(--button-font-color);
        background-color: var(--button-background-color);
        letter-spacing: 1px;
        border: 1px solid #efefef;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: var(--default-border-radius);
        -webkit-appearance: none;
        width: auto;*/
    }

        #newSearchBar .searchButton:hover {
            /*color: var(--button-hover-font-color);
            background-color: var(--button-hover-background-color);
            transition: all 0.2s;*/
        }

input.flatpickr-input.flatpickr-mobile {
    height: 31px;
    font-size: 13px !important;
    font-family: inherit;
    width: 185px;
}

#fromDate {
    background-image: url('/Images/calendar.png');
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: right 1% bottom 50%;
    font-size: 13px;
    height: 31px;
}

.fromDateFriendlyInput {
    background-image: url('/Images/calendar.png');
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: right 1% bottom 50%;
    font-size: 13px !important;
    height: 31px !important;
    width: auto !important;
    min-width: 205px;
}

.filterControlsWrapper div.searchControlWrapper:not(:first-child) {
    margin-top: 10px;
}

.searchLevelsWrapper div.searchLevelWrapper:not(:last-child) {
    border-bottom: dashed 2px rgba(0,0,0,0.5);
    padding-bottom:10px;
    margin-bottom:10px;
}

.filterControlsWrapper {
    /* display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;*/
}

.searchControlWrapper {
    /*padding: 5px;
    display: flex;
    flex-direction: column;
    position: relative;*/
}

    .searchControlWrapper div.title {
        /*color: #000000;
        border: 1px solid #000000;
        padding: 5px;*/
    }

    .searchControlWrapper div.searchFormRow {
        /*padding: 0;*/
    }

    .searchControlWrapper div.blockTitle {
        font-size: 12px;
        padding: 4px;
        border-radius: var(--title-border-radius);
        /*color: var(--searchnode-font-color);*/
        /*background-color: var(--body-background-color);*/
        border: 1px solid var(--block-title-background-color);
    }

.searchLevelWrapper div.searchFormRow {
    display: block;
}

.applyFilter div.searchFormRow {
    padding: 2px 10px 8px 10px;
}

.applyFilter div.blockTitle {
    display: block;
    height: 0;
    padding: 0;
    margin: 0;
    color: transparent;
    border-top: 1px solid black;
}

.searchFormRow {
    display: inline-block;
    margin-top: 5px;
}

    .searchFormRow.errorMessageRow {
        padding-top: 10px;
    }

    .searchFormRow label {
        display: inline;
        padding-right: 2px;
        font-size: 1.5em;
    }

    .searchFormRow select {
        width: auto;
        margin: 0px;
        border: 0px;
        font-size: 1.0em;
        height: 25px;
        border: 1px solid #454545;
        border-radius: var(--default-border-radius);
        max-width: 290px;
    }

    .searchFormRow input {
        width: 100px;
        padding-left: 7px;
        margin: 0px;
        border: 0px;
        font-size: 1.0em;
        height: 23px;
        border: 1px solid #454545;
        border-radius: var(--default-border-radius);
        cursor: pointer;
    }

/*.searchType::before {
    content: " - ";
}*/

.searchType {
    text-transform: none;
    font-weight: normal;
    margin-left: 5px;
    background-color: #ffffff;
    color: var(--body-font-color);
    padding: 0 3px 0 3px;
    border-radius: var(--default-border-radius);
    font-size: 0.8em;
    line-height: 20px;
}

    /*.searchType:hover {
        color: var(--button-font-color);
        background-color: var(--button-background-color);
        transition: all 0.2s;
        cursor: pointer;
    }*/

.searchLevelsWrapper {
    /*display: flex;
    flex-direction: row;
    flex-grow: 1;*/
}

.searchLevelWrapper {
    padding: 5px 5px 5px 5px;
    /*display: flex;
    flex-direction: column;
    flex: 1;*/
}

.searchNode {
    min-width: 150px;
    padding-top: 5px;
    padding-bottom: 5px;
    display: grid;
    grid-template-columns: calc(100% - 20px) 20px;
    align-items: center;
    color: var(--searchnode-font-color);
    background-color: var(--searchnode-background-color);
    border: 1px solid var(--searchnode-border-color);
    border-radius: var(--default-border-radius);
    padding: 3px;
    margin: 0 0 2px 0;
    min-height: 25px;
    cursor: pointer;
    box-sizing: content-box;
}

    .searchNode.withHelp {
        grid-template-columns: calc(100% - 40px) 20px 20px;
    }

    .searchNode:hover:not(.selected) {
        background-color: var(--searchnode-hover-background-color);
        border-color: var(--searchnode-hover-background-color);
        color: var(--searchnode-hover-font-color);
        transition: all 0.2s;
    }

    .searchNode .searchName {
        display: inline-block;
        min-width: 110px;
        cursor: pointer;
        width: 100%;
        max-width: 250px;
    }

    .searchNode.selected {
        background-color: var(--searchnode-selected-background-color);
        border-color: var(--searchnode-selected-background-color);
        color: var(--searchnode-selected-font-color);
    }

    .searchNode i {
        color: transparent;
    }

    .searchNode:hover:not(.selected) i {
        color: var(--searchnode-hover-font-color);
        transition: all 0.2s;
    }

    .searchNode.selected i {
        color: var(--searchnode-selected-font-color);
    }

    .searchNode .searchHelp {
        cursor: pointer;
        display: inline-block;
        padding: 0 3px 0 3px;
        font-size: 16px;
    }

        .searchNode .searchHelp i {
            color: #000000;
        }

    .searchNode.selected .searchHelp i {
        color: #ffffff;
    }

    .searchNode .searchNoHelp {
        display: none;
    }

/*#helpText {
    position: fixed;
    top: calc(100vh - 70%);
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--content-block-background-color);
    max-width: 400px;
    width: 90%;
    border-radius: var(--default-border-radius);
    border: 2px solid #000000;
    box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
}

.closeInformation {
    text-align: right;
    padding: 5px;
    color: red;
    font-weight: bold;
    cursor: pointer;
}

.informationMessageTitle {
    padding: 5px;
    color: var(--body-font-color);
}

.informationMessage {
    min-height: 100px;
    font-size: 1.0em;
    padding: 5px;
}

    .informationMessage p {
        color: #454545;
    }*/

.startTimeUpdatePanel {
    position: absolute;
    height: 100%;
    width: 100%;
    margin: auto;
    top: 0;
    background-color: var(--updatepanel-background-color);
    min-height: 400px;
}

    .startTimeUpdatePanel.hide {
        z-index: -1;
    }

    .startTimeUpdatePanel.show {
        z-index: 99999999
    }

#startTimeOptions {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: var(--default-border-radius);
    background-color: #fff;
    z-index: 3000;
    color: #454545;
    width: 400px;
    display: block;
    padding: 8px;
}

.startTimeOptionsWrapper {
    display: flex;
    flex-direction: row;
    position: relative;
}

#closestartTimeOptions {
    text-align: right;
    padding: 5px;
    color: red;
    font-weight: normal;
    text-transform: uppercase;
    cursor: pointer;
}

#startTimeOptionsTextName {
    font-weight: bold;
    font-size: 1.2em;
    padding: 5px;
    border-bottom: 1px solid #CCCCCC;
    color: #454545;
    text-align: center;
}

.startTimeOptionsList {
    text-align: center;
    margin: 0 3px 0 3px;
}

    .startTimeOptionsList div.available {
        background-color: rgba(62,155,40, 0.3);
        border: 1px solid #3E9B28;
        margin: 3px 0px 3px 0px;
        font-size: 14px;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: var(--default-border-radius);
        min-width: 70px;
        padding: 3px;
    }

        .startTimeOptionsList div.available.selected {
            background-color: rgba(134,209,148, 1.0);
            font-weight: bold;
        }

        .startTimeOptionsList div.available:hover {
            background-color: rgba(134,209,148, 1.0);
            cursor: pointer;
            transition: all 0.2s;
        }

        .startTimeOptionsList div.available.notavailable {
            border-color: #E41408;
            background-color: rgba(228,20,8, 0.3);
        }

            .startTimeOptionsList div.available.notavailable.selected {
                background-color: rgba(228,20,8, 1.0);
                font-weight: bold;
            }

            .startTimeOptionsList div.available.notavailable:hover {
                background-color: rgba(228,20,8, 1.0);
                transition: all 0.2s;
            }

        .startTimeOptionsList div.available span {
            width: 100%;
            display: inline-block;
        }

.startTimeOptionsListHeader {
    padding: 2px;
    color: #000000;
    font-size: 12px;
    white-space: nowrap;
}

.searchFilterUpdateFooter {
    background-color: #ffffff;
    margin-top:10px;
}