
/************************************************ CSS DOS CHECKBOX ********************************************************/

  /* Customize the label (the container) */
  .container-checkbox {
    position: relative;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  /* Hide the browser's default checkbox */
  .container-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }

  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: white;
    box-shadow: 0px 0px 2px #3f3f3f;
  }

  /* On mouse-over, add a grey background color */
  .container-checkbox:hover input ~ .checkmark {
    background-color: white; 
  }

  /* When the checkbox is checked, add a blue background */
  .container-checkbox input:checked ~ .checkmark {
    background-color: #8cbcd6;
  }

  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }

  /* Show the checkmark when checked */
  .container-checkbox input:checked ~ .checkmark:after {
    display: block;
  }

  /* Style the checkmark/indicator */
  .container-checkbox .checkmark:after {
    left: 7px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }


/********************************************************* PRINCIPAL **************************************************************/
  html{
    height: auto;
  }
  body{
    background-color:#eee;
    width: 100%;
    height: 100%;
  }


  /************************************** BUTTONS ********************************/
  .button {
    border: 1px solid transparent;
    color: white;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    transition-duration: 0.4s;
  }
  .button-secondary{
    background-color: #6c757d;
  }
  .button-secondary:hover {
    background-color: white; 
    color: #6c757d;
    border: 1px solid #6c757d !important; 
  }
  .button-danger{
    background-color: #f44336;
  }
  .button-danger:hover {
    background-color: white; 
    color: #f44336;
    border: 1px solid #f44336
  }
  .button-success{
    background-color: #28a745;
  }
  .button-success:hover {
    background-color: white; 
    color: #28a745;
    border: 1px solid #28a745;
  }
  .button-blue{
    background-color: #007bffbd;
    font-weight: bold;
  }
  .button-blue:hover {
    background-color: white; 
    color: #007bffbd;
    border: 1px solid #007bffbd;
  }

  /************ login *************/
  .fundo-login{
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 2;
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
  }
  .card-login{
    width: 450px;
    min-height: 455px;
    margin-top: -40px;
    padding: 10px 40px 40px 40px;
    background-color: white;
    display: flex;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.133) -7px 1px 7.2px 0px, rgba(0, 0, 0, 0.11) -20px 1px 15.8px 10px;
    position: relative;
  }
  .logo-login{
    height: 150px;
    display: flex;
    margin: 0 auto;
  }
  .subtitulo-login{
    text-align: center !important;
    color: var(--primaria);
    font-weight: bold;
    font-size: 20px;
  }
  .card-cadastro{
    width: 400px;
    height: 400px;
    margin-top: -40px;
    padding: 10px 40px 40px 40px;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.133) 7px 1px 7.2px 0px, rgba(0, 0, 0, 0.11) 20px 1px 15.8px 10px;
  }

  .container-busca{
    display: inline-flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 10px 0 20px 10px;
  }

  .dropdown-usuario .dropdown-menu{
    right: 0 !important;
    left: auto !important;
  }
  .dropdown-usuario{
    position: relative;
  }

  .modal-aviso{
    width: 100vw;
    height: 100vh;
    display: none;
    top: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color:  rgba(87, 86, 86, 0.38);
    position: fixed;
  }
  .modal-content-aviso{
    width: 500px;
    margin-top: -90px;
    background-color: white;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.133) 2px 1px 7.2px 0px, rgba(0, 0, 0, 0.11) 0px 0.6px 19px 6px;
  }
  .modal-aviso h3{
    text-align: center;
    font-weight: bold;
    color: #6e9bed;
  }
  .img-aviso{
    width: 200px;
    height: 150px;
    margin: 0 auto;
    display: block;
  }

  .modal-carregando{
    width: 100vw;
    height: 100vh;
    display: none;
    /*margin-top: -85px;*/
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color:  rgba(87, 86, 86, 0.38);
    position: fixed;        
    top: 0;
    left: 0;
  }
  .modal-content-carregando{
    width: 500px;
    margin-top: -90px;
    background-color: #f9f9f9;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.133) 2px 1px 7.2px 0px, rgba(0, 0, 0, 0.11) 0px 0.6px 19px 6px;
  }
  .modal-carregando h3{
    text-align: center;
    font-weight: bold;
    color: #50c7c4;
  }
  .img-carregando{
    width: 200px;
    height: 150px;
    margin: 0 auto;
    display: block;
  }
  
  #dataTables thead th{
    text-align: center;
  }

	#dataTables .controls {
		height: 22px;
		line-height: 22px;
		float: inline-end;
		margin: 20px;
		display: flex;
		justify-content: space-between;
	}

	#dataTables .controls div {
	    display: flex;
	    align-items: center;
	    height: max-content;
	}

	#dataTables .controls .paginacao div:not(.numbers),
	#dataTables .controls .paginacao div.numbers div{
	    padding: 4px 7px;
	    cursor: pointer;
	    color: #FFF;
	    font-weight: bold;
	    font-size: 16px;
	    background: #40739e;
	    height: 30px;
      text-transform: uppercase;
      margin-left: 5px;
	}

	#dataTables .controls div.numbers div:hover,
	#dataTables .controls div.numbers div.active {
    color: #FFF;
    background: #0097e6;
	}

	.container-busca .grupo-busca{
		display: flex;
	    align-items: baseline;
	    width: auto;
	}

	.container-busca .grupo-busca input{
		margin-left: 15px;
		width: 190px;
	}
  .container-busca .grupo-busca label{
    margin-left: 15px;
    width: max-content;
  }

	.container-packs{
		display: grid;
    grid-template-columns: 33% 33% 33%;
    width: 100%;
	}
	.todos-packs{
		display: flex;
   	 	flex-direction: column;
    	border-right: 1px solid #adadad;
	}
	.bipados-packs{
		display: flex;
   	 	flex-direction: column;
    	border-right: 1px solid #adadad;
	}
	.padrao-packs{
		display: flex;
   	 	flex-direction: column;
	}
	.titulo-modal-packs{
		align-self: center;
	    color: var(--primaria);
	    font-weight: bold;
	    margin-bottom: 10px;
	}
	.conteudo{
		display: flex;
 	 	flex-direction: column;
 	 	max-height: 500px;
 	 	overflow: auto;
 	 	padding: 5px 0 0 10px;
    margin-bottom: 10px;
	}
	.pack{
		width: 95%;
	    background-color: #fff;
	    border: 1px solid #adadad;
	    border-radius: 3px;
	    padding: 5px;
	}


	.titulo-linha {
		display: flex;
		align-items: center;
		cursor: pointer;
		user-select: none; /* Prevent text selection */
		/* background-color: #4b6992; */
		background-color: #15335c;
		color: white;
		border-radius: 3px;
		margin-top: 1px;
		min-height: 38px;
	}

	.titulo-linha::before {
		content: "\25B6";
		color: white;
		display: inline-block;
		margin-left: 6px;
		align-self: center;
		margin-right: 6px;
		transition: 0.3s;
	}

	.linha .caret-down::before {
		transform: rotate(90deg);
	}
	.linha .conteudo-linha{
		display: none;
	}
	.active {
    display: flex !important;
	  flex-direction: column;
	  align-items: flex-end;
	}

  .container-packs .total{
    margin-top: auto;
    align-self: center;
    font-weight: bold;
  }