/* ============== MetaBox START ============== */
.post-type-rtbr #misc-publishing-actions,
.post-type-rtbr #submitdiv > .handlediv,
.post-type-rtbr #submitdiv h2 {
  display: none;
}

.post-type-rtbr #minor-publishing-actions {
  padding: 0;
}

#rt_plugin_sc_pro_information button.handlediv,
#rt_plugin_sc_pro_information h2.hndle {
  display: none;
}

#rtbr_meta h2.hndle {
  font-size: 18px;
  color: #000000;
  border-radius: 4px;
  padding: 20px;
}

#rtbr_meta .postbox-header {
  background-color: #ffffff;
  margin-bottom: 20px;
}

#rtbr_meta,
#rt_plugin_sc_pro_information {
  background: transparent;
  border: 0;
}

#rtbr_meta .inside,
#rt_plugin_sc_pro_information .inside {
  padding: 0;
  margin: 0;
}

/* ============== MetaBox END ================ */
/* ============== Nav style START ============== */
ul.rt-tab-nav {
  padding: 0;
  display: flex;
  border-bottom: 1px solid #dee2e6;
  margin: 0;
}

ul.rt-tab-nav li {
  cursor: pointer;
  display: inline-block;
  margin-bottom: -1px;
}

ul.rt-tab-nav li + li {
  margin-left: 2px;
}

ul.rt-tab-nav li a {
  position: relative;
  font-size: 15px;
  color: #ffffff;
  background-color: #ffffff;
  padding: 10px 25px;
  border-radius: 4px 4px 0 0;
  display: inline-block;
  text-decoration: none;
  z-index: 2;
  transition: all 0.3s ease-in-out;
}

ul.rt-tab-nav li:focus {
  outline: none;
}

ul.rt-tab-nav li a:after {
  content: "";
  height: 100%;
  width: 100%;
  background-color: #5d3dfd;
  border-radius: 4px 4px 0 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}

ul.rt-tab-nav li.active a {
  color: #5d3dfd;
}

ul.rt-tab-nav li.active a:after {
  height: 10%;
}

ul.rt-tab-nav li a i {
  margin-right: 10px;
}

ul.rt-tab-nav li:last-child a {
  border-right: 0;
}

ul.rt-tab-nav li a:focus {
  box-shadow: none;
}

ul.rt-tab-nav li a i {
  margin-right: 10px;
}

/* ============== Nav style END ================ */
/* ============== Container START ============== */
.rt-tab-content {
  display: none;
  background: #fff;
}

.rt-field-wrapper {
  border-bottom: 1px solid #e7e7e7;
  padding: 10px 0;
  display: flex;
}

.rt-label {
  font-weight: bold;
  flex: 0 0 200px;
  padding: 15px 10px 15px 15px;
}

.rt-field {
  flex: 1;
  padding: 15px 15px 15px 10px;
  max-width: 800px;
}

.rt-field textarea.rt-textarea {
  width: 100%;
  height: 80px;
}

.rt-field .rt-form-control {
  width: 100%;
  max-width: 100%;
}

.rt-field .rt-form-control[type=number] {
  width: 70px;
}

.rt-field-wrapper .custom-css {
  border: 1px solid #dfdfdf;
  border-radius: 3px;
  width: 100%;
  max-width: 800px;
  height: 200px;
  position: relative;
}

.rt-field-wrapper .checkbox-group.vertical > label,
.rt-field-wrapper .radio-group.vertical > label {
  display: block;
  margin-bottom: 5px;
}

.rt-field-wrapper .checkbox-group > label {
  margin-right: 15px;
}

.rt-field-wrapper .rt-select {
  min-width: 300px;
}

.rt-field-wrapper .select2-container {
  width: 100% !important;
}

.rt-field-wrapper .wp-picker-container .iris-picker {
  position: absolute;
  z-index: 999;
}

.rt-field-wrapper .wp-picker-container.wp-picker-active {
  width: 265px;
}

