/* Admin page CSS styles for the Ultimate Product Catalogue Plugin */

/***********************************************************
* GRIDSTER
***********************************************************/

#gridster-button {
  min-height:30px;
  min-width:90px;
}

#gridster-button-mobile {
  min-height:30px;
  min-width:90px;
}

#gridster-reset {
  min-height:30px;
  min-width:115px;
}

#gridster-reset-mobile {
  min-height:30px;
  min-width:115px;
}

#pp-select {
  margin-bottom: 10px;
}

#PP-type-select {
  width:180px;
}



/***********************************************************************************
* POINTERS
***********************************************************************************/

.wp-pointer-content ul {
  list-style: disc;
  padding-left: 40px;
}

.wp-pointer-content iframe {
  margin-top:18px;
}

.upcp-pointer-count {
  margin-top: 40px;
  margin-bottom: -40px;
}

.upcp-skip-all-tutorial-pop-ups {
  cursor: pointer;
  color: #0073aa;
}

/* Color Pickers */
.ewd-upcp-spectrum {margin-right: 6px;}


/************************************************************************************
* FONTS
************************************************************************************/

@font-face { /* declare fonts */
  font-family: 'ewd-details';
  src: url("fonts/ewd-details.eot");
    src: url('fonts/ewd-details.woff2') format('woff2'),
         url('fonts/ewd-details.woff') format('woff'),
         url("fonts/ewd-details.ttf") format("truetype"),
    url("fonts/ewd-details.svg#ewd-details") format("svg");
    font-weight: normal;
    font-style: normal;
}

.upcp-details-icon {
  font-family: 'ewd-details';
  font-size: 1.3em;
  color: #1b8be0;
  display: inline-block;
  float: left;
}



/* SIDEBAR ITEMS ORDER TABLE */
.upcp-sidebar-items-order-container {
}
.upcp-sidebar-items-order-element {
  background: #f3f3f3;
  margin: 0;
  padding: 8px 16px;
  width: calc(100% - 32px);
}
.upcp-sidebar-items-order-element {
  border-bottom: 1px solid #ccc;
  cursor: all-scroll;
}
.upcp-sidebar-items-order-element:first-of-type {
  border-top: 1px solid #ccc;
}
.upcp-sidebar-items-order-element:active {
  background: #662D91;
  color: #fff;
}


/**********************************
NEW PRODUCT PAGE TAB LAYOUT
**********************************/
.toplevel_page_UPCP-options #ProductPage {
  width: 90%;
  margin-left: 3.75%;
}
.toplevel_page_UPCP-options #ProductPage #pp-select {
  margin-bottom: 4px;
}
.toplevel_page_UPCP-options #ProductPage select#PP-type-select {
  width: 100%;
  height: 48px;
  border-radius: 0;
  margin: 0;
}

.toplevel_page_UPCP-options #ProductPage .upcp-option-set {
  width: 100%;
  margin: 0;
}
.toplevel_page_UPCP-options #ProductPage .form-table {
  background: #fff;
}
.toplevel_page_UPCP-options #ProductPage .form-table th.ewd-upcp-admin-no-top-padding {
  padding-top: 0;
}
.toplevel_page_UPCP-options #ProductPage .form-table th.ewd-upcp-admin-no-info-button {
  background-image: none !important;
  cursor: default;
}
.toplevel_page_UPCP-options #ProductPage .form-table td {
  padding-bottom: 40px;
}

#upcp-tabs-table td {
  padding-left: 0;
  vertical-align: top;
}
#upcp-tabs-table td textarea {
  min-height: 96px;
}
#upcp-tabs-table td input[type="text"] {
  min-width: 200px;
}
#upcp-tabs-table td textarea {
  min-width: 300px;
}
#upcp-tabs-table #upcp-add-tab {
  position: relative;
  float: left;
  width: calc(100% - 4px);
  border: 2px dotted #bbb;
  text-align: center;
  padding: 12px 0;
  color: #999;
}
#upcp-tabs-table #upcp-add-tab:hover {
  background: #f5f5f5;
  color: #888;
}


/*
==============================================
NEW DASHBOARD
==============================================
*/

/*** WRAP ***/

.upcp_product_page_ewd-upcp-dashboard #wpcontent {
  padding-left: 0;
}


/*** BANNER ***/

.ewd-upcp-dashboard-new-upgrade-banner {
  position: relative;
  float: left;
  margin-left: -20px;
  width: calc(100% + 20px);
  height: 256px;
  background: url(../img/ewd-upcp-dashboard-banner.png) center no-repeat #1b0f49;
}
.ewd-upcp-dashboard-new-upgrade-banner .ewd-upcp-dashboard-banner-icon {
  position: absolute;
  height: 112px;
  width: 112px;
  left: 172px;
  top: 72px;
  background: url(../img/ewd-upcp-icon.png) no-repeat;
  background-size: 112px 112px;
}
.ewd-upcp-dashboard-new-upgrade-banner .ewd-upcp-dashboard-banner-buttons {
  position: absolute;
  height: 112px;
  width: 192px;
  right: 128px;
  top: 84px;
}
.ewd-upcp-dashboard-new-upgrade-button  {
  position: relative;
  float: right;
  width: 188px;
  border: 2px solid #0acbaa;
  background-color: #0acbaa;
  color: #fff;
  padding: 6px 0;
  font-size: 12px;
  text-decoration: none;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  border-radius: 2px;
}
.ewd-upcp-dashboard-new-upgrade-button:hover  {
  background-color: #1CE6C3;
  border-color: #1CE6C3;
  color: #fff;
}
.ewd-upcp-dashboard-new-upgrade-button.ewd-upcp-dashboard-new-trial-button  {
  background-color: transparent;
  color: #0acbaa;
  font-size: 11px;
  cursor: pointer;
  width: 192px;
}
.ewd-upcp-dashboard-new-upgrade-button.ewd-upcp-dashboard-new-trial-button:hover  {
  background-color: #0acbaa;
  border-color: #0acbaa;
  color: #fff;
}
.ewd-upcp-dashboard-new-upgrade-banner .ewd-upcp-dashboard-banner-text {
  position: absolute;
  width: calc(100% - 680px);
  height: 112px;
  top: 76px;
  left: 320px;
  color: #fff;
}
.ewd-upcp-dashboard-banner-title {
  position: relative;
  float: left;
  width: 100%;
  font-size: 29px;
  line-height: 32px;
  font-weight: bold;
}
.ewd-upcp-dashboard-banner-brief {
  position: relative;
  float: left;
  width: 100%;
  margin-top: 14px;
  font-size: 14px;
}

