﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
    /*height:100vh;*/
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/************************************** VBH Bootstrap Themes ***************************************************************************************/
body,
.vbh-accordion .panel-body,
.vbh-panel .panel-body,
div.modal-fullscreen div.modal-body {
    margin: 0;
    /* Gradient novi: http://colorzilla.com/gradient-editor/#f6f8f9+0,e5ebee+50,d7dee3+51,f5f7f9+100;White+Gloss */
    background: rgb(246,248,249); /* Old browsers */
    background: -moz-linear-gradient(45deg, rgba(246,248,249,1) 0%, rgba(229,235,238,1) 50%, rgba(215,222,227,1) 51%, rgba(245,247,249,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg, rgba(246,248,249,1) 0%,rgba(229,235,238,1) 50%,rgba(215,222,227,1) 51%,rgba(245,247,249,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg, rgba(246,248,249,1) 0%,rgba(229,235,238,1) 50%,rgba(215,222,227,1) 51%,rgba(245,247,249,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f8f9', endColorstr='#f5f7f9',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    /*min-height: 100%;*/
    /*background-repeat: no-repeat;*/
    background-attachment: fixed;
    /*background-position: center;*/
    /*background-size: cover;*/
}

/* only for IE*/
/*div.modal-fullscreen > div{
    width:100%;
}*/

.vbh-panel > .panel-heading {
    color: #fff;
    background: #007e41;
    border-color: #fff;
    /*-webkit-box-shadow: 5px 3px 10px #666666;
    -moz-box-shadow: 5px 3px 10px #666666;
    box-shadow: 5px 3px 10px #666666;*/
}

.vbh-float{
    margin-top:30px;
    margin-left:100px;
    display:inline-block;
    float:left;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background: #007e41;
    color: #fff;
    cursor: pointer;
}

.btn-default,
tr.footable-filtering button.btn-primary,
.vbh-accordion > .panel-heading,
::-webkit-file-upload-button {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    background: #666666;
    background-image: -webkit-linear-gradient(top, #666666, #b6babd);
    background-image: -moz-linear-gradient(top, #666666, #b6babd);
    background-image: -ms-linear-gradient(top, #666666, #b6babd);
    background-image: -o-linear-gradient(top, #666666, #b6babd);
    background-image: linear-gradient(to bottom, #666666, #b6babd);
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    color: #fff;
    border-color: #fff;
}

    .btn-default:hover,
    .btn-default:focus,
    tr.footable-filtering button.btn-primary:hover,
    .vbh-accordion > .panel-heading:hover,
    ::-webkit-file-upload-button:hover {
        color: #fff;
        background: #007e41;
        border-color: #fff;
        -webkit-box-shadow: 5px 3px 10px #666666;
        -moz-box-shadow: 5px 3px 10px #666666;
        box-shadow: 5px 3px 10px #666666;
    }

    .btn-default.disabled,
    .btn-default[disabled],
    fieldset[disabled] .btn-default,
    .btn-default.disabled:hover,
    .btn-default[disabled]:hover,
    fieldset[disabled] .btn-default:hover,
    .btn-default.disabled:focus,
    .btn-default[disabled]:focus,
    fieldset[disabled] .btn-default:focus,
    .btn-default.disabled.focus,
    .btn-default[disabled].focus,
    fieldset[disabled] .btn-default.focus,
    .btn-default.disabled:active,
    .btn-default[disabled]:active,
    fieldset[disabled] .btn-default:active,
    .btn-default.disabled.active,
    .btn-default[disabled].active,
    fieldset[disabled] .btn-default.active {
        background-color: #aaa;
        background-image: none;
    }

@media (min-width: 768px) {
    .navbar-inverse .navbar-nav li:hover,
    .navbar-inverse a.navbar-brand:hover {
        background: #007e41;
        color: #fff;
    }
}

input[type=checkbox]{
    margin-left:0px !important;
}

table.footable > thead > tr.footable-filtering > th ul.dropdown-menu > li > a.checkbox input[type="checkbox"] {
    margin-left: -20px!important;
}

tr.footable-header th.footable-sortable:hover {
    background-color: #f5f5f5;
}

.footable-filtering-search .input-group-btn {
    float:left!important;
}

.footable-filtering-search .input-group>input{
    width:auto!important;
}

.modal-body{
    overflow:overlay;
}

.pagination > li > a,
.pagination > li > span {   
    /*color: #337ab7;*/
    color: #007e41;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    /*color: #23527c;*/
    color: #007e41;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    /*background-color: #337ab7;
    border-color: #337ab7;*/
    background-color: #007e41;
    border-color: #007e41;
}

/********************************************************************************** VBH styles ********************************************/
table.vbh-table td,
table.vbh-table th {
    border-top: 1px solid #999 !important;
    vertical-align: middle !important;
}

table.vbh-table thead th {
    text-align: center;
    text-shadow: 0 1px 1px #fff;
    border-bottom: groove;
    border-top: none !important;
}

table.vbh-table thead th > a {
    text-shadow: none!important;
}

table.vbh-table tr:hover .vbh-badge {
    background-color: #007e41;
}

/* VBH table with first column as command */
.vbh-badge {
    background-color: #999;
    border-radius: 4px;
    font-weight: bold;
    /*margin-left: 30px;*/
    padding-left:10px;
    padding-right:10px;
    /*padding-top:2px;
    padding-bottom:2px;*/
    color: #fff;
    white-space: nowrap;
}
.vbh-primarykey-column{
    text-align:center;
}

/*layout footer*/
.vbh-footer {
    text-align: center;
    float: none;
}

/*form dropdown with symbol on the right*/
.vbh-select {
    width: auto !important;
    max-width: none;
    display: inline-block;
}

/*dropdown button*/
.vbh-btn-dropdown > button {
    position: absolute !important;
    padding-left: 8px;
    padding-right: 8px;
}

/* Carousel */
.vbh-carousel img {
    width: 100%;
    height: auto;
}

/* Company edit */
.vbh-form-maxwidth textarea,
.vbh-form-maxwidth input {
    max-width: 500px !important;
}

/* Panel, Accordion */
.vbh-accordion,
.vbh-panel{
    box-shadow:2px 2px #007e41;

}
.vbh-accordion > .panel-heading {
    padding: 12px;
    text-align: left;
    width: 100%;
    white-space:inherit;
}
.vbh-accordion .panel-body,
.vbh-panel .panel-body {
    overflow: overlay;
}

/* filter panel */
.vbh-filter-input {
    border-radius: 10px 0 0 10px;
}
.vbh-filter-check {
    border-radius: 0 60px 60px 0;
    padding-right: 15px !important;
    padding-left: 0 !important;
}
.vbh-filter-group td {
    padding: 5px;
    background: #666666;
    background-image: -webkit-linear-gradient(top, #666666, #b6babd);
    background-image: -moz-linear-gradient(top, #666666, #b6babd);
    background-image: -ms-linear-gradient(top, #666666, #b6babd);
    background-image: -o-linear-gradient(top, #666666, #b6babd);
    background-image: linear-gradient(to bottom, #666666, #b6babd);
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}
.vbh-filter-group tr:hover td{
    background: #007e41;
}
.vbh-filter-active {
    background: #007e41!important;
}
.vbh-filter-group{
    float:left;
    margin:5px;
    border-left:groove;
    border-left-width:thin;
    border-left-color:#b6babd;
    padding-right:20px;
    padding-left:10px;
}
.vbh-filter-group > div {   
    margin:5px;
}
.vbh-cell-changed{
    color:red;
}

/* Order measures partial view */
#ordermeasures th,
#ordermeasures td {
    padding: 2px;
}

#ordermeasures table {
    box-shadow: 2px 2px #999;
    border-radius: 4px;
}

/* Upload button */
.vbh-upload-btn{
  
}

/* symbols panel */
.vbh-symbol-panel > div {
    clear:both;
    padding:15px;
}

.vbh-symbol-box {
    display: inline-block;
    float: left;
    padding: 5px;
    text-align: center;
    border:outset;
}

.vbh-symbol-box label,
.vbh-symbol-box > div {
    clear: both;
    display: block;
}

.vbh-symbol-box img {
    height: 50px;
    width:auto;
    opacity: 0.3;
    clear:both;    
}

.modal-body > .vbh-symbol-box img {
    opacity:1;
}

.vbh-symbol-box img:hover{
    opacity: 1;
    cursor: pointer;
}

.vbh-symbol-panel input{
    display:inline-block;
    float:left;
}

/* data tables td with link */
td > span.badge{
    padding: 3px 9px;
    font-size: 12.025px;
    font-weight: bold;
    white-space: nowrap;
    color: #ffffff;
    background-color: #999999;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
}

td > span.badge:hover{
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    background-color: #007e41;
}

td > span.glyphicon-ok {
    color: #999999;
}

td.vbh-pri-hover > span,
td.vbh-hassub-hover > span,
td.vbh-issub:hover > span.glyphicon-ok {
    background-color: #007e41;
    border-radius: 4px;
    font-weight: bold;
    padding: 3px 3px;
    color: #fff;
    white-space: nowrap;
}

td.vbh-pri-hover > span,
td.vbh-hassub-hover > span,
td.vbh-issub:hover > span.glyphicon-ok {
    cursor: pointer;
}

/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.loadingmodal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) url("/ConfiguratorMVC/Content/images/ajax-loader.gif") 50% 50% no-repeat;
}


/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}

/* Anytime the body has the loading class, our
modal element will be visible */
body.loading .loadingmodal {
    display: block;
}

#set-items table{
    width: 100%!important;
}

/*********************** Mapping Set ********************************/
.mapped-key:hover{
    cursor:pointer;
}

.mapping-container{
    padding: 50px 50px 0 50px;
}

#mapping-home table{
    margin-top:50px;
    margin-left:50px;
}

#mapping-home tr{
    margin-bottom:50px;
}

#mapping-home td{
    padding:10px;
    font-weight:bold;
}