@charset "UTF-8";
body,
input,
.select2 {
  font-family: "Nunito", sans-serif;
}

/** Reset gutters **/
.col {
  margin: 0;
  padding: 0;
}

/** Default styles **/
.centered {
  float: none !important;
  margin: 0 auto;
}

.margin-0 {
  margin: 0 !important;
}

.margin-10 {
  margin: 10px !important;
}

.margin-bottom-0 {
  margin-bottom: 0 !important;
}

.margin-bottom-5 {
  margin-bottom: 5px !important;
}

.margin-bottom-15 {
  margin-bottom: 15px !important;
}

.margin-bottom-25 {
  margin-bottom: 25px !important;
}

.margin-left-5 {
  margin-left: 5px !important;
}

.margin-right-5 {
  margin-right: 5px !important;
}

.margin-top-5 {
  margin-top: 5px;
}

.margin-top-10 {
  margin-top: 10px;
}

.margin-top-20 {
  margin-top: 20px;
}

.margin-top-30 {
  margin-top: 30px;
}

.notification {
  border-radius: 4px;
  padding: 10px 15px !important;
  border: 1px solid transparent;
}

.notification.error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.w-33 {
  width: 33% !important;
}

.w-50 {
  width: 50% !important;
}

.w-66 {
  width: 66% !important;
}

.w-100 {
  width: 100% !important;
}

.w-100px {
  width: 100px !important;
}

.w-110px {
  width: 110px !important;
}

.w-125px {
  width: 125px !important;
}

.w-130px {
  width: 130px !important;
}

.w-140px {
  width: 140px !important;
}

.w-150px {
  width: 150px !important;
}

.w-160px {
  width: 160px !important;
}

.w-200px {
  width: 200px !important;
}

.w-300px {
  width: 300px !important;
}

.w-400px {
  width: 400px !important;
}

.w-500px {
  width: 500px !important;
}

.w-600px {
  width: 500px !important;
}

.inline-block {
  display: inline-block !important;
}

.flex-box {
  display: flex;
  flex-wrap: nowrap;
}

.flex-box-wrap {
  display: flex;
  flex-wrap: wrap;
}

.flex-fixed-25px {
  flex: 0 0 25px;
}

.flex-fixed-30px {
  flex: 0 0 30px;
}

.flex-fixed-50px {
  flex: 0 0 50px;
}

.flex-fixed-60px {
  flex: 0 0 60px;
}

.flex-fixed-75px {
  flex: 0 0 75px;
}

.flex-fixed-100px {
  flex: 0 0 100px;
}

.flex-fixed-125px {
  flex: 0 0 125px;
}

.flex-fixed-175px {
  flex: 0 0 175px;
}

.flex-fixed-200px {
  flex: 0 0 200px;
}

.flex-fixed-250px {
  flex: 0 0 250px;
}

.flex-fixed-350px {
  flex: 0 0 350px;
}

.flex-fixed-400px {
  flex: 0 0 400px;
}

.flex-fixed-33-padded {
  flex: 0 0 calc(33% - 20px);
}

.flex-fixed-33 {
  flex: 0 0 33%;
}

.flex-fixed-50-padded {
  flex: 0 0 calc(50% - 20px);
}

.flex-grow {
  flex: 1 0;
}

.padding-0 {
  padding: 0 !important;
}

.padding-bottom-10 {
  padding-bottom: 10px !important;
}

.padding-bottom-15 {
  padding-bottom: 15px !important;
}

.padding-bottom-20 {
  padding-bottom: 20px !important;
}

.padding-top-5 {
  padding-top: 5px !important;
}

.padding-top-8 {
  padding-top: 8px !important;
}

.padding-top-10 {
  padding-top: 10px !important;
}

.pastel-0 {
  background-color: #836953 !important;
}

.pastel-1 {
  background-color: #9adedb !important;
}

.pastel-2 {
  background-color: #aaf0d1 !important;
}

.pastel-3 {
  background-color: #b2fba5 !important;
}

.pastel-4 {
  background-color: #b39eb5 !important;
}

.pastel-5 {
  background-color: #89cff0 !important;
}

.pastel-6 {
  background-color: #fdfd96 !important;
}

.pastel-7 {
  background-color: #ff6961 !important;
}

.pastel-8 {
  background-color: #ff9899 !important;
}

.pastel-9 {
  background-color: #ca9bf7 !important;
}

.material-tooltip {
  border-radius: 5px;
  font-size: 14px;
  line-height: initial;
  padding: 8px 10px;
}