@media screen and (min-width: 1700px) {
  .ewd-upcp-dashboard-new-upgrade-banner .ewd-upcp-dashboard-banner-icon {
    left: 272px;
  }
  .ewd-upcp-dashboard-new-upgrade-banner .ewd-upcp-dashboard-banner-buttons {
    right: 228px;
  }
  .ewd-upcp-dashboard-new-upgrade-banner .ewd-upcp-dashboard-banner-text {
    width: calc(100% - 880px);
    left: 420px;
  }
}
@media screen and (max-width: 1200px) {
  .ewd-upcp-dashboard-new-upgrade-banner .ewd-upcp-dashboard-banner-icon {
    left: 54px;
  }
  .ewd-upcp-dashboard-new-upgrade-banner .ewd-upcp-dashboard-banner-buttons {
    right: 32px;
  }
  .ewd-upcp-dashboard-new-upgrade-banner .ewd-upcp-dashboard-banner-text {
    width: calc(100% - 466px);
    left: 202px;
  }
}
@media screen and (max-width: 800px) {
  .ewd-upcp-dashboard-new-upgrade-banner {
    height: 512px;
    height: 300px;
  }
  .ewd-upcp-dashboard-new-upgrade-banner .ewd-upcp-dashboard-banner-icon {
    left: calc(50% - 56px);
    top: 48px;
    display: none;
  }
  .ewd-upcp-dashboard-new-upgrade-banner .ewd-upcp-dashboard-banner-text {
    width: 80%;
    left: 10%;
    top: 208px;
    height: 160px;
    text-align: center;
    height: 140px;
    top: 42px;
  }
  .ewd-upcp-dashboard-banner-brief {
    display: none;
  }  
  .ewd-upcp-dashboard-new-upgrade-banner .ewd-upcp-dashboard-banner-buttons {
    right: calc(50% - 96px);
    top: 368px;
    top: 172px;
  }
}



/*** MENU ***/

.ewd-upcp-admin-header-menu {
  background-color: #6026B4;
  margin-bottom: 16px;
  position: relative;
  float: left;
  width: 100%;
}
.post-type-upcp_product .ewd-upcp-admin-header-menu,
.post-type-upcp_catalog .ewd-upcp-admin-header-menu,
.upcp_product_page_ewd-upcp-export .ewd-upcp-admin-header-menu,
.upcp_product_page_ewd-upcp-import .ewd-upcp-admin-header-menu,
.upcp_product_page_ewd-upcp-custom-fields .ewd-upcp-admin-header-menu,
.upcp_product_page_ewd-upcp-custom-fields .ewd-upcp-admin-header-menu,
.upcp_product_page_ewd-upcp-product-page .ewd-upcp-admin-header-menu,
.upcp_product_page_ewd-upcp-settings .ewd-upcp-admin-header-menu {
  margin-left: -20px;
  width: calc(100% + 20px);
}
.upcp_product_page_ewd-upcp-dashboard .ewd-upcp-admin-header-menu {
  margin-left: 0;
  width: 100%;
}
.ewd-upcp-admin-header-menu .nav-tab-wrapper, .wrap .ewd-upcp-admin-header-menu h2.nav-tab-wrapper {
  border-bottom: 0 !important;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  line-height: inherit;
}
.ewd-upcp-admin-header-menu .nav-tab {
  border: none;
  margin-left: 0;
  padding: 12px 18px;
  font-size: 12px;
  text-transform: uppercase;
  background: #6026B4;
  color: #fff;
  border-right: 1px solid #854DD6;
}

.ewd-upcp-admin-header-menu .nav-tab:hover {
  background: #682CBF;
}
.ewd-upcp-admin-header-menu .nav-tab-active {
  background: #682CBF;
  color: #fff;
}
.ewd-upcp-admin-header-menu .nav-tab-active:hover {
  background: #682CBF;
  color: #fff;
}
.ewd-upcp-admin-header-menu .nav-tab#ewd-upcp-dash-mobile-menu-open {
  display: none;
}

@media screen and (max-width: 1440px) {
  .ewd-upcp-admin-header-menu .nav-tab {
    padding: 12px 18px;
  }
}
@media screen and (max-width: 1250px) {
  .ewd-upcp-admin-header-menu .nav-tab {
    padding: 12px 12px;
  }
}
@media screen and (max-width: 1100px) {
  .ewd-upcp-admin-header-menu .nav-tab {
    padding: 12px 6px;
  }
}
@media screen and (max-width: 800px) {
  .ewd-upcp-admin-header-menu .nav-tab {
    padding: 12px 0;
    margin: 0;
    width: 100%;
    clear: both;
    text-align: center;
    border-right: none;
    border-bottom: 1px solid #854DD6;
  }
  .ewd-upcp-admin-header-menu .nav-tab:last-of-type {
    border-bottom: none;
  }
  .ewd-upcp-admin-header-menu .nav-tab {
    display: none;
  }
  .ewd-upcp-admin-header-menu .nav-tab#ewd-upcp-dash-mobile-menu-open {
    display: block;
  }
  #ewd-upcp-dash-mobile-menu-up-caret {
    display: none;
  }
  #ewd-upcp-dash-mobile-menu-down-caret {
    display: inline;
  }
}


/*** CONTENT ***/

#ewd-upcp-dashboard-content-area {
  position: relative;
  float: left;
  width: calc(100% - 162px);
  margin: 32px 20px 32px 142px;
}
#ewd-upcp-dashboard-content-left {
  position: relative;
  float: left;
  width: 74%;
}
#ewd-upcp-dashboard-content-right {
  position: relative;
  float: right;
  width: 24%;
}

.ewd-upcp-dashboard-new-widget-box {
  position: relative;
  float: left;
  background: #fff;
  box-shadow: -2px 2px 6px #ccc;
  margin-bottom: 16px;
}
.ewd-upcp-dashboard-new-widget-box.ewd-widget-box-full {
  width: 100%;
}
.ewd-upcp-dashboard-new-widget-box.ewd-widget-box-two-thirds {
  width: 66%;
}
.ewd-upcp-dashboard-new-widget-box.ewd-widget-box-one-third {
  width: 32%;
  margin-left: 2%;
}
.ewd-upcp-dashboard-new-widget-box-top, .ewd-upcp-dashboard-new-widget-box-bottom {
  position: relative;
  float: left;
  width: calc(100% - 32px);
  padding: 8px 16px;
  color: #777;
}
.ewd-upcp-dashboard-new-widget-box-top {
  padding: 12px 16px;
  font-weight: bold;
  color: #444;
}
.ewd-upcp-dashboard-new-widget-box-bottom {
  border-top: 1px solid #e2e2e2;
}

