/* mac frame image css */

.frame_mac {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.iphone-mask {
  z-index: 10;
  object-fit: cover;
  display: flex;
  flex-direction: row;
  -webkit-box-pack: center;
  justify-content: center;
  position: relative;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  vertical-align: baseline;
}
.mask-img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  z-index: 10;
  transition: all 400ms ease-in 0s;
  max-width: 100%;
  vertical-align: baseline;
}
.video-wrap {
  vertical-align: baseline;
  position: absolute;
  height: 94%;
  box-sizing: border-box;
  top: 0;
  font: inherit;
  padding: 18px;
  overflow: hidden;
}
.video-wrap img {
  transform-style: preserve-3d;
  text-align: center;
  height: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 25px;
  object-fit: cover;
}

.two-col-counter .counter-flex .image-section .frame_mac{
  position:relative;
  z-index:2;
}
.frame_mac{
  min-height: 550px;
}
.two-col-counter .counter-flex .image-section .frame_mac img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  top: 39.7%;
  bottom: 0;
  min-height: 319px;
  max-height: 319px;
  max-width: 542px;
  margin: 0 auto;
  border-radius: 4px;
  left: 50%;
  transform: translate(-50%,-50%);
}
@media(max-width:1200px){
  .frame_mac{
    min-height: 450px;
  }
  .two-col-counter .counter-flex .image-section .frame_mac img {
    position: absolute;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    top: 39.7%;
    bottom: 0;
    min-height: 262px;
    max-height: 262px;
    max-width: 444px;
    margin: 0 auto;
    border-radius: 4px;
    left: 50.05%;
    transform: translate(-50%,-50%);
  }
}

@media (max-width: 1300px) {
  .video-wrap {
    top: -5px;
  }
}

