﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
    /*font-size:12px;*/
}

/* 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,
textarea {
    /*max-width: 280px;*/
}
.number {
    text-align:right;
}
.Clndr {
    text-align:right;
}
#OrderID {
    text-align:right;
}
#Voucher_No {
    text-align:right;
}
#VoucherNo {
    text-align:right;
}
.CLeft 
{
    float:left;
    margin-left:5px;
}
.CRight 
{
    float:right;
    margin-left:10px;
    margin-top:13px;
}
/* styles for validation helpers */
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #ff0000;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color:#ff0000;
}

.validation-summary-valid {
    display: none;
}
.Maintitle {
    color:#FFF;font-size:28px; font-weight:bold;
}
.BodyColor {
  padding: 10px 30px 0px 30px;
  /*margin-bottom: 30px;*/
  font-weight: 200;
  line-height: 2.1428571435;
  color: inherit;
  background-color: #eeeeee;
  border-radius: 6px;
}
select .form-control {
    height:40px !important;
}
.form-control {
    height:16px;
    padding: 4px 8px;
}

/*Design Page*/
    .form-group1 {
    /*width: 340px;*/
    }

    .form-group1 label, .form-group1 input {
    display: block;
  
    float: left;
    margin-bottom: 4px;
    line-height:none;
    }

    .form-group1 input {
    width: 160px;
    }

    .form-group1 label {
    text-align: right;
    padding-right: 20px;
    }
      .form-group1 input {
    
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    display: block;
    font-size: 14px;
    line-height: 1.42857;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
}
    .inputbutton {
    background-color: #1b5484;
    padding: 4px 20px 4px 20px;
    color: #FFFFFF;
    font-weight: bold;
}
    .bg {
    background-image: url(../images/edit.png);
    display: block;
    width: 16px;
    height: 16px;
    
}
      .add {
    background-image: url(../images/add.png);
    display: block;
    width: 16px;
    height: 16px;
    
}
.bgdelete {
    background-image: url(../images/delete.png);
    display: block;
    width: 16px;
    height: 16px;
    
}
.css_button {
border: 1px solid #77021d;
-webkit-box-shadow: #FFFFFF 0px 0px 1px inset;
-moz-box-shadow: #FFFFFF 0px 0px 1px inset;
box-shadow: #FFFFFF 0px 0px 1px inset;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
font-size: 12px;
font-family: arial, helvetica, sans-serif;
padding: 0px 10px 0px 10px;
text-shadow: 0px 2px 0 rgba(0,0,0,0.5);
text-decoration: none;
display: inline-block;
font-weight: bold;
color: #FFFFFF;
background-color: #a90329;
background-image: -webkit-gradient(linear, left top, left bottom, from(#a90329), to(#6d0019));
background-image: -webkit-linear-gradient(top, #a90329, #6d0019);
background-image: -moz-linear-gradient(top, #a90329, #6d0019);
background-image: -ms-linear-gradient(top, #a90329, #6d0019);
background-image: -o-linear-gradient(top, #a90329, #6d0019);
background-image: linear-gradient(to bottom, #a90329, #6d0019);
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#a90329, endColorstr=#6d0019);
}

/*Design Page*/
    .form-group1 {
    width: 100%;
    }

    .form-group1 label, .form-group1 input {
    display: block;
    width: 140px;
    float: left;
    margin-bottom: 4px;
    }

    .form-group1 input {
    width: 160px;
    }

    .form-group1 label {
    text-align: right;
    padding-right: 20px;
    }

    .form-group2 {
    width: 666px;
    }

    .form-group2 label, .form-group2 input {
    display: block;
    width: 120px;
    float: left;
    margin-bottom: 4px;
    }

    .form-group2 label {
    text-align: right;
    padding-right: 20px;
    }

    .form-group3 {
    width: 200px;
    display: inline;
    }

    .form-group3 label, .form-group3 input {
    display: block;
    float: left;
    margin-bottom: 4px;
    }

    .form-group3 input {
    width: 45px;
    margin-right:5px;
    }

    .form-group3 label {
    text-align: right;
    padding-right: 22px;
    }
    
 .form-group4 {
    width: 400px;
    }
     .form-group4 label, .form-group4 input {
    display: block;
    width: 120px;
    float: left;
    margin-bottom: 4px;
    }

    .form-group4 input {
    width: 160px;
    }

    .form-group4 label {
    text-align: right;
    padding-right: 20px;
    }
    .errorMessage 
{
    font-weight:bold;
    color:red;
    background:#FFFFFF;
    font-size:13px;
}
.ConfiromMessage 
{
    font-weight:bold;
    color:green;
    background:#FFFFFF;
    font-size:13px;
}
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a
{
color:#ffffff!important;
}
.navbar-collapse
{
max-height:400px !important;
}
.dropdown {
    /*height:30px;*/
}
.dropdown li a  {
    /*height:11px;*/
}
.dropdown-menu  li  a   {
    height:initial;
    border-bottom:1px solid #cccccc;
}
.dropdown-submenu li {
    /*height:20px;*/
    /*border-bottom:1px solid #cccccc;*/
}
/* For Sub Menus*/

.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;
}
/*End SubMenus*/
.dropdown:hover > .dropdown-menu{ display: block; }
.nav > li:hover > a { color: #fff; background-color: #0d6b9c!important; border-top-left-radius:5px; border-top-right-radius:5px; }