﻿/*#region GERAL */
body {
    position: relative;
    min-height: 100%;
    height: auto !important;
    overflow-x: hidden;
    font-family: 'Open Sans', sans-serif;
    color: #767676;
    background: #f5f5f5;
}

html {
    position: relative;
    height: 100%;
}

h1 {
    margin-top: 0;
}

a:link, a:visited, a, .btn {
    transition: .5s;
    cursor: pointer;
    text-decoration: none;
}

footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding-top: 10px;
    color: #777;
    background-color: #e6e6e6;
    font-size: .9em;
}

    footer a {
        color: #84b341;
        font-weight: bold;
        text-decoration: none;
    }

        footer a:hover,
        footer a:active,
        footer a:focus {
            color: #000;
            text-decoration: none;
        }

.glyphicon {
    position: relative;
    top: 2px;
    margin-right: 5px;
}

.alert-default {
    color: #555;
    background-color: #f8f8f8;
    border-color: #ddd;
}

small.text-obs {
    font-weight: normal;
}

.no-result .alert {
    margin-bottom: 0;
}
/*#endregion */

/*#region LOGIN */
.form-signin {
    max-width: 400px;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

    .form-signin .panel {
        background-color: #ffffff;
        color: #444;
    }

    .form-signin .panel-body {
        padding: 40px;
    }

    .form-signin .form-group {
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 25px;
    }

    .form-signin .input-group-addon {
        border: 0;
    }

        .form-signin .input-group-addon .glyphicon {
            color: rgba(255,255,255,.8);
            margin-right: 0;
        }

.link-senha {
    text-decoration: none;
    color: #777;
}

    .link-senha:hover,
    .link-senha:focus {
        text-decoration: none;
        color: #000;
    }

.small-msg {
    font-size: 13px;
    font-weight: bold;
}
/*#endregion */

/*#region HEADER */
header .navbar {
    border-radius: 0;
    border: 0;
    min-height: inherit;
    max-height: 50px;
}

.navbar-fixed-top {
    z-index: 5;
}

.navbar-header {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    float: left;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

    .navbar-header a {
        display: inline-block;
        padding: 0 10px;
    }

    .navbar-header .logo {
        padding: 0 10px;
        font-weight: bold;
        text-decoration: none;
        text-transform: uppercase;
    }

        .navbar-header .logo img {
            vertical-align: initial;
        }

.navbar-right {
    float: right !important;
    margin-right: -15px;
}

.btn-sair {
    padding: 0 15px;
    background-color: #a02420;
    color: #fff;
    text-decoration: none;
    line-height: 50px;
    display: block;
}

    .btn-sair:hover,
    .btn-sair:active,
    .btn-sair:focus {
        background-color: #841916;
        color: #fff;
    }

.menu {
    z-index: 5;
    left: -300px;
    width: 300px;
    top: 50px;
    bottom: 0;
    background: #082847;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    color: #aeb2b7;
    margin-bottom: 0;
}

.pagina.aberto .menu {
    left: 0;
}

.pagina .conteudo {
    margin-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    padding: 50px 0 40px;
}

.pagina.aberto .conteudo {
    margin-left: 300px;
}

.usuario-nav {
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
    padding: 15px 0;
}

    .usuario-nav li {
        padding: 5px 15px;
    }

.sidebar-nav li a {
    color: #fff;
    display: block;
}

    .sidebar-nav li a:hover,
    .sidebar-nav li a:active,
    .sidebar-nav li a:focus {
        background-color: #111;
    }

.btn-menu {
    position: relative;
    overflow: hidden;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: background 0.3s;
    border: 0;
    background: none;
    display: inline-block;
    margin-left: -15px;
}

    .btn-menu:focus {
        outline: none;
    }

    .btn-menu span {
        display: block;
        position: absolute;
        top: 50%;
        left: 8px;
        right: 8px;
        height: 4px;
        background: #fff;
        margin-top: -2px;
    }

        .btn-menu span::before,
        .btn-menu span::after {
            position: absolute;
            display: block;
            left: 0;
            width: 100%;
            height: 4px;
            background-color: #fff;
            content: "";
            transition-duration: 0.3s, 0.3s;
            transition-delay: 0.3s, 0s;
        }

        .btn-menu span::before {
            top: -10px;
            transition-property: top, transform;
        }

        .btn-menu span::after {
            bottom: -10px;
            transition-property: bottom, transform;
        }

    .btn-menu.aberto span {
        background: none;
    }

        .btn-menu.aberto span::before {
            top: 0;
            transform: rotate(45deg);
        }

        .btn-menu.aberto span::after {
            bottom: 0;
            transform: rotate(-45deg);
        }

        .btn-menu.aberto span::before,
        .btn-menu.aberto span::after {
            transition-delay: 0s, 0.3s;
        }

.logo-menu {
    color: white;
    font-size: 15px;
    height: 50px;
    position: relative;
    top: -4px;
}

    .logo-menu .topo {
        font-size: 21px;
        border-bottom: 3px solid white;
        text-align: center;
    }

    .logo-menu .cor {
        color: #81CCD5;
    }
/*#endregion */

/*#region BREADCRUMB */
.breadcrumb {
    background: #e6e6e6;
    border-radius: 0;
    padding: 0px;
    overflow: hidden;
}

    .breadcrumb > li + li:before {
        display: none;
    }

    .breadcrumb li {
        float: left;
    }

        .breadcrumb li a {
            color: #444;
            text-decoration: none;
            padding: 5px 0px 5px 45px;
            position: relative;
            display: block;
            float: left;
            -moz-transition: none;
            -o-transition: none;
            -webkit-transition: none;
            transition: none;
            cursor: pointer;
        }

            .breadcrumb li a:after,
            .breadcrumb li a:before {
                content: '';
                display: block;
                width: 0;
                height: 0;
                border-top: 50px solid transparent;
                border-bottom: 50px solid transparent;
                position: absolute;
                top: 50%;
                margin-top: -50px;
                left: 100%;
            }

            .breadcrumb li a:after {
                border-left: 30px solid #e6e6e6;
                z-index: 2;
            }

            .breadcrumb li a:before {
                border-left: 30px solid #ffffff;
                margin-left: 1px;
                z-index: 1;
            }

        .breadcrumb li:first-child a {
            padding-left: 15px;
        }

        .breadcrumb li:last-child a:before {
            display: none;
        }

        .breadcrumb li a:hover,
        .breadcrumb li a:active,
        .breadcrumb li a:focus,
        .breadcrumb li:last-child a {
            background: #ddd;
        }

            .breadcrumb li a:hover:after,
            .breadcrumb li a:active:after,
            .breadcrumb li a:focus:after,
            .breadcrumb li:last-child a:after {
                border-left-color: #ddd;
            }
/*#endregion */

/*#region FORMULARIOS */
.form-control {
    max-width: 100%;
    width: 600px;
    box-shadow: none;
}

    .form-control.data {
        width: 105px;
    }

    .form-control.data-hora {
        width: 150px;
    }

.form > .form-group label {
    margin-bottom: 2px;
}

.input-group-addon .glyphicon {
    margin-right: 0;
}

.checkbox-only input, .checkbox-only label {
    vertical-align: middle;
    margin: 0 2px !important;
}

.input-file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.mensagem-erro {
    color: #a94442;
}

.form-error {
    border-color: #a94442;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    background-color: #ffefef;
}

    .form-error:focus {
        border-color: #843534;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #ce8483;
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #ce8483;
    }

.marcar-todos {
    margin-top: 20px;
}

.slick-prev, .slick-next 
{
    position: absolute;
    top: 50%;
    display: block;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    padding: 0;
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.5em;
    z-index: 5;
}

.slick-prev 
{
    left: 0;
}
.slick-next 
{
    right: 0;
}
.slick-slide 
{
    width: 180px;
    margin: 0 20px;
}

#guardaVideos iframe{
    width: 100%;
}
/*#endregion */

/*#region BOTAO */
.btn-default.btn-on.active {
    background-color: #5BB75B;
    color: #fff;
}

.btn-default.btn-off.active {
    background-color: #DA4F49;
    color: #fff;
}

.btn-excluir {
    margin: 0 10px;
}

.btn-editar {
    color: #ffffff;
    background-color: #a979ad;
    border-color: #a26da7;
}

    .btn-editar:hover, .btn-editar.focus, .btn-editar:focus, .btn-editar.active, .btn-editar:active, .open > .dropdown-toggle.btn-editar, .btn-editar:active:hover, .btn-editar:active:focus {
        color: #ffffff;
        background-color: #a070a5;
        border-color: #95679a;
    }

.btn-voltar {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

    .btn-voltar:hover, .btn-voltar.focus, .btn-voltar:focus, .btn-voltar.active, .btn-voltar:active, .open > .dropdown-toggle.btn-voltar, .btn-voltar:active:hover, .btn-voltar:active:focus {
        color: #a94442;
        background-color: #efd5d5;
        border-color: #efc6c6;
    }
/*#endregion */

/*#region TABELAS */
.table {
    margin-top: 20px;
}

    .table > tbody > tr > th {
        background-color: #eee;
    }

    .table > tbody > tr > td {
        vertical-align: middle;
    }

        .table > tbody > tr > th:first-child,
        .table > tbody > tr > td:first-child {
            border-left: 0;
        }

        .table > tbody > tr > th:last-child,
        .table > tbody > tr > td:last-child {
            border-right: 0;
        }

.table-hover > tbody > tr:hover {
    background-color: #e3eef8;
}

.table .btn {
    padding: 5px 8px;
}

    .table .btn .glyphicon {
        margin-right: 0;
        position: relative;
        top: 2px;
    }

.table-striped > tbody > tr.alerta:hover {
    background-color: #f9f9f9;
}

.table-striped > tbody > tr.alerta .alert {
    margin-bottom: 0;
}
/*#endregion */

/*#region PAGINACAO */
.pagination {
    margin: 0;
}

    .pagination a, .pagination .active {
        display: inline;
        position: relative;
        float: left;
        padding: 6px 12px;
        margin-left: -1px;
        line-height: 1.42857143;
        color: #337ab7;
        text-decoration: none;
        background-color: #fff;
        border: 1px solid #ddd;
    }

        .pagination a:first-child, .pagination .active:first-child {
            margin-left: 0;
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
        }

        .pagination a:last-child, .pagination .active:last-child {
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }

        .pagination a:focus, .pagination a:hover {
            z-index: 2;
            color: #23527c;
            background-color: #eee;
            border-color: #ddd;
        }

    .pagination .active {
        z-index: 3;
        color: #fff;
        cursor: default;
        background-color: #337ab7;
        border-color: #337ab7;
    }
/*#endregion */

/*#region PAINEL */
.panel-tab {
    border: 1px solid #e2e2e2;
    border-top: 0;
}

    .panel-tab > .panel-heading {
        background-color: #fff;
        border: 0;
        border-bottom: 1px solid #e0e0e0;
        padding: 15px 15px 10px;
    }

    .panel-tab .panel-title {
        font-weight: bold;
    }
/*#endregion */

/*#region TABS */
#tab .panel {
    border-radius: 0 0 4px 4px;
}

#tab .nav-tabs {
    background-color: #fafafa;
    border: 1px solid #e2e2e2;
    border-radius: 4px 4px 0 0;
}

    #tab .nav-tabs > li > a {
        color: #888;
        background-color: transparent;
        border-color: transparent;
    }

