@charset "UTF-8";
.clearfix {
  zoom: 1;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/*absolute書き方例
p{
    @include absolute(0, 0, 0, 0);
}
p{
    @include absolute($top: calc(50% - 200px), $bottom: 50px);
}
*/
.typography {
  font-family: sans-serif;
  line-height: 1.4;
  letter-spacing: 0.7px;
  font-kerning: none;
  word-break: normal;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  font-feature-settings: "palt";
  -webkit-font-feature-settings: "palt";
}

.scrollbar::-webkit-scrollbar {
  width: 8px;
}

.scrollbar::-webkit-scrollbar-track {
  border-radius: 8px;
  box-shadow: inset 0 0 5px #e0e0e0;
}

.scrollbar::-webkit-scrollbar-thumb {
  background-color: #9e9e9e;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #e0e0e0;
}

.button, .cc_header .cc_exit, .cc_header .button-chat-tip, .cc_form button {
  display: inline-block;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 40px;
  height: 40px;
  width: 232px;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 8px;
}

.button:hover, .cc_header .cc_exit:hover, .cc_header .button-chat-tip:hover, .cc_form button:hover {
  cursor: pointer;
  opacity: 0.75;
}

.button:active, .cc_header .cc_exit:active, .cc_header .button-chat-tip:active, .cc_form button:active {
  box-shadow: inset 0 2px 2px #9e9e9e;
}

.button:disabled, .cc_header .cc_exit:disabled, .cc_header .button-chat-tip:disabled, .cc_form button:disabled {
  background-color: #bdbdbd;
  color: #616161;
  box-shadow: none;
  opacity: 1;
  cursor: inherit;
}

@media (max-width: 768px) {
  .button, .cc_header .cc_exit, .cc_header .button-chat-tip, .cc_form button {
    line-height: 48px;
    height: 48px;
    width: 256px;
  }
}

.btn-group > .btn:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btn-group > .btn:last-child:not(:first-child), .btn-group > .dropdown-toggle:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
  border-radius: 0;
}

/*.btn-group .btn+.btn, .btn-group .btn+.btn-group, .btn-group .btn-group+.btn, .btn-group .btn-group+.btn-group{
    margin-left: -1px;
}*/
.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #0277bd;
  text-decoration: underline;
}

.remove-btn-meta {
  border: none;
  background-color: transparent;
  box-shadow: none;
  color: #01579b;
}

/* form */
.cc_header {
  padding: 8px;
  height: 64px;
}

.cc_header .cc_exit {
  height: 40px;
  line-height: 40px;
  width: 64px;
  border-color: #e0e0e0;
  background-color: #fff;
}

.cc_header .button-chat-tip {
  height: 40px;
  line-height: 40px;
  width: 56px;
  margin-left: 8px;
  border-radius: 8px;
  border-color: #e0e0e0;
  background-color: #fff;
}

.cc_header .button-chat-tip .icon-chat {
  text-align: center;
  vertical-align: middle;
}

#cc #cc_form .button-group {
  width: 100%;
  margin-top: 5px;
}

.cc_form {
  display: flex;
  display: -ms-flex;
  display: -webkit-flex;
  padding: 8px;
}

.cc_form input {
  width: calc(100% - 64px - 8px);
  height: 40px;
  padding: 0 8px;
  border-radius: 8px;
  box-shadow: 0 2px 2px 0 #9e9e9e;
}

.cc_form button {
  height: 40px;
  line-height: 40px;
  width: 64px;
  background-color: #fff;
  border-color: #0277bd;
  color: #0277bd;
}

/* message area */
#cc #cc_area {
  min-height: 300px;
  max-height: 300px;
  height: 300px;
  overflow: auto;
}

@media (max-width: 768px) {
  #cc #cc_area {
    min-height: calc(100vh - 200px);
    max-height: calc(100vh - 200px);
    height: calc(100vh - 200px);
  }
}

#cc .message, #cc .system {
  border-width: 1px 0;
  border-radius: 0;
  padding: 8px 8px 5px 5px;
  transition: all .3s ease-in-out;
}

#cc .message {
  cursor: pointer;
}

#cc .message.own {
  cursor: inherit;
  color: #31708f;
}

#cc .message.certified .nickname:before {
  content: "\e013";
  color: #208B68;
  box-sizing: border-box;
  position: relative;
  top: 1px;
  display: inline-block;
  margin-right: 5px;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#cc .message.admin {
  color: #a94442;
}

#cc .message.admin .nickname:before {
  content: url(images/chat/zaificon.png);
  width: 16px;
  height: 16px;
  position: relative;
  top: 3px;
  margin-right: 5px;
}

