/* Fonts */
@import url('https://fonts.googleapis.com/css?family=Merriweather:400,700');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600');

/* Set body styles */
body {
    background-color: #000000;
}
/* Button */
.cta {
    font-weight: 600;
    font-size: 1em;
    background-color: #0092C7;
    border-radius: 1px;
    color: #FFF;
    display: inline-block;
    margin-bottom: 1em;
    padding: 0.3em 1em;
    text-decoration: none;
    border: none;
    width: 200px;
    padding: 12px;
    margin: 0 auto;
    cursor: pointer;
}
.cta-block {
    margin: 0 auto;
    margin-bottom: 50px;
}

.cta:hover {
    background-color: #EEE;
    color: #0092C7;
    text-decoration: none;
}

.close {
    color: white;
    font-size: 24px;
    padding: 8px 12px;
    position: absolute;
    right: 0;
    text-align: center;
    text-decoration: none;
    top: 0;
    z-index: 1;
}

.optin-modal {
    background-color: black;
    height: calc(100vh - 90px);
    position: relative;
    margin: 0 auto;
    padding: 45px 20px;
    -webkit-overflow-scrolling: touch;
}

.optin-modal__content {
    font-family: 'Source Sans Pro', sans-serif;
    color: #FFF;
    height: 100%;
    max-width: 400px;
    position: relative;
    margin: 0 auto;
/*    padding: 45px 20px;*/
    display: flex;
    flex-direction: column;
}

.optin-modal__logo {
    padding-bottom: 30px;
    width: 140px;
    display: block;
    margin: 0 auto;
}

.optin-modal__heading {
    font-family: 'Merriweather', serif;
    font-weight: 400;
    font-size: 18px;
    text-align: center;
    margin: 0 auto;
    margin-bottom:  30px;
    line-height: 1.3;
}

.optin-modal__heading_lrg {
    font-family: 'Merriweather', serif;
    font-weight: 400;
    font-size: 28px;
    text-align: center;
    margin: 0 auto;
    margin-bottom:  30px;
    line-height: 1.3;
}

.optin-modal__email {
    padding: 15px;
    background: #FFFFFF;
    color: #666666;
    -webkit-appearance: none;
    border-radius: 1px;
    border: none;
    margin-bottom: 30px;
}

.optin-modal__label {
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 14px;
    line-height: 1.3;
}

.optin-modal__label:last-of-type {
    margin-bottom: 35px;
}
.optin-modal__link {
    color: #0092C7;
    text-decoration: underline;
    cursor: pointer;
}

@media (min-width: 60em) {
    .optin-modal {
        height: 75%;
        margin: 5% auto;
        max-height: 57em;
        max-width: 66em;
        width: 448px;
    }
    .optin-modal__content {
        margin: 0 auto;
    }
    .optin-modal__heading {
        width: 90%;
        font-size: 20px;
    }
    .optin-modal__heading_lrg {
        width: 100%;
        font-size: 28px;
    }
    .cta-block {
        margin-bottom: 0;
    }
}

/* Checkboxes */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 3px;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: #eee;
    border-radius: 1px;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
    background-color: #FFF;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #0092C7;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}