.wrap .review-notice.notice {
    padding: 0;
    margin: 5px 0 10px;
    border: 1px solid #E5E5E5;
    background: #FFF;
    overflow: hidden;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    min-height: 80px;
    display: table; /* The magic ingredient! */
    font: 13px "Open Sans", sans-serif;
}

.wrap .review-notice.notice.loading:before {
    content: attr(data-message);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 5;
    text-align: center;
    line-height: 80px;
    font-size: 22px;
    font-weight: bold;
}

.review-notice > div {
    display: table-cell; /* The magic ingredient! */
    vertical-align: middle;
    cursor: default;
}

.review-notice.notice.loading > div {
    -webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -o-filter: blur(2px);
    -ms-filter: blur(2px);
    filter: blur(2px);
}

.review-notice-logo span {
    display: block;
    width: 80px;
    font-size: 30px;
}

.review-notice-message {
    width: 100%;
    padding: 10px 20px;
    color: #444;
}

.review-notice-message strong {
    color: #000;
}

.review-notice-cta {
    border-left: 1px solid #E5E5E5;
    background: #F8F8F8;
    padding: 0 30px;
    position: relative;
    white-space: nowrap;
}

.wp-core-ui .review-notice-cta button,
.wp-core-ui .review-notice-cta a,
.wp-core-ui .review-notice-cta .button-primary:active {
    vertical-align: middle;
	padding: 10px;
}

.wp-core-ui .review-notice-cta input[type="email"] {
    vertical-align: middle;
    line-height: 20px;
    margin: 0;
    min-width: 50px;
    max-width: 320px;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
}

.review-notice-dismiss:first-child {
    color: #008000;
}

.review-notice-dismiss {
    background: transparent;
    border: 0;
    cursor: pointer;
    color: #BBB;
}

.review-notice-dismiss:hover {
    color: #666;
}

.review-notice .review-notice-logo {
    position: relative;
}

.review-notice .review-notice-logo:before,
.review-notice .review-notice-logo:after {
    content: '';
    position: absolute;
    z-index: 0;
    background: inherit;
    left: 0;
    top: 0;
    width: 80px;
    bottom: 0;
}

.review-notice .review-notice-logo:before {
    background-image: none;
    z-index: 1;
}

.review-notice .review-notice-logo:after {
    background-color: rgba(0, 0, 0, 0);
    z-index: 2;
}

@media only all and (max-width: 1200px) {
    .review-notice-dismiss {
        display: block;
        margin: 0 auto;
        line-height: 18px;
        padding-top: 8px;
        padding-bottom: 2px;
    }

    .review-notice-dismiss:first-child {
        color: #008000;
    }
}

@media only all and (max-width: 1000px) {
    .wrap .review-notice.notice {
        display: block;
        font-size: 13px;
    }

    .review-notice > .review-notice-logo {
        float: left;
        display: inline-block;
        height: 80px;
        margin: 10px;
        border-radius: 4px;
    }

    .review-notice > .review-notice-message {
        width: auto;
        display: block;
        padding: 10px;
        min-height: 80px;
    }

    .review-notice > .review-notice-cta {
        display: block;
        border-top: 1px solid #E5E5E5;
        border-left: 0;
        text-align: center;
        white-space: normal;
        line-height: 30px;
        padding: 10px 20px;
    }

    .wp-core-ui .review-notice > .review-notice-cta > input[type="email"],
	.review-notice > .review-notice-cta > a,
    .review-notice > .review-notice-cta > button {
        font-size: 14px;
		padding: 10px;
    }

    .review-notice > .review-notice-cta > .review-notice-dismiss {
        display: inline-block;
        float: none;
        line-height: 26px;
        padding-top: 0;
        padding-bottom: 0;
        font-size: 13px;
    }

    .review-notice > .review-notice-cta > .review-notice-dismiss:first-child {
        color: #008000;
    }
}

@media only all and (max-width: 500px) {
    .wp-core-ui .review-notice > .review-notice-cta > input[type="email"],
	.review-notice > .review-notice-cta > a,
    .review-notice > .review-notice-cta > button {
        display: block;
        width: 100% !important;
        max-width: none;
        margin-bottom: 4px;
        font-size: 16px;
        height: 34px;
		padding: 10px;
    }

    .review-notice > .review-notice-cta > .review-notice-dismiss {
        margin-top: 5px;
        font-size: 14px;
        height: 23px;
    }

    .review-notice > .review-notice-cta > .review-notice-dismiss:first-child {
        color: #008000;
    }
}
