/* css reset
--------------*/

html, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 11pt;
    vertical-align: baseline;
    background: transparent;
    overflow: visible;
    box-sizing: border-box;
}

div {
    overflow: hidden;
}

body {
    line-height: 1;
    margin: 0px;
    padding: 8px;
    height: calc(100vh - 16px);
    width: calc(100vw - 16px);
}

ol, ul {
    list-style-position: outside;
}

ol {
    list-style-type: decimal;
}

li ol {
    list-style-type: lower-latin;
}

ul {
    list-style-type: square;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after, q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* standard elements
----------------------*/
body {
    /*background: #222 url(/RecordcaseManager/Content/bg_body.jpg) 0 0 repeat-x;*/
    font-family: Arial,Helvetica,sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Trebuchet MS,Arial,Helvetica,sans-serif;
    margin: 1em 0 0;
}

p, blockquote, pre, q, dl, ol, ul, table {
    margin-top: .5em;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: lighter;
}

h1 {
    font-size: 2.5em;
    margin: .5em 0 0;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.3em;
}

h4 {
    font-size: 1.2em;
}

h5 {
    font-size: 1.1em;
}

p {
    margin: .5em 0 0;
    text-align: justify;
}

ol ol, ul ul {
    margin: 0 0 .2em;
}

/* form elements
------------------*/

form fieldset {
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #444;
}

form label {
    display: block;
    float: left;
    width: 12em;
    margin-bottom: .5em;
}

form input[type=text], form input[type=password], form textarea {
    display: block;
    margin: 0 0 .5em;
    color: #333;
    background-color: #DDD;
    border: 1px solid #333;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 1em;
}

form textarea {
    width: 40em;
    height: 8.1em;
}

form input[type=text], form input[type=password] {
    width: 15em;
}

form optgroup {
    color: #F90;
    font-style: normal;
    font-size: 1.1em;
    background-color: #333;
}

form option {
    color: #333;
    background-color: #DDD;
    padding: .1em .3em;
}

form input[type=checkbox], form input[type=radio] {
    display: block;
    clear: both;
    float: left;
    margin: .1em .5em 0 0;
    height: 1em;
    width: 1em;
    color: #333;
}

form input[type=checkbox] {
    background-color: #DDD;
    border: 1px solid #333;
}

    form input[type=text]:focus, form input[type=password]:focus, form input[type=checkbox]:focus, form input[type=radio]:focus form textarea:focus {
        background-color: #DB9;
        border: 1px solid #F90;
    }

form input[type=button], form button {
    padding: .15em;
    font-size: .9em;
}

form table input[type=text], form table input[type=password], form table textarea {
    float: none;
    margin: 0;
}

form table label {
    width: auto;
}


/* page layout
----------------*/

#container {
    /*max-width: 980px;*/
    height: 100%;
    margin: 0 auto;
    display: grid; 
    grid-template-rows: auto 1fr auto;
}

#header {
    overflow: visible;
}

#loginmenucontainer {
    margin-top: 1em;
    float: right;
    color: #999;
}

#ajaxlogin {
    display: none;
}

.subcontenttop {
    margin: 15px 0px 0px 0px;
    border-style: solid;
    border-width: 1px 1px 0px 1px;
    border-color: #333;
    background-color: #242424;
}

.subcontent {
    margin: 0px 0px 0px 0px;
    padding: 18px 8px 8px 8px;
    border-style: solid;
    border-width: 0px 1px 1px 1px;
    border-color: #333;
    background-color: #242424;
}


#content {
    /* 	border-style: solid; 	border-width: 1px 0px 0px 0px; 	border-color: #333; */
    height: 100%;
    color: #BBB;
    letter-spacing: .03em;
    line-height: 130%;
}

#content2 {
    /*height: calc(100vh - 252px);*/
    height: 100%;
    overflow-y: auto;
}

#ajaxlogin {
    margin-top: 1em;
    padding: 0 1em 1em;
    color: #BBB;
    background-color: #242424;
    border: 1px solid #333;
    letter-spacing: .03em;
    line-height: 130%;
}

#footer {
    margin: 1em 0 1em;
    color: #444;
    font-size: .8em;
    text-align: center;
}

.menucolor {
    color: #f90;
}

/* header
-----------*/

