@import url('https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c:400,700&display=swap&subset=japanese');

/*
ul.sticky {
    position: fixed;
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    list-style-type: none;
    padding: 0;
    margin: 0;
}
*/


/* what we need is a default table layout */
table {

}

tr {
  
}

.icon-status-none { position: relative; display: inline-flex; }

div.feedback {
  display: none;
}

a:hover {
	color: red;
	text-decoration: none;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Nunito', 'Open Sans', sans-serif;;
    font-weight: 700;
    color: #000;
}

h1,h2,h3 {
  font-family: 'Roboto', 'Open Sans', sans-serif;
  font-weight: 500;
}

h1 a,h2 a,h3 a,h4 a,h5 a,h6 a {
  color: black;
}

/* some bootstrap overrides */
.btn-menu:focus,.btn-menu:active {
   outline: none !important;
   box-shadow: none;
}

.alert.alert-inline {
    padding: 2px 5px;
}

.btn-xs, .btn-group-xs > .btn, .dual-listbox .btn-group-xs > .dual-listbox__button {
    padding: .15rem .5rem;
    font-size: .75rem;
    line-height: 1rem;
    border-radius: 3px;
}

/* icons before text stuff */
.link-list-plain .ni {
  margin-right:  0.85em;
}

/* dashlite overrides */

.user-avatar span {
  padding-top: 4px;
}

.avatar-icon {
  font-size: 22px;
}

.sm .user-avatar span {
  padding-top: 0;
}

.user-avatar.sm .avatar-icon {
  font-size: 20px;
}

.project-tags .badge {
  border:  1px solid transparent;
}

.fs-30px {
  font-size: 30px !important;
}

.user-avatar {
  /* background: #333; hate this */
}

.logo-img {
  max-height: 40px;
}

.administrator .logo-img {
  max-height: 36px;
}

.nk-body:not(.administrator) .logo-link,
.nk-body:not(.administrator) .logo-link:hover,
.nk-body:not(.administrator) .logo-link:visited {
  color: black;
}

.nio-version {
  bottom: -12px;
}

.breadcrumb.title .breadcrumb-item {
  font-size: 1.8em !important;
}

.complex-form .form-group:last-child {
  margin-bottom: 1.25rem;
}

.form-daterange {
  display: inline-block;
  width: 100%;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  overflow: hidden;
  min-height: calc(2.125rem - 2px);
}

.form-daterange-lg {
  min-height: calc(2.5rem - 2px);
  padding: 0.5rem 0.5rem 0.3rem 0.5rem;
}

.form-daterange-auto {
  width: auto;
  float: right;
}

.form-group > .form-label {
  width: 100%;
}

.badge > .ni {
  padding-top: 3px;
}

.btn > .ni {
  padding-top: 3px;
  padding-right: 4px;
}

.comment-card .btn > .ni {
  padding: 0px;
}

/* daterange bits */
.daterange-icon {
  float: right;
  margin-top: 3px;
}

.float-right {
  float: right;
}

.float-left {
  float: left;
}

/* dashlite dashboard overrides */

.nk-sidebar-brand {
  width: 200px;
  text-align: center;
}

.nk-wrap-nosidebar .nk-content {
    padding: 0!important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.traffic-channel-data .amount {
  font-size: 0.9rem;
}

.traffic-channel-group.wide {
  max-width: 100%;
  width: 100%;
}


  .data-label:not([class^="w-"]) {
      width: 80%;
  }

.traffic-channel-group.wide .traffic-channel-data {
  width: 50%;
}

@media (min-width: 768px) {
  .traffic-channel-group.wide .traffic-channel-data {
    width: 33%;
    margin-bottom: 1em;
  }
}

body.client div.trend {
  display: none;
}

.traffic-channel-data .title {
  font-size: 11px;
}

.strikethrough {
  text-decoration: line-through;
}

/* chart stuff */
.chart-container[data-type="bar"] .traffic-channel-data .title {
  cursor: pointer;
}

/* headline title */
.headline {font-weight: normal;}
.headline > span {
    line-height: 105%; color:white; display: inline-block; background-color: red; border-radius: 20px; width: 35px; height: 35px; text-align: center;
}

.access2 {
    font-style: italic;
}

.script-body {
    border-left: 1px solid #ced4da;
    border-right: 1px solid #ced4da;
}

.slide-contents {
  font-size: 1.1em;
  padding: 1em;
  border-radius: 20px;
  background-color: lemonchiffon;
  border-bottom: 3px solid khaki;
  border-right: 1px solid khaki;
  margin: 1em 0 1em 0;
}

/* product info */

.product-info {

}
.product-info img {
  max-width: 100%;
}

/* submenu 
.submenu {
  background-color: gray;
  font-size: 0;
  text-align: center;
  border-top: 1px solid #00000055;
  margin-top: 1rem;
}

.submenu a {
  font-size: 1rem;
  display: inline-block;
  text-align: center;
  padding: 0.3em 1em;
  background-color: gray;
  color: white;
  transition: background-color 0.2s;
  border-left: 1px solid white;
}

.submenu a:last-child {
  border-right: 1px solid white;
}

.submenu a:hover {
  background-color: black;
}
*/


/* tags */
div.tagsinput input {
  margin-bottom: 0px;
}

div.tagsdisplay {
  display: inline-block;
}

#tags_tagsinput {
    margin-bottom: 1.5rem;
}

