@import 'abstract/variables';

/******************************************************************************************/
/* Fonts
/******************************************************************************************/
@import url('https://fonts.googleapis.com/css?family=Raleway:400,700,800');
@import 'layouts/admin-settings-sidebar';
@import 'layouts/admin-extensions';

@font-face {
  font-family: 'Social Pug';
  src: url('../fonts/socialpug.eot?gd6mr8');
  src: url('../fonts/socialpug.eot?#iefix') format('embedded-opentype'),
  url('../fonts/socialpug.woff') format('woff'),
  url('../fonts/socialpug.ttf') format('truetype'),
  url('../fonts/socialpug.svg#socialpug') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^='dpsp-icon-']:before,
[class*=' dpsp-icon-']:before {
  display: inline-block;
  font-family: 'Social Pug', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-variant: normal;
  line-height: 1em;
  text-align: center;
  text-decoration: inherit;
  text-transform: none;
}

/******************************************************************************************/
/* General
/******************************************************************************************/

/* Transitions */
.dpsp-transition {
  -webkit-transition: all 0.15s ease-in;
  -moz-transition: all 0.15s ease-in;
  -o-transition: all 0.15s ease-in;
  transition: all 0.15s ease-in;
}

/* Grid system */
[class*='dpsp-col-'] {
  float: left;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 5px;
}
.dpsp-row {
  margin: 0 -5px;
}
.dpsp-row.dpsp-m-padding {
  margin: 0 -8px;
}
.dpsp-row.dpsp-m-padding [class*='dpsp-col-'] {
  padding: 8px;
}
.dpsp-row.dpsp-big-padding {
  margin: 0 -15px;
}
.dpsp-row.dpsp-big-padding [class*='dpsp-col-'] {
  padding: 15px;
}

.dpsp-col-1-1 {
  width: 100%;
}
.dpsp-col-1-2 {
  width: 50%;
}
.dpsp-col-1-3 {
  width: 33.3333%;
}
.dpsp-col-2-3 {
  width: 66.6666%;
}
.dpsp-col-1-4 {
  width: 25%;
}
.dpsp-col-3-4 {
  width: 75%;
}
.dpsp-col-1-5 {
  width: 20%;
}
.dpsp-col-2-5 {
  width: 40%;
}
.dpsp-col-3-5 {
  width: 60%;
}
.dpsp-col-4-5 {
  width: 80%;
}
.dpsp-col-3-8 {
  width: 37.5%;
}

.dpsp-row:after {
  display: block;
  clear: both;
  content: '';
}

/* Other */
.dpsp-page-wrapper {
  position: relative;
  float: left;
  width: 100%;
  max-width: 675px;
}

h1.dpsp-page-title {
  padding-right: 0;
  padding-bottom: 15px;
}

.dpsp-section {
  margin-bottom: 50px;
}

.dpsp-section:after {
  display: block;
  clear: both;
  content: '';
}

.dpsp-section-title {
  margin: 2.75em 0 1.3em 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
}

/* Social Networks background colors */
@each $slug, $colors in $network-colors {
  .dpsp-background-color-network-#{$slug} {
    background: nth($colors, 1);
  }
}


/******************************************************************************************/
/* General Page Styles
/******************************************************************************************/
body.dpsp-pagestyles {
  background: #f3f6f8;
}


/******************************************************************************************/
/* General Pages Header
/******************************************************************************************/
.dpsp-page-header {
  margin-left: -20px;
  color: #fff;
  background: #41a4a9;
  line-height: 60px;
}
.dpsp-page-header .dpsp-logo {
  padding: 0 10px 0 20px;
}
.dpsp-page-header .dpsp-logo-inner {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 700;
}
.dpsp-page-header .dpsp-logo-inner span {
  font-weight: 300;
}
.mv-grow-logo {
  display: inline-block;
  max-width: 80px;
  padding-top: 0.25rem;
  vertical-align: top;
}
.dpsp-page-header:after {
  display: block;
  clear: both;
  content: '';
}

.dpsp-page-header nav {
  display: inline-block;
  margin-left: 25px;
  line-height: 62px;
}
.dpsp-page-header nav a {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 12px;
  border-radius: 3px;
  color: #fff;
  background: rgba(255,255,255,0.20);
  box-shadow: 0 0 2px 2px rgba(52,152,219,0.15);
  font-size: 0.9em;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
}
.dpsp-page-header nav a .dashicons {
  width: auto;
  height: auto;
  margin-top: -2px;
  margin-right: 5px;
  font-size: 14px;
}
.dpsp-page-header nav a:hover {
  background: rgba(255,255,255,0.30);
}


/******************************************************************************************/
/* General Cards
/******************************************************************************************/
.dpsp-card {
  box-sizing: border-box;
  max-width: 675px;
  margin-top: 1.5em;
  margin-bottom: 2em;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 3px 10px -2px rgba(94,135,161,0.3);
}

.dpsp-card-header {
  position: relative;
  padding: 20px;
  border-bottom: 1px solid rgba(200, 215, 225, 0.5);
  font-size: 14px;
  font-weight: bold;
}

.dpsp-card-inner {
  padding: 20px;
}
.dpsp-card-inner:after {
  display: block;
  clear: both;
  content: '';
}

.dpsp-card-footer {
  position: relative;
  padding: 20px;
  border-top: 1px solid rgba(200, 215, 225, 0.5);
  background: rgba(200, 215, 225, 0.15);
}

.dpsp-card-footer-actions {
  text-align: right;
}
.dpsp-card-footer-actions:after {
  display: block;
  clear: both;
  content: '';
}
.dpsp-card-footer-actions a {
  float: left;
  outline: 0;
  color: #777;
  box-shadow: none;
  line-height: 34px;
}
.dpsp-card-footer-actions a:hover {
  color: #444;
}


/******************************************************************************************/
/* General Tabs and Nav Tabs
/******************************************************************************************/
.dpsp-nav-tab-wrapper {
  margin: 0;
}
.dpsp-nav-tab-wrapper:after {
  display: block;
  clear: both;
  content: '';
}

