html {
    -webkit-tap-highlight-color: transparent;
    height: 100%;
}

body {
    color: $body-text;
    background-color: $background-color;
    overflow: hidden;
    height: 100%;
}

h3.home-section-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #006f99;
    margin-bottom: 1rem;
}

// variables
$nav-sidebar-bg: #3e4557;
$nav-sidebar-border: #323847;

// Bootstrap overwrite

.form-alert {
    width: 450px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.col-fixed-60 {
    width:60px;
    background:rgb(0, 172, 236);
    position:fixed;
    height:100%;
    z-index:1;
}

.col-offset-120 {
    padding-left:120px;
    z-index:0;
}

label {
    color: #676c7b;
    font-size: 14px;
    margin-bottom: 0.3rem;
}


.alertify-notifier {
    .ajs-message {
        border: none;
    }
    .ajs-message.ajs-visible {
        font-size: 0.875rem; // 14px
        font-weight: 300;
        letter-spacing: 0.2px;
        text-shadow: none;
    }
    .ajs-message.ajs-success {
        background: $pink;
    }
    .ajs-message.ajs-error {
        background: #cc0000;
    }
}

// Tables
.table {
    font-size: 13px;
    background-color: white;
    thead {
        th {
            font-weight: 400;
            vertical-align: top;
            color: #777;
        }
    }
    tr {
        outline: 1px solid transparent;
        border-bottom: 1px solid #e9ecef;
    }
    td {
        padding: 1rem .75rem;
        border-bottom: none;
        &.name {
            font-size: 14px;
            font-weight: 700;
            line-height: 120%;
        }
    }
}
.table-hover tbody tr {
    &:hover {
        background-color: transparent;
        outline: 1px solid $gray-light;
        cursor: pointer;
    }
    &.table--selected {
        outline: 1px solid $main-blue;
    }
}
tr.table--selected {
    outline: 1px solid $main-blue;
}

.report-thead {
    position: sticky;
    top: 0;
    th {
        position: sticky;
        top: 0;
        border: none;
    }
}

// Bootstrap overwrite end

// Wire BEM classes

.newsroomWrap {
    position: absolute;
    top: 0px;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
}

body.print {
    color: #000;
    background-color: #fff;
    overflow: auto;
}

.sidenav {
    flex: 0 0 56px;
    background-color: $main-blue;
    position: relative;

    @include phone {
        flex: 0 0 45px;
    }
}

.sidenav:after {
    position: absolute;
    display: block;
    width: 7px;
    z-index: 80;
    content: "";
    top: 0;
    bottom: 0px;
    right: 0;
    background-image: linear-gradient(to left,rgba(0,0,0,.12) 0,transparent 100%);
}

.sidenav-icons {
    padding: 0;
    list-style-type: none;

    // Default for tablet and pcs
    display: block;
    margin: 0;
    overflow: visible;

    @include phone {
        display: flex;
        margin: 0 0 0 6px;
        overflow: auto;
    }

  li {
      a, span {
          display: block;
          height: 40px;
          padding: 0 8px;
          line-height: 40px;
          text-align: center;

          @include phone {
              height: 45px;
              line-height: 45px;
          }

          i {
              vertical-align: middle;
          }
          @include sm {
            padding: 0 10px;
          }
      }
  }
  .active i {
    color: #fff;
  }
}

.sidenav-icons__item--admin {
  position: absolute;
  bottom: 0;
  left: auto;
  right: 0;
  @include sm {
      left: 0;
  }
}

.sidenav-icons__item--report {
  position: absolute;
  bottom: 0;
  left: auto;
  right: 38px;
  @include sm {
      left: 0;
      right: 0;
      bottom: 40px;
  }
}

.content-header {
    position: relative;
}

.divider{
    position: relative;
}

.divider:after{
    content: "";
    position: absolute;
    height: 0px;
    right: 0px;
    bottom: -1px;
    left: 0px;
    z-index: 2;
    border-top: solid 1px rgba(0,0,0,0.25);
    border-bottom: solid 1px rgba(255,255,255,0.25);
}

.card {
    background-color: #fff;
    outline: none;
}

article.list {
    cursor: pointer;
}

.footer {
    z-index: 10;
    height: 30px;
    color: #333;
    background-color: #e6e6e6;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
    font-size: 11px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    transition: margin 0.2s ease-in-out;

    @include xxsm {
        justify-content: space-between;
        padding: 0;

        a {
            margin: 0 5px;
        }
    }

    @include xsm {
        justify-content: space-between;
        padding: 0 0.5rem;

        a {
            margin: 0;
        }
    }

    @include sm {
        justify-content: center;

        a {
            margin: 0 10px;
        }
    }

    &--home {
        margin-bottom: -30px;
    }
}

.contentWrap, .settingsWrap, .settings-inner, .flex-row, .flex-col {
    display: flex;
    flex-grow: 1;
    overflow-y: auto;
}
.settings-inner {
    flex-direction: column;
    @include md {
        flex-direction: row;
    }
}

.profile-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1010;
    display: flex;
    flex-grow: 1;
    overflow-y: auto;
}

.flex-col {
    overflow-x: auto;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    position: relative;
}

.content-bar {
    background: #fff;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
    padding: 0px;
    z-index: 102;
}

.content-bar__dropdown-btn {
    position: relative;
    background-color: #fff;
    color: #7f7f7f;
    padding: 17px 20px;
    border-radius: 0px;
    z-index: 1001 !important;
}

.show .content-bar__dropdown-btn {
    box-shadow: 0px -7px 12px rgba(0, 0, 0, 0.3);
}

.content-bar__menu {
    font-size: 0.94rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    cursor: pointer;
    z-index: 1002;
    border-left: 1px solid #ebebeb;

    // Only show the content-bar menu on mobile phones
    @include sm {
        display: flex;
    }

    @include phone {
        width: 45px;
        height: 45px;
    }
}

.show .content-bar__menu {
    box-shadow: 0px -7px 12px rgba(0, 0, 0, 0.3);
    z-index: 1002;
}

.content-bar__menu--nav {
    background: #ededed;
    flex-shrink: 0;
    border: none;
    .icon--close-thin {
        display: none;
    }
}

.content-bar__menu--nav--open {
    background: #717b96;
    border: none;
    .icon--hamburger {
        display: none;
    }
    .icon--close-thin {
        display: block;
    }
}

.content-bar__menu + .dropdown-menu {
    z-index: 1001;
}
.content-bar--side-padding {
    padding: 0 10px;
    @include sm {
        padding: 0 20px;
    }
}

.side-navigation {
    width: auto;
    overflow-y: auto;
    border-right: 1px solid $gray-light;
    border-bottom: 1px solid $gray-light;
    background-color: white;
    ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        @include md {
            flex-direction: column;
        }
        li {
            flex-grow: 1;
            display: flex;
            @include sm {
                flex-direction: column;
            }
        }
    }
    @include md {
        width: 220px;
    }
}
.side-navigation__btn {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    color: $body-text;
    text-transform: uppercase;
    line-height: 150%;
    text-decoration: none;
    background-color: rgba(94,169,200,0);
    padding: 16px;
    transition: background-color .2s ease-out,color .1s ease-out;
    text-align: center;
    &:hover {
        background-color: #f1f1f1;
        color: $body-text;
        text-decoration: none;
    }
    &.active {
        background-color: #f1f1f1;
        color: $main-blue;
    }
    @include sm {
        padding: 20px;
    }
    @include md {
        text-align: left;
    }
}
.list-items-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex: 1;
    overflow: auto;

    &--bg-white {
        background-color: white;
    }
}

.reports-container {
    margin: 20px;
    padding: 0px;
}