.text-link {
  cursor: pointer;
}
.text-link:hover {
  text-decoration: underline;
}

.click-options > span:not(:first-child)::before {
  content: "•";
  margin: 0 4px 0 0;
}

audio {
  margin-bottom: 25px;
}

body {
  background-color: #fff;
  color: #222;
}

button:not(.select2-selection__choice__remove),
submit {
  border: 2px solid black;
  border-radius: 8px;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  height: 48px;
  line-height: 14px;
  padding: 14px;
  position: relative;
  text-align: center;
  text-decoration: none;
}
button:not(.select2-selection__choice__remove).button-salmon,
submit.button-salmon {
  background-color: #eb5757;
  border-color: #eb5757;
  color: #fff;
}
button:not(.select2-selection__choice__remove).button-salmon:hover,
submit.button-salmon:hover {
  background-color: #f55757;
}
button:not(.select2-selection__choice__remove).button-black,
submit.button-black {
  background-color: black;
  color: #fff;
}
button:not(.select2-selection__choice__remove).button-white,
submit.button-white {
  background-color: white;
  border-color: #eb5757;
  color: #eb5757;
}
button:not(.select2-selection__choice__remove).button-white:hover,
submit.button-white:hover {
  background-color: #f5f5f5;
}
button:not(.select2-selection__choice__remove).button-small,
submit.button-small {
  height: 30px;
  padding: 5px 8px;
}

main {
  padding-top: 35px;
}

nav {
  background-color: #eb5757;
  box-shadow: none;
  color: #fff;
  height: 64px;
  line-height: 35px;
  padding: 0;
}
nav #logo {
  height: 30px;
  margin: 16px 0;
}
nav .sub-arrow {
  display: none !important;
}
nav #user-photo {
  border-radius: 25px;
  height: 50px;
  margin-top: 6px;
  width: 50px;
}
nav #user-photo img {
  border: 2px solid #fff;
  border-radius: 25px;
  height: 50px;
  width: 50px;
}
nav ul > li:not(.nav-item),
nav ul > li > a.dropdown-trigger {
  height: 64px;
}
nav ul > li > a {
  cursor: pointer;
  overflow: hidden;
}
nav #dropdown-account {
  margin-top: 64px;
  width: 175px !important;
}

h1 {
  font-size: 35px;
}

h2 {
  font-size: 24px;
  font-weight: 500;
  padding: 5px 0;
  margin: 0;
}
h2 i {
  color: #000;
  font-size: 16px;
  margin-right: 10px;
  position: relative;
  top: -3px;
}

form .row {
  margin-bottom: 20px;
}

.background-salmon {
  background-color: #eb5757;
}

.centered-row {
  margin-left: auto;
  margin-right: auto;
}

.invalid-feedback {
  color: red;
  font-size: 11px;
  padding-top: 3px;
  display: none;
}

.placeholder input.dropdown-trigger {
  color: rgba(0, 0, 0, 0.4);
}

.invisible {
  color: transparent !important;
}

.input-field label {
  color: #555;
  display: block;
  font-size: 14px;
  position: unset;
}
.input-field input,
.input-field textarea {
  background-color: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  display: block;
  height: 48px;
  padding: 15px 10px;
  width: 100%;
}
.input-field input[type=file],
.input-field textarea[type=file] {
  padding: 12px 8px;
}
.input-field input:focus,
.input-field textarea:focus {
  background-color: #fff;
  outline: none;
}
.input-field input[type=range] {
  background-color: transparent;
  border: 0;
  display: inline-block;
  height: auto;
  padding: 0;
}
.input-field textarea {
  height: auto;
}
.input-field.is-invalid input,
.input-field.is-invalid textearea {
  border-color: #eb5757;
}
.input-field.is-invalid label {
  color: #eb5757;
}
.input-field.is-invalid > .invalid-feedback {
  display: block;
}

.select-wrapper {
  background-color: #f5f5f5 !important;
  border: 1px solid rgba(0, 0, 0, 0.4) !important;
  border-radius: 8px;
  margin: 0 !important;
}

.select-wrapper > input.select-dropdown {
  border: none !important;
  margin: 0 !important;
  padding-left: 10px !important;
}

.content-block {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-sizing: border-box;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  font-size: 14px;
  padding: 25px !important;
  margin-bottom: 20px;
}
.content-block .content-block-title {
  color: rgba(0, 0, 0, 0.6);
  font-size: 12px;
  padding-bottom: 15px;
  text-transform: uppercase;
}

