
@import url('https://fonts.googleapis.com/css?family=Titillium+Web');

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url("/css/fonts/open-sans-400.woff") format('woff');
}

code {
    font-family: monospace;
    font-size: 0.9em;
}

body {
    font-size: 16px;
    overflow-x: hidden;
    overflow-y: scroll;
    text-align: center;
    padding-top: 2.2em;
}

a {
    text-decoration: none;
}

body:before {
    content: '';
    background-color: hsl(308, 30%, 3%);
    background-size: cover;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
}

body.noWall:before {
    background: windowframe;
}

header#cabecalho-sistema {
    background: hsl(308, 30%, 13%);
    border-bottom: 1px solid hsl(308, 30%, 5%);
    color: #F0F0F0;
    display: block;
    font-size: 1.1em;
    font-weight: bold;
    height: 2em;
    left: 0;
    line-height: 2em;
    padding: 0 0.5em;
    position: fixed;
    right: 0;
    text-align: center;
    text-shadow: 0 1px hsl(308, 30%, 5%);
    top: 0;
    z-index: 9000;
}

header#cabecalho-sistema>span a {
    color: #F0F0F0;
    text-decoration: initial;
    text-shadow: 0 1px hsl(308, 30%, 5%);
}

header#cabecalho-sistema .dropdown-menu>li>a {
    color: hsl(308, 30%, 13%);
    padding: 3px 10px;
    text-align: left;
}

header#cabecalho-sistema .dropdown-menu>li>a>.lefty {
    display:inline-block;
    overflow:hidden;
    text-align:left;
    width:20%;
}

header#cabecalho-sistema .dropdown-menu>li>a>.righty {
    display:inline-block;
    overflow:hidden;
    text-align:right;
    width:80%;
}

header#cabecalho-sistema>span:first-child {
    float:left;
}

header#cabecalho-sistema>span:last-child {
    float:right;
}

#retorno,
.db-grid,
.menu-class,
.menu-class-subitem,
a,
h1,
h2,
h3,
h4,
h5,
input,
label,
legend,
p,
span,
textarea {
    font-family: 'Titillium Web', 'Open Sans', sans-serif;
}

b {
    font-weight:bold;
}

h1 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 0.5em;
    margin-top:0;
    padding: 0.5em 0;
    color: #F0F0F0;
    text-shadow: 1px 1px 2px #000;
    border-bottom: 1px solid gray;

}

h2 {
    font-size: 1.3em;
    text-align: center;
    margin-top:0;
    margin-bottom: 0.5em;
    padding: 0.5em 0;
    color: #F0F0F0;
}

h3 {
    font-size: 1.2em;
    text-align: center;
    font-weight: bold;
    color: #F0F0F0;
    margin-top:0;
    margin-bottom: 0.5em;

}

h4,h5 {
    color: #F0F0F0;
}

#menu-lateral {
    color: #F0F0F0;
    position: fixed;
    right: -8.125em;
    top: 3em;
    transition: 0.4s;
    width: 9.375em;
}

#menu-lateral:hover {
    right:0.312em;
    z-index: 900 !important;
}

#menu-lateral a {
    background-color: hsl(308, 30%, 13%);
    border-bottom: 1px solid hsl(308, 30%, 5%);
    color: #F0F0F0;
    cursor: pointer;
    display: block;
    padding: 0.312em;
    text-align: right;
    text-decoration: none;
    transition: 0.4s;
    width: 9.375em;
}

#menu-lateral a:hover {
    background-color: hsl(308, 30%, 10%);
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    cursor: default;
}

.v-gutter {
    margin-top: 8px;
    margin-bottom: 8px;
}

.form-sistema {
    background-color: hsl(308, 30%, 13%);
    border: 1px solid rgba(255,255,255,0.5);
    padding:0.312em;
    position: relative;
    text-align: left;
}

#aguarde {
    background-color: hsl(308, 30%, 13%);
    border: 1px solid rgba(255,255,255,0.5);
    display: none;
    left: 50%;
    margin-left: -8em;
    position: fixed;
    text-align: center;
    top: 50%;
    width: 16em;
    z-index: 3000;
}

    .form-sistema p {
        color: #F0F0F0;
    }

    .form-sistema label {
        font-size: 0.8em;
        color: #F0F0F0;
    }

        .form-sistema label * {
            font-size: 1.2em;
        }

    .form-sistema fieldset>legend {
        width: initial;
        border-bottom: none;
        font-size: 0.8em;
        margin-bottom: 0;
    }

