﻿
/* Query Parameters */

.qp_items {
    background-color: #edeff3;
    padding: 15px;
    display: flex;
    position: relative;
}

    .qp_items .refresh_icon {
        background-image: url(../icons/blue/refresh-new-design.svg);
        width: 16px !important;
        height: 16px !important;
        background-size: 16px;
        background-repeat: no-repeat;
        position: relative;
        top: 5px;
        cursor: pointer;
        right: unset;
    }
/* Line ordering */
.qp_items form {
    width: 100%;
}

    .qp_items form hr {
        margin-top: 5px;
        margin-bottom: 5px;
        border: 0;
    }
.qp_line_order {
    width: 100%;
    min-height: 80px;
    position: relative;
    display: inline-flex;
    flex-wrap: wrap;
}

.qp_checkbox_wrapper .qp_switch {
    top: 4px;
    position: relative;
}

.qp_checkbox_wrapper .qp_switch_title {
    top: 3px;
    position: relative;
    color: #1d2029;
}
.rp_qp_item {
    margin: auto 20px;
    position: relative;
    margin-left: 0px;
}
.qp_close {
    position: absolute !important;
    z-index: 500;
    right: 10px;
    top: 10px !important;
    color: #2456FF;
    outline: none;
    cursor: pointer;
}

.qp_close:focus {
    outline: none;
}
.qp_close span:focus {
    outline: none;
}

.qp_reload {
    position: absolute;
    z-index: 500;
    right: 36px;
    top: 11px;
    color: #2456FF;
}

.qp_item {
    background-color: #ffffff;
    border: 1px solid #dddde6;
    border-radius: 25px;
    padding: 10px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 10px;
    float: left;
    max-width: 200px;
    position: relative;
    min-width: 250px;
    margin-left: 0;
    margin-right: 20px;
}

    .qp_item.required {
        border-style: solid;
        border-color: #d7143e;
        border-width: 2px;
    }

.qp_label {
    color: #9bA0A9;
    margin-bottom: 5px;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    white-space: nowrap;
    font-size: 12px;
    letter-spacing: 1px;
}

.qp_field {
    border: none;
}


.select-items div, .select-selected {
    color: #ffffff;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
}

.qp_select {
    border: none;
    width: 100%;
}

.qp_select_wrapper {
    border: none;
    width: 100%;
    min-width: 150px;
    white-space: normal;
    text-overflow: ellipsis;
    max-width: 200px;
    display: inline-flex;
    flex-wrap: wrap;
    min-height: 18px;
}

.qp_multiselect {
    border: none;
    width: 100%;
    min-width: 150px;
    white-space: normal;
    text-overflow: ellipsis;
    max-width: 200px;
    display: inline-flex;
    flex-wrap: wrap;
}

    .qp_multiselect span:not(.qp_close_icon) {
        background-color: #dddde6;
        margin-right: 5px;
        margin-top: 5px;
        font-size: 0.8rem;
        padding: 10px;
        padding-top: 0;
        position: relative;
        padding-bottom: 0px;
        font-weight: bold;
        vertical-align: middle;
        line-height: 30px;
    }
    .qp_multiselect .rp_arrow_down, .qp_select_wrapper .rp_arrow_down {
        position: absolute;
        right: 10px;
        top: 25px;
    }

    .qp_select, .qp_multiselect {
        min-height: 18px;
        vertical-align: middle;
    }

    .qp_select_input {
        border: none; 
        font-size: 12px;
        font-weight: 700;
    }

        .qp_select_input:focus {
            outline: none;
        }
.qp_multiselect_popup {
    border: 1px solid #dddde6;
    border-radius: 0px 0px 25px 25px;
    background-color: #ffffff;
    width: 100%;
    min-height: 24px;
    max-height: 200px;
    margin-left: -15px;
    padding-left: 10px;
    padding-right: 10px;
    position: absolute;
    z-index: 5000;
    margin-top: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    overflow: auto;
}

.qp_date {
    background-color: #F9F9FA;
    border: 1px solid #CCD0D8;
    border-radius: 25px;
    padding: 8px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 200px;
    float: left;
    position: relative;
    font-size: 12px;
    height: 32px;

}

.qp_date_day {
    background-color: #F9F9FA;
    border: none;
    border-color: white;
    text-align: right;
    width: 20px;
    margin-right: 0px;
    padding-right: 0px;
    margin-left: 0px;
    padding-left: 0px;
    outline: none;
    word-spacing: unset;
    font-weight: bold;
}

