.grid{
max-width:1200px;
margin-bottom:50px;
}
.grid-item{
border:none !important;
color:#fff;
text-align:center;
vertical-align:middle;
outline:1px solid #fff;
outline-offset:-1px;
display:table;
}
.grid:after{
content:'';
display:block;
clear:both;
}
.grid a{
color:#fff;
}
.grid a:hover{
color:#e3e3e3;
}
.block_content.grid_layout_text,
.block_content.grid_layout_link{
display:table-cell;
vertical-align:middle;
}
.block_content.grid_layout_text p span,
.block_content.grid_layout_link p span{
line-height:1px !important;
}
.block_content.grid_layout_text,
.block_content.grid_layout_link{
margin:1em !important;
}
.button{
font-family:Arial, Helvetica, sans-serif;
/*width:100%;*/
background:#8f8f8f;
border-radius:0px;
border:0;
cursor:pointer;
color:white;
padding:10px;
transition:all 0.3s;
font-weight:700;
font-size:14px;
}
.button:hover{
background:#c2c2c2;
}
/*.grid-item--25{
width:300px !important;
}*/
/* LARGE DISPLAY (>1200px) */
@media (min-width:1200px){
.grid .grid-item,
.isotope.col-4 .isotope-item{
width:25%;
}
}
/* SMALL DISPLAY (TABLETS) */
@media (min-width:768px) and (max-width:991px){
.grid .grid-item,
.grid.col-3 .grid-item,
.grid.col-4 .grid-item{
width:50%;
}
}
/* EXTRA SMALL DISPLAY (PHONES PORTRAIT) */
@media (max-width:767px){
.grid .grid-item,
.grid.col-3 .grid-item,
.grid.col-4 .grid-item{
float:none;
width:100%;
}
}
.testp{
height:100%;
}
.grid a.wikilink{
height:100%;
width:100%;
display:table;
}
