footer {
	 text-align: right;
}
footer .black {
	background: #000;
}

 footer #Credit {
	 position: relative;
	 margin-top: 50px;
	 overflow: hidden;
	 float: right;
	 padding: 25px;
}
 footer #Credit a {
	 display: inline-block;
	 padding-left: 10px;
	 padding-right: 10px;
	 text-decoration: none;
	 border: 0px;
	 opacity: 0.6;
	 vertical-align: bottom;
}
 footer #Credit a:hover {
	 text-decoration: none;
	 border: 0px;
	 opacity: 0.8;
}
 footer #Credit a img {
	 display: block;
	 filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.75));
	 height: 30px !important;
	 padding: 0px;
}
 footer #Credit #Admin {
}
footer #Credit #Admin img {
	position:relative;
	height: 60px !important;
	top:30px;
	clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}
footer #Credit #Admin img:hover {
	top:0px;
	clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
}

.mb-3:has(:nth-child(3).form-check) {
	column-count: 3;
}

.form-check label {
	font-weight:normal;
}

div.ccm-page .ccm-block-social-links ul li a {
	font-size: 30px;
	color: #15375b;
}

div.ccm-page img {
    max-width: 100%;
    width: auto;
    height: auto;
}

div.ccm-page .ccm-block-page-attribute-display-wrapper img.img-fluid {
	border: 1px solid rgba(0,0,0,0.33);
	box-shadow: 2px 2px 4px rgba(0,0,0,0.33);
}

div.ccm-page .ccm-block-page-attribute-display-wrapper {
    border-top: 0px;
	padding: 0px;
}
div.ccm-page .ccm-block-page-attribute-display-wrapper:last-child {
    border-bottom: 0px;
}
div.ccm-page .grid-card .card-item {
	margin-top: 10px;
}

div.ccm-page .grid-card a .card-content .card-title {
    font-size: 1.0rem;
	min-height:2.4em;
}

@media (min-width: 1200px) {
    div.ccm-page .grid-card .card-item {
        width: 212px;
    }
}

    #group-filter {
        margin-bottom: 20px;
        padding: 10px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #fff;
        cursor: pointer;
    }

    #church-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    #church-list .church {
        background-color: #fff;
        border: 1px solid #444;
		border-radius: 3px;
        text-align: center;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        
    }
	
	#church-list .church a div {
		overflow:hidden;
	}
	
    #church-list .church img {
        transform: scale(1);
		transition: transform 0.5s;
    }

    #church-list .church img:hover {
        transform: scale(1.2);
		transition: transform 0.5s;
    }

    #church-list .church h3 {
        margin: 0px !important;
		padding: 3px 9px !important;
        font-size: 12px !important;
        color: #fff !important;
		background: #444;
		text-align:center;
    }

    #church-list .church img {
        width: 100%;
        height: auto;
    }
	
	

    .church-detail {
		margin-top: 75px;
    }

    .church-detail .name {
    }

    .church-detail img {
    }

    .church-detail dl {
        margin: 0;
    }

    .church-detail dt {
        font-weight: bold;
        margin-top: 10px;
    }

    .church-detail dd {
        margin: 0 0 10px 0;
    }

    .church-detail a {
        color: #007bff;
        text-decoration: none;
    }

    .church-detail a:hover {
        text-decoration: underline;
    }

    .error {
        color: red;
        text-align: center;
    }
	
	#map {
		width: 100%;
		height: 500px;
		margin-bottom: 20px;
		margin-top: 50px;
	}
	
@media (min-width: 768px) and  (max-width: 992px) {
    .global-nav .nav-container ul li, .global-nav .ccm-responsive-navigation ul li {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
	.ccm-block-hero-image-text, .ccm-block-hero-image, .ccm-block-hero-image-image, .ccm-block-hero-image-cover {
		min-height:auto !important;
		height: 480px !important;
	}
	.ccm-block-hero-image-text {
		display:none !important;
	}
}

/* Stylesheet for formatting forms in Concrete CMS (Version 9.4.8 and later) */
/* This targets the default classes used in the core Form block, which leverages Bootstrap 3 conventions. */
/* Apply this CSS to your theme or via a custom stylesheet block. */

/* General form container */
.ccm-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Form groups (wrappers for labels and inputs) */
.ccm-form .mb-3 {
    margin-bottom: 20px;
}

/* Labels */
.ccm-form .control-label {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

/* Text, Email, and Phone inputs */
.ccm-form input[type="text"].form-control,
.ccm-form input[type="email"].form-control,
.ccm-form input[type="tel"].form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.ccm-form input[type="text"].form-control:focus,
.ccm-form input[type="email"].form-control:focus,
.ccm-form input[type="tel"].form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

/* Select dropdowns */
.ccm-form select.form-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    appearance: none; /* Remove default arrow in some browsers */
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0IDUiPjxwYXRoIGZpbGw9IiM0NDQiIGQ9Ik0yIDBMMCAyIDQgMnoiLz48L3N2Zz4='); /* Custom arrow */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    transition: border-color 0.3s ease;
}

.ccm-form select.form-select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

/* Checkboxes */
.ccm-form .checkbox {
    display: flex;
    align-items: center;
}

.ccm-form .checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #007bff; /* Modern browsers */
}

.ccm-form .checkbox label {
    font-size: 16px;
    color: #333;
}

/* Submit button (assuming default Bootstrap classes) */
.ccm-form .btn-submit,
.ccm-form input[type="submit"] {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ccm-form .btn-submit:hover,
.ccm-form input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Error messages (if validation errors occur) */
.ccm-form .help-block.error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ccm-form {
        padding: 15px;
    }
}

.form-check-label {
	display:none;
}