﻿/* 2020-02-06 */

/* global vars */
:root {
    --bg-color: #D7D7D7;
}



.icon-small i {
    float: left;
    margin-right: 10px;
    height: 38px;
    width: 38px;
    color: #fff;
    background-color: #888;
    border-radius: 10%;
    text-align: center;
    vertical-align: middle;
    padding-top: 12px;
}

.icon-small + p {
    clear: left;
    margin-top: 15px;
}

.icon-small h2 {
    text-align: left;
}





.form-pesquisa {
    display: grid;
    grid-template-columns: 400px 400px 1fr;
    grid-gap: 0.3em 0.6em;
    margin-left: 10px;
}


    .form-pesquisa > div {
        display: grid;
        align-items: flex-start; /* baseline; desalinha estado */
        max-height: 125px; /*280px;*/
        grid-template-columns: [labels] 90px [controls] 270px;
        grid-template-rows: auto; /* 1fr 1fr 1fr 1fr 1fr 1fr 1fr; */
        grid-auto-flow: row;
        grid-gap: .8em;
        background: white; /*#bee57a; */
        padding: 1.2em;
        grid-row-gap: 0ch; /*teste*/
        display: grid;
        vertical-align: text-top /*baseline;*/
    }

    .form-pesquisa > label {
        grid-column: labels;
        grid-row: auto;
    }

    .form-pesquisa > input,
    .form-pesquisa > select,
    .form-pesquisa > multiple,
    .form-pesquisa > .chosen-select,
    .form-pesquisa > ui-state-default,
    .form-pesquisa > .dd-select,
    .form-pesquisa > textarea {
        grid-column: controls;
        grid-row: auto;
        width: inherit;
        max-width: 300px;
        min-width: 300px;
    }

    .form-pesquisa > button {
        clear: inherit;
        /*grid-column: span 2;*/
    }



/* TODO */
SELECT.form-pesquisa-control {
    font-family: Calibri, Tahoma, sans-serif;
    border: 1px solid var(--bg-color); /* #F2F2F2;*/ /* #cdcdcd; */
    font-size: 12px;
    /*padding: 4px;
    margin: 0 0 15px 0;*/
    padding: 5px;
    margin: 1px 1px 5px 5px;
    max-height: 26px; /* porque o grid pode aumentar */
}


/* ON-GOING*/
INPUT.form-pesquisa-control {
    font-family: Calibri, Tahoma, sans-serif;
    border: 1px solid var(--bg-color); /* #F2F2F2;  #cdcdcd; */
    font-size: 12px;
    padding: 5px;
    margin: 1px 1px 5px 5px;
    letter-spacing: 1px;
    width: 160px;
    max-height: 13px; /* porque o grid pode aumentar */
}


    INPUT.form-pesquisa-control.data {
        font-family: Calibri, Tahoma, sans-serif;
        border: 1px solid var(--bg-color); /* #F2F2F2;  #cdcdcd; */
        font-size: 12px;
        padding: 5px;
        margin: 1px 1px 5px 5px;
        letter-spacing: 1px;
        width: 125px;
        max-height: 13px; /* porque o grid pode aumentar */
    }

    INPUT.form-pesquisa-control.long {
        font-family: Calibri, Tahoma, sans-serif;
        width: 93%;
    }


/*SELECT.form-pesquisa-control.long {
    width: 93%;
}*/



/* chosen na pesquisa */

.chosen-select {
    width: 256px !important;
}

.chosen-container {
    border: 1px solid white; /* #cdcdcd; */
    font-size: 12px;
    padding: 4px;
    margin: 0 0 15px 0;
    color: black;
    width: 256px !important;
}

.chosen-container-multi .chosen-choices {
    border: 1px solid var(--bg-color); /* #F2F2F2;  #cdcdcd; */
    /*font-size: 12px;
    padding: 4px;
    margin: 0 0 15px 0;
    color: black;*/
    background-image: none;
    width: 264px !important;
}

.chosen-choices {
    border: 1px solid var(--bg-color); /* #F2F2F2;  #cdcdcd; */
    width: 256px !important;
}

.ul-chosen-choices {
    border: 1px solid var(--bg-color); /* #F2F2F2;  #cdcdcd; */
    width: 256px !important;
}

.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
    color: black;
}




/* dd-with-images */
#dd-with-images {
    background-image: none !important;
    background-color: white;
}

.dd-select {
    background: none !important;
    background-image: none;
    background-color: white;
    font-weight: normal;
    border-color: #F2F2F2 !important;
    height: 13px !important;
    padding: 5px;
    margin: 1px 1px 5px 5px;
}

.dd-selected {
    width: auto !important;
    max-height: 18px;
    font-weight: normal !important;
    vertical-align: middle;
    padding: 0px !important;
}

.dd-container {
    width: auto !important;
}

LABEL.dd.selected-text {
    line-height: 20px !important;
}




/* par de datas do parecer*/
.uma-coluna {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}


/* par de eescalas do pedido*/
.uma-coluna-escala {
    display: grid;
    grid-template-columns: 40px 80px 40px 80px;
    align-items: baseline;
}




