.dropdown-menu {
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    text-align: center;
    font-family: 'IvyPresto', 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
}
 
/* .group-affinity {
    margin-top: -.025%;
    margin-left: 4%;
    padding: 15px;
} */
 
.affinity-btn {
    width: 100%;
}
 
#group-affinity-options {
    width: 100%;
    max-width: 300px;
    padding: 10px;
}
 
.angle-up-down {
    padding-left: 20px;
}
 
.angle-up-down {
    padding-left: -20px;
}
 
.mobile-filter-display-toggle {
    background-color: #f9f9f9;
 
}
 
textarea {
    height: 10em;
    width: 35em;
}
 
h1{
    text-transform: uppercase;
    font-family: 'IvyMode', 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
   
}
 
h2 {
    text-transform: uppercase;
    font-family: 'IvyMode', 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
}
 
 
#meeting_day_of_week {
    width: 100%;
}
 
#group_interests {
    width: 100%;
}
 
.group-result-body {
    background-color: transparent;
    overflow-x:hidden;
}
 
.btn-group {
    justify-content: center;
}
 
.result-content{
    font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    word-break: break-word;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}
.result-content a{
    color: #263C82;
}
 
.result-content-label{
    font-weight: bold;
    font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
    font-size: 14px;
    line-height: 20px;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}
 
.result-content-label-meetingdays{
    min-width: 120px;
}
 
.result-content-label-interests{
    min-width: 80px;
}
.result-content-label-grouppage{
    min-width: 100px;
}
.result-content-label-website{
    min-width: 90px;
}
 
.result-content-meetingplace{
    font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
    font-size: 18px;
    font-weight: 700;
}
 
.result-content-online {
    margin-bottom: 15%;
}
 
.result-inperson {
    margin-bottom: 10%;
    /* margin-left: 5%; */
}
 
 
#modal-close-btn {
    background-color: #f06848;
    color: #000000;
    font-family: 'IvyPresto', 'Montserrat', sans-serif;
    margin: 10px;
    font-size: 16px;
    font-weight: 500;
    margin-left: 0px;
    margin-right: 0px;
    letter-spacing: 1px;
    border-radius: 10rem !important;
    padding-bottom: 0px;
    padding-top: 1%;
}
 
.modal-h1{
    text-align: center;
    justify-content: center;
    align-items: center;
    color: #000000;
}
 
.group-search-result-container {
    margin-bottom: 25px;
}
 
#theForm {
    font-family: 'IvyPresto', 'Montserrat', sans-serif;
    margin: 10%;
}
 
 
.group-search-form-outline {
    margin-left: 10px;
}
 
.input-group {
    margin: 5px;
}
 
.radius-card {
    margin-top: 10px;
    margin-bottom: 10px;
}
 
.radius-options {
    padding: 10px;
    width: 100%;
}
 
#radius_miles {
    width: 100%;
}
 
.days-card {
    margin-top: 10px;
    margin-bottom: 10px;
}

.online-interests-card {
    margin-top: 10px;
    margin-bottom: 10px;
}
 
.day-options {
    padding: 10px;
    width: 100%;
}
 
.affinities-card {
    margin-top: 10px;
    margin-bottom: 10px;
}
 
 
 
.interests-card {
    margin-top: 10px;
    margin-bottom: 10px;
}
 
#group-interest {
    padding: 15px;
    width: 100%;
    max-width: 300px;
}
 
.group-search-filter-desktop {
    margin-top: 15px;
}

.loading-caseload-user {
    width: 3.5rem;
    height: 3.5rem;
}

#group-search-loading-spinner .loading-caseload-user.spinner-border {
    color: #495057;
    border-width: 0.3em;
}

@media (max-width: 767px){
.group-search-filter-column-mobile {
    margin-top: 15px;
}
}
 
