﻿/* ==========================================================================
   Normatização CSS
   ========================================================================== */
body {
    font-size: 62.5%;
    font-family: 'Open Sans';
    color: #000;
    margin: 0;
    padding: 0;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    color: #00f;
    text-decoration: none;
    font-size: 1.1em;
}

    a:hover {
        text-decoration: underline;
    }

    a.black {
        color: #000;
    }

img,
picture,
video,
embed {
    max-width: 100%;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/** PRINCIPAL */
.topo {
    padding: 10px;
}

nav {
    padding: 5px 10px;
    background-color: #ddd;
}

    nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        nav ul li {
            font-size: 1.2em;
            display: inline-block;
            padding: 0 5px;
            text-transform: uppercase;
        }

.fly-left {
    float: left;
}

.fly-right {
    float: right;
}

div.migalha {
    font-size: 1.0em;
    color: #444;
    padding: 5px 10px;
}

    div.migalha a {
        font-size: 1.0em;
        color: #888;
    }

.conteudo {
    width: 100%;
    padding: 20px;
}

/** BOTÕES */
.btn {
    display: inline-block;
    color: #FFF !important;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25) !important;
    background-image: none !important;
    border: 5px solid;
    border-radius: 0;
    box-shadow: none !important;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
    cursor: pointer;
    vertical-align: middle;
    margin: 0;
    position: relative;
    padding: 0 12px 1px;
    line-height: 32px;
    font-size: 14px;
    background-color: #abbac3;
    border-color: #abbac3;
}

    .btn:hover {
        text-decoration: none;
        background-color: #8b9aa3;
    }

.btn-small {
    padding: 0 8px;
    line-height: 24px;
    border-width: 4px;
    font-size: 1.3em;
}

.btn-smallest {
    padding: 0 6px;
    line-height: 18px;
    border-width: 3px;
    font-size: 1.1em;
}

.btn-primary {
    background-color: #2283c5;
    border-color: #2283c5;
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
        color: #fff;
        background-color: #045e9f;
    }

.btn-warning {
    background-color: #ffb752;
    border-color: #ffb752;
}

    .btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .btn-warning.disabled, .btn-warning[disabled] {
        color: #fff;
        background-color: #e59729;
    }

.btn-danger {
    background-color: #d15b47;
    border-color: #d15b47;
}

    .btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .btn-danger.disabled, .btn-danger[disabled] {
        color: #fff;
        background-color: #b74635;
    }

.btn-success {
    background-color: #87b87f;
    border-color: #87b87f;
}

    .btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .btn-success.disabled, .btn-success[disabled] {
        color: #fff;
        background-color: #629b58;
    }

.btn-info {
    background-color: #6fb3e0;
    border-color: #6fb3e0;
}

    .btn-info:hover {
        color: #fff;
        background-color: #4f99c6;
    }

.btn-inverse {
    background-color: #555;
    border-color: #555;
}

    .btn-inverse:hover, .btn-inverse:focus, .btn-inverse:active, .btn-inverse.active, .btn-inverse.disabled, .btn-inverse[disabled] {
        color: #fff;
        background-color: #303030;
    }

/** FORM */
.page-header {
    padding-bottom: 9px;
    margin: 20px 0 12px;
    border-bottom: 1px solid #eee;
}

    .page-header h1 {
        padding: 0;
        margin: 0 8px;
        font-size: 2.4em;
        font-weight: lighter;
        color: #2679b5;
    }

.position-relative {
    position: relative;
}

.row-fluid {
    width: 100%;
}

.control-group {
    margin-bottom: 20px;
}

    .control-group:before, .control-group:after {
        display: table;
        line-height: 0;
        content: "";
    }

    .control-group:after {
        clear: both;
    }

.control-label {
    float: left;
    width: 160px;
    padding-top: 5px;
    text-align: right;
    color: #393939;
}

label, .lbl {
    vertical-align: middle;
}

label {
    display: block;
    margin-bottom: 5px;
}

label, input, button, select, textarea {
    font-family: inherit;
    font-size: 1.4em;
    font-weight: normal;
    line-height: 20px;
}

    label, select, button, input[type="button"], input[type="reset"], input[type="submit"], input[type="radio"], input[type="checkbox"] {
        cursor: pointer;
    }

.controls {
    margin-left: 180px;
}

div {
    display: block;
}

.control-group select, .control-group textarea, .control-group input[type="text"], .control-group input[type="password"], .control-group input[type="datetime"], .control-group input[type="datetime-local"], .control-group input[type="date"], .control-group input[type="month"], .control-group input[type="time"], .control-group input[type="week"], .control-group input[type="number"], .control-group input[type="email"], .control-group input[type="url"], .control-group input[type="search"], .control-group input[type="tel"], .control-group input[type="color"] {
    background: #FFF;
}

    .control-group input[type="text"][readonly] {
        color: #555;
        border: none;
        background-color: #fff;
    }

textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"] {
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
    border-width: 1px;
    color: #000;
    background-color: #fff;
    border-color: #d5d5d5;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-transition-duration: .1s;
    -moz-transition-duration: .1s;
    -o-transition-duration: .1s;
    transition-duration: .1s;
}

input, textarea, select {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
}

    textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
        border: 1px solid #ccc;
        transition: border linear .2s,box-shadow linear .2s;
    }

    select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
        padding: 4px 6px;
        font-size: 1.4em;
        line-height: 20px;
    }

.form-actions {
    display: block;
    padding: 19px 20px 20px 180px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border-top: 1px solid #e5e5e5;
}

.table {
    width: 100%;
}

