﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
    min-height:100%;
    height:100%;
}

html {
    min-height:100%;
    height:100%;
}

#wrap {
    min-height:100%;
}

.maxlength50 {
    max-width: 405px;
}

textarea {
    height: auto !important;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select {
    /*max-width: 280px;*/
}
/*,textarea */

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}


#loader {
    background-color: #FFFFFF;
    height: 100%;
    left: 0;
    opacity: 0.7;
    position: fixed;
    top: 0;
    width: 100%;
    display: none;
    z-index: 99999;
}
#longloader {
    background-color: #FFFFFF;
    height: 100%;
    left: 0;
    opacity: 0.7;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
}
#loaderImage, #longloaderImage {
    background: #FFF url(../Images/ajax-loader-clock.gif) no-repeat center center;
    height: 128px;
    width: 128px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    margin: -25px 0 0 -25px;
}


/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
    display: none;
}

@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 51px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border-right: 1px solid #eee;
    }
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}

    .nav-sidebar > li > a {
        padding-right: 20px;
        padding-left: 20px;
    }

    .nav-sidebar > .active > a,
    .nav-sidebar > .active > a:hover,
    .nav-sidebar > .active > a:focus {
        color: #fff;
        background-color: #428bca;
    }


/*
 * Main content
 */

.main {
    padding: 20px;
}

@media (min-width: 768px) {
    .main {
        padding-right: 40px;
    }
}

.main .page-header {
    margin-top: 0;
}

.table .tableHeading {
    /*background-image: -webkit-linear-gradient(#6d94bf, #446e9b 50%, #3e648d);
    background-image: linear-gradient(#6d94bf, #446e9b 50%, #3e648d);*/
    background-image: -webkit-gradient(linear, left top, left bottom, from(#446e9b), color-stop(100%, #3e648d ));
    background-image: linear-gradient(top, #446e9b, #3e648d);
    background-image: -moz-linear-gradient(top, #446e9b, #3e648d);
    background-image: -ms-linear-gradient(top, #446e9b, #3e648d);
    background-image: -o-linear-gradient(top, #446e9b, #3e648d);

    color: #dddddd;
    background-repeat: repeat;
    color: #FFFFFF !important;
    border: 1px solid #ffffff !important;
    font-size: 12px;
    text-align: center;
}

.tableHeading th {
    background: inherit;
}

.table .tableHeading-grey {
    /*background-image: -webkit-linear-gradient(#6d94bf, #446e9b 50%, #3e648d);
    background-image: linear-gradient(#6d94bf, #446e9b 50%, #3e648d);*/
    background-image: -webkit-gradient(linear, left top, left bottom, from(#C0C0C0), color-stop(100%, #A0A0A0 ));
    background-image: linear-gradient(top, #C0C0C0, #A0A0A0);
    background-image: -moz-linear-gradient(top, #C0C0C0, #A0A0A0);
    background-image: -ms-linear-gradient(top, #C0C0C0, #A0A0A0);
    background-image: -o-linear-gradient(top, #C0C0C0, #A0A0A0);

    background-repeat: repeat;
    color: #000 !important;
    font-size: 12px;
    font-weight:bold;
    text-align: center;
}

.table .tableAltRow-grey {
    background-color: #E0E0E0;
}

/*.required:before {
   content: "*";
color: red;
left: 3px;
top: 7px;
position: absolute;
 
}*/
.required:before {
    content: "*";
    color: red;
    left: auto;
    top: 0px;
    position: relative;
    margin-right: 2px;
}

.require {
    color: red;
    position: absolute;
    left: 5px;
}


.width-left-auto {
    text-align: left;
    width: auto;
}


.width100per-dialog .modal-dialog {
    width: 90%;
}

.width90per-dialog .modal-dialog {
    width: 80%;
}

.width80per-dialog .modal-dialog {
    width: 65%;
}

.width60per-dialog .modal-dialog {
    width: 60%;
}

.width50per-dialog .modal-dialog {
    width: 50%;
}

.width40per-dialog .modal-dialog {
    width: 40%;
}

.pagination {
    margin: 0px !important;
}

.pagination-center {
    text-align: right;
}

th a {
    color: #fff !important;
}

.icon-cursor {
    cursor: pointer;
}

.tab-pane {
    margin-top: 10px;
}

.bootstrap-touchspin .input-group-btn-vertical {
    width: auto !important;
    top: -2px;
}

.col05Width, .grid05Width {
    width: 5%;
}

.col1Width, .grid1Width {
    width: 10%;
}

.col2Width, .grid2Width {
    width: 20%;
}

.col3Width, .grid3Width {
    width: 30%;
}

.col4Width, .grid4Width {
    width: 40%;
}

.col5Width, .grid5Width {
    width: 50%;
}

.col6Width, .grid6Width {
    width: 60%;
}

.grid7Width {
    /*width: 70%;*/
    width: 100%;
}

.grid8Width {
    width: 80%;
}

.grid9Width {
    width: 90%;
}

.panel-heading, .panel-heading label {
    font-weight: bold;
}

.hideEditDeleteColumn, .hideViewColumn {
    display:none !important;
}

/******************* Navbar *********************/
.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;
        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: #ccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }

    .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;
        }

.setposition {
    position: absolute;
    top: 8px;
    left: 7px;
}


.form-horizontal .has-feedback .form-control-feedback {
    top: -3px;
    right: -17px;
}

.special-pay {
    background-color: #FCC;
}

.shift_override {
    background-color: #FFFFAA;
}

.date {
    text-align: right;
}

.toggled {
    padding-left: 215px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.section-header {
    padding-top: 5px;
    text-align: right;
    width: 100%;
    vertical-align: central;
    background-color: #ced7e0;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ecf0f3), color-stop(100%, #ced7e0));
    background-image: -moz-linear-gradient(90deg, #ced7e0 0%, #ecf0f3);
    background-image: -ms-linear-gradient(90deg, #ced7e0 0%, #ecf0f3);
    border-bottom: 1px solid #9cacbc;
}

.collapse-panel-btn {
    cursor: pointer;
    padding-right: 5px;
}

.collapse-panel-btn:hover {
    color: #000;
}

.sidebar-wrapper {
    width:205px;
    padding-right: 0px;
    padding-left: 0px;
    padding-top: 0px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.dataTable {
    width:100%;
}

.alignedLeft {
    text-align: left !important;
}
/*FOOTER*/
#bottom_block {
	padding: 0 0 25px 0;
	margin-bottom: -50px;
}
#push, #footer {
	height: 27px;
	clear: both;
}
#footer {
	z-index:3000;
	position:relative;
	color:#959595;
	bottom:0;
	margin-top:-8px;
    width:100%;
}
#footer:hover {
	z-index:3002;
}
#footer a {
	color:#959595;
}
#footer_line {
	position:relative;
	z-index:0;
	background-color:#333;
}
#footer_bottom {
	position:relative;
	z-index:1;
}
#footer_bottom i {
	color:#fff;
	font-size:14px;
}
#footer_bottom .pull-right, #footer_bottom .pull-left {
	max-width: 54%;
}
#footer_bottom .pull-right {
	text-align:right;
}
#footer_bottom .noHover, #footer_bottom .noHover span {
	padding:0;
	line-height: 25px;
	margin:0 0 1px 0;
}
#footer_bottom .noHover img {
	vertical-align:middle;
}
#footer_bottom .noHover span {
	display:inline-block;
}
#footer_bottom .noHover span.text {
	padding-top:5px;
}
#footer_bottom .noHover span.text, #footer_bottom .noHover span.text span {
	display:inline-block;
	line-height:18px
}
#footer_bottom .noHover span.text span {
	margin:0;
}
#footer_bottom .pull-right.noHover {
	padding: 2px 0 0;
	line-height:24px;
}
#footer_bottom .noHover .payment_icons {
	margin-right:5px;
}
#footer_bottom .payment_icons img {
	margin-right:4px;
}
#footer_button {
	position:absolute;
	top:0;
	left:50%;
	z-index:2;
	margin-left:-20px;
	padding:3px 0 0 0;
	width: 30px;
	height:24px;
	text-align:center;
	background:#3c3c3c;
	color:#fff;
	font-size: 20px;
	cursor: pointer;
}
#footer_popup {
	position:absolute;
	z-index:0;
	bottom:0;
	display:none;
	padding-bottom:65px;
	width:100%;
	background-color:rgba(0, 0, 0, 0.85);
}
#footer_popup.footer_bg {
/*	background-image:url(../img/glyphicons-halflings.png);
*/}
#footer_popup h3, #footer_popup h4 {
	padding: 10px 0;
	border-bottom:1px solid #444;
	color:#fff;
	font:18px/24px 'Oswald', sans-serif;
}
#footer_popup h4 {
	border:none;
}
#footer_bottom i {
	color:#fff;
	font-size: 14px;
	height:20px;
	-webkit-transition: font-size 0.25s 0s ease;
	-moz-transition: font-size 0.25s 0s ease;
	-o-transition: font-size 0.25s 0s ease;
}
#footer_bottom i:hover {
	font-size:20px;
	-webkit-transition: font-size 0.25s 0s ease;
	-moz-transition: font-size 0.25s 0s ease;
	-o-transition: font-size 0.25s 0s ease;
}