.custom-modal {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 5000;
}
.custom-modal.show {
  display: flex;
}
.custom-modal > div {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.07), 0 3px 1px -2px rgba(0, 0, 0, 0.06), 0 1px 5px 0 rgba(0, 0, 0, 0.1);
  margin-bottom: 150px;
  min-height: 200px;
  min-width: 200px;
  width: 750px;
  padding: 25px;
}
.custom-modal > div h2 {
  margin-top: 0;
}

#contact-modal > div {
  width: 400px !important;
}
#contact-modal > div textarea {
  margin-bottom: 20px;
}

.chips {
  height: auto !important;
  min-height: 48px;
  padding-bottom: 6px;
}
.chips .chip {
  margin: 8px 0 0 6px !important;
}
.chips .input {
  border: 0 !important;
  margin: 0 6px !important;
  padding: 6px !important;
  width: 150px !important;
}

.file-button {
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  left: 21px;
  padding: 8px 22px;
  position: absolute;
  top: 23px;
  z-index: 2;
}
.file-button:hover {
  background-color: #fef6f5;
}
.file-button:active {
  background-color: #fff;
}

.material-tooltip {
  max-width: 20%;
}

i.fa-info-circle {
  color: rgba(0, 0, 0, 0.4);
}

.tooltipped {
  cursor: pointer;
}

.btn-inconspicuous,
.btn-inconspicuous:focus {
  background-color: transparent;
  box-shadow: none;
  color: #777;
  height: auto;
  line-height: 34px;
  opacity: 0.8;
  transition: all 100ms;
}

.btn-inconspicuous i {
  font-size: 12px !important;
}

.btn-inconspicuous:hover {
  background-color: transparent;
  color: #777;
  opacity: 1;
}

.btn-cancel-inconspicuous,
.btn-cancel-inconspicuous:focus {
  background-color: transparent;
  border: 1px solid #999;
  box-shadow: none;
  color: #999;
  height: auto;
  line-height: 34px;
  transition: all 100ms;
}

.btn-cancel-inconspicuous:hover {
  background-color: #999;
  color: #fff;
  opacity: 1;
}

.form-text-right {
  cursor: pointer;
  padding-top: 30px !important;
  text-align: right;
}
.form-text-right:hover {
  text-decoration: underline;
}

/** Default flex options **/
.flex-parent-vertical {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
}

.flex-parent-vertical-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.flex-parent-horizontal {
  display: flex;
}

.flex-parent-vertical > .flex-child-grow {
  flex: 1 0 auto;
}

.flex-parent-horizontal > .flex-child-grow {
  flex: 1 0 0;
}

.flex-parent-horizontal > .flex-child-grow-2 {
  flex: 2 0 0;
}

.flex-scroll {
  height: 100%;
  margin: 0 !important;
  overflow-y: auto;
}

.flex-scroll.with-scrollbar::-webkit-scrollbar-track,
.div-scroll.with-scrollbar::-webkit-scrollbar-track {
  border: none;
  background-color: transparent;
}

.flex-scroll.with-scrollbar::-webkit-scrollbar,
.div-scroll.with-scrollbar::-webkit-scrollbar {
  background-color: transparent;
}

.flex-scroll.with-scrollbar::-webkit-scrollbar-thumb,
.div-scroll.with-scrollbar::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
  border: 3px solid transparent;
  border-radius: 10px;
}

.flex-table .thead {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 11px;
  color: #9e9e9e;
  padding: 15px 0;
}

.flex-table .thead.scrolling-body {
  margin-right: 15px;
}

.flex-table .tr,
.standard-table .tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  height: 70px;
}

.flex-table .th,
.standard-table th {
  font-size: 12px;
  color: #9e9e9e;
  font-weight: normal;
}

.flex-vertically-align-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flex-vertically-align-content .select2-selection {
  margin-bottom: 0 !important;
}

.position-relative {
  position: relative;
}

.hidden {
  display: none !important;
}

.story-center {
  transition: all 0.35s;
}

