﻿/*body {
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
}*/

:root {
    --main-color: #0A3782;
    --secondary-color: #006699;
    --tert-color: #FFFFFF
}

#topo {
    height: 130px;
    width: 100%;
    padding: 0 100px;
}

    #topo img {
        padding: 35px 0 0 0;
    }

    #topo .pull-right {
        margin: 55px 100px 0 0;
    }

        #topo .pull-right a, #topo .pull-right a:hover {
            color: var(--main-color);
            text-decoration: none;
        }

#geral {
    width: 100%;
    padding: 20px 100px;
}

.googleButton {
    border-radius: 5px;
    background-color: var(--secondary-color);
    appearance: none;
    padding: 5px 10px;
    border: none;
    z-index: 100;
    color: white;
}

.googleButton:hover {
    background-color: var(--main-color);
}

#toggleTheme {
    border-radius: 5px;
    background-color: var(--secondary-color);
    appearance: none;
    padding: 5px 10px;
    border: none;
    z-index:100;
    color: white;
    position: absolute;
    top: 10px;
    right: 20px;
}

    #toggleTheme:hover {
        background-color: var(--main-color)
    }

#rodape {
    width: 100%;
    padding: 10px;
    font-style: italic;
    list-style: none;
    border-top: 3px solid #ccc;
    color: var(--main-color);
    text-align: center;
}

div.logoff {
    width: 100%;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
}

.cabecalho {
    width: 100%;
    height: 20px;
    margin-top: 10px;
}

.conteudo {
    width: 100%;
    height: 100%;
    margin-top: 10px;
}

.rodape {
    text-align: center;
    font-size: 10px;
    font-style: italic;
    -ms-opacity: 5;
    opacity: 5;
}

.rodape-login {
    margin: 25px;
    text-align: center;
    /*font-size: 10px;*/
    font-style: italic;
    -ms-opacity: 5;
    opacity: 5;
    color: var(--main-color);
}

.esquerda {
    width: 50%;
    height: 100%;
    float: left;
    padding: 10px;
}

.direita {
    width: 50%;
    height: 100%;
    float: right;
    padding: 10px;
}

.col-sm-0 {
    float: left;
    width: 3%;
}



.form-group.required .control-label:after {
    content: "*";
    color: red;
}

hr {
    /*margin-top: 20px;
    margin-bottom: 20px;
    border: 0;*/
    border-top: 1px solid #ccc;
}

legend {
    border-bottom: 1px solid #ccc;
}

#accordion {
    cursor: pointer;
}

.innerHtml {
    height: auto;
    max-height: 500px;
    overflow: auto;
    border: 1px solid #ccc;
    -ms-border-radius: 5px;
    border-radius: 5px;
    padding: 10px 15px;
    background-color: var(--tert-color);
}

.modal-header {
    font-weight: bold;
}

.nav li ul {
    z-index: 1;
}

.dropdown {
    z-index: 1;
}

.linhaVertical {
    margin: 0 0 0 .8ex;
    border-left: 1px #ccc solid;
    padding-left: 1ex;
}

.conteudoEmail {
    padding-left: 5px;
}

/*Início de folha de estila barra de navegação*/
#navbar-container {
    height: 70px;
}

#navbar {
    width: 100%;
    float: left;
    margin: auto;
    padding: 0;
    list-style: none;
    padding: 10px 100px;
    box-shadow: 0px 5px 8px 0px rgba(0,0,0,0.12);
    display: flex;
}

    #navbar li a {
        display: block;
        padding: 8px 15px;
        text-decoration: none;
        /*font-weight: bold;*/
        color: var(--secondary-color);
        /*border-right: 1px solid #ccc;*/
        text-transform: uppercase;
        white-space: nowrap;
    }

        #navbar li a:hover {
            color: var(--tert-color);
            background-color: var(--main-color);
        }

    #navbar li.selected, #navbar li.selected a {
        color: var(--tert-color);
        background-color: var(--main-color);
    }

    #navbar li ul {
        position: absolute;
        left: 0;
        background-color: var(--tert-color);
        padding: 0;
        display: none;
        border: 1px solid #ccc;
    }

    #navbar li:hover ul, .nav li.over ul {
        display: block;
    }

    #navbar li ul li {
        border: 1px solid #c0c0c0;
        display: block;
        width: 100%;
        border-bottom: 1px solid #ccc;
    }
/* Final estilo barra de navegação. */

/*Início de folha de estila barra de navegação de chamados*/
.navtab, .navtab .dropdown {
    font-size: 12px;
    font-weight: bold;
}

    .navtab a, .dropdown a {
        color: var(--secondary-color);
    }

    .navtab .nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:enabled {
        background-color: var(--secondary-color);
    }
/* Final estilo barra de navegação de chamados. */

/* Início DataTable */
#table tbody, #table thead {
    background-color: #f2f2f2;
}

