.cm-gallery {
  margin-right:-8px;
}

.cm-gallery .cm-item {
  margin-right:8px;
}
.cm-gallery .slick-track
{
  display: flex !important;
}

.cm-gallery .slick-slide
{
  height: inherit !important;
}

.cm-gallery .cm-item img {
  height: 100%;
  object-fit: cover;
}
.cm-gallery .cm-item .item-nner {
  position: relative;
  height: 100%;
}
.cm-gallery {
  position: relative;
}

.cm-gallery .slick-arrow {
  -webkit-tap-highlight-color: transparent;
  margin: 0px;
  min-width: 0px;
  width: 38px;
  height: 38px;
  border-radius: 100%;
  cursor: pointer;
  transition: background-color 0.3s ease 0s, fill 0.3s ease 0s;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex !important;
  z-index: 999;
  background-color: rgb(238, 237, 237) !important;
}

.cm-gallery .slick-arrow:hover {
  background-color: rgb(0, 0, 0) !important;
}

.cm-gallery .slick-arrow svg {
  transition: background-color 0.3s ease 0s, fill 0.3s ease 0s;
  margin: auto;
  min-width: 0px;
  max-width: 100%;
  height: auto;
}

.cm-gallery .cm-prev {
  left: 35px;
}

.cm-gallery .cm-next {
  right: 35px;
}

.cm-gallery .slick-arrow:hover svg {
  fill: rgb(255, 255, 255);
}

.cm-gallery .two-col-row-inner{
  box-sizing: border-box;
  margin: 0;
  min-width: 0;
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-row-gap: 4px;
  -webkit-align-items: stretch;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  width: 100%;
  height: 100%;
  grid-row-gap: 8px;
}
.cm-gallery .cm-item .cm-item{
    margin-right: 0;
}
@media (max-width:767px) {
  .cm-gallery .cm-prev {
    left: calc((50% - 38px) - 10px);
    top: unset;
  }

  .cm-gallery .cm-next {
    right: calc((50% - 38px) - 10px);
    top: unset;
  }
}