#story-drop {
  background-color: #fff;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
  margin-top: 50px;
  width: 250px;
  text-align: center;
}
#story-drop:hover {
  cursor: pointer;
}
#story-drop #add-intro {
  padding: 30px;
}
#story-drop #add-plus {
  color: rgba(0, 0, 0, 0.54);
  font-family: "M PLUS Rounded 1c";
  font-size: 80px;
  font-weight: 500;
  line-height: 80px;
}
#story-drop #add-story-message {
  font-size: 18px;
  font-weight: 700;
  padding: 10px;
}
#story-drop #add-story-subtext {
  color: rgba(0, 0, 0, 0.6);
  font-size: 13px;
  line-height: 15px;
  margin: 0 auto;
  max-width: 250px;
}
#story-drop #add-type-chooser {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  flex-grow: 1;
  flex-shrink: 0;
  overflow: hidden;
}
#story-drop #add-type-chooser #add-type-chooser-flex {
  align-items: center;
  display: flex;
  height: 250px;
  width: 250px;
  justify-content: center;
}
#story-drop #add-type-chooser #add-type-chooser-flex div {
  color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  font-size: 18px;
  height: 100%;
  padding-top: 100px;
  flex-grow: 1;
}
#story-drop #add-type-chooser #add-type-chooser-flex div:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

#add-user-modal .my-avatar {
  border-radius: 50%;
  cursor: pointer;
  height: 150px;
  margin-left: 2px;
  margin-top: 10px;
  width: 150px;
}

.comment-header {
  font-weight: 700;
  margin-bottom: 8px;
}
.comment-header .comment-management {
  float: right;
  font-size: 11px;
  font-weight: normal;
  padding-top: 3px;
}
.comment-header .comment-management span {
  color: #eb5757;
  cursor: pointer;
}
.comment-header .comment-management span:hover {
  color: #f55757;
}

.comment-comment {
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  margin-bottom: 8px;
  min-height: 60px;
  padding-bottom: 20px;
  width: 100%;
}

#current-letter-avatar {
  background-color: #02B497;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 40px;
  line-height: 150px;
  height: 150px;
  margin-left: 2px;
  margin-top: 10px;
  text-align: center;
  width: 150px;
}

.image-edit-overlay {
  background-color: #efefef;
  border: 1px solid #959595;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  font-size: 30px;
  height: 150px;
  left: 2px;
  line-height: 150px;
  opacity: 0.5;
  position: absolute;
  text-align: center;
  top: 10px;
  width: 150px;
  z-index: 2;
}

.crop-zone {
  background-color: #f5f5f5;
  background-image: url("/img/user-layer-mask.png");
  background-size: cover;
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  cursor: move;
  height: 150px;
  margin-left: 2px;
  margin-top: 10px;
  overflow: hidden;
  position: relative;
  width: 150px;
}

.image-zoom {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.image-zoom .fas {
  cursor: pointer;
}

.my-avatar:hover ~ .image-edit-overlay {
  display: block !important;
}

.crop-zone:hover ~ .image-edit-overlay {
  display: block !important;
}

.image-edit-overlay:hover {
  display: block;
}

user {
  position: relative;
}
user .user-notification {
  top: -5px;
  right: -5px;
  padding: 5px 8px;
  position: absolute;
  background-color: #eb5757;
  border-radius: 5px;
  color: #fff;
}

transcript-line {
  display: block;
  margin-bottom: 20px;
}
transcript-line .line-speaker {
  padding: 4px 10px 0 0;
  position: relative;
  cursor: pointer;
  text-align: right;
}
transcript-line .line-speaker .speaker-name {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 125px;
}
transcript-line .line-speaker .speaker-selection {
  display: none;
}
transcript-line transcript-word {
  border-radius: 5px;
  display: inline-block;
  padding: 4px 2px;
  line-height: 14px;
  height: 22px;
  position: relative;
}
transcript-line transcript-word.editing {
  padding: 0;
}
transcript-line transcript-word input {
  background-color: #f5f5f5;
  color: #222;
  border: 0;
  border-radius: 5px;
  font-size: 14px;
  height: 22px;
  padding: 4px 4px;
  position: absolute;
  outline: none;
  line-height: 14px;
  left: -2px;
  top: -1px;
}
transcript-line transcript-word.current {
  background-color: #eb5757 !important;
  color: #fff !important;
}

#transcript-content.editable transcript-word {
  cursor: pointer;
}

.user-select {
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.options span, .claimed-options span {
  cursor: pointer;
}
.options span:hover, .claimed-options span:hover {
  text-decoration: underline;
}

cover {
  background-color: rgba(255, 255, 255, 0.9);
  display: none;
  left: 0;
  position: fixed;
  height: 100%;
  top: 0;
  width: 100%;
  z-index: 5001;
}

.circle {
  border: 8px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.16);
  display: inline-block;
  position: relative;
  text-align: center;
  transition: all 0.35s;
}
.circle:not(#story-drop,
.user-present) {
  background-image: url("/img/user-layer-mask.png");
  background-size: cover;
}
.circle img {
  border-radius: 50%;
  height: 100%;
  width: 100%;
}
.circle.user.selected {
  border-color: #eb5757;
}
.circle.user.selected::after {
  content: "";
  position: absolute;
  left: calc(50% - 10px);
  bottom: -17px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 15px solid #eb5757;
  clear: both;
}

