/*sortir rapid*/
.sortir-rapid {
    right: 5%;
    position: fixed;
    z-index: 99999;
    top: 55px;
    background-color: #ed0000;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    padding: 3px 11px 3px 7px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.31);
    border: none;
    border-radius: 5px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.sortir-rapid.offline {
    margin-top: 52px;
}

.sortir-rapid:hover {
    text-decoration: underline;
    background-color: #c00000;
}

.sortir-rapid::before {
    content: "";
    background-image: url(../img/icona-24-blanc-close.svg);
    background-repeat: no-repeat;
    background-position-x: -15px;
    background-position-y: -12px;
    width: 30px;
    display: inline-block;
    height: 30px;
}

@media (max-width: 1024px) {
    .sortir-rapid {
        width: 100%;
        top: 0;
        left: 0;
        border-radius: 0;
        justify-content: center;
        z-index: 99999;
        position: relative;
        height: 40px;
    }
    .sortir-rapid.offline {
        margin-top: 0;
    }
    .NG-departament.NG-departament-fugida{
        position: absolute;
        top: 35px;
        width: 100%;
    }
}

.sim-btn {
    width: 144px;
    height: 103px;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.sim-btn span {
    color: #fff;
    background-color: #ed0000;
    padding: 8px 18px 8px 32px;
    border-radius: 5px;
    font-size: 14px;
    position: relative;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.31);
}

@media (max-width: 1024px) {
    .sim-btn{
        margin: 0;
    }
    .sim-btn span{
        min-width: 130px;
        margin: 0px 8px;
    }
}

.sim-btn span::before {
    content: "";
    background-image: url(../img/icona-24-blanc-close.svg);
    background-repeat: no-repeat;
    width: 45px;
    display: inline-block;
    height: 45px;
    position: absolute;
    top: -4px;
    left: -6px;
    background-size: contain;
}

/*sortir rapid Modal*/
.boto-fuga .modal {
    top: 30%;
    overflow: hidden;
    margin: 0 15px;
    z-index: 99999;
}
.boto-fuga .modal.fade .modal-dialog {
    width: 100%;
    max-width: 800px;
}
.boto-fuga .modal-header {
    border-bottom: none;
}
.boto-fuga .close {
    color: #ed0000;
    opacity: 1;
    font-size: 25px;
}
.boto-fuga .close:hover {
    color: #c00000;
    opacity: 1;
}
.boto-fuga .modal-body {
    padding: 10px 20px 20px 20px;
}
.boto-fuga .modal-title {
    font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: #333333;
}
.boto-fuga .modal-body-content {
    display: flex;
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    color:#333;
    margin-top: 30px;
}
.boto-fuga .modal-body-content-detail {
    border-right: 2px solid #ddd;
    padding: 0 15px;
}
.boto-fuga .modal-body-content-detail:last-child {
    border-right: none;
}
.boto-fuga .modal-body-content-detail p {
    margin-top: 16px;
}
.boto-fuga .modal-footer {
    padding: 19px 20px 20px;
    margin-top: 0px;
    text-align: right;
    border-top: none;
}
.boto-fuga .modal-footer button {
    background-color: #ed0000;
    color: #fff;
    border: none;
}
.boto-fuga .modal-footer button:hover {
    text-decoration: underline;
    background-color: #c00000;
    color: #fff;
}
@media (max-width: 767px) {
    .fpca-subcapcalera {
        margin-top: 40px;
    }
    .boto-fuga .modal {
        top: 20%;
        overflow: auto;
    }
    .boto-fuga .modal-title {
        font-size: 18px;
    }
    .boto-fuga .modal-body-content {
        flex-direction: column;
        text-align: left;
        margin-top: 15px;
    }
    .boto-fuga .modal-body-content-detail {
        border-right: none;
        border-bottom: 2px solid #ddd;
    }
    .boto-fuga .modal-body-content-detail {
        display: flex;
        padding: 0;
        gap: 10px;
        align-items: center;
    }
    .boto-fuga .modal-body-content-detail:last-child {
        border-bottom: none;
    }
}