.rt-field-wrapper > .rt-field > .field-item > .wp-picker-container > a {
  margin: 0;
}

.rt-multiple-field-container {
  display: flex;
  flex-wrap: wrap;
}

.rt-multiple-field-container .rt-inner-field.rt-col-3 {
  flex: 33.33333333%;
}

/* .rt-multiple-field-container .rt-inner-field.rt-col-4 {
    flex: 25%;
} */
.rt-multiple-field-container .rt-inner-field.rt-col-4 {
  flex: 23%;
}

.rt-multiple-field-container .rt-inner-field.rt-col-3 {
  width: 33.33333333%;
}

.rt-multiple-field-container .rt-inner-field {
  padding: 0 5px;
  margin-bottom: 15px;
}

.rt-multiple-field-container .rt-inner-field label {
  display: block;
  margin-bottom: 5px;
}

.rt-inner-field-container .label {
  display: block;
  margin-bottom: 5px;
}

.rt-field-wrapper[style*="display: block"] {
  display: flex !important;
}

/* ============== Container END ================ */
/* ============== Pro Feature START ============== */
body .rt-admin-btn,
body .rt-admin-btn.button-primary {
  text-align: center;
  display: inline-block;
  font-size: 15px;
  font-weight: 400;
  color: #5d3dfd;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 4px;
  position: relative;
  z-index: 2;
  line-height: 1.4;
  transition: all 0.3s ease-in-out;
  height: auto;
  border: 2px solid #5d3dfd;
}

body .rt-admin-btn.button-primary,
body .rt-admin-btn:hover {
  background-color: #4e35cc;
  color: #ffffff;
  text-decoration: none;
}

.rt-document-box.rt-update-pro-btn-wrap {
  padding: 0;
}

.rt-update-pro-btn-wrap {
  margin-bottom: 30px;
}

.rt-update-pro-btn-wrap .rt-update-pro-btn {
  text-align: center;
  background-color: #5d3dfd;
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  padding: 20px 30px;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

.rt-document-box {
  background-color: #ffffff;
  box-shadow: 0 1px 18px 0 rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  padding: 30px 20px;
  display: flex;
}

.rt-document-box ol {
  margin-left: 1em;
}

.rt-document-box + .rt-document-box {
  margin-top: 30px;
}

.rt-document-box .rt-box-icon {
  height: 30px;
  width: 30px;
  background-color: #ecf1ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  margin-right: 10px;
}

.rt-document-box .rt-box-icon i {
  font-size: 20px;
  color: #5d3dfd;
}

.rt-document-box .rt-box-content {
  flex: 1;
}

.rt-document-box .rt-box-content .rt-box-title {
  margin: 0 0 12px 0;
  font-size: 20px;
  color: #000000;
  font-weight: 600;
}

.rt-document-box .rt-box-content p {
  font-size: 14px;
  color: #646464;
  margin: 0 0 25px 0;
}

.rt-update-pro-btn-wrap .rt-update-pro-btn:hover {
  background-color: #4e35cc;
  text-decoration: none;
  color: #ffffff;
}

.rt-pro-feature-content .rt-update-pro-btn {
  display: block;
  width: 100%;
}

.rt-setting-title h3 {
  font-size: 18px;
  color: #000000;
  background-color: #ffffff;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 20px;
}

.rt-pro-feature-content {
  display: flex;
}

.rt-settings-container .rt-document-box + .rt-document-box {
  margin-top: 0;
  margin-left: 30px;
}

.rt-settings-container .rt-pro-feature-content .rt-update-pro-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rt-settings-container .rt-response {
  display: none;
  background: #fff;
  border: 1px solid #ccd0d4;
  border-left-width: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  margin: 10px 0;
  padding: 10px 12px;
}

/* ============== Pro Feature END ================ */
/************************** Others START **************************/
input.large-text.code.rt-code-sc {
  color: #fff;
  background: #5d3dfd;
  font-weight: bold;
}

.rt-response.success {
  border-left-color: #46b450;
}

.rt-response.error {
  border-left-color: #dc3232;
}

/*Product Listing*/
.rt-product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 400px));
  grid-column-gap: 25px;
  grid-row-gap: 25px;
  background: #fff;
  padding: 15px;
}