.ewd-upcp-dashboard-key-widget {
  position: relative; 
  float: left;
  width: calc(100% - 144px);
  min-height: 30px;
  margin: 24px 24px 8px;
  padding: 0 0 0 96px;
  background-image: url(../img/dash-asset-key.png);
  background-position: left top;
  background-size: 64px 30px;
  background-repeat: no-repeat;
}
.ewd-upcp-dashboard-key-widget-input {
  position: relative;
  float: left;
  width: calc(65% - 2px);
  height: 30px;
  padding: 4px 8px !important;
  background: none;
  border: 1px solid #e2e2e2 !important;
  margin: 0 !important;
}
.ewd-upcp-dashboard-key-widget-input::placeholder {
  color: #bbb;
}
.ewd-upcp-dashboard-key-widget-submit {
  position: relative;
  float: left;
  width: 35%;
  height: 30px;
  font-size: 14px;
  background: #f2b52f;
  color: #fff;
  border: none;
  cursor: pointer;
  margin: 0 !important;
}
.ewd-upcp-dashboard-key-widget-submit:hover {
  background: #F2BD49;
}
.ewd-upcp-dashboard-key-widget-text {
  position: relative;
  float: left;
  width: 100%;
  margin-top: 7px;
  font-size: 11px;
  color: #888;
  font-style: italic;
  font-weight: normal;
}
.ewd-upcp-dashboard-key-widget-text a {
  color: #0acbaa;
  text-decoration: none;
  font-weight: bold;
}
.ewd-upcp-dashboard-key-widget-text a:hover {
  color: #1CE6C3;
  text-decoration: none;
}

#ewd-upcp-dashboard-support-widget-box .ewd-upcp-dashboard-new-widget-box-top {
  cursor: pointer;
}
#ewd-upcp-dash-mobile-support-down-caret {
  display: none;
  float: right;
}
#ewd-upcp-dash-mobile-support-up-caret {
  display: inline;
  float: right;
}
.ewd-upcp-dashboard-support-widgets {
  position: relative;
  float: left;
  width: 90%;
  padding: 14px 5%;
}
.ewd-upcp-dashboard-support-widgets li {
  position: relative;
  float: left;
  width: 18.25%;
  margin-right: 9%;
}
.ewd-upcp-dashboard-support-widgets li:last-of-type {
  margin-right: 0;
}
.ewd-upcp-dashboard-support-widgets li a {
  position: relative;
  float: left;
  width: 100%;
  text-align: center;
  color: #444;
  text-decoration: none;
  font-weight: bold;
}
.ewd-upcp-dashboard-support-widgets li a:hover {
  color: #6026B4;
}
.ewd-upcp-dashboard-support-widgets li img {
  position: relative;
  float: left;
  width: 80%;
  height: auto;
  border: none;
  padding: 0 10% 12px;
}
.ewd-upcp-dashboard-support-widgets li .ewd-upcp-dashboard-support-widgets-text {
  position: relative;
  float: left;
  width: 100%;
  margin-top: 2px;
}

#ewd-upcp-dashboard-optional-table .ewd-upcp-dashboard-new-widget-box-top {
  cursor: pointer;
}
#ewd-upcp-dash-optional-table-down-caret {
  display: none;
  float: right;
}
#ewd-upcp-dash-optional-table-up-caret {
  display: inline;
  float: right;
}

.ewd-upcp-dashboard-testimonials {
  position: relative;
  float: left;
  width: 100%;
}
.ewd-upcp-dashboard-testimonials li {
  position: relative;
  float: left;
  width: 100%;
  text-align: center;
}
.ewd-upcp-dashboard-testimonials li img {
  position: relative;
  float: left;
  width: 140px;
  height: auto;
  margin-top: 8px;
  margin-left: calc(50% - 70px);
}
.ewd-upcp-dashboard-testimonials li .ewd-upcp-dashboard-testimonial-title {
  position: relative;
  float: left;
  width: 100%;
  margin: 28px 0 20px;
  font-size: 30px;
  line-height: 30px;
  font-weight: bold;
}
.ewd-upcp-dashboard-testimonials li .ewd-upcp-dashboard-testimonial-author {
  position: relative;
  float: left;
  width: 100%;
  font-size: 16px;
}
.ewd-upcp-dashboard-testimonials li .ewd-upcp-dashboard-testimonial-text {
  position: relative;
  float: left;
  width: 80%;
  margin: 24px 10% 0;
  font-size: 12px;
}
.ewd-upcp-dashboard-testimonials li .ewd-upcp-dashboard-testimonial-text a {
  color: #0acbaa;
  text-decoration: none;
  font-weight: bold;
}
.ewd-upcp-dashboard-testimonials li .ewd-upcp-dashboard-testimonial-text a:hover {
  color: #1CE6C3;
}

.ewd-upcp-dashboard-review-ask {
  position: relative;
  float: left;
  width: calc(100% - 32px);
  padding: 16px 16px 12px;
  text-align: center;
}
.ewd-upcp-dashboard-review-ask img {
  position: relative;
  float: left;
  width: 110px;
  height: auto;
  margin-left: calc(50% - 55px);
}
.ewd-upcp-dashboard-review-ask-text {
  position: relative;
  float: left;
  width: 100%;
  margin: 24px 0;
}
.ewd-upcp-dashboard-review-ask-button  {
  clear: both;
  position: relative;
  float: left;
  width: calc(100% - 2px);
  border: 1px solid #888;
  background-color: transparent;
  color: #888;
  padding: 6px 0;
  font-size: 12px;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  border-radius: 2px;
}
.ewd-upcp-dashboard-review-ask-button:hover  {
  background-color: #888;
  border-color: #888;
  color: #fff;
}
.ewd-upcp-dashboard-review-ask-dismiss {
  position: relative;
  float: left;
  background: transparent;
  border: none;
  margin: 16px 0 0 0;
  padding: 0;
  width: 100%;
  text-align: center;
  color: #999;
  font-size: 11px;
  text-transform: uppercase;
  cursor: pointer;
}
.ewd-upcp-dashboard-review-ask-dismiss:hover {
  color: #555;
}

.ewd-upcp-dashboard-guarantee {
  position: relative; 
  float: left;
  width: calc(100% - 208px);
  min-height: 127px;
  margin: 20px 24px;
  padding: 0 0 0 160px;
  background-image: url(../img/dash-asset-badge.png);
  background-position: left top;
  background-size: 128px 127px;
  background-repeat: no-repeat;
  color: #777;
}
.ewd-upcp-dashboard-guarantee-title, .ewd-upcp-dashboard-guarantee-text {
  position: relative;
  float: left;
  width: 100%;
  margin-top: 16px;
}
.ewd-upcp-dashboard-guarantee-title {
  font-size: 24px;
  line-height: 24px;
}
.ewd-upcp-dashboard-guarantee-text {
  font-size: 12px;
  font-weight: normal;
}

