/**
 *  Jquery fbStories 1.0
 *  https://github.com/lianglee/jquery.fbStories
 * 
 *  A UI for stories similar to facebook
 *  Licensed under the Open Source Social Network License (4.0) (Cryptographic Autonomy License version 1.0)
 *
 *  https://www.opensource-socialnetwork.org/licence/v4.0.html
 * 
 * Copyright (C) 2014-2020 SYED ARSALAN HUSSAIN SHAH arsalan@buddyexpress.net,
 * Copyright (C) 2014-2020 OPEN SOURCE SOCIAL NETWORK https://www.opensource-socialnetwork.org,
 **/
.fbstories-outside-container {}

.fbstories-items {
  height: 210px;
}
.fbstories-items .fbstories-item-add,
.fbstories-items .fbstories-item {
  width: 115px;
  height: 200px;
  display: inline-block;
  border-radius: 10px;
  border: 1px solid #dddfee;
  background: #333;
  cursor: pointer;
  margin-right: 10px;
}

.fbstories-items .fbstories-item .user-image {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 4px solid #2084ea;
  border-radius: 50%;
  float: left;
  margin-left: 10px;
  margin-top: 10px;
}
.fbstories-items .fbstories-item-add .image0th,
.fbstories-items .fbstories-item .image0th {
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.fbstories-items .fbstories-item .image0th img {
  border-radius: 10px;
}

.fbstories-items .fbstories-item .user-image img {
  border-radius: 50%;
}

.fbstories-paginate-item {
  display: none;
}

.fbstories-item-previous {
  background: #545454;
  color: #fff;
  text-decoration: none;
  padding: 5px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  text-align: center;
  width: 20px;
  display: inline-block;
}

.fbstories-item-next {
  background: #545454;
  color: #fff;
  text-decoration: none;
  padding: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  text-align: center;
  width: 20px;
  display: inline-block;
}

.fbstories-outside-container .buttons {
  width: 100%;
  text-align: left;
  display:none;
}

.users-information {
  position: absolute;
  background: rgba(51, 51, 51, 0.64);
  width: 100%;
  left: 0;
  margin-top: 10px;
  z-index: 2;
  padding-bottom: 10px
}

.users-information-inner {
  padding-left: 10px;
  padding-right: 10px;
}

.users-information .user-image {
  border-radius: 100%;
  border: 1px solid #fff;
  display: inline-block;
  float: left;
}

.users-information .user-image img {
  border-radius: 100%;
}

.users-information .user-name-time {
  display: inline-block;
  color: #fff;
  margin-left: 8px;
  margin-top: 1px;
}

.users-information .user-name-time .name {
  display: block;
}

.users-information .user-name-time .time {
  font-size: 12px;
}

.fbstories-container {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  background-color: rgba(43, 43, 43, 0.75);
  cursor: auto;
  height: 100%;
}

.fbstories-container-inner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  z-index: 60000;
}

.status-bar {
  height: 5px;
  border-radius: 0;
  border: 0;
  z-index: 3;
  position: relative;
  opacity: 0.7;
  margin-left: -10px;
  margin-right: -10px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.status-bar .ui-progressbar-value {}

.fbstories-container .slideshow-container {
  width: 300px;
  height: 500px;
  position: relative;
  margin: auto;
  background: #333;
  border-radius: 5px;
  margin-top: 10px;
  padding: 10px;
  padding-top: 0px;
}

.fbstories-container .slideshow-container .close {
  font-size: 15px;
  color: #fff;
  float: right;
  z-index: 3;
  position: relative;
  cursor: pointer;
}

.fbstories-container .slideshow-container .fbstories-slides img {
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 0;
  left: 0;
}

.fbstories-slides {
  display: none;
}

.fbstories-container .prev {
  left: 0;
}

.fbstories-container .next {
  right: 0;
}

.fbstories-container .prev,
.fbstories-container .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.fbstories-container .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.fbstories-container .prev:hover,
.fbstories-container .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.fbstories-container .text {
  color: #f2f2f2;
  font-size: 15px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  background: #33333396;
  padding: 5px;
  padding-right: 0;
  padding-left: 0;
  left: 0;
  right: 0;
}

.fbstories-container .total-images {
  color: #f2f2f2;
  font-size: 12px;
  top: 0;
  z-index: 1;
  margin-top: 10px;
  float: right;
}

.fbstories-container .fadefbstories {
  -webkit-animation-name: fadefbstories;
  -webkit-animation-duration: 1.5s;
  animation-name: fadefbstories;
  animation-duration: 1.5s;
}

@-webkit-keyframes fadefbstories {
  from {
    opacity: .4
  }
  to {
    opacity: 1
  }
}

@keyframes fadefbstories {
  from {
    opacity: .4
  }
  to {
    opacity: 1
  }
}
.fbstories-paginate-item .story-viewed .user-image {
	border: 4px solid #d2d2d2;
}
@media only screen and (max-device-width: 480px) {
	.fbstories-items .fbstories-item {
    	width: 100px;
    	height: 150px;
	}
	.fbstories-items {
    	height: 160px;
	}	
}
.fbstories-items .fbstories-item .user-name {
    position: absolute;
    float: left;
    margin-left: 10px;
    margin-top: 10px;
    color: #fff;
    font-weight: bold;
    text-overflow: ellipsis;
    width: 98px;
    flex-wrap: wrap;
    overflow: hidden;
    word-wrap: normal;
    white-space: nowrap;
    margin-top: 170px;
}
.fbstories-add-story {
	color: #fff;
    font-size: 40px;
    text-decoration: none;
}
