html,
body {
    height: 100%;
}
body, select, option{
    text-transform: uppercase !important; 
}

.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;
        min-width: 200px !important;
/*    padding-left: 20px;*/
}

/*.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>a:focus{
    background-color: #e7e7e7 !important;
}
.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;
}


.center-text, .align-center{
    text-align: center;
}
.align-right{
    text-align: right;
}
.bold{
    font-weight: bold;
}
.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

/*.wrap > .container {
    padding: 70px 15px 20px;
}*/
.navbar{
    margin-bottom: 0px !important;
}
h1{
    margin-top: 10px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}


h1{
    font-size: 1.8em;
}

.site-login{
    max-width: 400px;
    margin: auto;
}

.site-login h1, .site-login .form-group-btn{
    text-align: center;
}

/*.user-update, .user-create, .ip-update, .ip-create, .fabric-update, .fabric-create, .location-update, .location-create, .appointment-update, .appointment-create, .customer-update, .customer-create{
    max-width: 500px;
    margin: auto;    
}*/

[class*="-create"], [class*="-update"]{
    max-width: 500px;
    margin: auto;    
}

[class*="-create"] h1, [class*="-update"] h1{
    text-align: center;
    
}

[class*="-create"] .form-group:last-child, [class*="-update"] .form-group:last-child{
    text-align: center;
    
}

.jacket-config-create, .jacket-config-update{
    max-width: 100%;
}

.waistcoat-config-create, .waistcoat-config-update{
    max-width: 100%;
}

.trouser-config-create, .trouser-config-update{
    max-width: 100%;
}

.shirt-config-create, .shirt-config-update{
    max-width: 100%;
}

.shoe-config-create, .shoe-config-update{
    max-width: 100%;
}

.grid-view .table td:last-child{
    text-align: center;
}

.grid-view .table th:nth-child(1){
    display: none;
}

.grid-view .table td:nth-child(1){
    display: none;
}

.grid-view .table th:nth-child(2){
    display: none;
}

.grid-view .table td:nth-child(2){
    display: none;
}

.form-html-input{
    background-color: #eee !important;
}
.customer-index .grid-view th:last-child, .customer-index .grid-view td:last-child{
    display: none;
}

.field-jacketconfig-pocket_welt, 
.field-jacketconfig-pocket_fla, 
.field-jacketconfig-teslu,
.field-jacketconfig-butoniera_contrast,
.field-jacketconfig-obs_pocket{
    border-top: 1px solid #ddd;
    padding-top: 5px;
}

.field-waistcoatconfig-pocket_welt, 
.field-waistcoatconfig-pocket_fla, 
.field-waistcoatconfig-teslu,
.field-waistcoatconfig-butoniera_contrast,
.field-waistcoatconfig-obs_pocket{
    border-top: 1px solid #ddd;
    padding-top: 5px;
}

.field-trouserconfig-pocket_welt, 
.field-trouserconfig-pocket_fla, 
.field-trouserconfig-teslu,
.field-trouserconfig-butoniera_contrast,
.field-trouserconfig-obs_pocket{
    border-top: 1px solid #ddd;
    padding-top: 5px;
}

.view-label{
    font-weight: bold;
    text-align: right;
}
.panel-body.container-fluid.even-mark .row:nth-child(even) {
    background-color: #eaeaea;
}
.panel-body.container-fluid .row{
    padding-top: 4px;
    padding-bottom: 4px;
}

.row .buttom-border{
    border-bottom: 1px solid #ddd;
}

.jacket-measure-form .jm_header{
    font-weight: bold;
    margin-bottom: 20px;
}
.jacket-measure-form .jm_label{
    font-weight: bold;
    text-align: right;
}

.jacket-measure-form .field-jacketmeasure-jacket_config_id{
    display: none;
}

.jacket-config-view .jm_header{
    font-weight: bold;
    margin-bottom: 20px;
}
.jacket-config-view .jm_label{
    font-weight: bold;
    text-align: right;
}
.jacket-config-view  .row-measure:nth-child(odd){
    background-color: #eaeaea;
}

.jacket-config-view .jm_absolute_value,
.jacket-config-view .jm_relative_value,
.jacket-config-view .js_mold{
    text-align: center;
}

.waistcoat-measure-form .jm_header{
    font-weight: bold;
    margin-bottom: 20px;
}
.waistcoat-measure-form .jm_label{
    font-weight: bold;
    text-align: right;
}

.waistcoat-measure-form .field-waistcoatmeasure-waistcoat_config_id{
    display: none;
}

.waistcoat-config-view .jm_header{
    font-weight: bold;
    margin-bottom: 20px;
}
.waistcoat-config-view .jm_label{
    font-weight: bold;
    text-align: right;
}
.waistcoat-config-view  .row-measure:nth-child(odd){
    background-color: #eaeaea;
}

.waistcoat-config-view .jm_absolute_value,
.waistcoat-config-view .jm_relative_value,
.waistcoat-config-view .js_mold{
    text-align: center;
}


.trouser-measure-form .jm_header{
    font-weight: bold;
    margin-bottom: 20px;
}
.trouser-measure-form .jm_label{
    font-weight: bold;
    text-align: right;
}

.trouser-measure-form .field-trousermeasure-trouser_config_id{
    display: none;
}

.trouser-config-view .jm_header{
    font-weight: bold;
    margin-bottom: 20px;
}
.trouser-config-view .jm_label{
    font-weight: bold;
    text-align: right;
}
.trouser-config-view  .row-measure:nth-child(odd){
    background-color: #eaeaea;
}

.trouser-config-view .jm_absolute_value,
.trouser-config-view .jm_relative_value,
.trouser-config-view .js_mold{
    text-align: center;
}


.shirt-measure-form .jm_header{
    font-weight: bold;
    margin-bottom: 20px;
}
.shirt-measure-form .jm_label{
    font-weight: bold;
    text-align: right;
}

.shirt-measure-form .field-shirtmeasure-shirt_config_id{
    display: none;
}

.shirt-config-view .jm_header{
    font-weight: bold;
    margin-bottom: 20px;
}
.shirt-config-view .jm_label{
    font-weight: bold;
    text-align: right;
}
.shirt-config-view  .row-measure:nth-child(odd){
    background-color: #eaeaea;
}

.shirt-config-view .jm_absolute_value,
.shirt-config-view .jm_relative_value,
.shirt-config-view .js_mold{
    text-align: center;
}



.datepicker,
.table-condensed {
  width: 280px;
  height: 280px;
}

.datepicker table tr td, .datepicker table tr th{
    font-size: 18px;
}
.krajee-datepicker, .form-control[readonly]{
    background-color: #fff !important; opacity: 1; 
}

.customer-order-payment-create, .customer-order-payment-update{
    max-width: 100%;
}
.jacket-measure-form .js_mold{
    text-align: center;
}
.waistcoat-measure-form .js_mold{
    text-align: center;
}
.trouser-measure-form .js_mold{
    text-align: center;
}
.shirt-measure-form .js_mold{
    text-align: center;
}
.menu-warning{
    background-color: orange;
}
.customer-order-new th{
    text-align: left;
}

.customer-order-new td.order-product{
    padding-left: 40px;
}
.customer-order-new tr.order-name td{
    border-top: 2px solid #000;
}
.customer-order-new td:last-child{
    text-align: center;
}

.customer-order-new th:last-child{
    text-align: center;
}


.fabric-restoc{
    border: 2px solid red;
}
.fabric-restoc th{
    background-color: #ffc8c8
}