.dpsp-nav-tab {
  float: left;
  margin: 0;
  border-bottom: 2px solid transparent;
}
.dpsp-nav-tab.dpsp-active {
  border-bottom-color: #2e4453;
}
.dpsp-nav-tab.dpsp-active a {
  color: #2e4453;
}
.dpsp-nav-tab a {
  display: block;
  box-sizing: border-box;
  width: auto;
  padding: 16px 16px 14px 16px;
  box-shadow: none;
  text-decoration: none;
}

.dpsp-tab {
  display: none;
  margin-top: 25px;
}
.dpsp-tab.dpsp-active {
  display: block;
}


/******************************************************************************************/
/* General Buttons
/******************************************************************************************/
.dpsp-button-primary {
  display: inline-block;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0;
  padding: 0.5em 2em;
  border: none;
  border-radius: 3em;
  outline: 0;
  color: #fff !important;
  background: #41a4a9;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 21px;
  vertical-align: middle;
  text-decoration: none;
  text-overflow: ellipsis;
  cursor: pointer;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.dpsp-button-primary:hover {
  color: #fff;
  background-color: #243c4a;
}
.dpsp-button-primary:focus {
  color: #fff;
}
.dpsp-button-primary.dpsp-active,
.dpsp-button-primary:active {
  border-width: 2px 1px 1px;
}
.dpsp-button-primary.dpsp-hidden {
  display: none;
}

.dpsp-button-secondary {
  display: inline-block;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0;
  padding: 5px 11px;
  border-width: 1px 1px 2px;
  border-style: solid;
  border-color: #c8d7e1;
  border-radius: 4px;
  outline: 0;
  color: #2e4453;
  background: #fff;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 21px;
  vertical-align: middle;
  text-decoration: none;
  text-overflow: ellipsis;
  cursor: pointer;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.dpsp-button-secondary:hover {
  border-color: #a8bece;
  color: #2e4453;
}
.dpsp-button-secondary:focus {
  color: #2e4453;
}
.dpsp-button-secondary.dpsp-active,
.dpsp-button-secondary:active {
  border-width: 2px 1px 1px;
}
.dpsp-button-secondary.dpsp-hidden {
  display: none;
}
.dpsp-button-secondary[disabled],
.dpsp-button-secondary.disabled {
  border-color: #e9eff3;
  color: #e9eff3;
  background: #fff;
  cursor: default;
}


/******************************************************************************************/
/* Widgets
/******************************************************************************************/
.dpsp-widget-section-title {
  display: block;
  margin-top: 20px;
  margin-bottom: 5px;
  font-weight: bold;
}

.dpsp-widget-label {
  display: inline-block;
  width: 200px;
}

.widget-content .dpsp-settings-field-checkbox {
  margin-right: 12px;
}

/* Settings - Pinterest Button Text Label */
.dpsp-setting-field-button-alignment {
  display: none;
}


/**********************************************/
/* Admin Notices
/**********************************************/
.wrap div.dpsp-admin-notice {
  position: relative;
  margin-top: 16px;
}
.wrap div.dpsp-admin-notice h4 {
  font-size: 16px;
}
.wrap div.dpsp-admin-notice p {
  font-size: 14px;
}

.wrap div.dpsp-admin-notice.dpsp-serial-missing {
  border-color: rgba(52,152,219,0.75);
}
.wrap div.dpsp-admin-notice.dpsp-serial-missing .dpsp-get-license {
  margin-left: 10px;
}

.wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts {
  border-color: rgba(52,152,219,0.75);
}
.wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts h4 {
  font-size: 1.05em;
}
.wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts a {
  text-decoration: none;
}
.wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts .dpsp-admin-notice-link {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 18px;
  padding: 6px 8px;
  border-radius: 2px;
  color: rgba(52,152,219,1);
  background: #e9e9e9;
  font-weight: 500;
}
.wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts .dpsp-admin-notice-link span {
  display: inline-block;
  margin-right: 10px;
  text-decoration: none;
}
.wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts .dpsp-admin-notice-link:hover {
  color: #fff;
  background: rgba(52,152,219,0.75);
}

.wrap div.dpsp-admin-notice-icon-animation .button-primary {
  display: inline-block;
  margin-bottom: 1.33em;
}
.wrap div.dpsp-admin-notice-icon-animation h4 {
  margin-bottom: 0;
}
.wrap div.dpsp-admin-notice-icon-animation p {
  margin-bottom: 0.75em;
}

.wrap div.dpsp-admin-notice.dpsp-admin-grow-notice {
  display: flex;

  flex-flow: row;
}

@media screen and (max-width: 500px) {
  .wrap div.dpsp-admin-notice.dpsp-admin-grow-notice {
    flex-flow: column;
  }
}

.wrap div.dpsp-admin-notice .notice-img-wrap {
  padding: 1em;

  flex: 0 0 150px;
}

.wrap div.dpsp-admin-notice .notice-img-wrap img {
  float: left;
}

.wrap div.dpsp-admin-notice .notice-text-wrap {
  flex: 1 1 auto;
}


.wrap div.dpsp-admin-notice .notice-subtext {
  font-size: 0.9em;
  font-style: italic;
}

/**********************************************/
/* Sortable Networks Panel
/**********************************************/

/* Select Networks button */
#dpsp-select-networks {
  position: absolute;
  top: 50%;
  right: 10px;
  margin-top: -17px;
}

/* Empty Networks Placeholder */
#dpsp-sortable-networks-empty {
  display: none;
  position: relative;
  color: #848484;
  text-align: center;
}

#dpsp-sortable-networks-empty:after {
  display: block;
  position: absolute;
  top: -17px;
  right: 80px;
  width: 130px;
  height: 70px;
  opacity: 0;
  background: url('../img/dpsp-selectable-empty.png') no-repeat center;
  background-size: 100%;
  content: '';
  transition: all 0.15s ease-in;
}

#dpsp-sortable-networks-empty.dpsp-active {
  display: block;
}

#dpsp-sortable-networks-empty.dpsp-active:after {
  opacity: 1;
}

.dpsp-social-platforms-sort-list {
  margin-top: 0;
  margin-bottom: 0;
}

.dpsp-social-platforms-sort-list li {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #f1f1f1;
  background: #fff;
}

.dpsp-social-platforms-sort-list li.dpsp-last {
  border-bottom: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}

