@import '../rourets/toastr/toastr.css';

html {
  margin: 0px;
  padding: 0px;
}


body {
  margin: 0px;
  padding: 0px;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  line-height: 1.3em;
  background-color: #ced0bf;
  color: black;
  text-align: left;
}
/* perquè el dropdown de Selectize quedi sempre per sobre dels modals */
.selectize-dropdown {
  z-index: 11000 !important;
}
.is-invalid { border-color: red; }
/* Quan Selectize està dins d’un modal, fem que el dropdown ocupi tot l’amplada del control */
#reassign-circuit-modal .selectize-control.single .selectize-dropdown {
  width: 100% !important;
  box-sizing: border-box;
      border: none;
}

/* Perquè el desplegable se superposi per sobre de la resta */
#reassign-circuit-modal .selectize-control.single .selectize-dropdown,
#reassign-circuit-modal .selectize-control.single .selectize-dropdown-content {
  z-index: 2050; /* més gran que el z-index de Bootstrap modal */
}

.field-error {
  display: none;
  color: #a94442;
  font-size: 12px;
  text-align: left;
  margin-top: 3px;
}

.input-error:focus {
  border-color: #ebccd1;
}

label.checkbox-label input[type=checkbox], label.checkbox-label input[type=radio], input.input-checkbox{
  position: relative;
  vertical-align: middle;
  margin-top: 2px;
}

img {
  border: 0px;
}

a {
  cursor: pointer;
}

a:link, a:visited {
  color: #666666;
  text-decoration: none;
}

a:active, a:hover  {
  color: black;
  text-decoration: none;
}

h1 {
  text-align: left;
  color: black;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 24px;
  margin-top: 24px;
}

h2 {
  text-align: left;
  color: black;
  font-size: 20px;
  font-weight: bold;
}

h3 {
  text-align: left;
  color: black;
  font-size: 18px;
  font-weight: bold;
}

.npp {
  text-align: left;
  float: left;
  margin-top: 15px;
}

.title {
  min-height: 30px;
}

.zone  {
  background-color: white;
  padding: 5px;
  margin: 5px 0px 5px 0px;
}

.lang {
  float: right;
  font-size: 10px;
}

.language_selected {
  font-weight: bold;
}

.exit {
  float: right;
}

.message, .greenmessage {
  color: green;
  font-weight: bold;
}

.redmessage {
  color: red;
  font-weight: bold;
}

table.results {
  width: 100%;
  border: solid 1px #666666;
  margin-bottom: 15px;
}

table.results tr th , table.results tr td {
  padding: 10px;
}

table.results tr th {
  font-weight: bold;
  border-bottom: solid 1px black;
}

table.results tr.final th {
  border-bottom: 0px;
  border-top: solid 1px black;
}

.color1, table.results tbody tr:nth-child(2n+1) {
  background-color: #ced0bf;
}

.color2, table.results tbody tr:nth-child(2n) {
  background-color: #ffffff;
}

td img {
  vertical-align: middle;
}

fieldset {
  width: 100%;
  border: 0px;
}

/* pager */
.total-items {
  clear: both;
  padding-top: 20px;
  font-size: 16px;
  line-height: 16px;
}

.web-pager {
  clear: both;
  padding-top: 20px;
  font-size: 16px;
  line-height: 16px;
}

.web-pager a {
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 16px;
}

.web-pager a.current-pag {
  font-weight: bold;
}

a.current_pag, a.current_pag:visited {
  font-weight: bold;
  background: #ced0bf;
}

table.results input[type=checkbox], table.results input[type=radio], input.input-checkbox{
  position: relative;
  vertical-align: middle;
  bottom: 3px;
}

/* Bootstrap Overwrite */

.navbar {
  margin-bottom: 5px;
}

.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: transparent;
}

.navbar-top {
  background: white;
  margin-bottom: 5px;
  border: 0px;
  border-radius: 0px;
  position: relative;
  top: 0px;
}

.navbar-top nav ul {
  margin-top: 0px;
}

.navbar-header {
  width: auto;
  height: auto;
}

.navbar-menu {
  background-color: #ffffff;
  min-height: 50px;
}

.navbar-right {
  float: right !important;
}

.navbar-filter {
  padding-top: 5px;
}

.main-menu {
  font-size: 18px;
}

@media (min-width: 992px) {
  .main-menu {
    padding-left: 50px;
  }
}

.nav-link {
  color:black !important;
}

li.active .nav-link {
  font-weight:bold;
}

li.separator {
  padding: 5px;
  padding-top: 7px;
}

.toast {
  opacity: 1 !important;
}

.login {
  text-align: center;
}

.btn {
  font-size: 18px;
  margin-bottom: 10px;
}

.btn-primary, a.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:focus, .btn-primary[disabled] {
  background: #ced0bf;
  border-color: #ced0bf;
  color: #000000;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
  background: #ced0bf;
  border-color: #ced0bf;
  box-shadow: 0 0 0 .2rem rgba(206,208,191,.5);
  color: #000000;
}

a.btn-secondary {
  color: #ffffff;
}

.btn-apats {
  width: 100%;
  min-height: 100px;
  font-size: 24px;
  line-height: 30px;
}

.btn-apats-selected {
  border-color: #666666 !important;
  border-width: 5px !important;
  box-shadow: 0px !important;
}

.btn-imprimir, a.btn-imprimir {
  height: 100px;
  font-size: 24px;
  line-height: 30px;
}

.btn-imprimir:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.inner {
  display: inline-block;
  vertical-align: middle;
}

.btn-green, a.btn-green, .btn-green:hover, .btn-green:focus, .btn-green:active {
  background: #51A351 !important;
}

.btn-green:hover, .btn-green:focus, .btn-green:active {
  border-color: #51A351 !important;
  box-shadow: 0 0 0 .2rem rgba(81,163,81,.5) !important;
}

.btn-orange, a.btn-orange, .btn-orange:hover, .btn-orange:focus, .btn-orange:active {
  background: #ff9e1b !important;
}

.btn-orange:hover, .btn-orange:focus, .btn-orange:active {
  border-color: #ff9e1b !important;
  box-shadow: 0 0 0 .2rem rgba(255,159,27,.5) !important;
}

.btn-danger {
  color: #ffffff !important;
}

.btn-action {

}

.form-control:focus {
  border-color: #ced0bf;
  box-shadow: 0 0 0 .2rem rgba(206,208,191,.5);
}

.btn {
  border-color: gray;
}

.oneless {
  visibility: hidden;
}

.multiple-items .oneless {
	visibility: visible;
}

table.membresFamilia tr td {
  vertical-align: top;
}

table.membresFamilia tr td.button {
  vertical-align: middle;
}

table.membresFamilia tr th.membre, table.membresFamilia tr td.membre {
  padding: 5px;
}

table.membresFamilia tr td.edat {
  padding-top: 12px;
}

.modal-confirm {
  font-size: 20px;
  line-height: 25px;
}

.text-recollida {
  padding: 30px;
  background-color: #ffc000;
  font-size:24px;
  border: solid 1px #000000;
}

.devel {
  background: #ffbebe;
}

.import-error {
  color: #a94442;
}

.import-success {
  color: #51A351;
}

signature-container img {
  border: solid 1px gray;
  margin: 10px auto;
}

#signModal .draw-container {
  border: solid 1px gray;
  margin: 10px auto;
  /* max-width: 90%; */
  width: 300px;
  height: 300px;
}
#signModal .signature-help {
  color: darkgray;
  font-size: 0.9em;
  padding: 5px 20px 10px;
  text-align: center;
}