.form-pesquisa > span.ui-state-default, span.ui-widget-content, span.ui-state-default, span.ui-widget-header, span.ui-dropdownchecklist-selector {
    border: 0px solid #ccc;
    border: hidden; /*ui-state-default,*/
    background: white;
    font-weight: normal;
    color: red;
    width: 100%;
}







body {
    font-family: Calibri, Tahoma, sans-serif;
    font-size: 12px; /*x-small;*/
    color: #000000; /* #828282;*/
    background-repeat: repeat-x;
    background-color: #FFFFFF; /*  #f6f6f6; */
    margin: 0;
    padding: 0;
}

    body.login-page {
        font-family: Tahoma, sans-serif;
        font-size: x-small;
        color: #004177;
        background-repeat: repeat-x;
        background-color: #ADB9CA;
        margin: 0;
        padding: 0;
    }

TABLE {
    color: #000000; /* #666666;  */
    margin: 15px 15px 15px 15px;
    font-size: 12px;
    border-collapse: collapse;
    width: 98%;
}

    TABLE TR TH, TABLE TR TD {
        padding: 7px;
        border-left: 1px solid #f6f6f6; /*  #004177; */
    }

        TABLE TR TD.prazoaterminar {
            background-color: #ff5b5b;
            color: #eaeaea;
        }

    TABLE TR TH {
        background-color: #004177; /* #E0E0E0;  tabela da pesquisa */
        /*text-shadow: 0px 1px white;*/
        color: white;
        text-align: left;
    }



/* table row odd/even */
tr:nth-child(even) {
    background-color: #F0F3FA; /*  #f2f2f2 */
}


A {
    color: black; /* #007D25; */
    font-weight: bold;
    text-decoration: none;
}

    A.not-active {
        color: #828282;
        pointer-events: none;
        cursor: default;
    }

    A.highlight {
        color: #000000;
        border-bottom: 1px solid #007D25;
        /*pointer-events: none;*/
        /*cursor: default;*/
    }

LABEL.control-label, LABEL.control-label-inline {
    font-size: 12px;
    padding: 0 0 3px 0;
    text-shadow: 0px 1px white;
}

LABEL.control-label {
    display: block;
}

LABEL.control-label-inline {
    display: inline;
}

TEXTAREA {
    height: 160px;
    width: 800px;
}

    TEXTAREA.mid {
        height: 160px;
        width: 400px;
    }

    TEXTAREA.twolines {
        height: 100px;
        width: 400px;
    }

    TEXTAREA.obs {
        max-height: 120px;
        min-height: 120px;
        max-width: 710px;
        min-width: 710px;
    }
/*, @style = "max-width: 710px; min-width: 710px;  max-height: 120px;"*/


/* semaforo na tabela resultados*/
.semaforo1 {
    width: 16px;
    height: 16px;
    background: url(../images/circle-red-16.png) left center no-repeat;
    text-align: right;
    padding-left: 10px;
    padding-right: 30px;
}

.semaforo2 {
    width: 16px;
    height: 16px;
    background: url(../images/circle-yellow-16.png) left center no-repeat;
    text-align: right;
    padding-left: 10px;
    padding-right: 30px;
}

.semaforo3 {
    width: 16px;
    height: 16px;
    background: url(../images/circle-green-16.png) left center no-repeat;
    text-align: right;
    padding-left: 10px;
    padding-right: 30px;
}



/* semaforo nos dados do pedido */

.semaforo1dp {
    width: 16px;
    height: 16px;
    background: url(../images/circle-red-16.png) left center no-repeat;
    text-align: right;
    padding-left: 0px;
    padding-right: 150px;
}

.semaforo2dp {
    width: 16px;
    height: 16px;
    background: url(../images/circle-yellow-16.png) left center no-repeat;
    text-align: right;
    padding-left: 10px;
    padding-right: 150px;
}

.semaforo3dp {
    width: 16px;
    height: 16px;
    background: url(../images/circle-green-16.png) left center no-repeat;
    text-align: right;
    padding-left: 0px;
    padding-right: 150px;
}




/* BASE */

SELECT.control-select {
    border: 1px solid var(--bg-color); /*#F2F2F2;*/ /* #cdcdcd; */
    font-size: 12px;
    font-family: Calibri, Tahoma, sans-serif;
    padding: 4px;
    margin: 0 0 15px 0;
    max-height: 26px; /* porque o grid pode aumentar */
}

INPUT.form-control {
    border: 1px solid var(--bg-color); /* #F2F2F2; */ /* #cdcdcd; */
    font-family: Calibri, Tahoma, sans-serif;
    font-size: 12px;
    padding: 5px;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
    width: 160px;
    max-height: 13px; /* porque o grid pode aumentar */
}


    INPUT.form-control.login {
        border: 0px solid var(--bg-color); /* #F2F2F2; */ /* #cdcdcd; */
        background-color: #F2F2F2;
        font-size: 12px;
        padding: 5px;
        margin: 0 0 15px 0;
        letter-spacing: 1px;
        width: 160px;
    }


INPUT.long {
    width: 330px; /* 400px;*/
}

H1 {
    font-size: 20px;
    font-weight: normal;
    color: #999999;
    font-family: Calibri, sans-serif, arial;
}


/*H2 {
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}*/

div.H2 {
    font-size: 1.5em;
    font-weight: bold;
    color: #000000;
    font-family: Calibri, sans-serif, arial;
}