.list-item {
    background-color: #ccc;
}
.list-item__preview {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: hidden;
    overflow-y: auto;
    background-color: white;
    position: fixed;
    top: 56px;
    left: 0;
    bottom: 0;
    border: none;
    z-index: 81;
    @include lg {
        width: 420px;
        border-left: 2px solid $gray-mid;
        position: static;
        z-index: auto;
    }
    &--large {
        width: 440px !important;
    }

    form {
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    .tab-content {
        display: flex;
        flex-direction: column;
        flex: 1;
        overflow: hidden;
        overflow-y: auto;
    }
    .tab-pane {
        display: flex;
        flex-direction: column;
        flex: 1;

        &--no-scroll {
            overflow-x: visible !important;
            overflow-y: visible !important;
        }
    }
    .nav-tabs {
        .nav-item {
            .nav-link {
                font-size: 12px;
                color: #9b9b9b;
                text-transform: uppercase;
                letter-spacing: 0.1em;
                padding: 1rem 1.6rem;
                &.active, &.active:hover {
                    font-weight: 500;
                    color: $body-text;
                    border-color: #ddd #ddd #fff #ddd;
                }
                &:hover {
                    border-color: transparent;
                    color: $body-text;
                }
            }
            &:first-child {
                .nav-link {
                    &.active, &.active:hover {
                        border-color: #ddd #ddd #fff transparent;
                    }
                }
            }
        }
    }
    table {
        tr:first-child {
            td {
                border-top: none;
            }
        }
    }
}
.list-item__preview-header {
    padding: 20px 45px 20px 20px;
    display: flex;
    justify-content: space-between;
    position: relative;
    h3 {
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 0;
        line-height: 1.4;
    }
    .icon-button {
        position: absolute;
        top: 10px;
        right: 10px;
    }
}
.list-item__preview-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    overflow-y: auto;
    padding: 20px;

    &--no-scroll {
        overflow: visible !important;
    }
}
.list-item__preview-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 15px;
    border-top: 1px solid #ddd;
    .btn {
        padding: 0.4rem 0.6rem;
        flex: 1 0 auto;
        @include sm {
            padding: 0.5rem 1rem;
            flex: 0 1 auto;
        }
        + .btn {
            margin-left: 12px;
        }
    }
    @include sm {
        padding: 20px;
    }
}

.search {
    flex-wrap: nowrap;
    flex: 1 1 0%;
    @include sm {
        flex: 1 1 auto;
    }
    @include lg {
        flex-wrap: wrap;
    }
    + .content-bar__right {
        margin-left: 0;
        @include sm {
            margin-left: 10px;
        }
    }
}

.search__form {
    flex: 0 1 auto;
    margin: 0 10px;
    form {
        flex: 1 1 auto;
    }
    input {
        background: #fff;
        &:focus {
            background: #fff;
            box-shadow: inset 0 0px 2px rgba(0, 0, 0, 0.15);
        }
    }
    @include sm {
        flex: 1 1 auto;
    }
}

.searchForm--active {
    .search__form__buttons {
        @include sm {
            display: block;
        }
        > * {
            margin: 0px 10px;
        }
    }
}

.search__input {
    color: #d5d5d5;
    font-weight: 500;
    border: 0px;
    padding: 0;
    &::-webkit-input-placeholder { /* Chrome/Opera/Safari */
        color: #d5d5d5;
    }
    &::-moz-placeholder { /* Firefox 19+ */
      color: #d5d5d5;
    }
    &:-ms-input-placeholder { /* IE 10+ */
      color: #d5d5d5;
    }
    &:-moz-placeholder { /* Firefox 18- */
      color: #d5d5d5;
    }
}

.search__form__buttons {
    display: none;
}

.search__icon {
    margin: 0 6px;
    order: 1;
    @include sm {
        margin: 0 10px;
        order: 0;
    }
}
.form-inline {
    .nav-link {
        padding: 0;
        font-size: 0.8125rem;
        @include sm {
            padding: 0.5rem 0.5rem;
        }
        @include lg {
            padding: 0.5rem 1rem;
            font-size: 1rem;
        }
        & + .nav-link {
            margin-left: 10px;
            @include sm {
                margin-left: 0;
            }
        }

        &--small {
            padding-top: 0px;
            padding-bottom: 0px;
        }
    }
}
.content-bar__right {
    display: flex;
    border-left: 1px solid #ebebeb;
}

.content-bar__sort {
    font-size: 0.89rem;
    align-items: center;
    padding-left: 10px;
}

.content-bar__sort .content-bar__dropdown-btn {
    font-size: 0.89rem;
    color: #444;
    padding: 17px 20px;
}

.multi-action-bar {
    display: none;
   //justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    height: 56px;
    padding: 0 16px;
    background-color: #d9f2fc;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
    z-index: 1003;
    .btn {
        + .btn {
            margin-left: 10px;
        }

        @include xxsm {
            padding: 0.5rem 0.25rem;
        }
    }

    @include xxsm {
        padding: 0;
        justify-content: space-evenly;
    }
}

.multi-action-bar--open {
    display: flex;
    animation: dropOut 0.3s cubic-bezier(0.695, 0.105, 0.285, 1.275) 1;
}

@keyframes dropOut {
    0% {transform: translateY(-48px);}
    100% {transform: translateY(0);}
}

.multi-action-bar__count {
    font-size: 0.875rem; // 14px
    flex: 1 1 auto;
    margin-left: 20px;
    display: none;
    @include sm {
        display: block;
    }
}

.multi-action-bar__icons {
    margin-left: auto;

    @include xxsm {
        margin-left: 0;
    }
}

.multi-action-bar__icon {
    margin-left: 20px;
    &:hover {
        text-decoration: none;
    }
}

