﻿* { /* apply a natural box layout model to all elements */
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    padding:20px;
}

label
{
    display:inline-block;
    width:100px;
    font-weight:bold;
    text-align:right;
}

label.norm
{
    display:inline;
    width:initial;
    font-weight:normal;
    text-align:initial;
}

.bold
{
    font-weight:bold;
}

.right
{
    float:right;
}

.left
{
    float:left;
}

.inline
{
    display:inline;
}

.right15
{
    margin-right:15px;
}

.ui-dialog
{
    font-size:15px;
}

span.spanLink
{
    color:blue;
    text-decoration:underline;
    cursor:pointer;
}

.dataTable
{
    width:100%;
    border-collapse:collapse;
    border:1px outset #c1c1c1;
    /*The following lines will disable text selection in the tables so they stay clean on double click*/
    -moz-user-select     : none;
    -khtml-user-select   : none;
    -webkit-user-select  : none;
    -o-user-select       : none;
    user-select          : none;
}

.dataTable thead tr
{
    border-bottom:1px solid #c1c1c1;
}

.dataTable thead tr th:not(:last-child)
{
    border-right:1px solid #c1c1c1;
}

.dataTable tbody tr
{
    border-bottom:1px solid #c1c1c1;
    cursor:pointer;
}

.dataTable tbody tr:nth-child(odd)
{
    background-color:#e9e9e9;
}

.dataTable tbody tr:hover
{
    background-color:lightblue;
}

.dataTable tbody tr.active
{
    background-color:yellow;
}

.dataTable tbody tr td
{
    border-right: 1px solid #c1c1c1;
    padding:3px;
}

.recRet input
{
    float:right;
}

.hint
{
    font-style:italic;
    color:#a4a2a2;
    font-size:smaller;
}

.formRow
{
    width:100%;
    padding:5px;
}

.formRow label
{   
    width:200px;
    margin-right:5px;   
}

.formRow span
{
    margin:0px 5px 0px 5px;
}

.formRow label.wide
{   
    display:inline-block;
    width:180px;
    text-align:right;
    margin-right:5px;   
}

label.wide
{
    display:inline-block;
    width:180px;
    text-align:right;
    margin-right:5px;   
}

li label/*This will probably only be used on Edit User modal but will work well for lists of checkboxes followed by a wide label*/
{
    display:inline-block;
    width:230px;
    text-align:left;
    margin-right:5px;   
}

input.wide
{
    width:250px;
}

input.smallInt
{
    width:20px;
}

select
{
    width:180px;
}

select.wide
{
    width:250px;
}

.blockShadow
{
    -webkit-box-shadow: 4px 9px 5px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    4px 9px 5px 0px rgba(50, 50, 50, 0.75);
    box-shadow:         4px 9px 5px 0px rgba(50, 50, 50, 0.75);
}

#messageDialog
{
    display:none;
}

#_pinModal
{
    display:none;
}


/*Issue Template*/

.issueContainer
{
    margin-top:15px;
}

.issueIndex
{
    background-color:#c1c1c1;
    padding:5px;
    padding-left:15px;
}

.issueContent
{
    border:1px solid black;
    padding-bottom:15px;
}

.descriptionOfWorkContainer, .technicianNotesContainer
{
    width:500px;
    padding:5px;
    float:left;
}

.descriptionOfWorkContainer textarea, .technicianNotesContainer textarea
{
    width:100%;
    height:80px;
}

.issueButtons
{
    float:left;
    padding-left:50px;
    padding-top:23px;
}
.issueButtons input
{
    display:block!important;    
    width:92px;
    margin-bottom:10px;
}

.descriptionOfWorkTitle, .technicianNotesTitle
{
    font-weight:bold;
    font-size:large;
}

.issueItemsHeader
{

}

.issueItemsHeader div
{
    display:inline;
    float:left;
    text-align:center;
}

/*This is the WorkOrder LIne Items (Table)*/
.issueItems
{
    table-layout:fixed;
}
.issueItems tr th:nth-child(1)/*Type*/
{
    width:180px !important;
    overflow:hidden;
}

.issueItems tbody tr td:nth-child(1)
{
    font-weight:bold;
    font-style:italic;    
    overflow-x:hidden;
   
}

.issueItems tr th:nth-child(2)/*PartNumber*/
{
    width:180px !important;
}

.issueItems tr td:nth-child(2)/*PartNumber*/
{
    overflow:hidden;
}

.issueItems tr th:nth-child(3)/*Description*/
{
    width:auto;
}

.issueItems tbody tr td:nth-child(3) input/*Description input*/
{
    width:100%;
}

.issueItems tr th:nth-child(4)/*Unit Price*/
{
    width:88px !important;
}

.issueItems tbody tr td:nth-child(4) input/*Unit Price input*/
{
    width:100%;
}

.issueItems tr th:nth-child(5)/*Qty*/
{
    width:54px !important;
}

.issueItems tbody tr td:nth-child(5) input/*Qty input*/
{
    width:100%;
}

.issueItems tr th:nth-child(6)/*Ext Price and delete X*/
{
    width:80px !important;
}


.footerDetails
{
    width:100%;
    float:right;
}

.footerDetails div label
{
   display:inline-block;
   width:200px;
   float:left;
   margin-right:10px;
}

.footerDetails div span
{
    display:inline-block;
    width:80px;
    float:right;
    text-align:right;
    
}

