/*Modal Predileta**********************/
@media (min-width: 0) {
  .modal-padrao .modal-dis {
    position: absolute;
    max-width: 600px;
    border: 1px solid #000;
    top: 0%;
    left: 0%;
  }

  .modal-padrao select {
    width: 100%;
    padding: 10px 0;
    border: 1px solid #999;
    font-weight: bold;
    font-size: 24px;
    text-indent: 5px;
  }

  .modal-dis .conteudo {
    margin-top: 10px;
  }

  .modal-dis .conteudo input[type="button"] {
    width: 100%;
    margin: 5px 0 0 0;
    padding: 5px 0;
  }
}

@media (min-width: 640px) {
  .modal-padrao .modal-dis {
    margin-left: -300px;
    top: 10%;
    left: 50%;
  }
}
/*Modal CNPJs**********************/
.modal-padrao .modal-cnpjs .conteudo {
  margin-top: 10px;
}

.modal-padrao .modal-cnpjs .fechar {
  height: 34px;
  padding-top: 5px;
}

.modal-padrao .modal-cnpjs h2 {
  font-weight: bold;
  font-size: 26px;
}

@media (min-width: 0) {
  .modal-padrao .modal-cnpjs {
    padding: 10px;
  }

  .modal-padrao .modal-cnpjs ul {
    list-style-type: none;
    padding: 10px;
    overflow: auto;
    height: 300px;
  }

  .modal-padrao #txt-busca {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .modal-padrao .modal-cnpjs {
    padding: 20px;
  }
}

.modal-padrao .modal-cnpjs li {
  padding: 0;
  border-bottom: 1px dotted #ccc;
  cursor: pointer;
  position: relative;
  display: table;
  width: 100%;
  line-height: 18px;
  font-size: 13px;
}

.modal-padrao #subordinados li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 8px;
}

#cont-empresa {
  padding: 15px 0;
}

.modal-padrao .modal-cnpjs .formalizado {
  top: 5px;
  right: 0;
  text-align: center;
  font-size: 18px;
  line-height: initial;
  border-radius: 20px;
  color: #fff;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#4a5a63+0,224884+100 */
  background: #4a5a63; /* Old browsers */
  background: -moz-linear-gradient(
    top,
    #4a5a63 0%,
    #224884 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    #4a5a63 0%,
    #224884 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    #4a5a63 0%,
    #224884 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4a5a63', endColorstr='#224884',GradientType=0 ); /* IE6-9 */
}

.modal-padrao .modal-cnpjs .formalizado.side {
  right: 80px;
  z-index: 9;
}

.modal-padrao .modal-cnpjs #empresas a {
  margin: 0 0 0 5px;
}

