#dra-map {
    min-height: 600px;
}

.state-map #dra-map {
    min-height: 500px;
}

.map-wrapper {
    position: relative;
}

.btn-wrapper {
    position: absolute;
    top: 0;
    left: 0;
}

.btn-wrapper button {
    padding: 5px 15px;
    border-radius: 0;
    display: block;
    width: 100%;
    text-align: left;
    background: rgba(21, 65, 110, 0.75);
    border-bottom: solid 1px rgba(20, 39, 58, .75);
}

.btn-wrapper:hover button {
    background: rgba(21, 65, 110, 1);
    border-bottom: solid 1px rgba(20, 39, 58, 1);
}

.btn-wrapper button:hover,
.btn-wrapper:hover button.active {
    background: rgba(4, 36, 68, 1);
}

/*.btn-wrapper button:hover,*/
.btn-wrapper button.active {
    /*background: #042444;*/
    background: rgba(4, 36, 68, .75);
}

.dra-infowindow {
    max-width: 300px;
}

.dra-infowindow h2 {
    font-size: 17px;
    margin-bottom: 10px;
    margin-top: 0;
}

.dra-infowindow h3 {
    font-size: 15px;
    font-weight: bold;
    margin: 0;
}

.dra-infowindow .profile {
    margin-bottom: 10px;
}

.dra-infowindow .profile:last-child {
    margin-bottom: 0;
}

.dra-infowindow .profile p {
    margin-bottom: 2px;
}

.dra-infowindow p {
    margin-bottom: 10px;
    font-weight: normal;
}

.dra-infowindow p:last-child {
    margin-bottom: 0;
}

.dra-infowindow strong {
    font-weight: 600;
}

.dra-infowindow .btn {
    padding: 5px 10px;
    background: #15416e;
    display: inline-block;
    margin: 6px 0;
    color: white;
    text-decoration: none;
}

.dra-infowindow .btn:hover {
    background-color: #0C6DD1;
    color: white;
}

.projectWrapper {
    display: flex;
    background-color: white;
    height: 700px;
}

.projectList {
    width: 430px;
    overflow-y: scroll;
}

#dra-map {
    width: 100%;
}

.map-project {
    padding: 1rem;
    border-bottom: solid 1px #b9cbd9;
    font-size: 14px;
}

.map-project h2 {
    font-size: 20px;
}

.map-project h2 sub {
    display: block;
    margin-top: 5px;
}

.map-project p:last-child {
    margin-bottom: 0;
}

.searchbar {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.searchbar label {
    font-weight: bold;
    font-size: 15px;
}

.searchbar .field {
    flex: 1 0 auto;
}

.searchbar .buttons {
    flex: 0 1 auto;
    align-self: flex-end;
}

.searchbar input[type="submit"] {
    padding: 8px 25px;
    background-size: 300% 100%;
    background-image: linear-gradient(90deg, var(--e-global-color-3c69b5a ) 0%, var(--e-global-color-b78ce87 ) 41%);
    transition: all .4s ease-in-out;
}

.searchbar input[type="submit"]:hover {
    background-position: 100% 0;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}

.searchbar .buttons .button {
    display: inline-block;
    padding: 8px 25px;
    background: #ebebeb;
    border-radius: 30px 30px 30px 30px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
}

@media (max-width: 940px) {
    .searchbar {
        display: block;
    }

    .searchbar .field {
        margin-bottom: 10px;
    }
}

@media (max-width: 700px) {
    .projectWrapper {
        flex-direction: column-reverse;
        height: 800px;
    }

    .projectList {
        width: auto;
        overflow: scroll;
        scroll-behavior: smooth;
        min-height: 392px;
    }

    .projectList:before {
        content: " ";
        display: block;
        width: 100%;
        height: 8px;
        background-color: #1f416c;
        position: sticky;
        top: 0;
    }

    div#dra-map {
        min-height: 400px;
        height: 400px;
    }
}