/**
 * apparently Coral Talk styling will be included in javascript files (components)
 * in future releases, but for now we are using the existing css file and overriding it
 */

 /**
  * Importing Adobe Fonts from 'NYMag Miller Family' project
  */
@import url('https://use.typekit.net/rdv8tox.css');

* {
  font-family: inherit;
  box-sizing: border-box;
}

html, body {
  width:auto;
  height:auto;
  max-width: 760px;
  margin: auto;
}

body {
  font-family: miller-text, Georgia, serif;
  width: 100%;
  font-size: 14px;
  margin: 0px;
  padding: 0px 0px 100px 0px;
  height: auto !important;
}

#talk-embed-stream-container {
  padding: 4px;
}

.expandForSignin {
  min-height: 600px;
}

.coralButton {
  margin: 5px 10px 5px 0px;
  background: none;
  padding: 0px;
  border: none;
  font-size: inherit;
}

.coralButton:hover {
  border-radius: 2px;
  color: #767676;
}

.coralButton i {
  margin-right: 3px;
}

.coralHr {
  border: 0;
  height: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
    overflow: hidden;
    position: absolute !important;
}

/* Notification styles */
#coral-notif {
  position: fixed;
  border: 0;
  background: rgb(105,105,105);
  color: white;
  border-radius: 2px;
  font-weight: bold;
}


/* Info Box Styles */

.talk-plugin-infobox-info {
  background-color: transparent;
  font-size: 16px;
  margin: 0;
  padding: 0;
  font-weight: normal;
  font-style: italic;
  font-stretch: normal;
  line-height: 1.33;
  letter-spacing: normal;
  text-align: center;
  color: #666666;
}

.talk-plugin-infobox-info  ul {
  padding: 0;
  text-align: left;
}

.talk-plugin-infobox-info li {
  list-style: none;
}

.talk-plugin-infobox-info em{
  font-style: italic;
}

.talk-plugin-infobox-info strong{
  font-weight: bold;
}

.talk-plugin-infobox-info blockquote{
  border-left: solid 2px #2a2a2a;
  padding-left: 10px;
}


.talk-plugin-infobox-info a{
  color: #666666;
}

/* Question Box Styles */

.talk-stream-comments-container {
  position: relative;
}

/* Comment styles */
.comment {
  margin-bottom: 10px;
  position: relative;
}

.talk-plugin-commentcontent-text {
  margin-bottom: 7px;
  font-size: 16px;
  font-weight: 100;
  line-height: 1.3;
}

/* Tag Labels */

.talk-plugin-tag-label {
  background-color: #4C1066;
  color: white;
  display: inline-block;
  border-radius: 2px;
  font-size: 12px;
  padding: 5px 6px;
}

/* Comment Action Styles */

.commentActionsRight, .replyActionsRight {
  display: flex;
  justify-content: flex-end;
}
.commentActionsLeft, .replyActionsLeft {
  display: flex;
  justify-content: flex-start;
  float: left;
}

button.comment__action-button,
.comment__action-button button {
  cursor: pointer;
}

button.comment__action-button[disabled],
.comment__action-button[disabled] button {
  cursor: inherit;
}

.comment__action-button--nowrap {
  white-space: nowrap;
}

.likedButton {
  color: rgb(0,134,227);
}

.flaggedIcon {
  color: #F00;
}

/* Flag Styles */

.talk-plugin-flags-popup-form {
  margin-bottom: 10px;
}

.talk-plugin-flags-popup-header {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 10px;
}

.talk-plugin-flags-popup-radio {
  margin:5px;
}

.talk-plugin-flags-popup-radio-label {
  margin:5px;
  font-weight: 400;
  font-size: .9rem;
}

.talk-plugin-flags-popup-counter {
  float: left;
  margin-top: 21px;
  color: #999;
}

.talk-plugin-flags-popup-button {
  float: right;
  margin-top: 10px;
}

.talk-plugin-flags-reason-text {
  margin-left: 20px;
  margin-top: 5px;
  width: 75%;
  font-size: 16px;
  border: 1px solid #ccc;
  max-width: calc(100% - 40px);
}

/* Close comments */

.close-comments-message {
  box-sizing: border-box;
  width: 100%;
  height: 100px;
}

.close-comments-confirm-wrapper {
  float: right;
}

.close-comments-alert {
  background-color: #d65344;
  color: white;
  font-size: 1.33rem;
  padding: 5px;
}

.close-comments-alert i.material-icons {
  font-size: 16px !important;
}

/* Load More */

.talk-load-more {
  text-align: center;
}

.talk-load-more button {
  width: 100%;
  text-align: center;
  color: #FFF;
  background-color: #2376D8;
  border-radius: 2px;
  cursor: pointer;
  padding: 10px;
  border-radius: 2px;
  line-height: 1em;
  text-transform: capitalize;
  display: inline-block;
}

.talk-load-more:hover button {
  background-color: #4399FF;
}

.talk-new-comments {
  width: 100%;
  text-align: center;
  margin: 4px 0;
}

