﻿/*GLOBAL*/
h2, .h2 {
	text-transform: uppercase;
}

.link:hover {
	text-decoration: underline;
}

@media (max-width: 992px) {
	a:focus,
	a:active,
	a:hover {
		text-decoration: none;
	}
}

/*end Global*/

/*#region Generic */

#learning-center h2 {
	margin-top: 0;
}

#learning-center section {
	margin-top: 40px;
}

#learning-center li {
	margin-bottom: .5em;
}

@media (min-width: 992px) {

	section {
		margin-bottom: 50px;
	}
}

#learning-center .fa-facebook {
	color: #3B5998;
}

#learning-center .fa-twitter {
	color: #4099FF;
}

#learning-center .fa-pinterest {
	color: #cb2027;
}

.vid-link {
	display: block;
}


section h2 i {
	font-size: 1.8em;
	margin-right: 5px;
	vertical-align: middle;
}
/*#endregion */

/*#region ICONS */
#learning-center .client-stories li::before,
.bulletin-boards li::before,
#learning-center .family-stories li::before,
.vid-link::before,
#learning-center .events li .date::before {
	font-family: FontAwesome;
	color: #a72f88;
	margin-right: .5em;
}
#learning-center .link:before {
	display:inline-block;
	text-decoration: none;
}

.vid-link:before,
#learning-center .family-stories li::before {
	content: '\f03d';
}

#learning-center .client-stories li::before {
	content: '\f02d';
}

.bulletin-boards li::before {
	content: '\f086';
}
/*#endregion */

/*#region EVENTS*/

#learning-center .events ul {
	margin-bottom: 5px;
}

#learning-center .events li.header > * {
	font-weight: bold;
	text-transform: uppercase;
}

#learning-center .events li {
	margin-bottom: 1em;
}

#learning-center .events li .date-val {
    font-weight: 600;
}

#learning-center .events li > span:first-child {
	left: 20px;
}

	#learning-center .events li .date::before {
		content: '\f073';
	}


@media (min-width: 992px) {
	#learning-center .events li {
		margin-bottom: .5em;
	}
	#learning-center .events li.row .name {
		padding-left: 0;
	}

}
/*#endregion*/


/* STEPS */
/*#region SLIDER */
#glide {
	overflow: hidden;
}

#glide .glide__arrow--right {
	right: -30px;
}

#glide .glide__arrow--left {
	left: -30px;
}

#glide .glide__arrow i {
	font-size: 80px;
}

#glide .glide__arrow {
	line-height: 1px;
	top: 20%;
	height: 80px;
	position: absolute;
	z-index: 1;
}
#glide .glide__arrow:focus {
	box-shadow: none;
}

@media (min-width: 576px) {
	#glide .glide__arrow {
		top: 25%;
	}
}

@media (min-width: 768px) {
	#glide .glide__arrow {
		top: 30%;
	}
}
/*#endregion */

.pop-links h5 {
	margin-top: 20px;
	margin-bottom: 2px;
}

.steps .vid-link,
.in-your-words ul {
	margin-top: .5em;
}



/* IN YOUR WORDS */
.in-your-words .img {
	width: 100%;
	height: 200px;
	background-size: cover;
	max-width: 300px;
}


 .bulletin-boards .img {
	background-image: url("../jpg/les-couple-laptop.jpg");
}

#learning-center .client-stories .img {
	background-image: url("../jpg/stacy-fam.jpg");
}

@media (min-width: 992px) {

    section .title i[class^=pe] {
		font-size: 80px;
		color: #85bebb;
		vertical-align: middle;
	}

    i[class^=pe] ~ span {
		vertical-align: middle;
	}
}


@media (min-width: 992px) {
	.events {
		padding: 30px 20px;
	}

	.events {
		background-color: #F3F9F9;
	}
}


/*#region SOCIAL*/
 .social.row {
	height: 320px;
}

 .social .title {
	text-align: center;
	border: 10px solid #F3F9F9;
	height: 100%;
	padding: 40px 0;
}

 .social p {
	margin: 20px;
}

 .social .icons {
	font-size: 2.5em;
}

	.social .icons i {
		margin: 0 10px;
	}

/*#endregion*/


/*NEWS*/
@media (max-width: 767px) {
	.news .img {
		background-image: url('../jpg/ccb_learning-center_news-logos-mobile.jpg');
		background-size: contain;
		background-repeat: no-repeat;
		height: 130px;
	}
}

@media (min-width: 768px) {
	.news .img {
		background-image: url('../jpg/ccb_learning-center_news-logos-desktop.jpg');
		background-repeat: no-repeat;
		background-size: contain;
		height: 165px;
		margin-top: 40px;
	}
}

/*BOOKS*/
#learning-center .books img {
	width: 100%;
}

/* Love Campaign Book */
#ccb-love-campaign img {
	margin: 0 20px 20px 0;
}

#ccb-love-campaign p {
	margin-bottom: 50px;
}

/*#region LINKS */
.links a[role=button] {
	display: block;
	font-weight: 600;
	border-bottom: 1px solid;
	padding-bottom: .5em;
	margin-bottom: .5em;
}

	.links a[role=button]::after {
		content: '\f106';
		right: 20px;
		position: absolute;
		font-family: FontAwesome;
	}

	.links a[role=button].collapsed::after {
		content: '\f107';
	}
/*#endregion */

/*use if using image instead of embedding youtube directly on page */
.vid {
	margin-top: 4em;
}

	.vid .vid-thumb {
		background-image: url('../jpg/family-stories.jpg');
		background-size: contain;
		cursor: pointer;
		display: inline-block;
		width: 20em;
		height: 12em;
		position: relative;
	}

		.vid .vid-thumb .icon-wrapper {
			display: inline-block;
			position: absolute;
			top: 50%;
			left: 50%;
			margin-left: -1.8em;
			margin-top: -1.8em;
			text-align: right;
			width: 3.6em;
		}

			.vid .vid-thumb .icon-wrapper .fa {
				color: white;
				font-size: 3.6em;
				font-weight: 100;
			}

	.vid .copy {
		display: inline-block;
		margin-left: 1em;
		margin-top: 1em;
		vertical-align: top;
		width: 50%;
	}

		.vid .copy h5 {
			color: #a72f88;
			display: block;
			margin: 0;
			font-size: 1.8em;
		}

		.vid .copy p {
			font-size: 1.4em;
			font-weight: 600;
			margin-top: .5em;
			width: 80%;
		}

.override-snapwidget-css {
	width: 100%;
	border: none;
	overflow: hidden;
	border-radius: 5px;
	height: 100%;
	max-height: 500px;
}

.instagram-overlay {
	position: absolute;
	height: 10%;
	width: 100%;
	bottom: 0px;
	opacity: .8;
	transition: .15s ease-out;
	background-color: #efefef;
}

.instagram-container:hover .instagram-overlay {
	opacity: .8;
	height: 100%;
}

.instagram-container {
	position: relative;
	width: 100%;
	height: 100%;
}

.instagram-text {
	color: black;
	font-size: 20px;
	position: absolute;
	font-family: 'Open Sans', sans-serif;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -100%);
	width: max-content;
}

.aspect-ration-1-1-container {
	position: relative;
	padding-top: 100%; /* 1:1 Aspect Ratio */
	max-height: 400px;
}

.aspect-ration-1-1-text {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

.tooltip-inner {
	margin-left: 1em;
}