section {
  width: 950px;
  position: relative;
  height: 600px;
  overflow:hidden;
}
.video {
    margin-bottom: 36px
}

.video figure .wrapper {
    height: 0;
    padding: 0;
    padding-top: 56.25%;
    padding-top: calc(900% / 16);
    position: relative
}

.video figure .wrapper iframe {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
}
.video-carrousel {
    display: inline-block;
    position: relative;
    text-align: center;
    height: 380px;
    width: 80%;
}
.video-carrousel input {
    display: none
}

.video-carrousel input+.video-carrousel__item {
    -webkit-transition: all 0.3s;
    -ms-transition: all 0.3s;
    transition: all 0.3s;
    pointer-events: none;
    display: inline-block;
    left: 0;
    height: 100%;
    margin-right: -4px;
    opacity: 0.2;
    position: absolute;
    vertical-align: middle;
    width: 100%;
    z-index: 1
}

.video-carrousel input+.video-carrousel__item .thumb {
    -webkit-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
    cursor: pointer;
    display: block;
    height: 100%;
    opacity: 0;
    transform: translateX(-170%);
    overflow: hidden;
    padding: 16px;
    position: relative;
    width: 60%
}

.video-carrousel input+.video-carrousel__item .thumb .btn-play {
    -webkit-transition: all 0.3s;
    -ms-transition: all 0.3s;
    transition: all 0.3s;
    background: #4EB8CD;
    border: none;
    border-radius: 7px;
    color: white;
    cursor: pointer;
    font-size: 30px;
    left: calc(50% - 25px);
    position: absolute;
    opacity: 0;
    padding: 10px 10px 10px 10px;
    pointer-events: none;
    top: calc(50% - 34px)
}

.video-carrousel input+.video-carrousel__item .thumb .btn-play:hover {
    background: white;
    color: #2175d9
}

.video-carrousel input+.video-carrousel__item .thumb img {
    border-radius: 7px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: auto;
    height: 100%;
    -ms-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%)
}

@media screen and (min-width: 600px) {
    .video-carrousel input+.video-carrousel__item .thumb img {
        height:auto;
        width: 100%
    }
}

.video-carrousel input+.video-carrousel__item .btn-switch {
    -webkit-transition: all 0.3s;
    -ms-transition: all 0.3s;
    transition: all 0.3s;
    color: #FFF;
    cursor: pointer;
    font-size: 22px;
    line-height: 50px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: calc(50% - 25px);
    height: 50px;
    width: 50px
}

.video-carrousel input+.video-carrousel__item .btn-switch.btn-prev {
    left: 12px;
    padding-left: 14px
}

.video-carrousel input+.video-carrousel__item .btn-switch.btn-prev:icon-arrow-left {
    font-family: 'rnl-icons';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.video-carrousel input+.video-carrousel__item .btn-switch.btn-next {
    padding-left: 18px;
    right: 12px
}

.video-carrousel input+.video-carrousel__item .video {
    -webkit-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
    background: rgba(0,0,0,0.9);
    opacity: 0;
    padding: 12px;
    position: absolute;
    top: 60%;
    margin-bottom: 0;
    pointer-events: none;
    width: 0;
    text-align: center;
    z-index: 10;
    height: 0;
    left: 50%
}

.video-carrousel input+.video-carrousel__item .video .btn-close {
	border: none;
	color: #4CB7CD;
	cursor: pointer;
	padding: 0 6px;
    font-weight: bold;
	position: absolute;
	font-weight: bold;
	right: 24px;
	top: 9px;
	font-size: 30px;
}

.video-carrousel input+.video-carrousel__item .video .btn-close:hover{
color: #e72626;
}

.video-carrousel input+.video-carrousel__item .video .btn-close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

@media screen and (min-width: 600px) {
    .video-carrousel input+.video-carrousel__item .video .btn-close {
        right:0;
        top: 0
    }
}

.video-carrousel input+.video-carrousel__item .video iframe {
    -webkit-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
    height: 100%;
    width: 100%
}

.video-carrousel input+.video-carrousel__item.left {
    opacity: 1;
    z-index: 2
}

.video-carrousel input+.video-carrousel__item.left .thumb {
    -ms-transform: translateX(-69%);
    -webkit-transform: translateX(-69%);
    transform: translateX(-69%);
    opacity: 0.5;
    pointer-events: auto
}

.video-carrousel input+.video-carrousel__item.center {
    opacity: 1;
    z-index: 3
}

.video-carrousel input+.video-carrousel__item.center .thumb {
    width: 100%;
    left: 0;
    opacity: 1;
    pointer-events: auto;
    top: 0;
    -ms-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0)
}