.content-main {
    display: flex;
    overflow-y: auto;
    flex-grow: 1;

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

.search-results-info {
    font-size: 0.875rem; // 14px
    line-height: 1.2;
    display: flex;
    margin-right: 20px;
    width: auto;
    min-height: 28px;
    padding-bottom: 0;
    padding-top: 0;
    @include md {
        margin-right: 40px;
        padding-top: 0.3rem;
        min-height: 48px;
    }
}

.search-results-info__num {
    margin-right: 5px;
    transition: all 0.2s ease;

    @include md {
        font-size: 2rem; // 32px
        font-weight: 300;
        line-height: 1.4;
        margin-right: 10px;
    }

    @include lg {
        margin-bottom: 0;
    }
}

.search-results-info__text {
    color: #6e6e6e;
    display: flex;

    .text-break {
        max-height: 32px;
        overflow-y: hidden;
    }

    @include md {
        margin-top: 6px;
        flex-direction: column;
    }

    b {
        color: $body-text;
    }
}

.text-break {
    overflow-wrap: break-word;
    word-break: break-word;
}

.wire-column--3 {
    opacity: 1;
    transition: opacity .2s ease-in;
    transition-delay: .1s;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    overflow-x: hidden;
    overflow-y: auto;
}

.wire-column__nav, .wire-column__preview {
  width: 0;
  transition: all .1s ease-out;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.wire-column__nav {
    width: 0;
    position: static;
    bottom: 0;
    z-index: 101;
    @include phone {
        position: fixed;
    }

    top: 130px;
}

.wire-column__nav--open, .wire-column__preview--open {
    flex-shrink: 0;
}

.wire-column__nav--open {
    width: 100%;
    @include lg {
        width: 220px;
    }
    @include xl {
        width: 260px;
    }
    @include xxl {
        width: 320px;
    }
}

.wire-column__preview {
    position: fixed;
    right: 0;
    top: 56px;
    left: 100%;
    z-index: 1008;
    width: 320px;
    @include lg {
        position: static;
        top: auto;
        width: 0;
        z-index: 101;
    }
}

.contentWrap--small-header .wire-column__preview {
    top: 40px;
}

.wire-column__preview--open {
    width: 100%;
    right: 0;
    left: 0;
    bottom: 0;
    border: 0;
    @include lg {
        width: 340px;
        position: static;
        border-left: 2px solid #919191;
    }
    @include xl {
        width: 380px;
    }
    @include xxl {
        width: 480px;
    }
}

.wire-column__nav__items, .wire-column__preview__items {
  opacity: 0;
  transition: all .1s ease-out;
  transition-delay: 0;
  padding: 10px 20px;
}

.wire-column__nav--open .wire-column__nav__items, .wire-column__preview--open .wire-column__preview__items {
  opacity: 1;
  transition: all .1s ease-out;
  transition-delay: .2s;
}

.wire-column__nav {
    background: $nav-sidebar-bg;
}

.wire-column__nav__items {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 10px 0 0 0;
    position: relative;
    overflow-y: hidden;

    .nav {
        flex: 0 0 44px;
        margin-left: 0;
        margin-right: 0;
        border-bottom: 1px solid $nav-sidebar-border;
    }
    .tab-content {
        display: flex;
        flex-direction: column;
        overflow: auto;

        .tab-pane {
            padding: 20px;

            #reset-filter-buffer {
                height: 80px;
            }

            .filter-button {
                position: absolute;
                left: 0;
                right: 15px;
                padding: 10px 20px 0 20px;
                background: $nav-sidebar-bg;

                &.reset {
                    bottom: 0;
                }

                &.search {
                    bottom: 50px;
                }

                &--border {
                    border-top: 1px solid $nav-sidebar-border;
                }
            }
        }
    }
    .btn {
        margin-bottom: 12px;
    }
}

.wire-column__nav__tab {
    a {
        color: #8b8f9a;
        &.active {
            color: #fff;
            border-bottom: 3px solid $main-blue;
        }

        @include lg {
            padding: .5rem .4rem;
        }
        @include xxl {
            padding: .5rem 1rem;
        }
    }
}

.wire-column__main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 1;
    width: 50%;
    overflow: auto;
    margin-left: 0px;
    transition: margin-left .1s ease-out;
}

.wire-column__main--left-margin {
    margin-left: 260px;
}
.wire-column__main-header {
    flex-shrink: 0;
    min-height: 40px;
    padding-top: 4px;
    padding-bottom: 4px;
    transition: all .2s ease;
    z-index: 9;

    @include lg {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    &--small {
        background: white;
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);

        padding-top: 0;

        @include md {
            padding-bottom: 0;
        }

        .btn-sm {
            @include sm {
                padding: 0.1875rem 0.75rem;
                transition: padding .2s ease-out;
            }
        }
        .search-results-info__num {
            @include sm {
                font-size: 1.625rem;
                transition: all .2s ease;
                margin-top: 0;
            }
        }
        .search-results-info {
            min-height: unset;
            @include sm {
                line-height: 1;
                transition: all .2s ease;
            }
        }
        .search-results-info__text {
            margin-top: 0;
        }
    }

    + .wire-articles--list {
        padding-top: 4px;
    }
}

.flex-grid__item {
    background: #fff;
}

.wire-column__nav__divider {
    width: 38px;
    border-bottom: 4px dotted #5b6170;
    display: block;
    margin: 20px auto;
}

.wire-column__nav__group {
    color: #fff;
    margin-bottom: 20px;
}

.wire-column__info {
    color:#8b8f9a;
}

.wire-button__notif {
    position: absolute;
    top: -10px;
    right: -10px;
    display: block;
    color: #fff;
    background: #d50089;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    line-height: 1.3rem;
}

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

.wire-articles__header {
    flex: 0 0 100%;
    margin-bottom: 10px;
    padding: 0 15px;
    font-size: 1.25rem;
    font-weight: 300;
    color: $gray-dark;
}
.wire-articles__group {
    flex: 0 0 100%;

    & + .wire-articles__header {
        margin-top: 10px;
    }
}

.wire-articles__item {
    position: relative;
    flex-grow: 1;
    background: #fff;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
    padding: 16px 25px;
    border: 4px solid transparent;
    outline: 1px solid transparent;
    transition: all .2s ease-out;
    .no-touch & {
        &:hover {
            border: 4px solid #f5f5f5;
        }
    }
    &:before {
        content: '';
        position: absolute;
        left: -4px;
        top: -4px;
        bottom: -4px;
        width: 0;
    }
}

.wire-articles__item--open {
    outline: 1px solid #00aceb;
}

.wire-articles__item--visited {
    .wire-articles__item-headline,
    .wire-articles__item__text {
        color: $gray-mid;
    }
    .wire-articles__item__meta-info,
    .wire-articles__item__meta-info .bold {
        color: $gray-mid;
    }
    .wire-articles__wire-articles__item__metaitem__meta-info .bold {
        font-weight: 500;
    }
    .wire-articles__item-image figure img {
        -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
        filter: grayscale(100%);
    }
    .icon--gray-light {
        color: #dedede !important;
    }
    .wire-articles__item-actions {
        .btn-group {
            &:hover {
                > span > [class^="icon--"], [class*=" icon--"] {
                    color: $body-text !important;
                }
            }
        }
    }
}

.wire-articles__item.wire-articles__item--selected {
    border: 4px solid #e6f7fd;
    outline: 1px solid #00aceb;
}

.wire-articles__item-wrap {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    cursor: pointer;
    outline: none;

    @include xxsm {
        padding-left: 8px;
        padding-right: 8px;
    }
}

.wire-articles--list {
    padding-top: 20px;
    margin-top: 0;
    overflow: auto;
    flex-grow: 1;
}

.wire-articles__item--list {
    display: flex;
    flex-direction: column;
    padding: 12px;
    @include xxsm {
        padding: 6px;
    }
    @include sm {
        padding: 12px 10px 6px 15px;
    }
    @include md {
        flex-direction: row;
        padding: 12px 20px;
    }
}

.wire-articles__item-sidebar {
    margin-right: 20px;
}

.wire-articles__item--covering {
    &:before {
        width: 4px;
        background-color: $green;
    }
    .date-round__number {
        color: $green;
    }
    .date-round {
        background: #edf8da;
    }
}
.wire-articles__item--postponed {
    &:before {
        width: 4px;
        background-color: $orange;
    }
    .date-round__number {
        color: $orange;
    }
    .date-round {
        background: #edf8da;
    }
}
.wire-articles__item--rescheduled {
    &:before {
        width: 4px;
        background-color: $orange;
    }
    .date-round__number {
        color: $green-dark;
    }
    .date-round {
        background: #edf8da;
    }
}
.wire-articles__item--not-covering {
    &:before {
        width: 4px;
        background-color: #bfc3c7;
    }
    .date-round__number {
        color: #9a9a9a;
    }
    .date-round {
        background: #f1f1f1;
    }
}
.wire-articles__item--canceled {
    &:before {
        width: 4px;
        background-color: $red;
    }
    .date-round__number {
        color: $red;
    }
    .date-round {
        background: #fee6e6;
    }
    .wire-articles__item__meta-time {
        color: $gray-mid;

        .time-text {
            color: $gray-mid;
            font-weight: bold;
        }
    }
}
// watched item
.wire-articles__item--watched {
    background-color: #e5eaec;
    background-image: url(/static/watched-icon.svg);
    background-size: 62px;
    background-repeat: no-repeat;
    background-position: right 72px center;

}