@media (min-width: 0) {
  .cont-formalizado {
    display: table;
  }

  .modal-cnpjs .btn-selecionar {
    padding: 4px 5px;
    font-size: 20px;
    font-weight: bold;
    background: #f9e120;
    background: -moz-linear-gradient(top, #f9e120 1%, #f7aa1d 100%);
    background: -webkit-linear-gradient(top, #f9e120 1%, #f7aa1d 100%);
    background: linear-gradient(to bottom, #f9e120 1%, #f7aa1d 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9e120', endColorstr='#f7aa1d',GradientType=0 );
    color: #000;
    border: 0;
    border: 1px solid #000;
    width: 100px;
    text-align: center;
    font-size: 16px;
    border-radius: 4px;
    position: relative;
    top: 2px;
  }

  ul#subordinados .btn-selecionar {
    display: table;
  }

  .sel-empresa a {
    display: table;
  }
}

@media (min-width: 768px) {
  .sel-empresa a {
    display: inline;
  }

  .modal-cnpjs .btn-selecionar {
    padding: 2px 2px;
    top: 0;
  }

  .cont-formalizado {
    display: inline;
  }

  .modal-cnpjs .btn-selecionar {
    float: right;
  }

  .modal-padrao .modal-cnpjs .nao-formalizado {
    float: right;
  }

  .modal-padrao .modal-cnpjs .form-consulta {
    float: right;
  }
}

@media screen and (min-width: 990px) {
  .modal-padrao .modal-cnpjs .formalizado.side {
    right: -34px;
    z-index: 9;
  }
}

@media (min-width: 0) {
  .modal-padrao .modal-cnpjs .ico-sinalizacao {
    width: 35px;
    height: 35px;
    padding-top: 5px;
    position: absolute;
    display: table;
  }

  .modal-padrao .modal-cnpjs .bloqueado {
    top: 6px;
    right: 40px;
    background: url("../img/icones/cnpj.png") no-repeat;
    background-size: 35px;
    text-indent: -9999px;
  }

  .modal-padrao .modal-cnpjs .vencido {
    top: 4px;
    right: 0px;
    width: 35px;
  }
}
/*@media(min-width: 768px){
    .modal-padrao .modal-cnpjs .ico-sinalizacao {
        position:relative;
        display:inline-table;
    }

}*/

.det-formalizado {
  position: absolute;
  top: 5px;
  right: 38px;
  padding: 2px 10px;
  background: #fff;
  border: 1px solid#ccc;
  border-radius: 10px;
  box-shadow: -5px 5px 5px #ccc;
  display: none;
}
/*.modal-padrao .modal-cnpjs .cont-formalizado:hover .det-formalizado*/
.modal-padrao .modal-cnpjs .cont-formalizado .det-formalizado {
  display: block;
}

.modal-cnpjs .busca input[type="text"] {
  text-indent: 5px;
  width: 100%;
}

.modal-cnpjs .busca .btn-lupa {
  width: 100%;
  color: #fff;
  font-weight: bold;
  text-indent: -99999px;
  border-radius: 3px;
  border: 1px solid #001b36;
  background: url(../img/icones/lupa.png) #2f4c77 50% 50% no-repeat;
  margin: 0 !important;
}
/*Atualização de cadastro**********************/
@media (min-width: 0) {
  .modal-cnpjs .cont-atualizar {
    width: 98.7%;
    border: 1px dotted red;
    margin: auto;
    padding: 10px 140px 10px 10px;
    background: #b20000;
    position: relative;
    top: 5px;
    color: #fff;
    line-height: 16px;
  }

  .modal-cnpjs .cont-atualizar a {
    color: #fff;
  }

  .modal-cnpjs .cont-atualizar img.carimbo {
    width: 140px;
    position: absolute;
    top: 5px;
    right: 0px;
  }

  .modal-cnpjs .porcentagem-cad strong {
    text-align: center;
    width: 100%;
    color: yellow;
  }
}

@media (min-width: 990px) {
  .modal-cnpjs .cont-atualizar img.carimbo {
    top: -10px;
    right: -140px;
  }
}

/*******************/
.modal-padrao .modal-cnpjs li:hover {
  background: #eee;
}

.modal-cnpjs li input[type="radio"] {
  border: 1px solid #000;
  margin-right: 5px;
  position: relative;
  top: 1px;
}

.modal-cnpjs .conteudo input[type="submit"] {
  width: 100%;
  margin: 5px 0 0 0;
  padding: 5px 0;
}
/*Padrão de botões modais************/
.modal-padrao input[type="button"] {
  width: 100%;
  padding: 5px 0px;
  font-size: 20px;
  font-weight: bold;
  background: #f9e120;
  background: -moz-linear-gradient(top, #f9e120 1%, #f7aa1d 100%);
  background: -webkit-linear-gradient(top, #f9e120 1%, #f7aa1d 100%);
  background: linear-gradient(to bottom, #f9e120 1%, #f7aa1d 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9e120', endColorstr='#f7aa1d',GradientType=0 );
  color: #000;
  border: 0;
  border: 1px solid #000;
}

.modal-padrao input[type="submit"] {
  width: 100%;
  padding: 5px 0px;
  font-size: 20px;
  font-weight: bold;
  background: #f9e120;
  background: -moz-linear-gradient(top, #f9e120 1%, #f7aa1d 100%);
  background: -webkit-linear-gradient(top, #f9e120 1%, #f7aa1d 100%);
  background: linear-gradient(to bottom, #f9e120 1%, #f7aa1d 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9e120', endColorstr='#f7aa1d',GradientType=0 );
  color: #000;
  border: 0;
  border: 1px solid #000;
  transition: all 0.3s;
}

.modal-padrao input[type="submit"]:hover {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f7aa1d+0,f9e120+99 */
  background: #f7aa1d; /* Old browsers */
  background: -moz-linear-gradient(top, #f7aa1d 0%, #f9e120 99%); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    #f7aa1d 0%,
    #f9e120 99%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    #f7aa1d 0%,
    #f9e120 99%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7aa1d', endColorstr='#f9e120',GradientType=0 ); /* IE6-9 */
  transition: all 0.3s;
}

.modal-padrao input {
  padding: 5px 0px;
  font-size: 18px;
  color: #000;
}

.modal-duplicatas .conteudo {
  max-height: 400px;
  overflow: auto;
  padding-right: 10px;
}

.modal-duplicatas thead {
  background: #00557b;
  color: #fff;
}

.modal-duplicatas td {
  height: 40px;
}

.modal-duplicatas tbody tr:nth-child(odd) {
  background: #eee;
}

.modal-duplicatas td:first-child {
  text-align: center;
}

/********************/
.modal-duplicatas ul.escolhas {
  font-size: 16px;
}

.modal-duplicatas ul.escolhas li {
  display: inline-table;
  margin-right: 10px;
}

.modal-duplicatas ul.escolhas label {
  padding-left: 2px;
}
/********************/
.modal-cnpjs .btn-sair-logout {
  width: 100%;
  padding: 5px 15px;
  font-size: 20px;
  font-weight: bold;
  color: #000;
  border: 1px solid #000;
  display: table;
  margin-top: 5px;
  /*text-align: right;*/
  position: relative;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,e5e5e5+100;White+3D */
  background: #ffffff; /* Old browsers */
  background: -moz-linear-gradient(
    top,
    #ffffff 0%,
    #e5e5e5 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    #ffffff 0%,
    #e5e5e5 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #e5e5e5 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
}

.modal-cnpjs .btn-sair-logout:hover {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#e5e5e5+0,ffffff+100 */
  background: #e5e5e5; /* Old browsers */
  background: -moz-linear-gradient(
    top,
    #e5e5e5 0%,
    #ffffff 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    #e5e5e5 0%,
    #ffffff 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    #e5e5e5 0%,
    #ffffff 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

.modal-cnpjs .btn-sair-logout .ico {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 8px;
  right: 5px;
  background: url(../img/icones/sair_porta.png) no-repeat;
  background-size: 20px;
}

.modal-cnpjs .btn-sair-logout:hover {
  color: #000;
  text-decoration: none;
}
/************************/
@media (min-width: 0) {
  .modal-cnpjs ul.escolha-sub {
    width: 100%;
    margin: auto;
    height: auto !important;
  }

  .modal-cnpjs ul.escolha-sub h2 {
    color: #000;
  }

  .modal-cnpjs ul.escolha-sub h2 {
    text-align: center;
    margin: 0;
  }

  .modal-cnpjs ul.escolha-sub li.item {
    display: inline-table;
    margin-right: 10px;
    border: 0;
    padding: 10px 10px 10px 10px;
  }

  .modal-cnpjs ul.escolha-sub li.item:hover {
    background: none;
  }
}

@media (min-width: 768px) {
  .modal-cnpjs ul.escolha-sub {
    width: 70%;
  }

  .modal-cnpjs ul.escolha-sub li {
    width: auto !important;
  }
}

.modal-cnpjs ul.escolha-sub a {
  width: 100%;
  padding: 10px 20px;
  display: table;
  text-align: center;
  background: #ffffff;
  background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%);
  background: -webkit-linear-gradient(top, #ffffff 0%, #e5e5e5 100%);
  background: linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 );
  color: #000;
  font-size: 16px;
  border: 1px solid #ccc;
  box-shadow: 0px 0px 20px #ccc;
  border-radius: 10px;
}

.modal-cnpjs .cnpj-razao {
  display: none;
}

.modal-cnpjs .representante {
  display: none;
}

.modal-cnpjs .listagem h2 {
  background: #003775;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  padding: 5px;
  text-align: center;
}

.modal-cnpjs .listagem span {
  display: block;
  font-weight: bold;
  font-size: 16px;
}

.modal-cnpjs .listagem .btn-lupa {
  background: url(../img/icones/lupa.png) #2e96a8 50% 50% no-repeat;
}

ul#subordinados .btn-selecionar {
  padding: 4px 5px;
  font-size: 20px;
  font-weight: bold;
  background: #f9e120;
  background: -moz-linear-gradient(top, #f9e120 1%, #f7aa1d 100%);
  background: -webkit-linear-gradient(top, #f9e120 1%, #f7aa1d 100%);
  background: linear-gradient(to bottom, #f9e120 1%, #f7aa1d 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9e120', endColorstr='#f7aa1d',GradientType=0 );
  color: #000;
  border: 0;
  border: 1px solid #000;
  width: 100px;
  text-align: center;
  font-size: 16px;
  border-radius: 4px;
  position: relative;
  top: 2px;
}
/**modal-televendas*/
.modal-televendas h2 {
  background: #2e96a8;
  background: -moz-linear-gradient(top, #2e96a8 0%, #178092 100%);
  background: -webkit-linear-gradient(top, #2e96a8 0%, #178092 100%);
  background: linear-gradient(to bottom, #2e96a8 0%, #178092 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2e96a8', endColorstr='#178092',GradientType=0 );
  padding: 5px 0;
  color: #fff;
  text-indent: 10px;
}

.modal-televendas #btn-busca {
  background: url(../img/icones/lupa.png) #2e96a8 50% 50% no-repeat;
  text-indent: -99999999px;
}

.modal-padrao .modal-cnpjs .modal-televendas li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 8px;
}

ul#subordinados {
  height: 160px;
}

.btn-confirmar-sms {
  color: #fff;
}

.btn-confirmar-sms:hover {
  color: #fff;
  text-decoration: underline;
}

.btn-confirmar-sms:visited,
.btn-confirmar-sms:active {
  color: #fff;
}

@media screen and (min-width: 1024px) {
  .modal-padrao .modal-cnpjs .modal-televendas li {
    padding: 12px;
  }
}

/**********************/
@media (min-width: 0) {
  .menu-list-clientes {
    text-align: center;
  }

  .menu-list-clientes a {
    display: inline-table;
    margin: 0px;
    color: #000;
    border: 1px solid #ccc;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 10px;
    width: 40%;
    background: linear-gradient(180deg, #fdfdfd 14.71%, #dedede 100%), #e6e6e6;
    border-radius: 3px;
  }

  .menu-list-clientes a:hover {
    background: linear-gradient(0deg, #fdfdfd 14.71%, #dedede 100%), #e6e6e6;
  }

  .menu-list-clientes a.btn-ativo {
    color: #fff;
    background: #003775;
  }

  .modal-padrao .modal-cnpjs h4 {
    font-weight: bold;
    font-size: 20px;
    color: #003775;
    border-bottom: 1px dotted#ccc;
    padding-bottom: 5px;
  }

  .sel-empresa {
    width: 230px;
  }
}

@media (min-width: 768px) {
  .menu-list-clientes a {
    width: 30%;
  }

  .sel-empresa {
    width: auto;
    padding-right: 80px;
  }
}

/*Docs desatualizado********************/
@media (min-width: 0) {
  .modal-cnpjs .doc-desatualizado {
    background: #b62100;
    box-sizing: border-box;
    color: #fff;
    padding: 10px 10px 10px 40px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    position: relative;
    margin-top: 15px;
    line-height: 18px;
  }

  .modal-cnpjs .doc-desatualizado .ico {
    width: 20px;
    height: 26px;
    background: url("../img/icones/doc.png") no-repeat;
    background-size: contain;
    position: absolute;
    left: 8px;
    top: 5px;
  }

  .modal-cnpjs .doc-desatualizado p {
    margin: 0;
    font-weight: 100;
    letter-spacing: 0.3px;
  }

  .modal-cnpjs .doc-desatualizado a {
    color: #f2ca2d;
  }
}

@media (min-width: 990px) {
  .modal-cnpjs .doc-desatualizado {
    padding: 10px 7px 10px 95px;
    background: url(../img/bg_docs.png) no-repeat;
    background-position: 30px;
    box-shadow: none;
    border: 0;
    font-weight: bold;
    margin-top: 0;
  }

  .modal-cnpjs .doc-desatualizado .ico {
    left: 63px;
    top: 15px;
  }
}

.log-cidade {
  display: block;
  padding-left: 18px;
  font-size: 12px;
}

.log-cidade.esconde {
  display: none;
}