/*
Theme Name: CCAKids
Author: Socius Marketing
*/

/* =Images
-------------------------------------------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}

/* Theme
-------------------------------------------------------------- */

body { font-family:"Open Sans"; color:#363636; }
#content h1 { font-family:"Open Sans Condensed"; font-weight:300; font-size:36px; }
#content h2, #content h3, #content h4 { font-size:18px; font-weight:700; }

/* Header */
header { /*padding-top:15px;*/ z-index:21; position:relative; }
#header-top { padding-bottom:10px; }
/*#header-logo img { width:100%; max-width:431px;  }*/
#header-social-container { float:right; }
#header-social ul { text-align:right; }
#header-social li { display:inline; padding:0 3px; }
/*
#header-social #header-social-facebook a { background-position:0 0; }
#header-social #header-social-twitter a { background-position:0 -25px; }
#header-social #header-social-instagram a { background-position:0 -50px; }
#header-social li a { display:inline-block; width:25px; height:25px; background:url(images/sprite-social-header.png) no-repeat; }
*/
#header-social li a { 
/*	display: inline-block;*/
	display: inline;
	font-size: 18px;
/*	border: 2px solid #1a76bc;*/
	border: 2px solid #8071b4;
	border-radius: 100%;
}

/*#header-social ul + a { font-size:26px; font-weight:600; color:#1a76bc; border:3px solid #1a76bc; padding:2px 60px; text-decoration:none; transition:all .33s ease-in-out; }*/
#header-social ul + a { font-size:26px; font-weight:600; color:#8071b4; border:3px solid #8071b4; padding:2px 60px; text-decoration:none; transition:all .33s ease-in-out; }
/*#header-social ul + a:hover { color:#fff; background:#1a76bc; }*/
#header-social ul + a:hover { color:#fff; background:#8071b4; }

/*#nav-shell { background:#1a76bc; box-shadow: 0 4px 4px -2px #222; font-size:0; border-top:1px solid #1a76bc; }*/
#nav-shell { background:#8071b4; box-shadow: 0 4px 4px -2px #222; font-size:0; border-top:1px solid #8071b4; }
#header-bottom { text-align:center; }
#header-bottom ul { list-style:none; padding:0; margin:0; display:inline-block; }
/*#header-bottom ul li { display:block; position:relative; float:left; text-align:left; border-left:1px solid #5398cd; border-right:1px solid #5398cd; }*/
#header-bottom ul li { display:block; position:relative; float:left; text-align:left; border-left:1px solid #8f85b3; border-right:1px solid #8f85b3; }
#header-bottom ul li + li { border-left:none; }
#header-bottom li ul { display:none; }
/*#header-bottom ul li a { display:block; background:#1a76bc; padding:9px 24px 10px 24px; text-decoration:none; white-space:nowrap; color:#fff; font-size:22px; }*/
#header-bottom ul li a { display:block; background:#8071b4; padding:9px 24px 10px 24px; text-decoration:none; white-space:nowrap; color:#fff; font-size:22px; }
#header-bottom ul li a:hover,
#header-bottom ul li.current_page_item { background:#fff; color:#8071b4; }
#header-bottom li:hover ul { display:block; position:absolute; }
#header-bottom li:hover li { float:none; border:none; border-top:1px solid #8071b4; }
#header-bottom li:hover a { background:#fff; color:#8071b4; }
/*#header-bottom li:hover li a:hover { background:#1a76bc; color:#fff; }*/
#header-bottom li:hover li a:hover { background:#8071b4; color:#fff; }

#mobile-menu { display:block; text-decoration:none; background:url(images/navicon-wht.png) no-repeat left; font-size:23px; padding:13px 0 13px 43px; color:#fff; float:left; cursor:pointer; }
#mobile-donate { display:block; float:right; font-size:23px; background:#fff; padding:4px 40px; margin-top:9px; text-decoration:none; }

/*#mm-menu-main { background:#1a76bc; border:1px solid #2794b9; z-index:22;  overflow-x:hidden; overflow-y:auto; }*/
#mm-menu-main { background:#8071b4; border:1px solid #2794b9; z-index:22;  overflow-x:hidden; overflow-y:auto; }
#mm-menu-main ul { margin:0; padding:0; }
#mm-menu-main li { list-style:none; }
#mm-menu-main a { font-family:"Open Sans Condensed"; color:#fff; font-size:18px; font-weight:300; padding:15px; display:block; border-bottom:1px solid #2794b9; text-decoration:none; }
/*#mm-menu-main li.menu-item-has-children > a { background:url(images/mobile-nav-arrow.png) no-repeat right; }*/
#mm-menu-main .mm-title{
	border: 0;
}

#mm-header-bottom{
	z-index: 23;
}
.mm-panel.mm-highest{
	z-index: 23;
}
#mobile-banner { display:none; width:100%; max-width:461px; }

.hero-banner img{
	max-width: 100%;
	width: 100%;
}

@media screen and (min-width:1920px) {
	.hero-banner img{
		object-fit: cover;
	}
}

