html {
	height: 100%;
	overflow: hidden;
}

body {
	height: 100%;
	overflow: hidden;
}

.groupfinder .btn {
	box-shadow: none;
    background: transparent;
}

header {
	position:relative;
	top: 0;	
	width: 100%;
	font-size: 22px;
	-moz-box-sizing:    border-box;
	-webkit-box-sizing: border-box;
    box-sizing:        border-box;
	z-index: 3;
}

header .upper-header{
	width: 100%;
	padding: 15px 10px 0px 10px;
	position: relative;
	z-index: 5000;
}

/*header .upper-header div{
	display: inline-block;
}*/

header .title-div{
	border-radius: 4px;
	background-color: rgb(47,65,85);
	color: #c7cfd8;
	padding: 5px 15px;
	font-size: 18px;
	position: absolute;
	left: 25px;
}

header .upper-header .full-group-name{
	font-weight: 600;
	font-size: 1.5vw;
	line-height: 37px;
	float: left;
}

header .upper-header .short-group-name{
	display: none;
	font-size: 16px;
	font-weight: 600;
}
@media only screen and (min-width:767px) {
	header .upper-header .short-group-name {
		font-size: 25px;
	}
}
header .upper-header .search {
	background: rgba(255,255,255, 0.2);
	border-radius:20px;
	padding:3px 5px;
	display: block;
	margin-top:20px;
	transition:background 0.5s;
}
header .upper-header .search.focus {
	background:#fff;
}

.upper-header .icon-search, .upper-header .icon-remove {
	float: left;
	margin-top: 3px;
	margin-right:3px;
	width:29px;
}
header .upper-header input[type=search] {
	background: transparent !important;
	border:none;
	font-size: 15px;
	width:calc(100% - 35px);
	display: inline-block;
	padding: 5px 0 5px 0;
    border-radius: 20px;
}
header .upper-header input[type=search]:focus {
	outline:none;
    border-radius: 20px;
}

header .upper-header .view-select{
	position: absolute;
	/*top: 15px;*/
	right: 10px;
}
@media only screen and (min-width: 767px) {
	header .upper-header .view-select{
		position: absolute;
		/*top: 15px;*/
		right: 15px;
	}
}

.upper-header .move-up { padding-bottom: 20px; }

@media only screen and (min-width: 991px) {
	.upper-header .move-up {
		position: absolute;
		top:15px;
		width:calc(100% - 50px);
	}
	header .upper-header .search {
		margin-top:0;
	}
}
.lower-header .btn-group .btn{
	
    border:0 !important;
}

header .btn-group .btn.active{
}

header .btn-group .btn.btn-mobile{
	display: none;
}

header .lower-header .view-select-mobile{
	display: none;
	margin-bottom: 10px;
}

.btn-map {
	z-index: 90;
   
}

.galcolumn .item p.h5 {
    overflow-wrap: break-word;
}

.lower-header .hide-native-select { 
    margin-right: 15px;
    margin-bottom: 15px;
    display: inline-block;
    text-align: left;
}

#filter-form {
    padding: 0;
    width: 90%;
    margin: 18px auto 0 auto;
}

#filter-form .btn-group {
    background: #f0f2f5;
    border-radius: 20px;
   
}

/* Mobile */

@media (max-width: 767px){
	
    .lower-header .hide-native-select,
    #filter-form .dropdown-menu,
    #filter-form .btn-group,
    #filter-form .btn-group .btn {
        width:100%;
    }
    
    .view-select .btn { font-size: 25px; padding:0 10px; }
    
   
    header .upper-header .search {
        background: #ffffff;
    }
    
    header .upper-header input[type=search],
    .upper-header input[type=search]:placeholder {
        color:#000;
    }
    
} /* mobile */

@media (max-width: 767px) {
    .public-profile .row .row {
        margin-left:0;
        margin-right:0;
    }
}

