﻿
/******************************************************************************************************************/
/* OBJETOS ********************************************************************************************************/

body {
    background-color: whitesmoke;
}

input[type=number] {          
    text-align: center;
}

input[type=text], input[type=number] {
    background-color: white;
    padding: 0px 4px 0px 4px;
    -moz-border-radius: 0.25rem;
    -webkit-border-radius: 0.25rem;
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    outline: none;
    height: 30px;
    font-family: arial;
    font-size: 12pt;
}

    input[type=text]:hover, input[type=number]:hover {
        border: 1px solid darkgray !important;
        transition-property: border !important;
        transition-duration: 0.35s !important;
    }

    input[type=text]:focus, input[type=number]:focus {
        border: 1px solid #ced4da !important;
        box-shadow: inset 0px 0px 3px 0px #ced4da !important;
    }

input[type=submit] {
    -webkit-appearance: none;
    -moz-border-radius: 0.25rem; /* Para Firefox */
    -webkit-border-radius: 0.25rem; /*Para Safari e Chrome */
    border-radius: 0.25rem; /* Para IE e Opera 10.5+*/
    border: 0.5px solid #BABEC5;
    cursor: -webkit-pointer;
    cursor: pointer;
    outline: none;
    height: 30px;
    width: 140px;
    font-family: arial;
    font-size: 10pt;
}

    input[type=submit]:hover, input[type=submit]:focus {
        /* transform: scale(1.05); */
        background-color: #BABEC5;
        transition-property: border !important;
        transition-duration: 0.35s !important;
    }


input[type=image] {
    -webkit-appearance: none;
    -moz-border-radius: 0.25rem; /* Para Firefox */
    -webkit-border-radius: 0.25rem; /*Para Safari e Chrome */
    border-radius: 0.25rem; /* Para IE e Opera 10.5+*/
    border: none;
    cursor: -webkit-pointer;
    cursor: pointer;
    outline: none;
    text-align: center;
    color: #269abc;
}

    input[type=image]:hover, input[type=image]:focus {
        transform: scale(1.05);
        background-color: #BABEC5;
        transition-property: border !important;
        transition-duration: 0.35s !important;
    }


textarea {
    background-color: white;
    -moz-border-radius: 0.25rem;
    -webkit-border-radius: 0.25rem;
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    outline: none;
    font-family: arial;
    font-size: 12pt;
    resize: none;
}

    textarea:hover {
        border: 1px solid darkgray !important;
        transition-property: border !important;
        transition-duration: 0.35s !important;
    }

    textarea:focus {
        border: 1px solid #ced4da !important;
        box-shadow: inset 0px 0px 3px 0px #ced4da !important;
    }


fieldset {
    border: 1px solid lightgray;
    border-radius: 5px;
    padding: 5px 5px 5px 10px;
}

        fieldset legend {
            color: gray;
        }



/******************************************************************************************************************/
/* CLASSES PAGINAS PADRAO******************************************************************************************/

