@import url("../vendor/npm-font-open-sans/open-sans.css");
@import url("../vendor/font-awesome/css/font-awesome.css");
html,
body {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    background-color: #f8f8f8 !important;
    color: #666;
    overflow: hidden;
    height: 100%;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-content: stretch;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 2px 0px;
    margin: 2px 0px;
    color: #777;
}

h2 {
    font-size: 18px;
    line-height: 23px;
}

h3 {
    font-size: 15px;
    line-height: 18px;
}

h4 {
    font-size: 13px;
    line-height: 16px;
}

h5 {
    font-size: 12px;
    line-height: 15px;
}

h6 {
    font-size: 10px;
    line-height: 13px;
}

p {
    padding: 0px;
    margin: 0px;
}

a {
    color: #026b9c;
}

a:hover {
    color: #003f5c;
    text-decoration: none;
}

a:hover,
a:active,
a:focus {
    outline: 0;
}

.bold {
    font-weight: bold;
}

hr {
    margin: 15px 0px 10px 0px;
    padding: 0px;
    border-top: 0px;
    border-bottom: 1px solid #f4f4f4;
    height: 0px;
}

button.close {
    font-size: 20px !important;
    font-weight: normal;
}

button {
    font-size: 11px;
}

form {
    margin: 0px;
}


/* Layout ----------------------------------------- */

#wrapper {
    flex: 1 1 auto;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    max-height: calc(100% - 1px);
}

#applicationHost {
    flex: 1 1 auto;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    max-height: calc(100% - 1px);
}

.durandal-wrapper {
    flex: 1 1 auto;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    max-height: calc(100% - 1px);
}

#top-header {
    flex: 0 0 50px;
    justify-content: flex-start;
}

#content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    overflow: visible;
    max-height: calc(100% - 1px);
}

#status-bar {
    flex: 0 0 20px;
}

#mainbar {
    flex: 1 1 auto;
    align-self: stretch;
    display: flex;
    flex-direction: row;
    align-content: stretch;
    justify-content: flex-start;
    overflow: scroll;
}

#sidebar {
    flex: 0 0 250px;
    display: flex;
    flex-direction: row;
    align-content: stretch;
    justify-content: flex-start;
    padding-right: 1px;
    min-width: 200px;
    max-width: 250px;
    overflow: hidden;
}

.sidebar-container {
    width: 250px;
    display: flex;
    flex-direction: column;
    align-content: stretch;
    justify-content: flex-start;
    min-width: 250px;
    max-width: 250px;
}

.sidebar-container>div {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    overflow: scroll;
}

.sidebar-container>.panel>.panel-body {
    display: flex;
    flex-direction: row;
}

.e-treeview-wrap>.e-ul {
    overflow: visible !important;
}