.btn-list {
	z-index: 90;
}


header .lower-header {
   
	
	padding: 0 !important;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
	z-index: 20;
	border:0;
}


header .lower-header > form {
	display: none;
	position: relative;
	top:-285px;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}
@media only screen and (min-width: 767px) {
	header .lower-header > form {
		top:-162px;
	}
}
@media only screen and (min-width: 992px) {
	header .lower-header > form {
		top:0;
	}
}

header .lower-header.show > form {
	top:0;
}


header .lower-header .btn.selectpicker{
	color: white;
	font-size: 15px;
	background-color: #8D96A0;
	border-color: white;
}

header .lower-header .btn.selectpicker:last-of-type {
	margin-bottom: 0;
}

header .lower-header .selectpicker.dropdown-menu > li > a{
	font-size: 15px;
}

header .lower-header .selectpicker span.caret{
	border-top-color: white;
}

.filter-results{
	z-index: 2;
	font-size: 15px;
	position: absolute;
	top: 90px;
	width: 100%;
	pointer-events: none;
	-ebkit-transition: top 0.5s ease;
	-moz-transition: top 0.5s ease;
	-o-transition: top 0.5s ease;
	transition: top 0.5s ease;
}

.filter-results.active {
	top: 130px;
}

.bootstrap-select .dropdown-menu{
	text-align: left;
	position: absolute;
}

.filter-results .filter-results-text{
	background-color: rgba(34,51,70,0.9);
	padding: 10px;
	display: inline-block;
	pointer-events: auto;
	color: white;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}

.list-finder{
	display: none;
}

.list-finder .list-container{
	height: 100%;
	overflow-y: scroll;
	padding: 15px 0;
    -webkit-overflow-scrolling: touch;
}

