a {
    color: #07A0CE;
}

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

.widget-header img {
    max-height: 300px;
}

.stream-body {
    background-color: #f3f3f3;
}

.wgrid2 {
    width: 216px;
}

.wgrid2 .profile-name {
    width: 133px;
}

.wgrid4 {
    width: 432px;
}

.wgrid4 .profile-name {
    width: 349px;
}

@media (max-width: 320px) {
    .wgrid2, .wgrid4 {
        width: 294px;
    }

    .wgrid2 .profile-name, .wgrid4 .profile-name {
        width: 210px;
    }

    .item-box {
        padding: 4px;
    }
}

@media (max-width: 600px) and (min-width: 321px) {
    .wgrid2, .wgrid4 {
        width: 336px;
    }

    .wgrid2 .profile-name, .wgrid4 .profile-name {
        width: 244px;
    }

    .item-box {
        padding: 4px;
    }
}

.item-box {
    position: relative;
    clear: both;
    float: left;
    padding: 6px 4px;
    transition: opacity 0.5s ease;
}

.item-box.fadedout {
    opacity: 0;
}

.item-box span.label-important {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    padding-bottom: 8px;
    position: relative;
    top: 4px;
}

.instagram .item-image .play,
.twitter-item .item-image .play,
.stream-item .item-image .play {
    display: inline-block;
    position: relative;
}

.instagram-item .item-image .play .overlay,
.twitter-item .item-image .play .overlay,
.stream-item .item-image .play .overlay {
    background: #F7F7F7;
    position: absolute;
    top: 0;
    bottom: -1px;
    left: 0;
    right: 0;
    opacity: 0.3;
    -webkit-transition: opacity;
    -webkit-transition-timing-function: ease-out;
    -webkit-transition-duration: 250ms;
}

.instagram-item .item-image .play .overlay img,
.stream-item .item-image .play .overlay img,
.twitter-item .item-image .play .overlay img {
    position: relative;
    top: 60px;
    width: 40px;
}

.instagram-item .item-image .play img,
.stream-item .item-image .play img,
.twitter-item .item-image .play img {
    width: 100%;
}

.instagram-item .item-image .play:hover .overlay,
.stream-item .item-image .play:hover .overlay,
.twitter-item .item-image .play:hover .overlay {
    opacity: .75;
    -webkit-transition: opacity;
    -webkit-transition-timing-function: ease-out;
    -webkit-transition-duration: 250ms;
}

.instagram-item.wgrid2 .play .overlay img {
    top: 80px;
}

.instagram-item.wgrid4 .play .overlay img {
    top: 200px;
}

.item-wrap:hover {
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    transition: all .2s ease;
}

.item-wrap {
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.16);
}

.item-wrap .item-image {
    text-align: center;
    position: relative;
}

.item-wrap .item-image,
.item-wrap .item-message {
    cursor: pointer;
}

.item-wrap .item-message, .item-wrap .item-extras {
    padding: 0 10px 5px;
}

.item-content {
    display: flex;
    flex-direction: column;
}

.item-wrap p {
    padding: 5px 0;
    margin: 0;
    overflow: hidden;
    font-size: 12px;
    font-weight: 400;
}

.item-wrap p.caption {
    overflow: auto;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    font-size: 13px;
    font-weight: 400;
}

.item-wrap .item-header {
    width: 100%;
    margin: 2px 0 6px;
}

.item-wrap .item-header .profile-name {
    float: left;
}

.item-wrap .item-header .author-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    height: 20px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-wrap .item-header .author-name a {
    display: inline-block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-wrap .item-header .author-user-id {
    font-size: 11px;
    line-height: 14px;
    opacity: 0.6;
}

.item-wrap .item-header .author-screen-name {
    display: inline-block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-wrap .item-header .network {
    font-size: 21px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    color: black;
}

.item-wrap .item-header .profile-image {
    float: left;
    margin-right: 5px;
}

.item-wrap .item-header .profile-image img {
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 40px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
}

.item-wrap .twitter-actions {
    margin-left: auto;
}

.item-wrap .item-header .twitter-actions {
    float: right;
    font-size: 12px;
}

.item-wrap .item-header .twitter-actions .item-links {
    color: #BEBEBE;
}

.item-wrap .item-header .twitter-actions .item-links:hover {
    color: black;
}

#refresh {
    height: 0;
    width: 100%;
    overflow: hidden;
    text-align: center;
    display: block;
    position: relative;
    -webkit-box-shadow: inset 0 -4px 8px -4px rgba(0, 0, 0, .3);
    box-shadow: inset 0 -4px 8px -4px rgba(0, 0, 0, .3);
}

#refresh .progress {
    width: 256px;
    margin: 0px auto;
}

