/* Space out content a bit */
body {
    font-family:'robotoregular';
    background-color: #f5f5f5;
    overflow:hidden;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background-color:#ccc;
}

::-webkit-scrollbar-thumb {
    background-color:#999;
}

.form-control {
    box-shadow:none;
    border-radius:0;
    border-color:#ececec;
}

.btn {
    border:none;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: none;
}

a {
    color:#a61229;
}

a:hover {
    color:#941A1A;
}

.breadcrumb {
    background-color:transparent;
    padding:0;
    font-size:18px;
}

/** BRAND **/

.brand-bg {
    background-color:#A61229;
}

button.brand-bg {
    background-color:#A61229;
    color:#fff;
}

button.brand-bg:hover {
    background-color:#941A1A;
    color:#fff;
}

.brand {
	height:98px;
    border-bottom:1px solid #ccc;
}

.logo {

}

.logo img {
    width: 80%;
    margin-left: 8%;
    margin-top: 22px;
    margin-bottom: 22px;
}

/** END OF BRAND **/

/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
    padding-left: 15px;
    padding-right: 15px;
}

/* Custom page header */
.header {
    border-bottom: 1px solid #e5e5e5;
}
/* Make the masthead heading the same height as the navigation */
.header h3 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 40px;
    padding-bottom: 19px;
}

/* Custom page footer */
.footer {
    padding-top: 19px;
    color: #777;
    border-top: 1px solid #e5e5e5;
}

nav.navbar {
    background-color: #A61229;
    border-color: #941A1A;
    min-height:30px;
}

a.navbar-brand img {
    height:45px;
    margin-top:-6px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color:#fff;
}

.navbar-default .navbar-toggle:hover {
    background-color:#9a1026;
}

.navbar-default .navbar-toggle:focus {
    background-color:#A61229;
}

.container-narrow > hr {
    margin: 30px 0;
}

/* Main marketing message and sign up button */
.jumbotron {
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
}
.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

/* Supporting marketing content */
.marketing {
    margin: 40px 0;
}
.marketing p + h4 {
    margin-top: 28px;
}

ul.header-menu {
    float:left;
    padding-left:23px;
}

ul.header-menu li {
    list-style:none;
    float:left;
    margin-right:15px;
    margin-top:10px;
}

ul.header-menu li a{
    color:#fff;
    text-decoration:none;
    opacity:0.9;
}

ul.header-menu li a:hover{
    opacity:1;
}