#header h1 {
    margin: 0;
    padding: 1em;
    color: #EEF; /*background: #222 url(/RecordcaseManager/Content/bg_header.jpg) 0 0 no-repeat;*/
    border: 1px solid #333;
    border-top-width: 0;
}

/* menu
---------*/
/*
ul#menu
{
	list-style: none;
	display: block;
	width: auto;
}

ul#menu li, #loginlink
{
	display: inline;
	list-style: none;
	margin-right: 1em;
	padding: .5em 1em .5em 1em;
	background: #333;
}

ul#menu a, #loginlink a
{
	display: inline; 
	color: #CCD;
	font-weight: bold;
	text-decoration: none;
}
*/

#menucontainer {
    padding-top: 1em; /*	background-color:#555; 	height:30px; 	display:block; /* 	direction:ltr; */
    overflow: visible;
}



/******** Left ********/
.menu_normal {
    border: 1px solid #333;
    margin-right: 1em;
    padding: .5em 1em .5em 1em;
    background-color: #242424; /*background: #333;*/
    display: inline; /*padding: 0.25em 1em .25em 0em;*/ /*color: #CCD; /*background: url(/Content/roundcorner_bottomright.png) right bottom no-repeat;*/
    font-weight: bold;
    text-decoration: none;
    overflow: visible;
}

.menu_selected {
    border-style: solid;
    border-width: 1px 1px 0px 1px;
    border-color: #333;
    padding: .5em 1em 15px 1em;
    margin-right: 1em; /*color:#BBB;*/
    background-color: #242424; /*background: #333;*/
    display: inline; /*padding: 0.25em 1em .25em 0em;*/
    color: #F90; /*background: url(/Content/roundcorner_bottomright.png) right bottom no-repeat;*/
    font-weight: bold;
    text-decoration: none;
    overflow: visible;
}

.menu_normal a {
    color: #CCD;
}

.menu_selected a {
    color: #F90;
}

.menu_normal:hover {
    background-color: #3B3B3B;
}

.menu_selected:hover {
    /*background-color:#3B3B3B;*/
}




.menusubcontainer {
    padding: 1em 1em .5em 0em;
    color: #00FFFF;
}

.menusub_normal {
    border: 1px solid #333;
    margin-right: .5em;
    margin-left: .5em;
    padding: .25em .5em .25em .5em;
    background-color: #222; /*background: #333;*/
    display: inline; /*padding: 0.25em 1em .25em 0em;*/ /*color: #CCD; /*background: url(/Content/roundcorner_bottomright.png) right bottom no-repeat;*/
    font-weight: normal;
    color: #888;
}

.menusub_selected {
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #555;
    margin-left: .5em;
    margin-right: .5em;
    padding: .25em .5em .25em .5em;
    background-color: #222; /*background-color: #F90;*/
    display: inline; /*padding: 0.25em 1em .25em 0em;*/
    font-weight: normal;
}

.menusub_normal a {
    color: #CCD;
    text-decoration: none;
}

.menusub_selected a {
    color: #F90;
    text-decoration: none;
    font-weight: bold;
}

.menusub_normal:hover {
    background-color: #3B3B3B;
}

.menusub_selected:hover {
    /*background-color:#3B3B3B;*/
}









/*

ul#menu li:hover, #loginlink:hover
{
	background-color: #3B3B3B;
}

ul#menu a:hover, #loginlink a:hover
{
	color: #DDE;
}

ul#menu li.selected a, #loginlink.selected a
{
	color: #F90;
}
*/

#loginmenucontainer span {
    font-weight: bold;
    margin-right: 1em;
}

#loginlink {
    margin-right: 0;
}

/* content
------------*/

#content a {
    color: #C60;
    text-decoration: none;
}

    #content a:hover, #content a:active {
        text-decoration: underline;
    }

    #content a.external {
        background: url(/Content/link_external.png) 0 50% no-repeat;
        margin-left: 5px;
        padding-left: 13px;
    }

    #content a.image {
        background: url(/Content/link_image.png) 0 50% no-repeat;
        margin-left: 5px;
        padding-left: 13px;
    }

    #content a.document {
        background: url(/Content/link_document.png) 0 50% no-repeat;
        margin-left: 5px;
        padding-left: 13px;
    }

#content h1, h2, h3, h4, h5, h6 {
    color: #F90;
}

