﻿/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

/*.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}*/

.validation-summary-valid {
    display: none;
}

h1 {
    margin-top: 10px;
    padding-bottom:10px;
    font-size: 26px
}

.footer {
   padding-right: 15px
}

/* Login page */
.login-body {
    padding-top:0px;
    padding-left:10px;
    padding-right:10px;
}

@media (max-width: 568px) {
    .login-header {
        font-size:16px;
    }

    .login-body{
        font-size:10px;
    }
}

@media (max-width: 768px) {
    .breadcrumb-nav {
        display:none;
    }
}

.navbar a {
    text-decoration:none !important;
}

@media (min-width: 768px) {
    .navbar {
        height: 50px;
    }
}

@media (min-width: 768px)
{
    .navbar-right
    {
        margin-right: 0px !important;
    }
}

.navbar-right a {
    min-height:0px !important;
}

.navbar a.dropdown-toggle {
    height: 50px;
}

.nav .alert
{
    margin-top:3px;
    padding:10px;
}

.alertNav
{
    width:100%;
    padding-left:5px;
    padding-right:5px;
}

.breadcrumb {
    margin: 0 0px;
    background-color:inherit;
}
@media (min-width: 768px) {
    .breadcrumb {
        float: left;
        margin-top: 8px;
    }
}
.breadcrumb > li + li:before{
    padding-left: 0px
}

body.modal-open {
    overflow: visible;
}

/*needs to be defined this way for IE8*/
table.dataTable tr.odd td { background-color: #f9f9f9; }
table.dataTable thead > tr > th {
    padding-left:5px
}

.modal-header-error {
    padding:9px 15px;
    border-bottom:1px solid #eee;
    background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
    background-image:         linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
     border-top-left-radius: 5px;
     border-top-right-radius: 5px;
 }

.smallGrid td
{
    font-size:11px
}
.smallGrid th
{
    font-size:11px
}

.trackingPanel
{
    font-size:14px;
    border-color: #E0E0E0;
}

.trackingPanel 
{
    min-width: 915px;
}

@media (max-width: 1023px) {
	.trackingPanelTab {
		overflow-x: auto;
		display: block;
	}
}

.trackingPanel .panel-body
{
    padding-left: 25px;
    padding-right: 25px;
}

.trackingPanel .panel-heading
{
    padding: 5px;
    background-color: #E0E0E0;
}

.trackingPanel .panel-heading a
{
    text-decoration: none;
    color: #333;
    font-weight: 700;
}

.trackingPanel .panel-heading a:hover
{
    text-decoration: none;
    color: #333;
    font-weight: 700;
}

.trackingPanel .btn
{
    font-weight: inherit;
    padding:1px 6px;
    font-size: 11px;
}

.trackingPanel .trackingPanelDisplayBtn
{
    padding: 3px 10px;
    font-size: 10px;
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 999px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}
.pdfCover {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
}

.no-border
{
    border:0 !important;
}

table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting:after
{
    content: '';
    float: none;
    font-family: '';
}

.nav-fourth-level li {
    border-bottom: none !important;
}

.nav-forth-level li a {
    padding-left: 67px;
}

#page-wrapper {
    min-height: 400px;
    position: relative;
}

#wrapper {
    position: relative;
}

.footer {
    margin-top: 10px;
    margin-right: 10px;
}

.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
  background-color: inherit;
}

.table-striped .odd {
    background-color: #f9f9f9;
}

.table-striped .editMode
{
    background-color:#EBF5FC;
}

.table-striped .locked
{
    background-color:#FFB6C1;
}
  
div.vertical-line{
  height: 100px; 
  float: left;
  border: 1px solid #eee;
  margin-left: 10px;
  margin-right: 10px;
}
 
.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:hover>.dropdown-menu{display:block;}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}
.scrollable-menu {
    height: auto;
    max-height: 350px;
    overflow-x: hidden;
}
/* date and time picker additional css */
/*.ui-datepicker { font-size:11px !important; }
.ui-datepicker td { font-size:11px !important; }
.ui-datepicker th { font-size:9px !important; }*/
img.ui-datepicker-trigger { cursor: pointer; margin-left: 4px }

