.modal {
    display: none;
}

.modal-backdrop {
    display: none;
    opacity: .5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-dialog {
    max-width: none;
    width: min-content;
    position: absolute;
    top: 45%;
    left: 50%;
    z-index: 200;
    transform: translate(-50%, -50%);
}

.modal-dialog .modal-content {
    width: 50vw;
    height: 80vh;
    min-height: 100%;
    max-height: 80vh;
    background-color: white;
    position: static;
    border-radius: 3px;
}

.modal-dialog .modal-content-alert-mobile {
    width: auto;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 2px;
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 10%);
    border: 1px solid;
    border-color: #dfdfdf;
    
}
.modal-dialog .modal-content .header {
    display: flex;
    width: 100%;
    padding: 24px;
    padding-bottom: 0px;
    background-color: white;
}
.modal-dialog .modal-content .header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    text-align: left;
    padding-bottom: 16px;
    border-bottom: 1px solid #dfdfdf;
}
.modal-dialog .modal-content .header .header-content .title {
    font-family: CiscoSansTT-Bold;
    color: #686767;
}
.modal-dialog .modal-content .header .header-content .close img {
    height: 16px;
    width: 16px;
}
.modal-dialog .modal-content .body {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100% - 58px);
    max-height: 100%;
    padding: 24px;
}
.modal-dialog .modal-content .bodyMobileAlert {
  justify-content: space-between;
}
.modal-dialog .modal-content .body .content {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.modal-dialog .modal-content .body .modalBody {
    overflow-y: scroll;
    overflow-x: hidden;
}
.modal-dialog .modal-content .body .mobileBodyAlert {
    overflow-y: auto;
}
.modal-dialog .modal-content .body .toolbar {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    background-color: white;
    align-items: center;
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid #DFDFDF;
}
.modal-dialog .modal-content .body .toolbar a {
    width: 'auto';
}
.modal-dialog .modal-content .body .toolbar * {
    margin: 0px 8px;
}
.modal-dialog-alert-modal {
    max-width: none;
    width: min-content;
    position: absolute;
    top: 45%;
    left: 50%;
    z-index: 200;
    transform: translate(-50%, -50%);
}

.modal-dialog .modal-content .body .iconStore{
    height: 4rem;
    margin-bottom: 2.5rem;
}
    
.modal-dialog .modal-content .body .ciscoPOWRStoreLogoContAlert {
    text-align: center;
}

@media only screen and (max-width: 992px) {
    .modal-dialog .modal-content {
        width: 80vw;
        height: 90vh;
        margin-top: 5vh;
   }

   .modal-dialog .modal-content-alert-mobile {
        width: auto;
        height: auto;  
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 2px;
        box-shadow: 0 2px 4px 0 rgb(0 0 0 / 10%);
        border: 1px solid;
        border-color: #dfdfdf;
    }

    .modal-dialog-alert-modal {
        max-width: none;
        width: min-content;
        position: absolute;
        top: 45%;
        left: 50%;
        z-index: 200;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 577px) {
    .modal-dialog {
        top: 50%;
        top: 0;
        left: 0;
        transform: translateY(-50%);
        transform: none;
        position: fixed;
    }
    .modal-dialog .modal-content {
        width: 100vw;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        max-height: 100vh;
        margin: 0;
    }
    .modal-dialog .modal-content .body .toolbar {
        margin-bottom: 4px;
    }
    .modal-dialog .modal-content-alert-mobile {
        width: auto;
        height: auto; 
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 2px;
        box-shadow: 0 2px 4px 0 rgb(0 0 0 / 10%);
        border: 1px solid;
        border-color: #dfdfdf;  
    }
    .modal-dialog-alert-modal {
        max-width: none;
        width: min-content;
        position: absolute;
        top: 45%;
        left: 50%;
        z-index: 200;
        transform: translate(-50%, -50%);
    }
}