div.tagsinput {
  padding: 3px 3px 0 3px;
  border: 1px solid #dbdfea;
}

div.tagsinput input {
  padding: 4px;
  font-size: 13px;
}

div.tagsinput span.tag {
    /* background-color: #1EAEDB; */
    padding: 2px 7px 2px 7px;
    margin-bottom: 3px;
}

div.tagsdisplay span.tag,
a.tag {
    white-space: nowrap;
    border: 1px solid #fff;
    border-radius: 5px;
    display: inline-block;
    padding: 3px 7px 3px 5px;
    text-decoration: none;
    background: #6576ff;
    color: #fff;
    margin-right: 5px;
    margin-bottom: 1px;
    font-size: 0.9em;
}

div.tagsdisplay span.tag {
  border: none;
  padding: 1px 3px 1px 3px;
  font-size: 0.8em;
}

div.tagsdisplay span.tag.hot {
  background-color: red;
}

/* resolution settings display */
.slide-resolution-settings {
  display: inline-block;
}

.slide-resolution-settings span {
    white-space: nowrap;
    border: none;
    border-radius: 5px;
    display: inline-block;
    padding: 1px 7px 1px 4px;
    text-decoration: none;
    background: #6576ff;
    color: #fff;
    margin-right: 5px;
    margin-bottom: 1px;
    font-size: 0.9em;
}



/* markdown output */
.markdown-output {
    padding: .375rem .75rem;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    min-height: 50px;
}

.markdown-input,
.monospace {
  font-family: monospace;
}

textarea.form-control.parallel {
  height: 350px;
  margin: 0px 0 10px 0;
}


/* slide-action buttons */

.slide-actions {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.slide-actions li {
    margin: 0 0 0.25rem 0;
    display: block;
}

.slide-actions li a {
    position: relative;
    overflow: hidden;
    display: block;
    font-family: 'M PLUS Rounded 1c', 'Open Sans', sans-serif;
    background-color: #e57373;
    color: white !important;
    padding: 0.6rem 0.6rem 0.6rem 1.2rem;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.2s, margin 0.2s;
}

.slide-actions li a:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  -webkit-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  z-index: 2;
  transition: transform 0.2s;
}

.slide-actions li a:hover {
    background-color: #e53935 ;
    margin: 0 0 0 0.8em;
}

.slide-actions li a:hover:before {
    transform: rotate(80deg);
}

.slide-actions li a.link {
  background-color: hotpink;
}
.slide-actions li a.link:hover {
    background-color: deeppink;
}

/* slide table items */
.table.slides tbody td {
    border-top: none;
    font-size: 0.9em;
}


.table.slides tbody td .controls {
    display: inline-block;
    float: right;
}

.table.slides tbody td .controls a {
  color: #111;
}

.table-sm td.slide_level_1 {
  background-color: #F2F2F2;
}


.table.slides tbody td.slide_level_1 .controls a {
  color: #888;
}

.table-sm td.slide_level_2 {
  padding-left: 1em;
  background-color: #CCCCCC;
}

.table-sm td.slide_level_3 {
  padding-left: 2.5em;
  background-color: #A5A5A5;
}

.table-sm td.slide_level_4 {
  padding-left: 4em;
  background-color: #7F7F7F;
  color: #ccc;
}

.table-sm td.slide_level_5 {
  padding-left: 5.5em;
  background-color: #595959;
  color: #aaa;
}

.table-sm td.slide_level_6 {
  padding-left: 7em;
  background-color: #454545;
  color: #aaa;
}

.table-sm td.slide_level_7 {
  padding-left: 8.5em;
  background-color: #404040;
  color: #aaa;
}

.table-sm td.slide_level_8 {
  padding-left: 9.5em;
  background-color: #403030;
  color: #aaa;
}

