.portals-thumbnail-wrapper {
  margin: 10px 0;
  padding: 20px 0;
  overflow: visible;
}
.portal-item {
  margin: 0 15px 30px;
  display: inline-block;
  overflow: hidden;
  transition: all 0.35s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.portal-item.default-portal {
  cursor: default;
}
.portal-item .media {
  width: 241px;
  transition: transform 0.35s;
  z-index: auto;
  position: relative;
}
.portal-item #available-portal-media {
  /* height: 297px; */
  display: flex;
  justify-content: center;
  align-items: center;
}
.portal-item:hover {
  transform: translate3d(2px, -5px, 0);
  /*transform: scale(1.05,1.05);*/
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}
.portal-item:hover::after {
  opacity: 1;
}
.portal-item.default-portal:hover {
  transform: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.portal-item img {
  /*max-height: 257px;
    min-height: 257px;*/
}
div.ccm-page img {
  max-width: none;
}

.iconRows {
  margin-bottom: 100px;
  display: flex;
  align-items: center;
}

.iconRows div {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 1200px) {
  .portals-thumbnail-wrapper {
    text-align: center;
  }
  /*.portal-item .media{
        width: 260px;
    }*/

  .default-portal {
    display: none;
  }
}

@media screen and (max-width: 537px) {
  .portals-thumbnail-wrapper {
    overflow: visible;
  }
  .portal-item {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
  .media {
    max-width: 100%;
  }
  .portal-item img {
    width: 100%;
    height: 100%;
    min-height: 0px;
  }
}

.no-hover {
  filter: grayscale(1);
  opacity: 0.8;
  cursor: not-allowed;
}

.no-hover:hover {
  transform: translate3d(0px, 0px, 0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
