﻿/*# - Cores - #################################################*/

/* Azul Escuro - #005281 */
/* Azul Claro - #3578a7 */
/* Verde Limão - #d6de23 */

/*# - Geral - #################################################*/

/* Corrige bug em que alguns plugins do chrome inserem um elemento "object" no fim da página. */
body + object {
    display: none;
}

body {
    color: #5e5e5e;
    font-family: Roboto, Arial, sans-serif;
}

a {
    color: #005281;
    transition: color .4s;
}

    a:focus,
    a:hover {
        color: #3578a7;
        outline: none;
        text-decoration: none;
    }

h1, h2, h3, h4, label, p {
    font-weight: normal;
    margin: 0;
}

input[type=date]::-webkit-clear-button,
input[type=date]::-webkit-inner-spin-button,
input[type=time]::-webkit-clear-button,
input[type=time]::-webkit-inner-spin-button {
    display: none;
}

/*# - Animação Load Bootstrap - ###############################*/

.glyphicon-refresh-animate {
    -webkit-animation: spin 3s infinite linear;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}


/*# - Botões Bootstrap - ######################################*/

.btn {
    transition: .4s;
}

.btn-disabled {
    opacity: .4;
}

.btn .glyphicon {
    margin-right: 3px;
    top: 2px;
}

/*# - Breadcrumbs Bootstrap - #################################*/

.breadcrumb {
    margin: 0;
}

    .breadcrumb a {
        font-size: 14px;
    }

/*# - Dropdown Bootstrap - ####################################*/

.dropdown button {
    color: #5e5e5e;
    font-weight: bold;
    text-align: left;
}

    .dropdown button .caret {
        float: right;
        margin-top: 8px;
    }

.dropdown .dropdown-menu {
    padding: 0;
    min-width: 100%;
}

.dropdown .lbl-cb {
    margin: 0 !important;
    padding: 10px;
    transition: background-color .4s;
    width: 100%;
}

    .dropdown .lbl-cb:hover {
        background-color: #f3f3f3;
    }

    .dropdown .lbl-cb.active {
        background-color: #d8d8d8;
    }

    .dropdown .lbl-cb * {
        cursor: pointer;
        display: inline-block;
        margin-left: 10px;
        vertical-align: middle;
    }

    .dropdown .lbl-cb input {
        height: 22px;
        width: 22px;
    }

    .dropdown .lbl-cb img {
        height: 30px;
    }

/*# - Form Bootstrap - ########################################*/

.form-group label:not(.form-control-btn) {
    font-weight: bold;
    margin: 0 0 5px 3px;
}

.form-group .form-control[readonly] {
    background: #fff;
    opacity: .7;
    pointer-events: none;
}

.form-checkbox {
    margin-top: 10px;
}

    .form-checkbox .cb {
        display: inline-block;
        height: 24px;
        margin: 0;
        vertical-align: middle;
        width: 24px;
    }

    .form-checkbox label {
        display: inline-block;
        font-weight: bold;
        font-size: 15px;
        line-height: 30px;
        margin-left: 5px;
        vertical-align: middle;
    }

    .form-checkbox span {
        font-size: 12px;
        font-weight: 500;
    }

.form-control-btn {
    color: #005281;
    cursor: pointer;
    display: block;
    font-size: 20px;
    height: 34px;
    line-height: 34px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 26px;
    transition: right .4s;
    width: 34px;
    z-index: 2;
}

.form-group.has-error .form-control-btn,
.form-group.has-success .form-control-btn {
    right: 28px;
}

.form-group .form-control-btn.fancybox {
    right: 28px;
    top: 27px;
}

.form-group.has-error .form-control-btn.fancybox,
.form-group.has-success .form-control-btn.fancybox {
    right: 58px;
}

@media (min-width: 768px) {
    .form-checkbox {
        margin-top: 36px;
    }
}

/*# - Menu Bootstrap - ########################################*/

.navbar {
    border-radius: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}
/*
.navbar-toggle
{
    border-color: #424244;
    margin: 0;
    transition: background-color .4s;
}

.navbar-collapse
{
    margin-top: 20px;
    padding: 0;
    text-align: center;
}

.navbar-nav
{
    margin: 0;
}

.navbar-nav li a
{
    background: none !important;
    border: solid #e7e7e7;
    border-width: 1px 1px 0 1px;
    transition: .4s;
}

.navbar-nav li:last-child a
{
    border-bottom-width: 1px;
}

.navbar-nav .dropdown-menu
{
    padding: 0;
    left: auto;
    right: 0;
}

.navbar-nav .dropdown-menu li a
{
    color: #337ab7;
    padding: 10px 15px;
    border-bottom: 1px solid #e7e7e7;
}

.navbar-nav .dropdown-menu li a:hover
{
    background: #e7e7e7 !important;
}

.navbar-nav .dropdown-menu li:last-child a
{
    border-bottom: none;
}

@media (min-width: 768px)
{
    .navbar-collapse
    {
        margin: -20px 0 0 0;
        text-align: right;
    }

    .navbar-nav
    {
        float: right;
    }

    .navbar-nav li a
    {
        border: none;
        margin-left: 20px;
        padding: 0;
    }

    .navbar-nav li:first-child a
    {
        margin-left: 0;
    }

    .navbar-nav li a:hover
    {
        background: none;
    }
}*/

/*# - Modal Bootstrap - #######################################*/

