#adminmenu, #adminmenu .wp-submenu, #adminmenuback, #adminmenuwrap {
    min-height: 100%;
}

.newsman-subscription-form dl dd,
.newsman-subscription-form dl dt {
    margin-bottom: 12px;
}

#newsman_subscribtion_message.success {
    color: #3dc53d;
}

#newsman_subscribtion_message.error {
    color: #d24b4b;
}

.newsman-subscription-form input[type='submit'],
.newsman-subscription-form input[type='text'],
.newsman-subscription-form input[type='button'] {
    width: 100%;
}

/*Modal*/

.modal-open {
    overflow: hidden;
}

.modal {
    display: none;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

.modal.fade .modal-dialog {
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    -o-transform: translate(0, -25%);
    transform: translate(0, -25%);
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
}

.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #999999;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    outline: 0;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000000;
}

.modal-backdrop.fade {
    opacity: 0;
    filter: alpha(opacity=0);
}

.modal-backdrop.in {
    opacity: 0.5;
    filter: alpha(opacity=50);
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    min-height: 16.42857143px;
}

.modal-header .close {
    margin-top: -2px;
}

.modal-title {
    margin: 0;
    line-height: 1.42857143;
}

.modal-body {
    position: relative;
    padding: 15px;
}

.modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

.modal-footer .btn + .btn {
    margin-left: 5px;
    margin-bottom: 0;
}

.modal-footer .btn-group .btn + .btn {
    margin-left: -1px;
}

.modal-footer .btn-block + .btn-block {
    margin-left: 0;
}

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}

.close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}

button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
}

.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    filter: alpha(opacity=50);
    opacity: .5;
}

@media (min-width: 768px) {
    .modal-dialog {
        width: 600px;
        margin: 30px auto;
    }

    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .modal-sm {
        width: 300px;
    }
}

@media (min-width: 992px) {
    .modal-lg {
        width: 900px;
    }
}

/*Modal*/

.pluginsItem {
    width: 200px !important;
    margin: 5px;
    height: 150px !important;
    display: inline;
}

.pluginsItem input[type=button] {
    width: 200px !important;
    height: 75px;
}

.preview-template-container {
    width: 50%;
    height: 500px;
    overflow: auto;
    border: 1px solid #999;
}

.newsman-template-preview-header {
    background-color: #efefef;
    border: 1px solid #999;
    font-size: 1.3em;
    padding: 25px 0;
    width: 50%;
    margin-bottom: -1px;
    text-align: center;
}

.templates-table th {
    padding-left: 15px;
}

.templates-table, .templates-table th, .templates-table td {
    border: 1px solid #999;

}

.templates-table {
    border-collapse: collapse;
}

input[name='use_email_template'] {
    text-align: center;
}

input[name='newsman_newsletter_title'], input[name='newsman_newslewtter_nr_posts'] {
    margin-bottom: 8px;
    border: 1px solid #cacaca;
}

#send-message-neutral {
    display: none;
}

#send-message-success, #send-message-fail {
    color: white;
    display: block;
    margin-top: 0;
    padding-bottom: 18px;
    padding-top: 0;
    position: relative;
    top: 5px;
    vertical-align: middle;
    width: 100%;
}

#send-message-success {
    background-color: #99CC99;
}

#send-message-fail {
    background-color: #993300;
}

body {
    background: #fff;
}

.newsman-template-preview-container {
    display: none;
}

input[name="newsman_newslewtter_nr_posts"] {
    max-width: 50px;
}

.posts-table {
    margin-left: 10px;
    padding: 10px;
    width: 434px;
    border: 1px solid #cacaca;
}

.posts-table .posts-table-header .checkbox-row,
.posts-table .posts-table-body .checkbox-row {
    width: 30px;
    display: inline-block;
    text-align: center;
}

.posts-table .posts-table-header .title-row,
.posts-table .posts-table-body .title-row {
    width: 300px;
    display: inline-block;
    text-align: left;
}

