table#cmseo_imagegrid_list_table > tbody > tr > td {
  text-align: center;
}
table#cmseo_imagegrid_list_table > tbody {
  overflow-y: scroll;
}
table#cmseo_imagegrid_list_table > tbody > tr[expired = "1"] > td {
  color: #999999;
}
#imagegrid-editform td {
  padding: 5px;
}
#imagegrid-editform input[type=text] {
  width: 300px;
}
#imagegrid-editform .imageurl{
  position: relative;
}
#imagegrid-editform .uploaddone{
  width: 24px;
  position: absolute;
  top: 0px;
  right: -22px;
  display: none;
}
/* module css */
.wj-grid-tile a{
  padding: 0;
  text-decoration: none;
}
.wj-grid-tile a:focus{
  box-shadow: none;
}
.wj-grid-tile.gridTileLinkOn:hover .grid-info {
  background: #d8d8d8;
}
.wj-grid-tile.gridTileLinkOn:hover .grid-image img {
  opacity: 0.88;
}
.wj-grid-tile.gridTileLinkOn:hover .grid-image {
  background: #000000;
}
.wj-grid-tile.gridTileLinkOn:hover .button-more-home-small {
   background: #e0e0e0;
}
#grid-col-6.grid-item:hover {
   cursor: default;
}

/* GRID */
.grid {
  margin: 24px auto auto;
}
.grid-item {
  margin-bottom: 23px;
  float: left;
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.grid-info {
  background: #F5F5F5;
  height: 50px;
  padding: 6px 18px 1px;
}
.grid-info .text-grid{
  height: 36px;
  overflow: hidden;
}
.grid-info h5 {
  font-family: "Roboto", Tahoma, sans-serif;
  font-weight: bold;
  font-size: 17px;
  color: #333333;
  line-height: 20px;
}
.grid-info p {
  font-family: "Roboto", Tahoma, sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #333333;
  line-height: 18px;
}
.grid-image {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
  position: relative;
}
.grid-image img {
  opacity: 1;
  width: 100%;
  /* display: block; */
  object-fit: cover;
  vertical-align: middle;
  height: 100%;
}
.grid-image {
  overflow: hidden;
}
.grid-info .button-more-home-small {
  right: 10px;
  width: 34px;
  height: 30px;
  bottom: 10px;
  padding-top: 6px;
  display: none;
}
.grid-info .button-more-home-small span {
  font-size: 26px;
}
.button-more-home-small {
  position: absolute;
  display: inline-block;
  float: right;
  background: #FFFFFF;
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.30);
  border-radius: 3px;
  width: 28px;
  padding-left: 5px;
  padding-top: 4px;
  height: 25px;
  position: absolute;
  bottom: 14px;
  right: 12px;
}
.button-more-home-small span {
  font-size: 17px;
  color: #646464;
  line-height: 18px;
}

.gridTileLinkOn:hover{cursor: pointer;}
.gridTileLinkOn .button-more-home-small{display:block;}
.gridTileLinkOn .grid-info p{margin-right: 25px;}

.grid-col-3 .grid-width1 {width: 32%;}
.grid-col-3 .grid-width2 {width: 64.75%;}
.grid-col-3 .grid-width3 {width: 97.65%;}
.grid-col-3 .h1 .grid-image{height: 327px;}
.grid-col-3 .h2 .grid-image{height: 727px;}
.grid-col-3 .h3 .grid-image{height: 900px;}

/*custom*/
#gridElements{
  margin-bottom: 20px;
}
.element-item {
  position: relative;
  float: left;
  min-height: 100px;
  margin: 5px;
  /* padding: 10px; */
  background: #888;
  color: #262524;
  /* border: 1px solid #000; */
}
.grid-col-4 .grid-width1{width: 24.10%}
.grid-col-4 .grid-width2{width: 49.05%}
.grid-col-4 .grid-width3{width: 73.88%}
.grid-col-4 .h1 .grid-image {height: 225px;}
.grid-col-4 .h2 .grid-image {height: 510px;}
.grid-col-4 .h3 .grid-image{height: 795px;}

.desktopImage{display: block;}
.mobileImage{display: none;}

@media only screen and (min-width: 1259px) and (max-width: 1315px) {
  .grid-col-4 .grid-width1{width: 24.05%}
}
@media only screen and (min-width: 1200px) and (max-width: 1258px) {
  .grid-col-4 .grid-width1{width: 23.95%}
  .grid-col-4 .grid-width2{width: 48.90%;}
}
@media only screen and (min-width: 1132px) and (max-width: 1199px) {
  .grid-col-4 .grid-width1{width: 24.10%}
  .grid-col-4 .grid-width3{width: 74%}
}
@media only screen and (min-width: 1047px) and (max-width: 1131px) {
  .grid-col-4 .grid-width1{width: 24%}
  .grid-col-4 .grid-width2{width: 48.90%;}
}
@media only screen and (min-width: 769px) and (max-width: 1046px) {
  .grid-col-4 .grid-width1{width: 23.70%}
  .grid-col-4 .grid-width2{width: 48.5%}
  .grid-col-4 .grid-width3{width: 73%}
}
@media only screen and (min-width: 426px) and (max-width: 1046px) {
  .grid-col-4 .h1 .grid-image{height: 150px;}
  .grid-col-4 .h2 .grid-image{height: 360px;}
  .grid-col-4 .h3 .grid-image{height: 780px;}

  .grid-col-3 .h1 .grid-image {height: 225px;}
  .grid-col-3 .h2 .grid-image {height: 510px;}
  .grid-col-3 .h3 .grid-image{height: 795px;}
}
@media only screen and (min-width: 688px) and (max-width: 774px) {
  .hideTab{display: none;}
  .grid-col-4 .grid-width1, .grid-col-4 .grid-width2, .grid-col-4 .grid-width3 {width: 48.5%;}
  .grid-col-4 .grid-image{height: 327px !important;}
  .grid-col-4 .mobileImage{display: block;}
  .grid-col-4 .desktopImage{display: none;}
}
@media only screen and (max-width: 687px) {
  .hideMobile{display: none;}
  .element-item{margin: 5px 0px;}
  .grid-width1, .grid-width3, .grid-width2 {width: 100% !important;}  
  .grid-col-3 .grid-image, .grid-col-4 .grid-image{height: 327px !important;}
  .mobileImage{display: block;}
  .desktopImage{display: none;}
}
@media only screen and (max-width: 425px) {
  .grid-col-3 .grid-image, .grid-col-4 .grid-image{height: 327px !important;}
  .mobileImage{display: block;}
  .desktopImage{display: none;}
}  