@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

#wpcontent {
  font-family: "Poppins", sans-serif;
}

#wpfooter {
  position: relative;
}

.error-text {
  color: red;
  margin-bottom: 3px;
}

.text-black {
  color: black
}

.badge {
  display: inline-block;
  padding: .25em .4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25rem;
}

.badge-pill {
  padding-right: .6em;
  padding-left: .6em;
  border-radius: 10rem;
}

.badge-primary {
  color: #fff;
  background-color: #007bff;
}

.badge-success {
  color: #fff;
  background-color: #28a745;
}

.badge-dark {
  color: #fff;
  background-color: #343a40;
}

input#title {
  padding: 3px 8px;
  font-size: 1.7em;
  line-height: 100%;
  height: 1.7em;
  width: 100%;
  outline: 0;
  margin: 0 0 3px;
  background-color: #fff;
}
.shortcode {
  font-family: Courier;
  font-weight: bold;
  background: #f0f0f0;
  padding: 2px;
}

.fs-10 {
  font-size: 10px;
}


#addQuestion svg {
  transition: transform 0.5s cubic-bezier(0.17, 0.33, 0.26, 0.99);
}

#addQuestion:hover svg {
  transform: rotate(180deg);
}

#questionsCatalog {
  overflow-y: auto;
  padding-left: 0px;
  padding-top: 0px;
}

.nubcert-input-text {
  border: 1px solid #00000024 !important;
  background-color: #ffffff6e !important;
}

.nubcert-collapsed {
  width: auto !important;
  padding-right: 0px;
}

.form-control {
  height: calc(
    1.5em + 0.75rem + 2px
  ) !important; /*Wordpress input styles interfers with bootstrap styles*/
}
textarea.form-control {
  height: auto !important; /*Wordpress input styles interfers with bootstrap styles*/
}

a.disabled {
  pointer-events: none;
}

.sortable .drag-handler {
  cursor: grab;
}

.nubcert-w-0 {
  width: 0;
}

select.form-control {
  max-width: 100%;
}

div.nubcert-box {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin: auto;
  color: #3c3c3c;
  background: #fdfdfd;
}

div.nubcert-box > div.body,
div.nubcert-box > div.title {
  padding: 16px 22px;
}

div.nubcert-box .box-inner-borders {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 16px 24px;
}

div.nubcert-box .title-inner {
  text-align: center;
  padding: 12px;
}

div.nubcert-box > div.title {
  font-size: 20px;
  border-bottom: 1px solid #ccc;
}

div.nubcert-box > div.title svg {
  color: #3a75bc;
}

.form-group {
  position: relative;
}

.nubcert-form .form-group.focus-input label {
  position: absolute;
  top: 50%;
  left: 0px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 16px;
  color: #333;
  pointer-events: none;
  -webkit-transition: all 0.15s ease-out 0s;
  transition: all 0.15s ease-out 0s;
}

.nubcert-form .form-group.focus-input input {
  display: inline-block;
  padding: 5px 0;
  margin: 10px 5px;
  font-size: 14px;
  background: none;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #bbb;
  color: #333;
  box-shadow: none;
  outline: none;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}

.nubcert-form .form-group.focus-input input:focus + label,
.nubcert-form .form-group.focus-input input.has-value + label,
.nubcert-form .form-group.focus-input textarea:focus + label,
.nubcert-form .form-group.focus-input textarea.has-value + label {
  top: 5px;
  font-size: 14px;
  color: #3c3c3c;
}

.nubcert-form .form-group.focus-input textarea:focus + label,
.nubcert-form .form-group.focus-input textarea.has-value + label {
  top: 30px;
}
.nubcert-form .form-group.focus-input input:focus::-webkit-input-placeholder {
  color: transparent;
}

.nubcert-form span.select2-container {
  width: 100% !important;
}

.nubcert-box .inner-footer {
  padding: 24px;
}

.block-container {
  display: flex;
  justify-content: space-evenly;
  align-content: space-evenly;
  align-items: center;
}

.block-container > input {
  width: 19%;
}

#product-type .select2-container {
  width: 100% !important;
}

/*.nubcert-bg-primary {
    background-color: var(--s-nubcert-primary-color) !important;
}
.nubcert-text-primary {
    color:var(--s-nubcert-primary-text-color) !important;
}*/

.nubcert_table thead {
  color: #2f2f2f;
  background: #fff;
  border-bottom: 2px solid #d2d2d2
}

.nubcert_table {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}

.nubcert_table th {
  font-size: 18px;
  color: #646464;
  line-height: 1.2;
  font-weight: unset !important;
  padding: 18px;
  border-bottom: 1px solid #f2f2f2;
}

