/* ------ ESTILO PARA FORMULÁRIOS CONFORME VIEWPORT ------ */

@import url("central-style.css");

/* CONTROLA O FULL SCREEN */

@media all and (min-width:760px) {
  /*.formulario {
    width: 80%;
    display: inline-block;
    margin: 10px auto 15px auto;
    padding: 15px;
    line-height: 22px;
    text-align: left;
    border-radius: 7px;
    -webkit-box-shadow: 0 8px 10px 1px rgba(000, 000, 000, 0.3);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  }*/
  /*input[type="text"], textarea, select {
    display: inline-block;
    padding: 7px;
    font-size: 0.8em;
    font-family: sans-serif;
    margin: 5px;
    background: #efe;
    border: #ccc 1px solid;
    border-radius: 7px;
    -webkit-box-shadow: 0 5px 7px 1px rgba(000, 000, 000, 0.2);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    -webkit-transition: all 0.2s ease-out 0.2s;
    -moz-transition: all 0.2s ease-out 0.2s;
    transition: all 0.2s ease-out 0.2s;
  }*/
  input[type="text"]:hover, textarea:hover, select:hover {
    background: #fff;
  }
  input[type="text"] {
    height: 40px !important;
  }
  select {
    height: 40px !important;
  }
  textarea {
    width: 95%;
    height: auto;
  }
  textarea:hover {
    height: auto;
  }
  /* Controla a Tabela ou Grid */
  .tableGrid {
    width: 85%;
    padding: 5px;
    display: block;
    margin: 10px auto 15px auto;
    line-height: 22px;
    border: #CCC 1px solid;
    border-radius: 4px;
  }
  /* Controla cada linha gerada */
  .trGrid {
    width: 99%;
    display: inline-block;
    height: 36px;
    position: relative;
    white-space: nowrap;
    direction: ltr;
    overflow: hidden;
    text-overflow: clip;
    border-bottom: #EEE 1px solid !important;
  }
  .thGrid {
    width: 99%;
    display: inline-block;
    height: 30px;
    white-space: nowrap;
    direction: ltr;
    overflow: hidden;
    text-overflow: clip;
    padding: 6px;
    background-color: chocolate;
    color: #FFF;
    font-size: 18px;
  }
  /* Controle para as células (blocos) */
  .thGridId, .tdGridId {
    width: 5%;
    display: inline-block;
    padding-left: 10px;
  }
  .thGridNome, .tdGridNome {
    width: 25%;
    display: inline-block;
    border-left: #FFF 1px solid;
    padding-left: 10px;
  }
  .thGridInfo, .tdGridInfo {
    width: 30%;
    display: inline-block;
    border-left: #FFF 1px solid;
    padding-left: 10px;
  }
  .thGridInfo2, .tdGridInfo2 {
    width: 18%;
    display: inline-block;
    border-left: #FFF 1px solid;
    padding-left: 10px;
  }
  .thGridCmd, .tdGridCmd {
    width: 14%;
    display: inline-block;
    border-left: #FFF 1px solid;
    padding-left: 10px;
  }
  .tdGrid {
    white-space: nowrap;
    direction: ltr;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 6px;
    background-color: #fff;
    border-left: #EEE 1px solid;
    color: #333;
    font-size: 0.9em;
  }
  .blocoLabel {
    display: inline-block !important;
    padding: 5px;
    margin-right: 10px;
    margin-bottom: 15px;
  }
}


/* CONTROLA O HALF SCREEN */