.table-sm td.slide_inactive {
  background-color: #800;
  color: #f99;
}


.slide-container .controls {
  float: right;
  color: inherit;
}
.slide-container .controls a {
  color: inherit;
  margin-left: 0.3em;
}


a.pin-slide {
  display: none;
}

.slide-inactive.slide-pinned > .slide-body > a.pin-slide.slide-unpin {
  display: inline-block;
}

.slide-inactive.slide-unpinned > .slide-body > a.pin-slide.slide-pin {
  display: inline-block;
}

.slide-body a.pin-slide {
  color: inherit;
}

.slide-container .slide-item {
  padding-left: 1em !important;
  padding-bottom: 0.2em;
  margin-bottom: 5px;

  -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
}

.slide-container .slide-item > .slide-body {
  padding: 0.3em;
  color: inherit;
}
.slide-container .slide-item.slide-level-1 {
  background-color: #F2F2F2;
}

.slide-container .slide-item.slide-level-2 {
  background-color: #CCCCCC;
  padding-left: 1em;
}

.slide-container .slide-item.slide-level-3 {
  background-color: #A5A5A5;
  color: black;
  padding-left: 2em;
}

.slide-container .slide-item.slide-level-4 {
  background-color: #7F7F7F;
  color: #fff;
  padding-left: 3em;
}

.slide-container .slide-item.slide-level-5 {
  background-color: #595959;
  color: #ccc;
  padding-left: 4em;
}

.slide-container .slide-item.slide-level-6 {
  background-color: #454545;
  color: #bbb;
  padding-left: 5em;
}

.slide-container .slide-item.slide-level-7 {
  background-color: #404040;
  color: #aaa;
  padding-left: 6em;
}

.slide-container .slide-item.slide-level-8 {
  background-color: #403030;
  color: #aaa;
  padding-left: 7em;
}

.slide-container .slide-item.slide-inactive {
  background-color: #800;
  
}

.slide-container .slide-item.slide-inactive > .slide-body {
  color: #f99;
}

.slide-container .slide-item.slide-inactive.slide-unpinned .slide-item {
  display: none;
}

.slide-container .slide-item.slide-inactive.slide-unpinned:hover .slide-item {
  display: block;
}

.slide-container .highlighted-slide {
  background-color: palegreen !important;
  color: #333 !important;
}

/* show/hide icons */
.slide-container .slide-item .show-slide {
  display: none;
}
.slide-container .slide-item .hide-slide {
  display: inline;
}
.slide-container .slide-item.slide-inactive .show-slide {
  display: inline;
}
.slide-container .slide-item.slide-inactive .hide-slide {
  display: none;
}

/* lock/unlock icons */
.slide-container .slide-item > .slide-body > .controls .unlock-slide {
  display: none;
}
.slide-container .slide-item > .slide-body > .controls .lock-slide {
  display: inline;
}
.slide-container .slide-item.slide-locked > .slide-body > .controls .unlock-slide {
  display: inline;
}
.slide-container .slide-item.slide-locked > .slide-body > .controls .lock-slide {
  display: none;
}


.slide-container .slide-item.sortable-chosen {
  background-color: deepskyblue !important;
  color: white !important;
}

.slide-container .slide-item.sortable-chosen > .slide-body {
  color: white !important;
}

/* active/inactive logic */

/*
.active .inactive,
.inactive .active {
  display: none !important;
}
*/
.active .hide-if-active,
.inactive .hide-if-inactive,
.active-a .hide-if-active-a,
.inactive-a .hide-if-inactive-a,
.active-b .hide-if-active-b,
.inactive-b .hide-if-inactive-b,
.active-b .hide-if-active-c,
.inactive-b .hide-if-inactive-c {
  display: none !important;
}

.active > .user-info .hide-if-active-nested,
.active > .user-card .hide-if-active-nested,
.active > .controls .hide-if-active-nested,
.inactive > .user-info .hide-if-inactive-nested,
.inactive > .controls .hide-if-inactive-nested,
.inactive > .user-card .hide-if-inactive-nested {
  display: none !important;
}

.disabled .hide-if-inactive-nested,
.disabled .hide-if-active-nested,
.disabled .hide-if-active,
.disabled .hide-if-inactive,
.disabled .hide-if-disabled {
  display: none !important;
}

a.move-agents {
  display: none;
  white-space: nowrap;
}

.parent > .controls a.move-agents {
  display: inline-block;
}


/* ace editor defaults */
.ace-editor { 
    height: 350px;
    width: 100%;
    margin: 10px 0 10px 0;
    border-radius: 5px;
    border: 1px solid #d1d1d1;        
}
    
