ul[data-btn-text] {
    display: none;
}

.pseudo-select {
    position: relative;
    display: block;
}

.pseudo-select ul {
    font-size: 10px;
    position: absolute;
    top: 20px;
    display: block;
    opacity: 0;
    visibility: hidden;
    background: dodgerblue;
    -webkit-transition: 0.2s ease all;
    transition: 0.2s ease all;
    padding: 10px 20px;
    list-style: none;
    margin: 0;
    min-width: 100%;
    width: 150px;
    z-index: 1;
}

.pseudo-select.active ul {
    visibility: visible;
    opacity: 1;
    z-index: 1000;
}

.pseudo-select li {
    display: flex;
    padding: 10px 0;
    cursor: pointer;
    align-items: center;
    color: white;
}

.pseudo-select li.active  {
    font-weight: 600;
}

.pseudo-select li.active span {
    background: white;
}

.pseudo-select a {
    text-decoration: none;
}

.pseudo-select button {
    position: relative;
    border: 1px solid dodgerblue;
    box-shadow: none;
    border-radius: 10px;
    padding: 10px 30px 10px 20px;
    color: dodgerblue;
    font-weight: 600;
    outline: none;
    -webkit-transition: 0.2s ease all;
    transition: 0.2s ease all;
    cursor: pointer;
    min-width: 200px;
    text-align: left;
    margin-bottom: 10px;
    width: 100%;
}

.pseudo-select button:hover {
    background: dodgerblue;
    color: white;
}

.pseudo-select button:hover:after {
    color: white;
}

.pseudo-select button:after {
    content: 'v'; /* insert icon here */
    position: absolute;
    right: 11px;
    top: 9px;
    color: dodgerblue;
    -ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-transition: 0.2s ease all;
    transition: 0.2s ease all;
    transform-origin: center center;
}

.pseudo-select.active button:after {
    top: 11px;
    transform: rotate(180deg);
}

.pseudo-select a {
    color: white;
}

.pseudo-select li span {
    width: 15px;
    height: 15px;
    margin-right: 5px;
    border-radius: 2px;
    border: 1px solid white;
    -webkit-transition: 0.2s ease all;
    transition: 0.2s ease all;
}

/* Breaking Point */

.pseudo-select.break ul {
    visibility: visible;
    opacity: 1;
    position: relative;
    top: auto;
    background: none;
    padding: 0;
    transition: none;
    width: auto;
}

.pseudo-select.break li {
    display: inline-flex;
    margin: 0 5px;
}

.pseudo-select.break li:first-child {
    margin-left: 0;
}

.pseudo-select.break li span {
    border-color: gray;
}

.pseudo-select.break li.active span {
    background: gray;
}

.pseudo-select.break li a {
    color: gray;
}

.pseudo-select.break button {
    display: none;
}

@media only screen and (min-width: 481px) {
    .pseudo-select {
        position: relative;
        display: inline-block;
    }

    .pseudo-select button {
        width: auto;
    }
}