/************************ FOOTER **********************/ 

.footer-cols {
	box-sizing: border-box;
}

.footer-cols a {
	color: #e6eaed;
	font-size: .9375rem;
	font-weight: 400;
	transition: color .7s ease;
}

.footer-cols p a:hover {
	color: #9e9e9c;
	transition: color .7s ease;
}



.social-media-container {
	margin-top: 1.5rem;
    /* text-align: center; */
}

.social-media-container p {
	color: var(--brand-a);
    font-weight: 500;
    margin-bottom: .75rem;
    font-size: 1rem;
}



/* .fab is the social media icons in footer */
.fab {
    font-family: "Font Awesome 5 Brands";
	font-size: 1.4em;
	color: white;
	margin-right: 0.5em;
	transition: color .7s ease;
}

.fab:hover{
	color: #9e9e9c;
	transition: color .7s ease;
}


/*********************** Overwritten styles for footer ****************************/

#footer {
	/* background: url("images/bg_bottom.jpg") center no-repeat;
	background-size: cover; */
	padding: 2rem 0;
}

/*
.cmsDebug #footer {
	background-image: url(../../images/bg_bottom.jpg);
}
*/

#footer .standard-width {
	display: grid;
	grid-gap: .5rem;
	/* grid-template-columns: repeat(auto-fit, minmax(calc(25% - 2rem),1fr)); */
	grid-template-areas: ". . sg-footer-menu sg-footer-menu";
}

.footer-cols {
    max-width: unset;
}

.footer-cols p.footer-title {
	color: white;
    text-transform: uppercase;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}



.footer-logo {
	/* margin-bottom: 2rem; */
	max-width: 200px;
}

.footer-logo a {
	display: inline-block;
	width: 100%;
	height: 100%;
	transition: opacity 1s ease;
}

.footer-logo a:hover {
	opacity: .75;
	transition: opacity 1s ease;
}



.footer-cols p {
	margin-bottom: .5rem;
	font-size: .9375rem;
	color: #e6eaed;
	font-weight: 400;
}


  
  .copyrightContainer {
	border-top: 1px solid #e6eaed;
  }
  
  .copyrightContainer .standard-width {
	display: flex;
  }
  
  .copyrightContainer .standard-width p {
	flex: 1;
  }
  
  .copyrightContainer .copyright-p.copyright-p-right {
	text-align: right;
  }
  
  .copyrightContainer .copyright-p {
	font-size: .9375rem;
	color: #f4f4f4;
	font-weight: 400;
	margin: 0;
	padding: 1rem 0;
  }
  
  .copyrightContainer .copyright-p a {
	color: #f4f4f4;
	font-weight: 400;
  }
  
  .copyrightContainer .copyright-p a:hover {
	color: #9e9e9c;
  }


/************************* Wrapping 2nd and 3rd column content in a <DIV> *************************/
.footer-cols.footer-col2 {
	display: flex;
    justify-content: flex-start;
}

.footer-cols.footer-col2 > div {
	display: flex;
    justify-content: center;
    flex-direction: column;
}

.footer-cols.footer-col3 {
	display: flex;
    grid-area: sg-footer-menu;
    align-items: center;
	justify-content: center;
}


/************************* Wrapping 4th column content in a <DIV> *************************/

.footer-cols.footer-col4 {
	display: flex;
    justify-content: flex-end;
}


.footer-cols h3 {
	color: white;
	/* text-transform: uppercase; */
	font-size: 1.1rem;
    font-weight: 700;
}

.footer-cols h3::after {
	display: none;
}



@media only screen and (max-width: 899px) {
	#footer .standard-width {
		grid-template-columns: repeat(auto-fit, minmax(calc(50% - 2rem),1fr));
	}

	.footer-cols.footer-col2,
	.footer-cols.footer-col3,
	.footer-cols.footer-col4 {
		justify-content: start;
	}

	.footer-col1 p {
		margin-left: 0;
	}


	.footer-cols.footer-col3 {
		display: none;
	}
}

@media only screen and (max-width: 767px) {
	/* .footer-logo {
		width: 250px;
	} */

}

@media only screen and (max-width: 679px) {

	.copyrightContainer .standard-width {
		display: block;
	}

	.copyrightContainer .copyright-p.copyright-p-right {
		text-align: left;
	}

	.copyrightContainer .copyright-p {
		padding: 0.25rem 0;
	}

}

@media only screen and (max-width: 499px) {

	#footer .standard-width {
		display: block;
	}

	.footer-cols {
		padding: 0;
	}

	#footer {
		display: block;
		padding-top: 2rem;
	}

	.footer-cols.footer-col2,
	.footer-cols.footer-col3,
	.footer-cols.footer-col4 {
		margin-top: 2rem;
	}

	/* .footer-logo {
		margin: 0 auto 2rem;
	} */

	.footer-cols.footer-col1 {
		padding-top: 0;
	}

	.footer-cols.footer-col1,
	.footer-cols.footer-col2 {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.footer-cols p {
		text-align: center;
	}

	.social-media-container {
		margin-top: 0;
		/* align-items: center; */
		text-align: center;
	}

	.social-media-container a:last-child .fab {
		margin-right: 0;
	}

	.copyrightContainer .copyright-p,
	.copyrightContainer .copyright-p.copyright-p-right {
		text-align: center;
	}
}


@media only screen and (max-width: 484px) {

	/* .footer-cols.footer-col1,
	.footer-cols.footer-col2,
	.footer-cols.footer-col3,
	.footer-cols.footer-col4 {
		display: block;
	} */

	.copyrightContainer .copyright-p,
	.copyrightContainer .copyright-p.copyright-p-right {
		text-align: center;
	}
}