.ewd-upcp-dashboard-get-premium-widget-trial-time {
  position: relative;
  float: left;
  width: 100%;
  margin-top: 6px;
  background: #6026B4;
}
.ewd-upcp-dashboard-get-premium-widget-trial-days, .ewd-upcp-dashboard-get-premium-widget-trial-hours {
  position: relative;
  float: left;
  text-align: center;
  color: #fff;
  font-size: 43px;
  line-height: 35px;
  padding: 24px 0 8px;
  font-weight: bold;
}
.ewd-upcp-dashboard-get-premium-widget-trial-days span, .ewd-upcp-dashboard-get-premium-widget-trial-hours span {
  position: relative;
  float: left;
  width: 100%;
  font-size: 14px;
  font-weight: normal;  
}
.ewd-upcp-dashboard-get-premium-widget-trial-days {
  width: calc(50% - 7px);
  border-right: 7px solid #fff;
}
.ewd-upcp-dashboard-get-premium-widget-trial-hours {
  width: 50%;
}
.ewd-upcp-dashboard-get-premium-widget-trial-time-left {
  position: relative;
  float: left;
  width: 100%;
  margin: 28px 0 24px;
  color: #6026B4;
  font-size: 24px;
  text-align: center;
  font-weight: bold;
}
.ewd-upcp-dashboard-get-premium-widget-features-title {
  position: relative;
  float: left;
  width: calc(100% - 16px);
  padding: 8px 8px 10px;
  color: #0acbaa;
  font-size: 18px;
  line-height: 1.5;
  font-weight: bold;
}
.ewd-upcp-dashboard-get-premium-widget-features {
  position: relative;
  float: left;
  width: calc(100% - 16px);
  padding: 0 8px;
  -webkit-margin-after: 0;
}
.ewd-upcp-dashboard-get-premium-widget-features li {
  clear: both;
  position: relative;
  float: left;
  width: calc(100% - 36px);
  margin-bottom: 8px;
  padding-left: 36px;
  background-image: url(../img/dash-asset-checkmark.png);
  background-position: left top;
  background-size: 20px;
  background-repeat: no-repeat;
  font-style: italic;
}
.ewd-upcp-dashboard-get-premium-widget-features li:last-of-type {
  background-image: none;
}
.ewd-upcp-dashboard-get-premium-widget-button  {
  clear: both;
  position: relative;
  float: left;
  width: calc(100% - 20px);
  margin: 16px 8px 10px;
  border: 2px solid #0acbaa;
  background-color: #0acbaa;
  color: #fff;
  padding: 6px 0;
  font-size: 12px;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  border-radius: 2px;
}
.ewd-upcp-dashboard-get-premium-widget-button:hover  {
  background-color: #1CE6C3;
  border-color: #1CE6C3;
  color: #fff;
}
.ewd-upcp-dashboard-get-premium-widget-button.ewd-upcp-dashboard-new-trial-button  {
  background-color: transparent;
  color: #0acbaa;
  font-size: 11px;
  cursor: pointer;
  width: calc(100% - 16px);
  margin: 0 8px 16px; 
}
.ewd-upcp-dashboard-get-premium-widget-button.ewd-upcp-dashboard-new-trial-button:hover  {
  background-color: #0acbaa;
  border-color: #0acbaa;
  color: #fff;
}

.ewd-upcp-dashboard-other-plugins {
  position: relative;
  float: left;
  width: 100%;
}
.ewd-upcp-dashboard-other-plugins li {
  position: relative;
  float: left;
  width: 100%;
  margin-bottom: 24px;
}
.ewd-upcp-dashboard-other-plugins li:last-of-type {
  margin-bottom: 12px;
}
.ewd-upcp-dashboard-other-plugins li img {
  position: relative;
  float: left;
  width: 64px;
  height: auto;
  margin-right: 16px;
  border: none;
}
.ewd-upcp-dashboard-other-plugins li .ewd-upcp-dashboard-other-plugins-text {
  position: relative;
  float: left;
  width: calc(100% - 80px);
}
.ewd-upcp-dashboard-other-plugins li .ewd-upcp-dashboard-other-plugins-title {
  position: relative;
  float: left;
  width: 100%;
  font-size: 16px;
  color: #444;
  font-weight: bold;
}
.ewd-upcp-dashboard-other-plugins li .ewd-upcp-dashboard-other-plugins-blurb {
  position: relative;
  float: left;
  width: 100%;
  font-size: 11px;
  margin-top: 8px;
}

/** NEED HELP BOX ON PRODUCT EDIT SCREEN **/
.ewd-upcp-need-help-text {
  margin: 24px 0 22px;
  text-align: center;
  color: #888;
  font-size: 15px;
  line-height: 1.5;
}
.ewd-upcp-need-help-button {
  display: inherit;
  width: 40%;
  padding: 8px 0;
  margin: 0 30% 16px;
  text-align: center;
  background: #f2b52f;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border: none;
  box-shadow: none;
  cursor: pointer;
}
.ewd-upcp-need-help-button:hover {
  background: #d7a73f;
  color: #fff;
  text-decoration: none;
}

#ewd-upcp-dashboard-restart-walkthrough-widget-box .ewd-upcp-dashboard-new-widget-box-top {
  cursor: pointer;
}
#ewd-upcp-dashboard-restart-walkthrough-down-caret {
  display: none;
  float: right;
}
#ewd-upcp-dashboard-restart-walkthrough-up-caret {
  display: inline;
  float: right;
}

@media screen and (min-width: 1441px) {
  #ewd-upcp-dashboard-content-area {
    width: calc(100% - 194px);
    margin: 32px 20px 32px 174px;
  }
}
@media screen and (max-width: 1150px) {
  #ewd-upcp-dashboard-content-area {
    width: calc(100% - 40px);
    margin: 16px 20px 32px;
  }
}
@media screen and (max-width: 1000px) {
  .ewd-upcp-dashboard-key-widget-submit {
    font-size: 12px;
  }
}
@media screen and (max-width: 800px) {
  #ewd-upcp-dashboard-content-left, #ewd-upcp-dashboard-content-right {
    float: left;
    width: 100%;
  }
  .ewd-upcp-dashboard-new-widget-box.ewd-widget-box-two-thirds, .ewd-upcp-dashboard-new-widget-box.ewd-widget-box-one-third {
    width: 100%;
    margin-left: 0;
  }  

  .ewd-upcp-dashboard-key-widget {
    width: calc(100% - 48px);
    margin: 16px 24px 8px;
    padding: 54px 0 0 0;
    background-image: url(../img/dash-asset-key.png);
    background-size: 64px 30px;
    background-position: center top;
    background-repeat: no-repeat;
  }
  .ewd-upcp-dashboard-key-widget-input {
    width: 100%;
  }
  .ewd-upcp-dashboard-key-widget-submit {
    width: 100%;
    margin: 8px 0 0 0 !important;
    font-size: 14px;
  }
  .ewd-upcp-dashboard-key-widget-text {
    margin-top: 16px;
    text-align: center;
  }

  .ewd-upcp-dashboard-support-widgets {
    width: 90%;
    padding: 0 5%;
  }
  .ewd-upcp-dashboard-support-widgets li {
    width: 100%;
    margin: 0 0 12px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
  }
  .ewd-upcp-dashboard-support-widgets li:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
  }
  .ewd-upcp-dashboard-support-widgets li a {
    text-align: left;
    color: #444;
  }
  .ewd-upcp-dashboard-support-widgets li a:hover {
    color: #6026B4;
  }
  .ewd-upcp-dashboard-support-widgets li img {
    width: 32px;
    height: 32px;
    padding: 0 24px 0 16px;
  }
  .ewd-upcp-dashboard-support-widgets li .ewd-upcp-dashboard-support-widgets-text {
    width: calc(100% - 72px);
    margin-top: 7px;
    text-transform: uppercase;
    font-size: 11px;
  }
  #ewd-upcp-dashboard-support-widget-box .ewd-upcp-dashboard-new-widget-box-bottom {
    border-top: none;
  }

  #ewd-upcp-dashboard-get-premium-widget-box {
    display: none;
  }
}

