button,
select {
  font-size: 14px;
}

select:hover {
  color: inherit !important;
}

.button-primary {
  padding: 1px 10px !important;
  background: #42b1dd !important;
  line-height: 2 !important;
  border: 1px solid #0071a1 !important;
  font-weight: 600;
}

.helpContainer li {
  display: list-item;
  text-align: -webkit-match-parent;
}
.helpContainer ul ul {
  list-style-type: circle;
  padding-top: 8px;
  padding-bottom: 8px;
}
.helpContainer ul {
  list-style-type: disc;
  padding-inline-start: 40px;
}

/* slider start */

/* The switch - the box around the slider */

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* slider end */

#customuserguide_selectDomFrame,
#customuserguide_selectPageFrame {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  z-index: 9999;
}

#customuserguide_selectDomPanel {
  position: fixed;
  top: 45%;
  right: 20px;
  z-index: 1000000;
  padding: 0 18px;
  text-align: center;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  background-color: white;
  box-shadow: 0px 0px 2px 3px #42b1dd;
  color: black;
  max-width: 300px;
  box-sizing: border-box;
}

#customuserguide_selectDomPanel a.button-primary,
#customuserguide_selectDomPanel a.button-secondary {
  margin-left: 5px;
  margin-right: 5px;
}

.field-error {
  border-color: red !important;
}

@media (max-width: 380px) {
  #customuserguide_selectDomPanel {
    width: 100%;
    right: 0px;
  }
}

.customuserguide-spinner {
  display: none;
  width: 10px;
  height: 10px;
  vertical-align: text-bottom;
  border: 0.22em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  -webkit-animation: lds-ring 1s cubic-bezier(0.5, 0.5, 0.5, 0.5) infinite;
  animation: lds-ring 1s cubic-bezier(0.5, 0.5, 0.5, 0.5) infinite;
  /* transform: rotate(0deg); */
  transform: rotate(360deg);
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.display-block {
  display: block;
}

/* custom tooltip */

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  min-width: 140px;
  width: auto;
  height: auto;
  font-weight: normal;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  word-wrap: break-word;
  white-space: normal;
  padding: 8px 5px;
  position: absolute;
  z-index: 100000;
  bottom: 140%;
  left: -2.5px;
  margin-left: 0;
  opacity: 0;
  transition: opacity 0.3s;
  /* font-family: "proxima-nova", sans-serif; */
  font-size: 14px;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 10px;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

@media only screen and (max-width: 500px) {
  .tooltip .tooltiptext::after {
    left: 41.1%;
  }
  .tooltip .tooltiptext {
    left: -107px;
    margin-left: 0;
  }
}

.tooltip:hover .tooltiptext,
.tooltip:hover .righttooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltip .righttooltiptext {
  visibility: hidden;
  min-width: 140px;
  width: auto;
  height: auto;
  font-weight: normal;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  word-wrap: break-word;
  white-space: normal;
  padding: 8px 5px;
  position: absolute;
  z-index: 100000;
  bottom: 140%;
  left: -128px;
  margin-left: 0;
  opacity: 0;
  transition: opacity 0.3s;
  /* font-family: "proxima-nova", sans-serif; */
  font-size: 14px;
}

.tooltip .righttooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 8px;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* bootstrap */

.toast {
  -ms-flex-preferred-size: 350px;
  flex-basis: 350px;
  max-width: 350px;
  font-size: 0.875rem;
  background-color: rgba(255, 255, 255, 0.85);
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  opacity: 0;
  border-radius: 0.25rem;
}

.toast:not(:last-child) {
  margin-bottom: 0.75rem;
}

.toast.showing {
  opacity: 1;
}

.toast.show {
  display: block;
  opacity: 1;
}

.toast.hide {
  display: none;
}

.toast-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding: 0.25rem 0.75rem;
  color: #6c757d;
  background-color: rgba(255, 255, 255, 0.85);
  background-clip: padding-box;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}

.toast-body {
  padding: 0.75rem;
}