.list-finder .list-container > div.row{
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.list-finder .panel, .list-finder .panel li.list-group-item{
	border-width: 0;
	margin-top: -10px;
	font-size: 15px;
}


.profile-card-column{
	width: 25%;
	float: left;
	padding: 15px;
	min-width: 265px;
}

.group-profile-card div.profile-avatar{
	height: 264px;
}

.profile-avatar img{
	width: 100%;
	height: auto;
}

.profile-avatar img, .profile-avatar h3{
	cursor: pointer;
}

.profile-card-column h3{
	padding-left: 15px;
	padding-right: 15px;
	height: 53px;
	color: #505050;
	font-size: 22px;
}

.profile-card-column > section.panel.about-group{
	height: 225px;
	margin-bottom: 0;
	margin-top: -20px;
}

.group-profile-card{
	box-shadow: none;
	padding: 0;
	margin-bottom: 0;
}

.profile-card-column .list-group{
	color: #797979;
}

.profile-card-column .list-group .list-icon{
	text-align: center;
	position: absolute;
	width: 23px;
}

.profile-card-column .list-text{
	display: inline-block;
	margin-left: 30px;
}

.list-finder .filter-details h5{
	font-size: 16px;
}

.list-finder .panel.footer-panel{
	border-top-width: 1px;
	margin-bottom: 0;
	border-radius: 0;
}

.list-finder .panel.footer-panel a{
	color: #437db6;
	font-weight: 600;
	font-size: 15px;
	padding-top: 15px;
	padding-bottom: 15px;
}

.list-finder .panel.footer-panel a.pull-left{
	padding-left: 15px;
	border-right: 1px solid #e3e8ed;
	width: 45%;
}
.list-finder .panel.footer-panel a.pull-right{
	padding-right: 15px;
}


.map-container, .list-finder, .public-profile{
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: 125px;
}

.map-container img{
	max-width: none;
}

.help {
	
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 0;
	background: #000;
    color: #fff;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
	overflow:auto;
}
.help.open{
	bottom: 0;
	height: 445px;
	padding:0;
}
@media (max-width: 767px) {
	.help.open {
		height: 475px;
		bottom:0;
	}
}
.help div.close-help {
	display: none;
}

.help.open div.close-help{
	margin: 0 10px;
	font-size: 28px;
	position: fixed;
	bottom:0;
	right: 0;
	cursor: pointer;
	z-index: 20;
	font-weight: bold;
	-webkit-transform:translateY(-440px);
	-moz-transform:translateY(-440px);
	-ms-transform:translateY(-440px);
	-o-transform:translateY(-440px);
	transform:translateY(-440px);
	display: block;
}
.help .help-form {
	padding:0;
}
.help .help-form, .help .help-form .row{
	height: 100%;
}


/*.help .help-form-left, .help .help-form-right{
	display: table;
	height: 100%;
}*/

.help .help-form-left div, .help .help-form-right form{
	padding:10px 30px;
}
.help .help-form-left h3 {
	margin-top: 0;
}
.help .help-form-left h4 {
	line-height: 30px;
}
.help .help-confirm .message h3{
	font-size: 22px;
	margin-top: 10px;
}

.help .help-form-right form textarea{
	resize: none;
	height: 90px;
}

.help .help-form-right .form-horizontal .form-group:last-of-type{
	margin-bottom: 0;
}

.help .help-confirm{
	display: table;
	height: 100%;
	width: 100%;
}
.help .help-confirm .message{
	display: table-cell;
	vertical-align: middle;
	height: 100%;
}
@media screen and (min-width: 480px) {
	.help .help-form-left div, .help .help-form-right form {
		padding:30px;
	}
}
@media only screen and (min-width: 767px) {
	.help .help-form-left h3 {
		font-size: 30px;
	}
	.help.open div.close-help {
		-webkit-transform:translateY(-400px);
		-moz-transform:translateY(-400px);
		-ms-transform:translateY(-400px);
		-o-transform:translateY(-400px);
		transform:translateY(-400px);
	}
}

footer{
	position: fixed;
	bottom: 0;
	border: 0;
	width: 100%;
	padding: 0;
	overflow: hidden;
	opacity: 0;
	-webkit-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	transition: opacity 0.2s;
}

footer.open{
	opacity: 1;
}

footer div{
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	background-color: rgba(21,101,192,0.9);
	color: white;
	margin: 0;
	width: auto;
	font-size: 15px;
	display: inline-block;
	padding: 10px;
}

@media screen and (max-width:480px) {
	footer .help-footer {
		margin:0 35px;
	}
}


header .upper-header div.mobile-only{
	display: none;
}

.mobile-list{
	display: none;
}

.public-profile {
	top: 65px;
	left: 0;
	right: 0;
	width: 0;
	margin-left:100%;
	z-index: 2000;
	background-color: #f5f5f5;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
	padding: 0;
}
@media only screen and (min-width: 992px) {
	.public-profile {
		width: 100%;
	}
}

.public-profile.always-visible{
	margin-left: 0;
}

.public-profile .profile-container{
	height: 100%;
	overflow-y: scroll;
	padding: 0 0 60px;
}



.public-profile .info-box .row {
	background-color:transparent;
}

.public-profile .profile-header{
	height: 58px;
	background-color: white;
	padding-left: 30px;
}

.public-profile .profile-header .btn{
	margin-top: 10px;
}

.public-profile .container {
	padding:0;
	margin: 10px auto 0 auto;
}

.public-profile div.row{
	max-width: 1200px;
}

.public-profile.active{
	width:100%;
	margin-left:0;
}

.public-profile h2 { margin: 0 0 0 10px; }

@media (max-width: 767px){
	
    .public-profile h2 { font-size:24px;}
}


.public-profile h2, .public-profile h3{
	font-weight: 600;
    word-wrap: break-word;
    
}

.public-profile h3{
	font-size: 20px;
}

.public-profile .profile-map{
	width: 100%;
	min-width: 320px;
}
@media only screen and (min-width: 480px) {
	.public-profile .profile-map{
		min-width: 658px;
	}
}
@media only screen and (min-width: 992px) {
	.public-profile .profile-map{
		min-width: 100%;
	}
}
.public-profile.active .profile-map{
	min-width: 100%;
}
.public-profile .profile-map img{
	width: 100%;
	max-width: 100%;
}

.public-profile .map-panel{
	padding: 15px;
	width: 100%;
}

.public-profile .panel {
	font-size: 15px;
}

.public-profile .panel .info-box{
	padding: 15px 10px 70px 10px;
	color: #272829;
}
.public-profile .panel.map-panel .info-box {
	padding-bottom: 15px;
}

.public-profile .panel .info-box .about-titles{
	font-size: 13px;
}

.public-profile .panel .info-box span {
	line-height: 24px;
	vertical-align: top;
}

.public-profile .panel .info-box .info-block {
	margin-top: 1px;
}
@media only screen and (max-width: 767px) {
	.public-profile .panel .info-box .info-block {
		padding-left:40px;
	}
}

.public-profile .panel .info-icon{
	font-size: 23px;

}

.public-profile .panel .info-icon .icon-map-marker{
	margin-left: 3px;
    padding-right: 5px;
}

.public-profile .panel .info-text{
	margin-left: 35px;
	padding-top: 3px;
}

.public-profile .panel .panel-heading {
	
    padding: 0;
    border:0;
    border: 0;
    background: none;
}

.public-profile .panel .panel-heading p {
    padding: 15px 15px 0 15px;
}

.public-profile .panel .panel-heading img {
    border-radius: 10px 10px 0 0;
    width: 100%;
}

}

