input#sp_tpro_license_key {
  padding: 5px 12px !important;
  min-height: 36px;
  min-width: 300px;
  max-width: 100%;
}

/* Shortcode column border css */
.post-type-spt_shortcodes td.shortcode.column-shortcode input {
  border: 1px solid #cbcbcb;
  cursor: pointer;
}

.post-type-spt_shortcodes #testimonial_layout.column-testimonial_layout,
.post-type-spt_shortcodes .testimonial_layout.column-testimonial_layout{
  padding-left: 10%;
}

/* Shortcode */
.trpo-copy-btn {
  display: inline-block;
  height: 15px;
  line-height: 38px;
  margin-bottom: -4px;
  margin-right: -30px;
  cursor: pointer;
  position: relative;
  z-index: 99;
}

.sptpro-after-copy-text {

  bottom: 0;
  opacity: 0;
  z-index: 9999999;
  position: fixed;
  width: 230px;
  left: 180px;
  text-align: center;
  padding: 15px 15px;
  line-height: 15px;
  color: #fff;
  border-radius: 3px;
  background: #32373C;
  border: 1px solid #32373C;
}

.sptpro-after-copy-text .fa-check-circle {
  font-size: 14px;
  margin-right: 2px;
  color: #5db62e
}

.sptpro-pagination-not-work {
  bottom: 0;
  opacity: 0;
  z-index: 9999999;
  position: fixed;
  width: 300px;
  left: 180px;
  text-align: center;
  padding: 15px 15px;
  line-height: 15px;
  color: #fff;
  border-radius: 3px;
  background: #32373C;
  border: 1px solid #32373C;
}

.sptpro-pagination-not-work .fa-check-circle {
  font-size: 14px;
  margin-right: 2px;
  color: #5db62e
}


/* License activation */
.testimonial-pro-license {
  padding: 80px 0;
}

.testimonial-pro-license .testimonial-pro-license-area {
  display: inline-block;
}

.testimonial-pro-license h3 {
  font-size: 24px;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 10px;
}

.testimonial-pro-license p {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 24px;
  color: #666;
}

.testimonial-pro-license .testimonial-pro-license-key {
  display: inline-block;
  position: relative;
  margin-right: 5px;
}

.testimonial-pro-license .testimonial-pro-license-key-input.license-key-active {
  border: 1px solid #28a745;
  pointer-events: none;
  padding-right: 68px;
  color: #a9a9a9;
}

.testimonial-pro-license .testimonial-pro-license-key-input.license-key-active:focus {
  border-color: #28a745;
}

.testimonial-pro-license .testimonial-pro-license-key span {
  position: absolute;
  top: 7px;
  right: 7px;
  background: #28a745;
  color: #fff;
  padding: 4px 10px;
  border-radius: 3px;
  line-height: 20px;
}

.testimonial-pro-license .testimonial-pro-license-key-input {
  padding: 6px 14px;
  min-width: 400px;
}

.testimonial-pro-license .button-secondary {
  min-height: 42px;
  text-transform: uppercase;
  padding: 6px 16px;
}

.testimonial-pro-license .button-secondary:focus,
.testimonial-pro-license .testimonial-pro-license-key-input:focus {
  outline: none;
  box-shadow: 0 0 0;
}

.testimonial-pro-license .btn-license-save-activate {
  color: #fff;
  border-color: #1689de;
  background: #1689de;
}

.testimonial-pro-license .btn-license-save-activate:hover,
.testimonial-pro-license .btn-license-save-activate:focus {
  background: #0b7acc;
  border-color: #0b7acc;
  color: #fff;
}

.testimonial-pro-license .testimonial-pro-license-error-notices {
  color: #dc3545;
  text-align: left;
  margin-top: 7px;
  font-size: 14px;
  font-style: italic;
  -webkit-animation: seconds 1.0s forwards;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-delay: 3s;
  animation: seconds 1.0s forwards;
  animation-iteration-count: 1;
  animation-delay: 3s;
  position: relative;
}

@-webkit-keyframes seconds {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    left: -9999px;
    position: absolute;
  }
}

@keyframes seconds {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    left: -9999px;
    position: absolute;
  }
}

/* Live preview */
.post-type-spt_shortcodes #sp_tpro-show-preview,
.post-type-spt_testimonial_form #sp_tpro-show-preview {
  position: fixed;
  right: 144px;
  bottom: 30px;
  z-index: 1001;
  width: 155px;
  text-align: center;
  padding: 10px 0px;
  background: #54b154;
  color: #fff;
  border-radius: 3px;
  text-decoration: none;
  display: block;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  margin: 0;
  box-sizing: border-box;
  border-color: #44a944;
  overflow: hidden;
}

.post-type-spt_testimonial #sp_tpro-show-preview {
  display: none;
}

#sp_tpro_live_preview .handle-actions,
#sp_tpro_builder_option .handle-actions,
#sp_tpro_shortcode_show .handle-actions,
.post-type-spt_testimonial_form #sp_tpro_form_code_options .handle-actions {
  display: none;
}

