@charset "utf-8";

#chat_banner{
  cursor: pointer;
  display: block;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 1000899;
}

#bannerCloseImage{
  position: absolute;
  right: -5px;
  top: -5px;
}
#bannerCloseImageSmall{
  position: absolute;
  right: -22px;
  top: -22px;
}

#smallchatframe {
  z-index: 1000900; 
  position:fixed; 
  bottom:0; 
  right:0;
  overflow:hidden;
}

#smallchatframe.block-back-panel {
  background: rgba(50, 50, 50, 0.5);
  z-index: 1000900;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  min-width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}
#smallchatframe.page_wrapper {
  background: transparent; 
}

#largechatframe{
  background:rgba(50, 50, 50, 0.5); 
  z-index: 1000900; 
  position: fixed;
  top:0;
  bottom:0;
  left:0;
  right:0;
  margin:auto;
  min-width:100%;
  min-height:100%;
  overflow-x:hidden;
}
#largechatframe.page_wrapper {
  background: transparent; 
}

#imgBox{
  margin:auto;
  display: flex;
  align-items: center;
}
  
@media all and (-ms-high-contrast: none){
  #imgBox{
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
}

#imageframe{
  background:rgba(0, 0, 0, 0.5);
  z-index: 1000910;
  position: fixed;
  top:0;
  min-width:100%;
  height:100%;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: scroll;
}

#closeImageframe{
  top: unset;
  right: unset;
  left: unset;
  position: unset;
  float: inherit;
  display: block;
  margin-bottom: auto;
  margin-left: -30px;
  margin-top: -30px;
  z-index: 1000950;
  max-width: 60px;
  max-height: 60px;
  cursor: pointer;
}

@media screen and (max-width:768px){
  #closeImageframe {
    max-width: 30px;
    max-height: 30px;
    position: fixed;
    top: 30px;
    right: 0px;
  }
}

#imageframeSrc{
  margin: 0 0;
  top:0;
  bottom:0;
  max-width: 100%;
  max-height: 100%;
  z-index: 1000920;
  position: relative;
  left: auto;
  right: auto;
}

#avatar_change_panel {
  position: fixed;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  margin: auto;
  width: 700px;
  height: 500px;
  text-align: center;
  background-color: #f2f2f2;
  z-index: 10000000;
  border: solid 1px #888;
}

#avatar_change_panel .avatar_change_panel_header {
  position: absolute;
  top: 0px;
  width: 100%;
  padding: 3px 0px 3px 0px;
  background-color: #f3c719;
}

#avatar_change_panel .avatar_change_panel_header > img {
  float: right;
  height: 20px;
  margin-top: 2px;
  margin-right: 6px;
  cursor: pointer;
}

#avatar_change_panel .avatar_list {
  margin-top: 30px;
  padding: 10px;
  width: 680px;
  height: 450px;
  overflow: auto;
}

#avatar_change_panel .avatar_link_panel {
  position: relative;
  width: 150px;
  height: 100px;
  overflow: hidden;
  display: inline-block;
  background-color: #fafafa;
  border: 1px solid #cccccc;
  border-radius: 3px;
  box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.2);
  cursor: pointer;
}

#avatar_change_panel .avatar_link_panel > img {
  width: 100px;
  position: absolute;
  top: 5px;
  left: 0px;
  right: 0px;
  margin: auto;
}

#avatar_change_panel .avatar_link_panel > span {
  position: absolute;
  bottom: 0px;
  width: 100%;
  left: 0px;
  font-size: 0.8em;
  background-color: #ffffff;
  height: 20px;
  padding-top: 3px;
}