body {
    background: url('../img/background.svg') no-repeat center center fixed;
    background-size: 100% auto;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    font-family: 'Roboto', sans-serif;
    font-optical-sizing: auto;
    font-size: 20px;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
    width: 100%;
    word-break: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6,
th {
    font-family: 'Ciutadella Bold', 'Roboto Bold', Fallback, sans-serif;
}

.card-footer:b {
    font-family: 'Ciutadella Bold', 'Roboto Bold', Fallback, sans-serif;
}

hr {
    margin: auto 220px
}

nav {
    font-family: 'Ciutadella Bold', 'Roboto Bold', Fallback, sans-serif;
    font-size: larger;
}

td, tr, th {
    background-color: #ffffff83;
}

td {
    user-select: all;
}

td, option, select, input, textarea {
    font-size: 18px;
    font-family: 'Roboto';
    vertical-align: text-bottom;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

tfoot input {
    width: 50px;
}

tfoot {
    display: table-row-group;
}

label {
    font-family: 'Ciutadella Bold', 'Roboto Bold', Fallback, sans-serif;
    margin-top: 0.5em;
    font-size: medium;
}

button {
    font-family: 'Ciutadella Bold', 'Roboto Bold', Fallback, sans-serif;
    font-size: 18px;
    margin: 1em;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.fc-timegrid-slot-label-cushion,
.fc-scrollgrid-sync-inner,
.fc-scrollgrid-shrink-cushion {
    font-family: 'Ciutadella Medium', 'Roboto Medium', Fallback, sans-serif;
}

th.fc-col-header-cell-cushion,
a.fc-col-header-cell-cushion,
a.fc-daygrid-day-number {
    color: black;
    margin: 5px;
    padding: 0em 0.1em 0em 0.1em;
    text-decoration: none;
}

.fc-daygrid-event-harness {
    margin: 0;
    border-radius: 0;
    padding: 0.1em;
}

a.fc-event {
    color: black;
}

.fc-event-title, .fc-event-time {
    font-family: 'Roboto';
}

.div-center {
    display: flex;
    justify-content: center;
}

.nav-link {
    color: white;
    font-family: 'Ciutadella Medium', 'Roboto Medium', Fallback, sans-serif;
    margin-left: 0.5em;
}

.navbar-brand:h3 {
    font-family: 'Ciutadella Bold', 'Roboto Bold', Fallback, sans-serif;
}

.tbl-record {
    margin: 1em;
}

.card-title {
    font-family: 'Ciutadella Bold', 'Roboto Bold', Fallback, sans-serif;
    font-size: larger;
    padding-top: 1em;
    text-align: center;
}

.card-header { 
    font-family: 'Ciutadella Medium', 'Roboto Medium', Fallback, sans-serif;
    font-size: larger;
    text-align: center;
    border-radius: 0;
}

.card-footer{   
    font-family: 'Ciutadella', 'Roboto', Fallback, sans-serif;
    font-size: larger;
}

.card-body {
    background-color: #ffffff00;
    float: left;
    margin: 1em;
    padding: 0;
}

.card-img-top {
    padding: 2em;
}

.card-plot {
    background-color: #ffffff83;
    margin: 1em;
    width: 50%;

}

.card-info,
.card-input {
    background-color: white;
    float: left;
    margin: 0.5em;
    text-wrap: pretty;
    width: 30%;
    word-break: break-all;
}

.card-table {
    background-color: white;
    width: 80%;
    float: left;
    margin: 1em;
    text-wrap: pretty;
    vertical-align: middle;
    word-break: normal;
}

.card-index {
    background-color: white;
    width: 40%;
    height: 40%;
    float: left;
    margin: 2em 0.5em 2em 0.5em;
    padding: 0em;
    text-wrap: pretty;
    vertical-align: middle;
    word-break: normal;
}

p.card-highlight {
    font-size: 50px;
}

.tdbreak {
    word-break: break-all
}

.input-group-text {
    background-color: #ffffff83;
}

.form-label,
.form-group,
.list-group-item {
    font-family: 'Ciutadella Semibold', 'Roboto', Fallback, sans-serif;
    margin-top: 0.5em;
    font-size: medium;

}

.btn {
    font-family: 'Ciutadella Semibold', 'Roboto', Fallback, sans-serif;
    margin: 1em;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.btn,
.lead {
    font-family: 'Ciutadella Medium', 'Roboto Medium', Fallback, sans-serif;
}

.dtsp-panes,
.d-md-flex,
.mt,
div.dt-container,
div.dt-bootstrap,
.dt-layout-row,
.dtsp-panesContainer {
    background-color: #ffffff83;
    padding: 0.5em 2em 0.5em 2em;
    font-size: medium;
}

.dt-column-title {
    font-family: 'Ciutadella Bold', 'Roboto Bold', Fallback, sans-serif;
    font-size: 22px;
}

.dt-layout-row {
    border-radius: 1%;
}

.dtsp-title {
    font-weight: bold;
}

dt-search {
    background-color: #ffffff83;
}

.error-container {
    font-size: 180px;
    font-weight: 800;
    margin: 20px 15px;
    text-align: center;
}

.error-container>span {
    color: #FFB485;
    display: inline-block;
    line-height: 0.7;
    position: relative;
}

.error-container>span {
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.error-container>span:nth-of-type(1) {
    animation: colordancing 4s infinite;
    color: #D1F2A5;
}

.error-container>span:nth-of-type(3) {
    animation: colordancing2 4s infinite;
    color: #F56991;
}

.error-container>span:nth-of-type(2) {
    border-radius: 999px;
    height: 120px;
    width: 120px;
}

.error-container>span:nth-of-type(2):before,
.error-container>span:nth-of-type(2):after {
    animation: shadowsdancing 4s infinite;
    border-radius: 0;
    box-shadow: inset 30px 0 0 rgba(209, 242, 165, 0.4),
        inset 0 30px 0 rgba(239, 250, 180, 0.4),
        inset -30px 0 0 rgba(255, 196, 140, 0.4),
        inset 0 -30px 0 rgba(245, 105, 145, 0.4);
    content: '';
    height: inherit;
    left: 0;
    position: absolute;
    top: 0;
    width: inherit;
}

.error-container>span:nth-of-type(2):before {
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.screen-reader-text {
    left: -9999em;
    position: absolute;
    top: -9999em;
}

.itemgroup {
    float: left;
    margin: 0.1em;
}

.jumbotron {
    padding-top: 2em;
    text-align: center;
}

.zoom-area {
    font-size: 19px;
    max-width: 490px;
    margin: 30px auto 30px;
    text-align: center;
}

.link-container {
    text-align: center;
}

.main-footer {
    text-align: center;
    margin-top: 0.1 * 2;
    &.collapsed {
      margin-top: 0;
    }
    &--1 {
      color: #fff;
      background-color: #313131;
      padding: 0.1 * 2 0;
      a:not(.btn) {
        color: #fff;
      }
      .column > * {
        margin-bottom: 0.1 * 1.5;
      }
    }
    &--2 {
      padding: 0.1 * 2 0;
      a {
        color: #000;
      }
      .cerca {
        text-align: left;
        h3 {
          text-transform: uppercase;
          text-align: left;
          font-size: rem-calc(16);
        }
        .inline-list--logos {
          margin-left: 0;
          li {
            margin-left: 0;
          }
        }
      }
    }
    a:not(.btn) {
      text-decoration: none;
      &:hover {
        text-decoration: underline;
      }
    }
    ul,
    p {
      font-size: rem-calc(14);
    }
}

address {
    font-style: normal;
    font-size: rem-calc(14);
    p {
      margin-bottom: 0;
    }
}

.social li {
    margin-bottom: 0;
    &:last-child {
      margin-bottom: 0;
    }
}
  
.legal {
    li {
      font-size: rem-calc(14);
    }
}

.inline-list--logos li:first-child {
    position: relative;
    top: -4px;
}

.more-link {
    background-color: lightgray;
    border-radius: 0;
    display: inline-block;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1.5;
    margin-bottom: 5px;
    margin-right: 5px;
    margin-top: 50px;    
    padding: 10px 15px;
    text-decoration: none;
    text-transform: uppercase;
}
    
#pills-participants-tab,
#pills-appointments-tab,
#pills-questionnaires-tab {
    color: black;
    font-family: 'Ciutadella Semibold', 'Roboto', Fallback, sans-serif;
    margin-left: 0.5em;
}

#img-ndc-logo {
    background-color: white;
    border: 5px solid white;
    border-radius: 100%;
    display: block;
    margin: auto;
    margin-bottom: 5%;
    margin-top: 10%;
    overflow: hidden;
    padding: 0;
    width: 60%;
}

#participantstable {
    float: none;
}

.loading {
    display: none;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}
  
.loader {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    animation: rotate 1s linear infinite
}

.loader::before, .loader::after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 10px solid #ea6212;
    animation: prixClipFix 2s linear infinite ;
}

.loader::after{
    transform: rotate3d(90, 90, 0, 180deg );
    border-color: #ff001e;
}

@keyframes rotate {
    0%   {transform: rotate(0)}
    100%   {transform: rotate(360deg)}
}

@keyframes prixClipFix {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    75%, 100%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
}