SELECT.H2 {
    font-size: 1.5em;
    font-weight: bold;
    color: #000000;
    font-family: Calibri, sans-serif, arial;
    border: 1px solid var(--bg-color); /*#F2F2F2;*/ /* #cdcdcd; */
    padding: 4px;
    margin: 0 0 15px 0;
    max-height: 1.6em;
}



.form-group {
    display: inline;
    float: left;
    margin: 10px 10px 0px 0px;
}

.clear {
    clear: both;
}








BUTTON, input[type=submit].button {
    color: #fff;
    background-color: #004177; /* #5cb85c;*/
    border-color: #004177; /*  #4cae4c */
    display: inline-block;
    padding: 6px 12px;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    height: 32px;
}

    button:disabled, button [disabled], button [disabled=""], button [disabled="disabled"] {
        background-color: silver;
        border-color: silver;
        cursor: not-allowed;
    }

input[readonly] {
    background-color: var(--bg-color); /* #F2F2F2; */ /* #cac7c7; */
}

input[type="checkbox"][readonly] {
    pointer-events: none;
    background-color: #F2F2F2;
}

TEXTAREA[readonly] {
    background-color: var(--bg-color); /* #F2F2F2; */ /* #cac7c7; */
}

.warning {
    color: red;
    padding: 6px;
    font-size: 13px;
}

.warningBig {
    color: red;
    padding: 8px;
    font-size: 16px;
    font-family: Calibri, sans-serif, Arial;
}


.text-danger li {
    color: red;
    padding: 8px;
    font-size: 13px;
    font-family: Calibri, sans-serif, Arial;
}

.marginl20 {
    margin-left: 20px;
}

.margint20 {
    margin-top: 20px;
}

.marginb20 {
    margin-bottom: 20px;
}

.floatleft {
    float: left;
}



/* estilos gerais 2018 */
.header {
    padding-top: 0px;
    background-color: #004177; /* #01447B; */
    background-size: cover;
    min-height: 125px;
    max-height: 125px;
}

    .header .left {
        float: left;
    }

.logo {
    width: 300px;
    padding-top: 20px;
    padding-left: 40px;
}


.header .right {
    float: right;
    padding-right: 20px;
}

    .header .right .right-bottom {
        color: white;
        padding-top: 40px;
    }

        .header .right .right-bottom .item-menu-topo A {
            color: white !important;
            text-decoration: none;
        }


.loginBar {
    background-color: #01447B;
    height: 28px;
}

    .loginBar P {
        padding: 6px 0 0 10px;
        color: white;
        display: table-cell;
        font-weight: bold;
        /*background-color: red;*/
    }

    .loginBar A {
        margin: 2px 2px 0 0;
        color: white;
        display: table-cell;
        background-color: gray;
    }

/* login page */


DIV.center {
    margin-left: auto;
    margin-right: auto;
    width: 200px;
}



.center-screen {
    /*    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;


    height: 200px;
    width: 200px;*/


    border-radius: 8px;
    background-color: white;
    width: 450px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  /*  background-color: #F1F1F1;*/
    padding: 40px;
}



/*DIV.center2 {
    margin-left: auto;
    margin-right: auto;
    width: 100px;
    background-color: yellowgreen;*/
    /*    width: 714px;*/
    /*    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0px;
    margin: auto;
    width: 100px;
    height: 100px;*/
/*}*/

/*.centered2 {
    border-radius: 8px;*/
    /*    
    

    left: 45%;
    margin-top: -50px;
    margin-left: -100px;
  
    padding-top: 20px;
    padding-left: 80px;
    padding-right: 80px;
    padding-bottom: 20px;*/

/*position: fixed;
    top: 25%;
min-height: 450px;
  background-color: white;*/

    /* ensaiar com flex */
    /*height: 450px;*/
/*    background: #CCCCCC;*/
    /*display: flex;
    align-items: center;
    justify-content: center;
}*/



.centered {
    border-radius: 8px;
    min-height: 350px;
    position: fixed;
    top: 30%;
    left: 45%;
    margin-top: -50px;
    margin-left: -100px;
    background-color: white;
    padding-top: 20px;
    padding-left: 80px;
    padding-right: 80px;
    padding-bottom: 20px;
    /* ensaiar com flex */
    /*display: flex;
    height: 300px;
    justify-content: center;
    align-items: center;*/
}

.shadow {
    /*-moz-box-shadow: inset 0 0 10px #000000;
    -webkit-box-shadow: inset 0 0 10px #000000;
    box-shadow: inset 0 0 10px #000000;*/
    -webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0 10px 6px -6px #777;
}


.round-logo {
    /*align-self: center;
    */
    /*display: inline-block;*/
    text-align: center;
    vertical-align: middle;
    padding: 20px;
}

    .round-logo img {
        /*align-self: center;
    text-align: center;*/
        max-width: 150px;
    }

/* menu header lateral dto com icons */

DIV.tabMenuSupV2 {
    /*padding-left: 40px;*/
    width: 100%;
    position: relative;
    /*background: white !important;*/
    height: 35px;
}

    DIV.tabMenuSupV2 A {
        color: white !important;
        display: block;
        font-size: 12px;
        float: left;
        text-align: center;
        text-decoration: none;
        padding: 10px 20px 2px 20px;
        margin: 0px 2px 0px 2px;
        font-family: arial, sans-serif;
        border-right: 1px solid #f6f6f6;
    }

        DIV.tabMenuSupV2 A.highlight {
            /*color: #000000;*/
            color: #3890CF !important;
            border-bottom: none !important;
            /*pointer-events: none;*/
            /*cursor: default;*/
        }



