﻿i.button{
    font-size: 38px;
    padding-top: 10px;
    color: darkcyan;
}

select{
  width:200px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

input[disabled],div.disabled,textarea[disabled]{
    opacity: 0.8 !important;
    background-color: rgb(243,236,236) !important;
}

div.diaSemana{
    width: calc(14.11%);
    min-width: 150px;
    min-height: 500px;
    float:left;
    margin-left: 1px;
    margin-right: 1px;
    border: 1px solid;
    border-color:darkgray;
}

div.diaSemana > a{
    text-align:center;
    display: block;
    padding-top: 3px;
    padding-bottom: 3px;
    background-color: cadetblue;
    color: black;
}

div.reserva{
    text-align:center;
    margin:3px;
    margin-bottom:5px;
    cursor: pointer;
    background-color:darkturquoise; /* deepskyblue */
}

div.reserva.cancelada{
    background-color:brown;
}

div.reserva.confirmada{
    background-color:chartreuse;
}

div.reserva.desmarcada{
    background-color:chocolate;
}

div.reserva.naoCompareceu{
    background-color:darkgrey;
}

div.reserva div.retorno {
    width: 7px;
    height: 7px;
    position: absolute;
    font-weight: bold;
    background-color: white;
    /*border-radius: 50px;
    margin-top: -2px;
    margin-left: -2px;*/
}

div.reserva > a{
    margin: 5px;
    line-height:inherit;
    cursor: pointer;
    padding-top: 4px;
    padding-bottom: 4px;
    display: block;
    color: black;
}

.ui.menu .active.item {
    background: darkcyan;
}

.ui.menu .active.item:hover, .ui.vertical.menu .active.item:hover {
    background-color: lightseagreen !important;
}

.ui.pointing.menu .active.item:hover:after,
.ui.pointing.menu .active.item:after {
    background-color: darkcyan !important;
}

.ui.form div.ui.dropdown, .ui.form select.ui.dropdown, .ui.form input:not([type]), .ui.form input[type=date], 
.ui.form input[type=datetime-local], .ui.form input[type=email], .ui.form input[type=file],
.ui.form input[type=number], .ui.form input[type=password], .ui.form input[type=search],
.ui.form input[type=tel], .ui.form input[type=text], .ui.form input[type=time], .ui.form input[type=url] {
    border: 1px solid rgb(200,200,200);
}

#divCadastrarAssociados,#divCadastrarDependentes,#divCadastrarFerias,
#divCadastrarFaltas,#divCadastrarFeriados,#divCadastrarVeiculo, 
#divCadastrarMotorista,#divCadastrarUsuarios,#divCadastrarGrupos,
#divCadastrarUnidades,#divCadastrarAgendamentos,#divCadastrarRetornos,#divOperacoesAgendamento,
#divConfCancAgendamento,#divCadastrarObitos{
    position: absolute;
    background-color: white;
    width: 500px;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid cadetblue;
    z-index: 1500;
}

#divCadastrarUnidades{
    width: 700px;
}

#divOperacoesAgendamento{
    width: 400px;
}

#divCadastrarGrupos{
    width: 410px;
}

input[type="checkbox"],div.checkbox label {
    cursor: pointer !important;
}

#divDependentes,#divListaFuncionarios,#divListaDependentes,#divBuscaAssociados{
    position: absolute;
    width: 750px;
    min-height: 100px;
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid cadetblue;
    z-index: 1500;
}

#divCadastrarDependentes,#divListaFuncionarios,#divListaDependentes,#divBuscaAssociados {
    z-index: 2500;
}

/*#divListaFuncionarios{
    min-height: 100px;
}*/

td.regAtivo{
    font-weight: bold;
    color: green;
}

td.regInativo{
    font-weight: bold;
    color:red;
}

div.titulo{
    background-color: cadetblue;
    margin-top: -15px;
    margin-bottom: 8px;
    margin-left: -15px;
    margin-right: -15px;
    text-align: center;
    font-weight: 700;
    padding: 5px;
}

div.fields div.field{
    width: 50%;
    float: left;
    clear: none;
}

table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: auto;
}

table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}

table tr {
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: .35em;
}

table tbody tr:nth-child(odd) {
    background-color: white;
}

table thead tr {
    background-color: rgb(170, 170, 170);
}


table th, table td {
    padding: .625em;
    text-align: center;
}

table th {
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
}

div.agenda{
    min-height: 100px;
    width: 715px;
    /*margin: 0 auto;*/
    margin-top: 10px;
    display: table;
}
div.agenda div.linha div{
    padding: 5px;
    height: 30px;
    border: 1px solid darkgray;
    margin-top: 5px;
}
div.agenda div.data{
    width: 85px;
    float: left;
    margin-left: 5px;
}
div.agenda div.horarios{
    width: 100px;
    float: left;
    margin-left: 5px;
    text-align: center;
}
div.agenda div.protocolo{
    min-width: 90px;
    float: left;
    font-weight: bold;
    background-color: gainsboro;
}
div.agenda div.destino{
    min-width: 410px;
    float: left;
    font-weight: bold;
    background-color: gainsboro;
    margin-left: 5px;
}
div.agenda div.endereco{
    width: 700px;
    min-height: 30px !important;
    float: left;
    display: table;
}
div.agenda div.telefones{
    width: 400px;
    float: left;
}

@media screen and (max-width: 600px) {

    /*  $("#divDependentes").detach().appendTo("body");        
        #divConteudo,#divCorpoConteudo, #divCadastrarAssociados,#divDependentes {
        margin: 0px !important;
        top:0px !important;
        left: 0px !important;
        width: 100%;
        height: 100%;
        border: 0px;
        border-radius: 0px;
    }*/

    div.bloco1, div.bloco2{
        border: none;
    }

    div.fields div.field{
        width: 100% !important;
    }

    div.divAcoes{
        margin-top: 13px;
    }

    #btnAdicionarAssociado,div.input{
        width: 100% !important;
    }

    #divConteudo, #divCorpoConteudo, div.telas {
        width: 100% !important;
        height: 100%;
        border: 0px !important;
        border-radius: 0px !important;
        top: 0px !important;
        left: 0px !important;
        padding: 0 5px;
    }

    table {
        border: 0;
    }

    table caption {
        font-size: 1.3em;
    }

    table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
    }

    table td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    table td:last-child {
        border-bottom: 0;
    }
}