.posts-table .posts-table-header .link-row,
.posts-table .posts-table-body .link-row {
    width: 60px;
    display: inline-block;
    text-align: left;
}

.posts-table .posts-table-entry {
    padding: 5px 0;
    border-bottom: 1px solid #cacaca;
}

.credentials-status {
    border: 2px solid #fff;
    border-radius: 15px;
    height: 15px;
    width: 15px;
    float: left;
    margin-right: 10px;
}

.credentials-valid {
    background-color: #AAE24F;
}

.credentials-invalid {
    background-color: #E24F63;
}

.wrap-settings-admin-page .form-table input,
.wrap-settings-admin-page .form-table select {
    min-width: 300px;
}

.newsletter-posts ul {
    list-style: none;
    list-style-position: outside;
    width: 480px;
    float: left;
    margin-right: 30px;
}

.newsletter-posts ul li {
    width: 480px;
    background-color: white;
    margin-bottom: 0;
    border-bottom: 1px solid #d9d9d9;
}

.newsletter-posts ul li:nth-child(odd) {
    background-color: #efefef;
}

.newsletter-posts ul li span {
    vertical-align: middle;
    text-align: left;
    display: inline-block;
    box-sizing: border-box;
}

.newsletter-posts ul li span:nth-child(1) {
    width: 400px;
    overflow: hidden;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
}

.newsletter-posts ul li span {
    padding-top: 10px;
    padding-bottom: 10px;
}

.newsletter-posts ul li span a {
    text-align: center;
}

.newsletter-posts li.newsletter-posts-header {
    background-color: #666 !important;
    color: #fff;
}

input[name='newsman_newsletter_title'], select {
    width: 300px;
}

.modal-title {
    display: inline-block;
    margin-right: 20px !important;
}

.modal-header {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.modal-header .close {
    padding-top: 5px !important;
}

.modal-content {
    border-radius: 0 !important;
}

.input-error {
    background-color: #d9534f;
    border-radius: 20px;
    color: #ffffff;
    display: inline-block;
    font-family: Georgia;
    font-size: 16px;
    font-weight: bold;
    height: 22px;
    line-height: 19px;
    margin-left: -12px;
    margin-top: -11px;
    position: absolute;
    text-align: center;
    vertical-align: middle;
    width: 22px;
}

.input-error-border {
    border-color: #d9534f !important;
}

.input-success-border {
    border-color: #5cb85c !important;
}

.input-success {
    background-color: #5cb85c;
    border-radius: 20px;
    color: #ffffff;
    display: inline-block;
    font-size: 13px;
    height: 22px;
    line-height: 19px;
    margin-left: -12px;
    margin-top: -11px;
    position: absolute;
    text-align: center;
    vertical-align: middle;
    width: 22px;
}

.newsman-select-list option {
    border-bottom: 1px solid #efefef;
    padding: 2px 10px;
}

.newsman-select-list option:nth-child(odd) {
    background-color: #fafafa;
}

.newsman-template-editor {
    height: 400px;
    width: 100%;
    color: #606060;
    background-color: #F9F9F9;
    font-family: Consolas, ​Monaco, ​monospace;
    font-size: 13px;
}

.save-status {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: 29px;
    padding: 0 10px;
}

.save-error {
    background-color: #f69a98;
}

.save-success {
    background-color: #9FBF8C;
}

.save-error, .save-success {
    display: block;
}

.newsman-template-variables dt {
    border-bottom: 1px dashed #cacaca;
    color: #666;
    font-family: monospace;
    padding: 5px 10px;
    cursor: pointer;
}

.newsman-template-variables dd {
    background-color: #efefef;
    border: 1px dashed #cacaca;
    font-family: monospace;
    font-size: 13px;
    font-weight: normal;
    margin-top: -1px;
    padding: 0 10px;
    display: none;
}