@media(max-width:992px){
  .two-col-counter.mac_frame .counter-flex.rev .counter-section,
  .two-col-counter.mac_frame .counter-flex .counter-section {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    margin-right: 0;
  }
  .two-col-counter.mac_frame .counter-flex.rev .image-section,
  .two-col-counter.mac_frame .counter-flex .image-section {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  .two-col-counter .counter-flex .image-section .frame_mac {
    max-width: 744px;
    margin: 0 auto;
  } 
  .two-col-counter.mac_frame .counter-flex.rev,
  .two-col-counter.mac_frame .counter-flex {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
}
@media(min-width:426px) and (max-width:560px){
  .two-col-counter .counter-flex .image-section .frame_mac {
    min-height: 300px;
  }
  .two-col-counter .counter-flex .image-section .frame_mac img {
    position: absolute;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    top: 40%;
    bottom: 0;
    min-height: 175px;
    max-height: 173px;
    max-width: 296px;
    margin: 0 auto;
    left: 50.05%;
    transform: translate(-50%,-50%);
  }
}
@media(max-width:425px){
  .two-col-counter .counter-flex .image-section .frame_mac {
    min-height: 250px;
  }
  .two-col-counter .counter-flex .image-section .frame_mac img {
    position: absolute;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    top: 39.7%;
    bottom: 0;
    min-height: 145px;
    max-height: 145px;
    max-width: 246px;
    margin: 0 auto;
    border-radius: 4px;
    left: 50.05%;
    transform: translate(-50%,-50%);
  }
}
/* mac frame image css */
.two-col-counter {
  position: relative;
}
.two-col-counter.right-side {
  width: calc( 100% - 111px);
}
.two-col-counter .counter-flex,
.two-col-counter .counter-flx
{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.two-col-counter .counter-flex.rev{
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}
.two-col-counter .counter-flex.rev .image-section img{
  right: auto;
  left: 0;
}
.two-col-counter .counter-flex.rev .counter-section{
  margin-left: 10%;
  margin-right: 0;
}
.two-col-counter .counter-flex .counter-section{
  -ms-flex-preferred-size: 46%;
  flex-basis: 40%;
  margin-right: 10%;
}
.two-col-counter .counter-section .position{
  border-radius: 15px;
  padding: 20px;
  -ms-flex-preferred-size: 40%;
  flex-basis: 48%;
  margin-right: 4%;
  margin-bottom: 25px;
  transition: 0.3s;
}
.two-col-counter .counter-section .position:hover {
  box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
}
.two-col-counter .counter-section .position:nth-child(2n+2){
  margin-right: 0%;
}
.two-col-counter .counter-section .position p{
  margin-bottom: 5px;
}
.two-col-counter .counter-section .position .main-part{
  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;
}
.two-col-counter .counter-section .position .suffex span{
  line-height: 1;
  display: block;
  margin-top: 3px;
  margin-right: 5px;
}
.two-col-counter .counter-section .position .suffex svg{
  width: 20px;
  height: 20px;
}
.two-col-counter .counter-flex .image-section{
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
}

.two-col-counter .counter-flex.rev .image-section .frame_mac img {
  right: 0;
  left: 0;
  transform: translate(0, -50%);
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .two-col-counter.right-side {
    width: calc( 100% - 70px);
  }
}

@media(min-width:992px) and (max-width:1100px){
  .two-col-counter.mac_frame .counter-flex .counter-section {
    -ms-flex-preferred-size: 48%;
    flex-basis: 44%;
    margin-right: 4%;
  }

  .two-col-counter.mac_frame .counter-flex.rev .counter-section {
    margin-right: 0%;
    margin-left:4%;
  }

  .two-col-counter.mac_frame .counter-flex .image-section {
    -ms-flex-preferred-size: 52%;
    flex-basis: 52%;
  }
  .two-col-counter .counter-flex .image-section {
    -ms-flex-preferred-size: 48%;
    flex-basis: 48%;
  }
  .video-wrap {
    padding: 10px; 
  }
}

@media(max-width:1024px){
  .two-col-counter .counter-flex .counter-section{
    -ms-flex-preferred-size: 48%;
    flex-basis: 48%;
    margin-right: 4%;
  }
  .two-col-counter.right-side {
    width: calc( 100% - 30px);
  }
  .two-col-counter .counter-flex.center.rev.iphone_frame .counter-section {
    margin-left: 4%;
    margin-right: 0;
  }
}

@media(min-width:768px){
  .two-col-counter .counter-flex .image-section img.img{
    position: absolute;
    width: 45%;
    right: 0;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    top: 0;
    bottom: 0;
  }
  .two-col-counter .counter-flex.center {
    align-items: center; 
  }
  .two-col-counter .counter-flex.bottom {
    align-items: flex-end; 
  }
  .two-col-counter .counter-flex.top {
    align-items: flex-start; 
  }
}

@media (max-width: 992px) {
  .two-col-counter .counter-flex .image-section {
    -ms-flex-preferred-size: 48%;
    flex-basis: 48%;
  }
  .iphone-mask {
    width: 80%; 
  }
  .two-col-counter .counter-flex.top.mac_frame {
    align-items: unset;
  }
  .video-wrap {
    padding: 12px; 
  }
  .counter-flex.top.rev.mac_frame .counter-section {
    margin-left: 0;
  }
}

@media(max-width:767px){
  .two-col-counter .counter-flex.rev{
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
  .two-col-counter .counter-flex{
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
  .two-col-counter .counter-flex .image-section{
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  .two-col-counter .counter-flex.rev .counter-section{
    margin-left: 0%;
  }
  .two-col-counter .counter-flex .counter-section{
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    margin-right: 0%;
    margin-top: 30px;
  }
  .two-col-counter .counter-flex .image-section img{
    position: relative;
    width: 100%;
  }
  .iphone-mask {
    width: 100%;
    max-width: 245px;
  }
  .video-wrap {
    height: 96%;
    padding: 16px;
  }
}

@media(max-width:480px){
  .two-col-counter .counter-section .position{
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    margin-right: 0;
  }
}