/* ---------------------------------------
   Sidebar Custom Post Type Widgets CSS 
----------------------------------------*/

/* -- PROJECTS -- */

#sidebar-projects {
	display: block;
	margin: 0 auto 10% auto;
	text-align: center;
}

/* Top Poster Image */

.top-projects-img {
	margin: 5px auto;
	display: block!important;
}

.top-projects-img img,
.top-projects-img img:hover {
	width: 95%!important;
	height: 170px!important;
	margin: 5px!important;
	object-fit: cover!important;
	border: 0px!important;
	padding: 0px!important;
    box-shadow: none!important;
}

.top-projects-info {
	text-align: center;
	line-height: 175%;
}

.top-projects-info-title {
	font-weight: 700;
    font-family: 'Merriweather', serif;
	color: #2e282a;
	font-size: 1.25em;
	font-style: italic;
	text-align: center;
}

.top-projects-info-date {
	font-size: 13px;
	font-style: normal;
	text-transform: uppercase;
}

.top-projects-info-date:before {
	content:'(';
}

.top-projects-info-date:after {
	content:')';
}
	
.top-projects-info-role {
	font-style: italic;
	color: #4e6377;
	text-align: center;
}

.top-projects-info-role:before {
	content: 'as ';
	font-style: normal;
	color: #4e4e4e;
}

.top-projects-info-synopsis {
	margin: 10px 0 0 0;
	background: #efefef;
	padding: 12px;
	text-align: center;
	font-size: 12px;
	border-radius: 3px;
}

.top-projects-info-links {
	margin: 2.5% auto 5% auto!important;
	text-align: center;
}

.top-projects-info-links a {
	font-size: 12px;
	text-transform: uppercase;
	border: 1px #fff solid;
    background: #916e5b;
	color: #fff!important;
	padding: 4px;
	margin-right: 2px;
    font-weight: 600!important;
}
 
.top-projects-info-links a:hover {
	border: 1px #4e6377 solid;
	background: #4e6377;
}

/* -- AFFILIATES -- */

.affiliates {
	margin: 0 auto!important;
	text-align: center;
	clear: both;
	display: block;
	line-height: 175%;
}

    /* Image Affiliates */

.family-image,
.partner-image {
	display: inline-block;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 2px;
}

.family-image img  {
	margin: 6px 8px 7px 3px!important;
	width: 5.7vw;
    box-shadow: none!important;
}

.partner-image img {
	margin: 6px 3px 7px 3px!important;
	width: 5.7vw;
    box-shadow: none!important;
}

@media only screen and (max-width: 500px), only screen and (max-device-width: 199px) {
.family-image img,
.partner-image img {
	width: 20.5vw!important;
}
}

   /* Text Affiliates */

.elites-text {
	font-size: .62em;
	font-weight: 400;
	line-height: 1.5;
	display: inline-block;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 18.33%;
	margin: 3px 1px;
	padding: 5px;
	text-align: center;
	border: 1px solid #E1E1E1;
	background: #111 url('https://jessica-chastain.com/themes/jessicachastainNED_4/images/footer.jpg') repeat top center;
	text-transform: uppercase;
    border-style: solid;
    border-width: 3px;
    border-image-source: url('https://jessica-chastain.com/albums/Photoshoots/2022/004/001.jpg');
    border-image-slice: 90 270;
}

@media only screen and (max-width: 1366px), only screen and (max-device-width: 1200px) {
.elites-text {
	width: 23.33%!important;
}
}

.elites-text a {
	display: block;
	color: #bfcfdc!important;
	font-weight: 400!important;
}

.elites-text a span {
	display: block;
	font-size: 1.35em;
	text-transform: capitalize;
	font-style: italic;
	color: #e5d3bb!important;
    font-family: 'Merriweather', serif;
	font-weight: 400!important;
}

.elites-text a:hover {
	display: block;
	color: #fff!important;
}