.video-container { overflow: hidden; display: block; width: 100%; margin: 2px auto 10px; float: right; } .servers-name { display: block; overflow: hidden; padding: 4px 0; float: right; width: 100%; } .servers-name .button { margin-bottom: 3px; display: inline-block; position: relative; cursor: pointer; padding: 0 16px 3px; border: 0; font-size: 13px; font-weight: 700; float: right; margin-left: 6px; background: #ececec; z-index: 3; top: auto; color: rgb(21,15,15); border-radius: 2px; height: 32px; padding-right: 38px; line-height: 16px; overflow: hidden; font-family: 'Droid Arabic Kufi'; font-weight: 700; } .servers-name .button::before { content: ""; color: #fff; text-align: center; position: absolute; right: 0; background: #444; height: 33px; top: 0; width: 30px; font-family: FontAwesome; font-size: 17px; content: "\f01d"; line-height: 32px; font-weight: 100; } .video-container .active, .video-container .button:hover { background: rgb(224,0,37); transition: .3s all cubi; color: #fff!important; } .video-con { display: block; width: 100%; }