* {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.container {
    max-width: 720px;
    margin: 0 auto;
}
.inner-container {
    max-width: 500px;
    margin: 0 auto;
}
.text-center {
    text-align: center;
}
img {
    display: block;
    margin: 0 auto;
}
p {
    font-size: 16px;
    line-height: 1.5em;
    text-align: center;
    margin: 3rem 0 1rem;
}
.spacer {
    width: 100%;
    height: 1px;
    background: #ddd;
    margin: 2rem 0 1rem;
}
.updateinfo {
    margin: 1rem 0 0 0;
}
.updateinfo p.success {
    color: green;
    display: none;
}
.updateinfo p.error {
    color: red;
    display: none;
}

.loader {
    width: 80px;
    height: 80px;
    background: url(/wp-content/plugins/zenit-newsletter/newsletter/assets/img/loader.svg) no-repeat 0 0;
    background-size: contain;
    margin: 0 auto -20px;
    display: none;
}
/* INPUT TEXT/EMAIL */
.input[type="text"],
.input[type="email"] {
    padding: 10px 15px;
    width: 100%;
    border-radius: 4px;
    border: 0;
    border: 1px solid #ddd;
    margin: 1rem 0 0 0;
    font-size: 16px;
}
/* INPUT TEXT/EMAIL */

/* INPUT CHECKBOX */
.radio-wrap,
.checkbox-wrap {
    margin: 1rem 0 0 0;
}
input[type=radio] {
    margin: 0.2em 0;
    padding: 0.2em 0;
}
input[type=checkbox] + label {
    display: block;
    margin: 0.2em 0;
    cursor: pointer;
    padding: 0.2em 0;
    font-size: 16px;
}
input[type=checkbox] {
    display: none;
}
input[type=checkbox] + label:before {
    content: "\2714";
    border: 0.1em solid #000;
    border-radius: 0.2em;
    display: inline-block;
    width: 1em;
    height: 1em;
    padding-left: 0.2em;
    padding-bottom: 0.3em;
    margin: 0 15px 0 0;
    vertical-align: bottom;
    color: transparent;
    transition: .2s;
}
input[type=checkbox] + label:active:before {
    transform: scale(0);
}
input[type=checkbox]:checked + label:before {
    background-color: MediumSeaGreen;
    border-color: MediumSeaGreen;
    color: #fff;
}
input[type=checkbox]:disabled + label:before {
    transform: scale(1);
    border-color: #aaa;
}
input[type=checkbox]:checked:disabled + label:before {
    transform: scale(1);
    background-color: #bfb;
    border-color: #bfb;
}
/* INPUT CHECKBOX */

button,
input[type="button"],
input[type="submit"] {
    color: #37474f;
    border-color: #37474f;
    background-color: rgba(63, 81, 181, 0.1);
    padding: 1em 2em;
    border: 1px solid;
    border-radius: 4px;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    margin: 1rem 0 0 0;
    cursor: pointer;
}
button#btnSend {
    margin: 2rem 0 0 0;
}
button:hover,
input[type="submit"]:hover {
    border-color: #3f51b5;
    background-color: rgba(63, 81, 181, 0.1);
}

input[type="button"].btn-modal,
input[type="button"].btn-cancel,
input[type="submit"].btn-unsubscribe {
    /*padding: 0;*/
    /*border: 0;*/
    /*color: #949494;*/
    /*background: transparent;*/
    /*font-size: 16px;*/
    padding: 0.5em 1em;
}

input[type="button"]:disabled,
input[type="button"][disabled]{
    border: 1px solid #999;
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}

.name-input-wrapper,
.text-input-wrapper {
    width: 49%;
    display: inline-block;
}

html[lang="en"] .name-input-wrapper {
    margin: 0 5px 0 0;
}

html[lang="en"] .text-input-wrapper {
    margin: 0 0 0 0;
}
.text-input-wrapper {
    margin: 0 0 0 5px;
}
.text-input-wrapper-0 {
    margin: 0 0 0 0;
}

.status {
    font-weight: bold;
    margin: 3rem 0 0 0;
}


/* MODAL */
.unsubscribe-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(000, 000, 000, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.unsubscribe-form-wrapper {
    background-color: #fff;
    border-radius: 4px;
    padding: 15px 20px  15px 20px;
}


.unsubscribe-form-wrapper form {
    margin: 0;
}

.unsubscribe-form-wrapper form input:first-of-type {
    margin: 0 10px 0 0
}

.modal-footer {
    text-align: right;
}



.modal-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
}

.modal-header h5 {
    margin-top: .0rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 1.25rem;
    color: #212529;
    font-weight: normal;
}

.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem 0;
}

.modal-body p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.modal-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 0;
    border-top: 1px solid #e9ecef;
}
