﻿body {
    /*padding-top: 50px; moved to body-content to allow global navigation header to fit in */
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 50px; /* moved from body to allow global navigation header to fit in */
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

/* Customized stuff... */

.page-header-site {
    height: 88px;
    padding: 5px 0 10px 30px;
    margin: -50px -15px 10px -20px;
    background-color: #ffffff;
    text-decoration: none;
}

.page-header-left {
    float: left;
    width: 75%;
}

.page-header-right {
    float: left;
    width: 25%;
}

.infoBox {
    width: 878px;
    padding: 8px 8px 8px 8px;
    margin: 8px;
}

.white {
    background-color: #ffffff;
}

.defaultWidth {
    width: 972px;
}

.infoBox-border {
    border-width: thin;
    border-style: solid;
}

.bold {
    font-weight: bold;
}

.obsolete {
    text-decoration: line-through;
}

.glyphic-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.04em;
    font-weight: 700;
}

.caps {
    font-variant: small-caps;
}

.small-findable {
    font-size: 0.1em;
    /*font-weight: 100;
    opacity: 1;
    filter: alpha(opacity=100);*/
}

.inlineblock {
    display: inline-block;
}

.plain {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
}

#simpleTooltip {
    padding: 6px;
    border: 1px solid #31708F;
    color: #31708F;
    background: #D9EDF7;
    opacity: 0.8;
}

/* style revisorerklæring pre-pdf */

.pdfWidth {
    width: 700px;
}

.pdfWidthBold {
    width: 700px;
    font-weight: bold;
}

.pdfWidthItalic {
    width: 700px;
    font-style: italic;
}

.pdfWidthHalf {
    width: 327px;
}

.pdfTextArea {
    height: 100px;
    width: 700px;
}

/* from Twintool */
.result-table .top-head th {
    border-top-width: 1px;
}

.result-table th {
    color: #333;
    border-style: solid;
    border-color: #BBB;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-image: none;
    border-width: 0px 1px 1px 0px;
    overflow: visible;
}

.result-table th, .result-table td {
    padding: 0.6em 0.4em;
    border-style: solid;
    border-color: #DADADA;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-image: none;
    border-width: 0px 1px 1px 0px;
    vertical-align: middle;
    line-height: 1.1em;
    position: relative;
}

.result-table tr.head {
    background-color: #DBDBDB;
}

.half-size-input {
    width: 75px;
}

.default-size-input {
    width: 150px;
}

.double-size-input {
    width: 300px;
}

.large-textbox {
    width: 400px;
}

.small-textbox {
    width: 50px;
}


.draft-row td {
    padding: 4px 4px 4px 4px;
}

a.disabled {
    pointer-events: none;
    cursor: default;
}

/* Idea from: http://www.abeautifulsite.net/whipping-file-inputs-into-shape-with-bootstrap-3/ */
.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }


@media print {
    body {
        font-family: verdana, sans-serif;
        font-size: 10px;
        color: black;
    }

    .content {
        font-family: verdana, sans-serif;
        font-size: 10px;
        color: black;
        background-color: white;
    }

    td {
        font: normal 10px verdana, sans-serif;
        padding: 2px 2px 2px 2px;
        border: none;
    }

    th {
        font: bold 10px verdana, sans-serif;
        padding: 2px 2px 2px 2px;
        border: none;
    }

    .pageHeadline {
        font-family: verdana, sans-serif;
        font-size: 20px;
        font-weight: normal;
        line-height: 110%;
        color: #A3783B;
        margin-top: 10px;
    }

    .buttonLinks {
        display: none;
    }

    .buttonYellow {
        display: none;
    }

    .viewLinkThin {
        display: none;
    }

    .noPrint {
        display: none;
    }

    a {
        font-family: verdana, sans-serif;
        font-size: 10px;
        font-weight: normal;
        color: black;
        text-decoration: none;
    }

    .result-table {
        font: normal 10px verdana, sans-serif;
        border: 1px solid gray;
        width: 97%;
    }

    .thinborderNoprint {
        display: none;
    }

    .dispTableCell {
        font-family: Fix, Courier New;
        font-size: 10px;
        white-space: nowrap;
    }

    .comment {
        font-family: verdana, sans-serif;
        font-size: 10px;
        font-weight: bold;
        color: black;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .modal-body, .modal-content {
        padding: 0px;
        margin: 0px;
        border: 0px;
    }
}