.dpsp-social-platforms-sort-list li.ui-sortable-helper {
  box-shadow: 0 3px 12px 3px rgba( 0, 0, 0, 0.1 );
}

.dpsp-social-platforms-sort-list.empty li {
  padding: 20px;
  border: 2px dashed #c1c1c1;
  background: none;
}

.dpsp-social-platforms-sort-list li:after {
  display: block;
  clear: both;
  height: 0;
  content: '';
}

.dpsp-social-platforms-sort-list li:last-of-type {
  margin-bottom: 0;
}

.dpsp-social-platforms-sort-list li.dpsp-sort-placeholder {
  height: 55px;
  border-radius: 0;
  background: #f9f9f9;
  box-shadow: inset 0 3px 12px 3px rgba( 0, 0, 0, 0.02 );
}

.dpsp-social-platforms-sort-list li .dpsp-sort-handle {
  display: block;
  float: left;
  width: 44px;
  height: 44px;
  cursor: move;
}

.dpsp-social-platforms-sort-list li .dpsp-sort-handle:before {
  position: absolute;
  top: 23px;
  left: 12px;
  width: 20px;
  height: 1px;
  background: #c1c1c1;
  box-shadow: 0 0.25em 0 0 #c1c1c1,
  0 0.5em 0 0 #c1c1c1;
  content: '';
}

.dpsp-social-platforms-sort-list li .dpsp-list-icon {
  display: flex;
  float: left;
  width: 44px;
  height: 44px;
  font-size: 1.1em;
  line-height: 44px;
  text-align: center;

  align-items: center;
  justify-content: center;
}

.dpsp-social-platforms-sort-list li .dpsp-list-icon-social svg {
  width: auto;
  height: 20px;

  fill: #fff;
}


/**
 * Sort list label input field
 *
 */
.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper {
  position: relative;
  float: left;
  padding: 8px;
}

.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input {
  width: 250px;
  margin: 0;
  padding: 0 7px;
  border: 0;
  border-radius: 3px;
  outline: 0;
  color: #444;
  box-shadow: none;
  font-size: 1em;
  font-weight: bold;
  line-height: 28px;
  transition: background-color 0.1s ease-in-out;
}
.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input:placeholder-shown {
  font-weight: normal;
  font-style: italic;
}

.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input:focus,
.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper:hover input {
  background: #f5f5f5;
}

/* Remove styling for the edit label field from the sticky bar tool */
.dpsp-page-sticky-bar .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input {
  background-color: transparent !important;
  cursor: default;
}


/**
 * Sort list actions
 *
 */
.dpsp-social-platforms-sort-list li .dpsp-list-actions {
  float: right;
  margin-right: 6px;
}
.dpsp-social-platforms-sort-list li .dpsp-list-actions a {
  display: inline-block;
  position: relative;
  margin: 8px 2px 8px 0;
  padding: 0 6px 0 3px;
  border-radius: 3px;
  color: #747474;
  box-shadow: none;
  line-height: 28px;
  vertical-align: middle;
  text-decoration: none;
  transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
}
.dpsp-social-platforms-sort-list li .dpsp-list-actions a .dashicons {
  position: relative;
  top: -1px;
  width: 18px;
  height: 18px;
  margin-right: 2px;
  font-size: 18px;
  line-height: 18px;
  vertical-align: text-top;
}

.dpsp-social-platforms-sort-list li .dpsp-list-actions a:hover {
  color: #353535;
  background: #f4f4f4;
}

/* Remove Edit Label action from sticky bar tool */
.dpsp-page-sticky-bar .dpsp-social-platforms-sort-list li .dpsp-list-actions .dpsp-list-edit-label {
  display: none;
}


/**********************************************/
/* All networks selector list
/**********************************************/
#dpsp-networks-selector-wrapper {
  display: none;
}

#dpsp-networks-selector {
  margin: 0;
  padding: 20px;
}

#dpsp-networks-selector li {
  position: relative;
  float: left;
  box-sizing: border-box;
  width: 33.3333%;
  margin-bottom: 1em;
  padding: 0 10px;
}

#dpsp-networks-selector:after {
  display: block;
  clear: both;
  height: 0;
  content: '';
}

#dpsp-networks-selector .dpsp-network-item {
  position: relative;
  box-sizing: border-box;
  padding-left: 35px;
  cursor: pointer;
}

#dpsp-networks-selector .dpsp-network-item-checkbox {
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  border: 2px solid #c8d7e1;
  border-radius: 15px;
  color: #555;
  background: #fff;
  -webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
  box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
  font-size: 16px;
  line-height: 26px;
  text-align: center;
  vertical-align: middle;
}

#dpsp-networks-selector .dpsp-network-item-checkbox svg {
  position: relative;
  max-width: 1rem;
  opacity: 0;
  transition: all 0.15s ease-in;

  fill: currentColor;
}

#dpsp-networks-selector .dpsp-network-item:hover .dpsp-network-item-checkbox svg {
  opacity: 0.15;
}

#dpsp-networks-selector .dpsp-network-item[data-checked='true'] .dpsp-network-item-checkbox svg {
  opacity: 1;
}

#dpsp-networks-selector .dpsp-network-item[data-checked='true']:hover .dpsp-network-item-checkbox svg {
  opacity: 1;
}

#dpsp-networks-selector .dpsp-network-item-name-wrapper {
  height: 30px;
  padding-left: 10px;
  border-radius: 3px;
  color: #fff;
  -webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
  box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
  line-height: 30px;
  vertical-align: middle;
}

#dpsp-networks-selector .dpsp-network-item-name-wrapper .dpsp-list-icon {
  display: inline-block;
  margin-right: 12px;
  margin-left: 5px;
  & svg {
    position: relative;
    width: auto;
    max-height: 14px;
    vertical-align: text-top;

    fill: white;
  }
}

#dpsp-networks-selector .dpsp-network-item-name-wrapper h4 {
  display: inline-block;
  margin: 0;
}


/**********************************************/
/* Settings fields
/**********************************************/
.dpsp-setting-field-wrapper {
  position: relative;
  left: auto;
  min-height: 39px;
  margin-bottom: 12px;
  transition: opacity 0.4s ease-in-out;
}

