.card_gallery {
  position: relative;
}

.card_gallery .card_inner {
  border-radius: 6px;
  overflow: hidden;
  padding: 26px 20px;
  position: relative;
  white-space: normal;
  height: 100%;
}

.card_gallery .icon_box .icon_inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  font-size: calc(80px - 10px);
  margin-bottom: 10px;
}

.card_gallery .icon_box svg {
  width: 1em;
  height: 1em;
  display: block;
  vertical-align: middle;
}

.card_gallery .icon_box.bgAdded .icon_inner {
  border-radius: 100%;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 40px;
  text-align: center;
}

.card_gallery .icon_box.small_sz .icon_inner {
  width: 50px;
  height: 50px;
  font-size: calc(50px - 10px);
}

.card_gallery .icon_box.small_sz.bgAdded .icon_inner {
  font-size: calc(40px - 10px);
}

.card_gallery .icon_box.large_sz .icon_inner {
  width: 100px;
  height: 100px;
  font-size: calc(100px - 15px);
}

.card_gallery .icon_box.large_sz.bgAdded .icon_inner {
  font-size: calc(80px - 15px);
}

.card_gallery .icon_box.bgAdded img,
.card_gallery .icon_box.medium_sz.bgAdded img {
  width: 40px;
}

.card_gallery .icon_box.small_sz.bgAdded img {
  width: 30px;
}

.card_gallery .icon_box.large_sz.bgAdded img {
  width: 65px;
}

.card_gallery .icon_box span.icon_img.icon_sp {
  line-height: 0;
}

.card_gallery .card_item.text_center .icon_inner {
  margin-left: auto;
  margin-right: auto;
}

.card_gallery .card_item.text_left .btn_row {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.card_gallery .card_item.text_right .icon_inner {
  margin-left: auto;
}

.card_gallery .card_item.text_right .btn_row {
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.card_gallery .card_item.text_center .btn_row {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.card_gallery .card_box {
  position: relative;
  z-index: 5;
}

.card_gallery .card_item.hoverAdde .card_inner:hover .overlay_bg {
  visibility: visible;
  pointer-events: auto;
}

.card_gallery .card_inner:hover .overlay_bg.custom {
  opacity: 1;
}

.card_gallery .card_item .overlay_bg {
  opacity: 0;
  pointer-events: none;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.card_gallery .hover_img.bg_el {
  opacity: 0;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  z-index: 0;
}

.card_gallery .card_item.hoverAdde .card_inner:hover .hover_img.bg_el {
  opacity: 1;
}

.card_gallery .card_item.shadowAdded .card_inner {
  -webkit-box-shadow: 0px 2px 10px rgb(22 22 22 / 10%);
  box-shadow: 0px 2px 10px rgb(22 22 22 / 10%);
}

.card_gallery .card_content > *:last-child {
  margin-bottom: 0;
}

.card_gallery .card_content + .btn_row {
  margin-top: 24px;
}

.card_gallery .card_item .main_overlay_bg {
  -webkit-transition: all all 0.2s ease;
  -o-transition: all all 0.2s ease;
  transition: all all 0.2s ease;
}

.card_gallery .card_item.hoverAdde .card_inner:hover .main_overlay_bg {
  opacity: 0;
}

.card_gallery span.icon_img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.card_gallery .card_item {
  cursor: default;
}

.card_gallery .card_item h5 {
  margin-bottom: 10px;
}

.card_gallery .card_box .it_title {
  margin-bottom: 0.6rem;
}

.card_gallery .bottom_row.notshadow .rowGap15 {
  row-gap: 45px;
}

.card_gallery .bottom_row.masonadded .card_item {
  margin-bottom: 20px;
}

.card_gallery .card_item.shadowAdded:nth-child(3) ~ .card_item.shadowAdded {
  margin-bottom: 10px;
}

.card_gallery a.ovelar_link_add.bg_el {
  z-index: 10;
}

.card_gallery .icon_box span.icon_img.icon_sp {
  height: 100%;
}

.card_gallery .icon_box.bgAdded span.icon_img.icon_sp {
  height: auto;
}

.card_gallery .icon_box.bgAdded img {
  height: auto;
}

.card_gallery a.ovelar_link_add.bg_el:after {
  background: repeat;
  bottom: -1px;
  content: "";
  display: block;
  height: 1px;
  left: 0;
  position: absolute;
  border-bottom: 1px solid #282827;
  opacity: 1;
  -webkit-transition: width 0.3s ease 0s, left 0.3s ease 0s;
  -o-transition: width 0.3s ease 0s, left 0.3s ease 0s;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
  bottom: 0;
}

.card_gallery a.ovelar_link_add.bg_el:hover:after {
  visibility: visible;
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
  transform: scaleX(1);
  width: 100%;
  -webkit-transition: width 0.3s ease 0s, left 0.3s ease 0s;
  -o-transition: width 0.3s ease 0s, left 0.3s ease 0s;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
}

@media (max-width: 767px) {
  .card_gallery .bottom_row.notshadow .rowGap15 {
    row-gap: 20px;
  }
}
