/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

/**
* Generic Assets
*/

#mailup-plugin-container {
  margin-left: -1.25rem;
  min-width: 40rem;
}

#mailup-plugin-container a {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

#mailup-plugin-container h2 {
  margin-bottom: 5px;
}

#mailup-plugin-container .button {
  min-width: 5rem;
}

#mailup-plugin-container div.separator-with-border {
  margin: 1.25rem 0;
  width: 100%;
  border-bottom: 1px solid #f0f0f1;
}

#mailup-plugin-container
  .mailup-connect-button.button.button-primary {
  padding: 0.313rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-overflow: ellipsis;
  text-decoration: none;
  vertical-align: top;
  box-sizing: border-box;
  border-radius: 0.25rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#mailup-plugin-container .wp-editor-tabs {
  float: left;
}

#mailup-plugin-container #mceu_3,
#mailup-plugin-container #mceu_4,
#mailup-plugin-container #mceu_5,
#mailup-plugin-container #mceu_10 {
  display: none;
}

#mailup-plugin-container span.info {
  font-style: italic;
  display: block;
  margin-bottom: 10px;
}

#mailup-plugin-container span.feedback {
  display: none;
  float: right;
  line-height: 2.5;
  margin-right: 20px;
}

/**
* Masthead
*/

.mailup-masthead {
  background-color: #fff;
  text-align: center;
  box-shadow: 0 0.063rem 0 rgba(200, 215, 225, 0.5),
    0 0.063rem 0.125rem #e9eff3;
}

.mailup-masthead__inside-container {
  padding: 0.375rem 0;
  margin: 0 auto;
  width: 100%;
  max-width: 45rem;
  text-align: left;
}

.mailup-masthead__inside-container.inner-pages {
  max-width: 70rem;
}

.mailup-masthead__logo-container {
  padding: 0.3125rem 0 0;
}

.mailup-masthead__logo {
  width: 10.375rem;
  text-align: center;
}

.mailup-masthead__logo-link {
  display: inline-block;
  outline: none;
  vertical-align: middle;
}

/**
* Lower - The container just under the masthead
*/

.mailup-lower {
  margin: 0 auto;
  text-align: left;
  max-width: 45rem;
  padding: 1.5rem;
}

.mailup-lower.inner-pages {
  max-width: 70rem;
}

/**
* Boxes - Set of boxes under the lower container in the login page
*/

.mailup-boxes .mailup-box {
  margin-bottom: 0;
  padding: 0;
  margin-top: -0.063rem;
}

.mailup-box {
  margin-top: 1.5rem;
  box-sizing: border-box;
  background: white;
  border: 0.063rem solid rgba(200, 215, 225, 0.5);
}

.mailup-box-header {
  max-width: 43.75rem;
  margin: 0 auto 0.5rem auto;
  line-height: 1.5;
}

.mailup-box-header h2 {
  margin: 1.5rem 10% 0;
  font-size: 1.375rem;
  font-weight: 700;
  color: #000;
}

.mailup-box .centered {
  text-align: center;
}

.mailup-setup-instructions {
  text-align: center;
}

.mailup_activate {
  padding: 0.313rem;
  margin: 0 0 3.125rem 0;
  position: relative;
  overflow: hidden;
}

.mailup-trial-box {
  margin: 1.5rem 0;
}

/**
* Cards - Set of cards under the container on inner pages
*/

.mailup-card {
  margin-top: 1rem;
  margin-bottom: 0;
  position: relative;
  margin: 0 auto 0.625rem auto;
  box-sizing: border-box;
  background: white;
}

.mailup-card .button-primary {
  float: right;
}

.mailup-section-header {
  position: relative;
  margin: 0 auto 0.625rem auto;
  box-sizing: border-box;
  background: #f0f0f1;
  width: 100%;
  font-size: 0;
}

.mailup-section-header__label {
  display: inline-block;
  line-height: 1.75rem;
  font-size: 0.875rem;
  min-width: 7.625rem;
  height: 100%;
  padding: 0.625rem;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 0.063rem solid #f0f0f1;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  margin-right: 0.188rem;
}

