/* page styling */
@media (min-width: 768px) {

    .form-group-filter {
        float: right !important;
    }

    .filter-content {
        right: 0px;
        left: auto;
        width: 100vw;
        margin-top: 5px;
    }
}

.filter-content {
    float: right;
    display: none;
    position: absolute;
    top: 67px;
    border: 1px solid #333;
    border-radius: 4px;
    margin-right: 15px;
    padding: 15px;
    min-width: 300px;
    max-width: 600px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    background: #fff;
    z-index: 3;
}

span.search-icon {
	float: right;
	margin-right: 7px;
	margin-top: -24px;
	position: relative;
	z-index: 2;
}
	
.show {
    display: block;
}

.panel-search-criteria .filter-badge {
    border: 2px solid #dddea2;
    background-color: #fbfdf0;
    Padding: 3px 15px;
    color: #777;
}
.panel-search-criteria i {
    color: #777;
}

.groups-loading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hide-card {
    display: none !important;
}

div.group-filters {
    position: absolute;
    max-width: 300px;
}

.panel-groups-summary,
.panel-other-groups-summary {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.group-card {
    position: relative;
    width: 30%;
    height: 357px;
    border-radius: 3px;
    margin: 12px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 6px, rgba(0, 0, 0, 0.12) 0px 1px 4px;
    display:flex;
    flex-direction:row;
}

.group-card h4 {
    margin-top: 5px;
    margin-bottom: 5px;
}
.group-card h3 {
    font-size: 18px;
    font-weight: 400;
    margin-top: 0;
    color: #999;
}

.group-side-content {
        min-width: 120px;
        width:120px;
}

.group-content {
        padding:5px;
        position:relative;
        overflow:hidden;
}

.group-topics {
    padding-bottom: 15px;
}
.group-topic {
    color: #000;
    border: 2px solid;
    border-color: #eee;
    border-radius: 14px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 300;
    white-space: nowrap;
    line-height: 28px;
    background-color: #eee;
}
.learn-more {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 70px;
    padding: 40px 10px;
    display: flex;
    justify-content: flex-end;
    color: #649fd9;
    font-weight: 700;
    background-image: linear-gradient(to top, rgba(255,255,255,1)50%, rgba(255,255,255,0));
}
.learn-more span {
    margin-right: 15px;
}

.learn-more:hover {
    cursor: pointer;
}

.side-top {
    height:40%;
    padding:15px;
    color:#fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.side-bottom {
    height:60%;
    background-color:#f1f1f3;
    padding:15px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.side-bottom h2 {
    font-size:24px;
}

.header-featured {
    position: absolute;
    top: 0;
    right: 0;
    color: white;
    background-color: #ce2f1c;
    padding: 4px;
    padding-left: 5px;
    padding-right: 5px;
    border-bottom-left-radius: 4px;
    font-size: 16px;
}

.group-header {
    display: flex;
    align-items: center;
    height: 100px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.header-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 50%;
}

.mdi-account-group {
    padding-left: 2px;
}

.header-image {
    width: 57px;
    height: 57px;
    margin: 0 10px 0 25px;
}

.header-image i {
    color: #bcbdc1;
    font-size: 40px;
}

.header-text {
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
}

.group-name {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #f1f1f3;
    padding: 12px 0;
    font-weight: bold;
}

.meeting-time {
    margin-right: 10px;
}

.group-details {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 150px;
    background-color: #FFFFFF;
}

.description-footer {
    display: flex;
    justify-content: space-between;
}

.group-alert {
    min-height: 30px;
    font-weight: 600;
    padding: 0 20px 10px 20px;
    background-color: #FFFFFF;
}

.leader-images {
    top: -40px;
    position: relative;
    width: 50%;
}

.leader-images img {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 3px;
    border: 3px solid white;
    border-radius: 70px;
    -webkit-border-radius: 70px;
    -moz-border-radius: 70px;
    /* make resized images look good in IE */
    -ms-interpolation-mode: bicubic;
}

/* Mobile and Tablet Styling */
@media screen and (max-width: 1200px) {

    .group-card {
        margin: 10px 15px;
        width:45%;
    }

 }

 /* Mobile Styling */
 @media screen and (max-width: 768px) {

    .group-card {
        margin: 10px 0;
        width:100%;
        max-width: 500px;
    }

 }


/**** loading spinner ****/
/* cheatsheet html to use for spinner
    <div class="loading">
        <div class="lds-spinner"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>
    </div>
*/
.panel-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    min-height: 700px;
}

.button-loading {
    justify-content: flex-start;
    align-items: flex-start;
    height: 50px;
}

.lds-spinner {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

.button-lds-spinner {
    width: 32px;
    height: 32px;
}

.lds-spinner div {
    transform-origin: 32px 32px;
    animation: lds-spinner 1.2s linear infinite;
}

.button-lds-spinner div {
    transform-origin: 16px 16px;
}

.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 29px;
    width: 5px;
    height: 14px;
    border-radius: 20%;
    background: #b86e78;
}

.button-lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 1.5px;
    left: 14.5px;
    width: 2.5px;
    height: 7px;
    border-radius: 20%;
    background: #b86e78;
}

.lds-spinner.spinner-light div::after {
    background: #FFFFFF;
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
/**** end loading spinner ****/

.group-card {
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: .50s;
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.group-card {
    -webkit-transition: all .25s ease; /* Safari and Chrome */
    -moz-transition: all .25s ease; /* Firefox */
    -ms-transition: all .25s ease; /* IE 9 */
    -o-transition: all .25s ease; /* Opera */
    transition: all .25s ease;
}

.group-card:hover {
    -webkit-transform: scale(1.03); /* Safari and Chrome */
    -moz-transform: scale(1.03); /* Firefox */
    -ms-transform: scale(1.03); /* IE 9 */
    -o-transform: scale(1.03); /* Opera */
    transform: scale(1.03);
}

/* Info Card Header */
div.gm-style-iw-chr > div.gm-style-iw-ch {
    font-weight: 600;
    font-size: 18px;
}

.panel.panel-block {
	padding: 0em !important;
}

.filter-accordion .panel-heading a, .panel-heading a:hover {
    border-bottom: none !important;
    text-decoration: none !important;
}

.filter-accordion .btn-default > i.fa {
    color: #fff;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

.filter-accordion .btn-primary > i.fa {
    color: gold;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

.filter-accordion .btn-filter {
    color: #333;
    background-color: inherit;
    border-color: inherit;
}

.panel-map-filters {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 25%;
    min-width: 200px;
    z-index: 920;
}

.top-map-filters {
	min-height: 80px;
}

 @media screen and (max-width: 991px) {
	.top-map-filters {
		min-height: 150px;
	}
}

.map-filters .panel-heading.collapsed .accordion-toggle:after {
    content: "\f054";
}

.map-filters .panel-heading .accordion-toggle:after {
    font-family: "FontAwesome";
    content: "\f078";
    float: right;
    color: grey;
    font-weight: 900;
}

.panel-group-details {
    padding: 2em;
}

#map {
    height: 400px;
    width: 100%;
}