/* Override Bootstrap's input-group border-radius rules for location search */
/* Ensure input and button have matching border colors */
#location-container .input-group > .group-search-filter-desktop-input {
    background-color: transparent;
    border-right: none;
    border-left: 1px solid #bdbdbd !important;
    border-top: 1px solid #bdbdbd !important;
    border-bottom: 1px solid #bdbdbd !important;
    border-radius: 25px 0 0 25px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.group-search-filter-desktop-input {
    background-color: transparent;
    border-right: none;
    border-left: 1px solid #bdbdbd !important;
    border-top: 1px solid #bdbdbd !important;
    border-bottom: 1px solid #bdbdbd !important;
    border-radius: 25px 0 0 25px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
 
.btn-rounded {
    border-radius: 25px !important;
}
 
/* Override Bootstrap's input-group border-radius rules for location button */
/* Match button border color to input border color */
#location-container .input-group > .group-search-filter-desktop-location-button {
    border-color: #bdbdbd !important;
    border-width: 1px !important;
    border-right: 1px solid #bdbdbd !important;
    border-top: 1px solid #bdbdbd !important;
    border-bottom: 1px solid #bdbdbd !important;
    border-left: none !important;
    padding-bottom: 6px;
    border-radius: 0 25px 25px 0 !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    box-shadow: none;
}

.group-search-filter-desktop-location-button {
    border-color: #bdbdbd !important;
    border-width: 1px !important;
    border-right: 1px solid #bdbdbd !important;
    border-top: 1px solid #bdbdbd !important;
    border-bottom: 1px solid #bdbdbd !important;
    border-left: none !important;
    padding-bottom: 6px;
    border-radius: 0 25px 25px 0 !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    box-shadow: none;
}
 
/* .group-search-map {
   
} */
 
.select-wrapper {
    width: 100%;
}

.select-arrow {
    padding-top: 7px;
}

.ddl-label-interests{
    padding-top: 4% !important;
    padding-left: 33%;
}

.ddl-label-days{
    padding-left: 35% ;
    
}
 
.result-map {
    max-height: 600px;
   
}
#result-map {
    height: 1000px;
    margin-bottom: 25px;
    /* -webkit-border-radius: 20px; */
}
 
.location-search-result-wrapper{
    position: relative;
    margin-top: 7px;
}
 
.location-search-result-container {
    position: absolute;
    text-align: left;
    width: 100%;
    z-index: 989;
    cursor: default;
    background-color: white;
    height: 250px;
    border-radius: 0.25rem;
    overflow-y: auto;
}
 
.location-search-result-header {
    font-size: 18px;
}
.location-search-result-li {
    list-style-type: none;
    margin-bottom: 7px;
    cursor: pointer;
}
.location-result-label {
    margin-left: 10px;
}
 
.group-search-form-outline input{
    background-color: #FFFFFF !important;
}
 
 
/**************** online **********************/
.search-results-online {
    display: flex ;
    flex-direction: row;
    margin: auto;
}
 
 
/*********************** HIJACKING THE MDB BOOTSTRAP *********************/
/* Override Bootstrap's input-group border-radius rules for location search */
/* Using ID selector for maximum specificity - these MUST override Bootstrap */

/* Force input to have rounded left corners and flat right corners */
#group-search-results-filter-location-desktop.group-search-filter-desktop-input {
    border-top-left-radius: 25px !important;
    border-bottom-left-radius: 25px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Override Bootstrap's :not(:last-child) rule for the input */
#location-container .input-group:not(.has-validation) > #group-search-results-filter-location-desktop.group-search-filter-desktop-input.form-control:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-top-left-radius: 25px !important;
    border-bottom-left-radius: 25px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Force button to have flat left corners and rounded right corners */
#location-container .input-group > .group-search-filter-desktop-location-button.btn:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 25px !important;
    border-bottom-right-radius: 25px !important;
}

/* Additional override for Bootstrap's input-group rules */
#location-container .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback).group-search-filter-desktop-location-button {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 25px !important;
    border-bottom-right-radius: 25px !important;
}

/* Nuclear option: override ALL Bootstrap input-group border-radius rules for this specific input-group */
#location-container .input-group:not(.has-validation) > #group-search-results-filter-location-desktop {
    border-top-left-radius: 25px !important;
    border-bottom-left-radius: 25px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Only the group-search results location field: collapse MDB form-notch-leading so the rounded
   search bar renders correctly. MDB's data-mdb-input-init injects form-notch with width
   on form-notch-leading; this overrides it for #location-container only. */
#location-container .input-group .form-notch .form-notch-leading {
    width: 0 !important;
    min-width: 0 !important;
}
 
 .form-outline .form-control~.form-label {
     color: #4f4f4f !important;
     font-family: 'Montserrat';
 }
