body
{
    margin: 0;
    padding: 0;
    font-family: "Segoe UI",Helvetica,Garuda,Arial,Sans-Serif;
    background-color: #eeeeee;
}

input
{
    /*outline: none;*/
}

#wrapper
{
    position: relative;
    width: 990px;
    padding: 0;
    margin: 0 auto 40px auto;
    box-shadow: 0 0 85px rgba(0,0,0,.3);
    border-radius: 0 0 10px 10px;
}

@media screen and (min-width: 1280px)
{
    #wrapper
    {
        width: 1232px;
    }
}

#header
{
    height: 90px;
    position: relative;
    margin: 0;
    background-position-x: 10px;
    background-color: #ffffff;
}

#login
{
    font-size: 90%;
    position: absolute;
    top: 5px;
    right: 10px;
}

    #login a:link, #login a:visited
    {
        color: #3c454f;
        font-size: 90%;
        text-decoration: none;
    }

    #login a:hover
    {
        color: #3c454f;
        border: none;
    }

#username
{
    position: absolute;
    font-size: 90%;
    color: #3c454f;
    left: 280px;
    top: 5px;
}

#menu
{
    position: absolute;
    left: 280px;
    bottom: 4px;
}

h1
{
    float: right;
    font-weight: normal;
    font-size: 150%;
    line-height: 38px;
    padding: 0;
    margin: 0 10px 0 0;
    color: #3c454f;
}

#nav
{
    float: left;
}

    #nav ul
    {
        padding: 0 0 0 0;
    }

    #nav li
    {
        font-size: 100%;
        list-style-type: none;
        float: left;
        margin-left: 0px;
        margin-right: 20px;
    }

    #nav a:link, #nav a:visited
    {
        color: #f58634;
        background-color: transparent;
        display: block;
        outline: none;
        text-decoration: none;
    }

    #nav #nav li.cur a:link, #nav li.cur a:visited
    {
        color: #f58634;
    }

    #nav a:hover
    {
        color: #666666;
    }

#content
{
    text-align: left;
    padding: 0px 10px 0 10px;
    background-color: #ffffff;
    margin: 0;
}

    #content h2
    {
        font-size: 120%;
        color: #666666;
        background-color: transparent;
        margin: 0 0 8px 0;
        padding: 5px 0 0 0;
    }

    #content p
    {
        font-size: 80%;
        line-height: 1.6;
        margin: 0;
        padding: 5px 0 0 0;
    }

#footer
{
    color: #999999;
    background-color: #FFFFFF;
    text-align: right;
    font-size: 80%;
    padding: 10px;
    margin: 0;
    border-radius: 0 0 10px 10px;
}

.filesize
{
    font-size: 80%;
    vertical-align: baseline;
    display: inline-block;
}

.required
{
    color: #ff0000;
}

/*#tracker .SubjectRow td
{
    border-top: 5px solid #1e395b !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}

    #tracker .SubjectRow td:first-child
    {
        border-left: 5px solid #1e395b !important;
    }

    #tracker .SubjectRow td:last-child
    {
        border-right: 5px solid #1e395b !important;
    }*/

#tracker .DetailGridCell
{
    border-left: 5px solid #1e395b !important;
    border-right: 5px solid #1e395b !important;
    border-bottom: 5px solid #1e395b !important;
    border-top: 5px solid #1e395b !important;
    padding-top: 10px !important;
    padding-right: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 10px !important;
}

#tracker .DetailTreeCell
{
    border-left: 5px solid #1e395b !important;
    border-right: 5px solid #1e395b !important;
    border-bottom: 5px solid #1e395b !important;
    border-top: 5px solid #1e395b !important;
    padding-top: 10px !important;
    padding-right: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 10px !important;
}

#tracker .DetailTableCell
{
    border-left: 5px solid #1e395b !important;
    border-right: 5px solid #1e395b !important;
    border-bottom: 5px solid #1e395b !important;
    border-top: 5px solid #1e395b !important;
    padding-top: 10px !important;
    padding-right: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 10px !important;
}

#tracker .VisitCell
{
    border-top: 5px solid #1e395b !important;
    border-bottom: none !important;
    border-left: 5px solid #1e395b !important;
    border-right: 5px solid #1e395b !important;
    background-color: #bdd0e7;
}

#tracker .Highlight
{
    background-color:#99FF66;
}

/* Overruling DevEx Styles
   see http://www.devexpress.com/Support/Center/p/Q270529.aspx
   see http://www.devexpress.com/Support/Center/p/Q326683.aspx
--------------------------*/

