.carousel .carousel-control-prev, .carousel .carousel-control-next { width: 35px; height: 35px; background-color: rgba(63, 64, 61, 0.5); /* top: calc(-20% -25%); */ opacity: .8; top: 30px; right: 10px; border: 2px solid white; border-radius: 50%; } .carousel .carousel-control-prev { left: unset; right: 50px; } /* .carousel .zone-carousel-control-home{ top: 100px; } */ .carousel-control-next:hover, .carousel-control-prev:hover { color: white !important; background-color: rgba(63, 64, 61, 0.4); border: 2px solid #DBDBDB; } /* .zone-carousel-control{ position: absolute; } */ .zone-carousel-text { position: absolute; top: 38px; color: white; right: 95px; } .carousel-caption { width: 100%; left: 0; bottom: 0; text-align: left; /* left: 5%; right: 5%; */ } .carousel-caption .title{ /* text-align: left; */ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } .zone-carousel-badge { position: absolute; left: 0; top: 30px; border-left: 5px solid #002A52; background-color: rgba(192, 192, 192, 0.5); } .news-description { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; /* color: w; */ } .banner img { float: left; } /* CAROUSEL CSS DETAIL BERITA*/ .news-carousel .owl-nav button { position: absolute; top: 50%; background-color: #ccc; color: #fff; margin: 0; transition: all 0.3s ease-in-out; } .news-carousel .owl-nav button.owl-prev { left: 0; } .news-carousel .owl-nav button.owl-next { right: 0; } .news-carousel .owl-dots { text-align: center; padding-top: 15px; } .news-carousel .owl-dots button.owl-dot { width: 50px; height: 5px; border-radius: 5%; display: inline-block; background-color: #B3B2B5 !important; margin: 0 3px; } .news-carousel .owl-dots button.owl-dot.active { background-color: #0054A3 !important; } .news-carousel .owl-dots button.owl-dot:focus { outline: none; } .news-carousel .owl-nav button { position: absolute; width: 50px; top: 30%; font-size: 30px; transform: translateY(-50%); background: white !important; } .news-carousel .owl-nav button.owl-prev { transform: translateY(-50%) translateX(-50%); } .news-carousel .owl-nav button.owl-next { transform: translateY(-50%) translateX(50%); } .news-carousel .owl-carousel .owl-nav button.owl-prev { font-size: 30px !important; } .news-carousel .owl-carousel .owl-nav button.owl-next { font-size: 30px !important; } .news-carousel .owl-nav button:focus { outline: none; } @media(max-width:580px) { .zone-btn-carousel { display: none; } }