@media screen and (max-width:1200px) {
	#nav-shell #header-bottom ul li a { padding:9px 17px 10px 17px; font-size:19px; }
}
/*
@media screen and (max-width:461px) {
	#mobile-banner { display:block; }
	#rev_slider_1_1_wrapper { display:none !important; }
}
*/

/* Homepage */
.embed-container { position:relative; padding-bottom:56.25%; height:0; overflow:hidden; max-width:100%; } 
.embed-container iframe, .embed-container object, .embed-container embed { position:absolute; top:0; left:0; width:100%; height:100%; }
#homepage-video { margin:25px 0; }
#homepage-video .embed-container { /*border:20px solid #1a76bc;*/ margin:0 5%; }

@media screen and (max-width:991px) {
	#homepage-video .embed-container { border-width:15px; }
}
@media screen and (max-width:767px) {
	#homepage-video .embed-container { border-width:10px; margin:0; }
}

/*#mission-1 { background:#1a76bc; color:#fff; text-align:center; font-weight:300; margin-top:25px; padding-bottom:10px; }*/
#mission-1 { background:#8071b4; color:#fff; text-align:center; font-weight:300; /*margin-top:25px;*/ padding-bottom:10px; }
#mission-1 h1 { font-weight:300; border-bottom:1px solid rgba(255, 255, 255, 0.6); padding-bottom:5px; font-size:48px; }
#mission-1 p { font-size:30px; }
#mission-2 { margin-bottom:20px; }
#mission-2 p { text-align:center; font-size:30px; line-height:44px; }

@media screen and (max-width:991px) {
	#mission-1 h1 { font-size:36px; }
	#mission-1 p { font-size:18px; }
	#mission-2 p { text-align:center; font-size:18px; line-height:30px; }
}

.cta-cell { overflow:hidden; padding:0; position:relative; height:335px; }
.cta-cell img { display:block; z-index:-1; position:absolute; top:0; left:50%; transform:translateX(-50%); -ms-transform:translateX(-50%); }
/* .cta-cell a, #newsletter-form-container { display:block; width:100%; font-size:28px; line-height:60px; height:60px; background:url(images/purp-overlay-pattern.jpg); color:#fff; text-align:center; position:absolute; bottom:30px; }
.cta-cell span { font-weight:600; display:inline-block; position:relative; top:50%; transform:translateY(-50%); -ms-transform:translateY(-50%); } */

.cta-cell a, #newsletter-form-container { display:block; width:100%; font-size:28px; line-height:60px; height:60px; background:url(images/purp-overlay-pattern.jpg); color:#fff; text-align:center; position:absolute; bottom:30px; 
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.cta-cell span { font-weight:600; display:inline-block; position:relative; }

.cta-cell p, .cta-cell form { display:none; }
.cta-cell p em { display:inline-block; font-size:19px; font-style:normal; line-height:26px; background:url(images/arrow-link.png) no-repeat right; padding-right:30px; }

