@import url(https://fonts.googleapis.com/css?family=Lato);@import url(https://fonts.googleapis.com/css?family=Cinzel);@charset "UTF-8";

/******************************************************************************************************************************************
* Arquivo sass (.scss) com as configurações do tema da UNIFESP
*
*
* Versão: 0.1
*
* Data de criação: 03/10/2018
* Data de modificação: 31/07/2020
******************************************************************************************************************************************/

/****************************** Imports **************************************/

/**************************** Fontes padrão *********************************/

body {
  font-family: "Lato", sans-serif !important;
}

/**************************** formatação texto *********************************/

.negrito {
  font-weight: bold;
}

.italico {
  font-style: italic;
}

.sublinhado {
  text-decoration: underline;
}

.riscado,
.tachado {
  text-decoration: line-through;
}

.textoCentralizado {
  text-align: center;
}

.item-disabled {
  opacity: 0.4;
}

.tooltip {
  pointer-events: none;
}

.form-text-uppercase {
  text-transform: uppercase;
}

.no-decoration-collapse:hover {
  text-decoration: none;
}

.quebra-texto {
  word-break: break-word;
}

.no-decoration-collapse {
  color: #111;
}

.no-decoration-collapse:hover {
  text-decoration: none;
}

.vermelho-escuro {
  color: #AD5D49;
}

.text-success {
  color: #38c172;
}

.sp-zl-escuro-um {
  color: #e5a812;
}

.badge-blue {
  color: #fff;
  background-color: rgb(19, 98, 218);
}

.badge-violet {
  color: #fff;
  background-color: blueviolet;
}

.badge-outline-blue {
  color: rgb(19, 98, 218);
  background-color: #fff;
  border: 1px solid rgb(19, 98, 218);
}

.badge-outline-blue:hover {
  color: #fff;
  background-color: rgb(19, 98, 218);
}

.badge-outline-verde-unifesp {
  color: #215A36;
  background-color: #fff;
  border: 1px solid #215A36;
}

.badge-outline-verde-unifesp:hover {
  color: #fff;
  background-color: #215A36;
}

/************************************************************************** SELECT2 COM BOOTSTRAP ******************************************************************************************/

.select2-container--bootstrap4 .select2-selection--single {
  height: calc(2.25rem + 2px) !important;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__placeholder {
  color: #757575;
  line-height: 2.25rem;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow {
  position: absolute;
  top: 50%;
  right: 3px;
  width: 20px;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
  top: 60%;
  border-color: #343a40 transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0;
  width: 0;
  height: 0;
  left: 50%;
  margin-left: -4px;
  margin-top: -2px;
  position: absolute;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
  line-height: 2.25rem;
}

.select2-search--dropdown .select2-search__field {
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.select2-results__message {
  color: #6c757d;
}

.select2-container--bootstrap4 .select2-selection--multiple {
  min-height: calc(2.25rem + 2px) !important;
  height: calc(2.25rem + 2px) !important;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__rendered {
  box-sizing: border-box;
  list-style: none;
  margin: 0;
  padding: 0 5px;
  width: 100%;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
  color: #343a40;
  border: 1px solid #bdc6d0;
  border-radius: 0.2rem;
  padding: 0;
  padding-right: 5px;
  cursor: pointer;
  float: left;
  margin-top: 0.3em;
  margin-right: 5px;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove {
  color: #bdc6d0;
  font-weight: 700;
  margin-left: 3px;
  margin-right: 1px;
  padding-right: 3px;
  padding-left: 3px;
  float: left;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #343a40;
}

.select2-container :focus {
  outline: 0;
}

.select2-container--bootstrap4 .select2-selection {
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  width: 100%;
}

.select2-container--bootstrap4.select2-container--focus .select2-selection {
  border-color: #17a2b8;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.select2-container--bootstrap4.select2-container--focus.select2-container--open .select2-selection {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

select.is-invalid ~ .select2-container--bootstrap4 .select2-selection {
  border-color: #dc3545;
}

select.is-valid ~ .select2-container--bootstrap4 .select2-selection {
  border-color: #28a745;
}

.select2-container--bootstrap4 .select2-dropdown {
  border-color: #ced4da;
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.select2-container--bootstrap4 .select2-dropdown .select2-results__option[aria-selected=true] {
  background-color: #e9ecef;
}

.select2-container--bootstrap4 .select2-results__option--highlighted,
.select2-container--bootstrap4 .select2-results__option--highlighted.select2-results__option[aria-selected=true] {
  background-color: #007bff;
  color: #f8f9fa;
}

.select2-container--bootstrap4 .select2-results__option[role=group] {
  padding: 0;
}

.select2-container--bootstrap4 .select2-results__group {
  padding: 6px;
  display: list-item;
  color: #6c757d;
}

.select2-container--bootstrap4 .select2-selection__clear {
  width: 1.2em;
  height: 1.2em;
  line-height: 1.15em;
  padding-left: 0.3em;
  margin-top: 0.5em;
  border-radius: 100%;
  background-color: #6c757d;
  color: #f8f9fa;
  float: right;
  margin-right: 0.3em;
}

.select2-container--bootstrap4 .select2-selection__clear:hover {
  background-color: #343a40;
}

/*fileupload*/

.select-file {
  display: none !important;
}

.btn-file input[readonly] {
  background-color: white !important;
  cursor: text !important;
}

.custom-file-label {
  width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.custom-file-label {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.obj-file {
  width: 98% !important;
  height: 100% !important;
  min-height: calc(95vh - 200px) !important;
  overflow: auto !important;
}

/*Fix Select2 Container*/

.select2-bootstrap4-prepend > .select2-container > .selection > .select2-selection--single {
  border-radius: 0.25rem 0 0 0.25rem !important;
}

.select2-bootstrap4-append > .select2-container > .selection > .select2-selection--single {
  border-radius: 0 0.25rem 0.25rem 0 !important;
}

/************************************************************************** TABELAS ******************************************************************************************/

/* Configuração geral das tabelas. */

.tabela-unifesp {
  /* Configuração da legenda da tabela, como cor do texto, bordas e cor de fundo, conforme cada modelo de site */
  /************* Modo telas pequenas **********/
  margin: 1em 0;
  min-width: 300px;
}

.tabela-unifesp th {
  font-weight: normal;
}

.tabela-unifesp thead tr {
  color: #fff;
  /* altera a cor do texto para branco. */
}

.tabela-unifesp thead tr th {
  background-color: #3C6650 !important;
  /* Fundo do cabeçalho da tabela */
}

.tabela-unifesp thead tr th:first-child {
  border-top-left-radius: 10px !important;
  /* Borda superior esquerda arredondada */
}

.tabela-unifesp thead tr th:last-child {
  border-top-right-radius: 10px !important;
  /* Borda superior direita arredondada */
}

.tabela-unifesp tr:nth-child(even) td,
.tabela-unifesp tr:nth-child(even) th {
  background-color: #AFBCB8;
}

.tabela-unifesp tr:nth-child(odd) td,
.tabela-unifesp tr:nth-child(odd) th {
  background-color: #E7E9EA;
}

.tabela-unifesp tbody tr:last-child th:first-child {
  border-bottom-left-radius: 10px;
  -moz-border-radius-bottomleft: 10px;
  -webkit-border-bottom-left-radius: 10px;
  border-radius: 0 0 0 0.6em;
}

.tabela-unifesp tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
  -moz-border-radius-bottomright: 10px;
  -webkit-border-bottom-right-radius: 10px;
  border-radius: 0 0 0.6em 0;
}

.tabela-unifesp td {
  padding: 10px;
  vertical-align: middle;
}

.tabela-unifesp th {
  display: none;
}

.tabela-unifesp tr {
  border: 10px solid #DBE1DF;
}

.tabela-unifesp td {
  display: block;
}

.tabela-unifesp td:first-child {
  padding-top: 0.5em;
}

.tabela-unifesp td:last-child {
  padding-bottom: 0.5em;
}

.tabela-unifesp td:before {
  content: attr(data-th) ": ";
  font-weight: bold;
  width: 9em;
  display: inline-block;
}

@media (min-width: 921px) {
  .tabela-unifesp td:before {
    display: none;
  }
}

@media (min-width: 921px) {
  .tabela-unifesp th,
  .tabela-unifesp td {
    display: table-cell;
  }
}

@media (min-width: 921px) {
  .tabela-unifesp tr {
    border: none;
  }
}

.tabela-unifesp input[type=search]::-webkit-search-cancel-button {
  /*Bootstrap 4 override*/
  -webkit-appearance: searchfield-cancel-button;
}

.tabela-default {
  /************* Modo telas pequenas **********/
  margin: 1em 0;
  min-width: 300px;
}

.tabela-default th {
  display: none;
}

.tabela-default tr {
  border: 10px solid #DBE1DF;
}

.tabela-default td {
  display: block;
}

.tabela-default td:first-child {
  padding-top: 0.5em;
}

.tabela-default td:last-child {
  padding-bottom: 0.5em;
}

.tabela-default td:before {
  content: attr(data-th) ": ";
  font-weight: bold;
  width: 9em;
  display: inline-block;
}

@media (min-width: 921px) {
  .tabela-default td:before {
    display: none;
  }
}

@media (min-width: 921px) {
  .tabela-default th,
  .tabela-default td {
    display: table-cell;
  }
}

@media (min-width: 921px) {
  .tabela-default tr {
    border: none;
  }
}

/*-----------------------------
    SCROLL TO TOP BUTTON
-----------------------------*/

#scrollToTopBtn {
  z-index: 99;
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
}

/*-----------------------------
    CUSTOM BADGE BOOTSTRAP
-----------------------------*/

.badge-verde-unifesp {
  color: #fff;
  background-color: #215A36;
}

.badge-vermelho-unifesp {
  color: #fff;
  background-color: #AD5D49;
}

.badge-amarelo-escuro {
  color: #111;
  background-color: #D3C94A;
}