.public-profile .panel .panel-heading p {
    padding: 15px 15px 0 15px;
}

.public-profile .panel .panel-heading img {
    border-radius: 10px 10px 0 0;
    width: 100%;
}


.panel-heading.mobile-heading h3 {
    padding: 0 15px 10px 15px;
}


.public-profile .form-horizontal textarea.form-control{
	height: 110px;
}

.public-profile .member-container{
	display: inline-block;
	margin-bottom: 10px;
	width: 100%;
}

.public-profile .member-card {
	box-shadow: none;
	margin-bottom: 0;
	width: 100%;
   border: 1px solid #e0e6ef;
    box-shadow: 2px 5px 5px 0px rgb(71 91 115 / 4%);
    -webkit-box-shadow: 2px 5px 5px 0px rgb(71 91 115 / 4%);
    height: 83px;

}

.public-profile .member-card .member-title{
	font-size: 20px;
}

.public-profile .member-card .member-subtitle{
	display: inline-block;
	position: relative;
	color: rgb(174,177,180);
	font-size: 18px;
}

.public-profile .member-extended{
	padding: 15px;
	background-color: rgb(246,247,249);
	width: 100%;
	height: auto;
	color: rgb(157,158,160);
	font-size: 15px;
}

@media (max-width: 991px){

	header .upper-header div.title-div{
		display: none;
	}

	header .upper-header .full-group-name{
		display: none;
	}
	header .upper-header .col-xs-6 .short-group-name{
		display: block;
		text-align: center;
		/*margin-left:-86.5px;*/
	}
	
	header .lower-header{
		max-height:0;
		padding-top: 0;
		padding-bottom: 0;
		overflow: hidden;
	}
	
	header .lower-header form {
		margin-bottom: 0;
	}

	header .lower-header .view-select-mobile{
		display: inline-block;
		margin-bottom: 10px;
	}
	
	header .btn-group.btn-mobile{
		display: inline-block;
	}
	
	header .btn-group .btn.btn-desktop{
		display: none;
	}
	
	
	.desktop-only{
		display: none;
	}
	
	header .upper-header div.mobile-only{
		display: inline-block;
	}
	
	
	.map-container.map-finder, .filter-results.map-finder{
		top: 135px;
	}
	
	.list-finder{
		top: 155px;
		padding: 0;
	}
	
	.list-finder .list-container{
		padding: 0;
	}
	
	.list-finder .list-container .row{
		margin-left: 0;
		margin-right: 0;
	}
	
	.list-finder .filter-details{
		background-color: rgb(235,235,235);
		text-align: center;
	}
	
	.list-finder .filter-details h5{
		margin-top: 5px;
		margin-bottom: 5px;
		line-height: 1.428571429;
		color: #959697;
	}
    
    .list-finder .line { border:0; }
	
	.mobile-list{
		display: block;
	}
	.desktop-list{
		display: none;
	}
	
}
.col-md-3 .short-group-name {
	display: none;
}
	