.cabecPagina {
    height: 60px;
    background-color: #e8e8e8;
    max-width: 1000px;
    margin: auto;
    padding: 10px;
    overflow: hidden;
    position: relative;
    background-image: url(https://cdn.softmed.app.br/imagens/logo-preto-horizontal.svg);
    background-size: 260px;
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 10px;
}

    .cabecPagina > div:first-child {
        background-color: #b91719;
        transform: skewX(-25deg);
        height: 55%;
        width: 50%;
        top: 0px;
        right: -30px;
        position: absolute;
        z-index: 2;
    }

    .cabecPagina > div:last-child {
        background-color: #ba6162;
        transform: skewX(-25deg);
        height: 55%;
        width: 50%;
        top: 5px;
        right: -20px;
        position: absolute;
        z-index: 1;
    }


.containerPagina {
    min-width: 330px;
    max-width: 1000px;
    margin: auto;
    overflow: auto;
    background-color: white;
    padding: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
}


@media (max-width: 500px) {

    .cabecPagina {
        background-size: 180px;
    }

        .cabecPagina > div:first-child {
            width: 40%;
        }

        .cabecPagina > div:last-child {
            width: 40%;
        }
}


/******************************************************************************************************************/
/* CLASSES ********************************************************************************************************/


.lblTitForm {
    font-family: Arial;
    font-size: 20pt;
    text-align: left;
    color: white;
    z-index: 2;
    left: 20px;
    top: 5px;
    position: absolute;
    width: auto;
    font-weight: bold;
    font-style: italic;
}

.imgTop {
    position: absolute;
    z-index: 1;
    left: 0px;
    top: 0px;
    height: 40px;
    width: 100%;
    border-style: none;
    background: no-repeat;
    background-size: 100%;
}

.imgFooter {
    position: absolute;
    z-index: 1;
    left: 0px;
    bottom: 0px;
    height: 40px;
    width: 100%;
    border-style: none;
    background: no-repeat;
    background-size: 100%;
}

.imgLogoFooter {
    z-index: 1;
    position: absolute;
    height: 39px;
    width: 90px;
    right: 5px;
    bottom: 1px;
    border-style: none;
    background: no-repeat;
    background-size: 90px 39px;
}

.fecharPag {
    text-decoration: none;
    font-family: Arial;
    background-color: whitesmoke;
    z-index: 2;
    right: 10px;
    top: 12px;
    position: absolute;
    width: 16px;
    height: 16px;
    font-size: 15px;
}


.modal {
    /*display: block !important;*/
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    background-color: white !important;
    z-index: 998 !important;
    opacity: 0.7 !important;
    filter: alpha(opacity=70) !important;
    -moz-opacity: 0.7 !important;
    height: 100% !important;
    width: 100% !important;
}

.modal2 {
    /*display: block !important;*/
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    background-color: white !important;
    z-index: 499 !important;
    opacity: 0.7 !important;
    filter: alpha(opacity=70) !important;
    -moz-opacity: 0.7 !important;
    width: 100% !important;
    height: 100% !important;
}

.loading {
    font-family: Arial;
    font-size: 10pt;
    border: none;
    width: 40px;
    height: 40px;
    display: none;
    position: fixed;
    z-index: 999;
    background: no-repeat;
    background-size: 40px 40px;
    background-image: url("images/loadingcircle.gif");
}


.data {
    text-align: center;
    width: 110px;
}

.calendario {
    z-index: 10000 !important;
}

#ui-datepicker-div {
    z-index: 10000 !important;
}

.txtboxValor {
    text-align: right;
}

.padRight {
    padding-right: 40px !important;
}


.lblCampos {
    color: black;
    font-family: Arial;
    font-size: 10pt;
    text-align: left;
}


.imgButton {
    -webkit-appearance: none;
    -moz-border-radius: 5px; /* Para Firefox */
    -webkit-border-radius: 5px; /*Para Safari e Chrome */
    border-radius: 5px; /* Para IE e Opera 10.5+*/
    border: none;
    cursor: -webkit-pointer;
    cursor: pointer;
    outline: none;
    text-align: center;
    color: #269abc;
}

    .imgButton:hover, .imgButton:focus {
        transform: scale(1.05);
        background-color: #BABEC5;
        transition-property: border !important;
        transition-duration: 0.35s !important;
    }


.spanBotaoProcura {
    background-color: whitesmoke;
    border: 1px solid #ced4da !important;
    height: 30px;
    width: 50px;
    text-align: center !important;
    border-radius: 0 0.25rem 0.25rem 0 !important;
}

    .spanBotaoProcura i, svg {
        margin-top: 5px;
        width: 23px;
        height: 23px;
        font-size: 20px;
    }

.txtProcura {
    border-radius: 0.25rem 0 0 0.25rem !important;
}


.btnDestaque {    
    background-color: #269abc !important;
    color: white !important;
    font-weight: bold;
    border: none;
    text-align: center;
    height: 35px;
}

    .btnDestaque:hover {
        background-color: #0c78a7 !important;
        color: white;
    }



.commandMenu {
    -webkit-appearance: none;
    -moz-border-radius: 5px; /* Para Firefox */
    -webkit-border-radius: 5px; /*Para Safari e Chrome */
    border-radius: 5px; /* Para IE e Opera 10.5+*/
    border: 0.5px solid #BABEC5;
    cursor: -webkit-pointer;
    cursor: pointer;
    outline: none;
    height: 30px;
    width: 140px;
    font-family: arial;
    font-size: 10pt;
}

    .commandMenu:hover, commandMenu:focus {
        transform: scale(1.05);
        background-color: #BABEC5;
        /*border: 2px solid darkgray !important;*/
        transition-property: border !important;
        transition-duration: 0.35s !important;
    }


.frame {
    -moz-border-radius: 5px; /* Para Firefox*/
    -webkit-border-radius: 5px; /* Para Safari e Chrome*/
    border-radius: 5px; /* Para IE e Opera 10.5+*/
    border: 0.5px solid lightgray;
    box-shadow: 0px 5px 8px 0px lightgray;
    font-family: Arial;
}



/******************************************************************************************************************/
/* CLASSES RESPONSIVO *********************************************************************************************/


.tblRow {
    display: flex;
    flex-wrap: wrap;
    /*border: 2px solid purple;*/
}

