/* Screenshots */
.steps-screenshots figure {
    width: 300px;
    height: 258px;
    border: 5px solid #bbbbbb;
    margin: 10px;
    display: inline-block;
    position: relative;
}

.steps-screenshots div {
    overflow: auto;
    height: 100%;
}

.steps-screenshots img {
    width: 100%;
}

.steps-screenshots figcaption {
    background-color: black;
    color: white;
    padding: 5px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.step .alert-info > ul {
    list-style: none;
    margin-left: 1em;
}

.step .detail h4 {
    border-bottom: 2px solid grey;
    padding-bottom: 5px;
}

/* Better ads */
.betterads-error img {
    max-height: 100px;
    margin-right: 1em;
}

label[for^="website_extraUrls_"] {
    visibility: hidden;
}

/* Modals */
html.is-inactive {
    overflow: hidden;
}
.c-dialog__box img {
    max-width: 100%;
    height: auto;
    max-height: none;
}
.c-dialog {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 2.4rem;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    background-color: rgba(0, 0, 0 , .75);
    transition: .2s;
}

.c-dialog__box {
    margin: auto;
    padding: 2.4rem;
    background-color: white;
    text-align: center;
}

.c-dialog__box [data-dismiss] {
    float: right;
    border: 0;
    background: 0;
}

.c-dialog[aria-hidden="true"] {
    visibility: hidden;
    opacity: 0;
}