.card-header:first-child {
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card {
  margin: 0;
  padding: 0;
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

.accordion {
  overflow-anchor: none;
}

.accordion > .card {
  overflow: hidden;
}

.accordion > .card:not(:last-of-type) {
  border-bottom: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.accordion > .card:not(:first-of-type) {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.accordion > .card > .card-header {
  border-radius: 0;
  margin-bottom: -1px;
}

.collapse:not(.show) {
  display: none;
}

.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .collapsing {
    transition: none;
  }
}

.tab-content > .tab-pane {
  display: none;
}

.tab-content > .active {
  display: block;
}

.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

.fade.show {
  opacity: 1;
}

.nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  margin-left: 0;
  list-style: none;
}

.nav-link.active {
  font-weight: bold;
}

.nav-tabs {
  border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-item {
  margin-bottom: -1px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: #495057;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
}

.nav-tabs .nav-link {
  border: 1px solid transparent;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
}

.nav-link:focus {
  box-shadow: none;
}

.table,
.nested-table {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  background-color: white;
  border-collapse: collapse;
}

.table {
  margin-bottom: 20px;
}

.nested-table {
  margin-bottom: 0;
}

.table input[type="text"],
.table select {
  max-width: 130px;
}

.title-paragraph {
  font-weight: bold;
  margin-top: 0;
}

.table td,
.table th {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
  text-align: left;
}

.nested-table td,
.nested-table th {
  padding: 0.75rem 0.75rem 0.2rem 0;
  vertical-align: middle;
  border-top: none;
  text-align: left;
}

/* .table > thead > tr > th, .table > thead > tr > td, .table > tbody > tr > th, .table > tbody > tr > td, .table > tfoot > tr > th, .table > tfoot > tr > td {
    padding: 8px;
    line-height: 1.42857;
    vertical-align: top;
    border-top: 1px solid #ddd;
} */

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

/* New Modern Admin UI Styles */
body {
  background-color: #f0f2f5;
  color: #1d2327;
}

#adminmenu {
  background-color: #23282d;
}

#adminmenu a {
  color: #a7aaad;
  transition: all 0.2s ease-in-out;
}

#adminmenu a:hover,
#adminmenu li.menu-top:hover {
  background-color: #32373c;
  color: #fff;
}

#adminmenu .wp-has-current-submenu .wp-submenu {
  background-color: #32373c;
}

/* Buttons */
.wp-core-ui .button-primary {
  background-color: #0073aa;
  border-color: #0073aa;
  color: #fff;
  box-shadow: none;
  transition: all 0.2s ease-in-out;
}

.wp-core-ui .button-primary:hover,
.wp-core-ui .button-primary:focus {
  background-color: #005177;
  border-color: #005177;
}

/* Form fields */
input[type="text"],
input[type="password"],
input[type="checkbox"],
input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="search"],
input[type="radio"],
input[type="tel"],
input[type="time"],
input[type="url"],
input[type="week"],
select,
textarea {
  border: 1px solid #ccd0d4;
  border-radius: 4px;
  box-shadow: none;
  transition: all 0.2s ease-in-out;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
select:focus,
textarea:focus {
  border-color: #0073aa;
  box-shadow: 0 0 0 1px #0073aa;
}

/* Tables */
.wp-list-table {
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wp-list-table thead th {
  background-color: #fff;
  border-bottom: 2px solid #0073aa;
}

.wp-list-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

/* Cards and metaboxes */
.postbox {
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.postbox .hndle {
  border-bottom: 1px solid #e2e4e7;
  background-color: #fff;
}

/* Notifications */
.notice {
  border-left: 4px solid #00a0d2;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.notice-success {
  border-left-color: #46b450;
}

.notice-warning {
  border-left-color: #ffb900;
}

.notice-error {
  border-left-color: #dc3232;
}

/* Dashboard widgets */
#dashboard-widgets .postbox {
  background-color: #fff;
}

/* Admin bar */
#wpadminbar {
  background-color: #23282d;
}

#wpadminbar .ab-item {
  color: #a7aaad;
}

#wpadminbar .ab-item:hover {
  color: #fff;
  background-color: #32373c;
}