.selectNoPadding {
    padding-right: 10px !important;
}
.inputNoPadding {
    padding-right: 10px !important;
}
.min_wid_70 {
    min-width:70px;
}
.min_wid_50 {
    min-width:50px;
}
.min_wid_100 {
    min-width:100px;
}
.min_wid_120 {
    min-width:120px;
}
.rightAlign {
    text-align:right;
}
.leftAlign {
    text-align:left;
}
.centerAlign {
    text-align:center;
}

.btn-primary-red {
    background-image: linear-gradient(#ff4c4c, #ff0000 50%, #ff4c4c);
    background-repeat: no-repeat;
    border: 1px solid #ff4c4c;
    filter: none;
    color:#FFF;
}

.btn-primary-red:hover {
    background-image: linear-gradient(#b20000, #b20000 50%, #b20000);
    color:#FFF;
}

.import-error {
    border:1px solid red;
}

.import-normal {
    border:1px solid gray;
}

.amberorange {
    background-color: #ffbf00 !important;
}

.shell {
  height: 20px;
  /*width: 250px;*/
  border: 1px solid #aaa;
  border-radius: 13px;
  /*padding: 3px;*/
  margin-top: 20px;
}

.bar {
    text-align: right;
    color: rgb(255, 255, 255);
  background: linear-gradient(to right, #3e648d, #446e9b);
  height: 20px;
  width: 15px;
  border-radius: 9px;
  span {
    float: right;
    padding: 4px 5px;
    color: #fff;
    font-size: 0.7em
  }
}
