/* notes:
 * styles are for mobile by default
 * desktop specific settings are in @media (min-width: 768px)
 */

/* layout */
html, body {
    width: 100%;
    height: 100%;
}

body {
    padding-top: 51px !important;
}

.side-panel {
    display: none; /* hide side panel on mobile */
}

.main-panel {
    margin-left: 0;
}

.landing-panel {
    width: 300px;
}

@media (min-width: 768px) {
    .navbar-brand {
        width: 180px;
        border-right: 1px solid #c8c8c8;
    }

    .navbar-collapse .navbar-side {
        display: none; /* on a desktop hide the collapsed side-bar navigation links */
    }

    .side-panel {
        position: fixed;
        display: block;
        width: 180px;
        height: calc(100% - 51px);
        background-color: #eee;
        border-right: 1px solid #b8b8b8;
        overflow-x: hidden;
        overflow-y: auto;
        top: 51px;
    }

    .main-panel {
        margin-left: 180px;
        height: 100%;
    }

    .landing-panel {
        width: 300px;
    }
}

/* navigation */
/* top navbar */
.navbar-default {
    background-color: #eee;
    border-bottom-color: #b8b8b8;
}

.navbar-default .navbar-brand {
    color: #777;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    color: #555;
    background-color: #e7e7e7
}

.navbar-default .navbar-text {
    color: #777;
}

.navbar-default .navbar-nav > li > a {
    color: #777;
    padding-left: 20px;
    padding-right: 20px;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #333;
    background-color: #e7e7e7
}

/* side navbar */
.side-panel {
    text-align: left;
    background-color: #eee;
    border-bottom-color: #b8b8b8;
    z-index: 1000;
}

.side-panel .navbar-text {
    color: #777;
}

.side-panel .navbar-nav {
    float: none;
}

.side-panel .navbar-nav li {
    float: none;
}

.side-panel .navbar-nav > li > a {
    color: #777;
    padding-left: 20px;
    padding-right: 20px;
}

.side-panel .navbar-nav > li > a:hover,
.side-panel .navbar-nav > li > a:focus {
    color: #333;
    background-color: #e7e7e7
}

.side-panel .navbar-nav > .active > a,
.side-panel .navbar-nav > .active > :hover,
.side-panel .navbar-nav > .active > :focus {
    background-color: #b8b8b8;
    color: #333333;
    font-weight: 700;
}

/* buttons */
.btn,
.btn-lg,
.btn-group-lg > .btn,
.btn-sm,
.btn-group-sm > .btn,
.btn-xs,
.btn-group-xs > .btn {
    border-radius: 1px;
}

.btn-lg {
    font-weight: 400;
}

.btn-primary {
    color: #fff;
    background-color: rgb(66, 139, 202);
    border-color: rgb(66, 139, 202);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    color: #fff;
    background-color: rgb(66, 139, 202);
    border-color: rgb(66, 139, 202);
}

/* forms */
.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background: white none;
    border: 1px solid #ccc;
    border-radius: 1px;
}

/* page */
body {
    font-family: 'Lato', sans-serif;
}

/* fonts */
.text-danger {
    color: #d9534f;
}

.text-pointer {
    cursor: pointer;
}

/* pagination */
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 0 0;
    border-radius: 2px;
}

.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: black;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination > li:first-child > a, .pagination > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

.pagination > li:last-child > a, .pagination > li:last-child > span {
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}

.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    color: black;
    background-color: #eee;
    border-color: #ddd;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #428bca;
    border-color: #428bca;
}

@media (min-width: 768px) {
    .pagination-limits {
        float: right;
    }
}

/* datepicker */
.datepicker.dropdown-menu {
    z-index: 10000 !important;
}

/* modals */
.modal-footer {
    text-align: left;
}

.panel-footer .btn + .btn {
    margin-left: 5px;
}

/* fix scroll bad shifting issues */
html {
    overflow-y: scroll;
}

.modal-open {
    padding-right: 0 !important
}

/* charts */
canvas {
    width: 100% !important;
    max-width: 800px;
    height: auto !important;
}

/* label_round style*/
.label_round {
    text-align: center;
    width: 75px !important;
    padding: 6px 10px 6px;
    color: #fff;
    border-radius: 45%;
    border: none;
    text-shadow: none;
    letter-spacing: 1px;
    line-height: inherit;
    margin: 0;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
}

/* .label_round success */
.label_round.round_success {
    background-color: rgba(100, 190, 100, 0.69);
    border-color: rgba(88, 203, 88, 0.64);
}

/* .label_round danger */
.label_round.round_danger {
    background-color: rgba(235, 51, 47, 0.6);
    border-color: rgba(195, 42, 38, 0.7);
}

/* .label_round info */
.label_round.round_info {
    background-color: rgba(49, 197, 235, 0.6);
    border-color: rgba(39, 160, 195, 0.71);
}

/* .label_round primary */
.label_round.round_primary {
    background-color: rgba(68, 157, 235, 0.6);
    border-color: #285e8e;
}

/* .label_round warning*/
.label_round.round_warning {
    background-color: rgba(235, 150, 31, 0.6);
    border-color: #d58512;
}

/* .label_round default */
.label_round.round_default {
    /*color: #333;*/
    background-color: rgba(205, 205, 205, 0.8);
    border-color: #929292;
}

/* qSidebar Nav Menus and Sub menus */
.navbar-side .has-sub ul {
    display: none;
}

.navbar-side .has-sub ul li {
    border: 1px solid #e0e0e0;
    border-top: 0;
}

.navbar-side .has-sub ul li a {
    display: block;
    color: #9c9c9c;
    font-size: 13px;
    padding: 10px 10px 10px 20%;
}

/*add dot-circe infront of submenu li a attribute*/
.navbar-side .has-sub ul li a:before {
    font-family: FontAwesome, sans-serif;
    display: inline-block;
    padding-right: 5px;
    vertical-align: middle;
    content: "\f192";
}

.navbar-side .has-sub > ul > li > a:hover,
.navbar-side .has-sub > ul > li > a:focus {
    color: #333;
    background-color: #e7e7e7;
    text-decoration: none;
}

.navbar-side .has-sub .sub-menu > .active > a,
.navbar-side .has-sub .sub-menu > .active > :hover,
.navbar-side .has-sub .sub-menu > .active > :focus {
    color: #444;
    background-color: #b8b8b887;
}

.navbar-side .inner-sub-menu li a {
    padding-left: 28% !important;
}

.navbar-side .inner-sub-menu li.active > a {
    color: #404040 !important;
    background-color: rgba(205, 205, 205, 0.45) !important;
}

.navbar-side .has-sub ul li.odd {
    background: #f0f0f0;
}

.navbar-side .has-sub ul li.even {
    background: #f2f2f2;
}

.navbar-side li a i.fa, .navbar-side li a i.fas {
    width: 2rem;
    text-align: center;
}

/*For logistic collapse arrow*/
div.collapsed span {
    /*transition: all 1s;*/
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

h3 label {
    font-size: 0.8em;
}

h3 {
    margin-bottom: 15px;
}

h3 i.fa {
    width: 28px;
}

.alert {
    margin-bottom: 10px;
}

.red-bolded-text {
    color: #d9534f;
    font-weight: bold;
}

.big-partners-menus ul li a:before {
    content:none !important;
}