/************************* *******Main Slider****** **************************/ #home{ padding: 0; overflow: hidden; } #home-carousel .carousel-inner .item { background-size:cover; } #home-carousel .slider-content { height: 100%; } #home-carousel video{ position: absolute; top: 0; right: 0; bottom: 0; min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: 11; background-size: cover; overflow: hidden; margin-top: -42px; } #home-carousel .carousel-caption { display: table; height: 100%; width: 100%; min-height: 100%; left: 0; top: 0; z-index: 11; } #home-carousel .carousel-caption > div{ vertical-align: middle; display: table-cell; } #home-carousel .carousel-inner h2 { color: #FFFFFF; font-family: roboto; font-size: 72px; font-weight: 300; margin-bottom: 40px; text-transform: uppercase; text-shadow:none; } #home-carousel .carousel-inner p { color: #FFFFFF; font-family: roboto; font-size: 24px; font-weight: 300; margin-bottom: 59px; margin-top: 0; text-shadow:none; } #home-carousel .carousel-left{ left: -80px; } #home-carousel .carousel-right{ right: -80px; } #home-carousel .carousel-left, #home-carousel .carousel-right{ width: 40px; height: 40px; line-height:40px; font-size:24px; border-color: #fff; transition: all 300ms; z-index: 12; color:#fff; border:1px #fff solid; font-family:瀹嬩綋; } #home-carousel .carousel-left:hover, #home-carousel .carousel-right:hover { border-color: #e60027; background:#e60027; } #home-carousel .carousel-left i, #home-carousel .carousel-right i{ font-style: normal; } #home-carousel:hover .carousel-left{ left: 65px; } #home-carousel:hover .carousel-right{ right: 65px; } #home-carousel .video-container { position: relative; padding: 0; height: 0; overflow: hidden; } #home-carousel .video-container iframe, #home-carousel .video-container object, #home-carousel .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } #home-carousel .video-mask { position: absolute; top: 0; left: 0; z-index: 10; width: 100%; height: 100%; background: rgba(0,0,0,.3); } .carousel-right { right:65px } .carousel-left { left:65px } .carousel-left:hover, .carousel-right:hover { color:#fff; } .carousel-left, .carousel-right { height: 32px; position: absolute; text-align: center; top: 42%; width: 32px; }