/*
 Theme Name:   Twenty Twenty Newsletter
 Description:  Twenty Twenty-based Newsletter Theme
 Author:       United Obstetrics and Gynecology
 Author URI:   http://howardcenter.com
 Template:     twentytwenty
 Version:      1.0.0
 Tags:         light, responsive-layout
 Text Domain:  twentytwentynl
*/

/*.entry-content > .nl-people-box {
	max-width: 900px;
}*/

.nl-article {
	position: relative;
}

.nl-article h1,
.nl-article h2.entry-title {
	font-weight: 600;
}

.nl-article h2,
.nl-article h3,
.nl-article h4 {
	font-weight: 300;
}

.nl-people-box {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	/*justify-content: space-between;*/
	width: 100%;
	width: calc(100% + 64px);
    max-width: calc(120rem + 64px);
    margin-left: -32px;
    margin-right: -32px;
}

.nl-person {
	box-sizing: border-box;
	flex-basis: 25%;
	background: transparent;
	transition: background 0.1s ease-in-out;
	padding: 32px;
	font-family: sans-serif;
}

.nl-person:hover {
	background: rgba(255,255,255,0.5);
}

.nl-person img {
	display: block;
	margin: 0 auto;
	margin-top: auto;
	max-width: 100%;
	max-height: 250px;
	object-fit: contain;
}

.nl-person-inner {
	margin: 0 auto;
	display: flex;
    flex-direction: column;
    height: 100%;
}

.nl-person-name,
.nl-person-title {
	display: block;
}

.nl-person-name {
	margin-top: 8px;
}

.nl-person-title {
	font-size: 1.5rem;
}

.nl-entry-content > h2,
.section-heading {
	border-bottom: 1px solid #ccc;
	font-weight: 300;
    /*letter-spacing: 0.5px;*/
}

.nl-awards-box {
}

.nl-award-row {
	display: block;
	margin: 32px 0;
}

.nl-award-inner {
	
}

.nl-award-department {
	font-size: 1.2em;
	text-decoration: underline;
}

.nl-award-name {
	font-weight: bold;
	font-size: 1.2em;
	text-decoration: underline;
}

.nl-award-reason {
	display: block;
	/*font-size: 1.5rem;*/
	line-height: 150%;
	margin-top: 8px;
}

.nl-box-right {
	float: right;
	padding: 24px 32px;
    border: 1px solid black;
    border-radius: 8px;
    background: #fff;
    /* background: #eff3f4; */
    min-width: 250px;
}

.nl-birthdays {
	max-width: 600px;
	/*margin: 0 auto;*/
}

.nl-birthdays header {
	margin: 8px 0;
	font-weight: 300;
    font-size: 1.25em;
}

.nl-date-list {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 1.5rem;
}

.nl-date-list > li {
	display: flex;
	padding: 0;
	margin: 0;
}

.nl-date-list .nl-txt-right {
	margin-left: auto;
}

.nl-date-list + header {
	margin-top: 1em;
}

.nl-shining-star {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.nl-shining-star + p {
	margin-top: 1em;
}

.nl-shining-star img {
	display: block;
	border: 16px solid white;
	margin-right: 32px;
	max-width: 300px;
	/*max-height: 300px;*/
}

.nl-shining-star-info {
	/* Set a bottom margin to help with visual weight */
	margin-bottom: 16px;
}

.nl-ss-name {
	font-size: 3em;
	font-weight: 200;
}

.nl-ss-title {
	font-size: 1.5em;
}

.nl-ss-prize {
	font-size: 1.75em;
	font-weight: 600;
}

@media only screen and (max-width: 1000px) {
	.nl-person {
		flex-basis: 33%;
	}
}

@media only screen and (max-width: 770px) {
	.nl-person {
		flex-basis: 50%;
	}
}

@media only screen and (max-width: 600px) {
	.nl-people-box {
		flex-direction: column;
	}
	
	.nl-person img {
		max-height: 600px;
		max-width: 100%;
	}
	
	.nl-box-right {
		float: none;
		border: none;
		padding: 0;
		background: transparent;
	}
	
	.nl-shining-star {
		flex-direction: column;
		align-items: unset;
	}
	
	.nl-shining-star img {
		margin: 0 auto 24px 0;
		max-width: 100%;
	}
}