/*DIV.tabMenuSup .tabMenuSupRight */
DIV.tabMenuSupRight {
    position: absolute;
    top: 0px; /* 90 ?? */
    right: 15px;
    display: block;
    font-size: 12px;
    font-weight: bold;
    /*color: #007D25;*/
    color: #888888;
    background-color: #ffffff;
    float: left;
    text-align: center;
    text-decoration: none;
    padding: 10px 20px 2px 20px;
    margin: 0px 2px 0px 2px;
    font-family: Calibri, Tahoma, sans-serif;
    /*arial, sans-serif;*/
    /*border: 1px solid #d6d6d6;*/
    border: 1px solid #007D25;
}




DIV.tabMenuSupRightV2 {
    position: absolute;
    top: 0;
    right: 15px;
    display: block;
    font-size: 12px;
    font-weight: bold;
    min-width: 350px;
    max-width: 350px;
    min-height: 70px;
    max-height: 70px;
    /*color: #007D25;*/
    color: #888888;
    background-color: #ffffff;
    float: left;
    text-align: center;
    text-decoration: none;
    /*padding: 10px 20px 2px 20px;*/
    padding: 5px;
    margin: 0px 2px 0px 2px;
    font-family: Calibri, Tahoma, sans-serif;
    /*border: 1px solid #d6d6d6;*/
    border: 1px solid #BFBFBF;
}



.stack-info {
    display: flex;
    flex-direction: row;
    /*background-color: DodgerBlue;*/
}

    .stack-info > div {
        /*background-color: #f1f1f1;*/
        /*width: 150px;*/
        margin: 5px;
        text-align: left;
        /*line-height: 10px;*/
        /*font-size: 30px;*/
    }



.ViewPortDivPesquisa {
    width: 85%;
    min-height: 190px;
    max-height: 200px;
    /*overflow: auto;*/
    /*overflow-y: hidden;*/
    /*overflow-x: hidden;*/
    /*border:double;*/
    z-index: 1;
}

.ViewPortDiv .table {
    margin-top: 1px;
    margin-left: 1px;
    width: 100%;
}





.ViewPortDiv {
    width: 85%;
    /*height: 400px;*/
    min-height: 100px;
    max-height: 400px;
    overflow: auto;
    /*overflow-y: scroll;*/
    overflow-x: hidden;
    /*border:double;*/
}

    .ViewPortDiv .table {
        margin-top: 1px;
        margin-left: 1px;
        width: 100%;
    }



.ViewPortDivShort {
    width: 85%;
    min-height: 100px;
    max-height: 200px;
    overflow: auto;
    overflow-x: hidden;
}

    .ViewPortDivShort .table {
        margin-top: 1px;
        margin-left: 1px;
        width: 100%;
    }




/* bootstrap like grid for login and definicoes screen */
.col-md-3, .col-md-6 {
    float: left;
    position: relative;
}

.col-md-4 {
    width: 25%;
}

.col-md-3 {
    width: 33.3333%;
}

.col-md-6 {
    width: 66.6667%;
}


/* forms consulta / edicao*/

.form-recon {
    /*border: inset;*/
    min-height: 100px;
    min-width: 70%;
    max-width: 70%;
}


.form-fieldset {
    float: left;
    margin-left: 30px;
    /*border: inset;*/
}

.form-buttons {
    margin-left: 80px;
    float: left;
    vertical-align: top;
    /*border: inset;*/
    max-width: 100px;
}


/*.form-recon.form-fieldset.control-label*/
.form-fieldset-labels {
    float: left;
    min-width: 100px;
    max-width: 100px;
}

/*.form-recon.form-fieldset.INPUT.form-control*/
.form-fieldset-controls {
    float: left;
}







/*   ?? */
#button_wrapper {
    width: 100%;
    /*height: 30px;
    border: 1px solid black;*/
    display: flex;
    align-items: center;
    justify-content: center;
}


/* botoes */

.button_entrar {
    border-radius: 70px;
    background-color: #004177;
    border-color: #004177;
    height: 28px;
}

    .button_entrar:hover {
        background-color: #008CBA;
        border-color: #008CBA;
        color: white;
    }



.button_recon {
    border-radius: 70px;
    background-color: #004177;
    border-color: #004177;
    height: 28px;
    min-width: 100px;
    max-width: 140px;
    min-height: 33px;
    max-height: 33px;
    color: white;
    display: inline-block;
    padding: 6px 12px;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-top: 15px; /* 15px */
    /*font-family: Arial;*/
    font-family: Calibri, Tahoma, sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    z-index: 99;
}