.qp_date_month {
    background-color: #F9F9FA;
    border: none;
    border-color: white;
    text-align: left;
    width: 15px;
    margin-right: 0px;
    padding-right: 0px;
    margin-left: 0px;
    padding-left: 0px;
    outline: none;
    font-weight: bold;
}

.qp_date_year {
    background-color: #F9F9FA;
    border: none;
    border-color: white;
    text-align: left;
    width: 32px;
    margin-right: 0px;
    padding-right: 0px;
    margin-left: 0px;
    padding-left: 0px;
    outline: none;
    font-weight: bold;
}


/* The switch - the box around the slider */
.qp_switch {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 12px;
}

    /* Hide default HTML checkbox */
    .qp_switch input {
        opacity: 0;
        width: 24px;
        height: 12px;
    }

/* The slider */
.qp_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #CCD0D8;
    -webkit-transition: .4s;
    transition: .4s;
}

    .qp_slider:before {
        position: absolute;
        content: "";
        height: 14px;
        width: 14px;
        left: 0px;
        bottom: -1px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
        border: 1px solid #CCD0D8;
    }

input:checked + .qp_slider {
    background-color: #17D998;
}

input:focus + .qp_slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .qp_slider:before {
    -webkit-transform: translateX(12px);
    -ms-transform: translateX(12px);
    transform: translateX(12px);
    border: 1px solid #17D998;
}

/* Rounded sliders */
.qp_slider.round {
    border-radius: 34px;
}

    .qp_slider.round:before {
        border-radius: 50%;
    }

/* Date dividers */
.qp_date_divider {
    border-right: 1px solid #CCD0D8;
    position: absolute;
    top: 0px;
    height: 31px;
}

    .qp_date_divider.right {
        right: 28px;
    }

.qp_arrow_right {
    content: url(/icons/qp-arrow-right.svg) !important;
    font-weight: bolder;
    position: relative;
    top: 1px;
    right: -6px;
    width: 12px;
    height: 12px;
}

.qp_arrow_left {
    content: url(/icons/qp-arrow-left.svg) !important;
    font-weight: bolder;
    position: relative;
    top: 1px;
    left: -4px;
    width: 12px;
    height: 12px;
}

/* Switch button between Day and Period */

.qp_switch_period {
    width: auto;
    position: relative;
    background: #EDEFF3;
    display: inline-flex;
}

.qp_day_period.selected {
    background: #EDEFF3;
    border-right: 1px solid #DDDDE6;
    color: #1D2029;
    font-weight: bold;
    
}

.qp_multiple_period.selected {
    background: #EDEFF3;
    border-right: 1px solid #DDDDE6;
    color: #1D2029;
    font-weight: bold;
}

    /* hovers of switch */
    .qp_multiple_period:hover, .qp_day_period:hover {
        background: #E6E9EE;
        transition: background 0.3s ease-in-out;
        -webkit-transition: background 0.3s ease-in-out;
        -ms-transition: background 0.3s ease-in-out;
    }

    /* A dash div */
    .qp_dash {
        width: 12px;
        height: 1px;
        border: 1px solid #5D6375;

    }
.qp_switch_btn {
    background: #fff;
    display: inline-block;
    min-height: 30px;
    line-height: 30px;
    padding: 0 5px;
    font-weight: 400;
    color: #9bA0A9;
    min-width: 59px;
    margin: 0;
    border-radius: 16px;
    text-align: center;
    text-transform: lowercase;
    letter-spacing: .88px;
}
.qp_switch_btn:nth-child(1) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid #DDDDE6;
    border-right: none;
}

.qp_switch_btn:nth-child(2) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border: 1px solid #DDDDE6;
}

/* Multi date components */

.qp_multidate_container {
    display: inline-flex;
    line-height: 0;
    align-items: center;
}

    .qp_multidate_container .rp_qp_item {
        margin-left: 15px;
    }
    /** Create custom select component stylings */
    /* Multiple select */
    .qp_mltp_item {
        padding: 10px;
        text-align: left;
        letter-spacing: 1px;
        font-weight: bold;
        font-size: 12px;
        border-bottom: 1px solid #DDDDE6;
    }
        .qp_mltp_item:last-child {
            border-bottom: none;
        }
        .qp_mltp_item.selected {
            color: #2456FF;
        }

.qp_switch_item {
    position: relative;
    float: right;
}

.qp_multi_selected_item {
    margin-right: 5px;
    padding: 8px;
    border-radius: 5px;
}

.qp_close_icon {
    align-items: center;
    vertical-align: middle;
    font-size: inherit;
    position: relative;
    margin-left: 5px;
}

    .qp_close_icon span {
        margin-right: 0 !important;
        padding: 0 !important;
        font-size: 20px !important;
    }