// grid view
.wire-articles--grid {

    .wire-articles__item--grid {
        display: flex;
        flex-direction: column;
        padding: 0;
        border: none;
    }
    .wire-articles__item:hover {
        border: none;
    }
    .wire-articles__item-text {
        order: 2 !important;
        padding: 16px 16px 6px;
        flex-basis: auto; // iPad fix
    }
    .wire-articles__item-image {
        order: 1 !important;
        position: relative;
        figure {
            margin: 0 !important;
            img {
                max-width: 100% !important;
                width: 100% !important;
            }
        }
        .wire-articles__item-select {
            position: absolute;
            top: 10px;
            left: 10px;
        }
    }
    .wire-articles__versions__time {
        line-height: 1.2;
        font-size: 1.4rem;
    }
    .wire-articles__item-actions {
        order: 3 !important;
        flex-direction: row !important;
        justify-content: flex-end !important;
        margin: 0 10px 4px 0;
    }
    .wire-articles__versions__item {
        padding: 16px;
        align-items: flex-start;
        flex-wrap: wrap;
        cursor: pointer;
    }
    .wire-articles__item-select {
        width: 24px;
        opacity: 1;
        margin-right: 10px;
    }
    .wire-articles__versions__name {
        margin-top: 4px;
        h5 {
            font-size: .875rem;
        }
    }
}

// compact view
.wire-articles--list-compact {
    .wire-articles__item-wrap {
        margin-bottom: 10px;
    }
    .wire-articles__item--list {
        padding: 10px;
        @include md {
            padding: 4px 10px;
        }
    }
    .wire-articles__item-text {
        flex-direction: column;
        flex-basis: auto;
        @include md {
            flex-direction: row;
            align-items: center;
        }
    }
    .wire-articles__item-headline {
        display: flex;
        font-size: 0.875rem; // 14px
        margin-right: 20px;
        margin-bottom: 6px;
        label {
            margin-bottom: 0px;
        }
        @include md {
            align-items: center;
            margin-bottom: 0;
        }
    }
    .wire-articles__item__versions-btn {
        @include md {
            margin-left: auto;
            align-self: center;
        }
    }
    .wire-articles__item-actions {
        flex-direction: row;
        align-items: center;
        > * {
            margin-bottom: 0px;
        }
        > .icon-button {
            height: 32px;
        }
        > .btn-group {
            order: 1;
        }
    }
    .wire-articles__item__icons {
        margin-right: 2px;
        @include md {
            margin-right: 6px;
        }
        margin-bottom: 5px;
    }
    .wire-articles__item-select {
        margin-right: 6px;
        @include md {
            margin-right: 10px;
        }
    }
    .wire-articles__item__meta {
        margin-top: 5px;
        @include xl {
            margin-top: 2px;
            margin-left: 8px;
        }
    }
    .wire-articles__item__meta-time {
        margin-left: 0;
        margin-bottom: 6px;

        @include md {
            margin-left: 10px;
        }
        @include lg {
            margin-bottom: 0;
        }
        @include xl {
            margin-left: 10px;
        }
    }
    .wire-articles__header {
        font-size: 1rem;
        font-weight: 400;
        margin-bottom: 4px;
    }
    .wire-articles__item--watched {
        background-position: right 120px center;
        background-size: 52px;
    }
    .wire-articles__item__meta-info {
        margin-bottom: 5px;
    }
}

.time-text {
    color: #696565;
    font-weight: bold;
}

// one pane open (filter or preview), responsive
.wire-articles__one-side-pane {
    .wire-articles__item--list {
        flex-direction: column;
        padding: 12px;
        @include sm {
            padding: 12px 15px 6px 15px;
        }
        @include lg {
            flex-direction: row;
        }
        @include xl {
            padding: 12px 20px;
        }
    }
    .wire-articles__item-image {
        order: 1;
        figure {
            margin-left: 0px;
            margin-bottom: 20px;
            @include lg {
                margin-left: 12px;
                margin-bottom: 0px;
            }
            img {
                max-width: none;
                width: 100%;
                @include lg {
                    max-width: 160px;
                    width: auto;
                }
            }
        }
        @include lg {
            order: 0;
        }
    }
    .wire-articles__item-text {
        order: 2;
        @include lg {
            order: 0;
        }
    }
    .wire-articles__item-actions {
        order: 3;
        flex-direction: row;
        justify-content: flex-end;
        @include lg {
            order: 0;
            flex-direction: column;
            justify-content: flex-start;
        }
    }
    .wire-articles__item-headline {
        @include lg {
            line-height: 1;
        }
        @include xl {
            line-height: 1.2;
        }
    }
    .icon-button {
        @include lg {
            width: 32px;
        }
        @include xl {
            width: 38px;
        }
    }
    // compact view
    .wire-articles--list-compact {
        .wire-articles__item--list {
            padding: 4px 10px;
        }
        .wire-articles__item-actions {
            flex-direction: row;
        }
        .wire-articles__item__meta-time {
            margin-bottom: 6px;
        }
    }
}

// two panes open (filter and preview), responsive
.wire-articles__two-side-panes {
    .wire-articles__item-wrap {
        flex-grow: 1;
    }
    .wire-articles__item--list {
        flex-direction: column;
        padding: 12px 10px 6px 15px;
        @include xl {
            flex-direction: row;
        }
        @include xxl {
            padding: 12px 20px;
        }
    }
    .wire-articles__item-image {
        order: 1;
        figure {
            margin-left: 0px;
            margin-bottom: 20px;
            @include xl {
                margin-left: 12px;
                margin-bottom: 0px;
            }
            img {
                max-width: none;
                width: 100%;
                @include xl {
                    max-width: 160px;
                    width: auto;
                }
            }
        }
        @include xl {
            order: 0;
        }
    }
    .wire-articles__item-text {
        order: 2;
        flex-basis: auto;
        @include xl {
            order: 0;
        }
    }
    .wire-articles__item__text {
        font-size: 0.8125rem;
        @include xxl {
            font-size: 0.875rem;
        }
    }
    .wire-articles__item-actions {
        order: 3;
        flex-direction: row;
        justify-content: flex-end;
        @include xl {
            order: 0;
            flex-direction: column;
            justify-content: flex-start;
        }
    }
    .wire-articles__item-headline {
        margin-right: 0;
        @include xl {
            line-height: 1;
        }
        @include xxl {
            line-height: 1.2;
            margin-right: 20px;
        }
    }
    .icon-button {
        width: 38px;
        @include xl {
            width: 32px;
        }
        @include xxl {
            width: 38px;
        }
    }
    .search-results-info {
        margin-right: 10px;
        transition: all .2s ease;
        @include xl {
            margin-right: 20px;
        }
        @include xxl {
            margin-right: 40px;
        }
    }
    .wire-articles__item__meta-time {
        margin-bottom: 10px;

        @include xxl {
            margin-bottom: 6px;
        }
    }

    // compact view
    .wire-articles--list-compact {
        .wire-articles__item--list {
            padding: 4px 10px;
        }
        .wire-articles__item-actions {
            flex-direction: row;
        }
        .wire-articles__item__meta {
            margin: 0 10px;
            flex-shrink: 0;
        }
        .wire-articles__item-text {
            flex-direction: column;
            align-items: flex-start;
            @include xl {
                flex-direction: row;
                align-items: center;
            }
        }
        .wire-articles__item__versions-btn {
            margin-left: 0;
            align-self: flex-start;
            @include xl {
                margin-left: auto;
                align-self: center;
            }
        }
        .wire-articles__item__meta-time {
            margin-left: 0;
            margin-bottom: 6px;

            @include lg {
                margin-left: 25px;
            }
            @include xl {
                 margin-left: 0;
            }
            @include xxl {
                margin-bottom: 0;
            }
        }
    }
}