.table-products {
    border-collapse: collapse;
    font-size: 11px;
}

    .table-products tr td:first-child {
        font-weight: bold;
        padding-right: 5px;
        min-width: 75px;
    }

    .table-products th {
        background-color: #59CB5B;
        color: #000;
        font-size: 20px;
        line-height: 30px;
        padding-left: 10px;
        border-top: solid #000 3px;
        border-bottom: solid #000 3px;
        border-left: 0;
        border-right: 0;
    }

    .table-products td {
        border: solid #000 1px;
    }

    .table-products input[type="text"], .table-products input[type="number"] {
        text-align: right;
        font-size: 11px;
        border: 0;
        background-color: transparent;
    }

    .table-products.m20 {
        margin: 20px 0 16px 0;
    }

    .table-products.m30 {
        margin: 30px 0 16px 0;
    }

        .table-products.m20 th, .table-products.m30 th {
            border: 0;
            background-color: #fff;
            text-align: left;
            padding: 0;
            font-weight: normal;
        }

    .table-products.verde-claro th {
        background-color: #b9ffbb;
    }

    .table-products tr td.am {
        background-color: #ffff47;
    }

.actions {
    padding: 20px 0;
}

/** DATA TABLE */
.dataTables_wrapper label {
    display: inline-block;
    font-size: 13px;
}

.dataTables_wrapper select {
    width: 70px;
    height: 25px;
    padding: 2px 3px;
    margin: 0 4px;
    font-size: 13px;
}

.table th, .table td {
    padding: 8px !important;
    line-height: 20px !important;
    text-align: left !important;
}

th.center, td.center {
    text-align: center;
}

.refresh {
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.f-nava {
    width: 100%;
    background-color: #ccc;
    border-top: solid #444 2px;
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 10px;
    font-size: 1.1em;
    z-index: 1;
}

.f-nav table th {
    text-align: left;
    padding-left: 10px;
}

.f-nav table td {
    padding: 0 10px;
    text-align: right;
}

.alert {
    font-size: 14px;
    border-radius: 0;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-danger {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}

.alert-success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
}

table.table tbody tr td {
    border-top: dotted #ccc 1px;
}

table.table tbody tr:first-child td {
    border-top: none;
}

@media print {
    .topo, nav, .migalha, .refresh, .jsa-footer-container {
        display: none;
    }
}

.noshow {
    display: none;
}

.checkbox, .radio {
    padding-left: 20px;
}

.checkbox, .radio {
    position: relative;
    display: inline-block;
    margin-top: 5px;
}

.textbox {
    position: relative;
    display: inline-block;
}

.m-r-20 {
    margin-right: 20px;
}

.checkbox input[type="checkbox"], .radio input[type="radio"] {
    opacity: 0;
    z-index: 1;
    position: absolute;
    margin: 4px 0 0;
    line-height: normal;
    box-sizing: border-box;
    padding: 0;
}

.checkbox label, .radio label {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding: 0 5px;
    min-height: 20px;
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
    color: #000;
}

.radio label {
    padding-right: 30px;
}

.textbox label {
    position: relative;
    display: inline-block;
    padding-top: 5px;
}

.checkbox label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    margin-left: -20px;
    border: solid #ccc 1px;
    border-radius: 3px;
    -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    box-sizing: border-box;
}

.radio label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    margin-left: -20px;
    border: solid #ccc 1px;
    border-radius: 50%;
    -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    box-sizing: border-box;
}

.checkbox input[type="checkbox"]:focus + label::before, .radio input[type="radio"]:focus + label::before {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.checkbox input[type="checkbox"]:checked + label::after {
    font-family: FontAwesome;
    content: "\f00c";
}

.radio input[type="radio"]:checked + label::after {
    content: "";
    border: solid #555 1px;
    border-radius: 50%;
    background-color: #555;
}

.checkbox label::after {
    display: inline-block;
    position: absolute;
    width: 16px;
    height: 16px;
    left: 0;
    top: 0;
    margin-left: -20px;
    padding-left: 3px;
    margin-top: -1px;
    font-size: 11px;
    color: #555;
}

.radio label::after {
    display: inline-block;
    position: absolute;
    width: 9px;
    height: 9px;
    left: 0;
    top: 0;
    margin-left: -16px;
    margin-top: 4px;
    font-size: 11px;
    color: #555;
}

.pagination > li {
    display: inline;
}

    .pagination > li > a {
        background-color: #fff;
        border: solid #ddd 1px;
        color: inherit;
        float: left;
        line-height: 1.42857;
        margin-left: -1px;
        padding: 4px 10px;
        position: relative;
        text-decoration: none;
    }

.pagination > .active > a {
    background-color: #f4f4f4;
    border-color: #ddd;
    color: inherit;
    cursor: default;
    z-index: 2;
}

.pagination > .disabled > a, .pagination > .disabled > a:focus, .pagination > .disabled > a:hover, .pagination > .disabled > span, .pagination > .disabled > span:focus, .pagination > .disabled > span:hover {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

.pagination > li:first-child > a, .pagination > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover {
    z-index: 3;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

.pagination > li:last-child > a, .pagination > li:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.table {
    border-collapse: collapse;
    font-size: 1.2em;
}

    .table thead th {
        border-bottom: solid #444 1px;
    }

.m-b-20 {
    margin-bottom: 20px;
}

.filtro {
    width: 100%;
    margin: auto;
    border: solid #f5f5f5 1px;
}

    .filtro label {
        display: inline-table;
        margin-top: 7px;
    }

.all-caps {
    text-transform: uppercase;
}

tr.new-record td {
    font-weight: bold;
}

.badge {
    background-color: #d1dade;
    color: #5e5e5e;
    font-size: .8em !important;
    border-radius: 5px;
    padding: 2px 5px;
}

    .badge.badge-success {
        background-color: #1ab394;
        color: #fff;
    }

    .badge.badge-danger {
        background-color: #ed5565;
        color: #fff;
    }