A.button_recon {
    border-radius: 70px;
    background-color: #004177;
    border-color: #004177;
    /*height: 28px;*/
    max-width: 100px;
    min-width: 100px;
    min-height: 27px;
    max-height: 27px;
    color: white;
    display: flow-root;
    align-items: center;
    /*   display: inline-block;  */
    /*padding: 6px 12px;*/
    padding-top: 7px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    margin-top: 15px; /* 15px */
    /*font-family: Arial;*/
    font-family: Calibri, Tahoma, sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border-top-width: 1px;
    border: 0px solid transparent;
    border-top-width: 1px;
    border-left-width: 1px;
    border-right-width: 1px;
}
/* retirei A*/
.button_recon input button {
    color: #fff;
    /*background-color: #004177;  #5cb85c;*/
    /*border-color: #004177;   #4cae4c */
    display: inline-block;
    padding: 6px 12px;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    /*border-radius: 4px;*/
    /*height: 32px;*/
}



.button_recon:hover {
    background-color: #008CBA;
    border-color: #008CBA;
    color: white;
}




/* configuracao menus*/

.config-box {
    border-radius: 8px;
    min-height: 40px;
    max-height: 40px;
    min-width: 40px;
    max-width: 40px;
    /*position: fixed;*/
    /*top: 30%;
    left: 45%;*/
    /*margin-top: -50px;
    margin-left: -100px;*/
    background-color: #F2F2F2;
    padding: 40px;
    margin: 20px;
    /*padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;*/
    width: 100%;
    /*height: 30px;
    border: 1px solid black;*/
    display: flex;
    align-items: center;
    justify-content: center;
}



/* tooltip */

.tooltip {
    position: relative;
    display: inline-block;
}

    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        /* Position the tooltip */
        position: absolute;
        z-index: 1;
        top: -5px;
        left: 105%;
    }

    .tooltip .tooltiptextright {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        /* Position the tooltip */
        position: absolute;
        z-index: 1;
        top: -5px;
        right: 105%;
    }

    .tooltip:hover .tooltiptext {
        visibility: visible;
    }

    .tooltip:hover .tooltiptextright {
        visibility: visible;
    }




.grid-form-dados {
    display: grid;
    z-index: 99;
    grid-template-columns: 500px 500px 100px;
    grid-gap: 0.3em 0.6em;
    margin-left: 50px;
}



    .grid-form-dados > div {
        display: grid;
        /*display: flex;*/
        align-items: baseline;
        max-height: 300px;
        /*max-width: 34%;*/
        /*         grid-template-columns: [labels] auto [controls] auto; */
        grid-template-columns: [labels] 110px [controls] 360px;
        grid-template-rows: auto; /* 1fr 1fr 1fr 1fr 1fr 1fr 1fr; */
        grid-row-gap: 0ch; /*teste*/
        grid-auto-flow: row;
        grid-gap: .8em;
        background: white; /* #bee57a;*/
        padding: 1.2em;
        /*border: dotted;*/
    }

    .grid-form-dados > label {
        grid-column: labels;
        grid-row: auto;
    }

    .grid-form-dados > input,
    .grid-form-dados > select,
    .grid-form-dados > multiple,
    .grid-form-dados > .chosen-select,
    .grid-form-dados > ui-state-default,
    .grid-form-dados > .dd-select,
    .grid-form-dados > textarea {
        grid-column: controls;
        grid-row: auto;
        width: inherit;
        max-width: 300px;
        min-width: 300px;
    }

    .grid-form-dados > button {
        clear: inherit;
        /*grid-column: span 2;*/
    }


/* TODO */
SELECT.form-dados-control.control-select {
    border: 1px solid #F2F2F2; /* #cdcdcd; */
    font-family: Calibri, Tahoma, sans-serif;
    font-size: 12px;
    padding: 4px;
    margin: 0 0 15px 0;
    max-height: 26px; /* porque o grid pode aumentar */
}


.OFFform-dados-control > div > label {
    border: 1px solid #F2F2F2; /* #cdcdcd; */
    font-family: Calibri, Tahoma, sans-serif;
    font-size: 12px;
    padding: 5px;
    margin: 1px 1px 5px 5px;
    letter-spacing: 1px;
    width: 160px;
    max-height: 13px; /* porque o grid pode aumentar */
}

/* ON-GOING*/
INPUT.form-dados-control {
    border: 1px solid var(--bg-color); /*  #F2F2F2; */ /* #cdcdcd; */
    font-family: Calibri, Tahoma, sans-serif;
    font-size: 12px;
    padding: 5px;
    margin: 1px 1px 5px 5px;
    letter-spacing: 1px;
    width: 160px;
    max-height: 13px; /* porque o grid pode aumentar */
}

SPAN.form-dados-control {
    /*border: 1px solid var(--bg-color);*/
    font-family: Calibri, Tahoma, sans-serif;
    font-size: 12px;
    padding: 5px;
    margin: 1px 1px 5px 5px;
    letter-spacing: 1px;
    width: 160px;
    max-height: 13px; /* porque o grid pode aumentar */
}


SELECT.form-dados-control {
    border: 1px solid var(--bg-color); /* #F2F2F2; */ /* #cdcdcd; */
    font-family: Calibri, Tahoma, sans-serif;
    font-size: 12px;
    padding: 5px;
    margin: 1px 1px 5px 5px;
    width: 160px;
    max-height: 26px; /* porque o grid pode aumentar */
}


