@media print {
  .no-print { display: none !important; }
}

/*
  Variables
*/
:root {
  --sidebar-size: 6rem;
  --blackest: #080808;
}

/*
  Fonts
*/
@font-face {
  font-family: StarcredBold;
  src: url('../fonts/HelveticaNeueLTStd-Bd.otf');
}

@font-face {
  font-family: StarcredRoman;
  src: url('../fonts/HelveticaNeueLTStd-Roman.otf');
}

@font-face {
  font-family: StarcredThin;
  src: url('../fonts/HelveticaNeueLTStd-Th.otf');
}

/*
  General
*/
body {
  font-family: StarcredRoman;
  letter-spacing: 0.05rem;
}

::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
}

::-webkit-scrollbar-track {
  background: none;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#main-div {
  overflow-y: auto;
  overflow-x: hidden;
  /* height: calc(100% - var(--sidebar-size)); */
  /* height: 100vh; */
  height: calc(100% - 60px); /* This will be overwritten by javascript when page loads */
  width: 100%;
  position: absolute;
  padding-bottom: 1rem;
}

.hover-grey:hover {
  background-color: #e4e4e4;
}

/*
  Sidebar
*/
.sidebar-nav {
  height: 100%;
  position: absolute;
  width: var(--sidebar-size);
  background-color: var(--primary);
}

.sidebar-nav-top {
  align-self: flex-start;
  flex-direction: column;
  width: 100%;
}

.sidebar-nav-bottom {
  align-self: flex-end;
  position: absolute;
  flex-direction: column;
  width: 100%;
}

a.sidebar-nav-item .material-icons {
  font-size: 18px;
  margin-bottom: 0.5rem;
  /* margin-right: 0.5rem; */
}

a.sidebar-nav-item {
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  flex-direction: column;
  text-align: center;
  transition: background-color 0.2s;
  width: 100%;
  font-family: StarcredThin;
  font-size: 0.7rem;
  padding: 0.5rem;
}

a.sidebar-nav-item:hover,
a.sidebar-nav-item.active  {
  background-color: var(--success);
}

a.sidebar-nav-item-sm .material-icons {
  font-size: 16px;
  margin-right: 0.5rem;
}

a.sidebar-nav-item-sm {
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  flex-direction: row;
  text-align: center;
  transition: background-color 0.2s;
  width: 100%;
  font-family: StarcredThin;
  font-size: 0.8rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  border-top: 1px solid #737d94;
}

a.sidebar-nav-item-sm:hover,
a.sidebar-nav-item-sm.active  {
  background-color: var(--success);
}

/*
  Navbar
*/

.navbar {
  background-color: var(--primary);
}

/*
  Buttons
*/
.btn {
  font-family: StarcredThin;
  letter-spacing: 0.1rem;
}

.btn-success {
  color: white;
}

#btn-open-menu {
  padding: 0.1rem 0.4rem;
  display: none;
}

/*
  Icons
*/
.alert-icon {
  display: inline-flex;
  font-size: 32px !important;
  margin-right: 0.5rem;
}

.alert-message {
  display: inline-flex;
  align-self: center;
}

/*
  Inputs
*/
.custom-file-label {
  display: flex;
  align-items: center;
}