#table span.glyphicon {
    color: #333;
}

#table span.glyphicon-search,
#table span.glyphicon-pencil,
#table span.glyphicon-trash {
    cursor: pointer;
}


/*Tamanho padrão para a fonte das tabelas*/
.table.table {
    font-size: 12px;
}

tr.group {
    color: white !important;
    font-weight: bold !important;
    background-color: #1B4893 !important;
}

    tr.group td {
        border: 0px !important;
    }

/* Fim DataTable */

/* Início Datepicker */
th.dow, th.prev, th.next, th.datepicker-switch {
    background-color: var(--tert-color);
}
/* Fim Datepicker */

/* Loading CSS */
#divDisabled {
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    position: fixed;
    background-color: #0f0f0f;
    -ms-opacity: 0.6;
    opacity: 0.6;
    z-index: 99;
}

#divProcessing {
    position: absolute;
    z-index: 1000000;
    top: 50%;
    left: 50%;
    /*margin-top: -50px;
    margin-left: -50px;*/
}

.glyphicon-refresh-animate {
    z-index: 100;
    color: white;
    font-size: 20px;
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}
/* Fim Loading CSS */

/*Comunicação*/
.cabecalho-email {
    background-color: #f5f5f5;
    font-size: 12px;
    padding: 5px;
    border-top: 1px solid;
    border-color: #ddd;
    cursor: default;
}

.panel-group .panel-footer {
    border-top: 1px solid;
    border-color: #ddd;
}

.panel-footer {
    cursor: ne-resize;
}

/* TinyMCE */
.mce-wordcount, .mce-path-item, .mce-divider, .mce-path {
    display: none !important;
}

.mce-statusbar {
    border-width: 0 !important;
}
/* Fim TinyMCE*/


/* Início Login*/
#login.container {
    width: 300px;
    box-shadow: 0px 5px 8px 0px rgba(0,0,0,0.12);
    border-radius: 15px;
    padding-bottom: 25px;
}

#topo-azul {
    border-radius: 15px 15px 0px 0px;
    background-color: var(--main-color);
    height: 35px;
    width: 300px;
    margin-left: -15px;
}

#login.container img {
    margin-top: 30px;
    /*width: 130px;*/
}

#esqueceu-senha {
    margin: 25px 0;
}

    #esqueceu-senha a.center-block {
        color: var(--main-color);
        text-decoration: none;
    }

/* Fim Login*/

.center {
    margin: auto;
    width: 50%;
    /*border: 3px solid green;*/
    /*padding: 10px;*/
}

/* Início Botões */
.btn-primary {
    background-color: var(--main-color);
}

    .btn-primary:hover {
        background-color: #1B4893;
    }

.btn-default {
    background-color: white;
}

.btn-primary:hover {
    background-color: #1B4893;
}


#admin-panel .col-sm-3 {
    margin: 15px 0;
}
/* Fim Botões */

.icon-vermelho {
    background-image: url("images/status-vermelho.png");
    background-size: 15px 15px;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-amarelo {
    background-image: url("images/status-amarelo.png");
    background-size: 15px 15px;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-verde {
    background-image: url("images/status-verde.png");
    background-size: 15px 15px;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-preto {
    background-image: url("images/status-preto.png");
    background-size: 15px 15px;
    background-repeat: no-repeat;
    background-position: center;
}

.email-to .email-cc .email-files .panel-body {
    overflow-wrap: break-word;
}

.icon-table {
    width: 10px;
}

.horas {
    width: 70px;
}

/* Ajustes de responsividade - 11/12/2023 - Jackson Monteiro */
@media screen and (max-width: 1024px) {
    #admin-panel {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .row:before {
        display: none;
    }
}


@media screen and (max-width: 768px) {
    #geral {
        padding: 20px 50px;
    }

    #topo {
        padding: 0 50px;
    }

        #topo .pull-right {
            padding: 35px 50px 0 0;
        }

    #navbar {
        padding: 10px 50px;
    }

    #admin-panel {
        grid-template-columns: repeat(3, 1fr);  
    }
}

@media screen and (max-width: 600px) {
    .login-form {
        margin: 0 auto;
    }

    #geral {
        display: flex;
        padding: 20px 10px;
    }

    #topo {
        padding: 0 10px;
    }

        #topo .pull-right {
            padding: 10px;
        }

    #navbar {
        padding: 10px;
        flex-direction: column;
    }

    #admin-panel {
        grid-template-columns: repeat(2, 1fr);
    }

    .table-container {
        width: 100%;
        overflow-x: auto;
    }

    .detalhemento-box {
        width: 100%;
    }

    .form-horizontal {
        width: 100%;
    }

    .direita,
    .esquerda {
        width: 100%;
    }

    .search-email {
        display: flex;
    }

    .home-fieldset {
        margin: 0 auto;
    }

    
}
