/*
 * Styling for the carousel, and carousel news items on the home page
 */
.newsBlock {
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding-bottom: 20px;
	//background-color: #EEEEEE;
}

.fb-container {
	width: 500px;
        //background-color: #64e4ff;
}
@media screen and (max-width: 560px) {
	.fb-container {
	    width: 350px;
	}
}


.news-carouselContainer {
	//position: relative;
}
.news-carouselContainer:hover {
	opacity: 50%;
	cursor: pointer;
}
.news-carousel {
	width: 25px;
}


.newsContainer {
	position: relative;
	padding: 0px;
	transition: transform .2s; /* Animation */
}
.newsContainer:hover {
	transform: scale(1.05);
}



/*
 * Styling for the news cards on the home and news pages
 */
img.news-card {
	width: 250px;
	border-radius: 12px;
}
.news-date {
	position: absolute;
	display: inline-block;
	left: 10px;
	top: 70%;

	background-color: #CCCCCC;
	border-radius: 4px;
	padding: 2px 4px 2px 4px;

	font-family: "Lucida Sans Regular", "Lucida Grande", sans-serif;
	font-size: 22px;
	color: #000000;
}
.news-title {
	position: absolute;
	display: inline-block;
	left: 10px;
	//top: 300px;
	top: 80%;
	right: 10px;

	font-family: "Lucida Sans Regular", "Lucida Grande", sans-serif;
	font-size: 14px;
	color: #FFFFFF;
	line-height: 1.4;
}
@media screen and (max-width: 1140px) {
    img.news-card {
	width: 140px;
	border-radius: 8px;
    }
    .news-date {
	left: 5px;
	right: 5px;
	top: 135px;
	font-size: 14px;
	padding: 3px;
    }
    .news-title {
	left: 5px;
	right: 5px;
	top: 160px;
	font-size: 10px;
    }
}



/*
 * Styling for the news.html page
 */
.newsPage {
	display: flex;
	flex-wrap: wrap;
	//justify-content: space-around;  /* but then, different # of items in last row don't align with previous row items */
	align-content: flex-start;
	row-gap: 50px;
	column-gap: 20px;
}


.newsDate {
	background-color: #DDDDDD;
	//margin-right: 20px;
	padding: 0px 0px 0px 10px;
}
.newsDateText {
	font-size: 26px;
}

.newsTitle {
	font-size: 22px;
	font-weight: bold;
}

.readMoreNewsButton {
        display: inline-block;
        cursor: pointer;
        padding: 20px 5px 20px 5px;
        background-color: #999999;
        border: 0px solid white;
        border-radius: 8px;
        width: 220px;

        text-align: center;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
        font-size: 16px;
        color: #FFFFFF;
}