.ace-controls {
  
}

/* typography utilities */

.truncate {
  display: block; max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.truncate.fifty {
  max-width: 50px;
}

.truncate.hundred {
  max-width: 100px;
}

.truncate.onefifty {
  max-width: 150px;
}

.truncate.twofifty {
  max-width: 250px;
}

.truncate.three {
  max-width: 300px;
}

/* campaign editor under groups */

.has-default > div:last-child {
  display: none;
}

.has-default > div:first-child {
  display: block;
}


.container-sortable {
  }

  .sortable-card .child-count {
    display: none;
  }

  .sortable-card.parent .child-count {
    display: inline-block;
  }

  .sortable-card.parent .sortable-card .child-count {
    display: none;
  }

  .sortable-card .container-sortable {
      padding: 1px;
      border: 1px solid transparent;
      border-radius: 3px;
  }

  .sortable-card.parent {
      background-color: #eefff1;
  }

  .sortable-card.parent .user-info {
    margin-bottom: 0.8em;
  }

  .sortable-card.parent > .handle {
      display: none;
  }

  .sortable-card.parent.parent-sortable > .handle {
      display: inline-block;
  }

  .collapse-trigger {
    display: none;
  }
  .sortable-card.parent.sort-collapsed > .controls > .collapse-trigger.sort-expand {
    display: inline-flex;
  }

  .sortable-card.parent.sort-expanded > .controls > .collapse-trigger.sort-collapse {
    display: inline-flex;
  }

  .sortable-card.parent.sort-collapsed .container-sortable {
    display: none;
  }

  .sortable-card .container-sortable .sortable-card {
      background-color: #eef1ff;
  }

  .sortable-card .container-sortable.visible {
      border: 1px solid #dbdfea;
  }

  .sortable-card .container-sortable .sortable-card .container-sortable {
      display: none;
  }

  .sortable-card {
      padding: 0.5rem; border-top: 1px solid #dbdfea;
  }

  .sortable-card.sortable-dragging {
      background-color: #ffaaff44;
  }

  .sortable-card:first-child {
      border-top: 0;
  }

  .sortable-card.inactive-campaign {
    background-color: #fdd !important;
  }

  .sortable-card .controls {
      float: right;
  }

  .sortable-card .controls .badge .ni::before {
      vertical-align: middle;
  }

  .sortable-card .handle {
      float: left;
      font-size: 1.4em;
      margin-right: 0.75rem; 
      margin-top: 0.4rem;
      cursor: pointer;
  }

  .sortable-card .handle .icon {
      width: 2.125rem;
  }

  .sortable-card.sortable-category .handle {
    margin-top: 0;
  }

  .sortable-card.sortable-category > .user-info > .tab-title {
    font-size: 1.25em;
  }

  .empty-placeholder {
    background-color: #f9f0f0;
    padding:  0.5em;
  } 

  /* default list entry for none */
  ul > li.default-entry {
    display: none;
  }
  ul > li.default-entry:first-child {
    display: list-item;
  }

  ul.list-unstyled {
    list-style-type: circle;
    margin-left: 1.5rem;
  }

  ul.list-unstyled > li {
    list-style-type: disc;
  }

  /* messages stuff */
  .nk-msg-item.archived {
    background-color: #fdd;
    text-decoration: line-through;
  }

  .nk-msg-item .unread-indicator {
    display: none;
  }

  .nk-msg-item.unread .unread-indicator {
    display: inline-block;
  }

  .avatar-container {
    flex-wrap: wrap;
  }

  .g-2 > li.avatar-container-item {
    padding: 0.175rem !important;
  }

/* features */
.no-hover {
  pointer-events: none;
}

/* blog post styles */

.posts-list a.btn {
  border: 0px;
}

.post-body {
}

.posts-list .post-action-reacted {
  /* pointer-events: none; */
}

.modal-content .post-replies-info {
  display: block;
}

.modal-content .post-replies-info:last-child {
  display: none;
}

.modal-content .post-reply .post-reply-content {
  border-bottom: 1px solid lightgray;
}

.modal-content .post-reply > .post-reply {
  margin-left: 20px;
}

.modal-content .post-reply-new {
  margin-right: 50px;
  width: calc(100% - 50px);
}

.post-abridged {
  position: relative;
  max-height: 100px;
  overflow: hidden;
}
.post-abridged::before {
  content: "";
  position: absolute;
  display: block;
  height: 100%;
  width: 100%;
  background: rgb(255,255,255);
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 50%);
  background-size: 100% 100px;
  background-position: 0 100px;
}

.post-reply-deleted .post-reply-trigger {
  display: none;
}