.nubcert_table td {
  font-size: 15px;
  color: #666;
  line-height: 1.2;
  font-weight: unset !important;
  padding: 18px;
  border-bottom: 1px solid #f2f2f2;
}

.box-shadow {
  box-shadow: 0px 0px 7px 2px rgba(0,0,0,0.2);
}

.d-none-i {
  display: none !important;
}

.lh-0 {
  line-height: 0;
}

.nubcert-form .form-table th {
  line-height: 0;
}

.nubcert_table.rounded {
  border: 1px solid;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
  border-color: #ccc;
  border-radius: 8px;
  border-collapse: initial;
}

#certificate-preview {
  background: #f0f0f0;
  position: relative;
}

#certificate-preview.landscape {
  padding-top: 70.7070%;
  width: 100%
}

#certificate-preview.portrait {
  padding-top: 141.43%;
  width: 100%
}

#certificate-preview > .block {
  position: absolute;
}

#certificate-legend ul> li> span {
  width: 24px;
  height: 24px;
  display: inline-block;
}

#certificates-fields-body td {
    padding: 5px !important;
}

#certificates-fields-body input {
  width: 100%;
}

.table_small th {
  font-size: 12px;
  padding: 6px;
}

#certificates-fields-body tr:nth-child(1) div.color, #certificate-preview > div.block:nth-child(1) {
  background:  #0d6efd ;
}

#certificates-fields-body tr:nth-child(2) div.color,#certificate-preview > div.block:nth-child(2) {
  background:  #dc3545 ;
}

#certificates-fields-body tr:nth-child(3) div.color,#certificate-preview > div.block:nth-child(3) {
  background:  #ffc107 ;
}

#certificates-fields-body tr:nth-child(4) div.color,#certificate-preview > div.block:nth-child(4) {
  background:  #198754 ;
}

#certificates-fields-body tr:nth-child(5) div.color,#certificate-preview > div.block:nth-child(5) {
  background:   #fd7e14;
}

#certificates-fields-body tr:nth-child(6) div.color,#certificate-preview > div.block:nth-child(6) {
  background:   #adb5bd  ;
}

div.color {
  width: 32px;
  height: 32px;
}

/*Select2 ReadOnly Start*/
select[readonly].select2-hidden-accessible + .select2-container {
  pointer-events: none;
  touch-action: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
  background: #eee;
  box-shadow: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow, select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
  display: none;
}

/*Select2 ReadOnly End*/

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

.bg-light {
  background-color: #f8f9fa !important;
}

.card {
  max-width: 100% !important;
  padding: 0px !important;
}

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

.card-header {
  margin-bottom: 0;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  background-color: #fff;
  color: #5a5a5a;
}

.card-body {
  box-shadow: unset !important;
}

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

.table .thead-light th {
  color: #495057;
  background-color: #e9ecef !important;
  border-color: #dee2e6 !important;
}

.table thead th {
  font-size: .65rem;
  padding-top: .75rem;
  padding-bottom: .75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid #e9ecef;
  border-bottom-color: rgb(233, 236, 239);
}

.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #e9ecef;
}

.table td, .table th {
  font-size: .8125rem;
}

.dropdown-menu .dropdown-item {
  font-size: .875rem;
  padding: .5rem 1rem;
}
.dropdown-item {
  font-weight: 400;
  display: block;
  clear: both;
  width: 100%;
  padding: .25rem 1.5rem;
  text-align: inherit;
  white-space: nowrap;
  color: #212529;
  border: 0;
  background-color: transparent;
}

.fs-12 {
  font-size: 12px
}

.bg-nubcert-blue {
  background: linear-gradient(90deg, rgba(9,66,121,1) 0%, rgba(0,189,255,1) 100%);
}

.bg-nubcert-blue-2 {
  background: linear-gradient(90deg, rgba(0,189,255,1) 0%, rgba(9,66,121,1) 100%);
}

.text-shadow {
  text-shadow: 4px 4px 9px rgba(150, 150, 150, 1);
}

.select-meta {
  max-width: 100px !important;
  font-size: 12px !important;
}

.dataTables_wrapper > .row:nth-child(1), .dataTables_wrapper > .row:nth-child(3) {
  padding: 10px 32px;
}

.card-header.backend {
  cursor: pointer;
}

.addresses-send {
  overflow-y: scroll;
  max-height: 320px;
}

p.nubcert-instructions {
  font-size: 12px;
  background: #fbfbfb;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px;
}

.nubcert-question-move {
  position: absolute;
  left: 75px;
}

#moveQuestionModalContent li {
  cursor: pointer;
}

#moveQuestionModalContent {
  height: 300px;
  overflow-y: scroll;
}

td.nubcert-question-group-content {
  display: flex;
  gap: 6px;
  padding: 0 4px;
}

#nubcert-question-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}