﻿
html {height: 100%;}

body {
    height: 100%;
    margin: 0;
    font-family: Arial, Helvetica, Sans-Serif;
    color: #000;
    text-decoration: none;
    word-spacing: normal;
    letter-spacing: 0;
    /*font-size: .75em;*/
    font-size: 13px;
    overflow-x: hidden;
    overflow-y: auto;
} 

page {overflow:hidden;} /* use this until we find out what is causing the overflow  */

#mainContent
{
    position: relative;
    min-height: 600px; 
    padding: 0px;
}

#title img {width:400px; border:0px;}

#copyright 
    {width: 100%; 
     text-align:center; 
     margin-left: auto; margin-right: auto; 
     font-size: 11px; 
     line-height: 50px;
     color: #333; 
     border-top: 0px solid #666;
    }

/* p, ul {margin-bottom: 20px;}  removed by david 2/20/2013 */

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {color: #000;}
h1 {font-size: 2em; padding-bottom: 0; margin-bottom: 0;}
h2 {font-size: 18px;}
h3 {font-size: 1.2em;}
h4 {font-size: 1.1em;}
h5, h6 {font-size: 1em;}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0;
}


/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

#header {position: relative; margin-bottom: 0px; padding: 0;}
#header h1
{
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
}


.dialogHeaderArea 
{
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 30px;
    padding-top: 8px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    background: #656564; 
}


.dialogTitle
{
    margin: 0px 5px 5px 15px;
    font-size: 1.5em;
    color: #fff;
}

 
#dialogFooter 
{
    position: absolute; 
    bottom:7px; left: 0px; right:0px; 
    border:0px solid red; 
    padding: 0 10px 5px 10px;
}

.footer-container  /* make this the standard footer and button container - david 8/13/13 */
{
    position: absolute; 
    bottom:0px; left: 0px; right:0px; 
    border:0px solid red; 
    padding: 0 10px 5px 10px;
}


fieldset 
{
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #CCC;
}

fieldset p {margin: 2px 12px 10px 10px;}

/* legend {font-size: 1.0em; font-weight: bold; padding: 2px 4px 8px 4px;} */ 
legend {font-size: 1.0em; font-weight: bold; padding: 2px 4px 4px 4px;}