.tblCol {
    display: flex;
    flex-wrap: wrap;
    /*border: 2px solid blue;*/
    flex-grow: 1;
}

.tblCel {
    padding: 0 10px 5px 10px;
    /*border: 2px solid orange;*/
    flex-grow: 1;
}

.noGrow {
    flex-grow: 0;
}



.span12 {
    width: 100%;
    *width: 99.94680851063829%;
}

.span11 {
    width: 91.48936170212765%;
    *width: 91.43617021276594%;
}

.span10 {
    width: 82.97872340425532%;
    *width: 82.92553191489361%;
}

.span9 {
    width: 74.46808510638297%;
    *width: 74.41489361702126%;
}

.span8 {
    width: 65.95744680851064%;
    *width: 65.90425531914893%;
}

.span7 {
    width: 57.44680851063829%;
    *width: 57.39361702127659%;
}

.span6 {
    width: 48.93617021276595%;
    *width: 48.88297872340425%;
}

.span5 {
    width: 40.42553191489362%;
    *width: 40.37234042553192%;
}

.span4 {
    width: 31.914893617021278%;
    *width: 31.861702127659576%;
}

.span3 {
    width: 23.404255319148934%;
    *width: 23.351063829787233%;
}

.span2 {
    width: 14.893617021276595%;
    *width: 14.840425531914894%;
}

.span1 {
    width: 6.382978723404255%;
    *width: 6.329787234042553%;
}



/******************************************************************************************************************/
/* GRIDVIEW *******************************************************************************************************/

.mydatagrid {
    width: 100%;
}

.mydatagrid tr:nth-child(even) {
            background-color: #f7f7f7;
        }

.header {
    border-radius: 5px;
    -webkit-border-radius: 5px; /*Para Safari e Chrome */
    padding: 5px 8px;
    background-image: linear-gradient(#fff 5%, #eee 95%);
    font-family: Arial;
    color: #113A7B;
    font-size: 12px;
    height: 25px;
    text-align: left;
    position: sticky !important;
    top: 0;
}

    .header th {
        padding: 4px;
        /*border: 0.5px solid lightgray;*/
    }

        .header th > a {
            /*box-shadow: none !important;
            background-image: none !important;
            font-size: 12pt !important;
            color: black;*/

		text-decoration: none;
                font-family: 'Segoe UI';
                font-size: 12px !important;
                font-weight:bold;
                color: #113A7B !important;
        }
        

.headerPgr {
    top: 50px;
}

.rows {
    background-color: #fff;
    font-family: Arial;
    font-size: 11px;
    color: #000;
    height: 25px;
    border-bottom: 0.5px solid lightgray;
}

.rows td {
            /*border: 0.5px solid lightgray;*/
        }

.pager {
    /*border-radius: 5px;
    -webkit-border-radius: 5px; Para Safari e Chrome 
    font-family: Arial;
    font-size: 20px;
    color: White;*/
    background-color: #FBFBFF;
    height: 50px;
    align-content: center;    
    position: sticky !important;
    top: 0;
}

.pager table > tbody > tr > td {
            font-family: 'Segoe UI';
            display: inline-block;
        }
                    
            .pager table > tbody > tr > td > a,
            .pager table > tbody > tr > td > span {
                float: left;
                /*margin: -5px 0 -5px;*/
                padding: 8px 12px;
                text-decoration: none;
                font-weight: bold;
                color: #337ab7 !important;
                background-color: #ffffff;
                border: 1px solid #dddddd;
                margin-left: -3px;
            }

            .pager table > tbody > tr > td > span {
                color: #fff !important;
                background-color: #337ab7;
                border-color: #337ab7;
                cursor: default;
            }

            .pager table > tbody > tr > td:first-child > a,
            .pager table > tbody > tr > td:first-child > span {
                margin-left: -5px;
                border-bottom-left-radius: 4px;
                border-top-left-radius: 4px;
            }

            .pager table > tbody > tr > td:last-child > a,
            .pager table > tbody > tr > td:last-child > span {
                border-bottom-right-radius: 4px;
                border-top-right-radius: 4px;
            }

            .pager table > tbody > tr > td > a:hover,
            .pager table > tbody > tr > td > span:hover,
            .pager table > tbody > tr > td > a:focus,
            .pager table > tbody > tr > td > span:focus {
                color: #43525e;
                background-color: #eeeeee;
                border-color: #dddddd;
            }

.gvFooter {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: 5px 8px;
    background-image: linear-gradient(#fff 5%, #eee 95%);
    font-family: Arial;
    color: #113A7B !important;
    font-size: 12px;
    height: 30px;
    text-align: left;
    position: sticky !important;
    bottom: 0;
}

/*.mydatagrid a  FOR THE PAGING ICONS  {
    border-radius: 5px;
    -webkit-border-radius: 5px; 
    box-shadow: 0px 2px 5px -1px lightblue;
    padding: 5px 8px;
    background-image: linear-gradient(#fff 5%, #eee 95%);
    margin-left: 5px;
}

    .mydatagrid a:hover {
        font-size: 22px;
    }

.mydatagrid span {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    box-shadow: 0px 0px 5px 0px gray;
    color: #000;
    padding: 6px 8px;
    font-weight: bold;
    font-size: 22px;
    margin-left: 10px;
}*/




/*CLASSE PARA COLOCAR NOS BOTOES DO GRID, PARA QUE NAO ALTERE DE ACORDO COM O HOVER .mydatagrid a:hover*/
.btnGrid {
    box-shadow: none !important;
    background-image: none !important;
}


.hoverRows {
}

.pointerRows {
    cursor: pointer;
}

.hover_row {
    background-color: #ddd;
}


/******************************************************************************************************************/
/* Botoes em estilo "Menu" ****************************************************************************************/

.dropdown-add {
    -webkit-appearance: none;
    position: relative;
    display: inline-block;
}

.dropdown-content-add {
    -webkit-appearance: none;
    display: none;
    position: absolute;
    right: 0px;
    top: 26px;
    background-color: #f1f1f1;
    width: 100%;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2) !important;
    z-index: 1;
}


.dropdown-add:hover .dropdown-content-add {
    display: block;
}

.dropdownSub-add {
    -webkit-appearance: none;
    position: relative;
    display: inline-block;
}

.dropdownSub-content-add {
    -webkit-appearance: none;
    display: none;
    position: absolute;
    right: 0px;
    top: 26px;
    background-color: #f1f1f1;
    width: 100%;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2) !important;
    z-index: 1;
}