.custom-file-label:after {
  content: 'Buscar';
  display: flex;
  align-items: center;
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.form-control:disabled, .form-control[readonly] {
  background-color: #adadad;
}

.select2-container--default .select2-selection--single{
  padding: 6px;
  height: calc(2.425rem + 2px);
  font-size: 0.95rem;
  position: relative;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  margin-top: 5px;
}

.dropzone {
  border-style: dashed;
  border-radius: 0.5em;
}

.checkbox-big {
  -ms-transform: scale(2);
  -moz-transform: scale(2);
  -webkit-transform: scale(2);
  -o-transform: scale(2);
  transform: scale(2);
  padding: 10px;
}

.radio-big {
  -ms-transform: scale(1.5);
  -moz-transform: scale(1.5);
  -webkit-transform: scale(1.5);
  -o-transform: scale(1.5);
  transform: scale(1.5);
  padding: 10px;
}

/*
  Navigation
*/
.list-group-options {
  height: 100%;
  background-color: #212121;
  padding-left: 25%;
  padding-right: 25%;
}

.list-group-options li {
  padding-left: .5rem;
  padding-right: .5rem;
}

.list-group-options .list-group-item {
  border-radius: 0;
  background-color: #212121;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  color: #bfbfbf;
  border: none;
  display: flex;
  align-items: center;
  transition: .5s;
}

.list-group-options .list-group-item:not(.list-group-category):focus,
.list-group-options .list-group-item:not(.list-group-category):active,
.list-group-options .list-group-item:not(.list-group-category):hover {
  background-color: var(--success);
  color: black;
}

.list-group-options .list-group-item:focus a,
.list-group-options .list-group-item:active a,
.list-group-options .list-group-item:hover a {
  color: black;
}

.list-group-options .list-group-item a,
.list-group-options .list-group-item a {
  display: flex;
  margin-top: -1.1rem;
  margin-bottom: -1.1rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.list-group-options .list-group-arrow {
  margin-left: auto;
}

.list-group-options .list-group-item.list-group-category {
  text-transform: uppercase;
  color: dimgrey;
}

.list-group-sub-category {
  text-transform: uppercase;
  color: dimgrey;
}

.list-group-options .list-group-item.list-group-category .material-icons {
  font-size: 36px;
  margin-bottom: 0.4rem;
}

.list-group-options .list-group-item .material-icons {
  font-size: 24px;
  margin-right: 1.5rem;
}

.list-group-options .list-group-item a {
  text-decoration: none;
  width: 100%;
  height: 100%;
  color: #bfbfbf;
}

.list-group-options .list-group-description {
  background-color: #212121;
  color: #bfbfbf;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 12px;
}

.list-group-options .list-group-content {
  background-color: #212121;
  color: #bfbfbf;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.list-group-options .form-group {
  margin: 0;
}

.list-group-options .form-group label {
  font-size: 14px;
  color: dimgrey;
}

.list-group-options label {
  font-size: 14px;
  color: dimgrey;
}

.list-group-options .alert {
  font-size: 12px;
}

.nav-tabs .nav-link.active {
  background-color: var(--blackest);
  color: #d4d4d4;
  font-weight: 500;
}

/*
  Navs Pills
*/

.nav-pills:hover {
  background-color: #fdfdfd00;
}

.nav-pills .nav-link {
  text-transform: uppercase;
  color: white;
}

.nav-pills .nav-link:not(.active):hover {
  background-color: #383838;
}

/*
  Divs
*/

.container-fluid {
  padding-left: 8px !important;
  padding-right: 8px !important;
}

.alert {
  border-radius: 0.375rem;
}

#sidebar-slide {
  width: var(--sidebar-size);
}

#main-content-slide {
  background-color: #272727;
  -webkit-box-shadow: -2px 0px 5px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: -2px 0px 5px 0px rgba(0,0,0,0.3);
  box-shadow: -2px 0px 5px 0px rgba(0,0,0,0.3);
  color: var(--white);
  width: calc(100% - var(--sidebar-size));
}

#login-container {
  height: 100vh;
  background-position: center;
  background-size: cover;
  background-color: var(--primary);
}

#login-col {
  height: 100%;
  background-color: var(--primary);
  /* box-shadow: 10px 0 5px -2px #00000029; */
}

#card-settings-profile {
  width: 30%;
  padding: 1.5rem;
  color: black;
}

#config-mobile {
  display: none;
}

.swiper-slide-scroll {
  overflow-y: scroll;
}

/* .card-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Columns will auto break when each of them gets below 300px width
  gap: 0.5rem;
} */

.card-wrap {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 0.5rem;
}

.card-wrap .card {
  flex: 1;
  min-width: 300px;
}

.card-wrap .card a:not(.btn) {
  height: 100%;
}

.card-full-row {
  min-width: 100% !important;
}

.card-presentation:hover {
  background-color: #f9f9f9;
}

.card-presentation .card-body {
  height: 100%;
  display: flex;
  flex-wrap: wrap;
}

.card-presentation .card-body .title {
  align-self: flex-start;
  width: 100%;
}

.page-title-text {
  text-transform: uppercase;
  padding: 3px 0px 0px 4px;
}

.card-presentation .card-body .card-presentation-main-icon {
  display: flex;
  justify-content: center;
  align-self: center;
  margin-bottom: 0.375rem !important;
  width: 100%;
}

.card-presentation .card-body .description {
  width: 100%;
}


.card-presentation .card-body .description-bottom {
  align-self: flex-end;
}

.card-body {
  color: dimgrey;
  padding: 1rem .7rem;
}

.card-body.text .title {
  font-size: 12px;
  color: var(--success);
}

.card-body.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-body.centered .material-icons {
  font-size: 48px;
}

