﻿body {
    font-family: sans-serif;
    font-size: 18px;
}

/* SELECTS */
.fundos-container {
    width: 100%;
    margin: 50px auto 0 auto;
    font-family: sans-serif;
    display: inline-flex;
    padding-bottom: 0;
}

    .fundos-container select {
        display: table;
        border-collapse: separate !important;
        position: relative;
        width: 100%;
        height: 2.65em;
        border: 1px solid #a5aab5;
        padding: 0 .6em;
        background: -webkit-linear-gradient(top, #fff 0%, #e9e9ec 100%);
        background: linear-gradient(to bottom, #fff 0%, #e9e9ec 100%);
        border-radius: 2px;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        box-shadow: 0px 2px 0 rgba(31, 42, 71, .1);
        line-height: 1;
        outline: none;
        margin-bottom: 40px;
        cursor: pointer;
    }

    .fundos-container label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .fundos-container select, .fundos-container input[type="text"] {
        width: 77%;
        padding: 8px;
        box-sizing: border-box;
    }

.fundos-form-group {
    margin-bottom: 25px;
    width: 30%;
    padding: 15px 0;
}

.form-municipio {
    flex-direction: column;
}

    .form-municipio .row {
        display: flex;
    }

        .form-municipio .row label, .form-municipio .row select {
            margin-bottom: 4px;
        }

    .form-municipio p {
        width: 100%;
        margin: 0;
        position: relative;
    }

.fundos-date-group {
    display: flex;
    justify-content: space-between;
    padding-top: 14px;
    width: 100%;
    padding-bottom: 0;
}

    .fundos-date-group div {
        width: 92%;
    }

    .fundos-date-group input[type="text"] {
        width: 100%;
    }

    .fundos-date-group .row {
        display: flex;
        margin-right: 41px;
    }

    .fundos-date-group .ui-datepicker-trigger {
        height: fit-content;
        position: relative;
        top: 6px;
        width: 35px;
        cursor: pointer;
    }

.container-datas-fundos p {
    position: relative;
    top: -15px;
}

.container-datas-fundos .error-message {
    color: #8c2323;
    font-size: 16px;
    display: block;
    background-color: #fBEBEB;
    padding: 10px 10px 10px 20px;
    width: 95%;
    border-radius: 4px;
    font-weight: bold;
    position: relative;
    top: -19px;
}

.error-message i {
    float: right;
    cursor: pointer;
}

.info-message {
    display: none;
    color: #04A2bf;
    font-size: 16px;
    display: inline-block;
    background-color: #e5f6f8;
    padding: 27px;
    width: 36%;
    border-radius: 4px;
    font-weight: bold;
    position: relative;
    bottom: 23px;
    border: 1px solid;
}

    .info-message i {
        margin-right: 10px;
    }

.botoes-extrato-fundos {
    position: relative;
    padding-top: 20px;
}

    .botoes-extrato-fundos #btn-extrato-continuar {
        background-color: #005CA9;
        color: white;
        line-height: 18px;
        width: 117px;
        height: 40px;
        border-radius: 4px;
        padding: 10px 16px 10px 16px;
        font-size: 16px;
        border: 1px solid #005CA9;
        font-weight: bold;
        cursor: pointer;
    }

#btn-extrato-continuar:disabled {
    background-color: #cccccc;
    color: #666666;
    border: 1px solid #999999;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}


.botoes-extrato-fundos #btn-extrato-continuar:hover {
    background-color: white;
    color: #005CA9;
    line-height: 18px;
    width: 117px;
    height: 40px;
    border-radius: 4px;
    padding: 10px 16px 10px 16px;
    font-size: 16px;
    font-weight: 700;
}

.botoes-extrato-fundos #btn-extrato-limpar:hover {
    background-color: #005CA9;
    color: white;
    line-height: 18px;
    width: 117px;
    height: 40px;
    border-radius: 4px;
    padding: 10px 16px 10px 16px;
    font-size: 16px;
}

.botoes-extrato-fundos #btn-extrato-limpar {
    background-color: white;
    color: #005CA9;
    line-height: 18px;
    width: 117px;
    height: 40px;
    border-radius: 4px;
    padding: 10px 16px 10px 16px;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid #005CA9;
}

.tooltip-fundos {
    font-size: 16px !important;
    color: #8f8c8c;
}

#municipio-extrato-fundos {
    margin-bottom: 8px;
}

/* TABELA */
.tabela-fundos-header {
    padding: 25px;
    background: #fff;
    -webkit-box-shadow: 0px 1px 5px 1px #ccc;
    -moz-box-shadow: 0px 1px 5px 1px #ccc;
    box-shadow: 0px 1px 5px 1px #ccc;
    border-radius: 8px;
}

    .tabela-fundos-header p {
        margin: 5px 0;
    }

