/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/


/* Page header images */

.tag-politics .page-header-bg-image {
	background-image: url(https://mediaproject.wesleyan.edu/wp-content/uploads/2020/02/hero-slider-01.jpg)!important;
}

.tag-health .page-header-bg-image {
	background-image: url(https://mediaproject.wesleyan.edu/wp-content/uploads/2020/02/cat-health.jpg)!important;
}


h1, h2, h3, h4 {
	margin-bottom: .75em !important;
}

[class^="icon-"], [class*=" icon-"], i[class*="fa-"], span[class*="fa-"] {
    font-family: 'Font Awesome 5 Pro';
}

#header-space,
#header-outer:not([data-permanent-transparent="1"]) {
	padding: 0 !important;
	height: 100px !important;
	
}
#header-outer #logo {
    height: 100px !important;
    margin: 0 !important;
}
#header-outer #logo img {
    position: absolute;
    top: 0;
    margin: 0;
}

.swiper-slide .container {
    position: initial !important;
}

.swiper-slide .content {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 600px;
    height: 100% !important;
	background: rgba(0, 0, 0, .8) !important;
    padding: 0 30px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media screen and (min-width 768px){
	.swiper-slide .content {
    	position: absolute !important;
    	padding: 50px !important;
		width: 50% !important;
    	background: #000 !important;
	}
}


.home-red-blocks a,
.home-red-blocks a:hover,
.home-red-blocks a:active,
.home-red-blocks a:focus {
	color: #ffffff;
}

.home-cards a {
	color: inherit;
}

.home-cards a:hover,
.home-cards a:active,
.home-cards a:focus {
	color: #9f0300;
}

.home-cards .wpb_wrapper > div:not(:nth-child(1)) {
	padding: 0 2rem;
}

.home-cards .wpb_wrapper > div:nth-child(2) {
	padding-top: 1rem;
}

.home-cards .wpb_wrapper > div:nth-child(3) {
	padding-bottom: .5rem;
}




.list-posts-by-tag {
	margin: 0 0 1rem 0;
}

.list-posts-by-tag .post {
	display: block;
    padding: .7rem 0;
    border-top: 1px solid #dfdfdf !important;
}

.list-posts-by-tag .post-title {
	display: block;
	width: 100%;
	color: #9f0300;
	font-size: 1.1rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.list-posts-by-tag .post-date {
	display: flex;
	align-items: center;
	font-size: .9rem;
}

.list-posts-by-tag .post-date i {
	margin-right: .5em;
}

.list-posts-by-tag .btn {
	margin: 1rem 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: .5rem 1rem;
	color: #808080;
	font-size: .9rem;
	text-transform: uppercase;
	background-color: transparent;
	border: 2px solid #808080;
	border-radius: .25em;
	transition: all .2s ease;
}

.list-posts-by-tag .btn:hover,
.list-posts-by-tag .btn:active,
.list-posts-by-tag .btn:focus {
	color: #fff;
	background-color: #9f0300;
	border: 2px solid #9f0300;
}