@charset "utf-8";



/* This overwrites the .linkButton class from /ext/resources/css/News-Article-and-Page-Styles.css. */
.linkButton{
	font-size: 22px;
}	


.companyName{
	margin: 8px auto;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.2;
	color: #c41230;
}

.productName{
	margin: 0px auto 14px auto;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.2;
	color: #004B85;
}

/* This affects companyNames when they are opened in the openGridItemContainer. */ 
#openGridItemContainer .companyName{
	font-size: 28px;
}

/* This affects productNames when they are opened in the openGridItemContainer. */
#openGridItemContainer .productName{
	margin: 20px auto;
	font-size: 20px;
}







/* All styles below are for the widget. */

/* This contains the entire grid. */
#gridContainer{
	padding: 8px;
	text-align: center;
	margin: 0px auto;
	max-width: 100%;
	font-family: 'Oswald', sans-serif;
	position: relative;
	animation: moveGridLeft 0.4s;
}
/* This animation lets the gridContainer slide in from the left. */
@keyframes moveGridLeft{
	from{
		left: -25px;
		opacity: 0;
	}
	to{
		left: 0;
		opacity: 1;
	}
}






/* This div holds the clicked gridItem. It is empty and hidden until a gridItem is selected. */
#openGridItemContainer{
	display: none;
	text-align: center;
	position: relative;
	animation: moveGridRight 0.4s;
}
/* This animation lets a clicked gridItem slide in from the right. */
@keyframes moveGridRight{
	from{
		right: -25px;
		opacity: 0;
	}
	to{
		right: 0;
		opacity: 1;
	}
}






/* 
This is an individual item in the grid.
You can adjust the width of the gridItems for the grid view. Allow for a little margin.
*/

.gridItem{
	max-width: 200px;
	display: inline-block;
	margin: 0px 10px 40px 10px;
	padding: 10px;
	vertical-align: top;
	cursor: pointer;
	border: 1px solid #ffffff;
	border-radius: 8px;
}

.gridItem:hover{
	border: 1px solid #004B85;
}



/*This affects a gridItem only when it is clicked open within the openGridItemContainer. Some styles need to be altered because the gridItem not a clickable element when opened, for example the cursor hover effect.*/
#openGridItemContainer .gridItem{
	margin-bottom: 0px;
	max-width: 98%;	
	cursor: default;
	border: 1px solid #004B85;
	font-family: 'Oswald', sans-serif;
}





.gridItem img{
	max-width: 95%;
}





/* If you have content in a gridItem that you only want displayed when the item is opened, place it in a div with this class. */
.gridItemDescription{
	display: none;
	text-align: left;
	line-height: 1.5;
	font-size: 18px;
}





/* This is the header on top of the gridItems inviting visitors to select an image. It is hidden when an image is selected. */
#gridGalleryHeader{
	display: block;
	margin: 10px auto;
	color: #696969;
	text-align: center;
	font-size: 28px;
	line-height: 1.1;
}





/* This button is displayed only when a gridItem is open. */
.backToGridButton{
	cursor: pointer;
	background-color: #004B85;
	color: #ffffff;
	text-align: center;
	font-size: 15px;
	font-family: 'Oswald', sans-serif;
	line-height: 1.1;
	width: 30%;
	margin: 10px auto;
	border-radius: 20px;
	padding: 6px 8px 6px 8px;
}
@media screen and (max-width: 720px){
    .gridGalleryHeader, .backToGridButton{
		width: 80%;
		margin: 10px auto 20px auto;
    }
}

.backToGridButton:hover{
	background-color: #0981de;
}

/* This contains the back arrow in the backToGridButton. */
.leftArrow {
	float: left;
	line-height: 1;
}