﻿/*
    Standard top level stuff
*/

html
{
    height: 100%;
    width: 100%;
}

body 
{
    background-color: #eee;
    /*background-color: #B5B6B4;*/
    font-size: .85em;
    font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #696969;
    height: 100%;
}

a:link {
    color: #034af3;
    text-decoration: underline;
}

a:visited {
    color: #505abc;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #12eb87;
}

p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

header,
footer,
nav,
section {
    display: block;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #000;
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 
{
    margin: 0;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page 
{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
}

header, #header 
{    
    height: 75px;
    width: 100%;
    text-align: center;  

    /* fallback */
    background-color: #aaaaaa;
    
    /* Safari 4-5, Chrome 1-9 */
    background: -webkit-gradient(linear, left top, right top, from(#6aa2e0), to(#aaaaff));
  
    /* Safari 5.1, Chrome 10+ */
    background: -webkit-linear-gradient(left, #aaaaaa, #aaaaff);
  
    /* Firefox 3.6+ */
    background: -moz-linear-gradient(left, #aaaaaa, #aaaaff);
    
    /*For IE7-8-9*/
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr='#aaaaaa', endColorstr='#aaaaff');
  
    /* IE 10 */
    background: -ms-linear-gradient(left, #aaaaaa, #aaaaff);
  
    /* Opera 11.10+ */
    background: -o-linear-gradient(left, #aaaaaa, #aaaaff);
}

header img.companyLogo, #header img.companyLogo
{
    float: right;
    position: relative;
    padding-top: 16px;
    padding-right: 5px;
}

header img.productLogo, #header img.productLogo
{
    padding-top: 7px;
    padding-left: 5px;
    float: left;
}

header h1, #header h1 {
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
    text-shadow: 1px 1px 2px #111;
}

#breadcrumb 
{
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    background-color: #fff;
    position: relative;
}

#statusWrapper
{
    position: absolute;
    top: 5px;
    right: 20px;
    display: none;
}

#statusMessage
{
    font-size: 1.2em;
}

span.success
{
    color: Green;
}

span.failure
{
    color: Red;
    font-weight: bold;
}

#loadingUI
{
    margin-left: auto; 
    margin-right: auto;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}

#mainUI
{
    width: 100%;
    height: 100%;
}

#uiLoadingBlank
{
    height: 50%;
}

#main
{
    padding-top: 5px;
    padding-bottom: 5px;
    /*
    padding-left: 10px;
    padding-right: 10px;
    */

    background-color: #fff;

    border-radius: 4px 0 0 0;
    -webkit-border-radius: 4px 0 0 0;
    -moz-border-radius: 4px 0 0 0;

    overflow: auto;
    height: 100%; /* Gets overriden in qmost-base.js on window resize */
    width: 100%;
}

footer, 
#footer {
    background-color: #eee;
    color: #777;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    text-align: center;
    line-height: normal;
    /*margin: 0 0 20px 0;*/
    font-size: .9em;
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    height: 20px;
    /*height: 5%;*/
}

/* Top Bar   
----------------------------------------------------------*/
div#topbar
{
    background-color:rgba(50,50,50,0.7);
    color:#ccc;
    height:22px;
    line-height:18px;
    top:0;
    z-index:100;
    overflow:hidden;
    width: 100%;
}

div#topbar A
{
    color:#ddd;
    text-decoration: none;
    border:none;
    height:26px;
    padding:0px 7px;
    display:block;
    float: left;
}

div#topbar div.rightsided
{
    float:right;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

div#topbar A:hover
{
    color:#fff;
}

div#topbar img.avatarball
{
    margin:2px 0px 1px 0px;
    border:1px solid #888;
    float:left;
    width: 14px;
    height:14px; 
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

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.k-textbox
{
    position: static;
    min-height: 75px;
}

/* TABLE
----------------------------------------------------------*/

/*
table {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
}

table td {
    padding: 5px;
    border: solid 1px #e8eef4;
}

table th {
    padding: 6px 5px;
    text-align: center;
    background-color: #e8eef4;
    border: solid 1px #e8eef4;
}
    */

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

nav
{
    margin-top: 0px;
    margin-bottom: 0px;
    height: 32px;
}

/* 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;
}

/* Styles for QMOST stuff
----------------------------------------------------------*/

a.link-button, a.link-button:hover {
    text-decoration: none;
    color: inherit;
}

.q-label
{
    font-weight: bold;
}

.q-input
{
    border: 1px solid #006;
    background: #ffc;
    margin-bottom: 5px;
    margin-left: 1em;
}

.q-input-ro
{
    border: 1px solid #006;
    background: #E3E3E3;
    margin-bottom: 5px;
    margin-left: 1em;
}

.q-readonly
{
    background-color: #E3E3E3 !important;
}

.q-metadata
{
    height: 2em;
    line-height: 2em;
}

div.metadata-labels
{
    float: left;
    text-align: right;
}

div.metadata-values
{
    float: left;
    margin-left: 1em;
}

div.hidden
{
    display: none;
}

.q-indent
{
    margin-left: 2em;
}

.q-toolbar
{
    margin-bottom: 5px;
    padding-top: 0px;
    padding-bottom: 2px;
    clear: both;
}

div.q-value
{
    margin-left: .5em;
    margin-bottom: .5em;
}

/* Stuff for Administration Screens */
div.adminWrapper
{
    width: 98%;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    border-width: 0px;
}

div.adminLeftTreeview
{
    width: 300px;
    float: left;
    /*max-width: 300px;*/
    margin-right: 10px;
}

div.adminDetail
{
    margin-left: 15px;
}

div.adminGrid
{
    margin-left: 15px;
}

div.adminEditBaseInfo
{
    float: right;
}

div.adminEditDetails
{
    min-width: 450px;
}

/* Stuff for collapsible Divs*/
.q-rollupHeader
{
    margin: 20px 0px 5px 0px;
}

.q-rollupTitle
{
    display: inline-block;
    margin: 0px 0px 0px 0px;
    vertical-align: middle;
    line-height: 24px;
}

.q-expand
{
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('Images/plus.png');
    vertical-align: middle;
}

.q-collapse
{
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('Images/minus.png');
    vertical-align: middle;
}

div.empty-grid {
    text-align: center;
    margin-top: 5px;
    font-size: larger;
    width: 98%;
}

/*
    Stuff for tree view sprites
    Right now these are all pulled from the kendo ones
    which were intended to give you some samples to use

    The original CSS is:

    #myTreeview .k-sprite {
        background-image: url('../../Content/Images/coloricons-sprite.png');
    }

    .rootfolder { background-position: 0 0; }
    .folder { background-position: 0 -16px; }
    .pdf { background-position: 0 -32px; }
    .html { background-position: 0 -48px; }
    .image { background-position: 0 -64px; }
*/

.q-tree .k-sprite { background-image: url('../Content/Images/coloricons-sprite.png'); }
.q-tree .k-sprite.rootfolder { background-position: 0 0; }
.q-tree .k-sprite.folder { background-position: 0 -16px; }
.q-tree .k-sprite.item { background-position: 0 -48px; } /* HTML icon */

/* Password Stuff */
div#pwErrors ul {
    list-style:none;
}
div#pwErrors ul li span.fail {
    /*
    padding:2px;
    padding-left:18px;
    */
	display:inline-block;
    width: 16px;
    height: 16px;
	background-image:url('../Content/Images/cross.gif');
	background-repeat:no-repeat;
	background-position:left;
}

div#pwErrors ul li span.pass {
    /*
    padding:2px;
    padding-left:18px;
    */
	display:inline-block;
    width: 16px;
    height: 16px;
	background-image:url('../Content/Images/tick.gif');
	background-repeat:no-repeat;
	background-position:left;
}