TEXTAREA.form-dados-control {
    border: 1px solid var(--bg-color); /* #F2F2F2; */ /* #cdcdcd; */
    font-family: Calibri, Tahoma, sans-serif;
    font-size: 12px;
    padding: 5px;
    margin: 1px 1px 5px 0px;
    /*width: 330px;*/
    max-width: 330px;
    min-width: 330px;
    /*height: 160px;*/
    max-height: 160px;
    min-height: 160px;
}

    TEXTAREA.form-dados-control[readonly] {
        background-color: var(--bg-color); /* #F2F2F2; */
    }


INPUT.form-dados-control.long {
    width: 90%;
}


SELECT.form-dados-control.long {
    width: 93%;
}





/* jquery ui */
/*.ui-dropdownchecklist {
    height: 20.5px;
    border: 1px solid #ddd;
    border-right: 0;
}*/
/*.ui-dropdownchecklist-hover, .ui-dropdownchecklist-active {
    background-image: url(dropdown_hover.png);
    border-color: #5794bf;
}*/
/*
.ui-dropdownchecklist-text {
    font-size: 14px;
    height: 20.5px;
    line-height: 20.5px;
    margin-right: 17px;
    color: black;
    font-weight: normal;
    font-style: normal;
    background: white;
}*/
.ui-dropdownchecklist-dropcontainer {
    background-color: #fff;
    /*border: 1px solid #ff5b5b;*/
}

/*.ui-dropdownchecklist-item {
}*/

/*.ui-dropdownchecklist-item-hover {
    background-color: #39f;
}*/

/*.ui-dropdownchecklist-item-disabled label {
    color: #39f;
}*/

/*.ui-dropdownchecklist-item-hover .ui-dropdownchecklist-text {
    color: #fff;
}*/

/*
.ui-dropdownchecklist-group {
    font-weight: normal;
    font-style: normal;
}

.ui-dropdownchecklist-indent {
    padding-left: 20px;
}
*/

.ui-widget-content {
    background-color: #ffffff;
    background-image: none;
}


.ui-dialog .ui-dialog-buttonpane button {
    padding: 5px;
    margin: .5em .4em .5em 0;
    cursor: pointer;
}





/* breadcumb display de estados */