.card-body.centered .title {
  font-size: 28px;
}

.card-body.centered .title-small {
  font-size: 12px;
  color: var(--success);
  align-self: flex-start;
}

.card-body .value {
  font-size: 38px;
}

.alert-default {
  display: flex;
  margin: 0;
}

.fixed-header {
  display: flex;
  justify-content: center;
}

.data-plate {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.data-label {
  font-size: 12px;
  color: dimgrey;
}

.fixed-bottom-right {
  position: fixed;
  transform: translateX(100%);
  bottom: 0;
}

#div-simulacao-rolar-final {
  display: none;
}

.img-selector-wrapper {
  position: absolute;
  bottom: 5%;
  /* border-color: var(--primary); */
  /* border-style: solid; */
}

/**
  Block list
*/

.block-list-wrap {
  width: 100%;
}

.block-list-block {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  background-color: #292929;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 0.2rem 0 0.2rem 0;
}

.block-list-block-alpha {
  opacity: 0.5;
}

.block-list-block-red-border {
  border-style: solid !important;
  border: #b72c2c;
  border-width: 0.3rem;
  padding: 0.6rem;
}

.block-list-block-orange-border {
  border-style: solid !important;
  border: #eb8d00;
  border-width: 0.3rem;
  padding: 0.6rem;
}

.block-list-block-link:hover {
  background-color: #505050;
  cursor: pointer;
}

.block-list-header {
  width: 100%;
  margin: 0.5rem;
  color: var(--success);
}

.block-list-top-right {
  position: relative;
  top: 0;
  right: 0;
}

.block-list-item {
  display: flex;
  flex-direction: column;
  margin: 0.5rem;
}

.block-list-title {
  color: var(--success);
  font-size: 12px;
}

.block-list-data {
  color: #bfbfbf;
}

.block-list-block-link:hover > .block-list-header {
  color: #80e100;
}

.block-list-block-link:hover > .block-list-item > .block-list-data {
  color: white;
}

.block-list-block-link:hover > .block-list-item > .block-list-title {
  color: #80e100;
}

.block-list-block-transparent {
  opacity: 0.7;
}

/*
  Tables
*/
.table-pretty {
  border-spacing: 0;
  line-height: 1.5rem;
}
.table-pretty th, td {
  /* border: 0.5px solid #2f2f2f; */
  padding: 0.5em 1em;
}

.table-pretty thead tr {
  background-color: var(--blackest);
  color: #d4d4d4;
}

.table-pretty tbody {
  background-color: #292929;
  color: #d4d4d4;
}

.table-pretty tbody tr {
  border-top: 0.5px solid #2f2f2f;
  border-bottom: 0.5px solid #2f2f2f;
}

.table-pretty tbody tr:last-child {
  border-top: 0.5px solid #2f2f2f;
  border-bottom: 0;
}

.table-pretty thead tr:first-child th:first-child {
  border-radius: 0.6em 0 0 0;
}

.table-pretty thead tr:first-child th:last-child {
  border-radius: 0 0.6em 0 0;
}

.table-pretty tbody tr:last-child td:first-child {
  border-radius: 0 0 0 0.6em;
}

.table-pretty tbody tr:last-child td:last-child {
  border-radius: 0 0 0.6em 0;
}

.table-pretty-bg-black {
  background-color: var(--blackest);
  color: #d4d4d4;
}

.table-pretty tbody tr.rounded-cell-top td:first-child {
  border-radius: 0.6em 0 0 0;
}

.table-pretty tbody tr.rounded-cell-top td:last-child {
  border-radius: 0 0.6em 0 0;
}

.tr-green {
  background-color: #2b672b;
}

.tr-yellow {
  background-color: #d6bd64;
  color: black;
}

.tr-red {
  background-color: #b72c2c;
}

.row-error {
  background-color: #ff5454;
}

/*
  Modal
*/
.modal-error .modal-dialog .modal-content .modal-header {
  background-color: #ff8585;
  color: white;
}

.modal-warning .modal-dialog .modal-content .modal-header {
  background-color: #ffc04d;
  color: white;
}

/*
  Lists
*/
span.step {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  background-color: var(--primary);
  border-radius: 1rem;
  color: white;
  margin-right: 0.5rem;
}

/*
  Images
*/
.profile-image-sm {
  width: 35px;
  height: 35px;
  /* background-color: white; */
}

.profile-image-lg {
  width: 90px;
  height: 90px;
  /* background-color: white; */
}

