/* find suppliers and members box */
.find-suppliersandmembers-box {
    background-color: #F0F0F0;
    margin-bottom: 28px;
}

.find-suppliersandmembers-box > .inside {
    padding-left: 45px;
    padding-right: 45px;
}

.find-suppliersandmembers-box .label {
    display: inline-block;
    width: 100%;
    color: #999999;
    font-size: 1.3rem;
    text-align: center;
}

.find-suppliersandmembers-box .advanced-search {
    margin-top: 40px;
    margin-bottom: 15px;
    text-align: center;
}

.find-suppliersandmembers-box .all-members-suppliers {
    padding-bottom: 45px;
    text-align: center;
}

.find-suppliersandmembers-box .advanced-search a,
.find-suppliersandmembers-box .all-members-suppliers a {
    color: #696969;
}

.find-suppliersandmembers-box .advanced-search a:hover,
.find-suppliersandmembers-box .all-members-suppliers a:hover {
    color: #0A0A0A;
}

.find-suppliersandmembers-box .advanced-search a span,
.find-suppliersandmembers-box .all-members-suppliers a span {
    text-decoration: underline;
}

.find-suppliersandmembers-box .advanced-search svg,
.find-suppliersandmembers-box .all-members-suppliers svg {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
}

/* select-custom */
.select-custom {
    position: relative;
    margin-top: 10px;
    background-color: #ffffff;
    width: 100%;
    cursor: pointer;
    border-radius: 4px;

    padding: 10px 0;
}

.select-custom select,
.select-custom .select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    opacity: 1;
    border-width: 0px;
    border-radius: 4px;
    border-color: rgb(240, 237, 237);
    border-style: solid;
    background-color: rgb(255, 255, 255);
    background-image: none;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center center;

    display: block;
    border-radius: 4px 0 0 4px;
    float: left;
    border-right-width: 2px;
    width: calc(100% - 48px);
    cursor: pointer;

    padding: 5px 15px;
    height: auto;
    color: #e10020;
    font-weight: bold;
    letter-spacing: 1px;
}

.select-custom svg {
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    border-radius: 0 4px 4px 0;
    border-color: #F0F0F0;

    width: 44px;

    padding-top: 10px;
    width: 24px;
    height: 24px;
}

.select-custom.open {
    width: auto;
    background: transparent;
    padding-bottom: 40px;
}

.select-custom.open .select {
    padding-left: 0;
    padding-right: 0;
    position: absolute;
    z-index: 1;
    margin-top: -10px;
}

.select-custom select:focus {
    outline: none;
}

.select-custom ul {
    margin-bottom: 0;
    position: relative;
}

.select-custom ul li {
    list-style-type: none;
}

.select-custom ul li a {
    color: inherit;
}

.select-custom ul li {
    display: none;
}

.select-custom ul li.selected {
    display: block;
}

.select-custom.open .select {
    border-width: 0;
    width: 100%;
    border-radius: 4px;
}

.select-custom.open ul li {
    display: block;
    width: 100%;
    border-bottom-width: 2px;
    border-bottom-color: #F0F0F0;
    border-bottom-style: solid;
    padding: 10px 0;
}

.select-custom.open ul li:first-child {
    /*padding-top: 0;*/
}

.select-custom.open ul li:last-child {
    border-bottom-width: 0;
}

.select-custom.open ul li span {
    padding-left: 15px;
    padding-right: 15px;
}

.select-custom.open svg {
    display: none;
}

.select-custom.open ul li {
    color: #000000;
}

.select-custom.open ul li.selected {
    color: #e10020;
}

.select-custom.open ul li:hover {
    color: #e10020;
}

/* Extra small devices (phones, less than 768px) (xs) */
@media (max-width: 767px) {
    .find-suppliersandmembers-box > .inside {
        padding-left: 10%;
        padding-right: 10%;
    }
}

