.stories_form {
  
  width: 285px;
  height: 380px;
  background-color: #627A85;
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  
}

.stories_form_button {
  
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: #7EA1F2;
  border-radius: 100%;
  display: inline-block;
  position: absolute;
  z-index: 10;
  right: 10px;
  top: 23px;
  text-align: center;
  color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
  
}

.stories_form_num {
  
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: #C3D1DA;
  border-radius: 100%;
  display: inline-block;
  position: absolute;
  z-index: 10;
  left: 10px;
  top: 23px;
  text-align: center;
  color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
  font-size: 16px;
  
}

.stories_form_textarea {

  width: 83%;
  box-sizing: border-box;
  position: absolute;
  left: 24px;
  right: 24px;
  text-align: center;
  font-size: 17px;
  font-weight: bold;
  background: none;
  border: none;
  outline: none;
  padding: 10px;
  top: 65px;
  resize: none;
  z-index: 10;
  
}

.stories_form_textarea::-webkit-scrollbar { height: 0px; width: 0px; }
.stories_form_textarea::-webkit-scrollbar-button {  display: none; }
.stories_form_textarea::-webkit-scrollbar-track {  background-color: #909DA7; }
.stories_form_textarea::-webkit-scrollbar-track-piece { background-color: #ffffff; }
.stories_form_textarea::-webkit-scrollbar-thumb { height: 0px; background-color: #909DA7; border-radius: 4px; }
.stories_form_textarea::-webkit-scrollbar-corner { background-color: #909DA7; }
.stories_form_textarea::-webkit-resizer { background-color: #909DA7; }
.stories_form_textarea::scrollbar { height: 0px; width: 0px; }
.stories_form_textarea::scrollbar-button {  display: none; }
.stories_form_textarea::scrollbar-track {  background-color: #909DA7; }
.stories_form_textarea::scrollbar-track-piece { background-color: #ffffff; }
.stories_form_textarea::scrollbar-thumb { height: 0px; background-color: #909DA7; border-radius: 4px; }
.stories_form_textarea::scrollbar-corner { background-color: #909DA7; }
.stories_form_textarea::resizer { background-color: #909DA7; }

.stories_form_textarea::placeholder {

  color: #E7EAF0;
  
}

.stories_form_num_active {

  background-color: #7AE5AB;
  
}
                                 
.stories_form_img {
  
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}
                                 
.stories_form_button_text {
  
  height: 30px;
  min-width: 150px;
  background-color: #38CD8E;
  border: none;
  outline: none;
  border-radius: 5px;
  position: absolute;
  top: 300px;
  left: 50%;
  transform: translate(-50%);
  text-align: center;
  color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
  z-index: 11;
  
}
                                 
.stories_form_button_text-o {
  
  padding: 8px 1em;
  background-color: #71A9C3;
  border: none;
  outline: none;
  border-radius: 5px;
  display: inline-block;
  position: absolute;
  top: 338px;
  left: 50%;
  transform: translate(-50%);
  text-align: center;
  color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
  z-index: 11;
  
}
                                 
.stories_color_text {
  
  border: 1px #B0BEC5 solid;
  border-radius: 100%;
  display: inline-block;
  width: 28px;
  height: 28px;
  margin: 2px;
  
}

.stories_form_phone {
  
  width: 100%;
  height: 100%;
  display: inline-block;
  background-color: #768991;
  position: absolute;
  left: 0;
  top: 0;
  
}

.stories_list_body {
  
  height: 150px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  
} 

.stories_list_body::-webkit-scrollbar { height: 4px; width: 0px; }
.stories_list_body::-webkit-scrollbar-button {  display: none; }
.stories_list_body::-webkit-scrollbar-track {  background-color: #909DA7; }
.stories_list_body::-webkit-scrollbar-track-piece { background-color: #ffffff; }
.stories_list_body::-webkit-scrollbar-thumb { height: 0px; background-color: #909DA7; border-radius: 4px; }
.stories_list_body::-webkit-scrollbar-corner { background-color: #909DA7; }
.stories_list_body::-webkit-resizer { background-color: #909DA7; }
.stories_list_body::scrollbar { height: 4px; width: 0px; }
.stories_list_body::scrollbar-button {  display: none; }
.stories_list_body::scrollbar-track {  background-color: #909DA7; }
.stories_list_body::scrollbar-track-piece { background-color: #ffffff; }
.stories_list_body::scrollbar-thumb { height: 0px; background-color: #909DA7; border-radius: 4px; }
.stories_list_body::scrollbar-corner { background-color: #909DA7; }
.stories_list_body::resizer { background-color: #909DA7; }
  
.stories_list {
  
  height: 140px;
  width: 85px;
  background: linear-gradient(45deg, #79F2C4, #819DFF);
  border-radius: 8px;
  position: relative; 
  display: inline-block;                            
  margin: 2px;
  overflow: hidden;                            
  
}
                              
.stories_list_avatar {

  position: absolute; 
  bottom: 10px;
  left: 50%;
  transform: translate(-50%);
  background-color: #899DAB;
  display: inline-block;
  width: 46px;
  height: 46px;
  line-height: 46px;
  border-radius: 100%;
  overflow: hidden;
  color: white;
  text-align: center;
  
} 
                              
.stories_list_avatar_border_active {

  border: 3px #00FF94 solid;
  
}
                              
.stories_list_avatar_border_no_active {

  border: 3px #C3DAEA solid;
  
} 
                              
.stories_list_plus_my {

  position: absolute;
  top: 20px;
  left: 50%;
  transform: translate(-50%);
  font-size: 20px;
  color: white;
  
}

.stories_count {
  
  display: inline-block;
  padding: 4px 0.5em;
  border-radius: 10px;
  color: #546E7A;
  border: 1px #546E7A solid;
  margin-right: 4px;
  
}

.stories_count:hover {
  
  color: #368DB5;
  border: 1px #368DB5 solid;
  
}

.stories_content_modal {
  
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #2D3539;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 102;
  width: 100%;
  height: 100%;
  box-shadow: 0px 0px 8px 0px rgba(158,160,183,0.32);
  overflow: hidden;
  animation-name: modal_center_close;
  animation-duration: 0.4s;
  overflow: hidden;

}
  
@media screen and (min-width: 380px) {
  
  .stories_content_modal {
    
    border-radius: 7px;
    width: 340px;
    height: 480px;
    
  }
  
}  

.stories_content_modal.modal_center_active {

  animation-name: modal_center_open;
  animation-duration: 0.4s;

}
  
.story_content_like {
  
  position: absolute;
  top: 34px;
  width: 37px;
  height: 37px;
  line-height: 40px;
  right: 12px;
  background-color: #4C585D;
  text-align: center;
  border-radius: 100%;
  color: #181A1A;
  z-index: 2;
  
}  
  
.story_content_user {
  
  position: absolute;
  top: 30px;
  white-space: nowrap;
  left: 52px;
  z-index: 2;
  
}
  
.story_content_menu {
  
  position: absolute;
  bottom: 10px;
  white-space: nowrap;
  left: 12px;
  right: 12px;
  z-index: 2;
  
}  
  
.story_content_close {
  
  color: white;
  position: absolute;
  left: 15px;
  top: 39px;
  z-index: 2;
  
}
  
.stories_count2 {
  
  display: inline-block;
  padding: 5px 0.6em;
  margin-right: 2px;
  color: #D5E2E8;
  border-radius: 10px;
  border: 1px #D5E2E8 solid;
  background: rgba(80,90,90,0.7);
  
}
  
.story_content_like_active {
  
  background: white;
  color: #FF5C80;
  
}

.stories_progress {
  
  background-color: black;
  height: 5px;
  border-radius: 10px;
  margin-top: 13px;
  margin-left: 4px;
  margin-right: 2px;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 2;

}

.stories_progress_active {
  
  left: 0;
  top: 0;
  position: absolute;
  height: 5px;
  background-color: white;

}