.nav>li>a {
    color: #696969;
    border-left:3px solid transparent;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

.sidebar .nav>li ul {
    border-left: 3px solid #A61229;
}

.sidebar .nav>li ul>li a {
    font-family:'robotoregular';
    background-color:#fdfdfd;
}

.nav>li>a:visited {
}

.nav>li.active>a {
    text-decoration: none;
    background-color: #fdfdfd;
    color: #565656;
    border-color:#A61229;
}

.nav>li.active>a:hover,
.sidebar .nav>li ul>li a:hover,
.nav>li>a:hover {
    background-color:#f9f9f9;
}

/*!
 * Start Bootstrap - SB Admin 2 Bootstrap Admin Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

select {
    padding: 5px 10px;
    border-color: #dcdcdc;
    outline: none;
}

#wrapper {
    width: 100%;
}

.manager-view {
    height:100%;
    width: calc(100% - 250px);
    -webkit-width: calc(100% - 250px);
    position: absolute;
    right: 0;
    background-color:#f5f5f5;
}

.manager-view-inner {
    height:calc(100% - 41px);
    -webkit-height:calc(100% - 41px);
    width:100%;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.manager-view-header {
    width:100%;
    padding:10px 15px;
    background-color:#fff;
    border-bottom:1px solid #ccc;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    position:relative;
    z-index:1;
    height: 98px;
}

.manager-view-content {
    padding:35px 40px;
    overflow:auto;
    -webkit-flex-grow: 1;
    flex-grow: 1;
}

.navbar-top-links {
    margin-right: 0;
}

.navbar-top-links li {
    display: inline-block;
}

.navbar-top-links li:last-child {
    margin-right: 15px;
}

.navbar-top-links li a {
    color:#fff;
    cursor:pointer;
}

.navbar-top-links li>a:hover,
.navbar-top-links .open>a,
.navbar-top-links .open>a:hover,
.navbar-top-links .open>a:active,
.navbar-top-links .open>a:focus {
    background-color:#9A1026;
}

.navbar-top-links .dropdown-menu li.divider {
    margin:0;
}

.navbar-top-links .dropdown-menu li a:hover {
    background-color:#fcfcfc;
}

.navbar-top-links .open>a,
.navbar-top-links .open>a:hover {
    border-color:#9A1026;
}

.navbar-top-links .dropdown-menu li {
    display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
    margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
    padding: 10px 20px;
    min-height: 0;
    color:#444;
}

.navbar-top-links .dropdown-menu li a div {
    white-space: normal;
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
    width: 310px;
    min-width: 0;
}

.navbar-top-links .dropdown-messages {
    margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
    margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
    margin-left: -123px;
}

.navbar-top-links .dropdown-user {
    right: 0;
    left: auto;
}

.sidebar {
    background-color:#fff;
    border-right: 1px solid #ccc;
}

.sidebar .sidebar-nav.navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}

.sidebar .sidebar-search {
    padding: 15px;
}

.sidebar ul li {
    font-family: 'robotomedium';
    letter-spacing: 0.2px;
    border-bottom: 1px solid #DCDCDC;
}

.sidebar ul li a.active {
    background-color: #eee;
}

.sidebar .arrow {
    float: right;
}

.sidebar .fa.arrow:before {
    content: "\f104";
}

.sidebar .active>a>.fa.arrow:before {
    content: "\f107";
}

.sidebar .nav-second-level li,
.sidebar .nav-third-level li {
    border-bottom: 0!important;
}

.sidebar .nav-second-level li a {
    padding-left: 37px;
}

.sidebar .nav-third-level li a {
    padding-left: 52px;
}

.btn-outline {
    color: inherit;
    background-color: transparent;
    transition: all .5s;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
    color: #fff;
}

.chat {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #999;
}

.chat li.left .chat-body {
    margin-left: 60px;
}

.chat li.right .chat-body {
    margin-right: 60px;
}

.chat li .chat-body p {
    margin: 0;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
    margin-right: 5px;
}

.chat-panel .panel-body {
    height: 350px;
    overflow-y: scroll;
}

.login-panel {
    margin-top: 25%;
}

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

.dataTables_wrapper {
    position: relative;
    clear: both;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background: 0 0;
}

table.dataTable thead .sorting_asc:after {
    content: "\f0de";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting_desc:after {
    content: "\f0dd";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting:after {
    content: "\f0dc";
    float: right;
    font-family: fontawesome;
    color: rgba(50,50,50,.5);
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 18px;
    line-height: 1.33;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
}

.show-grid [class^=col-] {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #eee!important;
}

.show-grid {
    margin: 15px 0;
}

.huge {
    font-size: 40px;
}

.panel-green {
    border-color: #5cb85c;
}

.panel-green .panel-heading {
    border-color: #5cb85c;
    color: #fff;
    background-color: #5cb85c;
}

.panel-green a {
    color: #5cb85c;
}

.panel-green a:hover {
    color: #3d8b3d;
}

.panel-red {
    border-color: #d9534f;
}

.panel-red .panel-heading {
    border-color: #d9534f;
    color: #fff;
    background-color: #d9534f;
}

.panel-red a {
    color: #d9534f;
}

.panel-red a:hover {
    color: #b52b27;
}

.panel-yellow {
    border-color: #f0ad4e;
}

.panel-yellow .panel-heading {
    border-color: #f0ad4e;
    color: #fff;
    background-color: #f0ad4e;
}

.panel-yellow a {
    color: #f0ad4e;
}

.panel-yellow a:hover {
    color: #df8a13;
}

.timeline {
    position: relative;
    padding: 20px 0 20px;
    list-style: none;
}

.timeline:before {
    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    margin-left: -1.5px;
    background-color: #eeeeee;
}

.timeline > li {
    position: relative;
    margin-bottom: 20px;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li > .timeline-panel {
    float: left;
    position: relative;
    width: 46%;
    padding: 20px;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline > li > .timeline-panel:before {
    content: " ";
    display: inline-block;
    position: absolute;
    top: 26px;
    right: -15px;
    border-top: 15px solid transparent;
    border-right: 0 solid #ccc;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #ccc;
}

.timeline > li > .timeline-panel:after {
    content: " ";
    display: inline-block;
    position: absolute;
    top: 27px;
    right: -14px;
    border-top: 14px solid transparent;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    border-left: 14px solid #fff;
}

.timeline > li > .timeline-badge {
    z-index: 100;
    position: absolute;
    top: 16px;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-left: -25px;
    border-radius: 50% 50% 50% 50%;
    text-align: center;
    font-size: 1.4em;
    line-height: 50px;
    color: #fff;
    background-color: #999999;
}

.timeline > li.timeline-inverted > .timeline-panel {
    float: right;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
}

.timeline-badge.primary {
    background-color: #2e6da4 !important;
}

.timeline-badge.success {
    background-color: #3f903f !important;
}

.timeline-badge.warning {
    background-color: #f0ad4e !important;
}

.timeline-badge.danger {
    background-color: #d9534f !important;
}

.timeline-badge.info {
    background-color: #5bc0de !important;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}

.timeline-body > p + p {
    margin-top: 5px;
}


/* DASHBOARD */

.dashboard .row {
    margin-bottom:30px;
}

.dashboard .major-buttons {
    margin-bottom:20px;
}

.dashboard .major-buttons i {
    margin-right:10px;
}

.dashboard .major-buttons a button {
    width:100%;
    height:100px;
    font-size: 19px;
    font-family: 'robotolight';
}

.dashboard .major-buttons a button:focus {
	color:#fff;
}

/* END OF DASHBOARD */


/* PERSONNEL INFO */

.generic-profile-picture img {
    width:220px;
    height:220px;
}

.personnel-info-container {
    width:1000px;
    height:530px;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:50px;
    background-color:#fff;
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.1);
    box-shadow: 0 0 3px rgba(0,0,0,0.1);
    background-color:#fff;
    position:relative;
}