.rt-product-list .rt-product {
  border: 1px solid #dcdada;
}

.rt-product-list .rt-product .rt-media img {
  max-width: 100%;
}

.rt-product-list .rt-product .rt-product-info {
  padding: 15px;
}

.rt-product-list .rt-product .rt-product-info h3.rt-product-title {
  margin: 0 0 15px 0 !important;
}

.rt-product-list .rt-product .rt-product-info .rt-product-action {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 10px;
}

.rt-product-list .rt-product .rt-product-info .rt-product-action a {
  text-align: center;
}

/* Extra */
.rt-tpg-filter-holder > h3 {
  background: #5d3dfd;
  color: #fff;
  text-align: center;
  margin: 0;
  padding: 0.3em 0;
}

.tpg-hidden {
  display: none;
}

.rtbr-hidden {
  display: none;
}

.rt-loading {
  background: url("../images/loading.gif") no-repeat center center;
  padding: 11px;
}

/************************** Others END ****************************/
/* ------------------------------------------------------------------------- *
 *  Media Query
/* ------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .rt-update-pro-btn-wrap .rt-update-pro-btn {
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  .rt-update-pro-btn-wrap .rt-update-pro-btn {
    font-size: 18px;
  }
  .rt-pro-feature-content {
    flex-direction: column;
  }
  .rt-settings-container .rt-document-box + .rt-document-box {
    margin-top: 30px;
    margin-left: 0;
  }
}
@media (max-width: 479px) {
  .rt-update-pro-btn-wrap .rt-update-pro-btn {
    font-size: 16px;
  }
  .rt-field-wrapper {
    flex-direction: column;
    padding: 10px;
  }
  .rt-label {
    flex: 1;
    padding: 0;
    margin-bottom: 10px;
  }
  .rt-field {
    padding: 0;
  }
}
/* Custom Added */
#rtbr-preview-container {
  padding: 20px;
  padding-bottom: 0;
}

.rt-field .small-width.rt-form-control {
  width: 80px;
}

.rtbr-col-6 {
  width: 50%;
  float: left;
}

.rtbr-settings .image-preview-wrapper img {
  max-width: 150px;
  max-height: 85px;
}

.rt-response.loading {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 50px;
  height: 50px;
  margin: -76px 0 0 -76px;
  animation: spin 1s linear infinite;
  -webkit-animation: spin 1s linear infinite;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #5d3dfd;
  border-radius: 50%;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* The rtbr-switch - the box around the rtbr-switch-slider */
.rtbr-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

/* Hide default HTML checkbox */
.rtbr-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The rtbr-switch-slider */
.rtbr-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
}

.rtbr-switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
}

input:checked + .rtbr-switch-slider {
  background-color: #5d3dfd;
}

input:focus + .rtbr-switch-slider {
  box-shadow: 0 0 1px #5d3dfd;
}

input:checked + .rtbr-switch-slider:before {
  transform: translateX(26px);
}

/* Rounded rtbr-switch-sliders */
.rtbr-switch-slider.round {
  border-radius: 34px;
}

.rtbr-switch-slider.round:before {
  border-radius: 50%;
}

.rt-icon-spinner:after {
  font-family: dashicons, serif;
  display: inline-block;
  line-height: 1;
  font-weight: 400;
  font-style: normal;
  text-decoration: inherit;
  text-transform: none;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 20px;
  height: 20px;
  font-size: 20px;
  vertical-align: top;
  text-align: center;
  transition: color 0.1s ease-in;
  content: "\f113";
}

.animate-spin {
  -webkit-animation: rt-spin 2s infinite linear;
  animation: rt-spin 2s infinite linear;
  display: inline-block;
}

@-webkit-keyframes rt-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}
@keyframes rt-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}
.rt-licence-msg {
  line-height: 2.2;
  padding-left: 10px;
}
