html, body {
    min-height: 1020px;
    min-width: 380px;
}

.wrap {

    height: auto;
}

body {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.wrap > .container {
    padding: 70px 15px 20px;
}

@media (max-width: 650px) {
    .container {
        padding-left: 5px !important;
        padding-right: 0px !important;
        width: 100%;
        margin: 0;
    }

    body {
        padding: 0;
    }

    .row.main-window {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .navbar-fixed-top, .navbar-fixed-bottom, .navbar-static-top {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
        padding-left: 15px;
    }

    .footer {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.wrap > .container, .wrap > .navbar > .container {
    width: 99%;
    max-width: 1700px;
}

.footer {
    position: absolute;
    bottom: -60px;
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    width: 100%;
    overflow: hidden;
}

.footer .container {
    overflow: hidden;
    width: 100%;
    margin-left: 15px;

}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.sweet-alert {
    /*position: fixed;
    top: 40%;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;*/
}

.sweet-alert h2 {
    font-size: 18px;
    line-height: 20px;
    padding-left: 135px;
    text-align: left;
    /*position: fixed;
    top: 40%;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;*/
}

table.table .btn {
    margin-bottom: 1px;
    margin-top: 1px;
}

.sweet-alert p {
    padding-left: 135px;
    text-align: left;
    /*position: fixed;
    top: 40%;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;*/
}

.sweet-alert .sa-button-container {
    padding-left: 130px;
    text-align: left;
    /*position: fixed;
    top: 40%;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;*/
}

.sweet-alert .sa-icon {
    margin-left: 20px;
    float: left;
}

.click-hint {
    cursor: pointer;
}

.table.reserved tbody tr td {
    width: 60%;
}

.table.reserved tbody tr th {
    font-weight: normal;
}

.panel-heading.reserved {
    min-height: 45px;
}

td.legendColorBox {
    padding-right: 3px;
}

td.legendLabel {
    padding-right: 20px;
}

* {
    text-shadow: 0px 0px 0.25px rgba(125, 125, 125, 0.3);
}

.navbar {
    background-color: rgba(235, 235, 255, 1);
    border-bottom: 1px solid rgba(200, 200, 240, 0.8);
}

.navbar-toggle span {
    background-color: black;
}

.pieLabel div {
    color: black !important;
    font-size: 14px !important;
    font-weight: bold;
    text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.7),
    0px -1px 3px rgba(255, 255, 255, 1),
    -1px -1px 3px rgba(255, 255, 255, 1),
    0px 1px 3px rgba(255, 255, 255, 1),
    1px 1px 3px rgba(255, 255, 255, 1);
    text-align: center;

}
#pass-toggle{
    height:60px;
    text-align:center;
    vertical-align:middle;
}

#pass-toggle svg{
    margin-top:27px;
    cursor:pointer;
    line-height:80px;
    text-align:center;
    vertical-align:middle;
}

div.row .row-slim {
    padding-left: 10px;
    padding-right: 10px;

}

div.row .row-spaced {
    padding-top: 20px;
}

/*table{
	max-width:100% !important;
}*/

table.intakematrix {
    width: 100%;
}

table.intakematrix td {
    height: 30px;
    width: 60px;
    text-align: center;
    background-color: white;
    border: 1px solid rgba(200, 200, 200, 0.8);
}

table.intakematrix th {
    padding: 5px;
    border: 1px solid rgba(200, 200, 200, 0.8);

    border-bottom: 2px solid gray;
    background-color: rgba(230, 230, 230, 0.6);
}

table.intakematrix th.week {
    width: 50px;
}

table.intakematrix td.good {
    background-color: rgba(50, 250, 50, 0.5);
}

table.intakematrix td.rest {
    background-color: rgba(250, 200, 0, 0.3);
}

table.intakematrix td.week {

    font-weight: bold;
    background-color: rgba(230, 230, 230, 0.6);
}


.client-buildIntakeSchedule .field-clientintakescheduledaily-daysofweek .checkbox {
    float: left;
    width: 12%;
    min-width: 120px;

}


#intake_graph_legend td {
    color: black;
    padding-top: 20px;
}

#intake_graph .flot-x-axis .tickLabel {

}

.navbar-header .navbar-brand {
    padding-top: 10px;
    line-height: 30px;
    font-size: 18px;
    font-weight: bold;
}

.navbar-header .navbar-brand img {
    height: 25px !important;
    vertical-align: middle;
    float: left;
}

.nav > li.active-nav > a, .nav > li.active-nav > a:hover, .nav > li.active-nav > a:focus {
    color: #F3F3F3;
    background-color: #337ab7;

}

.navbar-collapse {
    max-height: inherit !important;
}

li#active-nav {
    color: white;
    background-color: #337ab7;

}

