/**************************************************************************
Name:			socialMedia.css
Description:	Styling for social media section on show pages.
Date Created: 	02.19.2020 Brynn Chivers
Modified:
**************************************************************************/

/*************************************************************************
General Styles
**************************************************************************/
	.socialMediaContainer
	{
		width: 100%;
		background: transparent -o-linear-gradient(146deg, #A2CCD2 30%, #FFFFFF 130%) 0% 0% no-repeat padding-box;
		background: transparent linear-gradient(304deg, #A2CCD2 30%, #FFFFFF 130%) 0% 0% no-repeat padding-box;
		margin-top:	0;

		-webkit-box-ordinal-group: 8;
		-ms-flex-order: 7;
		order: 7;

		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
	}

	.socialMediaWrapper
	{
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		max-width: 1400px;
	}

	.instagramContainer
	{
		-webkit-box-flex: 0;
		    -ms-flex: 0 1 50%;
		        flex: 0 1 50%;
	}

	.twitterFacebookWrapper
	{
		-webkit-box-flex: 1;
		    -ms-flex: 1 1 60%;
		        flex: 1 1 60%;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		-ms-flex-pack: distribute;
		    justify-content: space-around;
	}

	.instagramContainer,
	.twitterFacebookWrapper
	{
		padding: 60px 50px;
		-webkit-box-sizing: border-box;
		        box-sizing: border-box;
	}

	.quote,
	.quoteMarkOpen,
	.quoteMarkClose
	{
		display: inline-block;
	}

	.quote
	{
		position: relative;
	}

	.twitterFacebookWrapper .quoteMarkOpen
	{
		position: absolute;
		top: 0;
		left: 0;
	}

	.twitterFacebookWrapper .quote
	{
		padding-left: 24px;
	}

	.quote .u-hiddenVisually
	{
		display: none;
	}

	.post
	{
		width: 80%;
	}

	.instagramImage
	{
		display: block;
		width: 100%;
		border: #FFFFFF solid 4px;
		margin-bottom: 15px;
		-webkit-box-sizing: border-box;
		        box-sizing: border-box;

		-webkit-transition: all .35s;

		-o-transition: all .35s;

		transition: all .35s;
	}

	.postLink:hover .instagramImage
	{
		border: #2E5C8D solid 4px;
	}

/*************************************************************************
Font Styling
**************************************************************************/
	.twitterFacebookWrapper .quoteMarkOpen,
	.twitterFacebookWrapper .quoteMarkClose
	{
		color: #5F8090;
		font-size: 30px;
		line-height: 38px;
		letter-spacing: .9px;
		font-weight: initial;
	}

	.socialMediaWrapper h3
	{
		color: #3895C5;
		font-size: 50px;
		line-height: 60px;
		font-weight: initial;
		letter-spacing: -.25px;

		position: relative;
		margin: 10px 0;

		-webkit-transition: all .25s;

		-o-transition: all .25s;

		transition: all .25s;
	}
	.socialMediaWrapper a:hover
	{
		text-decoration: none;
	}

	.quote,
	.quote a.postLink
	{
		color: #1B2B33;
		font-size: 25px;
		line-height: 38px;
		font-family: aller;
		letter-spacing: .75px;
		font-weight: initial;

		word-break: break-word;
	}

	.quote:hover,
	.quote a.postLink:hover
	{
		text-decoration: none;
	}

	.twitterFacebookWrapper .quote:hover .quoteMarkOpen,
	.twitterFacebookWrapper .quote:hover .quoteMarkClose
	{
		color: #4E778C;
		font-weight: bold;
	}

	.quote a.link
	{
		display: inline;
		word-break: break-all;

		color: #1B2B33;
		text-decoration: underline;
	}

	.post .quote
	{
		text-align: center;
		color: #1B2B33;
		font-size: 19px;
		line-height: 23px;
		font-style: italic;
		letter-spacing: .19px;
	}

	.socialMediaWrapper h3:before
	{
		content: '';
		position: absolute;
		top: 0px;
		left: -70px;
		width: 54px;
		height: 54px;
		background-repeat: no-repeat;
		background-size: 100% auto;
		background-size: contain;
	}

	.socialMediaWrapper a:hover h3:before
	{
		-webkit-animation: spin 1.5s infinite;
		        animation: spin 1.5s infinite;
	}

	.instagramContainer h3:before
	{
		width: 45px;
		left: 0;
		top: unset;
		bottom: 0;
		background-image: url("/images/icons/social-instagram.svg");
	}

	.instagramContainer h3
	{
		padding-left: 54px;
	}

	.facebookContainer h3:before
	{
		top: 3px;
		background-image: url("/images/icons/social-facebook.svg");
	}

	.twitterContainer h3:before
	{
		top: 10px;
		background-image: url(/images/icons/social-twitter.svg);
	}

/*************************************************************************
Keyframe Animations
**************************************************************************/
	@-webkit-keyframes spin
	{
		0% {
			-webkit-transform: rotateY(0);
			-ms-transform: rotateY(0);
				 transform: rotateY(0);
		}

		50% {
			-webkit-transform: rotateY(180deg);
			-ms-transform: rotateY(180deg);
				transform: rotateY(180deg);
		}

		100% {
			-webkit-transform: rotateY(0);
			-ms-transform: rotateY(0);
				 transform: rotateY(0);
		}
	}

	@keyframes spin
	{
		0% {
			-webkit-transform: rotateY(0);
			-ms-transform: rotateY(0);
				 transform: rotateY(0);
		}

		50% {
			-webkit-transform: rotateY(180deg);
			-ms-transform: rotateY(180deg);
				transform: rotateY(180deg);
		}

		100% {
			-webkit-transform: rotateY(0);
			-ms-transform: rotateY(0);
				 transform: rotateY(0);
		}
	}

/*************************************************************************
Media Queries
**************************************************************************/

	@media only screen and (max-width: 1100px)
	{
		.post
		{
			width: 90%;
		}
	}

	@media only screen and (max-width: 1024px)
	{
		.quote,
		.quote a.postLink
		{
			font-size: 20px;
			line-height: 27px;
		}
		.twitterFacebookWrapper .quoteMarkOpen,
		.twitterFacebookWrapper .quoteMarkClose
		{
			font-size: 25px;
			line-height: 27px;
		}

		.post .quote
		{
			font-size: 16px;
			line-height: 20px;
		}
	}

	@media only screen and (max-width: 900px)
	{
		.socialMediaWrapper h3
		{
			font-size: 45px;
			line-height: 50px;
		}
		.socialMediaWrapper h3:before
		{
			height: 48px;
		}

		.twitterContainer h3:before
		{
			top: 0;
		}
	}

	@media only screen and (max-width: 768px)
	{

		.socialMediaWrapper
		{
			-webkit-box-orient: vertical;
			-webkit-box-direction: normal;
			    -ms-flex-direction: column;
			        flex-direction: column;
		}

		.instagramContainer,
		.twitterFacebookWrapper
		{
			padding: 30px 20px;
			-webkit-box-sizing: border-box;
			        box-sizing: border-box;
		}

		.instagramContainer
		{
			padding-bottom: 0;
		}

		.post
		{
			width: inherit;
			margin-left: 60px;
		}

		.facebookContainer,
		.twitterContainer
		{
			margin-left: 60px;
		}
	}

	@media only screen and (max-width: 568px)
	{
		.twitterFacebookWrapper .quote
		{
			padding-right: 15px;
		}
	}

	@media only screen and (max-width: 400px)
	{
		.twitterFacebookWrapper .quote
		{
			padding-left: 15px;
		}
		.socialMediaWrapper h3
		{
			font-size: 35px;
		}
		.quote,
		.quote a.postLink
		{
			font-size: 16px;
			line-height: 20px;
		}
		.twitterFacebookWrapper .quoteMarkOpen,
		.twitterFacebookWrapper .quoteMarkClose
		{
			font-size: 20px;
			line-height: 20px;
		}
	}