/* Theme Name: AmdenOnline */

@import url('css/style.min.css');

.overlay {
    width: 100%;
    height: 70vh;
    position: absolute;
    background-image: url(images/over.png);
    background-repeat: no-repeat;
    background-size: cover;
    opacity: .5;
    z-index: 1;
}

.page-template-template-video .showcase .item {
    height: 70vh;
}

.page-template-template-video .showcase .item video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

#slider .item .wrap {
    height: 100%;
}

.home #slider .item .wrap {
    height: 100vh;
}

.page-template-template-video .video-holder {
    max-width: 80%;
    margin: auto;
    padding: 5em 2em 0;
}

.page-template-template-video .video-holder h2,
.page-template-template-video .video-holder p {
    text-align: center;
}

@media screen and (min-width: 1300px) {
    .page-template-template-video .video-holder p {
        padding: 0 20%;
    }
}

@media screen and (min-width: 1000px) {
    .page-template-template-video .video-holder p {
        padding: 0 10%;
    }
    .video-carousel .owl-item.active {
        transform: none;
        z-index: 0;
        transition: transform 1s;
        margin-right: 0 !important;
        visibility: visible;
    
    }
    
    .video-carousel .owl-item.active img {
        zoom: 0.7;
    }
    
    .video-carousel .owl-item.active.center~.owl-item.active {
        margin-right: 2.1em !important;
    }
    
    .video-carousel .owl-item.active.center {
        transform: scale(1.3);
        margin-top: 0;
        margin-left: -1em;
        transition: transform 1s;
        margin-right: -1em !important;
        z-index: 1;
        opacity: 1;
    }
    .video-carousel .owl-nav {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }
    
.video-carousel button.owl-prev {
        position: absolute;
        left: 0;
        width: 28%;
        height: 450px;
        text-indent: -4488em;
    }
    
.video-carousel button.owl-next {
        position: absolute;
        right: 0;
        width: 28%;
        height: 450px;
        text-indent: 4488em;
    }
.video-carousel .owl-item {
        text-align: center;
        opacity: .5;
    }
}

@media screen and (max-width: 1000px) {
    .page-template-template-video .owl-nav {
        position: absolute;
        left: 0;
        width: 100%;
        top: 0;
    }
    .video-carousel .owl-nav button.owl-prev span,
    .video-carousel .owl-nav button.owl-next span {
        display: inline-block;
        width: 2em;
        height: 2em;
        border-radius: 2em;
        background-color: #eb1240;
        color: #fff;
        line-height: 1.85em;
    }
    
    .video-carousel .owl-nav button.owl-prev,
    .video-carousel .owl-nav button.owl-next {
        top: 2em;
        position: absolute;
    }
    
    .video-carousel .owl-nav button.owl-next {
        right: 0;
        transform: translateX(50%);
    }
}

.page-template-template-video video {
    background-image: url(images/video_static_header.jpg);
}

.video-carousel.owl-carousel {
    display: block;
    margin: auto;
    position: relative;
    padding-left: 20px;
}

.video-carousel .slider_holder {
    position: relative;
}

.video-carousel.owl-carousel .owl-stage-outer {
    padding-top: 5em;
    margin: auto;
    min-height: 500px;
}

.video-carousel .owl-item img {
    border-radius: 1.4em;
    overflow: hidden;
}

.video-carousel.owl-carousel.owl-drag .owl-item {
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.video-carousel {
    padding: 2em 0;
}

.video-carousel h3.item__text__title {
    font-size: 1em;
    margin-top: 1em;
    padding-top: 1em;
    margin-bottom: .4em;
    max-width: 80%;
    margin: auto;
}

.video-carousel .item p {
    font-size: .65em;
    margin: 0;
    max-width: 80%;
    margin: auto;
    line-height: 1.2em;
}

#player {
    position: absolute;
    z-index: 8;
    left: 0;
    margin-top: 0;
    top: 0;
    border-radius: 1em;
    width: 100%;
}

.play {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-3em, -4.7em);
    width: 6em;
    height: 6em;
    background-image: url(images/play.svg);
    background-size: contain;
    background-repeat: no-repeat;
    text-indent: -4488em;
    cursor: pointer;
}

.center {
    text-align: center;
}

.video-holder .button {
    margin: 0 auto 2em;
    transform: translateY(-50%);
}

.block.three {
    padding: 6em 10%;
}

.block.three .compbox {
    display: flex;
    gap: 10%;
}    

.block.three .compbox__right,
.block.three .compbox__left {
    width: auto;
}

.block.three .compbox h2 {
    font-weight: 100;
}

.block.three .compbox h2 strong {
    display: block;
}

.page-template-template-video #reference .buttons {
    display: none;
}

.page-template-template-video .main-menu>li.current-page-ancestor>a {
    color: #ffffff;
}

.page-template-template-video.nav-up .main-menu>li.current-page-ancestor>a {
    color: #39374d;
}

.wpcf7-acceptance input[type=checkbox] {
    display: initial;
    position: absolute;
    left: 0;
}

@media screen and (max-width: 770px) {
    .page-template-template-video .block.three .compbox {
        display: block;
        
    }
    .page-template-template-video .compbox__left {
        text-align: left;
    }

    .page-template-template-video .uptitle {
        margin-top: 2em;
    }
}

/* Custom styles */

/* Custom list */
/* *********** */

.compbox ul,
.progbox ul {
  font-size: 16px;
}

.custom-list {
  list-style: none;
  padding: 0;
}

.custom-list-item {
  font-size: 16px;
  padding-left: 25px;
}

.custom-list-item:before {
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  display: inline-block;
  margin-left: -25px;
  width: 25px;
  color: #eb1240;
  font-size: 16px;
  font-weight: 600;
}

/* Service card fix */
/* *********** */

.reflist .item__wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%;
  z-index: 2;
  padding: 20px;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.reflist .item:before {
  top: 48%;
  height: 52%;
}

.reflist .item__type {
    color: #fff;
}

a.block__more:hover {
  height: 55%;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#eb1240),
    to(#fc345e)
  );
}