/*
Theme Name:Child Theme for Divi
Theme URI: http://elegantthemes.com
Description: Child Theme For Divi
Author: Jake Lea-Wilson
Author URI: http://www.jakelw.com
Template: Divi
Version: 1.0
*/


/* Start your custom CSS bellow this comment
============================================ */

.card-label.label-cardExpiryMonth,card-label.label-cardExpiryYear {
    float: left;
    padding-right: 20px;
    margin-top: 2px;
}
.card-input.field-cardExpiryMonth,.card-input.field-cardExpiryYear {
    width: 100px;
    float: left;
}

.pressGrid {
	display: block;
	padding-bottom: 40px;
}

.pressGrid a {
	width:  100%;
	position:  relative;
	background-color:  #0F3763;
	margin-bottom:  32px;
	display:  block;
}

.pressGrid a img {
	display:  block;
	opacity: 0.7;
	transition: all ease 0.3s;
}

.pressGrid a:hover img {
	opacity: 1;
}

.pressGrid a .text {
	width:  100%;
	height:  100%;
	position: absolute;
	top: 0px;
	left:  0px;
	color:  white;
	text-align:  center;
}

.pressGrid a .text h2 {
	position:  absolute;
	top:  50%;
	left:  50%;
	transform:  translate(-50%,-50%);
	color:  white;
	text-transform:  uppercase;
	letter-spacing: 1px;
	padding-bottom:  0;
	font-weight:  bold;
	width:  80%;
}

@media screen and (min-width: 700px) {
	.pressGrid {
		
		width:  100%;
	}
	.pressGrid:after {
		clear: both;
		content: "";
		display: block;
	}
	.pressGrid a {
		width: 48%;
		display: inline-block;
		float:  left;
		margin-right: 4%;
	}
	.pressGrid a:nth-of-type(2n) {
		margin-right:  0;
	}
}

@media screen and (min-width: 960px) {
	.pressGrid a {
		width: 30.33333333%;
		display: inline-block;
		float:  left;
		margin-right: 3%;
	}
	.pressGrid a:nth-of-type(2n) {
		margin-right:  3%;
	}
	.pressGrid a:nth-of-type(3n) {
		margin-right:  0;
	}
}