#tracker td.dxgvDetailCell_Office2010Blue
{
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px !important;
}

td.dxgvDetailCell_Office2010Blue
{
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px !important;
}

.dxeRadioButtonList_Office2010Blue td.dxe
{
    padding: 0px;
}

#tracker td.dxgvDetailCell_Metropolis
{
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px !important;
}

td.dxgvDetailCell_Metropolis
{
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px !important;
}

.dxeRadioButtonList_Metropolis td.dxe
{
    padding: 0px;
}

/* Form editing
   ------------ */
.edit_items .line
{
    clear: both;
    width: 600px;
    margin-bottom: 10px;
}

.edit_items .label
{
    display: block;
    margin-bottom: 3px;
}

.edit_items .editor
{
    width: 180px;
}

.edit_items .button
{
    margin: 8px 4px 0px 0px;
    float: left;
}

/* Got it from DevEx - used on Login.cshtml 
-------------------------------------------*/
.edit_form .line
{
    display: block;
    float: left;
    clear: both;
    width: 600px;
    margin: 1px 0px;
}

.edit_form .label
{
    display: block;
    float: left;
    width: 120px;
    clear: left;
    padding: 4px 0px;
}

.edit_form .editor
{
    float: left;
    margin-right: 8px;
    width: 180px;
}

.edit_form .checkEditor
{
    float: left;
    margin-right: 8px;
}

.edit_form .button
{
    margin: 8px 4px 0px 0px;
    float: left;
}

.edit_form .validator
{
    display: block;
    float: left;
    clear: right;
    padding: 3px 0px;
    color: red;
    font-family: Verdana;
    font-size: 8pt;
}

.edit_form#validationForm .label
{
    width: 80px;
}

.edit_form#popupControlForm .label
{
    width: 70px;
}

.edit_form#popupControlForm .button
{
    margin: 8px 4px 84px 0px;
}

.edit_form#loginPopupForm .label
{
    width: 70px;
}

.edit_form#loginPopupForm .line
{
    width: 260px;
}

.edit_form#changePasswordPopupForm .label
{
    width: 120px;
}

.edit_form#changePasswordPopupForm .line
{
    width: 310px;
}

.clear
{
    display: block;
    clear: both;
    overflow: hidden;
    width: 1px;
    height: 0;
}

/* Styles for the tracker sheet - green/orange/red indicators
-------------------------------------------------------------*/

.status-green
{
    background: url(Images/GreenCircle.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    width: 20px;
    height: 20px;
}

.status-gray
{
    background: url(Images/GrayCircle.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    width: 20px;
    height: 20px;
}

.status-orange
{
    background: url(Images/OrangeCircle.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    width: 20px;
    height: 20px;
}

.status-red
{
    background: url(Images/RedCircle.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    width: 20px;
    height: 20px;
}

.status-black
{
    background: url(Images/BlackCircle.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    width: 20px;
    height: 20px;
}

.status-text
{
    font-family: Verdana;
    text-align: center;
    text-indent: -2px;
    line-height: 16px;
    color: white;
    font-size: 0.7em;
    font-weight: bold;
    letter-spacing: -0.2em;
}

.status-visit-data-completed
{
    background: url(Images/VisitDataCompleted.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    width: 20px;
    height: 20px;
}

.status-partial-data-uploaded
{
    background: url(Images/PartialDataUploaded.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    width: 20px;
    height: 20px;
}

.status-all-data-uploaded
{
    background: url(Images/AllDataUploaded.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    width: 20px;
    height: 20px;
}

.status-data-ready-for-analysis
{
    background: url(Images/DataReadyForAnalysis.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    width: 20px;
    height: 20px;
}

.status-quality-check-completed
{
    background: url(Images/QualityCheckCompleted.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    width: 20px;
    height: 20px;
}

.status-data-analyzed
{
    background: url(Images/DataAnalyzed.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    width: 20px;
    height: 20px;
}

.status-final-analysis-completed
{
    background: url(Images/FinalAnalysisCompleted.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    width: 20px;
    height: 20px;
}

/* 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: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

.alert {
    width: 500px;
    padding: 15px;
    margin: 20px auto 0 auto;
    border: 1px solid transparent;
    border-radius: 4px;    
}

.alert > h4 {
    margin: 3px 0;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.alert-danger {
width: 1100px;
color: #a94442;
background-color: #f2dede;
border-color: #ebccd1;
}

/* Styles for blinding error query messages
-----------------------------------------------------------*/
.red { color: red; }
.bold {font-weight: bold;}
.nobold {font-weight: normal;}