li#active-nav * {
    color: white;
}

.nav > li > a {
    height: 62px;
}

/*
Blurred Glass submenu style
REQUIRES: Experimental Web Platform flag enabled in Chrome
Enable after this board shows green for the latest Chrome version:
https://caniuse.com/#feat=css-backdrop-filter
 */
/*
ul.dropdown-menu{
    background-color:rgba(235, 235, 255, 0.5); !important;
    box-shadow: none;
    border-top:none;

}
ul.dropdown-menu:before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);

}*/

li.dropdown-submenu > ul {
    list-style: none !important;
    color: black !important;
    font-size: 97%;
    padding-left: 30px;
    padding-right: 5px;
}

li.dropdown-submenu > ul * {
    list-style: none !important;
    color: black !important;
    display: inline-block;
}

.highcharts-tooltip {
    pointer-events: auto !important;
}

.pre-wrap {
    max-height: 500px;
    min-height: 200px;
    max-width: 100%;
    overflow-y: scroll;
    white-space: pre-line;
    border: 1px solid lightgray;
    background-color: #F3F3F3;
    padding-top: 0px;
    padding-left: 15px;
    padding-right: 15px;

}



.client-path {
    height: 140px;
    text-align: center;
    max-width: 92%;
    margin-left: 4%;
}

.client-path .panButton {
    vertical-align: middle;
    text-align: center;
    position: absolute;

    color: black;
    line-height: 46px;
    height: 45px;
    width: 50px;
    cursor: pointer;
    z-index: 999;
}

.client-path .panLeft {
    top: 9px;
    left: -10px;
}

.client-path .panRight {
    top: 9px;
    right: -10px;
}

.client-path .panReset-invisible {
    display: none;
}

@media screen and (max-width: 768px) {
    .allow-minimal-margin {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .allow-minimal-margin .panel {
        margin-left: 4px;
        margin-right: 0;
        padding-left: 8px;
        padding-right: 10px;
    }
}

.intake-calendar {
    margin-bottom: 20px;
    padding-left: 5px;
    padding-right: 0px;
}

.intake-calendar-day {
    background-color: white;
    min-height: 70px;
    margin-bottom: 8px;
    max-width: 100px;
    width: 13%;
    margin-left: 0.5%;
    margin-right: 0.5%;
    float: left;
    font-weight: bold;
    border: 1px solid lightgray;
    border-radius: 5px;
}

.intake-calendar-day.wrong-month {
    color: gray
}

.intake-calendar-header {

    text-align: center;
    font-weight: bold;
    margin-bottom: 8px;
    max-width: 100px;
    width: 13%;
    margin-left: 0.5%;
    margin-right: 0.5%;
    float: left;

}

.intake-calendar-day .row:nth-child(2) {
    margin-top: 5px;
}

a.intake-calendar-link {
    color: black;
}

a.intake-calendar-link div {
    padding-left: 4px;
    padding-right: 4px;
}

.intake-calendar-day.correctable:hover:not(.disabled) {
    border: 1px solid #337ab7;
    cursor: pointer;
    background-color: white;
    color: #337ab7;
}

.intake-calendar-day.active:not(.disabled) {
    /*
	border-style:dashed;
    */
    border-width: 1px;
    background-color: #e3e5ff;
    font-weight: 800;
}

.intake-calendar-day.active:hover:not(.disabled) {
    border-width: 1px;
}

.intake-calendar-day.disabled, .intake-calendar-day:hover {
    background-color: #ebebeb;
    border-color: white;
    cursor: default;
}

.wrap > .container, .wrap > .navbar > .container {
    width: 100%;
    overflow: visible;
    max-width: 1700px;
}

i.color-red {
    color: red;
}

i.color-green {
    color: #00b400;
}

i.color-gray {
    color: gray;
}

.btn-static {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn-static-success {

}

table.table {
    margin-bottom: 0px;

}

table.table-striped tbody tr {
    border-bottom: solid 2px #ededed;
}

table.table-striped tbody tr:hover {
    background-color: #edf4f9;
    border-bottom: dotted 2px grey;
}

table td.current-id {
    font-weight: bold;
}

div.panel > div > div > form {
    margin-top: 10px;
}

div.panel > div.panel-heading > p.pull-right {
    padding-left: 10px !important;
}

div.panel > p {
    margin: 10px;
}

.toggle-level-1, .toggle-level-2, .toggle-level-3 {
    display: none;

}

.system-status > div{
    border:1px dotted lightgray;
    background-color: #fafaff;
    padding:20px;
}

.system-status > h3{
    margin-bottom:0px;
}

.btn span.fa-stack{
    display:inline-block;
    width:15px;
    height:10px;
    vertical-align: center;
}