.dpsp-setting-field-wrapper.disabled {
  position: absolute;
  left: -9999px;
  visibility: hidden;
  opacity: 0;
}

.dpsp-setting-field-wrapper.dpsp-last {
  margin-bottom: 0;
}

.dpsp-setting-field-label {
  display: inline-block;
  position: absolute;
  top: 2px;
  left: 0;
  box-sizing: border-box;
  width: 235px;
  padding-right: 15px;
  vertical-align: top;
}

.dpsp-setting-field-wrapper.dpsp-has-field-label {
  padding-left: 243px;
}

.dpsp-setting-field-wrapper.dpsp-has-field-label .dpsp-setting-field-inner {
  position: relative;
  top: -18px;
  margin-left: 243px;
}

/* Text */
.dpsp-setting-field-wrapper input[type=text] {
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #c8d7e1;
  border-radius: 2px;
  box-shadow: none;
}

.dpsp-setting-field-wrapper input[type=text]:disabled {
  background: #edf2f5;
}

.dpsp-setting-field-wrapper input[type=text]:focus {
  border-color: #0087be;
  box-shadow: 0 0 1px 0 #78dcfa;
}

/* Button */
.dpsp-setting-field-wrapper button {
  vertical-align: middle !important;
}

.dpsp-setting-field-button .spinner {
  position: absolute;
  right: auto;
  left: auto;
  float: none;
}

.dpsp-setting-field-button .action-text {
  display: none;
  margin-left: 2rem;
  color: #333;
}

.dpsp-setting-field-button.dpsp-loading .spinner {
  visibility: visible;
}
.dpsp-setting-field-button.dpsp-loading .action-text {
  visibility: visible;
}

/* Select2 */
.dpsp-setting-field-wrapper select {
  min-width: 200px;
}

.dpsp-setting-field-select *:focus {
  outline: 0 !important;
}

.dpsp-setting-field-select .select2-container {
  width: 100% !important;
}

.dpsp-setting-field-select .select2-selection {
  height: 39px;
  border: 1px solid #c8d7e1;
  border-radius: 2px;
}

.dpsp-setting-field-select .select2-selection .select2-selection__rendered {
  padding-left: 10px;
  line-height: 37px !important;
}

.dpsp-setting-field-select .select2-selection .select2-selection__arrow {
  height: 37px;
  padding-right: 10px;
}

.dpsp-select2 .select2-dropdown {
  border-color: #c8d7e1;
  border-radius: 0;
}

.dpsp-select2 .select2-dropdown li {
  margin: 0;
  padding: 0 10px;
  line-height: 36px;
}

.dpsp-select2 .select2-results__option[aria-selected='true'] {
  background: #e8eaeb;
}

.dpsp-select2 .select2-results__option--highlighted {
  background: #00aadc !important;
}

.dpsp-select2 .select2-dropdown--below {
  top: 32px;
  box-shadow: 0 4px 3px 2px rgba(0,0,0,0.08);
}

.dpsp-select2 .select2-dropdown--above {
  box-shadow: 0 -4px 3px 2px rgba(0,0,0,0.08);
}

.dpsp-setting-field-select .select2-container--open {
  box-shadow: 0 0 3px 2px rgba(0,0,0,0.08);
}

/* Colorpicker */
.dpsp-setting-field-wrapper .wp-picker-container .wp-color-result.button {
  height: 32px;
  margin-bottom: 0;
  border-width: 1px 1px 2px;
  border-style: solid;
  border-color: #c8d7e1;
  box-shadow: none;
  cursor: pointer;
}
.dpsp-setting-field-wrapper .wp-picker-container .wp-color-result.button span {
  box-sizing: border-box;
  padding: 5px 11px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 19px;
  vertical-align: top;
  text-decoration: none;
  text-overflow: ellipsis;
}

.dpsp-setting-field-wrapper .wp-picker-container .wp-picker-input-wrap .button {
  height: 32px;
  border-width: 1px 1px 2px;
  border-style: solid;
  border-color: #c8d7e1;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
}

.dpsp-setting-field-wrapper .wp-picker-container input[type=text].wp-color-picker {
  width: 65px;
  margin: 0;
  padding: 7px;
  font-family: monospace;
  font-size: 12px;
  line-height: 16px;
  vertical-align: top;
}

/* Textarea */
.dpsp-setting-field-wrapper textarea {
  min-width: 450px;
  min-height: 100px;
  padding: 5px 8px;
  border-radius: 3px;
}

.dpsp-page-wrapper .dpsp-setting-field-wrapper textarea {
  border: 0;
  box-shadow: none;
}

.postbox .dpsp-setting-field-wrapper textarea {
  min-height: 80px;
}

/* Checkbox and Radio */
.dpsp-setting-field-wrapper input[type=checkbox],
.dpsp-setting-field-wrapper input[type=radio] {
  display: none;
}

.dpsp-setting-field-checkbox.dpsp-single .dpsp-setting-field-label {
  box-sizing: border-box;
  width: 260px;
  padding-right: 20px;
}

.dpsp-setting-field-checkbox.dpsp-multiple .dpsp-settings-field-checkbox,
.dpsp-setting-field-radio.dpsp-multiple .dpsp-settings-field-radio {
  display: inline-block;
  position: relative;
  margin-right: 12px;
  padding-left: 23px;
}

.dpsp-setting-field-checkbox input[type=checkbox] + label span,
.dpsp-setting-field-radio input[type=radio] + label span {
  display: block;
  position: absolute;
  box-sizing: content-box !important;
  width: 16px;
  height: 16px;
  border: 1px solid #e7e7e7;
  border-radius: 3px;
  background: #fff;
  content: '';
  transition: background 0.1s ease-in-out, border-color 0.1s ease-in-out;
}

.dpsp-setting-field-radio input[type=radio] + label span {
  border-radius: 50%;
}

.dpsp-setting-field-checkbox.dpsp-single input[type=checkbox] + label span {
  top: 0;
  right: 0;
}

.dpsp-setting-field-checkbox.dpsp-multiple input[type=checkbox] + label span,
.dpsp-setting-field-radio.dpsp-multiple input[type=radio] + label span {
  top: 0;
  left: 0;
}

