/* The container must be positioned relative: */
.custom-select {
    position: relative;
}

.text-bold {
    font-family: 'Montserrat', arial;
}

.styled-select {
    background: #e6e6e6 url("/images/bottom_arrow.png") no-repeat right 20px top 20px;
    overflow: visible;
}

.custom-select select {
    display: none; /*hide original SELECT element: */
}

.custom-radio-box > label {
    display: inline-flex;
    border: solid 1px #d0d0d0;
    padding: 10px 30px 10px 30px;
    border-radius: 5px;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.custom-radio-box > label input {
    padding: 0;
    display: block;
    margin: 0 10px 0 0;
    width: 18px;
    height: 18px;
}

.custom-radio-box label > span {
    font-size: 16px;
    display: block;
}

.select-selected {
    background: transparent;
    -webkit-appearance: none;
    padding: 14px 13px;
    font-size: 1.125em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    border: 1px solid #D0D0D0;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    cursor: pointer;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div {
    padding: 14px;
    cursor: pointer;
    border-left: 1px solid #D0D0D0;
    border-right: 1px solid #D0D0D0;
    border-bottom: 1px solid #D0D0D0;
}

/* Style items (options): */
.select-items {
    position: absolute;
    background: #fff;
    width: 100%;
    border: 0;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
    display: none;
}

.select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 400px){
    .custom-radio-box > label{
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .custom-radio-box{
        margin-bottom: 20px;
    }
}