/*
	Theme Name:   GeneratePress Carbon Coop Child
	Description:  Carbon Coop child theme
	Author:       Anna Sidwell
	Template:     generatepress
	Version:      1
*/

/* UTILITY CLASSES */

.tag, .tags-children a {
	display: inline-block;
	color: black;
	padding: 0.1em 0.4em;
	text-transform: uppercase;
	margin-right: 10px;
}

a.tag:hover,  .tags-children a:hover, img.flickr:hover {
	filter: brightness(80%);
}

.bg-teal { background-color: #008578 !important; color: white; }
.bg-teal-20 { background-color: #00857833 !important; }

.bg-purple, .tags-children-bg-purple a { background-color: #693C5E !important; color: white !important; }
.bg-purple-40 { background-color: #dcadc5 !important; }

.bg-yellow { background-color: rgb(242, 169, 0); }
.bg-yellow { background-color: rgb(242, 169, 0); }
.bg-yellow-d30 { background-color: #a67400; }

.bg-black { background-color: #000; }
.bg-black-90 { background-color: #0009; }

.bg-lgray { background-color: #C1C6C8; }

.bg-red { background-color: #EE2737; }

.fg-teal { color: #008578 }
.fg-lteal { color: #2ad2c9; }
.fg-white { color: #fff; }
.fg-lgray { color: #C1C6C8; }
.fg-red { color: #EE2737; }
.fg-purple { color: #693C5E; }

/* Big padding */
.p-big { padding: 5px 10px; }

/* Higher contrast red for 'read more' links on grey */
a.read-more { color: #D61018; }

/* Header block */

/* Only padding on the left */
.page-header--nopad {
	padding: 0 0 0 20px !important;
}

.page-header h2 {
	font-size: 360%;
}

@media (max-width: 638px) {
	.page-header h2 {
		font-size: 240%;
	}
}

h2 {
	letter-spacing: -0.03em;
}


/* single pages */
.entry-content, .hero-content {
	max-width: 45em;
}


/* Flickr widget */

.flickr_images li {
	display: inline-block;
	margin-right: 10px;
}


/* Footer links */

.footer-widgets a {
    border-bottom: 1px dotted rgba(193, 198, 200, 0.85);
}

.footer-widgets .social-icons a {
    border-bottom: none;
}


/* Social icons in footer */

.social-icons {
	padding-top: 5px;
	list-style: none;
	display: flex;
	align-items: center;
}

.social-icons li {
	display: inline-block;
	padding-right: 10px;
}

.social-icons svg {
	width: 42px;
	fill: white;
}

.social-icons a[href*=twitter] svg {
	fill: #1da1f2;
}

.social-icons a[href*=facebook] svg {
	fill: #3b5998;
}

.social-icons a[href*=vimeo] svg {
	fill: #1ab7ea;
}

.social-icons a[href*=flickr] svg {
	fill: #ff0084;
}

.social-icons svg:hover {
	filter: brightness(80%);
}


/* Team grids */

.person {
	padding: 20px 20px;
    display: inline-block;
    margin: 0 0 1em;
    width: 100%;
}

.person:nth-child(even) {
}

.person img {
	width: 100%;
}

.person-text {
	margin-top: 10px;
}

.person-name {
	font-weight: 700;
}


/* Portfolio grids */

.mediagrid {
	display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
/*    margin-left: -10px;
    margin-right: -10px; */
}

.mediaitem {
	margin-bottom: 20px;
	width: 320px;
	flex-grow: 1;
	border: 10px solid transparent;
}

@media (max-width: 638px) {
	.mediaitem {
		border-left: none;
		border-right: none;
		border-top: none;
	}
}

/* Only Firefox currently supports column-gap on flexbox. */
/* @supports (column-gap: 20px) {
	.mediagrid {
		column-gap: 20px;
		margin-left: 0;
		margin-right: 0;
	}

	.mediaitem {
		border: none;
	}
} */

.mediaitem-pre {
}

.mediaitem-head.bg-yellow {
	color: black;
}

.mediaitem-head {
	display: block;
	position: relative;
}

.mediaitem-head img {
	display: block;
	width: 100%;
	height: auto;
	animation: ease-in-out 0.3s;
}

.mediaitem-head:hover {
	filter: brightness(80%);
}

.mediaitem-name {
	display: block;
	position: absolute;
	background-color: #000000b3;
	color: #fff;
	left: 0;
	bottom: 0;
	padding: 10px 20px;
	margin-bottom: 0;
	z-index: 2;
	font-weight: 600;
}

.mediaitem-name--noimg {
	font-weight: 600;
	display: block;
	padding: 10px 20px;
	margin-bottom: 0;
}

.mediaitem-name-sub {
	padding: 0 20px 10px;
	font-size: 90%;
}

.mediaitem-text {
	background-color: #eee;
	padding: 20px;
}


.mediagrid-names-teal .mediaitem-name--noimg {
	background-color: #008578;
	color: white;
}

.mediagrid-names-purple .mediaitem-name--noimg {
	background-color: #693C5E;
	color: white;
}

/* Login form */

form.login input, form.login button {
	padding: 2px 8px;
}