.dpsp-setting-field-checkbox input[type=checkbox] + label span:before {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: -5px 0 0 -3px;
  color: transparent;
  font: 400 20px/1 'dashicons';
  line-height: 16px;
  vertical-align: middle;
  content: '\f147';
  transition: color 0.1s ease-in-out;
}

.dpsp-setting-field-radio input[type=radio] + label span:before {
  display: block;
  position: relative;
  top: 5px;
  left: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: '';
}


.dpsp-setting-field-checkbox input[type=checkbox]:checked + label span {
  border-color: transparent;
  background: #41a4a9;
}

.dpsp-setting-field-checkbox input[type=checkbox]:checked + label span:before {
  color: #fff;
}


.dpsp-setting-field-radio input[type=radio]:checked + label span {
  border-color: transparent;
  background: #41a4a9;
}

.dpsp-setting-field-radio input[type=radio]:checked + label span:before {
  background: #fff;
}

/* Image */
.dpsp-setting-field-wrapper img {
  max-width: 200px;
  height: auto;
  border-radius: 2px;
}

/* Tooltip */
.dpsp-setting-field-tooltip-wrapper {
  display: inline-block;
  position: absolute;
  top: 2px;
  left: 217px;
  width: 18px;
  height: 18px;
  margin-left: 5px;
}

/* Network Selector Tooltip */
.dpsp-network-item .dpsp-setting-field-tooltip-wrapper {
  top: 5px;
  right: 0;
  left: initial;
  a {
    color: white;
    &:hover {
      opacity: 0.9;
      text-decoration: none;
    }
  }
}

.dpsp-setting-field-tooltip-icon:before {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 9px;
  color: #fff;
  background: #34495e;
  font-size: 10px;
  font-weight: bold;
  line-height: 14px;
  text-align: center;
  vertical-align: middle;
  content: '?';
  cursor: pointer;
  transition: all 0.15s ease-in;
}

.dpsp-setting-field-tooltip-icon:hover:before {
  background: #34495e;
}

.dpsp-setting-field-tooltip {
  position: absolute;
  top: 28px;
  left: -25px;
  visibility: hidden;
  width: 220px;
  padding: 8px 12px;
  border-radius: 4px;
  opacity: 0;
  color: #fff;
  background: rgba( 52, 73, 94, 0.975 );
  z-index: 10;
}

.dpsp-setting-field-tooltip a {
  color: rgba( 52,152,219,1 );
}

.dpsp-setting-field-tooltip:before {
  display: block;
  position: absolute;
  top: -6px;
  left: 27px;
  width: 0;
  height: 0;
  border-width: 0 4.5px 6px 4.5px;
  border-style: solid;
  border-color: transparent transparent rgba( 52, 73, 94, 0.975 ) transparent;
  content: '';
}


.dpsp-settings-button-style {
  float: left;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 12%;
  margin-right: 1.5%;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
}

/* Switches */
.dpsp-setting-field-wrapper .dpsp-switch {
  float: none;
  margin-left: 0;
}

/* Share text */
.dpsp-setting-field-share-text input {
  width: 350px;
}

/* Pop-up Page */
.dpsp-page-pop-up .dpsp-setting-field-title input {
  min-width: 450px;
}

/* Sticky bar */
.dpsp-setting-field-desktop-position,
.dpsp-setting-field-mobile-position {
  display: none;
}

/* Settings - Tweet Counts */
.dpsp-setting-field-tweet-counts-provider {
  display: none;
}

/* Settings - Pinterest Button Text Label */
.dpsp-setting-field-button-text-label {
  display: none;
}

/* Settings - Facebook App Authorized */
.dpsp-setting-field-facebook-app-authorized {
  padding: 9px;
  border-radius: 3px;
  color: #27ae60;
  background: rgba(0, 184, 148, 0.3);
}
.dpsp-setting-field-facebook-app-authorized-expired {
  margin-bottom: 10px;
  padding: 9px;
  border-radius: 3px;
  color: #c0392b;
  background: rgba( 192, 57, 43, 0.3);
}

.dpsp-setting-field-facebook-authorize-app,
.dpsp-setting-field-facebook-app-id,
.dpsp-setting-field-facebook-app-secret {
  display: none;
}

/**********************************************/
/* Settings page styles
/**********************************************/
.dpsp-page-wrapper .dpsp-settings-button-style .dpsp-networks-btns-wrapper li {
  margin-bottom: 6px;
}

.dpsp-page-wrapper .dpsp-settings-button-style .dpsp-networks-btns-wrapper li:last-of-type {
  margin-bottom: 0;
}

/* Page sidebar specific styles */
.dpsp-page-sidebar .dpsp-settings-button-style .dpsp-networks-btns-wrapper .dpsp-network-btn {
  margin: 0 auto;
}

.dpsp-page-sidebar .dpsp-settings-button-style .dpsp-shape-rounded .dpsp-networks-btns-wrapper .dpsp-network-btn,
.dpsp-page-sidebar .dpsp-settings-button-style .dpsp-shape-rounded .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon {
  border-radius: 5px;
}

.dpsp-page-sidebar .dpsp-settings-button-style :not(.dpsp-button-style-8) .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon {
  left: 0;
}

.dpsp-page-sidebar .dpsp-settings-button-style .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon svg {
  top: 1px;
}

/* Page content and pop-up specific styles */
.dpsp-page-content .dpsp-settings-button-style,
.dpsp-page-pop-up .dpsp-settings-button-style {
  width: 32.3333%;
  margin-right: 1%;
}

.dpsp-page-content .dpsp-section-button-style label:nth-of-type(4n),
.dpsp-page-pop-up .dpsp-section-button-style label:nth-of-type(4n) {
  margin-right: 0;
}


.dpsp-settings-button-style:hover {
  border-color: #e1e1e1;
}

.dpsp-settings-button-style-input {
  display: none !important;
}

.dpsp-settings-button-style-input:checked + label {
  border-color: rgba(52, 152, 219, 0.3);
  background: rgba(52, 152, 219, 0.075);
}

/* Link Shortening Services */
.dpsp-subsection-link-shortening {
  display: none;
}

