.custom-select-container {
    position: relative;
    box-sizing: border-box;
    display: inline-block;
    border: 1px solid #1A2C80;
    /* margin-right: 40px; */
}

@media (max-width: 767px) {
    .page-contact .custom-select-container {
        width: 100%;
        margin-bottom: 30px;
    }
    .page-contact .custom-select-container .custom-select-opener, .custom-select-container .custom-select-opener span, .custom-select-container .custom-select-opener:after {
        margin-bottom: 0px!important;
    }
}

.custom-select-container * {
    box-sizing: border-box;
}

.custom-select-container.is-disabled {
    opacity: .333;
}

.custom-select-opener {
    /*  background-color: #ccc;*/
    padding: 14px;
    display: block;
    cursor: pointer;
    width: 100%;
    padding-right: 40px;
}

.custom-select-opener:after {
    content: "";
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-color: #fff transparent transparent transparent;
    position: absolute;
    top: 16px;
    right: 10px;
}

.custom-select-opener:before {
    content: "";
    width: 40px;
    height: 100%;
    background-color: #1A2C80;
    position: absolute;
    top: 0;
    right: 0;
}

.custom-select-opener span {
    font-family: 'montserrat-medium' !important;
    display: block;
    margin-right: 15px;
    color: #1A2C80;
    font-size: 16px;
}

.custom-select-container select {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.custom-select-panel {
    max-height: 0;
    transition: max-height .2s ease-out, overflow-y 0.1s 0.2s;
    overflow: hidden;
    background-color: #fff;
    position: absolute;
    top: 100%;
    z-index: 1;
    width: 100%;
    text-align: left;
}

.custom-select-container.is-open .custom-select-panel {
    max-height: 10.7em;
    overflow-y: auto;
    border: 1px solid #ccc;
}

.custom-select-container.is-open .custom-select-panel::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}
  
.custom-select-container.is-open .custom-select-panel::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .5);
    box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

.custom-select-option {
    padding: 0.5em;
	color: #333333;
	font-size: 16px;
	cursor: pointer;
}
.custom-select-option.has-focus:hover {
    color: #262626;
    background-color: #f5f5f5;
}


.custom-select-optgroup>.custom-select-option {
    padding-left: 2em;
}

.custom-select-optgroup::before {
    content: attr(data-label);
    display: block;
    padding: 0.5em;
}