/* 
    Created on : 19/09/2017, 15:04:28
    Author     : SHL
*/

#formulario {
    height: 100%;
    border: 0px solid #ccc;
    padding: 0;
}

#grid_torre > .card .card-content {
    padding: 10px !important;
}

#grid_torre > .card .card-content .card-title {
    background: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding-left: 5px;
}

.grid_fixed {
    display: block;
    position: fixed;
    z-index: 10;
}

.grid_rows {
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.grid_scroll {
    overflow-y: scroll;
    overflow-x: hidden;
}

.grid_10vh {
    max-height: 10vh;
}

.grid_20vh {
    max-height: 20vh;
}

.grid_30vh {
    max-height: 30vh;
}

.grid_40vh {
    max-height: 40vh;
}

.grid_50vh {
    max-height: 50vh;
}

.grid_60vh {
    max-height: 60vh;
}

.grid_70vh {
    max-height: 70vh;
}

.grid_80vh {
    max-height: 80vh;
}

.grid_90vh {
    max-height: 90vh;
}

.grid_100vh {
    max-height: 100vh;
}

.grid_horizontal_full {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    height: 100%;
}

.grid_horizontal_full.row:after {
    display: none;
}

.grid_topo_centro_rodape_full.row > div.col:nth-last-of-type(1),
.grid_topo_centro_rodape_full.row > div.col:nth-last-of-type(2),
.grid_topo_centro_rodape_full.row > div.col:nth-last-of-type(3) {

}

/* GRID COM TOPO FIXO (COLLAPSIBLE) */

.grid-topofixo > div {
    display: block;
}

.grid-topofixo > div:nth-of-type(1) {
    width: 100%;
    height: 40px;
}

.grid-topofixo > div:nth-of-type(1) > ul.collapsible {
    position: fixed;
    width: calc(100%);
    z-index: 100;
    margin: 0;
}

.grid-topofixo > div:nth-of-type(1) > ul.collapsible .collapsible-header {
    position: relative;
    padding: 0 1rem;
    white-space: nowrap;
    height: 40px;
    min-height: 40px;
    line-height: 40px;
}

.grid-topofixo > div:nth-of-type(1) > ul.collapsible .collapsible-header svg {
    position: absolute;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50%;
    width: 20px;
    height: 20px;
}

.grid-topofixo > div:nth-of-type(1) > ul.collapsible .collapsible-body {
    padding: 1.4rem 0.8rem 1rem;
    background-color: #fafafa;
    height: 80vh;
    overflow-y: scroll;
}

.grid_filtro > div:nth-of-type(1) > ul.collapsible .collapsible-header .estrutura_elemento_flutuante {
    width: 35px;
    height: 100%;
}

.grid_filtro > div:nth-of-type(1) > ul.collapsible .collapsible-header .estrutura_elemento_flutuante .flutuante {
    font-size: 0.8em;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    padding: 8px;
}

.grid-topofixo > div:nth-of-type(1) > ul.collapsible .collapsible-header .grid-topofixo-text {
    margin-left: 0em;
    font-size: 1em;
}

.grid_filtro > div:nth-of-type(1) > ul.collapsible .collapsible-header .grid-topofixo-text {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    /*justify-content: space-between;*/
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    /*    width: 100%;*/
}

.grid_filtro > div:nth-of-type(1) > ul.collapsible .collapsible-header .grid-topofixo-text > .estrutura_elemento_flutuante div.display {
    position: absolute;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50%;
    height: 1.6em;
    line-height: 1.6em;
    width: 1.6em;
    margin-left: 1em;
    border-radius: 50%;
    background: #f7f7f7;
}

.grid_filtro > div:nth-of-type(1) > ul.collapsible .collapsible-header .grid-topofixo-text > .estrutura_elemento_flutuante div.display svg {
    width: 1.2em;
    height: 1.2em;
}

.grid_filtro > div:nth-of-type(1) > ul.collapsible .collapsible-header .grid-topofixo-text > .estrutura_elemento_flutuante div.display:hover svg path {
    fill: #666;
}

.grid_filtro > div:nth-of-type(1) > ul.collapsible .collapsible-body .btn-close-filter {
    width: 2em;
    height: 2em;
    line-height: 2em;

    background-color: #666;
    border-radius: 50%;

    -webkit-transition: all ease-in-out .4s;
    transition: all ease-in-out .4s;
}

.grid_filtro > div:nth-of-type(1) > ul.collapsible .collapsible-body .btn-close-filter:hover {
    background-color: #333;
}

.grid_filtro > div:nth-of-type(1) > ul.collapsible .collapsible-body .btn-close-filter svg {
    width: 2em;
    height: 2em;
}

.grid_filtro > div:nth-of-type(1) > ul.collapsible .collapsible-body .btn-close-filter svg path {
    fill: #fff;
}

@media only screen and (max-width: 600px) {
    .grid-topofixo > div:nth-of-type(1) > ul.collapsible {
        width: 100%;
        position: fixed;
        top: 40px;
        z-index: 1001;
        overflow-y: scroll;
        max-height: 90vh;
    }

    .grid_filtro > div:nth-of-type(1) {
        height: 0;
    }
    .grid_filtro > div:nth-of-type(1) > ul.collapsible .collapsible-header {
        display: none;
    }
    .grid_filtro.grid_filtro_modal > div:nth-of-type(1) > ul.collapsible .collapsible-header {
        display: flex;
    }
}

.grid_total,
.grid_centro_direita,
.grid_centro_esquerda,
.grid_centro_direita,
.grid-topofixo-text,
.grid-arrastavel {
    padding: 0px;
    /*background-color: #FFF;*/
}

.grid-arrastavel .row {
    margin: 0px;
    /*background-color: #FFF;*/
}

.botao-limpar {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.W_100{
    width: 100% !important;
}

.H_100{
    width: 100% !important;
}

.H_500_PX{
    height: 500px  !important;
}
.H_250_PX{
    height: 250px  !important;
}
