@import url(https://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic);

body {
    overflow-x: hidden;
    padding-top: 64px;
    font-family: Noto Sans;
    background-color: #fafafa;
}

body > .print {
    margin-top: -60px;
}

h2 {
    color: #e92f32;
    margin: 0 0 40px 0;
}

h3 {
    margin: 0 0 10px 0;
}

h2.login {
    text-align: center;
    margin-bottom: 5px;
}

h4.error {
    text-align: center;
    color: #e92f32;
    font-size: 18px;
}

td {
    height: 0;
}

.block {
    display: block;
}

.tiny-margin {
    margin: 10px auto;
}

.small-margin {
    margin: 20px auto;
}

.margin {
    margin: 45px auto;
}

button.inline-form {
    margin-top: 25px;
}

a:hover, a:focus {
    text-decoration: none;
}

.noclick {
    pointer-events: none;
}

.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 64px;
    background-color: #e92f32;
    box-shadow: 0 2px 5px rgba(0,0,0,0.26);
    z-index: 5;
}

.header-content {
    margin-left: 240px;
    padding: 0px 72px;
    line-height: 64px;
    font-size: 18px;
    color: #fff;
}

.header-content .title {
    float: left;
}

.logout-slide {
    position: absolute;
    bottom: 100%;
    left: 0;
    background-color: #e92f32;
    -webkit-transition: transform 0.6s;
    transition: transform 0.6s;
    cursor: pointer;
}

.logout-slide.fall {
    -webkit-transform: translate(0, 100%); 
    transform: translate(0, 100%);
}

.header-content .notification-wrapper {
    position: relative;
    text-align: center;
    float: right;
}

.header-content .notification-wrapper .icon-wrapper {    
    cursor: pointer;
    white-space: nowrap;
    width: 64px;
    height: 64px;
}

.header-content .notification-wrapper .icon-wrapper > span.glyphicon {
    transition: all 0.5s;
}

.header-content .notification-wrapper.has-new .icon-wrapper > span.glyphicon{
    transform: translate(0, 50%);
}

.header-content .notification-wrapper .icon-wrapper .notification-number {
    display: none;
}

.header-content .notification-wrapper.has-new .notification-number {
    position: absolute;
    display: initial;
    width: 22px;
    right: 14px;
    background-color: #fff;
    top: 14px;
    height: 22px;
    border-radius: 50%;
    border: #C51015 solid 2px;
}

.header-content .notification-wrapper.has-new .notification-number span {
    position: absolute;
    top: -23px;
    left: 2px;
    color: #f00;
    font-size: 14px;
    width: 14px;
}

.header-content .notification-wrapper .notification-dropdown {
    position: absolute;
    left: 0;
    width: 200px;
    display: none;
    max-height: 0vh;
    transition: all 0.3s;
}

.header-content .notification-wrapper.open .notification-dropdown {
    display: block;
    height: auto;
    background-color: #fff;
    border: #bcbcbc solid 1px;
    box-shadow: 1px 2px 5px rgba(0,0,0,0.26);
    max-height: calc(70vh - 64px);
    padding-bottom: 32px;
}

.header-content .notification-wrapper.open .notification-dropdown .dropdown-content {
    max-height: calc(70vh - 128px);
    overflow-y: auto;
}

.notification-content {
    max-width: 100%;
}

.notification-content .notification-item {
    padding: 8px;
    font-size: 16px;
    border: #bcbcbc solid 1px;
    width: 50%;
    float: left;
}

.notification-content .notification-item:hover {
    cursor: pointer;
    background-color: #eee;
}

.notification-content .notification-item .notification-banner {
    font-size: 20px;
}

    
.header-content .notification-wrapper.open .notification-dropdown .dropdown-footer {
    position: absolute;
    background-color: #e92f32;
    bottom: 0;
    width: 100%;
    height: 32px;
    text-align: center;
    cursor: pointer;
    line-height: 32px;
}

.notification-dropdown .notification-item {
    position: relative;
    padding: 20px 8px 8px;
    font-size: 12px;
    color: #000;
    line-height: 14px;
    text-align: left;
    min-height: 64px;

}

.notification-dropdown .notification-item:hover {
    background-color: #eee;
    cursor: pointer;
}

.notification-dropdown .notification-item .notification-banner {
    position: absolute;
    color: #fff;
    background-color: #333;
    font-weight: 800;
    top: 0;
    left: 0;
    width: 100%;
    height: 16px;
    text-align: center;
    line-height: 16px;
    font-size: 14px;
}

.notification-item span.red {
    color: #e92f32;
}


.header-content .user-info {
    position: relative;
    float: right;
    cursor: pointer;
    white-space: nowrap;
}

.header-content .user-info:hover, .logout-slide:hover, .header-content .notification-wrapper .icon-wrapper:hover, .header-content .notification-wrapper.open .notification-dropdown .dropdown-footer:hover {
    background-color: #C51015;
}

.menu-toggle-button {
    display: none;
}

.user-info span{
    margin-left: 8px;
}

.user-info span:last-child {
    margin-right: 8px;
}