.steps {
    background: white;
    padding: 1px 0;
    overflow: hidden;
}

    .steps ul, .steps li {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .steps ul {
        float: left;
    }

    .steps li {
        float: left;
        /*width: 200px;*/
        width: auto;
        min-width: 150px;
    }

        .steps li a {
            display: block;
            padding: 15px 20px;
            background: #ffffff; /*#d0d0d0;*/
            color: #000000;
            line-height: 1.5em;
            text-decoration: none;
            cursor: default;
        }

            .steps li a strong {
                font-size: 2em;
            }

            .steps li a:hover {
                background: #666;
            }

        .steps li.step, .steps li.step a {
            position: relative;
            z-index: 8;
        }

        .steps li.step-2, .steps li.step-2 a {
            z-index: 7;
        }

        .steps li.step-3, .steps li.step-3 a {
            z-index: 6;
        }

        .steps li.step-4, .steps li.step-4 a {
            z-index: 5;
        }

        .steps li.step-5, .steps li.step-5 a {
            z-index: 4;
        }

        .steps li.step-6, .steps li.step-6 a {
            z-index: 3;
        }

        .steps li.step-7, .steps li.step-7 a {
            z-index: 2;
        }

        .steps li.step-8, .steps li.step-8 a {
            z-index: 1;
        }

        .steps li.step-9, .steps li.step-9 a {
            z-index: 0;
        }

            .steps li.step-1 a, .steps li.step-2 a, .steps li.step-3 a, .steps li.step-4 a, .steps li.step-5 a, .steps li.step-6 a, .steps li.step-7 a, .steps li.step-8 a, .steps li.step-9 a {
                background: transparent url('../images/step.png') center right no-repeat;
                padding-right: 25px;
            }

            .steps li.step-2, .steps li.step-3, .steps li.step-4, .steps li.step-5, .steps li.step-6, .steps li.step-7, .steps li.step-8, .steps li.step-9 a {
                margin-left: -30px;
            }

                .steps li.step-2 a {
                    padding-left: 45px;
                }

                .steps li.step-3 a {
                    padding-left: 45px;
                }

                .steps li.step-4 a {
                    padding-left: 45px;
                }

                .steps li.step-5 a {
                    padding-left: 45px;
                }

                .steps li.step-6 a {
                    padding-left: 45px;
                }

                .steps li.step-7 a {
                    padding-left: 45px;
                }

                .steps li.step-8 a {
                    padding-left: 45px;
                }

            .steps li.step-9 a {
                padding-left: 45px;
            }


        /* estado final */
        .steps li.step-6 a {
            padding-left: 45px;
            padding-right: 10px;
            /*background-position: center left; retirei 2020-01*/
        }



        /* retirei 2020-01
                    
                    .steps li.step-6 a:hover {
                    background-position: center left;
                }*/





        /*background-color: brown;*/
        /*.li.estado > a {
  
    background: transparent url('../images/step_over.png') center right no-repeat;
}*/
        /*
.steps li.step a:hover
    */

        .steps li.step estado > a {
            /*background-color: brown;*/
            /*background: transparent url('../images/step_over.png') center right no-repeat;*/
        }

li.step.step-1.estado > a {
    background: transparent url('../images/step_over.png') center right no-repeat;
}

li.step.step-2.estado > a {
    /*background-color: brown;*/
    background: transparent url('../images/step_over.png') center right no-repeat;
}

li.step.step-3.estado > a {
    background: transparent url('../images/step_over.png') center right no-repeat;
}

li.step.step-4.estado > a {
    background: transparent url('../images/step_over.png') center right no-repeat;
}

li.step.step-5.estado > a {
    background: transparent url('../images/step_over.png') center right no-repeat;
}

li.step.step-6.estado > a {
    background: transparent url('../images/step_over.png') center right no-repeat;
}

li.step.step-7.estado > a {
    background: transparent url('../images/step_over.png') center right no-repeat;
}

li.step.step-8.estado > a {
    background: transparent url('../images/step_over.png') center right no-repeat;
}

li.step.step-9.estado > a {
    background: transparent url('../images/step_over.png') center right no-repeat;
}

.flex-container {
    display: flex;
    flex-direction: row;
}







/* confirmar: deixou de ser usado */

.grid-form-reg {
    display: grid;
    grid-template-columns: 550px 550px;
    grid-gap: 0.3em 0.6em;
    margin-left: 50px;
}

    .grid-form-reg > div {
        display: grid;
        max-height: 300px;
        grid-template-columns: 360px;
        grid-template-rows: auto;
        grid-row-gap: 0ch; /*teste*/
        grid-auto-flow: row;
        grid-gap: .8em;
        background: white;
        padding: 1.2em;
        /*border:dashed;
        border-color: red;*/
    }




.grid-form-registos {
    display: grid;
    grid-template-columns: 490px 490px;
    grid-gap: 0.3em 0.6em;
    margin-left: 50px;
}

    .grid-form-registos > div {
        display: grid;
        align-items: baseline;
        max-height: 300px;
        grid-template-columns: 480px /*  [labels] 120px [controls] 360px;   */
        grid-template-rows: auto;
        grid-row-gap: 0ch; /*teste*/
        grid-auto-flow: row;
        grid-gap: .1em;
        background: white;
        padding: 1.2em;
        /*border:dotted;
        border-color:blue;*/
    }


/* despachos */



.grid-form-despachos {
    display: grid;
    grid-template-columns: 490px 490px;
    grid-gap: 0.3em 0.6em;
    margin-left: 50px;
    min-height: 230px;
    max-height: 300px;
}

    .grid-form-despachos > div {
        display: grid;
        align-items: baseline;
        /*min-height: 300px;*/
        max-height: 300px;
        grid-template-columns: 480px /*  [labels] 120px [controls] 360px;   */
        grid-template-rows: auto;
        grid-row-gap: 0ch; /*teste*/
        grid-auto-flow: row;
        grid-gap: .1em;
        background: white;
        /*padding: 1.2em;*/
        /*border:dotted;
        border-color:blue;*/
    }

        .grid-form-despachos > div > div {
            display: grid;
            align-items: initial;
            max-height: 100px;
            grid-template-columns: [labels] 120px [controls] 360px;
            grid-template-rows: auto;
            grid-row-gap: 0ch; /*teste*/
            grid-auto-flow: row;
            grid-gap: .1em;
            background: white;
            /*padding: 1.2em;*/
            /*border:dotted;
        border-color:blue;*/
        }


/*  parecer */




.grid-form-parecer {
    display: grid;
    grid-template-columns: 360px 360px 360px;
    /*grid-template-columns: 450px 450px 450px;*/
    grid-gap: 0.3em 0.6em;
    margin-left: 50px;
}


    .grid-form-parecer > div {
        display: grid;
        align-items: baseline;
        max-height: 300px;
        grid-template-columns: [labels] 90px [controls] 270px;
        /*grid-template-columns: [labels] 90px [controls] 340px;*/
        grid-template-rows: auto;
        grid-row-gap: 0ch; /*teste*/
        grid-auto-flow: row;
        grid-gap: .8em;
        background: white;
        padding: 1.2em;
    }

    .grid-form-parecer > label {
        grid-column: labels;
        grid-row: auto;
    }

    .grid-form-parecer > input,
    .grid-form-parecer > select,
    .grid-form-parecer > multiple,
    .grid-form-parecer > .chosen-select,
    .grid-form-parecer > ui-state-default,
    .grid-form-parecer > .dd-select,
    .grid-form-parecer > textarea {
        grid-column: controls;
        grid-row: auto;
        width: inherit;
        max-width: 240px;
        min-width: 240px;
        /*max-width: 300px;
        min-width: 300px;*/
    }

    .grid-form-parecer > button {
        clear: inherit;
    }


.merge-grid-parecer { /* 2018-12-18 */
    grid-column: span 2;
    display: grid;
    grid-template-columns: 360px;
    text-align: left;
}





/* ON-GOING*/
INPUT.form-parecer {
    border: 1px solid #F2F2F2; /* #cdcdcd; */
    font-family: Calibri, Tahoma, sans-serif;
    font-size: 12px;
    padding: 5px;
    margin: 1px 1px 5px 0px;
    letter-spacing: 1px;
    width: 160px;
    max-height: 13px; /* porque o grid pode aumentar */
}


SELECT.form-parecer {
    border: 1px solid #F2F2F2; /* #cdcdcd; */
    font-family: Calibri, Tahoma, sans-serif;
    font-size: 12px;
    padding: 5px;
    margin: 1px 1px 5px 5px;
    width: 160px;
    max-height: 26px; /* porque o grid pode aumentar */
}


TEXTAREA.form-parecer {
    border: 1px solid #F2F2F2; /* #cdcdcd; */
    font-family: Calibri, Tahoma, sans-serif;
    font-size: 12px;
    padding: 5px;
    margin: 1px 1px 5px 0px;
    /*width: 330px;*/
    max-width: 240px;
    min-width: 240px;
    /*height: 160px;*/
    max-height: 160px;
    min-height: 160px;
}

    TEXTAREA.form-parecer[readonly] {
        background-color: var(--bg-color); /*   #F2F2F2;   */
    }


INPUT.form-parecer.long {
    width: 240px;
}


SELECT.form-parecer.long {
    width: 93%;
}






.grid-form-parecer-info {
    display: grid;
    grid-gap: 0.3em 0.6em;
    margin-left: 50px;
}

    .grid-form-parecer-info > div {
        display: grid;
        align-items: baseline;
        max-height: 300px;
        /*grid-template-columns: [labels] 100px [controls] 340px;*/
        grid-template-columns: auto auto auto auto;
        grid-template-rows: auto;
        grid-row-gap: 0ch; /*teste*/
        grid-auto-flow: row;
        grid-gap: .1em;
        background: white;
        padding: 1.2em;
    }








/* comments */



.grid-form-popup {
    display: grid;
    grid-template-columns: 360px 360px 360px;
    /*grid-template-columns: 450px 450px 450px;*/
    grid-gap: 0.3em 0.6em;
    margin-left: 50px;
}


    .grid-form-popup > div {
        display: grid;
        /*align-items: baseline;*/
        max-height: 300px;
        grid-template-columns: [labels] 90px [controls] 270px;
        /*grid-template-columns: [labels] 90px [controls] 340px;*/
        grid-template-rows: auto;
        grid-row-gap: 0ch; /*teste*/
        grid-auto-flow: row;
        grid-gap: .8em;
        background: white;
        padding: 1.2em;
    }

    .grid-form-popup > label {
        grid-column: labels;
        grid-row: auto;
    }

    .grid-form-popup > input,
    .grid-form-popup > select,
    .grid-form-popup > multiple,
    .grid-form-popup > .chosen-select,
    .grid-form-popup > ui-state-default,
    .grid-form-popup > .dd-select,
    .grid-form-popup > textarea {
        grid-column: controls;
        grid-row: auto;
        width: inherit;
        max-width: 240px;
        min-width: 240px;
        /*max-width: 300px;
        min-width: 300px;*/
    }

    .grid-form-popup > button {
        clear: inherit;
    }








/* pagamentos */

.add-item {
    cursor: pointer;
}

.remove-item {
    cursor: pointer;
}




/* slots botoes decisao */



.anular {
    position: absolute;
    top: 168px;
    right: 20px;
    /*border:dotted;*/
    display: flex;
    flex-direction: row;
}

.slot-anular {
    position: absolute;
    top: 168px;
    right: 20px;
    /*border:dotted;*/
    display: flex;
    flex-direction: row;
}


.slot-certidao {
    position: absolute;
    top: 410px;
    right: 32px;
    width: 160px;
    /*border:dotted;*/
    display: flex;
    flex-direction: column;
}


/* bootstrap alerts sem bootstrap*/

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-primary {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}


.spinner {
    text-align: center;
    margin-top: 20px;
}

/*  give att */



/*.buttons-container {
    font-size: 24px;
    margin: 4em auto 0;
    text-align: center;
}

button {
    background: orange;
    border: 6px solid #eee;
    border-radius: 1em;
    color: #fff;
    font-size: 24px;
    padding: 0.5em 1em;
    margin: 0.25em 0;
    min-width: 7em;
    max-width: 500px;
    height:120px;
}



.fade {
    animation: fade 1s 3.5s forwards;
}


@keyframes fade {
    25% {
        opacity: 0.25;
    }

    50% {
        opacity: 1;
    }

    75% {
        opacity: 0.25;
    }

    100% {
        opacity: 1;
    }
}



.sheen {
    position: relative;
    overflow: hidden;
}

    .sheen:after {
        animation: sheen 1s 4s forwards;
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5) 50%, transparent);
        transform: rotateZ(60deg) translate(-1em, 4em);
    }




@keyframes sheen {
    100% {
        transform: rotateZ(60deg) translate(0, -4em);
    }
}


.waggle {
    animation: waggle 1s 3s forwards ease-out;
}

@keyframes waggle {
    0% {
        transform: none;
    }

    50% {
        transform: rotateZ(-20deg) scale(1.2);
    }

    60% {
        transform: rotateZ(25deg) scale(1.2);
    }

    67.5% {
        transform: rotateZ(-15deg) scale(1.2);
    }

    75% {
        transform: rotateZ(15deg) scale(1.2);
    }

    82.5% {
        transform: rotateZ(-12deg) scale(1.2);
    }

    85% {
        transform: rotateZ(0) scale(1.2);
    }

    100% {
        transform: rotateZ(0) scale(1);
    }
}*/