@media all and (max-width:760px) and (min-width:460px) {
  /*.formulario {
    width: 80%;
    display: inline-block;
    margin: 7px auto 10px auto;
    padding: 10px;
    line-height: 22px;
    text-align: left;
    border-radius: 7px;
    -webkit-box-shadow: 0 8px 10px 1px rgba(000, 000, 000, 0.3);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  }*/
  /*input[type="text"], textarea, select {
    display: inline-block;
    padding: 7px;
    font-size: 0.8em;
    font-family: sans-serif;
    margin: 5px;
    background: #efe;
    border: #ccc 1px solid;
    border-radius: 10px;
    -webkit-box-shadow: 0 8px 10px 1px rgba(000, 000, 000, 0.3);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
    -webkit-transition: all 0.2s ease-out 0.2s;
    -moz-transition: all 0.2s ease-out 0.2s;
    transition: all 0.2s ease-out 0.2s;
  }*/
  input[type="text"]:hover, textarea:hover, select:hover {
    background: #fff;
  }
  input[type="text"] {
    height: 40px !important;
  }
  select {
    height: 40px !important;
  }
  textarea {
    width: 95%;
    height: auto;
  }
  textarea:hover {
    height: auto;
  }
  /* Controla a Tabela ou Grid */
  .tableGrid {
    width: 90%;
    padding: 5px;
    display: block;
    margin: 10px auto 15px auto;
    line-height: 22px;
    border: #CCC 1px solid;
    border-radius: 4px;
  }
  /* Controla cada linha gerada */
  .trGrid {
    width: 99%;
    display: inline-block;
    height: 36px;
    position: relative;
    white-space: nowrap;
    direction: ltr;
    overflow: hidden;
    text-overflow: clip;
  }
  .thGrid {
    width: 99%;
    display: inline-block;
    height: 30px;
    white-space: nowrap;
    direction: ltr;
    overflow: hidden;
    text-overflow: clip;
    padding: 6px;
    background-color: chocolate;
    color: #FFF;
    font-size: 18px;
  }
  /* Controle para as células (blocos) */
  .thGridId, .tdGridId {
    width: 5%;
    display: inline-block;
    padding-left: 10px;
  }
  .thGridNome, .tdGridNome {
    width: 25%;
    display: inline-block;
    border-left: #FFF 1px solid;
    padding-left: 10px;
  }
  .thGridInfo, .tdGridInfo {
    width: 30%;
    display: inline-block;
    border-left: #FFF 1px solid;
    padding-left: 10px;
  }
  .thGridInfo2, .tdGridInfo2 {
    width: 18%;
    display: inline-block;
    border-left: #FFF 1px solid;
    padding-left: 10px;
  }
  .thGridCmd, .tdGridCmd {
    width: 14%;
    display: inline-block;
    border-left: #FFF 1px solid;
    padding-left: 10px;
  }
  .tdGrid {
    display: inline-block;
    height: 30px;
    white-space: nowrap;
    direction: ltr;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: #eee;
    color: #333;
    font-size: 13px;
  }
  .blocoLabel {
    display: inline-block !important;
    padding: 5px;
    margin-right: 10px;
    margin-bottom: 15px;
  }
}


/* CONTROLA O MOBILE SCREEN */

@media all and (max-width:460px) {
  /*.formulario {
    width: 90%;
    display: inline-block;
    margin: 5px auto 8px auto;
    padding: 7px;
    line-height: 22px;
    text-align: left;
    border-radius: 5px;
    -webkit-box-shadow: 0 8px 10px 1px rgba(000, 000, 000, 0.3);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  }*/
  /*input[type="text"], textarea, select {
    display: inline-block;
    width: 95%;
    padding: 5px;
    font-size: 0.8em;
    font-family: sans-serif;
    margin: 4px;
    background: #efe;
    border: #ccc 1px solid;
    border-radius: 8px;
    -webkit-box-shadow: 0 8px 10px 1px rgba(000, 000, 000, 0.3);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
    -webkit-transition: all 0.2s ease-out 0.2s;
    -moz-transition: all 0.2s ease-out 0.2s;
    transition: all 0.2s ease-out 0.2s;
  }*/
  input[type="text"]:hover, textarea:hover, select:hover {
    background: #fff;
  }
  input[type="text"] {
    height: 40px !important;
  }
  select {
    height: 40px !important;
  }
  textarea {
    width: 95%;
    height: auto;
  }
  textarea:hover {
    height: auto;
  }
  /* Controla a Tabela ou Grid */
  .tableGrid {
    width: 98%;
    padding: 5px;
    display: block;
    float: none;
    margin: 6px auto 6px auto;
    line-height: 21px;
    border: #CCC 1px solid;
    border-radius: 4px;
  }
  /* Controla cada linha gerada */
  .thGrid {
    width: 99%;
    display: inline-block;
    position: relative;
    height: 27px;
    white-space: nowrap;
    direction: ltr;
    overflow: hidden;
    text-overflow: clip;
    background-color: chocolate;
    color: #FFF;
    font-size: 12px;
    border: #FFF 1px solid;
  }
  .trGrid {
    width: 99%;
    display: inline-block;
    position: relative;
    height: auto;
    white-space: nowrap;
    direction: ltr;
    overflow: hidden;
    text-overflow: clip;
  }
  /* Controle para as células (blocos) */
  .thGridId, .tdGridId {
    width: 10%;
    display: inline-block;
    padding-left: 5px;
    display: none;
  }
  .thGridNome, .tdGridNome {
    width: 40%;
    display: inline-block;
    /* border-left: #FFF 1px solid; */
    padding-left: 10px;
  }
  .thGridInfo, .tdGridInfo {
    width: 20%;
    display: inline-block;
    border-left: #FFF 1px solid;
    padding-left: 5px;
  }
  .thGridInfo2, .tdGridInfo2 {
    width: 18%;
    display: inline-block;
    border-left: #FFF 1px solid;
    padding-left: 5px;
    display: none;
  }
  .thGridCmd, .tdGridCmd {
    width: 28%;
    display: inline-block;
    border-left: #FFF 1px solid;
    padding-left: 5px;
  }
  .tdGrid {
    height: 22px;
    white-space: nowrap;
    direction: ltr;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: #eee;
    color: #333;
    font-size: 10px;
  }
  .blocoLabel {
    display: block;
    width: 100%;
    float: left;
    padding: 5px;
    margin-bottom: 15px;
  }
}