.mailup-section-header__label.active {
  background-color: #fff;
  border-bottom: 0.063rem solid #fff;
  cursor: default;
  font-weight: bold;
}

.mailup-section-header__label span {
  text-align: center;
  width: 100%;
  display: inline-block;
}

.mailup-section-header .shortcode {
  display: inline-block;
  float: right;
  line-height: 1.75rem;
  font-size: 0.875rem;
  min-width: 7.625rem;
  height: 100%;
  padding: 0.625rem;
  cursor: default;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  margin-right: 0.188rem;
  color: gray;
}

.mailup-section-header__actions {
  line-height: 1.75rem;
}

.mailup-section-content__box {
  display: none;
}
.mailup-section-content__box.active {
  display: block;
}

/**
* Form  - Form inside MailUp Card
*/

.mailup-form {
  padding: 3.5rem;
  padding-top: 1rem;
  box-shadow: 0 0.063rem 0 rgba(200, 215, 225, 0.5),
    0 0.063rem 0.125rem #e9eff3;
}

.mailup-form input::placeholder {
  color: #a7aaad;
}

.mailup-form h4 {
  font-size: 1rem;
}

.mailup-form label {
  cursor: default;
}

.mailup-form select {
  width: 12rem;
}

.mailup-form select.long_select {
  width: 25rem;
}

.mailup-form .long_input {
  width: 25rem;
}

.mailup-form .long_text-area {
  width: 25rem;
  height: 10rem;
}

.mailup-form .full_text-area {
  width: 100%;
  height: 30rem;
}

.mailup-form .form-table {
  width: auto;
}

.mailup-form .form-table th {
  padding-bottom: 0.313rem;
}

.mailup-form .form-table td {
  margin-bottom: 0.313rem;
  position: relative;
  padding-left: 0px;
}

.mailup-form .form-table.terms-and-condition {
  margin-bottom: 0;
  width: 100%;
}

.mailup-form .form-table.terms-and-condition td label {
  padding-right: 5px;
}

.mailup-form .form-table.terms-and-condition td input {
  margin-right: 15px;
}

.mailup-form .form-table.terms-and-condition td.editor {
  width: 100%;
}

.mailup-form .form-table.terms-and-condition td {
  vertical-align: middle;
}

.mailup-form .form-table.terms-and-condition.last {
  margin-bottom: 20px;
}

.mailup-form .form-table.advanced-settings {
  width: 350px;
}

.mailup-form .form-table.advanced-settings td {
  border: none;
}

.mailup-form .form-table.custom-fields tbody > tr:last-child td {
  padding-top: 0.625rem;
  border-top: 0.25rem double #f0f0f1;
}

.mailup-form .button.form-action {
  border-color: orange;
  color: orange;
}

.mailup-form .button.form-action:hover {
  border-color: orange;
  color: orange;
}

.mailup-form .button.form-action:focus {
  box-shadow: none;
}

.mailup-form
  .form-table.custom-fields
  tr:last-child
  > td:last-child
  .button.form-action,
.mailup-form
  .form-table
  tr:last-child
  td:last-child
  .button.form-action:hover {
  border-color: #2271b1;
  color: #2271b1;
}

/**
* Validation Error
*/

.mailup-form label.error {
  display: block;
  margin: 0.313rem 0 0 0.25rem;
  color: red;
  font-size: smaller;
}

.mailup-form td label.error {
  display: block;
  margin: 0.313rem 0 0 0.25rem;
  color: red;
  font-size: smaller;
  position: absolute;
  left: 0;
  top: 2.875rem;
}

.mailup-form select.error,
input.error,
textarea.error {
  border: 0.063rem solid red;
}

.mailup-form span.error {
  color: red;
}

.mailup-form #must_have-error {
  display: none !important;
}

/**
* Advanced Settings
*/

div.custom-css {
  padding-bottom: 20px;
}

/**
* Reset Box
*/
#box_reset {
  padding: 56px;
  border-top: 40px solid #f0f0f1;
}

#box_reset .button {
  border-color: red;
  color: red;
}

#box_reset.button:hover {
  border-color: red;
  color: red;
}