#div-modal #modal-close-header,
#div-modal #modal-footer,
#div-modal #modal-confirm,
#div-modal #modal-close,
#div-modal #modal-load {
    display: none;
}

#div-modal #modal-header {
    padding-bottom: 10px;
}

#div-modal #modal-body {
    padding: 30px 0px;
}

#div-modal #modal-message {
    color: #5e5e5e;
    font-size: 16px;
    margin: 0;
}

#div-modal #modal-load {
    color: #5e5e5e;
    font-size: 16px;
    margin-left: 5px;
}

#div-modal #div-content {
    font-size: 14px;
}

    #div-modal #div-content .div-header {
        margin-top: 0;
    }

/*# - Tabelas Bootstrap - ########################################*/

.table {
    font-size: 14px;
    margin-bottom: 0;
}

.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #f9f9f9;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #fff;
}

.table > tbody > tr > td {
    vertical-align: middle;
}

.table .tr-hide {
    display: none;
}

.table .tr-empty td {
    font-size: 18px;
    padding: 10px;
    text-align: center;
}

.table .td-btns,
.table .td-check,
.table .td-date,
.table .td-datetime,
.table .td-image,
.table .td-number {
    width: 100px;
    text-align: center;
}

.table .td-datetime {
    width: 150px;
}

.table .td-lg {
    display: none;
}

.table .td-image img {
    width: 80px;
}

.table .td-btns a {
    display: inline-block;
    text-align: center;
    width: 20px;
}

    .table .td-btns a .glyphicon {
        font-size: 17px;
        margin: 3px 0px;
    }

    .table .td-btns a:first-child .glyphicon {
        margin-left: 0;
    }

    .table .td-btns a:last-child .glyphicon {
        margin-right: 0;
    }

.table .td-check .glyphicon {
    font-size: 17px;
    margin: 3px 0px;
}

@media (min-width: 768px) {
    .table .td-lg {
        display: table-cell;
    }
}

/*# - Validação jQuery Validator - ############################*/

.field-validation-error {
    background-color: #f2dede;
    border-color: #ebccd1;
    border: 1px solid transparent;
    border-radius: 0px 0px 4px 4px;
    color: #a94442;
    display: none;
    padding: 10px;
    opacity: 0;
    position: absolute;
    width: 100%;
    z-index: 3;
}

/*# - Editor Trumbowyg - ######################################*/

.trumbowyg-box {
    margin-bottom: 0;
    margin-top: 0;
    min-height: 200px;
}

.trumbowyg-editor {
    min-height: 200px;
}

.has-error .trumbowyg-box {
    border-color: #a94442;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.has-success .trumbowyg-box {
    border-color: #3c763d;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.has-feedback .trumbowyg-box ~ .form-control-feedback {
    bottom: 0;
    top: auto;
}

.trumbowyg-modal-box label {
    font-weight: normal;
    margin: 15px 12px;
}

/*# - Header - ################################################*/

#div-header {
    margin-top: 20px;
}

#img-logo {
    width: 140px;
}

#div-logout-menu {
    float: right;
}

#lbl-logout {
    display: block;
    margin-left: auto;
}

    #lbl-logout span {
        display: inline-block;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
    }

    #lbl-logout a {
        display: inline-block;
        vertical-align: middle;
    }

@media (min-width: 768px) {
    #img-logo {
        margin-top: 0;
    }
}

/*# - Content - ###############################################*/

#div-content {
    padding-bottom: 20px;
}

    #div-content .div-child {
        border: 1px solid #d8d8d8;
        margin-top: 20px;
        padding: 0 30px 0;
    }

    #div-content .div-header {
        margin-top: 20px;
    }

        #div-content .div-header h2 {
            color: #005281;
            font-weight: 400;
        }

    #div-content .div-content .form-group {
        margin: 10px 0 0 0;
    }

    #div-content .div-content .table {
        margin-top: 10px;
    }

    #div-content .div-content .div-btns {
        text-align: right;
    }

    #div-content .div-content .div-btns,
    #div-content .div-page-btns {
        min-height: 65px;
    }

.div-btns {
    padding-top: 50px
}

#div-content .div-content .div-btns .btn,
#div-content .div-content .div-page-btns .btn,
#div-content .div-content .div-page-btns .pagination {
    margin: 10px 0 0 0;
}

#div-content .div-content .div-page-btns .btn {
    float: right;
}

#div-all {
    margin-top: 90px;
}

.panel-default > .panel-heading {
    padding-top: 20px;
    padding-bottom: 20px;
}
/*# - Footer - ################################################*/


/** 
    botão switch
*/
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #04B45F;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }


.help {
    position: relative;
    box-sizing: border-box;
    width: 15px;
    height: 15px;
    background: #808080;
    border: 0;
    padding: 0;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
}

    .help:hover:before,
    .help:focus:before {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border: 4px solid transparent;
        border-right-color: #808080;
        border-right-color: rgba(0,0,0,.5);
        border-left: 0;
        top: 0;
        bottom: 0;
        margin: auto 0;
        left: 20px;
    }

    .help:hover:after,
    .help:focus:after {
        content: attr(aria-label);
        position: absolute;
        top: -6px;
        left: 24px;
        height: 32px;
        line-height: 32px;
        padding: 0 10px;
        font-weight: 400;
        text-align: left;
        background: #808080;
        background: rgba(0,0,0,.5);
        border-radius: 3px;
        white-space: nowrap;
        color: #fff;
    }

/*summernote*/
.note-editable {
    background-color: white !important;
}