#tab .nav > li > a:focus,
#tab .nav > li > a:hover {
    background-color: #f2f2f2;
    color: #333;
}

#tab .nav-tabs > li.active > a,
#tab .nav-tabs > li.active > a:focus,
#tab .nav-tabs > li.active > a:hover {
    color: #555;
    background-color: #fff;
    border-right-color: #ddd;
    border-left-color: #ddd;
    border-radius: 0;
}

#tab .nav-tabs > li.active:first-child > a,
#tab .nav-tabs > li.active:first-child > a:focus,
#tab .nav-tabs > li.active:first-child > a:hover {
    border-left-color: transparent;
    border-radius: 4px 0 0 0;
}
/*#endregion */

/*#region PAGINAS */
.bem-vindo .panel-tab > .panel-heading {
    border-top: 1px solid #e0e0e0;
    background-color: #fafafa;
}

.ajuda-modulo span {
    display: inline-block;
    vertical-align: middle;
}

.ajuda-modulo .glyphicon {
    top: 0;
}

.sem-registro {
    margin-top: 20px;
}
/*#endregion */

/*#region MOBILE */
@media screen and (max-width: 767px) {
    .form-signin {
        width: 90%;
    }

        .form-signin .panel-body {
            padding: 20px;
        }

    h1 img {
        max-width: 100%;
    }

    .form-control {
        width: 100%;
    }

    .checkbox-only input, .checkbox-only label {
        position: relative !important;
        padding-left: 0;
    }

    .table {
        margin-top: 0;
    }

    .table-bordered {
        border: 0;
    }

    .table > tbody > tr > th {
        border-top: 0;
    }

    .no-float {
        float: none !important;
    }

    .registros {
        text-align: center;
        margin-top: 10px;
        background-color: #f5f5f5;
    }

    .marcar-todos {
        margin-top: 0;
    }

        .marcar-todos .form-control-static {
            display: inline-block;
        }

    .pagina.aberto .conteudo {
        margin-left: 0;
    }
}


/*#endregion */