.main-content-item {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


/* HEADER ----------------------------------------- */

.navbar-nav li.loader {
    margin: 12px 6px 0 6px;
    visibility: hidden;
}

.navbar-nav li.loader.active {
    visibility: visible;
}


/* Dropdown menu ----------------------------------------- */

.dropdown-big .dropdown-menu {
    min-width: 230px;
    padding: 8px 10px;
}

.dropdown-big .dropdown-menu p {
    margin: 0px 0px;
    padding: 1px 0px;
    font-size: 11px;
    line-height: 16px;
    color: #999;
}

.dropdown-big .dropdown-menu a,
.dropdown-big .dropdown-menu a:hover {
    line-height: 16px;
    font-size: 12px;
    background: transparent;
    padding: 0px;
    color: #777;
}

.dropdown-big .dropdown-menu a:hover {
    color: #777;
}

.dropdown-big .dropdown-menu .drop-foot {
    text-align: center;
}

.dropdown-big .dropdown-menu .drop-foot a {
    font-size: 11px !important;
    color: #777;
}

.dropdown-big .dropdown-menu hr {
    padding: 0px;
    margin: 8px 0px;
    border-top: 0px solid #aaa;
    border-bottom: 1px solid #eee;
}

.dropdown-big .dropdown-menu i {
    position: relative;
}

.dropdown-big .dropdown-menu h5 {
    color: #888 !important;
    line-height: 18px;
    font-weight: bold;
    font-size: 13px;
}

.dropdown-big .dropdown-menu h6,
.dropdown-big .dropdown-menu h6 a {
    color: #888 !important;
    font-size: 12px;
    line-height: 14px !important;
    font-weight: normal;
}

.dropdown-big .dropdown-menu h6 a:hover {
    color: #555 !important;
    text-decoration: none;
}

.dropdown-big .dropdown-menu li {
    line-height: 15px;
}

.dropdown-big .dropdown-menu li p {
    padding: 5px 0px;
}

.dropdown-menu {
    background: #fafafa;
    border-radius: 4px;
    border: 1px solid #ddd;
    border-bottom: 1px solid #d2d2d2;
    box-shadow: inset 0px 1px 2px #fff;
    z-index: 10000 !important;
}

.dropdown-menu li {
    color: #777;
    font-size: 12px;
    line-height: 18px;
}

.dropdown-menu li>a {
    color: #000;
    line-height: 25px;
}

.dropdown-menu li>a:hover {
    background: #f3f3f3 !important;
    filter: none;
    color: #777;
}

.dropdown-menu .progress {
    height: 8px;
}


/* Navbar ----------------------------------------- */

.navbar * {
    font-weight: normal !important;
    text-shadow: none !important;
}

.navbar {
    background-color: #eee;
    border-bottom: 1px solid #ddd;
    box-shadow: inset 0px 1px 1px #fff;
}

.navbar .caret {
    border-top-color: #666;
    border-bottom-color: #666;
}

.navbar-brand {
    color: #777;
    font-size: 23px;
    font-weight: bold;
}

.navbar-view-title {
    color: #3277b2;
    font-size: 23px;
    font-weight: bold;
}

.navbar-brand:hover {
    color: #777;
}

.navbar-toggle {
    background: #f2f2f2;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.navbar-toggle:hover {
    background: #ddd;
}

.navbar li a {
    font-size: 12px !important;
    color: #777;
}

.navbar li a:hover {
    color: #000;
}

.navbar i {
    margin-right: 4px;
}

.navbar .btn {
    color: #666 !important;
}

.navbar .label {
    padding: 5px 7px !important;
    font-size: 11px;
    border-radius: 10px;
}

.navbar .label i {
    margin-right: 0px;
}

.navbar .progress {
    margin-bottom: 0px;
    padding: 0px !important;
    margin: 0px !important;
}

.nav-tabs>li.active>a {
    background: transparent !important;
}


/* Header and Footer ----------------------------------------- */

header,
footer {
    border-top: 1px solid #ccc;
    background: #fafafa;
    border-bottom: 1px solid #ddd;
}

header {
    padding: 25px 0px 15px 0px;
}

header .container {
    width: 100%;
    max-width: 100%;
}

header .logo {
    margin-top: 0px;
    margin-bottom: 10px;
    padding-left: 10px;
}

header .logo h1 a,
header .logo h1 a:visited,
header .logo h1 a:hover {
    font-size: 35px;
    color: #777;
    text-decoration: none;
    font-weight: normal;
}

header .logo .meta {
    color: #888;
    line-height: 15px;
    padding: 0px;
    margin: 0px;
}

header .nav.nav-pills {
    margin-bottom: 10px;
    margin-top: 15px;
}

header .nav.nav-pills>li>a {
    color: #666;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-color: #e6e6e6;
    /* Darken IE7 buttons by default so they stand out more given they won't have borders */
    filter: progid: DXImageTransform.Microsoft.gradient(enabled=false);
    border: 1px solid #ccc;
    *border: 0;
    border-bottom-color: #c2c2c2;
    border-radius: 5px;
    *margin-left: .3em;
    margin-right: 5px;
    padding: 7px 14px;
}

header .nav.nav-pills>li>a:hover,
header .nav.nav-pills>li>a:focus {
    color: #444;
    background-color: #e6e6e6;
    *background-color: #d9d9d9;
    text-decoration: none;
    border: 1px solid #aaa;
    background-position: 0 -15px;
    -webkit-transition: background-position 0.1s linear;
    -moz-transition: background-position 0.1s linear;
    -o-transition: background-position 0.1s linear;
    transition: background-position 0.1s linear;
}

header .nav.nav-pills>li>a span {
    border-radius: 40px;
    padding: 4px 6px;
    font-size: 11px;
    display: inline-block;
    text-shadow: none !important;
}

header .nav-pills .open .dropdown-toggle {
    color: #444;
    background-color: #e6e6e6;
    *background-color: #d9d9d9;
    text-decoration: none;
    background-position: 0 -15px;
    -webkit-transition: background-position 0.1s linear;
    -moz-transition: background-position 0.1s linear;
    -o-transition: background-position 0.1s linear;
    transition: background-position 0.1s linear;
}

header .header-data {
    margin-top: 15px;
}

header .header-data .hdata {
    display: inline-block;
    width: 85px;
    margin-right: 15px;
}

header .header-data .hdata i {
    display: inline-block;
    height: 40px;
    width: 40px;
    line-height: 40px;
    font-size: 17px;
    text-align: center;
    color: #fff;
    border-radius: 50px;
    box-shadow: inset 0px 0px 1px #777;
}

header .header-data .hdata p,
header .header-data .hdata a,
header .header-data .hdata a:hover {
    display: block;
    line-height: 16px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    margin-top: 3px;
    color: #666;
}

header .header-data .hdata em {
    display: block;
    font-weight: normal;
    font-style: normal;
    font-size: 12px;
}


/* Modal */

.modal-header {
    padding-top: 7px;
    padding-bottom: 7px;
}


/* Login */

#login-view {
    width: 600px;
    align-self: center;
}


