﻿

/* ---------------------- GENERAL ---------------------- */

body {
  padding-top: 3.5rem; /* move down content because we have a fixed navbar that is 3.5rem tall */
}

#body-content {
  margin-top: 30px;
  margin-bottom: 50px;
}

.page-header {
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 15px;
}

.navbar.fixed-top {
  z-index: 1030;
}

a.fa {
  text-decoration: none;
}

.isolate-css {
  /* https: //stackoverflow.com/questions/10064172/how-to-isolate-a-div-from-public-css-styles */
  all: initial; /* blocking inheritance for all properties */
}

  .isolate-css * {
    all: unset; /* allowing inheritance within #mydiv */
  }



/* ---------------------- TABS ---------------------- */

.nav-tabs .nav-link.active {
  color: rgba(0, 0, 0, 0.87);
  border-color: rgba(0, 0, 0, 0.87);
}



/* ---------------------- FORMS ---------------------- */

.control-label {
  font-weight: bold;
}

.field-validation-valid,
.field-validation-error {
  font-size: 0.8rem;
}

.bmd-form-group.is-focused .bmd-label-floating,
.bmd-form-group .is-focused .bmd-label-floating,
.bmd-form-group.is-filled .bmd-label-floating,
.bmd-form-group .is-filled .bmd-label-floating,
.bmd-form-group .bmd-label-static {
  left: unset; /*evita che la laebl sopra gli input appaia spostata verso sinistra */
}


/* Summernote */

.note-editor {
  margin-top: 6px;
}

  .note-editor .btn,
  .note-popover .btn {
    color: rgba(0, 0, 0, 0.87) !important; /* altrimenti appaiono bianchi su bianco */
  }

  .note-editor .btn-group {
    margin-bottom: 0px !important;
  }

.note-group-select-from-files {
  display: none; /* disabilita upload immagini */
}



/* ---------------------- OTHERS ---------------------- */

dt {
  margin-bottom: .5rem;
}