.wire-articles__item-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-basis: 100%; // IE fix
    order: 2;
    @include md {
        order: 0;
    }
}

.wire-articles__item-headline {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;

    i {
        margin: 0 4px 0 2px;
    }
}

.wire-articles__item-select-visible {
    width: 24px;
    opacity: 1;
    margin-right: 10px;
    display: inline-block;
}

.wire-articles__item-select {
    width: 24px;
    opacity: 1;
    margin-right: 10px;
    @include xl {
        width: 0;
        opacity: 0;
        margin-right: 0;
    }
    display: inline-block;
    transition: all .2s ease-out;
    img {
        opacity: 0;
        margin-top: -1px;
    }
}

.wire-articles__item:hover .wire-articles__item-select,
.wire-articles__item--selected .wire-articles__item-select {
    width: 24px;
    opacity: 1;
    margin-right: 10px;
    img {
        opacity: 1;
        transition: all .2s ease-out;
        transition-delay: 0.2s;
    }
}

.wire-articles__item-selected .wire-articles__item-select {
    width: 24px;
    opacity: 1;
    margin-right: 10px;
}

.wire-articles__item__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 4px;
    margin-top: 10px;

    @include lg {
        margin-top: 0;
    }
    img {
        height: 35px;
    }
}


.wire-articles__item__meta--align-top {
    align-items: flex-start;

    .wire-articles__item__icons {
        margin-top: 3px;
    }
}

.wire-articles__item__icons {
    display: contents;
    flex-wrap: wrap;
    margin-bottom: 10px;

    @include md {
        display: flex;
    }

    &--dashed-border {
        margin-right: 8px;
        padding-right: 2px;
        border-right: 1px dotted #c4c4c4;

        @include lg {
            margin-right: 16px;
            padding-right: 10px;
        }
    }
}

.icon-small--attachment {
    margin-right: 8px;
}

.wire-articles__item__icon {
    margin-right: 10px;
    display: flex;
    position: relative;

    &.dashed-border {
        padding-right: 10px;
        border-right: 1px dotted #c4c4c4;
    }
}

.wire-articles__item__divider {
    height: 30px;
    border-right: 1px dotted #c4c4c4;
    margin: 0px 7px;
}

.wire-articles__item__meta-info {
    font-size: 0.8125rem;
    color: $gray-dark;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    overflow-y: visible;
    margin-bottom: 10px;

    @include xxsm {
        margin-bottom: 0;
    }

    .bold {
        color: $body-text;
        font-weight: 500;
    }
    .blue-text {
        color: #00acec;
        cursor: pointer;
    }
    @include lg {
        line-height: 1.3;
    }

    .wire-column__preview--canceled & {
        text-decoration: line-through;
    }
}
.wire-articles__item__meta-row {
    display: flex;
    margin-bottom: 6px;

    i {
        margin-right: 6px;
    }
    span {
        overflow-wrap: break-word;
        word-break: break-word;
        word-wrap: break-word;
    }
}

.wire-articles__item__meta-time {
    position: relative;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 10px;
    font-size: 0.8125rem;

    &--border-right {
        margin-right: 8px;
        padding-right: 10px;
        border-right: 1px dotted #c4c4c4;

        @include lg {
            margin-right: 16px;
            padding-right: 20px;
            font-size: 0.97rem;
        }

    }
}

.time-label {
    color: white;
    background-color: #bfc3c7;
    font-size: 15px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 2px;

    &--covering {
        background-color: $green;
    }

    .wire-articles__item--covering &,
    .wire-column__preview--covering &,
    .wire-column__preview__content--covering & {
        background-color: $green;
    }
    .wire-articles__item--canceled &,
    .wire-column__preview--canceled &,
    .wire-column__preview__content--canceled & {
        background-color: $red;
    }
    .wire-articles__item--postponed &,
    .wire-column__preview--postponed &,
    .wire-column__preview__content--postponed & {
        background-color: $orange;
    }
    .wire-articles__item--rescheduled &,
    .wire-column__preview--rescheduled &,
    .wire-column__preview__content--rescheduled & {
        background-color: $orange;
    }

    .wire-column__preview--canceled & {
        text-decoration: line-through;
    }
}
.time-icon {
    position: absolute;
    content: '';
    bottom: -8px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 10px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;

    .wire-articles__item__meta-time--border-right & {
        right: 2px;

        @include lg {
            right: 10px;
        }
    }

    i {
        color: $gray-mid;
    }
    .wire-articles__item--covering & i,
    .wire-column__preview--covering & i,
    .wire-column__preview__content--covering & i {
        color: $green;
    }
    .wire-articles__item--canceled & i,
    .wire-column__preview--canceled & i,
    .wire-column__preview__content--canceled & i {
        color: $red;
    }
    .wire-articles__item--postponed & i,
    .wire-column__preview--postponed & i,
    .wire-column__preview__content--postponed & i {
        color: $orange;
    }
    .wire-articles__item--rescheduled & i,
    .wire-column__preview--rescheduled & i,
    .wire-column__preview__content--rescheduled & i {
        color: $orange;
    }
    .wire-articles__item--watched & {
        background-color: #e5eaec;
    }
}

.wire-articles__item__text {
    font-size: 0.875rem;
    font-weight: 300;
    margin: 5px 0 0;
    line-height: 1.3;
    p {
        margin: 0px;
    }
    & + .wire-articles__item__icons {
        margin-top: 10px;
    }
    &--large {
        font-size: 1rem !important;
    }
}

.wire-articles__item__versions-btn {
    font-size: 0.8125rem;
    color: $main-blue;
    margin-top: 4px;
}

.wire-articles__item__versions-btn--open {

}

.wire-articles__item-image {
    position: relative;
    order: 1;
    figure {
        margin-left: 0px;
        margin-bottom: 20px;
        @include md {
            margin-left: 12px;
            margin-bottom: 0px;
        }
        img {
            max-width: none;
            width: 100%;
            @include md {
                max-width: 160px;
                width: auto;
            }
        }
    }
    @include md {
        order: 0;
    }
}

.wire-articles__item-image-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    opacity: 0.8;
}

.wire-articles__item-actions {
    margin-left: 10px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
    order: 3;
    @include md {
        order: 0;
        flex-direction: column;
        justify-content: flex-start;
    }
    @include xxsm {
        margin-left: 0;
    }

    > * {
        margin-bottom: 3px;
    }
    .btn-group {
        &:hover {
            > span > [class^="icon--"], [class*=" icon--"] {
                color: $body-text;
            }
        }
    }
}

.wire-articles__item--open + .wire-articles__versions, .wire-articles__item--selected + .wire-articles__versions {
    outline: 1px solid #00aceb;
}

.wire-articles__versions {
    flex-direction: column;
    background: #fafafa;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
    transition: all .2s ease-out;
    z-index: 0;
}

a.wire-articles__versions {
    display: block;
    color: inherit;

    &:hover {
        text-decoration: none;
        box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.4);
    }
}

.wire-articles__versions__item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px dotted #cacaca;
    @include lg {
        padding: 5px 20px;
    }
}

.wire-articles__versions__item:last-child {
    border-bottom: 0px;
}

.wire-articles__versions__wrap {
    display: flex;
    align-items: center;
}

.wire-articles__versions__wrap > * {
    margin-right: 20px;
}

.wire-articles__versions__time {
    font-size: 1.4rem;
    color: #b6b6b6;
    font-weight: 400;
    margin-right: 10px;
    @include lg {
        font-size: 2.25rem;
        font-weight: 300;
    }
}

.wire-articles__versions__meta {

}

.wire-articles__versions__name {
    h5 {
        font-size: 0.9375rem; // 15px
        color: #707070;
        margin-bottom: 0px;
    }
}

