﻿html {
    margin: 0;
    padding: 0;
}

body {
    border-top: solid 5px #333;
    color: #333;
    font-size: 80%;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    min-width:1024px;
}

a {
    text-decoration: none;
}



header, footer, hgroup,
nav, section {
    display: block;
}


.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

h1, h2, h3,
h4, h5, h6 {
    color: #000;
    margin-bottom: 0;
    padding-bottom: 0;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.75em;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

    h5 a:link, h5 a:visited, h5 a:active {
        padding: 0;
        text-decoration: none;
    }


/*form elements*/
form {
    display: inline-block;
    margin:10px;
}

/*dialog form*/
#edit-panel, #delete-panel form {
    margin:0;
}

#edit-panel fieldset {
    margin:0;
}

#delete-panel fieldset {
margin:0;
}

    form h5 {
        margin: 0px;
        padding-left: 20px;
        line-height:2em;
        font-weight:bold;
    }

    form label {
        display: inline-block;
        width: 120px;
        min-width: 80px;
    }
    form fieldset {
        margin:20px;
    }

        form fieldset legend {
        color:inherit;
        }

        form input[type="submit"] {
            float: right;
            clear: both;
            margin:0 30px 20px auto;
        }

        form input[type="button"] {
            margin:0 5px 20px auto;
        }

    form span.field-validation-error {
        display: inline-block;
        color: red;
    }

    form input[type="text"] {
        width: 380px;
    }

    span input[type="text"] {
        min-width: 30px;
    }

    form input[type="number"] {
        width: 50px;
    }
    form input[type="password"] {
        min-width: 240px;
    }

    form p {
        display:inline;
        margin-top:0px;
        padding-top:0px;
        width:100%;
    }

.validation-summary-errors {
    color:red;
}

/*Page layout*/
.content-wrapper {
    width:100%;
    display:inline-block;
    border:none !important;
}

header {
background:#222;
}

#logo {
    width:180px;
    padding:15px 0px 15px 35px;

}

    #logo img {
        width:100%;
        border:none;
    }

#login {
    position:absolute;
    top:10px;
    right:40px;
    list-style:none;
}

#user-menu {
    font-size:smaller;
}

/*Navagation Bar*/
nav {
    height: 30px;
    display:block;
    overflow:hidden;
    min-width:720px;
}

    nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: inline-block;
    }

    nav li {
        display: inline-block;
    }

    nav ul li a {
        color: #ddd;
        width: 100px;
        height: 30px;
        display: inline-block;
        vertical-align: bottom;
        text-align: center;
        line-height: 30px;
    }

    nav a:hover {
        background: #222;
    }

    nav#main a.selected {
       background: #222;
        font-weight:bolder;
        color:#fff;
    }

    nav#main {
        position: absolute;
        left: 260px;
        top: 10px;
    }

    nav#sub {
       background: #333;
        display: block;
        width: 100%;
    }
        nav#sub a {
            color:#ccc;
        }
        nav#sub a:hover {
         background: #222;
        }

        nav#sub a.selected {
            color:#fff;
            font-weight:bolder;
            background:#222;
        }

/*Split layout*/

.split {
    display: inline-block;
    width: 100%;
    position:relative;
}


.right {
    position:absolute;
    right:0;
    top:0;
}

    .split #switch {
        display: inline-block;
        float: right;
        cursor: pointer;
    }


/*-------------bulletins------------------*/

.bulletin {
    display:block;
    padding-left:10px;
    margin-top:10px;
    border-bottom: 1px dotted;
}

    .bulletin .header {
        font-weight:bolder;
    }

        .bulletin .title span {
        display:inline-block;
        }

    .bulletin p {
        padding: 5px 20px; 
        margin:0px; 
        white-space:pre-wrap;
        line-height:normal;
    }

    .bulletin .tail {
    font-size:85%;
    font-weight:bold;
    padding-left:20px;
    }

.tail a {
display:inline-block;
}


.pic-view{
    width:300px;
    height:300px;
    position:absolute;
    box-shadow:3px 3px 5px 6px;
    -moz-box-shadow:    3px 3px 5px 6px #ccc;
    -webkit-box-shadow: 3px 3px 5px 6px #ccc;
    border: 1px solid #444;
    border-radius:5px;
    padding:5px;
    display:none;
    background-color:#eee;
}

.pic-view img{
    width:100%;
    height:100%;
}

.pdf-b{
    width:15px;
    height:15px;
    display:block;
    margin-top:3px;
    background-image:url("images/pdf-b.png");
}

.pdf-c{
    width:15px;
    height:15px;
    display:block;
    margin-top:3px;
    background-image:url("images/pdf-c.png");
}