.horizontal-select {
    display: block;
    float: left;
    width: 25%;
    padding-right: 15px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}
.horizontal-select .block-horz label{
    display: block;
}

.horizontal-select .block-horz{
    display: block;
    padding-right: 0px;
}

.horizontal-select button#submitCascadeSearch{
    display: block;
    background-color: #333;
    width: 100%;
    color: white;

}
.horizontal-select:nth-child(4n+1) {
    clear: left;

}
.horizontal-select:nth-child(4n) {
    padding-right: 0px;

}

.horizontal-select:nth-child(1)
{
    padding-left: 0;
    padding-right: 15px;
}

@media (max-width: 767px) {
    .horizontal-select:nth-child(4n+1) {
        clear: none;
    }

    .horizontal-select:nth-child(2n) {
        clear: none;
        padding-right: 0px;
        padding-left: 15px;
    }

    .horizontal-select:nth-child(2n+1) {
        clear: left;
        padding-left: 0px;
        padding-right: 15px;
    }
    .horizontal-select {
        width: 50%;
    }
}
@media (max-width: 479px) {
    .horizontal-select {
        width: 100%;
        padding-right:0px ;
        padding-left:0px ;
    }

    .horizontal-select:nth-child(n) {
        clear: none;
        padding :0 0;
    }



}

.vertical-select {
    display: block;
    float: left;
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}
.vertical-select .block-horz label{
    display: block;
}
.vertical-select button#submitCascadeSearch{
    display: block;
    background-color: #333;
    width: 100%;
    color: white;
}
.vertical-select:nth-child(4n+1) {
    clear: left;
}

.cascade_search_vertical button
{
    width: 100%;
}

@media (max-width: 767px) {
    .horizontal-select:nth-child(4n+1) {
        clear: none;
    }
    .horizontal-select:nth-child(2n+1) {
        clear: left;
    }
    .horizontal-select {
        width: 50%;
    }
}
@media (max-width: 479px) {
    .horizontal-select {
        width: 100%;
    }
}

.custom-dropdown {
    width: 100%;
}


.custom-dropdown--large {
    font-size: 1.5em;
}

.custom-dropdown--small {
    font-size: .7em;
}

.custom-dropdown__select select{
    width: 100%;
    padding: .5em; /* add some space*/
    margin: 0; /* remove default margins */
}

.custom-dropdown__select--white select {
    background-color: #333;
    color: white;
}

@supports (pointer-events: none) and
      ((-webkit-appearance: none) or
      (-moz-appearance: none) or
      (appearance: none)) {

    .custom-dropdown {
        position: relative;
        display: inline-block;
        vertical-align: middle;
    }

    .custom-dropdown__select select {
        padding-right: 2.5em; /* accommodate with the pseudo elements for the dropdown arrow */
        border: 0;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        cursor: pointer;
    }

    .custom-dropdown::before,
    .custom-dropdown::after {
        content: "";
        position: absolute;
        pointer-events: none;
    }

    .custom-dropdown::after { /*  Custom dropdown arrow */
        content: "\25BC";
        height: 1em;
        font-size: .625em;
        line-height: 1;
        right: 1.2em;
        top: 50%; margin-top: -.5em;
    }

    .custom-dropdown::before { /*  Custom dropdown arrow cover */
        width: 2em;
        right: 0; top: 0; bottom: 0;
        border-radius: 0 3px 3px 0;
    }

    .custom-dropdown__select[disabled] select{
        color: rgba(0,0,0,.3);
    }

    .custom-dropdown.custom-dropdown--disabled::after {
        color: rgba(0,0,0,.1);
    }

    /* White dropdown style */
    .custom-dropdown--white::before select {
        top: .5em; bottom: .5em;
        background-color: #fff;
        border-left: 1px solid rgba(0,0,0,.1);
    }

    .custom-dropdown--white::after select{
        color: rgba(0,0,0,.9);
    }

    /* FF only temp fix */
    @-moz-document url-prefix() {
        .custom-dropdown__select select          { padding-right: .9em }
        .custom-dropdown--large .custom-dropdown__select select { padding-right: 1.3em }
        .custom-dropdown--small .custom-dropdown__select select{ padding-right: .5em }
    }
}

.submitCascadeSearch {
    background: #860202;
    color: #ffffff;
    padding: 7.5px 0px 7.5px 0px;
    text-decoration: none;
    border : none;
}

.submitCascadeSearch:hover {
    background: #9d0101;
    text-decoration: none;
}

