html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.collapse {
    display: none;
}

.collapse.show {
    display: block;
}



.input-group {
    flex-wrap: wrap;
}

/* Impede que o label force o select a sair da div */
.input-group-text {
    white-space: nowrap;
    min-width: 250px; /* ajuste conforme necessário */
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Faz o select ocupar o resto do espaço disponível */
.custom-select {
    flex: 1 1 auto;
    min-width: 200px;
}


.custom-card-header {
    background-color: #D4DBE5;
    font-family: Roboto !important;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 36px;
    color: #4F4F4F;
}

.custom-card {
    border-radius: 10px;
}

.custom-card-body {
    padding: 2rem 1rem 1rem 5rem;
}

.custom-card-footer {
    text-align: right;
}

.new-project-footer-text {
    font-family: Roboto!important;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.18px;
    color: #4F4F4F;
    padding-right: 15px;
}

.history-arrow-right {
    color: #F9C87E;
}

.validation-summary-errors ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    margin-bottom: 0.30rem;
}


h1 {
    font-family: Roboto;
    font-style: normal;
    font-weight: bold;
    font-size: 90px;
    line-height: 112px;
    letter-spacing: -1.5px;
    color: rgba(0, 0, 0, 0.87);
}

h2 {
    font-family: Roboto;
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    line-height: 56px;
    color: rgba(54, 55, 38, 0.69);
}

h4 {
    font-family: Roboto;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 36px;
    color: #4F4F4F;
}

h5 {
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.18px;
    color: #4F4F4F;
    margin-bottom: 0px;
}

/*--Login page--*/
.body {
    margin: 0;
    padding: 0;
    background-image: url('../img/grey-bg.jpg');
    background-size: cover;
}

.header-container {
    width: 80%;
    margin-bottom: 200px;
}

.login-box {
    background: rgba(255, 255, 255, 0.26);
    border: 6px solid #FFFFFF;
    box-sizing: border-box;
    backdrop-filter: blur(11px);
    border-radius: 10px;
    margin: 30px;
    padding: 40px 40px 30px 40px;
}

.login-field {
    background: rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(11px);
    border: 4px solid #FFFFFF;
    box-sizing: border-box;
    border-radius: 10px;
    width: 100%;
    padding: 15px;
    margin: 10px 0px 10px 0px;
}

    .login-field::placeholder {
        font-family: Roboto;
        font-style: normal;
        font-weight: 500;
        font-size: 15px;
        line-height: 24px;
        letter-spacing: 0.18px;
        color: #979797;
    }

.register-btn,
.login-btn {
    background: #F9C87E;
    box-shadow: 0px 4px 11px 5px rgba(0, 0, 0, 0.16);
    border-radius: 10px;
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.18px;
    color: #FFFFFF;
    padding: 15px 90px 15px 90px;
    margin: 20px auto;
}

.to-register-form-btn {
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    color: blue;
    text-decoration: underline;
    margin: 0px auto;
    background: transparent;
    border: 0px;
    border-radius: 10px;
    padding: 5px 15px;
}

    .to-register-form-btn:hover {
        background: #c6c6c65e;
    }

.back-to-login-btn {
    box-shadow: 0px 4px 11px 5px rgba(0, 0, 0, 0.16);
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0.18px;
    padding: 5px 20px 5px 20px;
    margin: 0px auto;
}

/*--Main page--*/