.recordsPerPage {
    font-size:11px;
    padding-top: 15px;
}

.recordsPerPage .form-control {
    font-size:11px;
    height: 20px;
    padding: 0px;
}

.dataTables_info, .dataTables_length {
    font-size: 11px;
}

.dataTables_paginate {
    font-size: 11px;
}

.filterPanel {
    font-size:11px;
}

.filterPanel .date .form-control {
    font-size:11px;
}

@media (max-width: 992px) {
    .filterPanel .control-label {
        padding-top: 5px;
    }
}

.filterPanel .form-control {
    font-size:11px;
    height: 20px;
    padding: 0px;
}

.filterPanel select.form-control {
    padding: 2px 3px;
    width:auto;
}

.filterPanel input[type="text"] {
    padding: 2px 3px;
    width:auto;
}

.filterPanel .date .input-group-addon {
    cursor:pointer;
    padding: 2px 3px;
    font-size:11px;
}

.filterPanel .panel-heading
{
    padding: 5px
}

.filterPanel .panel-heading .accordion-toggle:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';  /* essential for enabling glyphicon */
    content: "\e114";    /* adjust as needed, taken from bootstrap.css */
    float: right;        /* adjust as needed */
    color: grey;         /* adjust as needed */
}
.filterPanel .panel-heading .accordion-toggle.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\e080";    /* adjust as needed, taken from bootstrap.css */
}

/*custom select 2*/
.filterPanel .select2-container .select2-choice {
    display: block;
    height: 20px;
    padding: 0 0 0 0;
    overflow: hidden;
    position: relative;

    border: 1px solid #aaa;
    white-space: nowrap;
    line-height: 8px;
    color: #444;
    text-decoration: none;

    border-radius: 4px;

    background-clip: padding-box;

    -webkit-touch-callout: none;
      -webkit-user-select: none;
       -khtml-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;

    background-color: #fff;
}

.filterPanel .select2-container-multi {
    display: block;
   
    padding: 0 0 0 0;
    overflow: hidden;
    position: relative;

    border: 1px solid #aaa;
    white-space: nowrap;
    line-height: 8px;
    color: #444;
    text-decoration: none;

    border-radius: 4px;

    background-clip: padding-box;

    -webkit-touch-callout: none;
      -webkit-user-select: none;
       -khtml-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;

    background-color: #fff;
}

.filterPanel .select2-container-multi .select2-choices .select2-search-field input {
    
}

.filterPanel .select2-container-multi .select2-choices {
    border: 0px;
}

.filterPanel .select2-container-multi .select2-choices .select2-search-choice {

}

.filterPanel .select2-chosen {
    padding: 5px 6px !important;
}

.filterPanel .select2-container .select2-choice .select2-arrow b, 
.select2-container .select2-choice div b {
    background-position: 0 -3px;
}

/*custom select 2*/
.smallGrid .select2-container .select2-choice {
    display: block;
    height: 20px;
    padding: 0 0 0 0;
    overflow: hidden;
    position: relative;

    border: 1px solid #aaa;
    white-space: nowrap;
    line-height: 8px;
    color: #444;
    text-decoration: none;

    border-radius: 4px;

    background-clip: padding-box;

    -webkit-touch-callout: none;
      -webkit-user-select: none;
       -khtml-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;

    background-color: #fff;
}

.smallGrid .select2-container-multi {
    display: block;
   
    padding: 0 0 0 0;
    overflow: hidden;
    position: relative;

    border: 1px solid #aaa;
    white-space: nowrap;
    line-height: 8px;
    color: #444;
    text-decoration: none;

    border-radius: 4px;

    background-clip: padding-box;

    -webkit-touch-callout: none;
      -webkit-user-select: none;
       -khtml-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;

    background-color: #fff;
}

