﻿/* sam3webapp\client\assets\shared\site.css */

/* 
    Workaround for [hidden] in IE10
    Use [attr.data-hidden] instead of [hidden].
    https://github.com/angular/angular/issues/5774
*/
[data-hidden="true"] { 
    display: none !important;
}


.page-header {
    padding: 0;
    margin: 0;
    margin-bottom: 15px;
    border: none;
}

.sam-page-header {
    margin: 0;
    padding: 20px;
    color: #006EB7;
}

.navbar {
    min-height: 50px;
}

.navbar-brand {
    float: left;
    height: 50px;
    padding: 15px 15px;
    font-size: 18px;
    line-height: 20px;
}

#sam-format-title {
    margin-left: 10px;
    display: none;
    color: #006EB7;
}

#sam-format-logo {
    float: left;
    display: none;
    background: url('../FORMAT_212x20.png') no-repeat top left;
    background-size: 212px 20px;
}

/* detect retina displays */
@media only screen and (-webkit-min-device-pixel-ratio: 2), 
    only screen and ( min--moz-device-pixel-ratio: 2), 
    only screen and ( -o-min-device-pixel-ratio: 2/1), 
    only screen and ( min-device-pixel-ratio: 2), 
    only screen and ( min-resolution: 192dpi), 
    only screen and ( min-resolution: 2dppx) {
    #sam-format-logo {
        background: url('../FORMAT_424x40.png') no-repeat top left;
        background-size: 212px 20px;
    }
}

@media(min-width:200px) {
    #sam-format-logo {
        width: 94px;
        height: 20px;
        display: inline-block;
    }
}

@media(min-width:312px) {
    #sam-format-logo {
        width: 212px;
    }
}

@media(min-width:512px) {
    #sam-format-title {
        display: inline-block;
        font-weight: 700;
    }
}

.sam-result-row {
    display: block;
}

.sam-score-1,
.sam-score-2,
.sam-score-3 {
    float: left;
    text-align: right;
    vertical-align: middle;
    border: none;
    margin-left: 0;
    margin-right: 0.5rem;
    width: 3rem;
    min-width: 3rem;
}

.sam-score-3 {
    display: block;
}

.sam-score-1 {
    font-weight: 700;
}

.sam-header-1,
.sam-header-2 {
    overflow: hidden;
    vertical-align: middle;
    padding-left: 0.5rem;
    font-weight: 700;
    border: none;
}

.sam-score-1,
.sam-header-1 {
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 1.6rem;
}

.sam-score-2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.sam-header-2 {
    font-size: 1.5rem;
}

.sam-label {
    margin-left: 4rem;
    display: block;
    word-wrap: break-word;
}

.sam-result-value {
    font-size: 1.3rem;
    margin-left: 13rem;
    margin-right: 0;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.3rem;
    min-height: 2.8rem;
    border-style: solid;
    border-width: thin;
    border-color: #ddd;
    border-radius: 0.3rem;
}

.sam-result-box {
    overflow: hidden;
    font-size: 1.3rem;
    margin-left: 13rem;
    margin-right: 0;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    padding: 0.3rem;
}

.sam-notify-circle {
    color: #e5322d;
}

.sam-notify-inverse {
    color: white;
}


.sam-notify-icon {
    font-size: 0.95rem;
    float: right;
}

/*
    DataTables styles
*/

/* Style ist aus jquery.dataTables.css, aber wenn diese Datei eingebunden wird,
    sind die Sortiericons doppelt.
*/
table.dataTable tbody th.dt-body-right,
table.dataTable tbody td.dt-body-right {
    text-align: right;
}

td.unapproved {
    color: #523200;
    background-color: #ffc493;
}


dd {
    margin-left: 4rem;
    display: block;
    word-wrap: break-word;
}

.sam-button-wrapper .btn {
    margin-top: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.btn {
    min-width: 120px;
}

.checkbox-inline {
    margin-right: 2rem;
    margin-bottom: 2rem;
}

.sam-sl-checkbox-label {
    font-weight: normal;
}

.checkbox-success input[type="checkbox"]:checked + label::before,
.checkbox-success input[type="radio"]:checked + label::before {
    background-color: #5cb85c;
    border-color: #5cb85c;
}

.checkbox-success input[type="checkbox"]:indeterminate + label::before,
.checkbox-success input[type="radio"]:indeterminate + label::before {
    background-color: #5cb85c;
    border-color: #5cb85c;
}

.checkbox-danger input[type="checkbox"]:checked + label::before,
.checkbox-danger input[type="radio"]:checked + label::before {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
}

.checkbox-danger input[type="checkbox"]:indeterminate + label::before,
.checkbox-danger input[type="radio"]:indeterminate + label::before {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
}

.checkbox-info input[type="checkbox"]:checked + label::before,
.checkbox-info input[type="radio"]:checked + label::before {
    background-color: #149be2;
    border-color: #149be2;
}

.checkbox-info input[type="checkbox"]:indeterminate + label::before,
.checkbox-info input[type="radio"]:indeterminate + label::before {
    background-color: #149be2;
    border-color: #149be2;
}

.sam-comment-item {
    border-bottom: 1px solid lightgray;
}

.sam-comment-last-item {
    border-bottom: 0;
}

/*.sam-escalfilter-btn {
    color: #2e982e;
    width: 32px;
    height: 24px;
    vertical-align: top;
    margin-top: -2px;
    margin-right: 2rem;
    border: 1px solid transparent;
    border-radius: 4px;
}

.sam-escalfilter-btn.disabled {
    color: gray;
    cursor: not-allowed;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: .65;
    pointer-events: none;
}

.sam-escalfilter-label {
    font-weight: normal;
    vertical-align: top;
    margin-right: 2rem;
}*/

.sam-check-state {
    padding: 2px 5px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: #42b3ff;
    border-color: #3386be;
    color: #000000;
}

.sam-check-state-invalid {
    background-color: #ffffff;
    border-color: #000000;
    color: #000000;
}

.sam-check-state-ok {
    background-color: #90ee90;
    border-color: #6caa6c;
    color: #000000;
}

.sam-check-state-blocked {
    background-color: #ff6b6b;
    border-color: #b15050;
    color: #000000;
}

.sam-check-state-unapproved {
    background-color: #ffb33a;
    border-color: #c78f36;
    color: #000000;
}

.sam-check-state-unchecked {
    background-color: #fdf422;
    border-color: #807b1e;
    color: #000000;
}

.sam-check-state-deleted {
    background-color: #a194b5;
    border-color: #b1a0c7;
    color: #000000;
}

.sam-escalation-lower {
    background-color: #42b3ff;
    color: #000000;
}

.sam-escalation-user {
    background-color: #90ee90;
    color: #000000;
}

.sam-escalation-higher {
    background-color: #ff6b6b;
    color: #000000;
}

li { cursor: pointer; }