/* Header */
.custom-navbar {
    height: 85px;
    background-image: linear-gradient(90.16deg, #d4dbe5 0.84%, #a5acbc 100%) !important;
}

.custom-brand {
    margin-left: 2%;
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.18px;
    color: rgba(0, 0, 0, 0.87);
}

.custom-navbar-nav {
    margin-right: 2%;
}

.custom-nav-item {
    width: 250px;
    text-align: center;
}

.btn-default:hover {
    color: white;
    filter: brightness(95%);
}

.btn-default {
    background: #F9C87E;
    box-shadow: 0px 4px 11px 5px rgba(0, 0, 0, 0.16);
    border-radius: 10px;
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.18px;
    color: #FFFFFF;
}

/* Content */
.history-container {
    margin-top: 70px;
}

.new-proj-container {
    margin-top: 50px;
}

.custom-card-header {
    background: #D4DBE5;
    font-family: Roboto;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 36px;
    color: #4F4F4F;
}

.custom-card {
    border-radius: 10px;
}

.custom-card-body {
    padding: 2rem 1rem 1rem 5rem;
}

.custom-card-footer {
    text-align: right;
}

.new-project-footer-text {
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.18px;
    color: #4F4F4F;
    padding-right: 15px;
}

.history-arrow-right {
    color: #F9C87E;
}

.no-margin {
    margin: 0px;
}

.btn-new-proj, .btn-new-continue-flow {
    padding: 10px 40px 10px 40px;
    font-size: 15px;
}

.proj-list-comp-detail {
    float: right;
    padding-right: 10%;
}

/*-- Nuova pratica --*/
.grey-bg {
    background: #F9F9F9;
}

.column-white {
    background-color: white;
    padding-left: 2%;
    padding-right: 2%;
    padding-bottom: 1%;
}

.image-header {
    background-image: url('../img/grey-bg.jpg');
    background-size: cover;
    min-height: 20%;
    padding-left: 10%;
    padding-right: 10%;
}

.image-header-title {
    color: white;
    font-size: 2em;
    margin-top: .5rem;
}

.accordion-container {
    padding-top: 50px;
}

.accordion-button {
    background-color: #D4DBE5 !important;
}
.custom-card-body-form {
    padding: 2rem 5rem 1rem 5rem;
    border: 1px solid #D4DBE5;
}

.container-btn-continue {
    text-align: right;
    margin-top: 60px;
    margin-bottom: 60px;
}

.btn-new-continue-flow {
    cursor: pointer;
}

.no-image-header-title {
    color: black;
    font-size: 2.5em;
    margin-bottom: 0px;
}

.no-image-header {
    background-color: white;
    height: 30%;
    padding-left: 5%;
}

.compartimento-title {
    padding: 2%;
}

.img-compartimento {
    background-image: url('../img/img-compartimento.png');
    padding-left: 0px;
}

.accordion-item {
    margin-bottom: 10px;
}

.btn-add-scale {
    padding: 10px 20px 10px 20px;
    margin: 15px;
}

/*--Compartimento--*/
.checklist-compartimento {
    border: 1px solid grey;
    padding: 10px;
    border-right: 0px;
    border-left: 0px;
}

.btn-infos {
    background-color: #F9C87E;
    border-color: grey;
    line-height: 1;
}

.radio-compartimento {
    margin-top: 20px;
}

.row-compartimento {
    margin-bottom: 10px;
}

    .row-compartimento p {
        margin-bottom: 0px;
    }

.containerbar {
    position: relative;
    width: 50%;
    margin: 280px auto;
    padding: 20px 40px;
    border-radius: 4px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .5);
}

.Loadingbar {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 10px;
    background: #f1f1f1;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
    border-radius: 4px;
    overflow: hidden;
}

    .Loadingbar:after {
        content: '';
        position: absolute;
        left: 0;
        width: 0;
        height: 100%;
        border-radius: 4px;
        box-shadow: 0 0 5px rgba(0, 0, 0, .2);
        animation: load 5s infinite;
    }

/*--Dettaglio progetto--*/
.page-footer-back-to-project {
    margin-right: 40px;
    margin-top: 40px;
}

/* -- Strategia antincendio -- */
.img-antincendio {
    background-image: url('../img/img-strategiaAntincendio.png');
    padding-left: 0px;
}

.accordion-selected {
    background-color: orange;
}

.custom-textarea-deroga, .custom-textarea-alternativa, .custom-textarea-progettuale {
    height: 15em !important;
    float: left;
    min-height: 75px;
    outline: currentcolor none medium;
    resize: none;
    padding: 1.5em;
}

.custom-textarea-alternativa-height {
    height: auto !important;
}

.popover {
    max-width: 100%;
}

.popover-body {
    max-height: 200px;
    overflow: auto;
}

.orange-esodo-values {
    border-radius: 25px;
    border: 1px solid orange;
    padding-top: 1rem;
}