.adn-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    background: rgba(50, 50, 50, 0.1);
}

.adn-window {
    color: #333333;
    font-family: Arial, sans-serif;
    background: #fff;
    width: 90%;
    max-width: 800px;
    box-shadow: 0px 10px 10px -10px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    border: 1px solid #e2e2e2;
    overflow: hidden;
    z-index: 10000;
}

.adn-message {
    max-width: 500px;
    position: fixed;
    bottom: 20px;
    left: 20px;
}

.adn-content {
    padding: 20px 30px;
    overflow: hidden;
}

.adn-footer {
    padding: 20px 30px;
    overflow: hidden;
    background: #fcfcfc;
    border-top: 1px solid #f2f2f2;
}

.adn-header {
    padding: 20px 30px;
    border-bottom: 1px solid #f2f2f2;
}

.adn-window h3 {
    margin: 0 0 10px;
    line-height: 1.5;
    font-size: 16px;
}

.adn-window p {
    margin: 0 0 10px;
    line-height: 1.5;
    font-size: 16px;
}

.adn-window button {
    border: 1px solid #157bce;
    background: #2196f3;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    float: right;
    margin-left: 10px;
}

button.adn-outline {
    border: 2px solid #2196f3;
    background: none;
    color: #2196f3;
    box-shadow: none;
    padding: 9px 19px;
}

button.adn-faded:hover {
    color: #fff;
    background: #2196f3;
}

button.adn-detail {
    float: left;
    padding: 3px 6px;
    margin: 10px 0px;
    clear: both;
    font-size: 12px;
}

.adn-window button.adn-blank {
    float: left;
    border: none;
    background: none;
    color: #2196f3;
}

.adn-listItem {
    display: flex;
    align-items: center;
    position: relative;
    padding: 20px 30px 20px;
    /* margin-bottom: 10px; */
    border-bottom: 1px solid #f2f2f2;
}

.adn-listItem > div {
    width: calc(100% - 80px);
    overflow: hidden;
}

.adn-details {
    display: none;
    clear: both;
}

.showDetails .adn-details {
    display: block;
}

.adn-vendors-container,
.adn-purpose-container {
    max-height: 400px;
    overflow-y: auto;
}

.adn-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-left: 10px;
}

.adn-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.adn-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f7f7f7;
    -webkit-transition: 0.2s;
    transition: 0.2s;
    box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.adn-slider:before {
    position: absolute;
    content: '';
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    background-color: white;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

input:checked + .adn-slider {
    background-color: #2196f3;
}

input:disabled + .adn-slider {
    background-color: #94abbd;
}

input:checked + .adn-slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.adn-slider.round {
    border-radius: 34px;
}

.adn-slider.round:before {
    border-radius: 50%;
}

.adn-editButton {
    position: fixed;
    bottom: 0;
    right: 30px;
    padding: 10px 20px;
    background: #2196f3;
    font: 14px Arial;
    color: #fff;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    cursor: pointer;
    border: 1px solid #157bce;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.4);
    z-index: 999;
}

@media screen and (max-width: 800px) {
    .adn-window h3,
    .adn-window p {
        font-size: 12px;
    }

    .adn-header {
        padding: 10px 20px;
    }

    .adn-window button {
        padding: 6px 15px;
        float: left;
        font-size: 12px;
        margin-bottom: 10px;
    }

    .adn-purpose-container {
        max-height: 200px;
        overflow: auto;
    }
    .adn-editButton {
        font-size: 10px;
        padding: 5px 10px;
    }
}
