html,
body {
    min-width: 0;
}

body {
    border-top: 4px solid rgba(12,13,14,0.86);
    padding: 0 20px;
}

.email-prefs {
    margin: auto;
    width: 100%;
    max-width: 800px;
    padding: 40px 0;
}

@media (max-width: 600px) {
    .email-prefs {
        padding: 20px 0;
    }
}

/* Header */
.header {
    padding-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navigation {
    margin-top: 15px;
}

.tiny-icon {
    position: relative;
    top: 1px;
}

.btn-secondary:hover .tiny-icon,
.btn-secondary:focus .tiny-icon,
.btn-secondary:hover .tiny-icon {
    fill: #005999;
}

@media (max-width: 600px) {
    .header {
        padding-bottom: 30px;
        display: flex;
        flex-direction: column;
    }

    .logo {
        width: 100%;
    }

    .navigation {
        display: none;
    }
}

/* Notice */
.notice {
    padding: 15px 75px 15px 15px;
    line-height: 1;
    border: 1px solid;
    font-size: 13px;
    border-radius: 2px;
    position: relative;
    margin-bottom: 40px;
}

.notice.-success {
    background: #DBF0E2;
    border-color: #C9E8D4;
    color: #173621;
}

.-right-aligned {
    position: absolute;
    right: 15px;
    top: 15px;
}

.notice .question-hyperlink {
    font-size: inherit;
    cursor: pointer;
}

@media (max-width: 600px) {
    .notice {
        margin-bottom: 20px;
    }
}

/* Home */
.stackmail-home {
    display: flex;
    align-items: center;
}
.-message {
    padding: 20px 0;
    width: calc(100% - 300px);
}
.-message h1,
.-message p {
    margin: 0 0 25px;
}
.-message h1 {
    color: #3C3F44;
    font-weight: normal;
    font-size: 24px;
    line-height: 27px;
}
.-message p {
    font-size: 17px;
    line-height: 1.4;
    color: #6C737A;
}
.-message h1 strong {
    font-weight: bold;
}
.-illustration {
    text-align: center;
    width: 300px;
    height: 280px; /* TGOAS: intentionally taller than the image so the text vertically aligns visually. */
}
@media (max-width: 600px) {
    .stackmail-home {
        display: block;
    }
    .-message,
    .-illustration {
        width: 100%;
    }
}

/* Unsubscribe */
.title {
    padding-bottom: 0;
}

    .title h1 {
        line-height: 1;
        margin: 0 0 20px;
    }

.email-buckets {
    border-top: 1px solid #EFF0F1;
    border-bottom: 1px solid #EFF0F1;
    padding: 20px 0;
}

.email-bucket {
    padding: 20px 0;
    white-space: nowrap;
}

.email-bucket-input,
.email-bucket-info {
    display: inline-block;
    vertical-align: top;
}

.email-bucket-input {
    width: 25px;
}

.email-bucket-info {
    cursor: pointer;
    white-space: normal;
}

.email-bucket-name,
.email-bucket-description {
    display: block;
    line-height: 1;
}

.email-bucket-name {
    padding-top: 4px;
    font-weight: bold;
    font-size: 16px;
    color: #242629;
}

.email-bucket-description {
    margin-top: 10px;
    font-size: 13px;
    color: #6C737A;
}

.save-email-prefs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.full-prefs-title {
    display: block;
}

.full-prefs-byline {
    display: block;
    font-size: 12px;
    color: #6C737A;
}

@media (max-width: 600px) {
    .save-email-prefs {
        flex-direction: column;
    }

    .-save,
    .-full-prefs {
        width: 100%;
    }

    .-full-prefs {
        padding-top: 20px;
    }
}
