html, body {
    background-color: #f2f2f2 !important;
}

/* Remove the navbar's default margin-bottom and rounded borders */
.navbar {
    margin-bottom: 0;
    border-radius: 0 !important;
}

.navbar-brand{
    font-size: 25px !important;
    color: #337ab7 !important;
    font-weight: bold !important;
}

.navbar-right > li > a {
    color: #337ab7 !important;
}

.base-layout{
    padding-bottom: 50px;
    margin-bottom: 60px; /* Footer height */
}

/* Add a gray background color and some padding to the footer */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
    background-image: -webkit-linear-gradient(bottom, #fff 0%, #f8f8f8 100%);
    background-image: -o-linear-gradient(bottom, #fff 0%, #f8f8f8 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#f8f8f8));
    background-image: linear-gradient(to top, #fff 0%, #f8f8f8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(endColorstr='#ffffffff', startColorstr='#fff8f8f8', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
}

footer span{
    font-size: 20px;
    color: #337ab7;
}

hr {
    margin-top: 30px !important;
    margin-bottom: 50px !important;
    border-top: 1px solid #337ab7 !important;
    height: 1px !important;
}

h4 {
    font-size: 20px;
    color: #337ab7 !important;
}

.form-group button[type="submit"] {
    float: right !important;
}
.float-right{
    margin-left: 5px !important;
    float: right !important;
}
.float-left{
    float: left !important;
}
.logo-wrapper{
    display: inline;
}

.lrm-logo{
    margin-top: 10px;
    margin-right:5px;
    width:30px;
    height:30px;
}

td:first-child, th:first-child {
    border-right: 1px solid #ddd !important;
}

.table-container {
    background-color: #fff;
    border:1px solid #ddd;
    border-top:none;
}

.table-head-blue{
    background-color: #337ab7;
    color:white;
}

.hidden{
    display: none;
}

.non-clickable{
    pointer-events: none;
}

.version{
    font-size:14px;
    color: #777;
}

.large-save-button{
    padding: 5px 10px !important;
    margin: 10px 70px 50px 0 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    border-radius: 3px !important;
}

#loading-page {
    text-align:center;
    z-index:98;
    position: fixed;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background: rgba(255,255,255,0.8);
    overflow-x: hidden;
    display: none;
}

#loading-container {
    left:50%;
    top:50%;
    width: 240px;
    margin: -100px 0 0 -120px;
    position: absolute;
}

#loading-indicator {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    margin-left: 60px;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

#loading-container #title{
    font-size: 25px;
    font-weight: bold;
    color: #3498db; /* Blue */
}

#loading-container #message{
    font-size: 20px;
    color: #3498db; /* Blue */
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.strike {
    display: block;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
}

.strike > span {
    position: relative;
    display: inline-block;
    font-size: 20px;
    color: #337ab7;
}

.strike > span:before,
.strike > span:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 9999px;
    height: 1px;
    background-color: #337ab7;
}

.strike > span:before {
    right: 100%;
    margin-right: 15px;
}

.strike > span:after {
    left: 100%;
    margin-left: 15px;
}

.lightgreen{
    background: lightgreen;
}

.inline-block {
    display: inline-block !important;
}

.order-wrapper {
    display: inline-block;
    margin-right: 16px;
    padding-top: 7px;
}

.crop-long-lext {
    max-width: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 768px) {
    .modal-dialog {
        width: 800px !important;
    }
}


.bootstrap-tagsinput {
    display: block !important;
}

.bootstrap-tagsinput span{
    font-size: 14px !important;
}

.margin-left-xs { margin-left: .25em; }
.margin-left-sm { margin-left: .5em; }
.margin-left-md { margin-left: 1em; }
.margin-left-lg { margin-left: 1.5em; }
.margin-left-xl { margin-left: 3em; }


.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;
}