@media screen and (max-width: 568px) {
  #ewd-upcp-dashboard-guarantee-widget-box {
    background: #6026B4;    
  }
  .ewd-upcp-dashboard-guarantee {
    width: calc(100% - 48px);
    padding: 0;
    height: 199px;
    background-image: url(../img/dash-asset-badge.png);
    background-size: 200px 199px;
    background-position: center top;
    background-repeat: no-repeat;
  }
  .ewd-upcp-dashboard-guarantee-title, .ewd-upcp-dashboard-guarantee-text {
    display: none;
  }
}



/*** FOOTER ***/

#ewd-upcp-dashboard-new-footer-one {
  position: relative;
  float: left;
  width: 100%;
  background: #fff;
  color: #777;
}
.ewd-upcp-dashboard-new-footer-one-inside {
  position: relative;
  float: left;
  width: 80%;
  margin: 0 10%;
}
.ewd-upcp-dashboard-new-footer-one-left {
  position: relative;
  float: left;
  width: calc(100% - 224px);
  margin-bottom: 32px;
}
.ewd-upcp-dashboard-new-footer-one-title {
  position: relative;
  float: left;
  width: 100%;
  margin-top: 56px;
  font-size: 24px;
  font-weight: bold;
}
.ewd-upcp-dashboard-new-footer-one-benefits {
  position: relative;
  float: left;
  width: 100%;
  margin-top: 32px;
}
.ewd-upcp-dashboard-new-footer-one-benefits li {
  position: relative;
  float: left;
  width: calc(33.333333% - 36px);
  margin-bottom: 11px;
  padding-left: 36px;
  background-image: url(../img/dash-asset-checkmark.png);
  background-position: left top;
  background-size: 20px;
  background-repeat: no-repeat;
  font-style: italic;
}

.ewd-upcp-dashboard-new-footer-one-buttons {
  position: relative;
  float: right;
  width: 192px;
  margin-top: 112px;
}

#ewd-upcp-dashboard-new-footer-two {
  position: relative;
  float: left;
  width: 100%;
  background: #150947;
  color: #efd3f5;
}
.ewd-upcp-dashboard-new-footer-two-inside {
  position: relative;
  float: left;
  width: 90%;
  margin: 48px 5%;
}
.ewd-upcp-dashboard-new-footer-two-icon {
  position: relative;
  float: left;
  width: 110px;
  height: auto;
  margin-right: 40px;
}
.ewd-upcp-dashboard-new-footer-two-blurb {
  position: relative;
  float: left;
  width: 300px;
  line-height: 1.7;
  font-size: 12px;
}
.ewd-upcp-dashboard-new-footer-two-menu {
  position: relative;
  float: right;
  width: 150px;
  -webkit-margin-after: 0;
  -webkit-margin-before: 0;
}
.ewd-upcp-dashboard-new-footer-two-menu li {
  clear: both;
  position: relative;
  float: right;
  width: 100%;
  font-weight: bold;
  margin-bottom: 4px;
  color: #fff;
  font-size: 13px;
}
.ewd-upcp-dashboard-new-footer-two-menu li:first-of-type {
  margin-bottom: 9px;
}
.ewd-upcp-dashboard-new-footer-two-menu li:last-of-type {
  margin-bottom: 0;
}
.ewd-upcp-dashboard-new-footer-two-menu li a {
  font-weight: normal;
  color: #D3DFF5;
  text-decoration: none;
  font-size: 12px;
}
.ewd-upcp-dashboard-new-footer-two-menu li a:hover {
  color: #fff;
}

@media screen and (max-width: 1100px) {
  .ewd-upcp-dashboard-new-footer-one-left {
    width: 100%;
    margin-bottom: 0;
  }
  .ewd-upcp-dashboard-new-footer-one-title {
    margin-top: 56px;
    font-size: 24px;
    line-height: 28px;
    text-align: center;
  }
  .ewd-upcp-dashboard-new-footer-one-benefits li {
    width: calc(50% - 36px);
  }
  .ewd-upcp-dashboard-new-footer-one-buttons {
    float: left;
    width: 100%;
    margin-top: 32px;
    margin-bottom: 24px;
  }
  .ewd-upcp-dashboard-new-footer-one-buttons .ewd-upcp-dashboard-new-upgrade-button {
    float: left;
    margin-left: calc(50% - 96px);
  }

  .ewd-upcp-dashboard-new-footer-two-icon {
    clear: both;
    float: left;
    margin: 0 0 16px calc(50% - 55px);
  }
  .ewd-upcp-dashboard-new-footer-two-blurb {
    display: none;
  }
  .ewd-upcp-dashboard-new-footer-two-menu {
    float: left;
    width: 100%;
    margin-top: 32px;
  }
  .ewd-upcp-dashboard-new-footer-two-menu li {
    float: left;
    text-align: center;
    margin-bottom: 4px;
    font-size: 17px;
  }
  .ewd-upcp-dashboard-new-footer-two-menu li:first-of-type {
    margin-bottom: 9px;
  }
  .ewd-upcp-dashboard-new-footer-two-menu li:last-of-type {
    margin-bottom: 0;
  }
  .ewd-upcp-dashboard-new-footer-two-menu li a {
    font-size: 16px;
  }
}
@media screen and (max-width: 568px) {
  .ewd-upcp-dashboard-new-footer-one-benefits li {
    clear: both;
    width: calc(100% - 36px);
  }
}


/**************************
*** Custom Fields table ***
**************************/

