/** Preloader
 **************************************************************** **/
 #preloader {
  position: fixed;
  z-index: 9999999;
  top: 0; bottom: 0;
  right: 0; left: 0;

  background: #fff;
}

.inner {
  position: absolute;
  top: 0; bottom: 0;
  right: 0; left: 0;

  width: 54px;
  height: 54px;
  margin: auto;
}

.page-loader {
 	display:block;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background: #fefefe;
	z-index: 100000;	
}

#preloader span.loader {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -25px 0 0 -25px;
  font-size: 10px;
  text-indent: -12345px;
  border-top: 1px solid rgba(0,0,0, 0.08);
  border-right: 1px solid rgba(0,0,0, 0.08);
  border-bottom: 1px solid rgba(0,0,0, 0.08);
  border-left: 1px solid rgba(0,0,0, 0.5);
  
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  
  -webkit-animation: spinner 700ms infinite linear;
  -moz-animation: spinner 700ms infinite linear;
  -ms-animation: spinner 700ms infinite linear;
  -o-animation: spinner 700ms infinite linear;
  animation: spinner 700ms infinite linear;
  
  z-index: 100001;
}

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
/** Fim Preloader
 **************************************************************** **/

.content {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.hidden {
  display: none;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.nowrap {
  white-space: nowrap;
}

/* Efeito para tabela as passar o mouse sob as colunas */
.highlight {
  background-color: whitesmoke !important;
}

.table td, .table th, .table thead th {
  vertical-align: middle;
}

/* ScrollBar Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #495057;
}

/* ScrollBar Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: #f0f0f0;
}

*::-webkit-scrollbar-thumb {
  background-color: #495057;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Remove margem do datepicker para aparecer a data inteira no input */
input::-webkit-calendar-picker-indicator {
  margin: 0;
}

/* Efeito ao passar o mouse pelo card */
.cardhover:hover{
  transform: scale(1.025);
  box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}

/* Cursor 'mãozinha para arrastar elemento' */
.grab {
  cursor: -webkit-grab; 
  cursor: grab;
}

/* Cursor 'mãozinha de clicar em link' */
.pointer {
  cursor: pointer;
}

/* Centralizar elementos que estão dentro de uma div */
.element-center {
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

/* 
  Página PDF da proposta comercial
  Dimensions other than px and em should be divided by 1.33 for the proper PDF output
  width: 6.2in;
  height: 8.7in;
 */
.size-a4 {
  width: 8.3in;
  height: 11.7in;
}
.pdf-page {
  font-family: "DejaVu Sans", "Arial", sans-serif;
}

/* 
* Altera cor do step atual no wizard de time line
*/
.sw-theme-dots > .nav .nav-link.active {
	color: #3b82ec !important;
	cursor: pointer;
}

/*
* Full screen Modal 
*/
.modal.modal-fullscreen .modal-dialog {
  width: 100vw;
  height: 100vh;
  margin: auto;
  padding: 0;
  max-width: 95vw; 
}
.modal.modal-fullscreen .modal-content {
  height: auto;
  height: 90vh;
  margin-top: 5vh;
  border-radius: 0;
  border: none; 
}
.modal.modal-fullscreen .modal-body {
  overflow-y: auto; 
}

/*
* Proposta comercial Modal 
*/
.modal.modal-proposta .modal-dialog {
  width: 900px;
}

/*
* Visualização do PDF
*/
.pdfobject-container { 
  height: 100%; 
  border: 1rem 
  solid rgba(0,0,0,.1); 
}

/*
* Corrigi conflito de classes so toastr e bootstrap para poder usar full-width
*/
.toast { 
  max-width: 100%; 
}

/*
* Edita layout do card para ficar com aparência de um postit/stick notes
*/
.postit {
  border-bottom-right-radius: 60px 5px;
  background: #ffff88; /* Old browsers */
  background: -moz-linear-gradient(-45deg, #ffff88 81%, #ffff88 82%, #ffff88 82%, #ffffc6 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right bottom, color-stop(81%,#ffff88), color-stop(82%,#ffff88), color-stop(82%,#ffff88), color-stop(100%,#ffffc6)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(-45deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(-45deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(-45deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%); /* IE10+ */
  background: linear-gradient(135deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffff88', endColorstr='#ffffc6',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  box-shadow:8px 8px 8px rgba(0, 0, 0, 0.40);
}

/*
* Deixar select2 responsivo
*/
.select-responsive {
  width: 100% !important;
}