/* Sidebar navigation */

.sidebar-container>.panel {
    margin-bottom: 0px;
}

.router-container {
    display: flex;
    flex-direction: row;
    align-content: stretch;
    justify-content: flex-start;
    overflow: visible;
    flex: 1 1 auto;
    min-width: 870px;
}

.router-container>section {
    width: 100%;
}

.modal-dialog {
    min-height: 600px;
    max-height: 800px;
    overflow: auto;
}

.modal-dialog.large {
    min-height: 600px;
    max-height: 900px;
    width: 1200px !important;
}


/*FIX*/

.fix-ej-widget-inline {
    padding: 0px 0px !important;
    border: none !important;
}

.grid-scroll-area {
    width: 100%;
    overflow: auto;
}

.grid-container {
    width: 100%;
}

.copy {
    margin: 5px 20px;
}

.e-acrdn>.e-content {
    padding: 0 !important;
}


/* bootstrap overrides */

.panel-heading {
    padding: 2px 10px;
}


/* editor views */

.editor-view-container {
    padding-left: 5px;
    padding-right: 5px;
    flex: 1 1 auto;
    height: 100%;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.editor-view-container-header {
    flex: 1 1 auto;
    overflow: visible;
    padding-bottom: 5px;
    padding-right: 5px;
    height: 190px;
    width: 100%;
}

.editor-view-container-content {
    margin: 3px;
    height: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.view-grid-area {
    padding: 3px;
}

.filters-panel {
    padding: 10px;
    background-color: #e9e9e9;
    border-radius: 3px;
}

.filters-panel>.form-inline>.form-group {
    padding-left: 5px;
    padding-right: 5px;
}

.filters-panel>.form-inline>.form-group>.control-label {
    padding-right: 5px;
}


/* View specific */

#telecomprocessstatusreport-view-filters-area {
    flex: 0 0 auto;
}

#telecomprocessstatusreport-view-grid-area {
    flex: 1 1 auto;
}

#selfsalescommission-view-filters-area {
    flex: 0 0 auto;
}

#selfsalescommission-view-grid-area {
    flex: 1 1 auto;
}

#partnersalescommission-view-filters-area {
    flex: 0 0 auto;
}

#partnersalescommission-view-grid-area {
    flex: 1 1 auto;
}

#businessmonitor-view-filters-area {
    flex: 0 0 auto;
}

#businessmonitor-view-grid-area {
    flex: 1 1 auto;
}