/* Click to Tweet */
#section-click-to-tweet-preview {
  display: none;
}
#section-click-to-tweet-preview > a {
  margin-top: 0;
  margin-bottom: 0;
}

/* Serial Key */
#dpsp-serial-key-status {
  display: none;
  position: relative;
  top: -1px;
  padding: 4px 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  line-height: 20px;
}
#dpsp-serial-key-status span {
  vertical-align: middle;
}

#dpsp-serial-key-status.dpsp-valid {
  color: #27ae60;
  background: rgba(0, 184, 148, 0.3);
}
#dpsp-serial-key-status.dpsp-invalid {
  color: #c0392b;
  background: rgba(192, 57, 43, 0.3);
}

#dpsp-serial-key-status .dashicons {
  margin-right: 5px;
  margin-left: 5px;
}
#dpsp-serial-key-status .dashicons-yes {
  color: #27ae60;
}
#dpsp-serial-key-status .dashicons-warning {
  color: #c0392b;
}

#dpsp-bitly-key-status {
  position: relative;
  top: -1px;
  margin-top: -6px; 
  margin-bottom: 12px;
  padding: 4px 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  line-height: 20px;
  text-align: right;;
}
#dpsp-bitly-key-status span {
  vertical-align: middle;
}

#dpsp-bitly-key-status.dpsp-valid {
  color: #27ae60;
  background: rgba(0, 184, 148, 0.3);
}
#dpsp-serial-key-status.dpsp-invalid {
  color: #c0392b;
  background: rgba(192, 57, 43, 0.3);
}

#dpsp-bitly-key-status .dashicons {
  margin-right: 5px;
  margin-left: 5px;
}
#dpsp-bitly-key-status .dashicons-yes {
  color: #27ae60;
}
#dpsp-bitly-key-status .dashicons-warning {
  color: #c0392b;
}

/* Social Shares Recovery System */
#dpsp-card-settings-social-shares-recovery .dpsp-card-inner {
  border-bottom: 1px solid rgba(200, 215, 225, 0.5);
}
#dpsp-card-settings-social-shares-recovery .dpsp-card-inner.dpsp-last {
  border-bottom: 0;
}


/**********************************************/
/* Toolkit Page
/**********************************************/
#dpsp-toolkit-welcome {
  margin-left: -20px;
  padding: 5px 20px;
  background: #fff;
}

.dpsp-page-toolkit:not(.dpsp-page-free) {
  max-width: 1000px;
}
.dpsp-page-toolkit .dpsp-row {
  margin-bottom: 2.5em;
}
.dpsp-page-toolkit .dpsp-card {
  margin-top: 0;
  margin-bottom: 0;
}

.dpsp-tool-wrapper {
  overflow: hidden;
  border-radius: 3px;
  background: #fff;
}
.dpsp-tool-wrapper img {
  max-width: 100%;
  height: auto;
}
.dpsp-tool-wrapper a {
  color: #777;
  text-decoration: none;
}
.dpsp-tool-wrapper a:hover {
  color: rgba(52,152,219,0.75);
}
.dpsp-tool-wrapper h4 {
  margin-top: 0;
  margin-bottom: 0;
  padding: 10px;
  font-size: 15px;
  text-align: center;
}

.dpsp-tool-wrapper .dpsp-tool-actions {
  position: relative;
  padding: 15px;
}
.dpsp-tool-wrapper .dpsp-tool-actions:after {
  display: block;
  clear: both;
  content: '';
}

.dpsp-tool-wrapper .dpsp-tool-actions-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: rgba(255,255,255,0.6);
  z-index: 1;
}
.dpsp-tool-wrapper .dpsp-tool-actions-overlay .spinner {
  visibility: visible;
  float: none;
  margin: 15px 0 0 15px;
  opacity: 1;
}

.dpsp-tool-wrapper .dpsp-tool-actions.dpsp-active span {
  opacity: 0;
}
.dpsp-tool-wrapper .dpsp-tool-actions.dpsp-inactive span {
  opacity: 0.4;
}

.dpsp-tool-wrapper .dpsp-tool-actions .dpsp-tool-settings {
  line-height: 1;
  vertical-align: middle;
}
.dpsp-tool-wrapper .dpsp-tool-actions .dpsp-tool-settings:focus {
  box-shadow: none;
}
.dpsp-tool-wrapper .dpsp-tool-actions.dpsp-inactive .dpsp-tool-settings {
  display: none;
}

.dpsp-tool-wrapper .dpsp-tool-actions .dpsp-tool-settings i {
  margin-right: 3px;
}

.dpsp-tool-wrapper .dpsp-switch span {
  margin-right: 5px;
  font-size: 0.85em;
  text-transform: uppercase;
}
.dpsp-tool-wrapper .dpsp-switch label {
  display: inline-block !important;
}



/**********************************************/
/* Checkbox switch
/**********************************************/

/* Default */
.dpsp-switch {
  display: inline-block;
  position: relative;
  float: right;
  margin-left: 20px;
}
.dpsp-page-wrapper .cmn-toggle {
  position: absolute;
  visibility: hidden;
  margin-left: -9999px;
}
.dpsp-page-wrapper .cmn-toggle + label {
  display: block;
  position: relative;
  outline: none;
  cursor: pointer;
  user-select: none;
}
.dpsp-page-wrapper input.cmn-toggle-round + label {
  box-sizing: content-box;
  width: 36px;
  height: 18px;
  padding: 3px;
  border-radius: 20px;
  background-color: #c9d6e0;
  transition: background 0.4s;
}
.dpsp-page-wrapper input.cmn-toggle-round + label:before,
.dpsp-page-wrapper input.cmn-toggle-round + label:after {
  display: block;
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 2px;
  content: '';
}
.dpsp-page-wrapper input.cmn-toggle-round + label:before {
  right: 2px;
  border-radius: 18px;
  transition: background 0.4s;
}
.dpsp-page-wrapper input.cmn-toggle-round + label:after {
  width: 20px;
  border-radius: 100%;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: margin 0.4s;
}
.dpsp-page-wrapper input.cmn-toggle-round:checked + label {
  background-color: #41a4a9;
}

.dpsp-page-wrapper input.cmn-toggle-round:checked + label:after {
  margin-left: 18px;
}