header .lower-header.show {
	max-height: 450px;
	padding: 0;
	overflow: scroll;
}


@media (max-width: 767px){
	.form-group .col-sm-6:first-of-type{
		margin-bottom: 15px;
	}
}


/* mobile profile card */

.profile-card-mobile{
	width: 100%;
	display: table;
	padding-top: 10px;
	padding-bottom: 10px;
	border: 1px solid rgb(177,178,179);
}

.profile-card-mobile:nth-child(even){
	background-color: rgb(235,239,250);
}

.profile-card-mobile:nth-child(odd){
	background-color: rgb(255,255,255);
}

.profile-card-mobile .profile-avatar-mobile, .profile-card-mobile .profile-details-mobile{
	display: table-cell;
	vertical-align: middle;
}

.profile-card-mobile .profile-avatar-mobile{
	width: 35%;
	max-width: 250px;
}

.profile-card-mobile .profile-avatar-mobile img{
	width: 100%;
}

.profile-card-mobile .profile-details-mobile{
	padding-left: 10px;
	padding-right: 10px;
}

.profile-card-mobile .profile-details-mobile .profile-title-mobile{
	font-size: 16px;
	color: #505050;
	font-weight: 600;
}

.profile-card-mobile .profile-details-mobile .profile-subtitle-mobile{
	font-size: 13px;
	color: #797979;
}

.infowindow-color {
	color: #5AC8FA;
	margin-right: 4px;
}

.infowindow-link {
	color: #428bca;
	margin-top: 5px;
}

.infowindow-link a {
	
	cursor: pointer;
}

.infowindow-text {
	font-size: 16px;
	margin-left: 23px;
	word-wrap: break-word;
}

.infowindow-hr {
	color: #e9e9e9;
	font-size: 1px;
}

.firstHeading {
	color: #333333;
	font-size: 20px;
	font-weight:bold;
}

.marker-callout {
	margin-bottom: 0px;
	border-bottom: #e9e9e9;
}

.scrollFix {
    line-height: 1.35;
}
.no-results {
	text-align: center;
}

.drop-down-scroll-fix {
	max-height: 300px;
	overflow-x: hidden;
}

.gallery .item {
    background-color: #fff;
    Border: 1px solid #e0e6ef;
    Border-Radius: 10px;
    Box-shadow: 2px 5px 5px 0px rgb(71 91 115 / 4%);
    -webkit-box-shadow: 2px 5px 5px 0px rgb(71 91 115 / 4%);
    padding: 0px;
}

.gallery .item-media:before { background-color: rgba(0, 121, 255, 0.68); }

.groupfinder .church-header .menu-open { border: 1px solid white; }


.group-profile-image { 
padding:0;
}

.gallery img {
    border-radius: 10px 10px 0 0;
}


.groupfinder .btn-group.open .dropdown-toggle {
    -webkit-box-shadow:none;
    box-shadow:none;
    
}

.groupfinder .btn-group .dropdown-toggle:hover {
    background: #f0f2f5;
}


.groupfinder ul.multiselect-container.dropdown-menu.drop-down-scroll-fix {
    padding: 10px 0;
}

.go-to-profile { color:#000000; }