#sp_tpro_live_preview .postbox-header,
#sp_tpro_builder_option .postbox-header,
#sp_tpro_shortcode_show .postbox-header,
.post-type-spt_testimonial_form #sp_tpro_form_code_options .postbox-header {
  pointer-events: none;
}
/*ShortCode Area*/
.spftestimonial-metabox .sp-tpro-banner {
  background-color: #1595ce;
  padding: 20px 28px;
  overflow: hidden;
  background: linear-gradient(90deg, #1565D0 0%, #008FF0 100%);
}

.spftestimonial-metabox .sp-tpro-logo {
  float: left;
}

.spftestimonial-metabox .sp-tpro-logo img {
  display: block;
  width: 164px;
}

.sp-tpro-banner {
	display: flex;
	justify-content: space-between;
	background-color: #fff;
	padding: 16px 28px;
	overflow: hidden;
	background-color: #EA6A1D;
	background-image: linear-gradient(62deg, #bd4600 26%, #EA6A1D 100%);
}

.sp-tpro-banner .spftestimonial-submit-options:focus {
	outline: none;
}

.spftestimonial-submit-options a {
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
}

.spftestimonial-submit-options .support-area {
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.sp-tpro-banner .spftestimonial-submit-options {
	position: relative;
}

.sp-tpro-banner .spftestimonial-submit-options::before {
	content: '';
	width: 100%;
	height: 50px;
	position: absolute;
	top: 80%;
	z-index: 10;
	cursor: pointer;
}

.sp-tpro-testimonial-title.spt-icon-quote::before {
  margin-right: 2px !important;
}

.spftestimonial-metabox .sp-tpro-short-links {
  float: right;
  line-height: 30px;
}

.spftestimonial-metabox .sp-tpro-short-links a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 16px;
  font-size: 15px;
  font-weight: 600;
}

.spftestimonial-metabox .sp-tpro-short-links a i.fa {
  margin-right: 7px;
}

.sp-testimonial-shortcode-divider {
  height: 20px;
  background: #f1f1f1;
  border-top: 1px solid #dddddd;
}

.spftestimonial-metabox .tpro_shortcode {
  display: inline-flex;
  width: 100%;
  background-color: #fffdfd;
}

.tpro_shortcode .tpro-col-lg-6 {
  border-right: 1px solid #dddddd;
  width: 50%;
}

.tpro_shortcode .tpro-col-lg-6 .tpro_shortcode_content {
  padding: 42px 16px;
}

.tpro_shortcode .tpro-col-lg-6:last-child .tpro_shortcode_content {
  padding: 42px 16px 0 16px;
}

.tpro_shortcode .tpro-col-lg-6 .tpro_shortcode_content .tpro-sc-code {
  background-color: #EEF8FF;
  padding: 10px 15px 10px 30px;
  display: inline-block;
  border: 1px solid #CCDEEB;
  border-radius: 2px;
  cursor: pointer;
  background-image: url(../images/copy.svg);
  background-size: 16px;
  background-position: 10px center;
  background-repeat: no-repeat;
}

.tpro_shortcode .tpro-col-lg-6:last-child {
  border-right: none;
}

.tpro_shortcode .tpro-col-lg-6 .tpro-shortcode-title {
  font-weight: 500;
  font-size: 17px !important;
  padding-top: 0 !important;
  color: #4c5158;
}

.tpro_shortcode .tpro-col-lg-6 p {
  margin-top: 2px;
  color: #4c5158;
}

.tpro_shortcode .tpro-col-lg-6 .back-image {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.tpro_shortcode .tpro-col-lg-6 textarea {
  border-color: transparent;
  box-shadow: none;
  background-color: #eee;
  padding: 4px 6px;
  resize: none;
  text-align: center;
  max-width: 100%;
}

@media screen and (max-width: 1200px) {
  .spftestimonial-metabox .tpro_shortcode {
    display: block;
  }

  .tpro_shortcode .tpro-col-lg-6 {
    width: 100%;
    display: block;
    border-bottom: 1px solid #ddd;
    border-right: none;
  }

  .tpro_shortcode .tpro-col-lg-6:last-child {
    padding-bottom: 42px;
  }
}

/* hide handle */
#sp_tpro_layout_options .handlediv,
#sp_tpro_layout_options .hndle,
#sp_tpro_layout_options .postbox-header,
#sp_tpro_shortcode_options .postbox-header,
#sp_tpro_meta_options .postbox-header,
#sp_tpro_form_options .postbox-header,
.js #sp_tpro_shortcode_options.postbox .handlediv,
.js #sp_tpro_shortcode_options.postbox .hndle,
.js #sp_tpro_meta_options.postbox .handlediv,
.js #sp_tpro_meta_options.postbox .hndle {
  display: none;
}

.client_image_style.spftestimonial-field-image_select img {
  width: 70px;
}

/* Gutenberg selector field style */
.sptp-gutenberg-shortcode.editor-styles-wrapper {
  padding: 0;
  line-height: 24px;
}

.editor-styles-wrapper .sptp_block_shortcode img {
  box-shadow: none;
}

.block-editor-page .editor-styles-wrapper select,
.block-editor-page select.sptp-shortcode-selector,
.block-editor-page select.sptp-shortcode-selector:focus,
.block-editor-page select.sptp-shortcode-selector:focus-visible {
  width: 250px;
  padding: 5px;
  border: 1px solid #ccc;
  font-size: 13px;
  padding-right: 25px;
}

.block-editor-page .editor-styles-wrapper i {
  font-style: normal;
}

iframe#TB_iframeContent[src*="edd_sl_action=view_plugin_changelog&plugin=testimonial-pro"] {
  max-height: calc(100% - 30px);
}