.wire-column__preview {
    background: #fff;
}

.wire-column__preview__items {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow-x: auto;
    padding: 0px;
}
.wire-column__preview__mobile-bar {
    display: flex;
    height: 56px;
    flex-shrink: 0;
    padding: 10px 15px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
    background-color: white;
    @include lg {
        display: none;
    }
}

.wire-column__preview__top-bar {
    font-size: 0.8125rem; // 13px
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px 5px 20px;
    flex-shrink: 0;
    @include xl {
        padding: 15px 10px 20px 20px;
    }
}

.wire-column__preview__date {
    color: $gray-dark;
    line-height: 1rem;
    font-size: .8125rem;

    &.wire-column__preview__date--event {
        padding: 0 10px 10px 0px;
        display: flex;

        @include xl {
            padding: 0 10px 20px 0px;
            font-size: 1rem;
            line-height: 1.5rem;
        }
    }

    &--remote {
        color: #b2acac;
        font-size: 0.95rem !important;
    }

    &.wire-column__preview__date--dashed-border {
        margin-right: 8px;
        padding-right: 8px;
        border-right: 1px dotted #c4c4c4;

        @include xl {
            padding-right: 10px;
            font-size: 1rem;
            line-height: 1.5rem;
        }
    }

    .wire-column__preview--canceled & {
        text-decoration: line-through;
    }
}

.wire-column__preview__buttons {
    display: flex;
}

.wire-column__preview__content {
    flex-grow: 1;
    overflow: auto;
    padding: 10px 20px;
    p {
        margin: 20px 0;
    }
    img {
        max-width: 100%;
    }
}

.wire-column__preview__content-header {
    display: flex;
    align-items: baseline;
    margin: 20px 0;

    &--block {
        display: block !important;
    }
}

.wire-column__preview__slug {
    font-size: 0.875rem; // 14px
    font-weight: 500;
    color: #1d5b7d;
    display: inline-block;
    margin-bottom: 5px;
}

.wire-column__preview__headline {
    font-size: 1.5rem; // 24px
    font-weight: 700;
    line-height: 1.4;

    .wire-column__preview--canceled & {
        text-decoration: line-through;
    }
}

.wire-column__preview__author {
    color: #626262;
    font-size: 0.9375rem;
    font-weight: 300;
    .bold {
        color: #222222;
        font-weight: 500;
    }
}

.wire-column__preview__image {
    position: relative;
    margin-left: -20px;
    margin-right: -20px;
    img {
        width: 100%;
        height: auto;
    }
}

.wire-column__preview__video-headline {
    font-size: 0.8125rem; // 14px
    font-weight: 300;
    display: block;
    margin-bottom: 5px;
}

.wire-column__preview__video {
    position: relative;
    display: flex;
    flex-direction: column;
    video {
        width: 100%;
        height: auto;
    }
    .btn {
        align-self: flex-end;
    }
}

.wire-column__preview__image-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    opacity: 0.8;
}

.wire-column__preview__caption {
    font-size: 0.8125rem; // 13px
    color: #7c7c7c;
    margin: 10px 20px;
}

.wire-column__preview-image-link {
    font-size: 0.8125rem;
    margin: 0px 20px;
    display: flex;
    align-items: flex-end;
    @include lg {
        margin: 10px 20px;
    }
}
.wire-column__preview-image-link .logo {
    display: inline-block;
    width: 74px;
    height: 16px;
    background: transparent url(/static/logo-aap-photos.png) 0 0 no-repeat;
    padding: 2px 0;
    @media only screen and (min--moz-device-pixel-ratio: 2),
        only screen and (-o-min-device-pixel-ratio: 2/1),
        only screen and (-webkit-min-device-pixel-ratio: 2),
        only screen and (min-device-pixel-ratio: 2) {
            background: transparent url(/static/logo-aap-photos-x2.png) 0 0 no-repeat;
            background-size: 74px 16px;
    }
}

.wire-column__preview-image-link a {
    margin: 0 8px;
}

.wire-column__preview__lead, .wire-column__preview__text {
    font-size: 0.9375rem; // 15px
    color: #222222;
    line-height: 1.55;
}

.wire-column__preview__text {
    color: #444444;
    font-weight: 300;
    margin-bottom: 20px;

    .wire-column__preview--canceled & {
        text-decoration: line-through;
    }
}

.wire-column__preview__text--pre {
    white-space: pre-wrap;
}

.wire-column__preview__tags, .info-box--top {
    display: flex;
    flex-wrap: wrap;
    margin-top: 0;
    padding-top: 3px;
}

.wire-column__preview__coverage {
    border-top: 1px dotted #cacaca;
    margin-top: 20px;
    padding-top: 20px;

    & + .wire-column__preview__coverage {
        margin-top: 30px;
    }
}

.wire-column__preview__coverage__headline {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 20px;
}

.wire-column__preview__coverage__available-story {
    color: #7ed321;
}

.wire-column__preview__coverage__restricted-story {
    color: #bfc3c7;
    pointer-events: none;
}

.wire-column__preview_article-note {
    font-size: 0.815rem;
    display: flex;
    flex-direction: row;

    .secondary-note {
        display: flex
    }

    &.border-right {
        margin-right: 8px;
        padding-right: 10px;
        border-right: 1px dotted #c4c4c4;

        @include lg {
            margin-right: 16px;
            padding-right: 20px;
            font-size: 0.97rem;
        }

    }
}

.icon--info {
    &--smaller {
        font-size: medium !important;
        padding-top: 1px !important;
    }
}

.coverage-item {
    display: flex;
    flex-direction: column;
    font-size: 0.8125rem;
    margin-bottom: 12px;
    padding: 4px 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.1);

    @include xl {
        padding: 6px 12px;
    }

    &--clickable {
        &:hover {
            cursor: pointer;
        }
    }
}
.coverage-item__row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;

    & + .coverage-item__row {
        margin-top: 4px;
    }
    a:hover {
        text-decoration: none;
    }
    p {
        font-size: 0.75rem
    }
    i {
        font-size: 16px;
        height: 17px;
    }

    &--gray {
        color: #747474 !important;
    }
}
.coverage-item__column {
    display: flex;
    flex-direction: column;

    &--grow {
        flex-grow: 1;
    }
}
.coverage-item__text-label {
    color: #333;
    opacity: 0.8;
    font-weight: 300;
}
.coverage-item--element-grow {
    flex-grow: 1;
}

.coverage--secondary-icon {
    font-size: 15px  !important;
    margin-left: -6px  !important;
    display: inline !important;
}

.column__preview__tags__column {

}

.column__preview__tags__box-headline, .info-box__label {
    font-size: 0.875rem;
    color: #222222;
    font-weight: 700;
    margin-bottom: 5px;
}

.column__preview__tags__column__headline {

}

.wire-column__preview__tags__headline {
    font-size: 0.6875rem; // 11px
    color: #4D4D4D;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 5px;
    display: block;
}

.wire-column__preview__tag {
    font-size: 0.8125rem; // 13px
    background: #EDEDED;
    color: #444444;
    white-space: nowrap;
    display: inline-block;
    padding: 5px 20px;
    margin-bottom: 5px;
    border-radius: 2px;
    margin-right: 10px;
    &:hover {
        color: #444444;
        background: #e2e1e1;
        text-decoration: none;
    }
}

.wire-column__preview__versions, .info-box {
    display: flex;
    flex-direction: column;
    margin: 0 0 20px;
}

.wire-column__preview__versions__box-headline {
    font-size: 0.875rem; // 14px
    color: #222222;
    font-weight: 700;
    margin-bottom: 5px;
}