.button-ghost {
  color: #222;
  display: inline-block;
  padding: 6px 10px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  border-radius: 4px;
  font-size: 14px;
  height: 28px;
  line-height: 14px;
  position: relative;
}
.button-ghost:focus {
  background-color: #fff;
  color: #222;
}

.float-right {
  float: right;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

story-preview {
  display: inline-block;
  overflow: hidden;
  width: 33%;
}
story-preview .content-block {
  border: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  margin-bottom: 8px;
  min-height: 170px;
  padding-bottom: 15px !important;
}
story-preview .content-block:hover {
  background-color: #f5f5f5;
}
story-preview .images {
  margin-bottom: 16px;
}
story-preview .title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}

user-circle {
  background-image: url("/img/user-layer-mask.png");
  background-size: cover;
  border-radius: 50%;
  display: inline-block;
  height: 56px;
  margin-right: 8px;
  overflow: hidden;
  width: 56px;
}
user-circle img {
  height: 56px;
  width: 56px;
}

.left-bump {
  transition: width 0.5s;
}

.story-user-image {
  background-color: #f5f5f5;
  border-radius: 50%;
  display: block;
  height: 150px;
  width: 150px;
  margin: 0 auto;
  overflow: hidden;
}
.story-user-image > img {
  height: 150px;
  width: 150px;
}

.search-user-image {
  background-color: #f5f5f5;
  background-image: url("/img/user-layer-mask.png");
  background-size: cover;
  border-radius: 50%;
  display: inline-block;
  height: 40px;
  width: 40px;
  margin: 0 10px;
  overflow: hidden;
}
.search-user-image > img {
  height: 40px;
  width: 40px;
}

.search-user-name {
  display: inline-block;
  position: relative;
  top: -15px;
}

.dropdown-user-image {
  background-color: #f5f5f5;
  background-image: url("/img/user-layer-mask.png");
  background-size: cover;
  border-radius: 50%;
  display: inline-block;
  height: 40px;
  width: 40px;
  margin: 0 10px;
  overflow: hidden;
}
.dropdown-user-image > img {
  height: 40px;
  width: 40px;
}

.dropdown-user-name {
  display: inline-block;
  position: relative;
  top: -15px;
}

.story-viewer-image {
  background-color: #f5f5f5;
  border-radius: 50%;
  display: inline-block;
  height: 40px;
  width: 40px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.story-viewer-image > img {
  height: 40px;
  width: 40px;
}

.story-comment-user-image {
  background-color: #f5f5f5;
  border-radius: 50%;
  display: block;
  height: 50px;
  width: 50px;
  margin: 0 auto;
  overflow: hidden;
}
.story-comment-user-image > img {
  height: 50px;
  width: 50px;
}

ul#search-results {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-sizing: border-box;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 28px;
  z-index: 5;
}

.friend-user {
  background-color: #eb5757;
  border-radius: 15px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  line-height: 15px;
  padding: 5px 8px;
  text-align: center;
}
.friend-user:hover {
  background-color: #f55757;
}

ul#search-results li {
  padding: 8px 15px;
}

span.add-new-user {
  color: #eb5757;
  cursor: pointer;
  text-decoration: underline;
}

.story-user-name {
  font-size: 18px;
  font-weight: 500;
  margin: 17px 0 0;
  text-align: center;
}

.bordered-section {
  border-bottom: 1px solid #c0c0c0;
}

#family .circle {
  height: 100px;
  width: 100px;
  border: none;
  box-shadow: none;
}
#family .name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}
#family .birth {
  color: #555;
}
#family .relationship {
  color: #555;
}
#family .options, #family .claimed-options {
  font-weight: 600;
  margin-top: 8px;
}

.story-details {
  font-weight: 600;
  margin-bottom: 12px;
}

.tabs .tab a,
.tabs .tab a.active {
  background-color: transparent !important;
  color: black;
}
.tabs .tab a::-moz-selection, .tabs .tab a.active::-moz-selection {
  background: none !important;
}
.tabs .tab a::selection,
.tabs .tab a.active::selection {
  background: none !important;
}
.tabs .indicator {
  background-color: #222;
}
.tabs #story .story-details {
  margin-bottom: 20px;
}
.tabs .stamp {
  position: absolute;
  width: 150px;
  height: 150px;
}
.tabs .stamp.corner-tl {
  top: 0;
  left: 0;
}
.tabs .stamp.corner-tr {
  top: 0;
  right: 0;
}