.personnel-info-left {
    width:250px;
    height:100%;
    background-color:#fcfcfc;
    padding:15px;
    position:absolute;
    left:0;
    overflow-y: auto;
    overflow-x: hidden;
    border-right: 1px solid #F7F7F7;
}

.personnel-info-left ul {
    padding:0;
    margin-top:20px;
}

.personnel-info-left ul li {
    list-style:none;
    margin-bottom:15px;
    position:relative;
    padding-left:30px;
    color:#555;
}

.personnel-info-left ul li:nth-child(1) {
    padding:0;
    font-family:'robotobold';
    font-size:18px;
    color:#333;
}

.personnel-info-left ul li:nth-child(2) {
    padding:0;
    font-family:'robotomedium';
    font-size:17px;
    color:#666;
}

.personnel-info-left ul li i.fa {
    width:18px;
    margin-right:15px;
    font-size:18px;
    position:absolute;
    left:0;
    text-align:center;
}

.personnel-info-right {
    width:750px;
    height:100%;
    background-color:#fff;
    padding:40px;
    padding-top:15px;
    position:absolute;
    right:0;
    overflow-y:auto;
}

.personnel-info-right h2 {
    margin-top:0;
    margin-bottom:20px;
    font-family:'robotolight';
    font-size:23px;
}

.info-block {
    margin-bottom:70px;
}

.info-block:last-child {
    margin-bottom:0px;
}