.wire-column__preview__versions__item {
    align-items: center;
    padding: 10px 0px;
    border-top: 1px dotted #cacaca;
    cursor: pointer;
}

.wire-column__preview__versions__wrap {
    display: flex;
    align-items: center;
}

.wire-column__preview__versions__time {
    font-size: 2.25rem;
    color: #b6b6b6;
    font-weight: 300;
    line-height: 36px;
    margin-right: 15px;
}

.wire-column__preview__versions__meta {
    font-size: 0.8125rem;
    color: $gray-dark;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    .bold {
        color: #444;
        font-weight: 700;
    }
}

.wire-column__preview__item__meta-info {
    display: flex;
    flex-direction: column;
}

.wire-column__preview__versions__name {

}

.wire-column__preview__versions__headline {
    font-size: 0.875rem; // 14px
    color: #707070;
    line-height: 1.3;
    margin-top: 5px;
    margin-bottom: 0px;
}

.content--item-detail {
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow-y: auto;
}

.content--item-detail .content-header {

}

.content--item-detail .wire-column__preview__buttons {
    margin-right: 15px;
}

.content--item-detail .wire-column__preview__content {
    max-width: 980px;
    width: 100%;
    padding: 0px 20px;
    background: #fff;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
    flex: 1;
    align-self: center;
    overflow: initial;
    @include lg {
        padding: 0 30px;
    }
}

.content--item-detail .wire-column__preview__coverage {
    max-width: 350px;
}

.content--item-detail .wire-column__preview__headline {
    line-height: 1.2;
    @include lg {
        line-height: 1.4;
    }
}

.content--item-detail .wire-column__preview__image {
    margin-bottom: 0;
    overflow: hidden;
    > span {
        display: block;
        background-color: $nav-sidebar-bg;
    }
    img {
        display: block;
        width: auto;
        max-height: 500px;
        margin: 0 auto;
    }
    @include lg {
        margin-left: -30px;
        margin-right: -30px;
    }
    &--custom {
        max-height: none !important;
        object-fit: fill;
        margin: 0 !important;
        width: fit-content !important;
    }
}

.content--item-detail .wire-column__preview__caption {
    @include lg {
        float: left;
        margin: 10px 30px;
    }
}

.content--item-detail .wire-column__preview-image-link {
    @include lg {
        float: right;
        margin: 10px 30px;
    }
}

.wire-column__preview__content--item-detail-wrap {
    overflow: auto;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wire-column__preview__content--item-detail-text-wrap {
    display: flex;
    flex-direction: column;
    margin: 30px 0 20px 0;
    @include lg {
        flex-direction: row;
    }
}

.wire-column__preview__content--item-detail-item-text {
    order: 2;
    flex: 1 1 100%;
    overflow: auto;
    @include lg {
        margin: 0px 40px 0px 10px;
    }
}

.wire-column__preview__content--item-detail-preformatted-wrap {
    display: flex;
    flex-direction: column;
    margin: 30px 0 20px 0;
}

.wire-column__preview__content--item-detail-item-preformatted {
    order: 2;
    flex: 1 1 100%;
    @include lg {
        margin: 0px 40px 0px 10px;
    }
}

.wire-column__preview__content--item-detail-preformatted-wrap {
    display: flex;
    flex-direction: column;
    margin: 30px 0 20px 0;
}

.wire-column__preview__content--item-detail-item-preformatted {
    order: 2;
    flex: 1 1 100%;
    @include lg {
        margin: 0px 40px 0px 10px;
    }
}

.content--item-detail .wire-column__preview__lead, .content--item-detail .wire-column__preview__text {
    font-size: 1rem; // 16px
}

.content--item-detail .wire-column__preview__headline {
    font-size: 2.125rem; // 34px
}

.content--item-detail .wire-articles__item__meta {
    order: 1;
    flex-direction: row;
    @include lg {
        flex-direction: column;
        flex: 1 0 110px;
        align-items: flex-start;
        padding-top: 6px;
    }
}

.content--item-detail .wire-articles__item__meta-info {
    margin-top: 10px;
}

.wire-articles__item__meta.wire-articles__item__meta--row {
    flex-direction: row;

    .wire-articles__item__meta-info {
        margin-top: 0;
    }
}

.wire-column__preview__content--item-detail-info-wrap,
.wire-column__preview__content--event-detail-info-wrap {
    order: 3;
    flex: 1 0 auto;
    margin-bottom: 20px;
    @include lg {
        flex: 1 0 260px;
        margin-bottom: 0;
    }
}
.wire-column__preview__content--event-detail-info-wrap {
    @include lg {
        flex: 1 0 320px;
    }
}

.content--item-detail .wire-column__preview__tags {
    border-top: 0px;
    margin-top: 0px;
    flex-direction: column;
}

.content--item-detail .column__preview__tags__column, .info-box__content {
    border-top: 1px dotted #cacaca;
    padding: 10px 0px;
}

.info-box__content .column__preview__tags__column,
.info-box__content .wire-column__preview__versions__item {
    border-top: none;
    padding: 0;
}

.profileWrap {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    background: #fff;
    overflow-y: auto;
    @include md {
        flex-direction: row;
    }
}

.profile-side-navigation {
    width: auto;
    padding: 20px;
    overflow: hidden;
    overflow-y: auto;
    background: $nav-sidebar-bg;
    display: flex;
    flex-direction: column;
    @include md {
        width: 300px;
        display: block;
        padding: 30px 40px;
    }
}

.profile__group {
    text-align: center;
    margin-bottom: 16px;
    margin-right: 30px;
    min-width: 140px;
    display: flex;
    @include md {
        display: block;
        margin-right: 0;
        margin-bottom: 40px;
        min-width: auto;
    }
}

.profile__avatar.initials {
    width: 10%;
    min-width: 60px;
    max-width: 128px;
    margin: 0 auto;
    border-radius: 100%;
    background: #e9ecf3;
    color: #3e4658;
    border: 2px solid #c5cad6;
    display: flex;
    justify-content: center;
    align-items: center;
    &:after {
        content: "";
        display: table;
        padding-bottom: 100%;
    }
    @include md {
        width: 100%;
        margin: 0 auto 20px auto;
    }
}

.profile__characters {
    font-size: 2.125rem; // 34px
}

.profile__name-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    align-items: flex-start;
    margin-left: 20px;
    @include md {
        align-items: stretch;
        margin-left: 0;
    }
}

.profile__name {
    font-size: 1rem; // 16px
    margin-bottom: 2px;
}

.profile__info {
    font-size: 0.8125rem; // 13px
    color: $gray-mid;
}

.profile__group.profile__group--dark-bck {
    .profile__avatar.initials {
        border: 2px solid #8b8f9a;
        background: #333a4a;
        color: #fff;
    }
    .profile__name {
        color: #fff;
    }
    .profile__info {
        color: #9296a0;
    }
}

.profile-side-navigation__items {
    display: flex;
    @include md {
        display: block;
    }
    .btn-block {
        padding: 0.2rem 0.4rem;
        line-height: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        & + .btn-block {
            margin-top: 0;
            margin-left: 10px;
        }
        @include md {
            & + .btn-block {
                margin-top: 0.625rem;
                margin-left: 0;
            }
            padding: 0.5rem 1rem;
            line-height: 1.2rem;
        }
    }
}

.profile-nav {

}

.profile-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;

    &__topics {
        flex-direction: row;
    }

    .list-item__preview {
        top: 0;

        &-header {
            background-color: #3e4557;
            color: #fff;
        }

        @include md {
            top: 155px;

            &-header {
                background-color: unset;
                color: unset;
            }
        }

        &--new {
            width: 100%;
        }
    }

    > .row {
        display: flex;
        align-content: flex-start;
        overflow: auto;
    }
}

