﻿html, body {
    height: 100%;
    margin: 0px;
    padding: 0px;
}

div#wrapper {
    min-height: 100%;
    position: relative;
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
    height: 100vh;
}

/* BODY Background style */
body {
    /* background image and color in branding */
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center 0px;
    height: 100%;
}

div.navbar.title-bar,
div.navbar.main-menu,
div.navbar.breadcrumb {
    margin-bottom: 0px !important;
    border: none;
}

/* IMAGE */
img.title-logo {
    display: inline-block;
}
/* TITLE */
.title-text {
    display: inline-block;
}

.legacyheader-brand {
    height: auto;
}

.legacyheader-signin {
    margin-right: 20px;
}

/* 2. MENU BAR *******************************************/
/* Menu color */
.main-menu.navbar,
.main-menu.navbar ul.dropdown-menu {
    z-index: 10000;
}

/* 3. BREADCRUMBS *****************************/
/*Overriding bootstrap breadcrumb css*/
div.navbar.breadcrumb {
    min-height: 0px !important;
    border-radius: 0px !important;
    border: 0px !important;
}

.breadcrumb {
    margin-bottom: 0px;
    padding: 3px 20px;
}

/* 4. FOOTER *********************************************/
footer {
    bottom: 0;
    width: 100%;
}
/* Footer Text */
#footer p {
    padding-left: 30px;
    padding-top: 10px;
}
/* Main Content padding should be adjusted to leave room for the footer*/
#main-content {
    padding-bottom: 30px;
    flex: 1 0 auto;
    -ms-flex: 1 0 auto;
}

/* 5. FORM *********************************************/
/* Spacer between top and form */
.row.form-spacer {
    min-height: 40px;
}

/* Form Header */
.navbar.xrmform-header {
    border-radius: 0px;
    border: 0px;
}

nav.navbar-collapse.pull-right {
    padding-right: 30px;
}

/* Form Input Labels */
.xrmform-cell-label {
    font-weight: normal;
}

/*sidenavigation*/
#sidebar-menu ul {
    list-style-type: none;
    padding: 0px;
    background-color: white;
    top: 0;
    width: 200px;
}


#sidebar-menu .main-menu a {
    display: block;
    font-size: 13px;
    font-weight: 500;
    padding-right: 10px
}

#sidebar-menu .sub-menu a {
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 30px;
    font-size: 12px;
    font-weight: 400;
}

body {
    position: relative;
}

/* Modal CSS*/
.modal.modal-wide .modal-dialog {
    width: 90%;
}

[class^="slickgrid_"],
[class^="slickgrid_"] div {
    -webkit-box-sizing: content-box !important;
    -moz-box-sizing: content-box !important;
    box-sizing: content-box !important;
}