/* CARACTERÍSTICAS ADICIONAIS PARA BOTÕES */



input[type="radio"], input[type="checkbox"], .radio, .checkbox {
  display: inline-block;
  width: 20px !important;
  height: 20px !important;
}

.botao {
  display: inline-block;
  float: none;
  padding: 5px 10px 5px 10px;
  font-size: 1.1em;
  border-radius: 8px;
}

.btSubmit {
  border: none;
  background-color: #f50;
  color: #fff;
  padding: 10px;
  -webkit-box-shadow: 0 5px 7px 1px rgba(000, 000, 000, 0.2);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border-radius: 4px;
}

.btSubmit:hover {
  background-color: #f90 !important;
  color: #fff;
  -webkit-box-shadow: 0 7px 10px 1px rgba(000, 000, 000, 0.5) !important;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5) !important;
}

.btReset {
  border: none;
  background-color: #b00;
  color: #fff;
  padding: 10px;
  -webkit-box-shadow: 0 5px 7px 1px rgba(000, 000, 000, 0.2);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border-radius: 4px;
}

.btReset:hover {
  background-color: #f00;
  color: #fff;
  -webkit-box-shadow: 0 7px 10px 1px rgba(000, 000, 000, 0.5) !important;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5) !important;
}

.btVoltar {
  border: none;
  background-color: #999;
  color: #fff;
  padding: 10px;
  -webkit-box-shadow: 0 5px 7px 1px rgba(000, 000, 000, 0.2);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border-radius: 4px;
}

.btVoltar:hover {
  background-color: #ccc !important;
  color: #fff;
  -webkit-box-shadow: 0 7px 10px 1px rgba(000, 000, 000, 0.5) !important;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5) !important;
}


/* BOTÕES DE COMANDO */

.btEditar {
  display: inline-block;
  border: none;
  background-color: #666;
  background-image: url(../../img/icon_Edit_sdw_30.png);
  background-position: center;
  background-size: contain;
  color: #fff;
  width: 28px;
  height: 23px;
  border-radius: 5px;
  -webkit-box-shadow: 0 5px 7px 1px rgba(000, 000, 000, 0.2);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.btEditar:hover {
  background-color: #3c3;
  color: #fff;
  -webkit-box-shadow: 0 7px 10px 1px rgba(000, 000, 000, 0.5);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
}

.btExcluir {
  display: inline-block;
  border: none;
  background-color: #666;
  background-image: url(../../img/icon_Garbage_sdw_30.png);
  background-position: center;
  background-size: contain;
  color: #fff;
  width: 28px;
  height: 23px;
  border-radius: 5px;
  -webkit-box-shadow: 0 5px 7px 1px rgba(000, 000, 000, 0.2);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.btExcluir:hover {
  background-color: #f30;
  color: #fff;
  -webkit-box-shadow: 0 7px 10px 1px rgba(000, 000, 000, 0.5);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
}


/* BOTÃO LINK SAIR */

.btSair, a.btSair {
  border: none;
  border-radius: 3px;
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #b00;
  color: #fff;
  font-size: 0.6em !important;
  text-decoration: none;
  /* padding: 0 3px 3px 3px; */
  right: 15px;
  margin: 20px 25px auto 10px;
  -webkit-box-shadow: 0 5px 7px 1px rgba(000, 000, 000, 0.2);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.btSair:hover {
  background-color: #f00;
  color: #fff;
  font-weight: bold;
  -webkit-box-shadow: 0 7px 10px 1px rgba(000, 000, 000, 0.5);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
}