.main-nav {
    z-index: 10;
    width: 240px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: #222325;
    border-right: 1px solid rgba(255,255,255,0.14);
    -webkit-transition: transform 0.3s;
    -moz-transition: transform 0.3s;
    transition: transform 0.3s;   
}

.main-nav .logo {
    border-bottom: 1px solid rgba(255,255,255,0.14);
    height: 64px;
    padding: 8px;
}

.main-nav .logo img {
    max-width: 100%;
}

.menu-header p {
    color: #fff;
    font-weight: 700;
    margin: 0;
    font-size: 14.5px;
    padding: 16px 0 16px 24px;    
    line-height: 14.5px;
    letter-spacing: 0.1px;
    cursor: pointer;
}

.menu-header > p > a {
    color: #fff;
}

.menu-dropdown {
    overflow-y: hidden;
    max-height: 0;
    transition: max-height 0.3s;
}

.menu-item {
    padding: 8px 24px 8px 42px;
    font-size: 14.5px;
    letter-spacing: 0.1px;
    display: block;
    line-height: 14.5px;
    color: #fff;
}

.menu-item:hover, .menu-header > p:hover > a {
    text-decoration: none;
    color: #1D8F8B;
}

.menu-item.active, .menu-header.active p {
    color: #C51015;
}

.menu-item:focus, .menu-header:focus p {
    background-color: #18191b;    
}

.content {
    margin-left: 240px;
    padding: 8px;
    min-height: calc(100vh - 64px);
}

.container {
    max-width: 100%;
}

.important-message {
    text-align: center;
    margin: 100px auto;
}

.section {
    padding: 15px;
    margin: 20px auto 0px auto;
    max-width: 1180px;    
}

.section.large {
    max-width: 100%;
}

.card {
    position: relative;
    padding: 30px 15px;
    width: 720px;
    max-width: 90%;
    display: block;
    margin: 16px auto;
    background-color: #fff;
    border-radius: 3px;    
    box-shadow: 0 2px 5px rgba(0,0,0,0.26);
}

.card.large {
    width: 95%;
    max-width: 95%;
}

.report .table-responsive {
    max-height: 400px;
}

.table-report {
    max-height: 300px;
    overflow-y: auto;
}

.program-table input {
    height: 30px;
    margin-bottom: 0;
    max-width: 150px;
}

.card.report {
    padding: 15px;
    margin: 16px auto !important;
}

.card.small {
    width: 480px;
}

.get-out {
    -webkit-transform: translate(200%);
    transform: translate(200%);
}

.get-in {
    -webkit-transform: translate(-200%);
    transform: translate(-200%);
}

.transition {
    -webkit-transition: transform 0.4s;
    -moz-transition: transform 0.4s;
    transition: transform 0.4s;
}

.table-card {
    background-color: #fff;
    box-shadow: 0 0 5px 1px rgba(0,0,0,0.26);
    border-radius: 3px;    
}