.tabela-fundos {
    overflow: auto;
    width: 100%;
    font-family: sans-serif;
    position: relative;
}

    .tabela-fundos table {
        border: 1px solid #dededf;
        height: 100%;
        width: 100%;
        table-layout: auto;
        border-collapse: collapse;
        border-spacing: 1px;
        text-align: left;
    }

    .tabela-fundos caption {
        caption-side: top;
        text-align: left;
    }

    .tabela-fundos th {
        border: 1px solid #dededf;
        background-color: #005Ca9;
        color: #fff;
        padding: 18px;
        text-align: center;
    }

        .tabela-fundos th:first-child {
            border-radius: 8px 0 0 0;
        }

        .tabela-fundos th:last-child {
            border-radius: 0 8px 0 0;
        }

    .tabela-fundos td {
        border: none;
        color: #000000;
        padding: 12px;
    }

    .tabela-fundos tbody tr:nth-child(odd) {
        background-color: transparent;
    }

    .tabela-fundos tbody tr:nth-child(even) {
        background-color: #eef1f3;
    }

    .tabela-fundos .data-movimentacao, .tabela-fundos .documento-identificacao, .tabela-fundos .tipo-operacao {
        text-align: center;
    }

    .tabela-fundos .extrato-valor {
        text-align: right;
    }

.tabela-fundos-header div {
    display: flex;
    width: 100%;
    padding: 2px;
}

    .tabela-fundos-header div p {
        width: 50%;
        font-size: 18px;
    }

.tabela-saldos-anteriores, .tabela-saldos-atuais {
    width: 40.8% !important;
    margin: 18px 0;
    float: right;
    position: relative;
    /*right: 41px;*/
}

    .tabela-saldos-anteriores td {
        background-color: transparent;
    }

/*.tabela-saldos-atuais {
    width: 31.3% !important;
    float: right;
}

    .tabela-saldos-atuais td:first-child {
        width: 65.1%;
    }*/

.periodo-calendario {
    display: flex;
    justify-content: center;
    padding: 22px 0 5px 0;
    font-size: 18px;
}

.hide {
    display: none;
}

.botoes-exportar {
    position: absolute;
    bottom: 55px;
    display: flex;
}

    .botoes-exportar #exportarPdf {
        margin-right: 10px;
    }

/*loading*/
#loading {
    background: #000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    opacity: 0.2;
    z-index: 9999;
    display: none;
}

    #loading .icon-loading {
        width: 80px;
        height: 80px;
        position: fixed;
        z-index: 99999;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
        border-radius: 4px;
        padding: 1rem;
        background-image: url("/Style Library/pix/img/loading.gif");
        background-repeat: no-repeat;
        background-size: 80px 80px;
    }

/* RESPONSIVO */

@media only screen and (max-width: 1000px) {
    #tabelaExtrato {
        overflow: scroll;
        display: block;
    }

    .fundos-container, .fundos-date-group {
        display: block;
    }

    .fundos-form-group {
        width: 110%;
        margin-bottom: 0;
    }

    .fundos-date-group div:last-child {
        margin-top: 5%;
    }
}

@media only screen and (min-width: 701px) and (max-width: 750px) {
    .botoes-exportar .btn {
        font-size: 20px !important;
    }
}

@media only screen and (max-width: 700px) {
    .fundos-container {
        margin-top: 0;
    }

    .tabela-fundos-header div {
        display: block !important;
    }

        .tabela-fundos-header div p {
            width: 100% !important;
            padding: 6px;
        }

    .periodo-calendario {
        margin-bottom: 30px;
        text-align: center;
    }

    .tabela-saldos-anteriores, .tabela-saldos-atuais {
        width: 100% !important;
    }

    .info-message {
        width: 100%;
        display: flex;
    }

    .botoes-exportar {
        position: static;
        display: block;
    }
}

@media only screen and (max-width: 400px) {
    .error-message {
        padding: 20px;
    }

        .error-message i {
            position: relative;
            bottom: 18px;
        }

    #ui-datepicker-header {
        width: 90%;
        font-size: 18px;
    }
}

@media only screen and (max-width: 452px) {
    .botoes-exportar input {
        margin: 8px;
    }

    .botoes-exportar .btn {
        font-size: 18px;
    }
}

@media only screen and (max-width: 346px) {
    .botoes-exportar input {
        margin: 5px;
    }

    .botoes-exportar .btn {
        font-size: 17px;
    }
}