.video-carrousel input+.video-carrousel__item.center .thumb .btn-play {
    opacity: 1;
    pointer-events: auto
}

@media screen and (min-width: 800px) {
    .video-carrousel input+.video-carrousel__item.center .thumb {
        -ms-transform:translateX(33%);
        -webkit-transform: translateX(33%);
        transform: translateX(33%);
        width: 60%
    }
}
.video-carrousel input+.video-carrousel__item.center .thumb .textvideo {
  color: #f2f2f2;
  font-size: 16px;
  padding: 8px 12px;
  position: absolute;
  top: 30px;
  text-shadow: 1px 1px 1px rgba(60, 60, 60, 1);
  left: -2px;
}
.video-carrousel input+.video-carrousel__item.center .thumb .textvideo2 {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 27px;
  text-shadow: 1px 1px 1px rgba(60, 60, 60, 1);
  left: -2px;
}
.video-carrousel input+.video-carrousel__item.center .thumb  .linkvideo {
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 23px;
  right: -2px;
}

.video-carrousel input+.video-carrousel__item.center .active-dot {
    display: block
}

.video-carrousel input+.video-carrousel__item.center .btn-switch {
    opacity: 1;
    pointer-events: auto
}

.video-carrousel input+.video-carrousel__item.center .btn-switch.btn-prev:hover {
    padding-left: 8px
}

.video-carrousel input+.video-carrousel__item.center .btn-switch.btn-next:hover {
    padding-left: 24px
}

.video-carrousel input+.video-carrousel__item.center .toggle-video:checked+.video {
    height: calc(100% + 103px);
    left: -18px;
    right: -18px;
    top: -22px;
    width: calc(100% - 5px);
    opacity: 1;
    pointer-events: auto;
    display: block
}

.video-carrousel input+.video-carrousel__item.center .toggle-video:checked+.video iframe {
    height: 100%;
    width: 100%
}

@media screen and (min-width: 800px) {
    .video-carrousel input+.video-carrousel__item.center .toggle-video:checked+.video iframe {
        width:100%
    }
}

.video-carrousel input+.video-carrousel__item.right {
    opacity: 1;
    z-index: 2;
}

.video-carrousel input+.video-carrousel__item.right .thumb .textvideo {
    display: none;
}


.video-carrousel input+.video-carrousel__item.right .thumb .textvideo2 {
    display: none;
}

.video-carrousel input+.video-carrousel__item.right .thumb .linkvideo {
    display: none;
}

.video-carrousel input+.video-carrousel__item.left .thumb .textvideo {
    display: none;
}


.video-carrousel input+.video-carrousel__item.left .thumb .textvideo2 {
    display: none;
}

.video-carrousel input+.video-carrousel__item.left .thumb .linkvideo {
    display: none;
}

.video-carrousel input+.video-carrousel__item.right .thumb {
    -ms-transform: translateX(135%);
    -webkit-transform: translateX(135%);
    transform: translateX(135%);
    opacity: 0.5;
    pointer-events: auto
}

.video-carrousel input+.video-carrousel__item.right-out {
    opacity: 1;
    z-index: 1
}

.video-carrousel input+.video-carrousel__item.right-out .thumb {
    -ms-transform: translateX(235%);
    -webkit-transform: translateX(235%);
    transform: translateX(235%);
    opacity: 0
}

.video-carousel-nav {
    margin-top: 40px
}

.video-carousel-nav ul {
    text-align: center
}

.video-carousel-nav ul li {
    display: inline-block;
    height: 25px
}

.video-carousel-nav ul li label {
  display: block;
}

.video-carousel-nav ul li label,.video-carousel-nav ul li .toggle a,.toggle .video-carousel-nav ul li a {
    background: #4EB8CD;
    border-radius: 13px;
    cursor: pointer;
    margin: 0 1px 1px 0;
    position: relative;
    height: 17px;
    width: 17px
}

.video-carousel-nav ul li label.active:after,.video-carousel-nav ul li .toggle a.active:after,.toggle .video-carousel-nav ul li a.active:after {
    background: white;
    border-radius: 13px;
    content: "";
    display: block;
    height: 17px;
    width: 17px;
    position: absolute;
}

.video-carousel-nav ul li label:hover,.video-carousel-nav ul li .toggle a:hover,.toggle .video-carousel-nav ul li a:hover {
    height: 17px;
    width: 17px;
   background: white;
    border-radius: 13px
}
