/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Animation
# Members/Groups Directory
# Single Profile/Group
# Themes Specific
    # BuddyBoss
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Animation
--------------------------------------------------------------*/

.animate-spin {
    -moz-animation: spin 2s infinite linear;
    -o-animation: spin 2s infinite linear;
    -webkit-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
    display: inline-block;
}

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(359deg);
        -o-transform: rotate(359deg);
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(359deg);
        -o-transform: rotate(359deg);
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@-o-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(359deg);
        -o-transform: rotate(359deg);
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@-ms-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(359deg);
        -o-transform: rotate(359deg);
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(359deg);
        -o-transform: rotate(359deg);
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}


/*--------------------------------------------------------------
# Members/Groups Directory
--------------------------------------------------------------*/

.bpchkpro-map-wrapper {
    margin: 0 0 15px;
    z-index: 9;
}

@media screen and (min-width: 32em) {
    body:not(.activity):not(.members-proximity-search-enable):not(.groups-proximity-search-enable) #buddypress.buddypress-wrap .subnav-filters .subnav-search,
    body:not(.activity):not(.members-proximity-search-enable):not(.groups-proximity-search-enable) #buddypress.buddypress-wrap .subnav-filters .bp-search {
        width: 100%;
    }
}

body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) #buddypress.buddypress-wrap .bp-search:not(.activity-search) form.bp-dir-search-form {
    margin: 0 0 15px;
    padding: 15px 15px 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: wrap;
    flex-flow: wrap;
    width: 100%;
    border-radius: 0;
}

body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) #buddypress.buddypress-wrap .bp-search:not(.activity-search) form.bp-dir-search-form>div {
    margin-right: 10px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(25% - 10px);
    flex: 0 0 -webkit-calc(25% - 10px);
    flex: 0 0 calc(25% - 10px);
}

body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) #buddypress.buddypress-wrap .bp-search:not(.activity-search) form.bp-dir-search-form>div:last-child {
    margin-right: 0;
}

body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) #buddypress.buddypress-wrap .bp-search:not(.activity-search) form.bp-dir-search-form>div.search-submit-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) #buddypress.buddypress-wrap .bp-search:not(.activity-search) form.bp-dir-search-form>div.search-submit-wrapper input {
    margin-right: 10px;
}

body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) .buddypress-wrap .bp-search:not(.activity-search) form.bp-dir-search-form .search-submit-wrapper button[type=submit] {
    position: relative;
    right: auto;
    opacity: .5;
    visibility: visible;
    width: auto;
    height: auto;
    padding: 2px 10px !important;
}

body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) .buddypress-wrap .bp-search:not(.activity-search) form.bp-dir-search-form .search-submit-wrapper button[type=submit]:hover {
    opacity: 1;
}

body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) #buddypress.buddypress-wrap .bp-search.bpchkpro-default-search-disable:not(.activity-search) form.bp-dir-search-form>div{
    -webkit-box-flex: 0;
    flex: 0 0 calc(33.6% - 10px);
    -ms-flex: 0 0 calc(33.6% - 10px);
    flex: 0 0 -webkit-calc(33.6% - 10px);
}

@media screen and (max-width: 991px) {
    body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) #buddypress.buddypress-wrap .bp-search:not(.activity-search) form.bp-dir-search-form>div {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(50% - 10px);
        flex: 0 0 -webkit-calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
    }
}

@media screen and (max-width: 767px) {
    body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) #buddypress.buddypress-wrap .bp-search:not(.activity-search) form.bp-dir-search-form>div {
        width: 100%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        margin-right: 0;
    }

    body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) #buddypress.buddypress-wrap .bp-search.bpchkpro-default-search-disable:not(.activity-search) form.bp-dir-search-form>div{
        width: 100%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    }

}

body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) #buddypress.buddypress-wrap .bp-search:not(.activity-search) form.bp-dir-search-form input {
    width: 100%;
    height: 36px;
    border: 1px solid #e5e5e5;
}

body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) #buddypress.buddypress-wrap .bp-search:not(.activity-search) form.bp-dir-search-form input,
body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) #buddypress.buddypress-wrap .bp-search:not(.activity-search) form.bp-dir-search-form select,
body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) #buddypress.buddypress-wrap .bp-search:not(.activity-search) form.bp-dir-search-form button[type="submit"] {
    margin: 0 0 10px;
    height: 36px !important;
}

body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) #buddypress.buddypress-wrap .bp-search:not(.activity-search) form.bp-dir-search-form input.bpchkpro-address {
    padding-right: 40px;
}

.address-field-wrapper {
    position: relative;
    clear: both;
}

img#bpchkpro-locator,
.bpchkpro-lf-locator-button {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 7px;
    bottom: 0;
    right: 8px;
    cursor: pointer;
}

body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) .buddypress-wrap.buddypress-wrap.buddypress-wrap #dir-members-search-submit,
body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) .buddypress-wrap.buddypress-wrap.buddypress-wrap #dir-groups-search-submit {
    border: 1px solid !important;
}