.info-block-body dt {
    text-align:left;
    font-family:'robotomedium';
    font-weight:normal;
}

.info-block-body dl {
    margin-bottom:10px;
    color:#444;
}

.personnel-info-edit .personnel-info-left ul li {
    padding-left:0;
}


/* END OF PERSONNEL INFO */



/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    /* Remove the padding we set earlier */
    .header,
    .marketing,
    .footer {
        padding-left: 0;
        padding-right: 0;
    }
    /* Space out the masthead */
    .header {
        margin-bottom: 30px;
    }
    /* Remove the bottom border on the jumbotron for visual effect */
    .jumbotron {
        border-bottom: 0;
    }
    .sidebar {
        z-index: 1;
        position: absolute;
        width: 250px;
        height: 100%;
        -webkit-box-shadow: 0 0 25px rgba(0,0,0,0.1);
        -moz-box-shadow: 0 0 25px rgba(0,0,0,0.1);
        box-shadow: 0 0 25px rgba(0,0,0,0.1);
    }

    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        margin-left: auto;
    }

    .container {
        max-width: 730px;
    }

    .manager-view {
        height:100%;
    }
	
	.sidebar .sidebar-nav.navbar-collapse {
		overflow-x: visible;
		overflow-y: scroll;
		position: absolute;
		width: 100%;
		max-height: calc(85% - 139px);
		border-bottom: 2px solid #ccc;
	}
	
	footer {
		position: absolute;
		bottom: 35px;
		padding: 15px;
		width:100%;
		text-align:center;
	}
	
	footer span {
		font-family:'robotobold';
		color:#777;
	}
}

@media (max-width: 767px) {
    .manager-view {
        width:100%;
    }
    ul.timeline:before {
        left: 40px;
    }

    ul.timeline > li > .timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
    }

    ul.timeline > li > .timeline-badge {
        top: 16px;
        left: 15px;
        margin-left: 0;
    }

    ul.timeline > li > .timeline-panel {
        float: right;
    }

    ul.timeline > li > .timeline-panel:before {
        right: auto;
        left: -15px;
        border-right-width: 15px;
        border-left-width: 0;
    }

    ul.timeline > li > .timeline-panel:after {
        right: auto;
        left: -14px;
        border-right-width: 14px;
        border-left-width: 0;
    }

    .brand {
        text-align:center;
    }

    .logo img {
        width:200px;
        margin-left:0;
    }

    .manager-view-content {
        overflow:inherit;
    }

    body {
        overflow:auto;
    }
}


@media (max-width: 1350px) {
    .personnel-info-container {
        width:700px;
    }

    .personnel-info-right {
        width:450px;
    }
}


@media (max-width: 1000px) {
    .personnel-info-container {
        width:500px;
        height:auto;
    }

    .personnel-info-left {
        width:100%;
        position:relative;
        height:auto;
        border:none;
    }

    .personnel-info-right {
        width:100%;
        position:relative;
        height:auto;
    }

    .generic-profile-picture,
    .personnel-info-left ul li:nth-child(1),
    .personnel-info-left ul li:nth-child(2) {
        text-align:center;
    }

    .generic-profile-picture img {
        border-radius:100%;
    }
}




@media (max-width: 560px) {
    .personnel-info-container {
        width: 350px;
    }
}

@media (max-width: 991px) {
    .dashboard .major-buttons a button {
        margin-bottom:20px;
    }
}

.tablescroll{
    width: 100%;
    overflow-x:scroll;
    overflow-y:visible;
    padding-bottom:1px;
}

.tablescrollfixleft {
    position:absolute;
    left:0;
    top:auto;
}
.tablescrollfixleft {
    position:absolute;
    right:0;
    top:auto;
}

/* loading bar */

.loadingbarfullsize{
    z-index:10001;
    position:fixed;
    width:100%;
    height:100%;
    top: 0;
    left: 0;
    background: url('/img/loading_spinner.gif') rgba(0, 0, 3, 0.2) no-repeat center center;
    background-size: 100px 100px;
}