

.ccm-block-featuredpage-item { 
    padding: 0;
    text-align: left;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-evenly;
    height: 350px;
    flex: 1;
    flex-basis: 100%;
	 } 

.ccm-block-featuredpage-item .pglist { 
flex: auto; margin: 35px 0; 
	background-size: cover !important; position: relative; text-align: center; overflow: hidden;
 background: #153b66; transition: 0.35s ease-in-out all;
-moz-border-radius: 8px; border-radius: 8px; }

.ccm-block-featuredpage-item .pglist table { text-align: center;}

.page-template-home .halfhalf-layout .half-half:first-child .ccm-block-featuredpage-item { max-height: initial; }


.ccm-block-featuredpage-item .pglist a table {
max-width: initial;
    position: relative;
    transition: 0.35s ease-in-out;
    padding: 8% 5%;
    text-align: center;
    vertical-align: middle;
    height: -webkit-fill-available;
 text-shadow: 1px 1px 3px rgba(0,0,0,0.75);}

.ccm-block-featuredpage-item .plocations hr { margin: 10px auto; padding: 0; }

.ccm-block-featuredpage-item .pglist:before {

position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; z-index: 0; content:'';

opacity: 1;  transition: 0.25s ease-in-out all; }

.ccm-block-featuredpage-item .pglist:hover:before { opacity: 1; }



#pagewrap .ccm-block-featuredpage-item  h3, 

.ccm-block-featuredpage-item a { color: #fff; text-align: center;}

.ccm-block-featuredpage-item tr,.ccm-block-featuredpage-item td { background: none !important; }
.ccm-block-featuredpage-item td { padding: 15px !important; }

.ccm-block-featuredpage-item a.pglistlnk { flex: 1; flex-grow: 1;display: flex;  height: -webkit-fill-available;  }
#pagewrap .ccm-block-featuredpage-item .pglist .ccm-page-list-title {  
	margin: auto; padding-bottom: 15px; max-width: 80%; }
.ccm-block-featuredpage-item .ccm-page-list-description { margin: auto; text-transform: uppercase; max-width: 80%; }
.ccm-block-featuredpage-item .ccm-page-list-description p { padding: 0 0 15px; text-align: center; }

.ccm-block-featuredpage-item .pglist table td { text-align: center!important; vertical-align: middle !important; }

/*.ccm-block-featuredpage-item .pglist:hover table { background: rgba(15,48,84,0.65); }*/

.ccm-block-featuredpage-item .ccm-page-list-link a { color: #ddc135 !important; }
 

@media screen and (min-width: 250px)

{
.ccm-block-featuredpage-item { width: 100%; margin: auto; }

.ccm-block-featuredpage-item .pglist { width: 100%; margin: 10px auto; }

.ccm-block-featuredpage-item .pglist table { display: table !important; white-space: normal  !important; width: 100%; min-height: auto; }

.ccm-block-featuredpage-item .pglist:before { height: 100%; background: rgba(0,0,0,0.5); }
.ccm-block-featuredpage-item .pglist:hover:before { background: rgba(0,0,0,0.7); }
}

/*@media screen and (min-width: 750px)

{

.ccm-block-featuredpage-item .pglist { width: 48%; display: inline-block; vertical-align: top; margin: 1%; }

.ccm-block-featuredpage-item .pglist:last-child { width: 98%; }

.ccm-block-featuredpage-item .pglist table { min-height: 450px; }

}*/

@media screen and (min-width: 1100px)

{ 

.ccm-block-featuredpage-item .pglist { width: 49%; display: inline-block; vertical-align: top; margin:  0.5%; }

.ccm-block-featuredpage-item .pglist:last-child { width: 99%; display: inline-block; vertical-align: top; margin: 0.5%; }

.ccm-block-featuredpage-item .pglist table { }

}

@media screen and (min-width: 1400px)

{ 
	.ccm-block-featuredpage-item { width: 100%; margin: auto; max-height: 300px;height: 600px; }
.ccm-block-featuredpage-item .pglist,
.ccm-block-featuredpage-item .pglist:last-child { 
	width: 49%;
	display: inline-flex;
	vertical-align: top;
	flex: 1;
	flex-grow: 1;
	justify-content: center;
	align-items: center;}
 
.ccm-block-featuredpage-item .pglist table { min-height: 250px; }

}