#cc .message .nickname {
  font-size: 90%;
}

#cc .system .content {
  font-size: 90%;
  opacity: .85;
}

#cc .message, #cc .system {
  line-height: 1.2;
}

#cc .message .media-left {
  padding-right: 5px;
}

#cc .message h5 {
  font-weight: bold;
  opacity: .8;
}

#cc .account_picture {
  margin-right: 5px;
}

#cc .timestamp, #cc .likes {
  font-size: 90%;
}

#cc .message .media-left {
  display: table-cell;
}

@media screen and (max-width: 768px) {
  #cc #cc_area {
    min-height: 240px;
    height: auto;
    width: 100%;
  }
  #cc .message .media-left {
    display: table-cell;
  }
}

/* modal */
#cc #cc_like_dialog_tip h5 {
  margin-bottom: 1em;
  font-weight: bold;
}

#cc #cc_like_dialog_tip .input-group {
  margin-bottom: 1em;
}

#cc #cc_like_dialog_tip .input-group-addon {
  width: 100px;
}

#cc #cc_like_dialog_tip .input-group-addon > span {
  background-repeat: no-repeat;
  background-size: 20px;
  padding: 3px 0 3px 25px;
  font-size: 12px;
  line-height: 1;
  font-weight: bold;
}

#cc .cc_bitcoin {
  background-image: url(images/chat/bitcoin.png);
  color: #db8721;
}

#cc .cc_monacoin {
  background-image: url(images/chat/monacoin.png);
  color: #766b51;
}

@keyframes hover-color {
  from {
    border-color: #c0c0c0;
  }
  to {
    border-color: #3e97eb;
  }
}

.magic-radio,
.magic-checkbox {
  position: absolute;
  display: none;
}

.magic-radio[disabled],
.magic-checkbox[disabled] {
  cursor: not-allowed;
}

.magic-radio + label,
.magic-checkbox + label {
  position: relative;
  display: block;
  padding-left: 30px;
  cursor: pointer;
  vertical-align: middle;
}

.magic-radio + label:hover:before,
.magic-checkbox + label:hover:before {
  animation-duration: 0.4s;
  animation-fill-mode: both;
  animation-name: hover-color;
}

.magic-radio + label:before,
.magic-checkbox + label:before {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  width: 20px;
  height: 20px;
  content: '';
  border: 2px solid #c0c0c0;
}

.magic-radio + label:after,
.magic-checkbox + label:after {
  position: absolute;
  display: none;
  content: '';
}

.magic-radio[disabled] + label,
.magic-checkbox[disabled] + label {
  cursor: not-allowed;
  color: #e4e4e4;
}

.magic-radio[disabled] + label:hover, .magic-radio[disabled] + label:before, .magic-radio[disabled] + label:after,
.magic-checkbox[disabled] + label:hover,
.magic-checkbox[disabled] + label:before,
.magic-checkbox[disabled] + label:after {
  cursor: not-allowed;
}

.magic-radio[disabled] + label:hover:before,
.magic-checkbox[disabled] + label:hover:before {
  border: 2px solid #e4e4e4;
  animation-name: none;
}

.magic-radio[disabled] + label:before,
.magic-checkbox[disabled] + label:before {
  border-color: #e4e4e4;
}

.magic-radio:checked + label:before,
.magic-checkbox:checked + label:before {
  animation-name: none;
}

.magic-radio:checked + label:after,
.magic-checkbox:checked + label:after {
  display: block;
}

.magic-radio + label:before {
  border-radius: 50%;
}

.magic-radio + label:after {
  top: 6px;
  left: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3e97eb;
}

.magic-radio:checked + label:before {
  border: 2px solid #3e97eb;
}

.magic-radio:checked[disabled] + label:before {
  border: 2px solid #c9e2f9;
}

.magic-radio:checked[disabled] + label:after {
  background: #c9e2f9;
}

.magic-checkbox + label:before {
  border-radius: 3px;
}

.magic-checkbox + label:after {
  top: 2px;
  left: 7px;
  box-sizing: border-box;
  width: 6px;
  height: 12px;
  transform: rotate(45deg);
  border-width: 2px;
  border-style: solid;
  border-color: #fff;
  border-top: 0;
  border-left: 0;
}

.magic-checkbox:checked + label:before {
  border: #3e97eb;
  background: #3e97eb;
}

.magic-checkbox:checked[disabled] + label:before {
  border: #c9e2f9;
  background: #c9e2f9;
}