body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) .buddypress-wrap .bp-search:not(.activity-search) form.bp-dir-search-form button.members-search-clear,
body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) .buddypress-wrap .bp-search:not(.activity-search) form.bp-dir-search-form button.groups-search-clear {
    width: auto;
    font-size: 14px;
    float: none;
    text-align: center;
    width: 100%;
    border: 1px solid !important;
    border-radius: 2px;
    opacity: .5;
}

body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) .buddypress-wrap .bp-search:not(.activity-search) form.bp-dir-search-form button.members-search-clear:hover,
body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) .buddypress-wrap .bp-search:not(.activity-search) form.bp-dir-search-form button.groups-search-clear:hover {
    opacity: 1;
}

.radius-field-wrapper select {
    width: 100%;
    margin: 0 0 10px;
}

.bpchkpro-info-window-inner{
    text-align: center;
}


/*--------------------------------------------------------------
# Single Profile/Group
--------------------------------------------------------------*/

.bpchkpro-location,
.bpchkpro_group_single_address_field {
    position: relative;
}

.bpchkpro_group_single_address_field img#bpchkpro-locator {
    top: auto;
    bottom: 22px;
}

#group_location_single_address {
    margin-bottom: 15px !important;
}

#bpchkpro-map {
    height: 400px;
    margin-bottom: 15px;
}

.bpchk-fav-loc-map-wrapper {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e3e3e3;
}

.bpchk-fav-loc-map-wrapper:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.bpcp-checkin-trash-wrapper {
    display: block;
    width: 100%;
    margin: 10px 0;
}

.bpcp-checkin-trash {
    cursor: pointer;
    float: right;
    margin-top: 3px;
}

.bpcp-checkin-trash:after {
    content: "";
    display: table;
    clear: both;
}

.bpcp-checkin-trash:hover {
    color: #d11a2a;
}

/*--------------------------------------------------------------
## BP Profile Search 
--------------------------------------------------------------*/
.ui-accordion.ui-widget,
.ui-widget input, 
.ui-widget select, 
.ui-widget textarea, 
.ui-widget button{
    font-family: inherit;
}


.bpchkpro-flexed-wrapper{
    display: flex;
    flex-wrap:wrap;
    align-items: flex-start;
}
.bpchkpro-address-field-wrap{
    position: relative;
}

.bps-form .bpchkpro-flexed-wrapper .form-control{
    height: 38px;
    font-family: inherit;
    font-size: inherit;
}

.bps-form .bpchkpro-location-fields-inner  .bpchkpro-location-field-wrap{
    margin-right: 10px;
    width: calc(25% - 10px);
}
.bps-form .bpchkpro-location-fields-inner  .bpchkpro-location-field-wrap.bpchkpro-address-field-wrap{
    width: calc(50% - 10px);
}


.bps-form .bpchkpro-location-fields-inner .bpchkpro-location-field-wrap input,
.bps-form .bpchkpro-location-fields-inner .bpchkpro-location-field-wrap select{
    width: 100%;
}
.bps-form .bpchkpro-location-fields-inner  .bpchkpro-location-field-wrap.bpchkpro-units-field-wrap{
    margin-right: 0px;
}

@media only screen and (max-width: 768px) {

    .bps-form .bpchkpro-location-fields-inner  .bpchkpro-location-field-wrap,
    .bps-form .bpchkpro-location-fields-inner .bpchkpro-location-field-wrap.bpchkpro-address-field-wrap{
        width: 100%;
        margin: 0 0 10  px;
    }


}

.widget .bpchkpro-flexed-wrapper{
    display: block;
}

.widget .bps-form .bpchkpro-location-fields-inner .bpchkpro-location-field-wrap{
    margin:0px 0 5px;
    width: 100%;
}
.widget .bps-form .bpchkpro-location-fields-inner .bpchkpro-location-field-wrap input,
.widget .bps-form .bpchkpro-location-fields-inner .bpchkpro-location-field-wrap select{
    width: 100%;
}

/*--------------------------------------------------------------
## BuddyBoss
--------------------------------------------------------------*/
body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) .bb-grid .subnav-search {
    float: none;
    margin-top: auto;
}

body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) .bb-grid .subnav-search .dir-search {
    width: 100%
}

body:not(.members-proximity-search-enable):not(.groups-proximity-search-enable) .bb-grid #buddypress .dir-search input[type=search] {
    padding-left: 35px;
}

.bb-grid .bp-profile-content img#bpchkpro-locator,
.bb-grid .bp-profile-content .bpchkpro-lf-locator-button {
    top: 12px;
    right: 12px;
}

.bb-grid #whats-new-options:after {
    content: "";
    display: table;
    clear: both;
}

.bb-grid #members-search-form-clear,
.bb-grid #groups-search-form-clear {
    color: inherit;
    margin-top: -4px !important;
}