.loading-spinner {
  left: calc(50% - 50px);
  position: absolute;
  margin: auto;
  height: 100px;
  top: calc(50% - 165px);
  width: 100px;
  z-index: 100;
}
.loading-spinner .clover {
  transform: translate3d(0, 0, 0);
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100px;
  width: 100px;
  margin: auto;
  animation: spin 2.5s ease infinite;
}
.loading-spinner .clover .leaf {
  margin: 2%;
  box-sizing: border-box;
  height: 46%;
  width: 46%;
  box-shadow: inset 0px 0px 0px 5px lightgray;
  background-color: lightgray;
}
.loading-spinner .clover .leaf.leaf-a {
  border-radius: 0 50% 0 50%;
  animation: leaf-a-morph 2.5s ease infinite;
}
.loading-spinner .clover .leaf.leaf-b {
  border-radius: 50% 0 50% 0;
  animation: leaf-b-morph 2.5s ease infinite;
}
.loading-spinner .clover .leaf.leaf-c {
  border-radius: 50% 0 50% 0;
  animation: leaf-c-morph 2.5s ease infinite;
}
.loading-spinner .clover .leaf.leaf-d {
  border-radius: 0 50% 0 50%;
  animation: leaf-d-morph 2.5s ease infinite;
}
@keyframes leaf-a-morph {
  0% {
    background-color: lightgray;
  }
  20% {
    background-color: lightgray;
  }
  25% {
    background-color: lightgray;
  }
  45% {
    background-color: lightgray;
  }
  50% {
    background-color: lightgray;
  }
  70% {
    background-color: transparent;
  }
  75% {
    background-color: transparent;
  }
  95% {
    background-color: lightgray;
  }
  100% {
    background-color: lightgray;
  }
}
@keyframes leaf-b-morph {
  0% {
    background-color: lightgray;
  }
  20% {
    background-color: lightgray;
  }
  25% {
    background-color: lightgray;
  }
  45% {
    background-color: transparent;
  }
  50% {
    background-color: transparent;
  }
  70% {
    background-color: lightgray;
  }
  75% {
    background-color: lightgray;
  }
  95% {
    background-color: lightgray;
  }
  100% {
    background-color: lightgray;
  }
}
@keyframes leaf-c-morph {
  0% {
    background-color: transparent;
  }
  20% {
    background-color: lightgray;
  }
  25% {
    background-color: lightgray;
  }
  45% {
    background-color: lightgray;
  }
  50% {
    background-color: lightgray;
  }
  70% {
    background-color: lightgray;
  }
  75% {
    background-color: lightgray;
  }
  95% {
    background-color: transparent;
  }
  100% {
    background-color: transparent;
  }
}
@keyframes leaf-d-morph {
  0% {
    background-color: lightgray;
  }
  20% {
    background-color: transparent;
  }
  25% {
    background-color: transparent;
  }
  45% {
    background-color: lightgray;
  }
  50% {
    background-color: lightgray;
  }
  70% {
    background-color: lightgray;
  }
  75% {
    background-color: lightgray;
  }
  95% {
    background-color: lightgray;
  }
  100% {
    background-color: lightgray;
  }
}
@keyframes spin {
  0% {
    transform: rotateZ(0deg);
  }
  20% {
    transform: rotateZ(90deg);
  }
  25% {
    transform: rotateZ(90deg);
  }
  45% {
    transform: rotateZ(180deg);
  }
  50% {
    transform: rotateZ(180deg);
  }
  70% {
    transform: rotateZ(270deg);
  }
  75% {
    transform: rotateZ(270deg);
  }
  95% {
    transform: rotateZ(360deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}

.button-loading-spinner {
  display: none;
}

button.spinning {
  color: transparent;
}
button.spinning .button-loading-spinner {
  display: block;
  left: calc(50% - 12px);
  position: absolute;
  margin: auto;
  height: 25px;
  top: 9px;
  width: 25px;
  z-index: 100;
}
button.spinning .button-loading-spinner .clover {
  transform: translate3d(0, 0, 0);
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 25px;
  width: 25px;
  margin: auto;
  animation: spin 2.5s ease infinite;
}
button.spinning .button-loading-spinner .clover .leaf {
  margin: 2%;
  box-sizing: border-box;
  height: 46%;
  width: 46%;
  box-shadow: inset 0px 0px 0px 1px white;
  background-color: white;
}
button.spinning .button-loading-spinner .clover .leaf.leaf-a {
  border-radius: 0 50% 0 50%;
  animation: leaf-a-morph 2.5s ease infinite;
}
button.spinning .button-loading-spinner .clover .leaf.leaf-b {
  border-radius: 50% 0 50% 0;
  animation: leaf-b-morph 2.5s ease infinite;
}
button.spinning .button-loading-spinner .clover .leaf.leaf-c {
  border-radius: 50% 0 50% 0;
  animation: leaf-c-morph 2.5s ease infinite;
}
button.spinning .button-loading-spinner .clover .leaf.leaf-d {
  border-radius: 0 50% 0 50%;
  animation: leaf-d-morph 2.5s ease infinite;
}
@keyframes leaf-a-morph {
  0% {
    background-color: white;
  }
  20% {
    background-color: white;
  }
  25% {
    background-color: white;
  }
  45% {
    background-color: white;
  }
  50% {
    background-color: white;
  }
  70% {
    background-color: transparent;
  }
  75% {
    background-color: transparent;
  }
  95% {
    background-color: white;
  }
  100% {
    background-color: white;
  }
}
@keyframes leaf-b-morph {
  0% {
    background-color: white;
  }
  20% {
    background-color: white;
  }
  25% {
    background-color: white;
  }
  45% {
    background-color: transparent;
  }
  50% {
    background-color: transparent;
  }
  70% {
    background-color: white;
  }
  75% {
    background-color: white;
  }
  95% {
    background-color: white;
  }
  100% {
    background-color: white;
  }
}
@keyframes leaf-c-morph {
  0% {
    background-color: transparent;
  }
  20% {
    background-color: white;
  }
  25% {
    background-color: white;
  }
  45% {
    background-color: white;
  }
  50% {
    background-color: white;
  }
  70% {
    background-color: white;
  }
  75% {
    background-color: white;
  }
  95% {
    background-color: transparent;
  }
  100% {
    background-color: transparent;
  }
}
@keyframes leaf-d-morph {
  0% {
    background-color: white;
  }
  20% {
    background-color: transparent;
  }
  25% {
    background-color: transparent;
  }
  45% {
    background-color: white;
  }
  50% {
    background-color: white;
  }
  70% {
    background-color: white;
  }
  75% {
    background-color: white;
  }
  95% {
    background-color: white;
  }
  100% {
    background-color: white;
  }
}
@keyframes spin {
  0% {
    transform: rotateZ(0deg);
  }
  20% {
    transform: rotateZ(90deg);
  }
  25% {
    transform: rotateZ(90deg);
  }
  45% {
    transform: rotateZ(180deg);
  }
  50% {
    transform: rotateZ(180deg);
  }
  70% {
    transform: rotateZ(270deg);
  }
  75% {
    transform: rotateZ(270deg);
  }
  95% {
    transform: rotateZ(360deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}

size-warning {
  background-color: #fff;
  display: none;
  height: 100%;
  padding-top: 20%;
  position: fixed;
  right: 0;
  text-align: center;
  top: 0;
  width: 100%;
}

size-warning i {
  color: #eb5757;
  font-size: 80px;
  margin: 0 25px;
}

@media (max-width: 850px) {
  /*
  size-warning {
      display: block;
      z-index: 50;
  }
  size-warning img {
      position: relative;
      top: 10px;
  }
  size-warning #warning-header {
      color: #252525;
      font-size: 35px;
      font-weight: 600;
      min-width: 215px;
      text-align: center;
  }
  size-warning div {
      padding: 50px;
  }
  body>div,
  body>main {
      display: none !important;
  }
  */
}
/**** SELECT 2 ******/
.select2.select2-container {
  background-color: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  display: block;
  min-height: 30px;
  margin: 5px 5px 0 0;
  padding: 5px;
}

.select2-selection.select2-selection--single {
  background-color: transparent !important;
  border: 0;
  min-height: 36px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
  background-color: transparent !important;
  border: 0;
  outline: 0;
}

.select2-dropdown {
  z-index: 5011;
}

.select2-container--open:not(.select2) {
  z-index: 5002;
  margin-top: -7px !important;
}

.select-multi-row {
  margin-bottom: 0 !important;
}

.select2-selection.select2-selection--multiple {
  background-color: transparent !important;
  border: 0;
  padding: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #f7fcfd;
  border: 1px solid #282828;
  border-radius: 25px;
  box-sizing: border-box;
  display: inline-block;
  font-size: 13px !important;
  line-height: 10px !important;
  margin: 5px 5px 0 0 !important;
  padding: 4px;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

.select2-container .select2-search--inline .select2-search__field {
  margin-top: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  border: none;
  color: #282828;
  font-size: 15px !important;
  font-weight: 500;
}

.select2-selection__choice {
  margin-left: 10px !important;
  padding-left: 10px !important;
  position: relative;
  top: -5px;
}

.select2-container--default .select2-results__option {
  display: block;
  line-height: 10px;
  padding-right: 0;
}
.select2-container--default .select2-results__option .user-selected .user-image {
  border-radius: 50%;
  display: inline-block;
  height: 20px;
  margin: 0 5px 0 0;
  width: 20px;
}
.select2-container--default .select2-results__option .user-selected .user-name {
  display: inline-block;
  position: relative;
  top: -4px;
}
.select2-container--default .select2-results__option .user-selected img {
  border-radius: 50%;
  height: 20px;
  width: 20px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
  border-right: 1px solid rgba(0, 0, 0, 0.3);
  display: inline-block;
  line-height: 10px;
  padding-right: 5px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__display .user-selected .user-image {
  border-radius: 50%;
  display: inline-block;
  height: 20px;
  margin: 0 5px 0 0;
  width: 20px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__display .user-selected .user-name {
  display: inline-block;
  position: relative;
  top: -6px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__display .user-selected img {
  border-radius: 50%;
  height: 20px;
  width: 20px;
}

.select2-results__option {
  padding-top: 13px;
  height: 48px;
}

.select2-selection__choice__remove {
  float: right !important;
  margin-top: 1px;
  position: relative !important;
}

.select2-search__field {
  min-height: 36px;
  padding-top: 8px !important;
}

.chip {
  color: #fff;
  font-size: 13px;
  margin: 5px 5px 0 0;
}
.chip .chip-text {
  display: inline-block;
}
.chip .remove-chip {
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-weight: 400;
  padding-right: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  margin-right: 6px;
}

.cancel-modal-button {
  cursor: pointer;
}

/************* VANILLA TOASTS STYLES ******************/
#vanillatoasts-container {
  display: inline-block !important;
  min-width: 300px !important;
  position: fixed;
  bottom: 50px;
  right: 0;
  width: auto !important;
  z-index: 10000;
}

.vanillatoasts-toast {
  position: relative;
  padding: 12px 15px;
  margin: 60px 0 20px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  background: #FFF;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 15px 0px;
  animation-duration: 0.3s;
  animation-name: VanillaToasts;
  animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  z-index: 10000;
}

.vanillatoasts-toast i {
  margin-right: 10px;
  font-size: 30px;
  float: left;
  margin-top: 5px;
}

.vanillatoasts-fadeOut {
  animation-name: VanillaToastsFadeOut;
  animation-duration: 0.3s;
  animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  animation-fill-mode: forwards;
}

#vanillatoasts-container p,
#vanillatoasts-container h4 {
  margin: 3px 0 !important;
}

.vanillatoasts-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
}

.vanillatoasts-text,
.vanillatoasts i {
  font-size: 16px;
  font-weight: 600;
}

.vanillatoasts-subtext {
  font-size: 14px;
  font-weight: 400;
}

.vanillatoasts-icon {
  position: absolute;
  top: 5px;
  left: -40px;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  background: #FFF;
}

.vanillatoasts-toast a,
.vanillatoasts-toast a:hover {
  color: #549EDB !important;
  text-decoration: none !important;
}

/** toast types */
.vanillatoasts-success {
  background-color: #6FCF97;
  color: #0F552C;
}

.vanillatoasts-success i {
  color: #0F552C;
}

.vanillatoasts-warning {
  background-color: #dbcda0;
  color: #a8832f;
}

.vanillatoasts-error {
  background-color: #AE8487;
  color: #611313;
}

.vanillatoasts-info {
  border-bottom: 5px solid #27ABDB;
}

.vanillatoasts-error i {
  float: left;
  margin-bottom: 15px;
  margin-top: 4px;
}

@keyframes VanillaToasts {
  from {
    transform: translate3d(400px, 0, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
@keyframes VanillaToastsFadeOut {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  to {
    transform: translate3d(400px, 0, 0);
    opacity: 0;
  }
}