/*
  Links
*/
.pseudo-link {
  cursor: pointer;
}

.cursor-default {
  cursor: default;
}

.dropdown-toggle:active, .dropdown-toggle:focus {
  outline: 0;
  border: none;
  -moz-outline-style: none;
  box-shadow: 0 0 0 3px rgba(140, 198, 63, 0.5);
}

.dropdown-toggle::after {
  display: none;
}

.dropdown-item:hover {
  background-color: #b7b7b7;
}

.no-style-link:hover,
.no-style-link:visited,
.no-style-link:focus,
.no-style-link:active {
  text-decoration: none;
}

a.link-underline-grows {
  position: relative;
  text-decoration: none;
}

a.link-underline-grows {
  background-image: linear-gradient(#8cc63f, #8cc63f);
  background-position: left bottom;
  background-size: 0% 2px;
  background-repeat: no-repeat;
  transition: all 0.5s ease-in-out;
}

a.link-underline-grows:hover,
a.link-underline-grows.active {
  background-size: 100% 2px;
}

/**
  Context menu
*/

.context-menu {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding-top: 5px;
  padding-bottom: 5px;
  width: auto;
  z-index: 1;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  position: fixed;
  display: none;
  transition: 0.2s display ease-in;
}

.context-menu .context-menu-options {
  list-style: none;
  z-index: 1;
  padding: 0px;
  margin-bottom: 0px;
}

.context-menu-options .context-menu-option {
  font-weight: normal;
  z-index: 1;
  font-size: 14px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 16px;
  padding-right: 16px;
  cursor: pointer;
  color: #333;
}

.context-menu-options .context-menu-option:hover {
  background-color: #eeeeee;
  color: #4D5E82;
}

/*
  Tooltips
*/
i[data-toggle="tooltip"] {
  cursor: help;
}

/*
  Rules
*/

/* Material Icons */
.material-icons.md-12 { font-size: 12px; }
.material-icons.md-14 { font-size: 14px; }
.material-icons.md-16 { font-size: 16px; }
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-20 { font-size: 20px; }
.material-icons.md-22 { font-size: 22px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-26 { font-size: 26px; }
.material-icons.md-28 { font-size: 28px; }
.material-icons.md-34 { font-size: 34px !important; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-38 { font-size: 38px; }
.material-icons.md-40 { font-size: 40px; }
.material-icons.md-48 { font-size: 48px; }
.material-icons.md-78 { font-size: 78px; }
.material-icons.md-black { color: black; }
.material-icons.md-text-align { vertical-align: middle !important; }

/* Text */
.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.truncate:hover {
  max-width: none;
  overflow: visible;
}

/* Alignment */
.vertical-alignment-middle { vertical-align: middle !important; }

/* Font size */
.text-small { font-size: 12px; }
.fs-10 { font-size: 10px; }
.fs-12 { font-size: 12px; }
.fs-14 { font-size: 14px; }
.fs-24 { font-size: 24px; }
.fs-1-rem { font-size: 1rem; }

/* Font color */
.text-red { color: #ff3737; }
.text-green { color: var(--success); }
.text-orange { color: orange; }

/* Flex */
.flex-direction-column { flex-direction: column !important; }
.flex-1 { flex: 1; }
.gap-05 { gap: 0.5rem; }

/* Font weight */
.text-bold { font-weight: 600; }

/* Borders */
.sbt-1 { border-top: solid 1px dimgrey !important; }

/* Opacity */
.opacity-50 { opacity: .5; }
.opacity-75 { opacity: .75; }

/* Height */
.h-auto { height: auto !important; }

/* Width */
.min-width-10rem { min-width: 10rem; }
.min-width-300-px { min-width: 300px; }
.min-width-500-px { min-width: 500px; }
.max-width-500-px { max-width: 500px; }


/* Shadows */
.box-shadow-warning { 
  -webkit-box-shadow: 0px 0px 9px 2px rgba(255,111,0,1);
  -moz-box-shadow: 0px 0px 9px 2px rgba(255,111,0,1);
  box-shadow: 0px 0px 9px 2px rgba(255,111,0,1);
  animation: pulsate 1s ease-out infinite;
}
@-webkit-keyframes pulsate {
  0%   { box-shadow: 0 0 9px 4px rgba(255,111,0,1); }
  50%  { box-shadow: 0 0 18px 4px rgba(255,111,0,1); }
  100% { box-shadow: 0 0 9px 4px rgba(255,111,0,1); }
}