#ewd-upcp-custom-fields-table {
  position: relative;
  float: left;
  width: 100%;
  box-sizing: border-box;
}
#ewd-upcp-custom-fields-table-div {
  position: relative;
  float: left;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #ccc;
  margin-bottom: 20px;
}
.ewd-upcp-custom-field,
.ewd-upcp-custom-field-heading-row {
  position: relative;
  float: left;
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  background: #fff;
}
.ewd-upcp-custom-field {
  cursor: move;
}
.ewd-upcp-custom-field-cell,
.ewd-upcp-custom-field-heading-cell {
  position: relative;
  float: left;
  width: 12.5%;
  box-sizing: border-box;
}
.ewd-upcp-custom-field-cell-options {
  width: 25%;
}
.ewd-upcp-custom-field:nth-child(2n+2) {
  background: #f1f1f1;
}
.ewd-upcp-custom-field-heading-cell {
  font-weight: bold;
}
.ewd-upcp-custom-field-cell input,
.ewd-upcp-custom-field-cell select {
  max-width: 95%;
}
.ewd-upcp-custom-field-cell label {
  display: none;
  position: relative;
  float: left;
  width: 120px;
}
.ewd-upcp-custom-field-cell-checkbox-container {
  position: relative;
  float: left;
  width: 100%;
}
.ewd-upcp-custom-field-cell-checkbox-each {
  position: relative;
  float: left;
  width: 100%;
  margin-bottom: 8px;
}
.ewd-upcp-custom-field-cell-filtering-label {
  position: relative;
  float: left;
  margin-right: 6px;
  top: 5px;
}
.ewd-upcp-custom-field-delete {
  cursor: pointer;
  color: red;
}
.ewd-upcp-custom-fields-add {
  position: relative;
  float: left;
  box-sizing: border-box;
  width: 100%;
  padding: 20px 0;
  text-align: center;
  margin: 0;
  background: #6026B4;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.ewd-upcp-custom-fields-add:hover {
  background: #6a38b5;
}

@media screen and (max-width: 1200px) {
  .ewd-upcp-custom-field-heading-row,
  .ewd-upcp-custom-field-heading-cell {
    display: none;
  }
  .ewd-upcp-custom-field {
    border-bottom: 1px solid #ccc;
  }
  .ewd-upcp-custom-field:nth-child(2n+2) {
    background: #fff;
  }
  .ewd-upcp-custom-field:last-child {
    border-bottom: 0px;
  }
  .ewd-upcp-custom-field-cell,
  .ewd-upcp-custom-field-cell-options {
    width: 100%;
    margin: 12px 0;
  }
  .ewd-upcp-custom-field-cell label {
    display: block;
  }
  .ewd-upcp-custom-field-cell input,
  .ewd-upcp-custom-field-cell select {
    position: relative;
    float: left;
    max-width: calc(100% - 120px);
  }
  .ewd-upcp-custom-field-cell-checkbox-container {
    max-width: calc(100% - 120px);
  }
}


/*********************************/
/********** WARNING/TIP **********/
/*********************************/
.ewd-upcp-shortcode-reminder {
  position: relative;
  float: left;
  box-sizing: border-box;
  width: 100%;
  padding: 14px 2.5% 6px calc(2.5% + 64px);
  height: 64px;
  margin: 0 0 16px;
  background: url(../img/options-asset-starX2.png) #fff;
  background-size: 64px 64px;
  background-position: left top;
  background-repeat: no-repeat;
}
.ewd-upcp-shortcode-reminder.exclamation {
  background: url(../img/options-asset-exclamation.png) #fff;
  background-size: 64px 64px;
  background-position: left top;
  background-repeat: no-repeat;
}
@media screen and (min-width: 1350px) {
  .ewd-upcp-shortcode-reminder {
    padding: 22px 2.5% 12px calc(2.5% + 64px);
  }
}
@media screen and (min-width: 1700px) {
  .ewd-upcp-shortcode-reminder {
    padding: 22px 2.5% 10px calc(2.5% + 64px);
  }
}
@media screen and (max-width: 782px) {
  .ewd-upcp-shortcode-reminder,
  .ewd-upcp-shortcode-reminder.exclamation {
    background: #fff;
    height: auto;
    padding: 14px 2.5%;
  }
}


/*******************************\
|***** PRODUCT EDIT SCREEN *****|
\*******************************/

.post-type-upcp_product .postbox {
  float: left;
  width: 100%;
}  
#upcp_product_meta .inside {
  float: left;
  margin: 0;
  padding: 0;
}

.ewd-upcp-product-meta {
  float: left;
  width: 100%;
  background: #fafafa;
}

.ewd-upcp-product-meta-menu {
  float: left;
  width: 300px;
  box-sizing: border-box;
  background: #fafafa;
}
.ewd-upcp-product-meta-menu-tab {
  float: left;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 32px;
  border-bottom: 1px solid #eee;
  color: #6026B4;
  font-weight: bold;
  cursor: pointer;
}
.ewd-upcp-product-meta-menu-tab-selected {
  background: #eee9f5;
}
.ewd-upcp-product-meta-menu-tab:hover {
  background: #eee9f5;
}

.ewd-upcp-product-meta-tabs {
  float: right;
  width: calc(100% - 300px);
  box-sizing: border-box;
  padding: 16px;
  background: #fff;
  border-left: 1px solid #eee;
}

.ewd-upcp-meta-field {
  position: relative;
  float: left;
  width: 100%;
  padding: 10px 0;
  font-size: 14px;
  color: #23282d;
}
.ewd-upcp-meta-field-label {
  width: 180px;
  float: left;
}
.ewd-upcp-meta-field-input {
  float: left;
  width: calc(100% - 180px);
}

.ewd-upcp-related-product {
  position: relative;
  float: left;
  width: 100%;
  margin-bottom: 8px;
}
.ewd-upcp-related-product select {
  max-width: calc(100% - 112px);
  float: left;
  margin-right: 12px;
}
.ewd-upcp-delete-related-product {
  float: left;
  color: red;
  width: 100px;
  cursor: pointer;
}
.ewd-upcp-add-related-product {
  position: relative;
  float: left;
  padding: 5px 40px;
  text-align: center;
  border: 1px solid #6026B4;
  border-radius: 4px;
  background: transparent;
  color: #6026B4;
  cursor: pointer;
}
.ewd-upcp-add-related-product:hover {
  background: #6026B4;
  color: #fff;
}

.ewd-upcp-product-image,
.ewd-upcp-product-video {
  float: left;
  width: 100%;
  border-bottom: 1px solid #ccc;
  margin-bottom: 32px;
}
.ewd-upcp-product-image-image,
.ewd-upcp-product-image-description,
.ewd-upcp-product-image-delete {
  float: left;
  width: 100%;
  margin-bottom: 12px;
}
.ewd-upcp-product-image-description-label {
  float: left;
  width: 140px;
}
.ewd-upcp-product-image-image img {
  max-width: 300px;
}

.ewd-upcp-add-product-image {
  cursor: pointer;
}

.ewd-upcp-delete-product-image {
  color: red;
  cursor: pointer;
}

@media screen and (max-width: 1000px) {
  .ewd-upcp-product-meta-menu {
    width: 100%;
    text-align: center;
  }
  .ewd-upcp-product-meta-tabs {
    width: 100%;
  }
}


/************************
TOGGLE SWITCHES
************************/
.ewd-upcp-admin-hide-radios {
  display: none;
}

/* The switch - the box around the slider */
.ewd-upcp-admin-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

/* Hide default HTML checkbox */
.ewd-upcp-admin-switch input {
  display: none;
}