table .marker.bg-white.border-0 {
  display: none;
}

.action-container .dropdown-menu {
  display: block;
  position: static;
  width: 100%;
}

.post-reply-actions {
  margin: 6px 1px 0 0;
}
.cancel-reply-trigger {display: none}
.reply-indicator {display: none;}
.active-reply > sub > .reply-indicator {display: inline-block;}
.active-reply > div > .cancel-reply-trigger {display: inline-block;}

/* campaign selector in resolution groups */

.resolution-campaign-card.active,
.resolution-channel-card.active {
  background-color: #eefff1;
}

.resolution-campaign-card.inactive,
.resolution-channel-card.inactive {
  background-color: #efefef;
}


/* blog post editor */

.pinswitch {
  font-size:  1.4rem;
  line-height: 1.5;
  vertical-align: top;
}

.pinswitch:hover {
  color: inherit;
}

.custom-control-label.dot.bg-outline-light {
  background-color: #b7c2d0;
  --bs-bg-opacity: 1;
}

fieldset.form-group {
  border:  1px solid #dbdfea;
  border-radius: 4px;
  min-height: 2rem;
}

.select2 ~ .form-label-outlined,
fieldset .form-label-outlined {
  width: auto;
  top:  calc(-0.4375rem + -2px);
  font-size: 11px;
}

.custom-control-label.bg-white {
  border:  1px solid #888;
  transition: border-color 1s linear;
}

input:checked + .custom-control-label.bg-white {
  border:  1px transparent;
}

/* various custom control overrides */

.custom-control.list-selector .custom-control-label::before,
.custom-control.list-selector .custom-control-label::after {
  left: -1.5rem;
}

/* quill controls */

.quill-control {
  min-height: 250px;
}

.quill-control strong {
  font-weight: 700;
}

.post-reply-content.ql-editor,
.post-body.ql-editor {
  padding: 0;
  white-space: normal;
}
.post-reply-content.ql-editor {
  padding: 1em;
}

/* mass assign resolution buttons */

.assign-trigger .working,
.assign-trigger .finished {
  display: none;
}

.assign-trigger.working .working {
  display: inline-block;
}

.assign-trigger.finished .finished {
  display: inline-block;
}


/* reload button on modals that isn't a close button */
.modal-content > .reload,
.modal-content > .external-link,
.modal-content > .action-complete,
.modal-content > .action-uncomplete,
.modal-content > .action-flag,
.modal-content > .action-unflag,
.modal-content > .action-cantflag {
  position: absolute;
  top: 0.75rem;
  right: 3rem;
  height: 2.25rem;
  width: 2.25rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #526484;
  z-index: 1;
  transition: all 0.3s;
}

.modal-content > .action-complete,
.modal-content > .action-uncomplete,
.modal-content > .action-flag,
.modal-content > .action-unflag,
.modal-content > .action-cantflag {
  right: 4em;
}

.modal-content > .action-complete,
.modal-content > .action-uncomplete,
.modal-content > .reload,
.modal-content > .external-link,
.modal-content > .action-flag,
.modal-content > .action-unflag,
.modal-content > .action-cantflag {
  float: right;
  font-size: 1.405rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
}

/* dashlite refactor overrides */

.with-flag {
  position: relative;
}

.with-flag .fi {
  display: inline-block;
  position: absolute;
  top: 10px;
  right: 10px;
}

.btn-icon > .ni {
  padding: 0;
}

/* touchable stuff */
.touchable {
  position: relative;
  cursor: pointer;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.touchable input[type='text'] {
  width: auto;
}

.cursor-pointer {
  cursor: pointer;
}

/* qa bits */

.icon.qa-complete {
  width: 0.7rem !important;
}

.resolution-entries-container .unlisted {
  display: none !important;
}

/* order details */

.order-details .data-col {
  align-items: baseline !important;
}

.order-details .data-col .data-label {
  font-weight: bold;
}

/* select2 tags */


.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: white;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: hotpink;
  color: white;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
  margin-top: 3px;
  margin-left: 5px;
  margin-right: 6px;
}


/* resolution qa stuff */
.hide-subs .hide-subs {
  display: none;
}

/* table autofit cells */
.autofit {
  width: 1px;
  white-space: nowrap;
}

/* dashboard loader */
#loading-blocker {
  color: red;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 65px);
  min-height: calc(100vh - 65px);
  background: #eaeaf2cc;
  z-index: 9999;
  display: none;
}
#loading-blocker > img {
  position: absolute;
  width: 120px;
  height: 120px;
  left: calc(50% - 60px);
  top: 250px;
}