﻿body {
    font-size: .85em;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    color: #232323;
    background-color: #fff;
}

header, footer, nav, section {
    display: block;
}

img {
    border: none;
}


/* Styles for basic forms
-----------------------------------------------------------*/
fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
}

.editor-label {
    margin: 1em 0 0 0;
}

.editor-field {
    margin: 0.5em 0 0 0;
}


/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #f00;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #f00;
    background-color: #fee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #f00;
}

.validation-summary-valid {
    display: none;
}


/* Styles for MatDid
-----------------------------------------------------------*/
#form-main {
    position: relative;
    height: 80px;
}

    #form-main input[type="submit"] {
        width: 60px;
    }

#div-logo {
    display: inline-block;
    height: 80px;
    white-space: nowrap;
    border-right: solid 1px #ccc;
}

    #div-logo img {
        vertical-align: middle;
    }

    #div-logo h3 {
        margin-left: 1em;
        margin-right: 1em;
        display: inline-block;
        vertical-align: middle;
        color: #467197;
        text-transform: uppercase;
    }

#div-cisp {
    margin-left: 1em;
    display: inline-block;
}

#div-auth {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    font-size: 0.85em;
}

    #div-auth input {
        display: inline-block;
        font-size: 0.85em;
        border: solid 1px #ccc;
    }

        #div-auth input[type="submit"] {
            display: block;
            width: auto;
            margin-top: 0.5em;
            margin-left: auto;
            cursor: pointer;
        }

    #div-auth .btn-submit {
        display: block;
        width: 5em;
        margin-top: 0.5em;
        margin-left: auto;
        cursor: pointer;
        border: solid 1px #bbb;
        text-align: center;
        background-color: #eee;
    }

#icon-locked, #icon-unlocked {
    width: 16px;
    height: 16px;
    margin-right: 0.5em;
    vertical-align: top;
}

#icon-locked {
    cursor: pointer;
}

#div-creds {
    display: inline-block;
    background: #f0f0ff;
    padding: 0.2em 0.5em;
}

    #div-creds label {
        display: inline-block;
        width: 5em;
        font-weight: bold;
    }

#auth-user, #auth-pwd {
    display: block;
    white-space: nowrap;
}

#div-username {
    background-color: #ff7;
    text-align: center;
}

#div-details {
    font-weight: bold;
    border-bottom: solid 1px #ccc;
    margin-bottom: 1em;
}

    #div-details .titolo {
        color: #467197;
    }

    #div-details .distretto {
        color: #467197;
    }

table.md-tree {
    margin-left: 4em;
}

    table.md-tree td {
        vertical-align: middle;
    }

.md-icon {
    width: 32px;
    height: 32px;
}

.md-name {
    margin-left: 0.5em;
    padding-left: 1em;
    padding-right: 5em;
    text-align: left;
    text-decoration: none;
    font-weight: bold;
}

    .md-name:hover {
        text-decoration: underline;
        cursor: pointer;
    }

.md-size {
    text-align: right;
    font-size: 0.8em;
}