#content ul, #content ol {
    padding-left: 2em;
}

#content table {
    border-collapse: collapse;
}

#content th {
    background-color: #333;
    min-width: 3em;
}

#content th, td {
    padding: .2em .5em;
}

#content th {
    border: 1px solid #222;
}

#content td {
    border: 1px solid #333;
}

#content .selected {
    color: White;
    font-weight: bold;
}

/* footer
-----------*/



/* messages
-------------*/

div.information, div.error, div.success {
    margin: 1em 0;
    padding: 1em;
}


.accent {
    color: #FF0000;
    font-weight: bold;
}

.message-error {
    background-color: #ffd0c0;
    background-image: url(../Content/errorcross.png);
    background-repeat: no-repeat;
    background-position: 5px 5px;
    border: red 1px solid;
    color: #000;
    margin: 15px 0px 0px 0px;
    padding-bottom: 5px;
    padding-top: 5px;
    padding-left: 25px;
    padding-right: 5px;
}

.message-info {
    background-color: #90c0ff;
    background-image: url(../Content/information.png);
    background-repeat: no-repeat;
    background-position: 5px 4px;
    border: blue 1px solid;
    color: #000;
    margin: 12px 0px 0px 0px;
    padding-bottom: 5px;
    padding-top: 5px;
    padding-left: 25px;
    padding-right: 5px;
}

.button-as-link {
    background: none;
    border: none;
    color: #C60;
}

    .button-as-link:hover {
        text-decoration: underline;
        cursor: pointer;
    }

.table {
    display: table;
    border-collapse: collapse;
    border-spacing: 0;
    margin-top: .5em;
}

.table-head {
    display: table-header-group;
    background-color: #333;
    min-width: 3em;
    border: 1px solid #222;
    padding: .2em .5em;
    font-weight: bold;
    text-align: center;
}

.row {
    display: table-row;
}

.column {
    display: table-cell;
    padding: .2em .5em;
    border: 1px solid #333;
}


table.details tr {
    text-align: left;
}

table.details th {
    text-align: right;
}

/* Responsive table */
@media all and (max-width: 640px) {
    .table, .row, .column, .column:before {
        display: block; /* Converts a table, table row, table column and table column:before into a block element */
    }

        .table, .row .column:last-child {
            border-bottom: none;
        }

    .table-head {
        position: absolute; /* Hides table head but not using display none */
        top: -1000em;
        left: -1000em;
    }

    .row {
        border: 1px solid #eeeeee;
        border-top: 2px solid #dddddd;
        border-bottom: 2px solid #dddddd;
        margin: 20px 0;
    }

        .row .column:nth-child(1) {
            /* first column of the row */
            border-left: none;
        }

        .row .column:last-child {
            /* last column of the row */
            border-right: none;
        }

        .row:last-child .column, .column {
            /* Column in the last row and column */
            border-bottom: 1px solid #eeeeee;
        }

            .column:before {
                /* prints the value of data-label attribute before the column data */
                font-weight: bold;
                padding-right: 20px;
                font-size: 12px;
                content: "" attr(data-label) ":"; /* call the attribute value of data-label and adds a string // */
            }
}





















/*
.table{
	display:table;			/ * Defines a Table * /
	font-family:Arial, Helvetica, sans-serif;
	font-size:14px;
	border-bottom:2px solid #dddddd;
	color:#8d8d8d;
	margin:10px 0;
}
.table-head{
	 display: table-header-group; / * Defines a table header group * /
}
.table-head .column{			/ * Column inside the table-head * /
	background:#333333;
	color:#7d7d7d;
	border-right:1px solid #5d5d5d;
	border-bottom:none;
}
.table-head .column:hover{		/ * Column hover inside the table-head * /
	background:#222222;
}
.row{
	display:table-row;		/ * Defines a table row * /
}
.row .column:nth-child(1){		/ * First column in a row * /
	border-left:1px solid #eeeeee;
}
.row:last-child .column{		/ * column in a last row * /
	border-bottom:none;
}
.column{
	display:table-cell;		/ * Defines a table cell * /
	padding:10px 20px;
	border-bottom:1px solid #eeeeee;
	border-right:1px solid #eeeeee;
	line-height:1.8em;
}
.column:hover{
	background:#f9f9f9;
}
*/