.talk-load-more-replies {
  width: 100%;
  padding-left: 20px;
  box-sizing: border-box;
}

.talk-load-more-replies .talk-load-more-button {
  background-color: transparent;
  color: #979797;
  border: #979797 solid 1px;
  border-radius: 2px;
}

.talk-load-more-replies .talk-load-more:hover button {
  background-color: #979797;
  color: white;
}

.hidden  {
  visibility: hidden;
  display: none;
}

/* Custom */

.talk-plugin-commentbox-button-container .talk-plugin-commentbox-button {
  color: #ffffff;
  background-color: #000000;
}

.talk-plugin-commentbox-button-container .talk-plugin-commentbox-button,
.talk-plugin-commentbox-button-container .talk-plugin-commentbox-cancel-button {
  border-radius: 0;
  height: 26px;
  font-family: Helvetica;
  font-size: 13px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 0.35px;
  text-align: center;
}

.talk-plugin-commentbox-textarea {
  border-radius: 1px;
  box-shadow: inset 0 0 1px 0 rgba(0, 0, 0, 0.5);
  border: solid 1px #cccccc;
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.25;
  letter-spacing: normal;
  color: #999999;
  resize: vertical;
}

.talk-tab-count.talk-tab-active {
  background-color: #000000;
  width: 23px;
  height: 14px;
  font-family: Helvetica;
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #ffffff;
}

.talk-slot-comment-input-detail-area {
  margin-right: 15px;
}

.talk-slot-comment-input-detail-area > div {
  margin-top: 0;
}

.talk-slot-comment-input-detail-area label {
  letter-spacing: 0.33px;
  text-align: center;
  color: #666666;
  font-size: 13px;
  padding: 0;
  position: relative;
  font-family: Helvetica, Arial, sans-serif;
}

.talk-slot-comment-input-detail-area input {
  border-radius: 0;
  outline: 0;
  margin-right: 8px;
}

.talk-plugin-author-menu-button > span {
  font-size: 16px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #333333;
}

.talk-stream-comment-content {
  font-size: 16px;
  font-stretch: normal;
  color: #333333;
  padding-bottom: 15px;
  line-height: 1.33;
}

.talk-slot-comment-timestamp > span,
.talk-stream-comment-published-date > span {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 1.6px;
  color: #666666;
  text-transform: uppercase;
}

.talk-stream-tab-container .talk-tab-active .talk-tab-button,
.talk-stream-tab-container .talk-tab-active .talk-tab-button:focus,
.talk-stream-tab-container .talk-tab-active .talk-tab-button:hover {
  border-bottom: 2px solid #000000;
}

.talk-stream-tab-container .talk-tab-button,
.talk-stream-tab-container .talk-tab-button:focus,
.talk-stream-tab-container .talk-tab-button:hover {
  border-bottom: 2px solid #d5d5d5;
}

.talk-tab-bar li button,
.talk-tab-bar li button:focus,
.talk-tab-bar li button:hover {
  background-color: transparent;
  margin: 0 6px;
  padding: 10px 20px;
}

.talk-embed-stream-comment-actions-container-right {
  justify-content: space-between;
}

.talk-tab-bar {
  font-family: Helvetica, Arial, sans-serif;
}

.talk-slot-stream-filter {
  font-family: Helvetica, Arial, sans-serif;
}

.talk-plugin-viewing-options i {
  font-size: 22px;
}

.talk-tab-bar > li:first-of-type > button {
  margin: 0;
}

.talk-stream-comment-actions-container [class^='talk-plugin']:not(i),
button.talk-plugin-like-button {
  font-family: Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #666666;
  font-size: 10px;
  margin-top: 0;
  margin-bottom: 0;
}

/* Trying to override a weird css in Talk core */
.talk-plugin-like-button {
  margin: 0 15px 0 0;
}
/* End */

.talk-plugin-commentbox-button-container {
  align-items: center;
}

/* Icons */
.talk-plugin-replies-reply-button .material-icons,
.talk-plugin-permalink-button .material-icons,
.talk-plugin-flags-button .material-icons {
  font-size: 16px;
}

.talk-plugin-like-label i {
  font-size: 12px;
}

.talk-stream-comment-actions-container button {
  position: relative;
}

.talk-stream-comment-actions-container {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.talk-embed-stream-comment-actions-container-left,
.talk-embed-stream-comment-actions-container-right {
  align-items: center;
  float: none;
}

.talk-embed-stream-comment-actions-container-right {
  flex-grow: 1;
}

.talk-plugin-like-liked i {
  color: #000000;
}

.talk-plugin-tag-label,
.talk-slot-comment-info-bar .talk-stream-comment-featured-tag-label,
.talk-slot-comment-info-bar .talk-stream-comment-offtopic-tag-label {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 10px;
  padding: 2px 2px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.talk-plugin-tag-label {
  font-style: italic;
  background-color: #000000;
}

.talk-slot-comment-info-bar .talk-stream-comment-featured-tag-label {
  background-color: rgb(255,42,37);		
}

.talk-embed-stream-moderation-link {
  color: #333;
}