/* The slider */
.ewd-upcp-admin-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.ewd-upcp-admin-switch-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .ewd-upcp-admin-switch-slider {
  background-color: #0acbaa;
}

input:focus + .ewd-upcp-admin-switch-slider {
  box-shadow: 0 0 1px #0acbaa;
}

input:checked + .ewd-upcp-admin-switch-slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
}

/* Rounded sliders */
.ewd-upcp-admin-switch-slider.round {
  border-radius: 34px;
}

.ewd-upcp-admin-switch-slider.round:before {
  border-radius: 50%;
}


/*******************************\
|***** CATALOG EDIT SCREEN *****|
\*******************************/

.post-type-upcp_catalog .postbox {
  float: left;
  width: 100%;
}  
#upcp_catalog_meta .inside {
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
}

.ewd-upcp-catalog-meta {
  float: left;
  width: 100%;
}

.ewd-upcp-catalog-meta-current-items {
  float: left;
  width: 100%;
}
.ewd-upcp-catalog-meta-items {
  float: left;
  width: calc( 100% - 1px );
  border-collapse: collapse;
}
.ewd-upcp-catalog-meta-items th {
  padding: 16px;
  background: #fafafa;
  text-align: left;
}
.ewd-upcp-catalog-meta-items td {
  padding: 16px;
  border: 1px solid #e2e2e2;
}
.ewd-upcp-catalog-meta-items tbody tr td:first-of-type {
  background: #fafafa;
  cursor: pointer;
  transition: background .3s, color .3s;
}
.ewd-upcp-catalog-meta-items tbody tr td:first-of-type:hover {
  background: #6026B4;
  color: #fff;
}
.ewd-upcp-catalog-meta-items td.ewd-upcp-catalog-meta-add-items-button {
  background: #333;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background .3s, color .3s;
  cursor: pointer;
}
.ewd-upcp-catalog-meta-items td.ewd-upcp-catalog-meta-add-items-button:hover {
  background: #555;
}

.ewd-upcp-catalog-sort-items-alphabetically,
.ewd-upcp-catalog-sort-items-reverse-alphabetically {
  display: block;
  float: left;
  box-sizing: border-box;
  width: 48%;
  margin-top: 10px;
  margin-bottom: 20px;
  margin-right: 4%;
  border: 4px solid #ccc;
  padding: 8px 0;
  background: #ccc;
  color: #222;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: border-color .3s;
  cursor: pointer;
}
.ewd-upcp-catalog-sort-items-reverse-alphabetically {
  margin-right: 0;
}
.ewd-upcp-catalog-sort-items-alphabetically:hover,
.ewd-upcp-catalog-sort-items-reverse-alphabetically:hover {
  border-color: #444;
}

.ewd-upcp-add-items-background-div {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background: rgba(0,0,0,.85);
  z-index: 100;
}
.ewd-upcp-add-items-close-button {
  position: absolute;
  top: 0;
  right:0;
  background: #000;
  color: #fff;
  padding: 16px 32px;
  font-size: 40px;
  cursor: pointer;
}

.ewd-upcp-catalog-meta-add-items {
  position: absolute;
  width: calc(90% - 160px);
  height: 80vh;
  left: calc(5% + 160px);
  top: 10vh;
  background: #fafafa;
}
.ewd-upcp-catalog-meta-add-items-title {
  float: left;
  width: 100%;
  background: #6026B4;
  color: #fff;
  padding: 12px 0;
  text-align: center;
  font-size: 1.8em;
  box-sizing: border-box;
  height: 60px;
}
.ewd-upcp-catalog-meta-add-items-header {
  float: left;
  width: 300px;
  box-sizing: border-box;
  background: #fafafa;
}
.ewd-upcp-catalog-meta-add-items-label {
  float: left;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 32px;
  border-bottom: 1px solid #eee;
  color: #6026B4;
  font-weight: bold;
  cursor: pointer;
  transition: background .3s;
}
.ewd-upcp-meta-add-items-selected-label {
  background: #eee9f5;
}
.ewd-upcp-catalog-meta-add-items-label:hover {
  background: #eee9f5;
}

.ewd-upcp-catalog-meta-add-items-selection {
  float: right;
  width: calc(100% - 300px);
  height: calc(80vh - 60px);
  box-sizing: border-box;
  padding: 16px;
  background: #fff;
  border-left: 1px solid #eee;
  overflow-y: scroll;
}
.post-type-upcp_catalog .ewd-upcp-admin-input-container {
  position: relative;
  float: left;
  width: 100%;
  margin-bottom: 6px;
}
.ewd-upcp-meta-add-items-products, 
.ewd-upcp-meta-add-items-categories {
	position: relative; 
	float: left;
	cursor: pointer;
	padding: 6px 12px;
	border: 2px solid #6700B2;
	color: #6700B2;
	border-radius: 2px;
	background: transparent;
  width: auto;
	text-align: center;
	margin-top: 22px;
	text-decoration: none;
  transition: background .3s, color .3s;
}
.ewd-upcp-meta-add-items-products:hover, 
.ewd-upcp-meta-add-items-categories:hover {
	color: #fff;
	background: #6700B2;
	text-decoration: none;
}

/* RADIO BUTTON AND CHECKBOX */
.wrap.sap-settings-page form .form-table fieldset label {
  line-height: 1.4em;
  margin: .25em 0 .5em;
  display: inline-block;
  font-size: 14px;
}

.ewd-upcp-admin-input-container input, .ewd-upcp-admin-input-container input:disabled {
  position: absolute;
  opacity: 0;
}
.ewd-upcp-admin-radio-button {
  position: relative;
  float: left;
  height: 14px;
  width: 14px;
  top: 1px;
  margin-right: 12px;
  background-color: #fff;
  border: 2px solid #aaa;
  border-radius: 50%;
}
.ewd-upcp-admin-input-container:hover input ~ .ewd-upcp-admin-radio-button {
  background-color: #E6FFFB;
  border-color: #6026B4;
}
.ewd-upcp-admin-input-container input:checked ~ .ewd-upcp-admin-radio-button {
  border-color: #6026B4;
  background-color: #fff;
}
.ewd-upcp-admin-radio-button:after {
  content: "";
  position: absolute;
  display: none;
}
.ewd-upcp-admin-input-container input:checked ~ .ewd-upcp-admin-radio-button:after {
  display: block;
}
.ewd-upcp-admin-input-container .ewd-upcp-admin-radio-button:after {
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6026B4;
}