input[type="text"] {border: 1px solid #CCC; height: 18px;}
input[type="password"] {width: 200px; border: 1px solid #CCC; height: 18px;}
select {height: 22px;}

/* hack to fix ios rounded buttons and input boxes */
textarea,
input[type="text"],
input[type="button"],
input[type="submit"] {
     -webkit-appearance: none;
	 -webkit-border-radius:0;
     border-radius: 0;
}


/* TABLE
------------------------------------------------------ ----*/
table {border:0px solid #ccc;} 
table td {border: solid 0px #e8eef4;}
table th {height:17px; text-align: left;}


/* MISC  
----------------------------------------------------------*/
.clear {clear: both;}
.error {color:Red;}
.success {color: #339966; font-weight: bold;}


#myMenuContainer {margin-left:300px; text-align: left;}

/* 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: normal; color: #ff0000;}
.validation-summary-valid {display: none;}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, .editor-label, .display-field, .editor-field { /* margin: 0.5em */ margin: 0;}


/* The following search parameters will gradually replace the old mySearchParametersContainer css */ 
/* the new code works better on multiple browsers */

    .search-parameters-container {position: relative; width: 1000px;display: block;} 
    .search-header-wrap {position: relative; width: 100%; height: 40px; border: 0px solid Red;} 
    .search-header-title 
    {
        position: absolute; left: 0px; bottom:0px;
        min-width: 230px;
        -webkit-border-top-left-radius: 6px;
        -webkit-border-top-right-radius: 6px;
        -moz-border-radius-topleft: 6px;
        -moz-border-radius-topright: 6px;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        margin: 0;
        font-family: Arial;
        letter-spacing: 2px;
        background: #71b1d1;
        color: white;
        font-size: 24px;
        padding: 5px 15px 5px 15px;
        z-index: 20;
    }
    .top-search-parameters
    {
        position: absolute; left:0px; bottom: 0px;
        width: 100%;
        padding: 4px 0px 4px 0px;
        -webkit-border-top-right-radius: 3px;
        -moz-border-radius-topright: 3px;
        border-top-right-radius: 3px;
        background: #D9D9D9; 
    
    }
    .main-search-parameters
    {
        position: relative;
        margin: 0px;
        width: 100%;
        background: #f1f1f1;
        padding: 3px 0px 3px 0px;
    }


/*  New - module and search parameter css - 2013-10-20 david */
    
    table.search-parameters {border-collapse: separate; border-spacing: 2px;}
    table.search-parameters th {font-size: 14px; font-weight: normal; text-align: right;}
    table.search-parameters td {text-align: left;}
  
    .search-header 
    {
        width: 300px;
        font-family: Arial;
        letter-spacing: 2px;
        background: #71b1d1;
        color: white;
        font-weight: 400;
        font-size: 25px;
        padding: 0 10px 0 10px;
        text-align: center !important;
        text-shadow: 1px 1px 2px #666;
    }


/*** The following parameters are used on all summary screens  *** */

#mySearchParametersContainer {position: relative; width: 100%;}

#mySearchParametersTitle
{
    position:absolute;
    bottom: 0px; left: 0px;
    min-width: 230px;
    -webkit-border-top-left-radius: 6px;
    -webkit-border-top-right-radius: 6px;
    -moz-border-radius-topleft: 6px;
    -moz-border-radius-topright:6px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    margin: 0;
    font-family: Arial;
    letter-spacing: 2px;
    background: #71b1d1;
    color: white;
    font-size: 24px;
    padding: 5px 15px 5px 15px;
    float:left;
    text-align: center;
    z-index:9;
}


#mySearchParametersTitleRight, #mySearchParametersTitleRight_WD {background: #ccc; color: #000;}

#mySearchParametersTitleRight
{
    position:absolute;
    bottom: 0px;
    left: 0px;
    width: 960px;
    height:30px;
    -webkit-border-top-right-radius: 6px;
    -moz-border-radius-topright: 6px;
    border-top-right-radius: 6px;
}


/* This is the mini-search to the right of the module title and above the main search parameters */
#topSearchBox {margin-left: 265px;margin-top: 1px;}

.wrapfancybox-content
{
    padding-top: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}


.clearFloat {clear: both}

a.showHide:link    {background-image:url('http://www.diamondtrackonline.net/Content/images/viewmag-.png'); text-decoration: none;}      /* unvisited link */
a.showHide:visited {background-image:url('http://www.diamondtrackonline.net/Content/images/viewmag-.png');}  /* visited link */
a.showHide:hover   {background-image:url('http://www.diamondtrackonline.net/Content/images/viewmag+.png');}  /* mouse over link */
a.showHide:active  {background-image:url('http://www.diamondtrackonline.net/Content/images/viewmag-.png');}   /* selected link */
 
/*************  Detail and Dialog Header Styles **********/

#transactionMainContainer
{
    position: absolute;
    top:0px;
    left:0px;
    right:0px;
    bottom: 0px;
    border: 0px solid red;
    background-color: #fff; 
}

#transactionMainContent
{
    position: absolute;
    top: 45px;
    left:0px;
    right:0px;
    bottom:40px;
    padding: 0 10px 0 10px;
    border: 0px solid green;
}

.transactionHeaderArea 
{
    position: absolute; 
    top:0px; 
    left:0px; 
    right: 0px; 
    /* height: 30px; should be automatic based on font-size and padding */
    padding-top: 8px;
    padding-bottom: 5px;
    padding-left:10px;
    padding-right: 10px;
    background:  #333;
}

.transactionTitle {color: #fff;font-size: 18pt; float:left; letter-spacing: 2px;}
.transactionNumber {color: #fff; font-size: 18pt; float:right;}
.transactionTitle-small {color: #fff;font-size: 20px; float:left; letter-spacing: 2px;}

.tdLabel-Right {text-align: right; padding-right: 5px; width: 120px; line-height: 35px;}
.tdLabel-Left {text-align: right; padding-left: 5px;}
.tdData-Right {}
.tdData-Left {text-align: left; padding-left: 5px; width: 250px; border: 1px solid  #ececec;}
.tdDataDiv {border: 1px solid #CCC; height: 18px; width: 180px; padding: 2px;}

.greenbutton {background-color: #95B65B !important; background-image : none !important;}
.ui-th-subgrid {height: 10px !important;}
.ui-jqgrid .ui-jqgrid-bdiv {overflow-x: hidden;}

    
#mySearchParametersTitleRight_WD
{
    position:absolute;
    bottom: 0px;
    left: 0px;
    width: 1130px;
    height:32px;
    -webkit-border-top-right-radius: 6px;
    -moz-border-radius-topright: 6px;
    border-top-right-radius: 6px;
}

 .summarySearchParametersContent_WD  
{
    position: relative;
    width:1120px;
    padding:5px ;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px; 

}

.select-width-140 {width: 140px;}

.hd-bg {width:207px; height:279px; padding:8px 0 0 40px; margin-top:-80px; float:left;}
.hd-bg-bottom {width:207px; height:279px; padding:8px 0 0 40px; margin-top:-90px;float:left;}


/*  Used as new standard for tables (example Accounts Snapshot) */ 
    table.my-table {border-collapse: collapse;}
    table.my-table th 
    {
        text-align: center; 
        font-weight: normal; background: #333; color: #fff;
        border: 1px solid #666; border-collapse: collapse;
    }
    table.my-table td {background: #fbfbf3; border: 1px solid #666; border-collapse: collapse;}
    
    #fancybox-content {background: #fff;}
    

/* Small special fiunction buttons */
.small-button 
{
    display: inline-block;
    white-space: nowrap;
    padding: 2px 5px 2px 5px !important;
    font: normal 11px Arial, Helvetica !important;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(255,255,255,.8);
    -moz-border-radius: 2px !important;
    -webkit-border-radius: 2px !important;
    border-radius: 2px !important;
    -moz-box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.1);
    -webkit-box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.1);
    box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.1);
}


    
/* Standard price tables */
    table.price-tables {border-collapse: collapse;border-spacing: 0px}
    table.price-tables th 
    {
        font-size: 11px; 
        border-collapse: collapse; 
        border: 1px solid #666 !important; 
        text-align: center;
        background: #333;
        color: #fff;
        height: 16px !important;
    }
    table.price-tables td 
    {
        font-size: 12px; 
        border-collapse: collapse; 
        border: 1px solid #ccc;
        padding: 0 3px 0 3px;
        height: 19px;
    }    
    
 

.grid-button {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0px;
  font-family: Arial;
  color: #fff;
  font-size: 12px;
  background: #3498db;
  padding: 3px 10px 3px 10px;
  border: solid #999 1px;
  text-decoration: none;
}

.grid-button:hover {
  background: #78bdeb;
  text-decoration: none;
}

    .bottom-button 
    {
        font-size: 12px !important;
        padding: 5px 16px 5px 16px;
        margin: 2px 1px 2px;
        text-decoration: none;
        border: 0px solid #919090;
    }
    
/* Special field set (tab lookalike) */
    .fieldset-tab-style {position: relative; border: 1px solid #333; margin: 0px;}
    .legend-tab-style 
    {
        position: absolute;
        top: -20px; left: -1px;
        color: #fff;
        -webkit-border-top-left-radius: 3px; 
        -webkit-border-top-right-radius: 3px;
         -moz-border-radius-topleft: 3px; 
        -moz-border-radius-topright: 3px;
        border-top-left-radius: 3px; 
        border-top-right-radius: 3px;
        -webkit-padding-start: 10px !important;
        -webkit-padding-end: 10px !important;
        padding: 2px 10px 2px 10px !important;
    }    
    
 /*   Used as standard text alignment */
 .al {text-align: left;padding-left: 5px;}
 .ac {text-align: center;} 
 .ar {text-align: right; padding-right: 5px;}  
 .va {vertical-align: top;}
 .clear {clear:both;}
 .nb {border: 0px !important;}
 .nbb {border: 0px !important; background: none !important;}
 .np {padding: 0px !important;}
 .center {margin-left: auto; margin-right: auto;}
 
 /* radio alignment fix */
.radio-align {vertical-align: middle; margin: 0px;}

#ui-datepicker-div {background: #a9d7ea;} /* corrects missing background for calander */

.tabpage {border: 0px solid #ccc;}


/* Override for grid header */
ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default
{
    border: 1px solid #333;
    background:#626262;
    font-weight:normal;
    color: white;
}

.summarySearchParametersContent_WD {background-color: #fafafa; color: #000;}
.summarySearchParametersContent {background-color: #fafafa; color: #000;}

.label-flag
{
    padding: 5px 10px 5px 10px; background-color: #108de4; color: #fff;
}

/* Overrides data-grid row color. */
.ui-widget-content {color: #000;}

.totalsTh
{
    background-color: #fff; 
    font-weight:bold;
    color: #000; 
    padding: 0 5px 0 5px; 
    text-align: right;
} 



.totalsTD 
{
   background-color: #fff; 
   font-weight:bold; 
   color: #007da8;  
   text-align: left;  
   padding: 0 5px 0 5px;
}  


/* used on all summary screens for the search parameters header line */
.search-parm-head 
{
    width: 100%; 
    background:  #71b1d1;
}
.search-parm-main 
{
background-color: #fafafa;
color: #000;
}

  /* radio alignment fix */
radio-align {vertical-align: middle; margin: 0px;}

.blue-button
{
    display: inline-block;
    white-space: nowrap;
    background-color: #ddd;
    background: #3498db;
    background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
    background-image: -moz-linear-gradient(top, #3498db, #2980b9);
    background-image: -ms-linear-gradient(top, #3498db, #2980b9);
    background-image: -o-linear-gradient(top, #3498db, #2980b9);
    background-image: linear-gradient(to bottom, #3498db, #2980b9);
    border: 1px solid #777 !important;
    padding: 0 1.5em;
    font: bold 1em/2em Arial, Helvetica;
    text-decoration: none;
    color: #fff;
    -moz-border-radius: .3em;
    -webkit-border-radius: .3em;
    border-radius: .3em;
}

.blue-button:hover {
	background:#61ABDD;
}


/* Below used for parcel selection dialogs */
table.charge-table {border-collapse: separate; border-spacing: 5px;}
table.charge-table th 
{
    font-weight: bold; 
    text-align: center; 
    padding-right: 5px; 
    width: 80px; 
    border: 0px solid #ccc; 
    background: #6db8d9; 
    color: #fff;
    height: 18px;
}
table.charge-table td 
{
    font-weight: normal; 
    text-align: right; 
    padding: 0px 5px 0px 0px; 
    width: 80px; 
    border: 1px solid #ccc;
    height: 18px;
}    


.btn-add-new {
  font-family: Arial;
  color: #ffffff;
  font-size: 15px;
  background: #1c991c;
  padding: 6px 16px 6px 16px;
  text-decoration: none;
  border: 1px solid #666;
}

.btn-add-new:hover {
  background: #1f7a1f;
  text-decoration: none;
}

.btn-standard {
  font-family: Arial;
  color: #333;
  font-size: 15px;
  background: #dbdbdb;
  padding: 6px 16px 6px 16px;
  text-decoration: none;
}

.btn-standard:hover {
  background: #ededed;
  text-decoration: none;
}


   div.memo
    {
        position: absolute;
        padding: 2px 12px 3px 7px;
        /* border: 5px solid #A6C9E2; */
        border: 1px solid #666;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
        background-color: white;
        color: #000;
        font-size: 12px;
        width: 225px;
        /* height: 59px; */
        line-height: 20px;
        font-weight: bold;
        z-index: 1000;
        -webkit-box-shadow: -8px 6px 50px 0px rgba(0,0,0,0.75);
        -moz-box-shadow: -8px 6px 50px 0px rgba(0,0,0,0.75);
        box-shadow: -8px 6px 50px 0px rgba(0,0,0,0.75);
    }


/** DTOL2 related css */
/* Style the tab */
.tab {
    overflow: hidden;
    border: 0px solid #ccc;
    background-color: #fff;
    /*margin: 10px 0 0 20px;*/
}

    /* Style the buttons inside the tab */
    .tab button {
        background-color: inherit;
        float: left;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 8px 16px;
        transition: 0.3s;
        font-size: 16px !important;
        border-bottom: 2px solid #fff;
    }


        /* Change background color of buttons on hover */
        .tab button:hover {
            background-color: #f1f1f1;
            color: initial;
        }

        /* Create an active/current tablink class */
        .tab button.active {
            border-bottom: 2px solid #039be5;
        }

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 2px;
    -webkit-animation: fadeEffect 2s;
    animation: fadeEffect 2s;
}

.button {
    padding: 8px 20px;
    text-align: center;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    margin: 16px 20px 2px 0 !important;
    text-decoration: none;
    font-size: 15px;
    cursor: pointer;
}

/** Toggle button css start */
.onoffswitch {
    position: relative;
    width: 90px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    margin-left: 20px;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #FFFFFF;
    border-radius: 20px;
}

.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

    .onoffswitch-inner:before, .onoffswitch-inner:after {
        display: block;
        float: left;
        width: 50%;
        height: 30px;
        padding: 0;
        line-height: 30px;
        font-size: 13px;
        color: white;
        font-family: Trebuchet, Arial, sans-serif;
        font-weight: bold;
        box-sizing: border-box;
    }

    .onoffswitch-inner:before {
        content: "Active";
        padding-left: 10px;
        background-color: #34A7C1;
        color: #FFFFFF;
    }

    .onoffswitch-inner:after {
        content: "Inactive";
        padding-right: 10px;
        background-color: #EEEEEE;
        color: #999999;
        text-align: right;
    }

.onoffswitch-switch {
    display: block;
    width: 18px;
    margin: 6px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 56px;
    border: 2px solid #FFFFFF;
    border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}

/** Toggle button css end */

/** Scroll css start */
/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
/** Scroll css end */