.form-flutuante{
    background-color: rgba(240,240,240,0.8);
    box-shadow: 0px 0px 10px #333;
    cursor: move;
    position: fixed;
    overflow: visible;
    z-index: 600;
}


#div-form-alerta-novo {
    left: 75%;
    top: 10%;
}

#div-form-alerta-update {
    left: 50%;
    top: 40%;
}

input, textarea, select, .form-tab-set label {
    padding: 5px;
    border: 1px solid gray;
    border-radius:0.312em;
    margin-bottom:0.312em;
    background: white;
    font-size: 0.9em;
}

input:hover,
textarea:hover,
select:hover,
.form-tab-set label:hover {
    border: 1px solid #646464;
    box-shadow: 0 1px 0 rgba(0,0,0,0.15);
}

.form-tab-set label {
    line-height: 1.4em;
}

.form-tab-set label {
    color: black;
    font-weight: bold;
    position: relative;
    transition: 0.2s;
}

.form-tab-set label.active,
.form-tab-set label:active {
    top: 1px;
}

.menu {
    cursor: default;
    text-align: left;
    margin-bottom: 0;
    padding: 0;
}

span.icone-fecha {
    position: absolute;
    top: -0.562em;
    right: -0.562em;
    cursor: pointer;
}

span.icone-busca {
    position: absolute;
    cursor: pointer;
}

.menu .ui-icon {
    display: inline-block;
    cursor: pointer;
}

#display-alertas {
    position: fixed;
    bottom: 0;
    right: 0;
    min-width: 26em;
    transition: 0.2s;
}

#display-alertas.active {
    z-index: 300;
}

#display-alertas.inactive {
    z-index: 0;
}

#display-alertas:hover {
    bottom: 0 !important;
    transition: 0.2s;
}

.menu-class {
    background: hsl(308, 30%, 13%);
    border-bottom: 1px solid hsl(308, 30%, 5%);
    color: #F0F0F0;
    transition: 0.4s;
}

.menu-class:hover {
    background: hsl(308, 30%, 10%);
}

.menu span.right {
    float: right;
    border: none;
}

.menu-header {
    height: 2.615em;
}

.menu-header span.right {
    background-color: hsl(308, 30%, 10%);
    box-sizing: content-box;
}

.menu-item a {
    color: hsl(308, 30%, 13%) !important;
    font-weight: normal !important;
    text-shadow: none !important;
}

.dropdown-menu {
    padding: 0;
}

.menu-item {
    border: 1px solid #e0e0e0;
    border-top: 0;
    color: hsl(308, 30%, 13%);
    margin: 0;
}

.menu .left,
.menu .right  {
    padding: 0 0.625em;
    line-height: 2.615em;
    height: 100%;
    display: inline-block;
}

.menu-titulo {
    text-transform: uppercase;
}

.odd-menu-item,
.menu-item:nth-child(odd) {
    background-color: white;
}

.even-menu-item,
.menu-item:nth-child(even) {
    background-color: #f4f4f4;
}

.list-select:hover {
    background: hsl(308, 30%, 13%);
    color: #F0F0F0;
    transition: 0.6s;
}

.alerta-item {
  position: relative;
  display: flex;
}

.titulo-alerta {
    flex-grow: 1;
}

.select-alerta {
    align-self: center;
}

#ui-datepicker-div{
    font-size: 0.8em;
}

#main-form, #login-form, #modal-form {
    margin: 2em auto;
    text-align: left;
    box-sizing: border-box;
}

#main-form.container-fluid, #login-form.container-fluid, #modal-form.container-fluid {
    margin: 2em;
}

#login-form, #modal-form {
    display: inline-block;
}

#login-form h1 {
    border: 0;
    font-size: 3.5em;
    font-style: italic;
    font-weight: bold;
    margin: 0;
    padding-bottom: 0;
}

.form-tab-set input[type='radio'],
#login-form .del {
    display: none;
}

#login-form fieldset {
    margin: 0 auto;
    text-align: right;
    width: 21.7em;
}

#login-form input.salva {
    margin-left: 0.4em;
}

#main-form .center {
    display: inline-block;
    text-align: justify;
}

i.count {
    height: 1.35em;
    display: block;
}

.hidden {
    display:none !important;
}