.smallGrid .select2-container-multi .select2-choices .select2-search-field input {
    
}

.select2-drop {
    background-position: 0 -3px;
}

.smallGrid .select2-container-multi .select2-choices {
    border: 0px;
}

.smallGrid .select2-container-multi .select2-choices .select2-search-choice {

}

.smallGrid .select2-chosen {
    padding: 5px 6px !important;
}

.smallGrid .select2-container .select2-choice .select2-arrow b, 
.select2-container .select2-choice div b {
    background-position: 0 -3px;
}

.smallGrid .date .form-control {
    font-size:11px;
}

.smallGrid .form-control {
    font-size:11px;
    height: 20px;
    padding: 0px;
}

.smallGrid select.form-control {
    padding: 2px 3px;
}

.smallGrid input[type="text"] {
    padding: 2px 3px;
}

.smallGrid .date .input-group-addon {
    cursor:pointer;
    padding: 2px 3px;
    font-size:11px;
}

.has-error input, 
.has-error select,
.has-error .select2-choice,
.has-error .select2-choices
 {
    background-color: #f2dede !important;
    border-color: #a94442 !important;
}

#popup_container
{
    border: 2px solid #101010;
    MIN-WIDTH: 300px;
    FONT-SIZE: 14px;
    BACKGROUND: #fff;
    MAX-WIDTH: 600px;
    _width: expression(this.clientWidth>599?"600px":"auto");
    COLOR: #000;
    font-family: verdana, sans-serif;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    position: fixed !important;
    position: absolute; /*ie6*/
    padding: 0px;
    margin: 0px;
    z-index: 99998;
}
#popup_title
{
    BORDER-RIGHT: #fff 1px solid;
    PADDING-RIGHT: 0em;
    BORDER-TOP: #fff 1px solid;
    PADDING-LEFT: 0em;
    FONT-WEIGHT: bold;
    FONT-SIZE: 14px;
    BACKGROUND: url(../img/title.gif) #ccc repeat-x 50% top;
    PADDING-BOTTOM: 0em;
    MARGIN: 0em;
    BORDER-LEFT: #fff 1px solid;
    CURSOR: default;
    COLOR: #666;
    LINE-HEIGHT: 1.75em;
    PADDING-TOP: 0em;
    BORDER-BOTTOM: #999 1px solid;
    TEXT-ALIGN: center
}
#popup_content
{
    PADDING-RIGHT: 1.75em;
    PADDING-LEFT: 1.75em;
    PADDING-BOTTOM: 1em;
    MARGIN: 0em;
    PADDING-TOP: 1em
}
#popup_message
{
    width: expression(this.scrollWidth>500?"550px":"auto");
    max-height: 395px;
    height: expression(this.scrollHeight>394?"395px":"auto");
    overflow-y: auto;
    overflow-x: hidden
}
#popup_panel
{
    background-color:transparent;
    margin-top: 1em;
    text-align: center
}
#popup_prompt
{
    margin: 0.5em 0em
}
#popup_focus_jump
{
    line-height:1px;
    text-decoration:none
}
#popup_errordiv
{
    font-size: 12px;
    color: red;
    font-weight:bold;
    text-align:center
}
.popup_btn
{
    color: black;
    font: bold 13px 'trebuchet ms',helvetica,sans-serif; 
    background-color: #DCDCDC;
    border: 1px solid;
    border-color: #696969 black black #696969;
    cursor: pointer;
    margin:1px
}
#popup_overlay
{
    position: absolute;
    z-index: 99997;
    left: 0px;
    top: 0px;
}

.select2-result-label .label-warning
{
    margin-top:3px
}
.datepicker{z-index:1151 !important;}

.tooltip-inner {
    max-width: 350px;
    /* If max-width does not work, try using width instead */
    width: 350px; 
}

.bottomRightButtons {
    position: absolute; 
    bottom: 0;
    right: 0;
    margin: 15px;
}
