/* overwrites */

ul li span.label {
    margin-top: 8px;
}

span.error {
    color: #ff0000;
}

.panel-stat .stat {
    max-width: 100%;
}

.table-action {
    white-space: nowrap;
}

.table-action-buttons {
    text-align: center;
}

#download-message-area {
    display: none;
}

.panel-heading p {
    margin: 0;
}


/* Ink Lab */

table th.center,
table td.center {
    text-align: center;
}

table .passed {
    background-color: #b5fa62 !important;
}

table .not-passed {
    background-color: #ff6060 !important;
}

table .not-applicable {
    background-color: #d3d3d3 !important;
}

/* Journal */

.timeline-post .reply .reply-title {
    margin-top: -2px;
    margin-bottom: 6px;
}

.timeline-post .reply .reply-content.well {
    margin-bottom: 4px;
    position: relative;
}

.timeline-post .reply .reply-content.well .body {
    padding-right: 50px;
}

.timeline-post .reply .reply-content.well .remove-reply {
    position: absolute;
    right: 15px;
    top: 15px;
}

.timeline-post textarea {
    padding: 22px;
    height: 200px;
    font-size: 15px;
    line-height: 1.6;
}

.panel-timeline .comment {
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 15px;
    line-height: 1.75;
}

.panel-timeline .timeline-btns {
    padding-bottom: 10px;
    padding-left: 0px;
    margin-left: -6px;
}

.panel-timeline .timeline-btns a {
    font-size: 16px;
}

.panel-timeline .panel-body {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.panel-timeline .reply .reply-content.well {
    margin-top: 20px;
    margin-bottom: 6px;
}

.panel-timeline .reply .reply-content.well .body {
    padding-right: 50px;
}

.panel-timeline .reply .author {
    font-size: 12px;
    padding-left: 20px;
    color: #a0a0a0;
}

.sqp-measurement-import-results td {
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.5;
    vertical-align: middle;
}

.sqp-measurement-import-results td .badge {
    margin-top: -3px;
}


/* margins */

.mb0 {
    margin-bottom: 0;
}

.mt0 {
    margin-top: 0;
}

.mt10 {
	margin-top: 10px;
}

.mt20 {
	margin-top: 20px;
}

.mt30 {
	margin-top: 30px;
}

.mt40 {
	margin-top: 40px;
}

.mt50 {
	margin-top: 50px;
}


/* paddings */

.pt8 {
    padding-top: 8px;
}


/* Consuption Report view */
/* Flex box md till full width */
@media (min-width: 992px) and (max-width: 1199px) {
    .flex-row {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    .flex-row .panel-stat,
    .flex-row .panel-heading {
        height: 100%;
        margin-bottom: 0;
    }
}

@media (min-width: 1200px) {
    .flex-row {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    .flex-row .panel-stat,
    .flex-row .panel-heading {
        height: 100%;
        margin-bottom: 0;
    }
}

/* Toggle Slider */
.switch {
    display: inline-block;
    height: 20px;
    position: relative;
    width: 80px;
}

.switch input {
    display:none;
}

.switch .slider {
    background-color: #D9534F;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
}

.switch .slider:before {
    background-color: #fff;
    bottom: 2px;
    content: "";
    height: 16px;
    left: 2px;
    position: absolute;
    transition: .4s;
    width: 16px;
}

.switch input:checked + .slider {
    background-color: #1CAF9A;
}

.switch input:checked + .slider:before {
    transform: translateX(60px);
}

.switch .slider.round {
    border-radius: 20px;
}

.switch .slider.round:before {
    border-radius: 50%;
}

.switch .slider .received,
.switch .slider .pending {
    color: white;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    font-size: 11px;
}
.switch .slider .received {
    display: none;
    left: 10px;

}
.switch .slider .pending {
    right: 10px;
}

.switch input:checked+ .slider .received {
    display: block;
}

.switch input:checked + .slider .pending {
    display: none;
}