.ewd-upcp-admin-checkbox {
  position: relative;
  float: left;
  height: 14px;
  width: 14px;
  top: 1px;
  margin-right: 12px;
  background-color: #fff;
  border: 2px solid #aaa;
}
.ewd-upcp-admin-input-container:hover input ~ .ewd-upcp-admin-checkbox {
  background-color: #E6FFFB;
  border-color: #6026B4;
}
.ewd-upcp-admin-input-container input:checked ~ .ewd-upcp-admin-checkbox {
  border-color: #6026B4;
  background-color: #fff;
}
.ewd-upcp-admin-checkbox:after {
  content: "";
  position: absolute;
  display: none;
}
.ewd-upcp-admin-input-container input:checked ~ .ewd-upcp-admin-checkbox:after {
  display: block;
}
.ewd-upcp-admin-input-container .ewd-upcp-admin-checkbox:after {
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #6026B4;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


/******************************\
|***** PROUCT PAGE SCREEN *****|
\******************************/

#ewd-upcp-additional-tabs-table {
  position: relative;
  float: left;
  width: 100%;
  border: 1px solid #e2e2e2;
  border-top: none;
  box-sizing: border-box;
}
#ewd-upcp-additional-tabs-table * {
  box-sizing: border-box;
}

select[name="product-page-selector"] {
  display: block;
  position: relative;
  float: left;
  width: 100%;
  max-width: none;
  padding: 10px;
  font-size: 1.3em;
  margin: 32px 0;
  border: 1px solid #e2e2e2;
  border-radius: 0;
}
#ewd-upcp-additional-tabs-table {
  position: relative;
  float: left;
  width: 100%;
  background: #fff;
}
.ewd-upcp-product-page-starting-tab,
.ewd-upcp-product-page-custom-tabs {
  position: relative;
  float: left;
  width: 100%;
}
.ewd-upcp-product-page-starting-tab label,
.ewd-upcp-product-page-custom-tabs h4 {
  position: relative;
  float: left;
  width: 150px;
  padding: 16px;
  margin: 0;
  background: #fafafa;
  border-bottom: 1px solid #e2e2e2;
  font-size: 1em;
  font-weight: bold;
  cursor: initial;
}
.ewd-upcp-product-page-starting-tab label {
  border-top: 1px solid #e2e2e2;
}
select[name="ewd-upcp-starting-tab"] {
  display: block;
  position: relative;
  float: left;
  width: calc(100% - 150px);
  max-width: none;
  padding: 11px;
  margin: 0;
  border: 1px solid #e2e2e2;
  border-right: none;
  border-radius: 0;
}
.ewd-upcp-product-page-custom-tabs table {
  position: relative;
  float: left;
  width: calc(100% - 150px);
  max-width: none;
  padding: 11px;
  border: none;
  border-left: 1px solid #e2e2e2;
}
.ewd-upcp-product-page-custom-tabs table th {
  text-align: left;
  padding-bottom: 10px;
}
.ewd-upcp-additional-tab-add td {
	position: relative; 
	float: left;
	cursor: pointer;
	padding: 6px 12px;
	margin: 22px 0;
	border: 2px solid #6700B2;
	color: #6700B2;
	border-radius: 2px;
	background: transparent;
  width: auto;
	text-align: center;
	text-decoration: none;
  transition: background .3s, color .3s;
  cursor: pointer;
}
.ewd-upcp-additional-tab-add td:hover {
	color: #fff;
	background: #6700B2;
	text-decoration: none;
}
.ewd-upcp-delete-custom-tab {
  color: #6700B2;
  cursor: pointer; 
}
#ewd-upcp-additional-tabs-table .button-primary {
  position: relative;
  float: right;
  margin: 24px 16px 16px 0
}
.ewd-upcp-product-page-custom-tabs table input[type="text"],
.ewd-upcp-product-page-custom-tabs table textarea {
  border: 2px solid #ccc;
  border-radius: 2px;
  margin: 5px 0;
}


/** GRIDSTER PAGES **/

.ewd-upcp-custom-product-page-notice {
  position: relative;
  float: left;
  width: 96%;
  margin: 16px 2% 32px;
  padding: 12px 16px;
  background: #f2f2f2;
}
.ewd-upcp-custom-product-page-heading {
  position: relative;
  float: left;
  width: 100%;
  text-align: center;
  font-size: 1.15em;
  font-weight: bold;
}
.ewd-upcp-custom-product-page-large-element-selector,
.ewd-upcp-product-page-custom-large-screen,
.ewd-upcp-custom-product-page-mobile-element-selector,
.ewd-upcp-product-page-custom-mobile-screen {
  position: relative;
  float: left;
  width: 100%;
}
.ewd-upcp-custom-product-page-large-element-selector ul,
.ewd-upcp-custom-product-page-mobile-element-selector ul {
  position: relative;
  float: left;
  margin: 16px 32px 32px;
  width: calc(100% - 64px);
}
.ewd-upcp-custom-product-page-large-element-selector ul li,
.ewd-upcp-custom-product-page-mobile-element-selector ul li {
  position: relative;
  float: left;
  width: 25%;
  border: 1px solid #e2e2e2;
  border-top: none;
  border-left: none;
  margin: 0;
  text-align: center;
}
.ewd-upcp-custom-product-page-large-element-selector ul li:nth-of-type(4n+1),
.ewd-upcp-custom-product-page-mobile-element-selector ul li:nth-of-type(4n+1) {
  border-left: 1px solid #e2e2e2;
}
.ewd-upcp-custom-product-page-large-element-selector ul li:nth-of-type(1),
.ewd-upcp-custom-product-page-large-element-selector ul li:nth-of-type(2),
.ewd-upcp-custom-product-page-large-element-selector ul li:nth-of-type(3),
.ewd-upcp-custom-product-page-large-element-selector ul li:nth-of-type(4),
.ewd-upcp-custom-product-page-mobile-element-selector ul li:nth-of-type(1),
.ewd-upcp-custom-product-page-mobile-element-selector ul li:nth-of-type(2),
.ewd-upcp-custom-product-page-mobile-element-selector ul li:nth-of-type(3),
.ewd-upcp-custom-product-page-mobile-element-selector ul li:nth-of-type(4) {
  border-top: 1px solid #e2e2e2;
}
.ewd-upcp-custom-product-page-large-element-selector ul li a,
.ewd-upcp-custom-product-page-mobile-element-selector ul li a {
  position: relative;
  float: left;
  width: 100%;
  background: transparent;
  color: #000;
  text-decoration: none;
  padding: 8px 0;
}
.ewd-upcp-custom-product-page-large-element-selector ul li a:hover,
.ewd-upcp-custom-product-page-mobile-element-selector ul li a:hover {
  background: #eee9f5;
  text-decoration: none;
}

.ewd-upcp-custom-product-page-restore-default {
  position: relative;
  float: left;
  margin: 24px 0 16px 16px;
}
.ewd-upcp-custom-product-page-restore-default a.button {
  background: #db3f3f;
  border-color: #8c2929;
  color: white;
}
.ewd-upcp-custom-product-page-restore-default a.button:hover {
  background: #ae3e3e;
  color: #fff;
}

.ewd-upcp-gridster-response {
  position: relative;
  float: left;
  width: 96%;
  margin: 16px 2% 32px;
  padding: 12px 16px;
  background: #f2f2f2;
}