#retorno-busca-cliente,
#retorno-busca-fornecedor,
#retorno-busca-parceiro,
#retorno-busca-produto {
    background: white;
    color: hsl(308, 30%, 13%);
}

#div-form-busca-cliente p,
#div-form-busca-fornecedor p,
#div-form-busca-parceiro p
#div-form-busca-produto p,
.list-select {
    cursor: pointer;
    padding: 0.625em;
}

.float-right {
    float: right !important;
}

input.header {
    background: hsl(308, 30%, 13%) !important;
    border-color: hsl(308, 30%, 5%) !important;
    color: white !important;
    font-weight: 600 !important;
}

input.header::-webkit-input-placeholder {
    color: white !important;
}

textarea {
    resize: none;
}

input, select, textarea, .form-tab-set label {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.center-align {
    text-align: center !important;
}

.form-tab-set,
.tab-set-div {
    text-align: left;
}

.left-align {
    text-align: left !important;
}

input[type='number'] {
    text-align: right;
}

.right-align {
    text-align: right !important;
}

.flexbox {
    display: -webkit-box;
}

.flex {
    -webkit-box-flex: 1;
    display: flex;
    width: 7em;
}

.flexbox label {
    line-height: 2em;
}

.flexbox label:first-child {
    display: inline-block;
    text-align: left;
    width: 6em;
}

address {
    color: gray;
    font-style: italic;
    margin-top: 2em;
}

.noScrolls::-webkit-scrollbar {
    width: 0 !important;
}

div.db-grid {
    border: 1px solid black;
    cursor: initial;
    overflow: auto;
}

div.db-grid table {
    border-collapse: collapse;
    width: 100%;
}

div.db-grid table tr {
    font-size: 0.8em;
}

div.db-grid th {
    background: lightgray;
    border: 1px solid darkgray;
    padding: 8px;
    vertical-align: middle;
}

div.db-grid td {
    background: white;
    border: 1px solid darkgray;
    padding: 8px;
    white-space: nowrap;
    width: auto;
}

#modalShadow {
    background: rgba(0,0,0,0.7);
    bottom: 0;
    left: 0;
    overflow: auto;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9001;
}

.inline-block {
    display: inline-block;
}

.title-header .btn-opt {
    margin-top: 1em;
}

.well h1,
.well h2,
.well h3,
.well h4,
.well h5,
.well p,
.well label,
.modal h1,
.modal h2,
.modal h3,
.modal h4,
.modal h5,
.modal p,
.modal label,
.panel-body h1,
.panel-body h2,
.panel-body h3,
.panel-body h4,
.panel-body h5,
.panel-body p,
.panel-body label {
    color: #333;
}

.nospin::-webkit-inner-spin-button,
.unstyled::-webkit-inner-spin-button,
.unstyled::-webkit-calendar-picker-indicator{
    display:none;
    -webkit-appearance:none;
}

.pointer {
    cursor: pointer;
}

.input-group-xxl>.form-control, .input-group-xxl>.input-group-addon, .input-group-xxl>.input-group-btn>.btn {
    height: 64px;
    font-size: 24px;
    padding: 10px 16px;
    line-height: 1.33;
}

.btn-xxl {
    height: 64px;
    font-size: 24px;
}

.btn-xxl+.btn-xxl,
.xxl-margin+.xxl-margin {
    margin-top: 12px;
}

.scroll-viewport {
    overflow-y:auto;
    overflow-x:hidden;
}

@media screen and (max-width: 767px) {
    body {
        font-size: 12px;
        min-height: 0;
    }

    #menu-lateral {display:none;}

    #display-alertas {
        display: none;
    }

    #login-form {
        width: 100%
    }

    #login-form .organon-logo {
        min-width: 0;
        width: 100%;
        height: 180px;
    }

    #login-form .del {
        display: initial;
    }

}

#menu-principal {
    font-size: 16px;
    font-weight: 300;
    width: 23em;
    position: relative;
    top: 0;
    left: 0;
}
#menu-principal  header{
    min-width: 20em;
    width: auto !important;
    width: 20em;
}
#menu-principal .right {
    width: 1.6em;
    text-align: center;
}

.form-control-clear {
    cursor: pointer;
    pointer-events: auto;
    line-height: 30px;
}

@media screen and (max-width: 600px) {
    #menu-principal {
        width: 100%;
        position: relative;
        margin: 36px auto;
    }
}