/* Small */
.dpsp-switch.small input.cmn-toggle-round + label {
  width: 30px;
  height: 15px;
}
.dpsp-switch.small input.cmn-toggle-round + label:after {
  width: 17px;
}
.dpsp-switch.small input.cmn-toggle-round:checked + label:after {
  margin-left: 15px;
}


/**********************************************/
/* Meta-box: Statistics
/**********************************************/
.dpsp-statistic-bars-wrapper {
  padding-top: 10px;
}
.dpsp-statistic-bars-wrapper:after {
  display: block;
  clear: both;
  width: 0;
  content: '';
}

.dpsp-statistic-bar-header {
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #f1f1f1;
  opacity: 0.6;
}
.dpsp-statistic-bar-wrapper.dpsp-statistic-bar-header:hover {
  background: none;
}

.dpsp-statistic-bar-wrapper {
  position: relative;
  height: 30px;
  padding-right: 110px;
  padding-left: 110px;
  transition: opacity 0.2s ease-in-out;
}
.dpsp-statistic-bar-wrapper:hover {
  background: #f7f7f7;
}
.dpsp-statistic-bar-wrapper label {
  position: absolute;
  top: 0;
  left: 10px;
  width: 109px;
  height: 30px;
  font-size: 12px;
  font-weight: bold;
  line-height: 30px;
}
.dpsp-statistic-bar-wrapper .dpsp-network-share-count {
  position: absolute;
  top: 0;
  right: 0;
  width: 110px;
  height: 30px;
  font-size: 12px;
  font-weight: bold;
  line-height: 30px;
}
.dpsp-statistic-bar-wrapper .dpsp-network-share-count .dpsp-count {
  display: inline-block;
  width: 55px;
  text-align: center;
}
.dpsp-statistic-bar-wrapper .dpsp-network-share-count .dpsp-percentage {
  display: inline-block;
  width: 40px;
  text-align: center;
}
.dpsp-statistic-bar-wrapper .dpsp-network-share-count .dpsp-divider {
  width: 1px;
  margin: 0 2px;
  opacity: 0.5;
}
.dpsp-statistic-bar-wrapper .dpsp-statistic-bar {
  position: relative;
  top: 10px;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #e7e7e7;
}
.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-inner {
  width: 0;
  height: 10px;
  border-radius: 5px;
}

.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-facebook .dpsp-statistic-bar-inner {
  background: #3a579a;
}
.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-twitter .dpsp-statistic-bar-inner {
  background: #00abf0;
}
.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-google-plus .dpsp-statistic-bar-inner {
  background: #df4a32;
}
.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-pinterest .dpsp-statistic-bar-inner {
  background: #c92228;
}
.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-linkedin .dpsp-statistic-bar-inner {
  background: #0077b5;
}
.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-reddit .dpsp-statistic-bar-inner {
  background: #ff5700;
}
.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-vkontakte .dpsp-statistic-bar-inner {
  background: #4d75a3;
}
.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-buffer .dpsp-statistic-bar-inner {
  background: #29323b;
}
.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-tumblr .dpsp-statistic-bar-inner {
  background: #35465c;
}
.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-yummly .dpsp-statistic-bar-inner {
  background: #e55a27;
}

.dpsp-statistic-bar-footer {
  margin: 10px 0;
  border-top: 1px solid #f1f1f1;
  border-bottom: 1px solid #f1f1f1;
  opacity: 0.6;
}
.dpsp-statistic-bar-wrapper.dpsp-statistic-bar-footer:hover {
  background: none;
}

#dpsp-refresh-share-counts-wrapper:after {
  display: block;
  clear: both;
  width: 0;
  content: '';
}
#dpsp-refresh-share-counts {
  float: right;
}


/**********************************************/
/* Meta-box: Share Options
/**********************************************/
#dpsp_share_options span[class*=dpsp-icon-] {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border-radius: 2px;
  color: #fff;
  line-height: 24px;
  text-align: center;
}
#dpsp_share_options .dpsp-icon-share {
  background: #34495e;
}
#dpsp_share_options .dpsp-icon-twitter {
  background: #00abf0;
}
#dpsp_share_options .dpsp-icon-pinterest {
  background: #c92228;
}

#dpsp_share_options_content .dpsp-section {
  position: relative;
  margin: 15px 0 25px 0;
  padding-left: 220px;
}
#dpsp_share_options_content label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}
#dpsp_share_options_content textarea {
  width: 100%;
  min-height: 70px;
}

#dpsp_share_options_content .dpsp-setting-field-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 200px;
}
#dpsp_share_options_content .dpsp-setting-field-image .dpsp-button-primary,
#dpsp_share_options_content .dpsp-setting-field-image .dpsp-button-secondary {
  width: 100%;
  text-align: center;
}

#dpsp_share_options .dpsp-setting-field-tooltip-wrapper {
  position: relative;
  top: -2px;
  left: auto;
}

.dpsp-textarea-characters-remaining-wrapper {
  float: right;
  height: 24px;
  padding: 0 10px;
  border-radius: 2px;
  background: #f1f1f1;
  font-size: 12px;
  line-height: 24px;
}
.dpsp-textarea-characters-remaining-wrapper.dpsp-excedeed {
  color: #fff;
  background: rgba(192, 57, 43, 0.75);
}

/* Multiple Pinterest hidden images */
#dpsp-meta-box-section-multiple-pinterest-images {
  padding-left: 0 !important;
}

#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper {
  position: relative;
  float: left;
  max-width: 125px;
  margin-right: 5px;
  margin-bottom: 5px;
  line-height: 0;
}
#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper img {
  max-width: 100%;
  height: auto;
  max-height: auto;
}
#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper .dpsp-button-secondary {
  position: absolute;
  top: 5px;
  right: 5px;
  visibility: hidden;
  padding: 1px 2px;
  opacity: 0;
  transition: all 0.1s ease-in;
}
#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper:hover .dpsp-button-secondary {
  visibility: visible;
  opacity: 1;
}