.dropdownSub-add:hover .dropdownSub-content-add {
    display: block;
}

.dropbtn {
    border: 1px solid gray;
    height: 45px;
    width: 100%;
    float: left;
}

.dropbtn-content {
    -webkit-appearance: none;
    outline: none;
    cursor: -webkit-pointer;
    cursor: pointer;
    background-color: #f3f3f3;
    border: none;
    height: 100% !important;
    width: 100% !important;
    float: left;
    font-family: Arial;
    font-size: 10pt;
}

    .dropbtn-content:hover {
        background-color: #ddd !important;
    }



/******************************************************************************************************************/
/* SCROLLBAR ******************************************************************************************************/

/* width */
::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

::-webkit-scrollbar-button {
    height: 0px;
    width: 0px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
    border: 0.5px solid lightgray;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: lightgray;
    border-radius: 5px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: gray;
    }

::-webkit-scrollbar-corner {
    height: 0px;
}



/******************************************************************************************************************/
/* CLASSES POPUP SOFTMED ******************************************************************************************/

#popupPagina {
    position: absolute;
    z-index: 100;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #ffffff;   
}

#divTit {
    width: 100%;
    padding: 5px 0 5px 0;
    background-color: white;
    display: inline-block;
    position: sticky;
    top: 0px;
    border-bottom: 1px solid whitesmoke;
    font-weight: bold;
    /*font-family: Lucida Grande,Lucida Sans,Arial,sans-serif;*/
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1.1em;
    line-height: 30px;
    color: #808080;
}

#divTit span {
    margin-left: 10px
}
    #divContPag {
    position: absolute;
    top: 45px;
    bottom: 1px;
    width: 100%;
    overflow: auto;
}


#ifrmPag {
    height: 100%;
    width: 100%;
}


#clspopupPag {
    height: 30px;
    width: 30px;
    float: right;
    margin-right: 5px;
    font-size: 30px;
    text-align: center;
    color: lightgrey;
}

    #clspopupPag:hover {
        cursor: pointer;
        background-color: whitesmoke;
    }

    #clspopupPag svg {
        margin: unset !important;
    }



/******************************************************************************************************************/
/******************************************************************************************************************/
@media only screen and (max-width: 480px) {

    body {
        background-size: 120px 120px;
        background-position: bottom 20px right 20px;
    }

    .inputBase {
        max-width: 100%;
    }

    .labelPadrao {
        display: none !important;
    }

    .labelPadraoNaoEsconde {
        display: block !important;
        font-size: 12px;
    }

    .labelEsconde {
        display: none !important;
    }

    .padding10 {
        padding: 10px;
        text-align: center;
    }

    .btnMenuPrincipal {
        font-size: 20px;
    }

    .btnMenuProcessos {
        font-size: 16px;
    }

    .imgMenuPrincipal {
        width: 70px;
    }
}
