/*Custom style per il frontend dell'intero sito*/
/*quando il plugin è attivo e l'utnete è abilitato il body contiene la classe .foxoi-quick-order-enabled*/
.foxoi-button-hide  #site-navigation .primary-navigation{
    min-width:100%;
}

.disable-quick-order #site-navigation .primary-navigation{
    min-width: calc(100% - 100px);

}


.foxoi-quick-order-enabled nav#site-navigation  div#ticket-main-badge-container {
    display: none;
}

.ri-primary-button {
    position: relative;
    margin: 0 0 0 9px;
    text-align: center;
    border: 3px solid #003a56;
    height: 54px;
    display: flex;
    color: #bc2a0a;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 16px;
    font-weight: 600;
    align-items: center;
    padding: 8px !important;
}
/*Modale*/
div#foxoi-modal .inside-fox-modal  {
    position: relative;
    width: 95%;
    height: 93vh;
    margin: 2.5% auto;
    border-radius: 8px;
    display: flex;
    min-width: 95%;
    align-items: center;
    z-index: 2;
}
.fox-modal-content {
    background: #fff;
    padding: 20px;
    height: fit-content;
    width: 100%;
    border-radius: 4px;
    position: relative;
}
.fox-modal-map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}
button#close-foxoi {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 1000;
    width: 24px;
    padding: 0;
    height: 24px;
    color: #bc290a;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}
#backdrop-oi {
    background: transparent;
    width: 100%;
    height: 100%;
    z-index: 1;
    position: absolute;
}
#backdrop-oi:hover {
    cursor: pointer;
}

/*avviso nessun abbonamento attivo, blocca il quick order*/
.fox-no-subscr {
    text-align: center;
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.fox-no-subscr a {
    display: block;
    color: var(--red);
    text-decoration: underline;
    width: 100%;
}