#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-add-new {
  float: left;
  box-sizing: border-box;
  width: 125px;
  height: 125px;
  border-radius: 2px;
  text-align: center;
}
#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-add-new .dashicons {
  display: inline-block;
  box-sizing: content-box;
  margin-top: 28px;
  margin-bottom: 5px;
  padding: 5px;
  border-radius: 50px;
  background: #ebf0f4;
}
#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-add-new .dashicons:before {
  position: relative;
  top: 1px;
}

#dpsp-meta-box-section-multiple-pinterest-images:after {
  display: block;
  clear: both;
  content: '';
}

/**********************************************/
/* TinyMCE
/**********************************************/
.mce-i-dpsp-icon-twitter {
  position: relative;
  top: -2px;
}
.mce-i-dpsp-icon-twitter:before {
  color: #00abf0;
  font-family: 'Social Pug', sans-serif;
  font-size: 20px;
  font-weight: normal;
  font-style: normal;
  content: '\e801';
}

/* Click to Tweet Dialog */
#dpsp_click_to_tweet_dialog #dpsp_tweet_length {
  position: absolute;
  top: 105px;
  right: 0;
  padding-right: 25px;
  color: #a1a1a1;
}
#dpsp_click_to_tweet_dialog #dpsp_tweet_length em,
#dpsp_click_to_tweet_dialog #dpsp_tweet_length span {
  font-size: 12px;
  font-weight: bold;
}
#dpsp_click_to_tweet_dialog #dpsp_tweet_length span {
  position: absolute;
  top: 0;
  right: 0;
}
#dpsp_click_to_tweet_dialog #dpsp_tweet_hide_via-al,
#dpsp_click_to_tweet_dialog #dpsp_tweet_hide_url-al {
  position: relative;
  top: -3px;
}


/**********************************************/
/* WP List Table
/**********************************************/
table.wp-list-table .column-dpsp_shares {
  width: 5.5em;
}
table.wp-list-table .dpsp-list-table-shares span {
  display: none;
}
#screen-options-wrap .dpsp-list-table-shares i {
  display: none;
}

.dpsp-list-table-post-share-count {
  display: inline-block;
  margin-top: 5px;
  padding: 0 8px;
  border-radius: 5px;
  color: #fff;
  background: #b6b6b6;
  line-height: 24px;
  text-align: center;
  vertical-align: middle;
}

/**********************************************/
/* Attachment Pages
/**********************************************/
body.post-type-attachment.post-php table.compat-attachment-fields {
  width: 100%;
  border-spacing: 0;
}
body.post-type-attachment.post-php table .compat-field-pin_title th,
body.post-type-attachment.post-php table .compat-field-pin_title td,
body.post-type-attachment.post-php table .compat-field-pin_description th,
body.post-type-attachment.post-php table .compat-field-pin_description td,
body.post-type-attachment.post-php table .compat-field-pin_repin_id th,
body.post-type-attachment.post-php table .compat-field-pin_repin_id td,
body.post-type-attachment.post-php table .compat-field-pin_nopin th,
body.post-type-attachment.post-php table .compat-field-pin_nopin td {
  display: block;
  width: 100%;
}

body.post-type-attachment.post-php table .compat-field-pin_description textarea {
  width: 100%;
  min-height: 75px;
}
body.post-type-attachment.post-php table .compat-field-pin_title input,
body.post-type-attachment.post-php table .compat-field-pin_repin_id input {
  width: 100%;
}


/**********************************************/
/* Mobile Display
/**********************************************/
@media screen and ( max-width : 785px ) {
  .dpsp-page-title-wrapper h2 {
    position: relative;
    padding-right: 50px;
  }

  .dpsp-page-title-wrapper h2 .dpsp-switch {
    position: absolute;
    top: 15px;
    right: 0;
  }

  .dpsp-social-platforms-sort-list {
    overflow: auto;
  }
}

@media screen and ( max-width : 720px ) {
  .dpsp-col-1-4 {
    width: 50%;
  }

  #dpsp-networks-selector li {
    width: 100%;
    padding: 0;
  }

  #dpsp-networks-selector-footer {
    text-align: center;
  }

  .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper {
    width: auto;
  }

  .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input,
  .dpsp-page-sidebar .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input:focus,
  .dpsp-page-sidebar .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper:hover input {
    width: 150px;
    padding-right: 10px;
  }

  .dpsp-settings-button-style {
    width: auto;
  }

  .dpsp-page-content .dpsp-settings-button-style {
    width: 49.5%;
  }

  .dpsp-page-content .dpsp-section-button-style label:nth-of-type(4n) {
    margin-right: 1%;
  }

  .dpsp-page-content .dpsp-section-button-style label:nth-of-type(2n) {
    margin-right: 0;
  }

  .dpsp-setting-field-label {
    width: 100%;
    margin-bottom: 10px;
  }

  .dpsp-setting-field-wrapper {
    margin-bottom: 30px;
  }
}


/******************************************************************************************/
/* Social Shares Recovery Meta-Box
/******************************************************************************************/
#dpsp-shares-recovery-post-previous-urls {
  position: relative;
}
.dpsp-shares-recovery-post-previous-urls-header {
  display: flex;
  align-items: center;
}
#dpsp-shares-recovery-post-previous-urls h4 {
  margin: 10px 0;
  padding: 10px 0;
  border-bottom: 1px solid #f1f1f1;
}
#dpsp-shares-recovery-post-previous-urls .dpsp-setting-field-tooltip-wrapper {
  position: relative;
  left: auto;
  padding-bottom: 0.5rem;
}

#dpsp-shares-recovery-post-previous-urls-empty {
  padding: 10px 15px;
  background: #f1f1f1;
}
#dpsp-shares-recovery-post-previous-urls-empty > :first-child {
  margin-top: 0;
}
#dpsp-shares-recovery-post-previous-urls-empty > :last-child {
  margin-bottom: 0;
}

.dpsp-post-previous-url {
  display: flex;
  margin-top: 5px;
}
.dpsp-post-previous-url.dpsp-hidden {
  display: none;
}
.dpsp-post-previous-url input {
  margin-right: 5px;

  flex: 1;
}
.dpsp-post-previous-url a {
  padding: 3px 10px;
}

#dpsp-add-post-previous-url {
  margin-top: 10px;
}

@import 'layouts/admin-meta-boxes';