#form1254 { margin-top:10px; }
#Field1, #Field2 { font-weight:400; display:block; color:#363636; font-size:19px; width:100%; line-height:34px; padding:5px; border:1px solid #6f6f6f; }
#Field2, #saveForm { margin-top:20px;  }
#saveForm { background:none; border:none; font-size:19px; background:url(images/arrow-link.png) no-repeat right; padding-right:30px; }
.bvalidator_red_invalid { background-color:#fff; }
.bvalidator_red_errmsg { background:#f78f1e; color:#fff; border:0; line-height:30px; }
.bvalidator_red_errmsg .bvalidator_red_close_icon { color:#fff; }
.bvalidator_red_errmsg em { border-color:#f78f1e transparent transparent; }

@media screen and (max-width:1200px) {
	.cta-cell a, #newsletter-form-container  { font-size:22px; }
}
@media screen and (max-width:991px) {
	.cta-cell a, #newsletter-form-container  { font-size:18px; }
	.cta-cell em, #Field1, #Field2, #saveForm { font-size:16px; }
}
@media screen and (max-width:767px) {
	.cta-cell a, #newsletter-form-container  { font-size:28px; }
	.cta-cell em, #Field1, #Field2, #saveForm { font-size:19px; }
}
@media screen and (max-width:420px) {
	.cta-cell a, #newsletter-form-container { font-size:22px; }
}

/* Footer */
/*#footer-top { background:#1a76bc; padding:20px 0 40px; }*/
#footer-top { background:#8071b4; padding:20px 0 40px; }
#footer-links a { font-family:"Open Sans Condensed"; color:#fff; font-weight:300; font-size:24px; }
#footer-social img { width:100%; max-width:365px; }
#footer-social ul { margin-top:10px; text-align:center; }
#footer-social li { display:inline; padding:0 5px; }
/*
#footer-social #footer-social-facebook a { background-position:0 0; }
#footer-social #footer-social-twitter a { background-position:0 -40px; }
#footer-social #footer-social-instagram a { background-position:0 -80px; }
#footer-social li a { display:inline-block; width:41px; height:40px; background:url(images/sprite-social-footer.png) no-repeat; }*/
#footer-social li a { display:inline-block; width:41px; height: 40px; line-height:40px; }
#footer-social li a { color: #fff; border-radius: 100%; border: 2px solid #fff; }
#footer-social li a i{ font-size: 22px; }

#footer-contact { color:#fff; }
#footer-contact-container { float:right; }
#footer-contact h4 { font-family:"Open Sans Condensed"; font-weight:300; font-size:24px; }
#footer-contact p { margin:5px 0; }
#footer-bottom { margin-top:10px; padding-bottom:10px; }
#footer-bottom small { display:block; text-align:center; }
#footer-bottom small + small { margin-top:5px; }
#footer-contact-container address a { color:#fff; }

@media screen and (max-width:1200px) {
	#footer-links a { font-size:22px; }
}
@media screen and (max-width:991px) {
	#footer-social { text-align:center; }
	#footer-contact-container { float:none; text-align:center; }
	#footer-contact h4 { display:none; }
}

/* Secondary pages */
#secondary-banner { overflow:hidden; padding:0; position:relative; height:295px; }
#secondary-banner img { display:block; position:absolute; top:0; left:50%; transform:translateX(-50%); -ms-transform:translateX(-50%); }

@media screen and (max-width:461px) {
	#secondary-banner { display:none; }
}

.tp-bannertimer { display:none; }

/* Misc secondary pages */
.container + .container-fluid { margin-top:30px; }
.entry-content h3, .entry-content h4 { margin-top:30px; clear:both; }
.entry-content img { /*width:100%;*/ max-width:650px !important; /*margin:0 30px 30px 0;*/ }
.entry-content p { line-height:25px; } 

.entry-content .col-sm-3 img, .entry-content .col-sm-4 img { max-width:none !important; margin:30px auto 0 auto !important; width:auto; display:block; }
.col-sm-9 a img { width:100% !important; max-width:640px !important; }

.entry-content .bx-wrapper { margin-top:30px; }
.entry-content .bx-wrapper img { max-width:none !important; margin:0; width:auto; }

.golf-links { margin:30px 0 30px; }
/*.golf-links a { font-size:17px; color:#1a76bc; border:1px solid #1a76bc; padding:5px 20px; text-decoration:none; transition:all .33s ease-in-out; }*/
.golf-links a { font-size:17px; color:#8071b4; border:1px solid #8071b4; padding:5px 20px; text-decoration:none; transition:all .33s ease-in-out; }
/*.golf-links a:hover { color:#fff; background:#1a76bc; }*/
.golf-links a:hover { color:#fff; background:#8071b4; }


@media screen and (max-width:991px) {
	.golf-links a { font-size:14px; border:none; padding:5px 0; }
}
@media screen and (max-width:767px) {
	.golf-links a { display:inline-block; font-size:14px; border:none; padding:5px 0; }
	.bottom-list-on-mobile { margin-top:-10px; }
	.entry-content img { display:block; float:none; }
	.col-sm-3 img { float:left; padding-bottom:10px; }
}

.entry-content{
	padding: 30px 0;
}

@media screen and (min-width:1200px) {
	.entry-content{
		padding: 30px 110px;
	}
}

/* WordPress Gallery 
------------------------------------------ */

.gallery {
	margin-left: -0.5em;
	margin-right: -0.5em;
}

.gallery:after {
	display: table;
	content: "";
	clear: both;
}

.gallery-item {
	margin: 0;
	float: left;
	padding: 0.5em;
}

.gallery-item img {
	width: 100%;
}

.gallery-columns-1 .gallery-item {
	width: 100%;
	float: none;
}
.gallery-columns-2 .gallery-item {
	width: 50%
}
.gallery-columns-3 .gallery-item {
	width: 33.3333%
}
.gallery-columns-4 .gallery-item {
	width: 25%
}
.gallery-columns-5 .gallery-item {
	width: 20%
}
.gallery-columns-6 .gallery-item {
	width: 16.6667%
}
.gallery-columns-7 .gallery-item {
	width: 14.2857%
}
.gallery-columns-8 .gallery-item {
	width: 12.5%
}
.gallery-columns-9 .gallery-item {
	width: 11.1111%
}

.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1),
.gallery-columns-6 .gallery-item:nth-child(6n+1),
.gallery-columns-7 .gallery-item:nth-child(7n+1),
.gallery-columns-8 .gallery-item:nth-child(8n+1),
.gallery-columns-9 .gallery-item:nth-child(9n+1) {
/*	clear: left;*/
}

h3.ui-accordion-header{
	background: #ddd;
	margin: 0;
	padding: 5px;
	border-top: 1px solid #fff;
}

.ui-accordion-content{
	background: #f7f7f7;
	padding: 5px;
}

a {
	color: #8071b4;
	text-decoration: none;
}

div.bar{
	line-height: 50px;
	text-align: center;
	background: #8071b4;
	margin-bottom: 15px;
}

span.phone{
	font-size: 22px;
	color: #fff;
}

@media screen and (min-width:1200px) {
	span.phone{
		display: block;
		text-align: right;
	}
}

.entry-content hr{
	clear:both;
}