#stream {
    margin: 16px auto 96px auto;
    min-height: 300px;
}

.stream-wrap {
    position: relative;
    margin: 0;
    padding: 0;
}

#scroll-top-btn {
    position: fixed;
    bottom: 0;
    padding: 8px 16px;
    background: #555;
    left: 16px;
    height: 38px;
    color: #fff;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border: 1px solid #696969;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .5);
    opacity: 1;
    transition: opacity 0.3s ease;
}

#scroll-top-btn.at-top {
    opacity: 0;
}

#reached-end {
    margin: 128px auto 0 auto;
    text-align: center;
}

#loading, #error-loading {
    text-shadow: 0 0 rgba(255, 255, 255, 0.3);
    margin: 128px auto;
    text-align: center;
    width: 256px;
}

#loading .progress, #error-loading .progress {
    width: 100%;
}

/* Item Viewing */

.stream-modal-open {
    overflow: hidden;
}

.stream-modal {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    display: none;
    overflow: auto;
    position: fixed;
    text-align: center;
    overflow-y: scroll;
    background: rgba(238, 238, 238, 0.9);
}

.modal-wrapper {
    margin: 15px 10px;
    display: inline-block;
}

.stream-modal .btn-close {
    float: right;
    display: inline-block;
    background: #FFFFFF;
    -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, .3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .3);
    padding: 10px;
    font-size: 1.5em;
    color: #888888;
}

.stream-modal .btn-close:hover, .stream-modal .btn-close:focus {
    background: rgba(0, 0, 0, 0.7);
}

.stream-modal .btn-close:hover .close, .stream-modal .btn-close:focus .close {
    color: #FFF;
    opacity: 1;
}

.stream-modal-header {
    text-align: left;
    position: relative;
    margin-bottom: 8px;
    display: table;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
}

.stream-modal-header .social-network-icon {
    display: table-cell;
    vertical-align: middle;
    margin-right: 8px;
    width: 40px;
    height: 40px;
}

.stream-modal-header .social-network-icon .profile-image > img {
    border-radius: 40px;
    height: 40px;
    width: 40px;
}

.stream-modal-header .social-network-icon a.social-icon-link:hover {
    text-decoration: none
}

.stream-modal-header .social-network-icon .tbit-font {
    color: black;
    font-size: 22px;
    line-height: 28px;
}

.stream-modal-header .profile-name {
    display: table-cell;
    max-width: 80%;
    vertical-align: middle;
    padding-left: 2px;
}

.stream-modal-header .author-name, .stream-modal-header .author-username {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    width: 100%;
}

.stream-modal-header .author-name, .stream-modal-header .author-username a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    width: 95%;
}

.stream-modal-header .author-name, .stream-modal-header .author-username a:hover {
    text-decoration: none;
    opacity: 0.7;
}

.stream-modal-header .author-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    height: 18px;
    max-width: 600px;
}

.stream-modal-header .author-username {
    font-size: 11px;
    font-weight: 600;
    line-height: 15px;
    margin-top: -3px;
    opacity: 0.6;
}

.stream-modal-header .twitter-actions {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
}

.stream-modal-header .twitter-actions .item-links {
    color: #6a6e73;
    opacity: 0.4;
}

.stream-modal-header .twitter-actions .item-links:hover {
    opacity: 0.7;
    text-decoration: none;
}

.close-icon {
    position: relative;
    text-align: right;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    color: #bdbdbd;
}

.stream-modal-body {
    padding: 35px;
}

.stream-modal-body .record-window {
    text-align: center;
    display: inline-block;
    max-width: 640px;
    min-width: 80%;
}

.stream-modal-body .feature {
    text-align: left;
    margin: auto;
    font-weight: 400;
    font-size: 1em;
    word-wrap: break-word;
}


.stream-modal-body .new-record-window {
    max-width: 800px;
}

.stream-modal-body .new-record-window .actions {
    margin-top: 30px;
}

.stream-modal-body .new-record-window .profile-info {
    float: left;
    line-height: 32px;
}

.stream-modal-body .new-record-window .profile-info .stream {
    float: left;
    font-size: 30px;
    margin-right: 5px;
}

.stream-modal-body .new-record-window .profile-info .author-name {
    float: left;
    font-size: 18px;
    font-weight: 600;
}

.stream-modal-body .new-record-window #new-record-form {
    margin-bottom: 10px;
}

.stream-modal-body .caption {
    font-size: .95em;
    text-align: left;
    margin: 10px 0;
    overflow: hidden;
}