.form-outline .form-control:focus ~ .form-label {
    color: #9C9C9C !important
}
.form-outline .form-control:focus ~ .form-notch .form-notch-middle {
    border-color: #9c9c9c !important;
    box-shadow: -1px 0 0 0 transparent, 0 1px 0 0 #ffffff, 0 -1px 0 0 transparent !important
}
.form-outline .form-control:focus ~ .form-notch .form-notch-leading {
    border-color: #9c9c9c !important;
    box-shadow: -1px 0 0 0 #ffffff, 0 1px 0 0 #ffffff, 0 -1px 0 0 #ffffff !important
}
.form-outline .form-control:focus ~ .form-notch .form-notch-trailing {
    border-color: #9c9c9c !important;
    box-shadow: 1px 0 0 0 #ffffff, 0 -1px 0 0 #ffffff, 0 1px 0 0 #ffffff !important
}
 
 
/*********************** Phone media queries *********************/
@media (max-width: 680px), screen and (orientation: portrait) {
   
    #result-mobile-map {
        height: 350px;
    }
   
   
    #theForm {
        font-family: IvyPresto, Montserrat, Sans-Serif;
        margin: 5%;
    }
 
    textarea {
        height: 10em;
        width: 17em;
    }
}

.group-search-dropdown{
    border-radius: 20px;
    padding: 10px 0;
  
 }

.ddl-label-interests{
    padding-top: 5% !important;
    padding-left: 30%;
}

.ddl-label-interests-online{
    padding-top: 4.5% !important;
    padding-left: 30%;
}

.ddl-label-days{
    padding-top: 1rem !important;
    padding-left: 28%;
}
 

#meetingdays-container .btn-group .select-wrapper .form-outline .select-input {
    height: 3.5rem;
    border-radius: 25px;
}
#meetingdays-container .form-outline .form-control ~ .form-notch {
    opacity: 0 !important;
}
#meetingdays-container .form-outline .form-control{
    border: 1px solid rgb(170, 168, 168) !important;
}

#online-interests-container .btn-group .select-wrapper .form-outline{
    width: 145%;
}
#online-interests-container .btn-group .select-wrapper .form-outline .select-input {
    height: 3.5rem; 
    border-radius: 25px;
}
#online-interests-container .form-outline .form-control ~ .form-notch {
    opacity: 0 !important;
}
#online-interests-container .form-outline .form-control{
    border: 1px solid rgb(170, 168, 168) !important;
}

#group-interests .select-wrapper {
    width: 145%;
}

#group-interests .select-wrapper .form-outline .select-input {
    height: 3.5rem;
    border-radius: 25px;
}
#group-interests .form-outline .form-control ~ .form-notch {
    opacity: 0 !important;
}
#group-interests .form-outline .form-control{
    border: 1px solid rgb(170, 168, 168) !important;
}

#radius-wrapper .select-wrapper .form-outline .select-input {
    height: 3.5rem;
    border-radius: 25px;
}
#radius-wrapper .form-outline .select-input {
    height: 3.5rem;
    border-radius: 25px;
}
#radius-wrapper .form-outline .form-control ~ .form-notch {
    opacity: 0 !important;
}
#radius-wrapper .form-outline .form-control {
    border: 1px solid rgb(170, 168, 168) !important;
}

/* Keep empty select labels inside the pill regardless of MDB's active class. */
#group-interests:not(.has-selection) .form-outline .form-control ~ .form-label,
#radius-wrapper:not(.has-selection) .form-outline .form-control ~ .form-label {
    left: 15px !important;
    right: auto !important;
    top: 50% !important;
    padding: 0 6px !important;
    margin: 0 !important;
    transform: translateY(-50%) scale(1) !important;
    transform-origin: left center !important;
    background-color: transparent !important;
    white-space: nowrap !important;
}

/* Float labels only after a value has actually been selected. */
#group-interests.has-selection .form-outline .form-control ~ .form-label,
#radius-wrapper.has-selection .form-outline .form-control ~ .form-label {
    left: 0 !important;
    right: auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 6px !important;
    margin: 0 !important;
    text-align: left !important;
    white-space: nowrap !important;
    transform: translateY(-13.5px) scale(0.8) !important;
    transform-origin: left center !important;
    background-color: #fff !important;
}
