form.bbp-login-form p {
    margin-bottom: 15px;
}
form.bbp-login-form p select {
    padding: 7px 10px;
    border-radius: 3px;
    border-color: #dbdbdb;
    min-width: 195px;
    color: gray;
}
form.bbp-login-form p label[for="state"] {
    margin-top: 15px;
}


div#candidate-carousel {
    display: inline-block;
    width: 100%;
}

div#candidate-carousel::after{
    content: "";
    display: block;
    clear: both;
}
div#candidate-carousel .owl-carousel {
    display: inline-block;
    align-content: stretch;
    justify-items: stretch;
    justify-content: space-evenly;
    width: 100%;
}
div#candidate-carousel .caption {
    background: #f0f8ff;
    padding: 10px 15px;
    box-sizing: border-box;
    border: 1px solid #cee1ef;
}
div#candidate-carousel .caption h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-transform: capitalize;
    margin-bottom: 7px;
}
div#candidate-carousel .caption p {
    margin: 0;
    font-size: 14px;
    color: #666;
    margin-bottom: 7px;
}
.bbpc-candidate-carousel .owl-item img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
    
}
.bbpc-candidate-carousel .owl-nav {
    text-align: center;
    width: 100%;
    margin: 15px 0 0;
}
.bbpc-candidate-carousel .owl-nav button {
    background: #f0f8ff !important;
    margin: 0 5px;
    border: 1px solid #cee1ef !important;
    width: 30px;
}
.bbpc-candidate-carousel .owl-nav button span {
    font-size: 30px;
    color: black;
    font-weight: normal;
    line-height: 18px;
}

/* Preloader styles */
.carousel-preloader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 100%;
}

.carousel-preloader .spinner {
    position: relative;
    margin-bottom: 40px;
}

.carousel-preloader .spinner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    z-index: 9999;
}

.carousel-preloader .spinner::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 0px;
    transform: translate(-50%, -50%);
    border: 6px solid #888;
    border-top: 6px solid #555;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: geo_spin 1s linear infinite;
    z-index: 10000;
    right: -40px;
    margin: auto;
    text-align: center;
}
@keyframes geo_spin {
    0% {
      transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
      transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Hide carousel initially */
ul .bbpc-warning,
div#candidate-carousel {
    display: none;
}


.roled-user-location-data {
    display: grid;
    grid-template-columns: 33.33% 33.33% 33.33%;
    justify-content: normal;
    grid-gap: 0;
    text-align: center;
    margin-top: 30px;
}

.roled-user-heading-wrap{
    font-size: 20px;
    display: block;
    margin: 0 0 15px;
    font-weight: 500;
}
.roled-user-location-data div.location-item {
    background: #ffffff;
    color: #046bd2;
    padding: 20px;
    box-sizing: border-box;
    font-size: 20px;
    border: none;
    line-height: normal;
    box-shadow: 0px 0px 18px -1px #c6c6c6;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-right: 14px;
    margin-top: 15px;
    cursor: pointer;
    position: relative;
    transition: .3s all;
    display: grid;
}
@media screen and (max-width: 768px) {
    .roled-user-location-data {
        grid-template-columns: auto;
        grid-gap: 0;
    }
    .roled-user-location-data div.location-item {
        margin-bottom: 40px;
    }
}

.roled-user-location-data div.location-item:hover {
    background: #e2e2e2;
}

.roled-user-location-data div.location-item:before {
    content: attr(title);
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
    background: navajowhite;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    min-height: 30px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 28px;
    width: 100%;
    border: 1px solid #00000017;
}

.roled-user-location-data div.location-item::first-letter{
    text-transform: capitalize;
}
.roled-location-wrap {
    margin: 10px -20px -20px;
    background: linear-gradient(45deg, #e4fdfb, #0a5e5b29);
    padding: 2px 5px;
    box-sizing: border-box;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
}
.roled-location-wrap::first-letter {
    text-transform: capitalize;
}


.rolled-state-wrapper {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 10px;
    margin: 15px 0 20px;
}
.rolled-state-wrapper .roled-states-item {
    box-sizing: border-box;
}
.rolled-state-wrapper .roled-states-item img {
    width: auto;
    height: auto;
    max-width: 16px;
    max-height: 16px;
    margin-bottom: 3px;
}
.rolled-state-wrapper .roled-states-item .rolled-title {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
    margin: 8px 0;
}
.rolled-state-wrapper .roled-states-item .roled-topics-counter {
    font-size: 16px;
    color: black;
}
#bbpress-forums .bbp-user-body h2.bbpc-no-voting-wrap:last-child {
    display: none;
}