.stream-modal-body .item-extras {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.stream-modal-body .item-extras .network {
    font-size: 28px;
    line-height: 34px;
}

.stream-modal-body .item-extras .creation-timestamp {
    line-height: 16px;
    float: none;
    margin: 0;
}

.stream-modal-body .report {
    text-align: left;
    margin:5px 0 0;
}

.stream-modal-body .report .report-item {
    color: var(--red-500);
    font-weight: bold;
    border: none;
    background: transparent;
    padding: 0;
}

.item-share {
    display: flex;
    align-items: center;
}
.item-share .share {
    display: flex;
}
.item-share .share-text {
    margin-right: 5px;
    font-weight: bold;
}

.item-share .share:hover {
    text-decoration: none;
    cursor:pointer;

}
.item-share .share:hover svg{
    transform: scale(1.2);
}

.share-icon {
    width: 35px;
    height: 35px;
    border-radius: 35px;
    padding: 7px;
    transition: 0.15s all ease;
    margin: 5px;
    display: inline-block;
}

.share-icon:hover {
    width: 45px;
    height: 45px;
    border-radius: 45px;
    padding: 12px;
    transition: 0.15s all ease;
    margin: 0;
}

.item-extras {
    display: flex;
    align-items: center;
    white-space: nowrap;
    border-radius: 3px 3px 0 0;
}

.item-extras a:link, .item-extras a:visited {
    color: #000;
}

.item-extras .creation-timestamp {
    float: left;
    font-size: 7.5pt;
    margin-left: 2px;
    line-height: 27px;
    padding: 0;
    vertical-align: middle;
    font-weight: bold;
}

.item-extras .network {
    float: left;
    vertical-align: middle;
    color: #999999;
    font-size: 16px;
    line-height: 27px;
    margin-right: 3px;
}

.item-extras .item-links {
    position: relative;
    top: 1px;
    left: 4px;
    color: #393939;
    font-size: 1em;
    max-width: 20px;
    opacity: 0.4;
    transform: scale(0.8, 0.8);
    -ms-transform: scale(0.8, 0.8); /* IE 9 */
    -webkit-transform: scale(0.8, 0.8); /* Safari and Chrome */
}

.item-extras .item-links.active {
    opacity: 0.7;
}

.item-extras .item-links:hover {
    text-decoration: none;
    opacity: 0.7;
    -ms-transform: scale(1, 1); /* IE 9 */
    transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transition: opacity .4s ease-in-out;
    -webkit-transition: opacity .4s ease-in-out;
}

@media (max-width: 800px) {
    .navbar-search > input {
        width: 165px;
    }
}

.navbar-search .search-query {
    border-radius: 3px;
}

.stream-wrapper {
    padding: 0 30px;
}

@media (max-width: 767px) {
    .stream-wrapper {
        padding: 0;
    }

    .stream-modal .btn-close {
        right: 10px;
    }

    .stream-modal-header .profile-name {
        max-width: 250px;
    }

    .stream-modal-body .feature {
        font-size: 1.1111em;
    }
}

@media (max-width: 450px) {
    .stream-modal-header .profile-name {
        max-width: 200px;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .stream-modal .btn-close {
        right: 10%;
    }

    .stream-modal-body .feature {
        font-size: 1.111em;
    }
}

a.record-link {
    display: inline-block;
    background-color: #707070;
    color: #fff;
    margin: 10px 0 5px;
    border-radius: 2px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

a.record-link:hover {
    opacity: 0.8;
    color: #fff;
    transition: all 0.3s ease;
}

.record-link-bar {
    background: #DDDDDD;
    text-align: center;
    overflow: hidden;
}

.refresh {
    font-size: 12px;
}

.error-header {
    padding-bottom: 5px;
}

.error-header-line {
    width: 30%;
    height: 50%;
    display: inline-block;
    border-bottom: 1px solid grey;
}

.error-tbits-logo {
    display: inline-block;
    width: 30%;
}

.stream-input {
    width: 100%;
    margin: 4px auto;
    text-align: left;
}

h6, .h6 {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.6;
}

/* Dashboard Style */

.dashboard-body {
    padding: 10px;
    overflow: hidden;
    height: 100%;
}

.highlight {
    font-size: 40px;
}

.highlight-medium {
    font-size: 34px;
    margin-left: 5px;
}

.highlight-small {
    font-size: 22px;
    margin-left: 5px;
}

.dashboard-summary {
    font-size: 16px;
    font-weight: 500;
    margin-left: 5px;
}

#map-canvas {
    background-color: #F3F3F3;
}

.map-point {
    fill: #000000;
}

.highcharts-background {
    fill: #F3F3F3;
}

.data-label {
    color: #000000;
}

.xaxis-label {
    color: #000000;
}

.network-percent-bar {
    background-color: #1A9A90;
}
