.range-slider-wrapper {
    width: 600px;
    height: auto;
    background-color: #eee;
    padding: 30px 30px 15px;
    margin: 0 auto;
}

.cpro-cost-cal-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.cpro-cost-cal-btn {
    padding: 5px 10px;
    border: 1px solid #ccc;
    background-color: white;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
}

.cpro-cost-cal-btn.selected {
    background-color: #2ea3f2;
    color: white;
}

.range-slider-wrapper.filters-expanded .slider {
    background-color: #fff;
    background-image: none;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.range-slider-wrapper.filters-expanded .ui-slider-range {
    background-color: #ccc;
    background-image: none;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.advanced-filters {
    display: none;
}

.toggle-filters {
    display: inline-block;
    padding: 15px 10px;
    margin-top: 15px;
    margin-left: 15px;
    cursor: pointer;
    background-color: #666;
    color: #eee;
    min-width: 162px;
    text-align: center;
    border-radius: 5px;
    transition: all 0.6s ease;
}

.toggle-filters:hover {
    background-color: #932222;
    color: #fff;
}

.slider-heading {
    display: block;
    font-size: 17px;
    font-style: italic;
    margin-bottom: 50px;
    margin-left: 15px;
}

.slider {
    position: relative;
    width: 50%;
    height: 10px;
    margin-left: 15px;
    background-color: #666;
    margin-bottom: 25px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.slider .ui-slider-handle {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 100%;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.2);
    outline: none;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    cursor: e-resize !important;
}

.value {
    display: block;
    position: absolute;
    padding: 7px;
    background-color: #2ea3f2;
    border-radius: 5px;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 11px;
}

.value::after {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 50%;
    border: solid transparent;
    height: 0;
    width: 0;
    pointer-events: none;
    border-color: rgba(194, 225, 245, 0);
    border-top-color: #2ea3f2;
    border-width: 5px;
    margin-left: -5px;
}

.ui-state-default {
    background: #2ea3f2 !important;
}

.ui-state-default:focus-visible {
    border: none !important;
    outline: none !important;
}

.ui-state-focus,
.ui-state-hover {
    border-color: transparent !important;
}

.ccc-range {
}

.ccc-range.ui-slider.ui-corner-all.ui-slider-horizontal.ui-widget.ui-widget-content {
    margin: 50px 15px 0 10px !important;
}

.ui-slider .ui-slider-range {
    background: #2ea3f2;
}

.ccc-switch {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 25px;
    border-radius: 20px;
    background: #dfd9ea;
    transition: background 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    vertical-align: middle;
    cursor: pointer;
}

.ccc-switch::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: #fafafa;
    border-radius: 50%;
    transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.ccc-switch:active::before {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 0 0 20px rgba(128, 128, 128, 0.1);
}

input:checked + .ccc-switch {
    background: #2ea3f2;
}

input:checked + .ccc-switch::before {
    left: 27px;
    background: #fff;
}

input:checked + .ccc-switch:active::before {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 0 0 20px rgba(0, 150, 136, 0.2);
}

span.msg,
span.choose {
    color: #555;
    padding: 5px 0 10px;
    display: inherit
}

.container {
    width: 500px;
    margin: 50px auto 0;
    text-align: center
}

/*Styling Selectbox*/
.ccc-dropdown {
    width: 100%;
    max-width: 300px;
    display: inline-block;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 0 2px rgb(204, 204, 204);
    transition: all .5s ease;
    position: relative;
    font-size: 14px;
    color: #474747;
    height: 47px;
    text-align: left;
}

.ccc-dropdown-alert {
    box-shadow: 0 0 2px red
}

.ccc-dropdown .select {
    cursor: pointer;
    display: block;
    padding: 10px
}

.ccc-dropdown span {
    white-space: nowrap;
    overflow: hidden;
    max-width: 280px;
    display: block;
    text-overflow: ellipsis;
}

.ccc-dropdown .select > i {
    font-size: 13px;
    color: #999;
    cursor: pointer;
    transition: all .3s ease-in-out;
    float: right;
    line-height: 20px;
    position: absolute;
    right: 8px;
    top: 15px;
}

.ccc-dropdown:hover {
    box-shadow: 0 0 4px rgb(204, 204, 204)
}

.ccc-dropdown:active {
    background-color: #f8f8f8
}

.ccc-dropdown.active:hover,
.ccc-dropdown.active {
    box-shadow: 0 0 4px rgb(204, 204, 204);
    border-radius: 2px 2px 0 0;
    background-color: #f8f8f8
}

.ccc-dropdown.active .select > i {
    transform: rotate(-90deg)
}

.ccc-dropdown .ccc-dropdown-menu {
    position: absolute;
    background-color: #fff;
    width: 100%;
    left: 0;
    margin-top: 1px;
    box-shadow: 0 1px 2px rgb(204, 204, 204);
    border-radius: 0 1px 2px 2px;
    overflow: hidden;
    display: none;
    max-height: 250px;
    overflow-y: auto;
    z-index: 9;
}

.ccc-dropdown .ccc-dropdown-menu li {
    padding: 10px;
    transition: all .2s ease-in-out;
    cursor: pointer
}

.ccc-dropdown .ccc-dropdown-menu {
    padding: 0;
    list-style: none
}

.ccc-dropdown .ccc-dropdown-menu li:hover {
    background-color: #f2f2f2
}

.ccc-dropdown .ccc-dropdown-menu li:active {
    background-color: #e2e2e2
}

.ccc-dropdown .select:focus-visible {
    outline: none !important;
    border: none !important;
}

.ccc-form-control, .ccc-form-switch, .ccc-form-select {
    display: grid;
    grid-template-columns: 244px auto;
}

.ccc-mb-1 {
    margin: 15px 0;
}

.ccc-heading {
    margin-top: 40px;
    margin-bottom: 10px;
}

.ccc-form-control .label-text, .ccc-form-switch .label-text, .ccc-form-select .label-text {
    display: flex;
    width: 244px;
    padding-right: 20px;
    justify-content: left;
    align-items: end;
    margin-bottom: 0.7rem;
    color: #333;
}

.ccc-form-control .label-text-sqmalert {
    display: flex;
    width: 244px;
    padding-right: 20px;
    justify-content: left;
    align-items: center;
    margin-bottom: 1.3rem;
    color: #333;
}

.ccc-form-select .label-text-optionalert {
    display: flex;
    width: 244px;
    padding-right: 20px;
    justify-content: left;
    align-items: start;
    margin-bottom: 1.3rem;
    color: #333;
}

.ccc-alert {
    color: #999999;
    text-align: left;
    font-size: 15px;
    margin-top: 10px;
}

.ccc-input input:focus, .ccc-input textarea:focus {
    box-shadow: 5px 0 0 #2ea3f2 inset, 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ccc-input {
    margin: 10px 0;
}

.ccc-input input::placeholder, .ccc-input textarea::placeholder {
    color: #555555;
}

.ccc-input input, .ccc-input textarea {
    width: 100%;
    display: block;
    padding: 8px 12px !important;
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    transition: all 380ms ease;
    border-radius: 3px;
    outline: none;
}

label.error {
    font-size: 12px;
    color: red;
}

.ccc-status {
    font-size: 16px;
    margin: 10px 0;
    border-radius: 3px;
    padding: 5px 0;
    text-align: center;
}

.ccc-status-warning {
    border: 1px solid #d98d0b !important;
    color: #d98d0b;
}

.ccc-status-danger {
    border: 1px solid red !important;
    color: red;
}

.ccc-status-success {
    border: 1px solid forestgreen !important;
    color: forestgreen;
}

.ccc-text-muted {
    color: #999999;
    font-size: 14px;
}

.ccc-btn-main {
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .3);
    background: linear-gradient(to right, #058eea, #2ea3f2);
    width: 100%;
    display: block;
    text-align: center;
    color: white;
    font-weight: bold;
    padding: 10px;
    transition: all .3s linear 0s;
    cursor: pointer;
    border: none;
}

.ccc-btn-main.ccc-disabled {
    pointer-events: none;
    opacity: 0.7;
}

.ccc-btn-main:hover {
    box-shadow: 0 0 6px 0px rgba(0, 0, 0, .3);
    background: linear-gradient(to right, #058eea 20%, #2ea3f2 100%);;
}

@media (max-width: 525px) {
    .ccc-form-control, .ccc-form-switch, .ccc-form-select {
        grid-template-columns: 100%;
    }

    .ccc-form-control .label-text, .ccc-form-switch .label-text, .ccc-form-select .label-text {
        margin-bottom: 10px;
    }
}