.profile-content__footer {
    display: flex;
    flex-shrink: 0;
    padding: 15px 0px;
    > input + input {
        margin-left: 20px;
    }
    .btn {
        padding: 0.4rem 0.6rem;
        flex-grow: 1;
        @include md {
            padding: 0.5rem 1rem;
            flex-grow: 0;
        }
    }
}

.profile__mobile-close {
    position: fixed;
    top: 6px;
    right: 4px;
    width: 38px;
    height: 38px;
}

.modal-forgot-password {
    font-size: 0.875rem; // 14px
    margin-top: 4px;
    float: right;
}

.simple-card-wrap {
    margin-bottom: 20px;
}

.simple-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
    padding: 6px 15px 10px 15px;
    border: 4px solid transparent;
    outline: 1px solid transparent;
    transition: all .2s ease-out;
    &:hover {
        border: 4px solid #f5f5f5;
        outline: 1px solid #c6c6c6;
    }
    p {
        font-size: 14px;
        margin-bottom: auto;
    }
    @include md {
        padding: 10px 25px 16px 25px;
    }
}

.pull-right {
    float: right;
}

.simple-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.simple-card__headline {
    flex: 1 1 auto;
    color: #5f94a7;
    font-weight: 700;
    margin: 8px 0px;
    padding-right: 15px;
}

.simple-card__icons {
    display: flex;
    flex: 0 0 auto;
    max-width: 0px;
    overflow: hidden;
    transition: max-width 0.2s;
    > .icon-button {
        opacity: 0;
    }
}

.simple-card .simple-card__icons {
    max-width: 400px;
    padding-left: 15px;
    > .icon-button {
        opacity: 1;
        transition: opacity 0.2s;
        transition-delay: 0.2s;
    }
}

.simple-card__header-with-icons {
    .simple-card__headline {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.simple-card__date {
    font-size: 0.8125rem;
    margin-top: 10px;
    span {
        color: $gray-dark;
    }
}

.button__reset-styles {
    background: transparent;
    border: none;
    padding: 0px;
    cursor: pointer;
    &:focus {
        outline: none;
    }
}

.button-pill {
    font-size: 0.75rem; // 12px
    background: #f3f3f3;
    padding-right: 1em;
    padding-left: 1em;
    border-radius: 10rem;
    border: none;
    &:hover {
        background: #e2e2e2;
    }
}

.modal, .modal-backdrop {
    position: absolute;
    position: fixed;
    top: 0;
    background: white;
}

// home event
.date-round {
    width: 100%;
    min-width: 110px;
    max-width: 180px;
    margin: 0 auto;
    border-radius: 100%;
    background: #f1f1f1;
    color: $gray-mid;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px;
    &:after {
        content: "";
        display: table;
        padding-bottom: 100%;
    }
    @include sm {
        max-width: 180px;
    }
    &.date-round--list-view {
        @include sm {
            max-width: none;
            min-width: 0;
            width: 78px;
        }
    }
}
.date-round__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.date-round__number {
    font-size: 48px;
    font-weight: 300;
    color: #7ed321;
    line-height: 1.1;
    letter-spacing: -.1rem;

    .wire-articles__item-sidebar & {
        font-size: 20px;
        letter-spacing: 0;
        font-weight: 400;
    }
    &.date-round__number--smaller {
        font-size: 16px !important;
        font-weight: 400;
    }
}

.date-round__number--small {
    font-size: 14px;
    font-weight: 500;
    color: #7ed321;
}
.date-round__month {
    font-size: 13px;
    font-weight: 500;
}
.date-round__month--big {
    font-size: 18px;
}
.date-round__day {
    font-size: 11px;
    text-transform: uppercase;
}

.toggle-background.react-toggle--checked .react-toggle-track {
  background-color: $main-blue !important;
}
.react-toggle-track {
    width: 42px !important;
    height: 22px !important;
    background-color: #cccccc !important;
}
.react-toggle-thumb {
    width: 18px !important;
    height: 18px !important;
    border: none !important;
    top: 2px !important;
    left: 2px !important;
}
.react-toggle--checked .react-toggle-thumb {
    left: 22px !important;
    border-color: none !important;
}

.collapsible {
    margin: 20px 0 10px 0;
    &__link {
        display: block;
        margin-bottom: 20px;
        font-size: 0.875rem;
    }
    &__form {
        display: none;
    }
}

// End Wire BEM classes


#google-map {
    display: none;
}

#copy-area {
    position: absolute;
    top: 0;
    left: -1000px;
}

.blue-circle {
    background-color: $main-blue;
    border: 1px solid #0600ec;
    box-shadow: 0px 0 0 2px #dedede;
    border-radius: 50%;
    height: 8px;
    width: 8px;
    bottom: -1px;
    right: 28px;
    position: absolute;

    @include md {
        right: 19px;
    }

    &--pale {
        background-color: #00adec;
    }

    &--right {
        right: 7px;

        @include md {
            right: -4px;
        }
    }
}

.noselect {
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

.banner-drop {
    padding-bottom: 20px;
    &__toggle {
        line-height: 0;
        display: flex;

        i {
            height: 15px;
        }

        button {
            width: 30px;
            height: 30px;
            border: 1px solid rgba(123, 123, 123, 0.5);
            @include border-radius(50%);
            background: white;

            &:focus {
                outline:0;
            }
            transition: transform 0.5s ease-out;
            cursor: pointer;
        }

        button.active {
            transform: rotate(180deg);
        }
    }


    &__line {
        height: 1px;
        margin: auto 0.4rem auto 0;
        background: rgba(123, 123, 123, 0.5);
        margin-top:11px;
        width: 50%;

        &--left {
            margin-right: 2px;
        }

        &--right {
            margin-left: 2px;
        }
    }

    &__child {
        max-height: 0px;
        overflow: hidden;
        transition: max-height 0.5s ease-out;

        &--active {
            height: auto;
            max-height: 500px;
        }
    }

    &__text {
        margin: -15px auto auto auto;
        font-size: 0.8125rem;
        color: $gray-dark;
    }
}

.list-view__options {
    display: flex;

    @include phone {
        display: none;
    }
}

.featured-stories__toggle-label-sm {
    display: none;

    @include sm {
        display: block;
    }
}

.featured-stories__toggle-label-xsm {
    display: block;

    @include sm {
        display: none;
    }
}

.search-user-list {
    overflow: auto;
    max-height: 400px;

    @include xxsm {
        max-height: 300px;
        margin: 0;
    }

    @include xsm {
        max-height: 400px;
        margin: 0;
    }
}

.user-msg {
    @include phone {
        margin: 0;
    }
}

.tag-list {
    width: calc(100% - 30px);
    display: inline-block;
    vertical-align: top;
    text-align: left;

    li {
        display: inline-block;
        position: relative;
        font-size: 12px;
        color: inherit;
        background-color: rgba(123, 123, 123, 0.2);
        margin-right: 3px;
        margin-bottom: 3px;
        padding: 3px 12px;
        cursor: pointer;
        transition: color 0.2s;

        i {
            color: #333;
            display: none;
            transition: display 0.2s;
            font-size: 12px;
            height: 15px;
            width: 15px;
            margin-right: 5px;
        }

        label {
            display: inline;
            min-width: auto;
            font-size: 12px;
            font-weight: 300;
            color: inherit;
            opacity: 0.75;
            margin: 0;
            padding: 0 4px 0 0;
        }
    }

    ul { padding: 0px; }
}

.tag-list li:hover i {
    display: inline-block;
}

.es-highlight {
    background-color: rgba(255, 61, 61, 0.25);
}

.audit-information {
    flex-direction: column;
    align-items: flex-start;
}