.issueTotal
{
    width:150px;
    float:right;
}
/*End Issue Template*/


/*Master Header*/

.noperm
{
    position:absolute;
    width:375px;
    height:40px;
    top:30px;
    left:50%;
    margin-left:-187.5px;
    color:red;
    border:1px solid red;
    
    text-align:center;
    vertical-align:middle;
    line-height:40px;
    display:none;
}

.masterHeaderImage
{
    height:66px; 
    width:200px;
}

div.buttonSet a
{
    padding:3px;
    margin:2px;
    color:white;
    cursor:pointer;
    text-decoration:none;
    background: -moz-linear-gradient(top,  rgba(30,87,153,0) 0%, rgba(30,87,153,0.8) 15%, rgba(30,87,153,1) 19%, rgba(30,87,153,1) 20%, rgba(41,137,216,1) 50%, rgba(30,87,153,1) 80%, rgba(30,87,153,1) 81%, rgba(30,87,153,0.8) 85%, rgba(30,87,153,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,0)), color-stop(15%,rgba(30,87,153,0.8)), color-stop(19%,rgba(30,87,153,1)), color-stop(20%,rgba(30,87,153,1)), color-stop(50%,rgba(41,137,216,1)), color-stop(80%,rgba(30,87,153,1)), color-stop(81%,rgba(30,87,153,1)), color-stop(85%,rgba(30,87,153,0.8)), color-stop(100%,rgba(30,87,153,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(30,87,153,0) 0%,rgba(30,87,153,0.8) 15%,rgba(30,87,153,1) 19%,rgba(30,87,153,1) 20%,rgba(41,137,216,1) 50%,rgba(30,87,153,1) 80%,rgba(30,87,153,1) 81%,rgba(30,87,153,0.8) 85%,rgba(30,87,153,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(30,87,153,0) 0%,rgba(30,87,153,0.8) 15%,rgba(30,87,153,1) 19%,rgba(30,87,153,1) 20%,rgba(41,137,216,1) 50%,rgba(30,87,153,1) 80%,rgba(30,87,153,1) 81%,rgba(30,87,153,0.8) 85%,rgba(30,87,153,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(30,87,153,0) 0%,rgba(30,87,153,0.8) 15%,rgba(30,87,153,1) 19%,rgba(30,87,153,1) 20%,rgba(41,137,216,1) 50%,rgba(30,87,153,1) 80%,rgba(30,87,153,1) 81%,rgba(30,87,153,0.8) 85%,rgba(30,87,153,0) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(30,87,153,0) 0%,rgba(30,87,153,0.8) 15%,rgba(30,87,153,1) 19%,rgba(30,87,153,1) 20%,rgba(41,137,216,1) 50%,rgba(30,87,153,1) 80%,rgba(30,87,153,1) 81%,rgba(30,87,153,0.8) 85%,rgba(30,87,153,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#001e5799', endColorstr='#001e5799',GradientType=0 ); /* IE6-9 */
}

/*End Master Header*/

.removeButton
{
    display:inline-block;
    background-color:red;
    height: 20px;
    width:20px;
    float:right;
    border:1px outset red;
    text-align:center;
    color:white;
    cursor:pointer;
}

.removeButton:hover
{
    -webkit-box-shadow: 2px 2px 2px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    2px 2px 2px 0px rgba(50, 50, 50, 0.75);
    box-shadow:         2px 2px 2px 0px rgba(50, 50, 50, 0.75);
}

/*Admin and Report Navigation*/
.reportNav a, .adminNav a
{
    margin-bottom:10px!important;
}

.adminNav a
{
    width:215px;
}

.reportNav a
{
    width:235px;
}


/*Validation*/
.inventoryMessage
{
    position: absolute;
    width: 300px;
    height: 50px;
    top: 30px;
    left: 50%;
    margin-left: -150px;
    text-align: center;
    padding:5px;

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    display:none;
}
.validationError, .saveError
{
    border:1px solid red!important;
    color:red;
}

.validationError:hover
{
    border:1px solid red!important;
}

.saveSuccess
{
    border:1px solid green;
    color:green;
}

.validationMessage
{
    border:1px solid red;
    color:red;
    margin-bottom:10px;
    display:none;
}

.modalMessage
{
    text-align: center;
    color:red;
    border:1px solid red;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    display:none;
}

.overrideUserMessage
{
    margin-right:60px; 
    padding:4px; 
    border:1px solid red; 
    color:red;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}


/*End Validation*/


/*WorkOrder*/


/*End Work Order*/


/*Table Sorter*/

th.headerSortUp { 
    background-image: url(../Content/Images/asc.gif); 
    background-color: #3399FF; 
} 

th.headerSortDown { 
    background-image: url(../Content/Images/desc.gif); 
    background-color: #3399FF; 
} 

th.header { 
    background-image:url(../Content/Images/bg.gif); 
    cursor: pointer; 
    font-weight: bold; 
    background-repeat: no-repeat; 
    background-position: center left; 
    padding-left: 20px; 
    border-right: 1px solid #dad9c7; 
    margin-left: -1px; 
} 

/**/

.borderSolidBlack
{
    border:1px solid black;
}

#progress
{
    float:right; 
    width:150px !important; 
    height:10px !important; 
    background-repeat:no-repeat;    
    visibility:hidden;
}