.loader-img {
    display: block;
    margin: 30px auto;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th { 
    vertical-align: middle;
}

.pagination-wrapper {
    width: 100%;
    position: relative;
    min-height: 1px;
    max-height: 34px;
    margin-top: 30px;
    text-align: right;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background-color: #e92f32;
    border-color: #e92f32;
}

.pagination-wrapper .pagination {
    margin: 0;
}

label {
    display: block;
}

label a {
    font-weight: 400;
}

label span.error {
    font-weight: 400;
    font-size: 14px;
    color: #e92f32;
}

input, select, textarea {
    display: block;
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
    padding: 8px;
    font-size: 18px;
}

textarea {
    height: auto;
    min-height: 100px;
    max-width: 100%;
}

select {
    font-size: 15px;
}

.inline-checkbox {
    margin: 28px 0;
}

input[readonly] {
    background-color: #f6f6f6;
    border: #bcbcbc solid 1px;
    cursor: not-allowed;
}

input[type=checkbox] {
    height: 20px;
    width: 20px;
    display: inline-block;
    vertical-align: text-bottom;
}

input[type=checkbox] + label {
    display: inline-block;
}

input.error {
    border: 2px solid #d00;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
    box-shadow: 0 0 0px 1000px white inset;
}

.searcher {
    width: 300px;
    max-width: 100%;
    position: relative;
}

.searcher input {
    position: relative;
    margin-bottom: 0;
    padding-right: 35px;
}

.searcher:after {
    content: "\e003";
    position: absolute;
    right: 8px;
    top: 8px;
    font-size: 25px;
    color: #bcbcbc;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.form-options {
    width: 100%;
}

.form-options div {
    display: inline-block;
}

.form-option {
    width: 45%;
}

.form-meta {
    text-align: center;
    width: 7%;
}

td .glyphicon {
    float: right;
    cursor: pointer;
}

.glyphicon.glyphicon-remove {
    color: #e92f32;
}

.pseudo-display {
    position: relative;
}

.pseudo-display:before {
    content: attr(data-pseudo);
    position: absolute;
    width: 30px;
    height: 40px;
    background-color: #eee;
    border: #999 solid 1px;
    font-size: 18px;
    text-align: center;
    padding-top: 6px;
}

.pseudo-display input {
    padding-left: 38px;
}

.pseudo-display-table:before {
    height: 25px;
    width: 20px;
    padding-top: 0px;
    font-size: 16px;
}

.pseudo-display-table.half {
    position: relative;
    display: inline-block;
    width: 120px;
    margin-right: 5px;
}

.table-input {
    margin: 0;
    padding: 8px 4px;
    font-size: 16px;
    height: 25px;
}

.pseudo-display-table .table-input {
    padding-left: 25px;
}

.floating-action {
    border: none;
    cursor: pointer;
    height: 56px;
    width: 56px;
    border-radius: 50%;
    font-size: 37px;
    padding-bottom: 5px;
    position: absolute;
    right: -28px;
    bottom: -28px;
    text-align: center;
    background-color: #e92f32;
    color: #fff;
    box-shadow: 0 4px 6px 2px rgba(0,0,0,0.26);
}

.floating-action .glyphicon {
    font-size: 20px;
    position: relative;
    top: -3px;
}

.floating-action:hover, .btn.square:hover, .btn.submit:hover, .btn.modal-action:hover, a.btn:hover, a.btn:focus, a.btn:active {
    color: #fff;
    text-decoration: none;
    background-color: #e7181c;
}

.floating-action:focus, .btn.square:focus, .btn.submit:focus, .btn.modal-action:focus {
    outline: none;
}

.btn.square .glyphicon {
    color: #fff;
    font-size: 20px;
}

h2 + .btn.pull-right {
    margin-bottom: 40px;
}

.modal-header h2 {
    float: left;
    margin: 0px;
}

.modal-content {
    border-radius: 1px;
}

.modal-content h3 {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.modal-small {
    max-width: 600px;
}

.modal form {
    padding: 30px 20px;
}

.btn.square {
    color: #fff;
    font-size: 35px;
    background-color: #e92f32;
    height: 40px;
    width: 40px;
    line-height: 0px;
    padding: 0px;
    text-align: center;
}

.btn.submit {
    background-color: #e92f32;
    height: 40px;
    width: 100%;
    color: #fff;
    
}

.btn.submit.centered {
    max-width: 200px;
    margin: 1px auto;
    display: block;
}

a.btn {
    background-color: #e92f32;
    color: #fff;
} 

.btn.modal-action {
    background-color: #e92f32;
    height: 26px;
    color: #fff;
    padding: 0px 5px;
}

td .btn.modal-action {
    margin-top: -8px;
    position: relative;
    top: 2px;
}

.totals .total-item {    
    text-align: right;
}

.totals .total-item p {
    display: inline-block;
}

.totals .total-item p:last-child {
    min-width: 70px;
    padding: 5px;
    background-color: #fff;
    border: solid 1px #ccc;
}

.info p {
    font-size: 18px;
}

.status-bar {
    width: 3px;
    height: 100%;
    background-color: #999;
}

.status-bar.done {
    background-color: #A3DC2C;
}

.status-bar.warning {
    background-color: #e92f32;
}

.service {
    clear: both;
}

.select2-container, .easy-autocomplete {
    margin-bottom: 15px;
    width: 100% !important;
}

.select2-search__field {
    margin-bottom: 0px;
}

.select2-search.select2-search--dropdown:before {
    content: "\e003";
    position: absolute;
    right: 12px;
    top: 12px;
    font-size: 25px;
    color: #bcbcbc;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 767px) {
    button.inline-form {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .btn.pull-right {
        clear: both;
        display: block;
        float: none !important;
        margin: 20px auto;
    }
    
    .pull-right-xs {
        float: right;
    }
    
    .menu-toggle-button {
        display: block;
        cursor: pointer;
        width: 48px;
        height: 48px;
        position: absolute;
        z-index: 6;
        top: 9px;
        left: 8px;
        padding: 16px;
    }
    
    .black-overlay {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0,0,0,0.4);
        z-index: 7;
    }
    
    .menu-toggle-button .icon-bar {
        background-color: #fff;
        width: 22px;
        height: 2px;
        margin-bottom: 4px;
    }

    .main-nav {
        -webkit-transform: translate(-240px);
        transform: translate(-240px);
    }
    
    .main-nav.open {
        -webkit-transform: translate(0);
        transform: translate(0);
    }
    
    .header-content, .content {
        margin-left: 0px;
    }
    
    .header-content {
        padding-right: 32px;
    }
    
    .card {
        margin: 0px auto;
        max-width: 100%;
    }
    
    .floating-action {
        right: 28px;
    }

    .header-content .notification-wrapper .icon-wrapper {
        width: 32px;
    }

    .header-content .notification-wrapper.has-new > span.glyphicon {
        display: none;
    }

    .header-content .notification-wrapper.has-new .notification-number {
        position: absolute;
        top: 17px;
        right: -3px;
        display: block;
    }

    .header-content .notification-wrapper .notification-dropdown {
        right: -20px;
        left: initial;
    }
    
    .notification-content .notification-item {
        padding: 16px 8px;
        font-size: 16px;
        border: #bcbcbc solid 1px;
        width: 100%;
        float: none;
    }
}