/* body {
  display: flex;
} */

.wrapper {
  display: flex;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -ms-flexbox;
  display: -o-flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-grow: 1;
}

#footer {
  margin-top: auto;
}

.login-area {
  margin-top: auto;
  margin-bottom: auto;
}

.error {
  margin-top: .25rem;
  font-size: 12px;
  color: #dc3545;
}

h2 img {
  display: block;
  max-width: 50%;
  height: auto;
}

.certification_section {
  margin-top: 12px;
  margin-bottom: 20px;
}

a.disabled {
  pointer-events: none;
  cursor: default;
}

div.progress-bar {
  background-color: green;
}

.active .wrong {
  border-color: #e74c3c !important;
}

.active .correct {
  border-color: #38AC5B !important;
}

figure.img-wrong {
  outline: 6px solid #FFA9A9 !important;
  outline-offset: -5px !important;
}

figire.img-correct {
  outline: 6px solid #AFE57B !important;
  outline-offset: -5px !important;
}

input[type=radio].wrong:checked+label {
  background-color: white;;
  border: 1px solid #e74c3c;
}

input[type=radio].wrong:checked+label:after {
  content: url(//assets.bettyblocks.com/b74746a1a4bb4687940be6833aee5f59_assets/files/checkcross.svg?_=2479f2e1e46d76cdc3c5ef0019bc9c95);
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #e74c3c;
}

.questions .question-level {
  color: #999;
  margin-top: 12px;
  margin-bottom: -20px;
}

.questions h2 {
  font-weight: normal;
  font-size: 24px;
  line-height: 36px;
  margin-bottom: 20px;
}

.try-test {
  margin-top: 20px;
  font-size: 26px;
  display: block;
  margin-bottom: 10px;
}

.test-qres {
  color: #999;
  display: block;
  margin-bottom: 20px;
}

input[type=radio].correct:checked+label {
  background-color: white;
  border: 1px solid #38AC5B;
}

input[type=radio].correct:checked+label:after {
  content: url(//assets.bettyblocks.com/b74746a1a4bb4687940be6833aee5f59_assets/files/checkmark.svg?_=567edac25af43974ab65a56011238fd9);
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #38AC5B;
}

.questions input[type=radio]:checked+label .q-circle:after {
  content: "";
  background-color: #00ADC3;
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 100%;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin: 0 auto;
}
.questions input[type=radio].correct:checked+label .q-circle:after{
  background-color: #38AC5B;
}
.questions input[type=radio].wrong:checked+label .q-circle:after{
  background-color: #e74c3c;
}

.questions-overview {
  border: 1px solid #ccc;
  background-color: #f0f0f0;
}

.answer_label {
  cursor: pointer;
  width: 100%;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 12px 16px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.q-circle {
  background-color: #fff;
  width: 14px;
  height: 14px;
  border-radius: 100%;
  border: 1px solid #aaa;
  display: inline-block;
  margin-right: 15px;
  box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, 0.1);
  position: relative;
}

.q-question {
  width: calc(100% - 55px);
  line-height: 150%;
  margin: 0;
}

#timer {
  display: inline-block;
  font-size: 12px;
  line-height: 18px;
  vertical-align: top;
  float: right;
}

#sector-contact .select2.select2-container.select2-container--default .select2-selection--single .select2-selection__rendered {
  border: none;
  font-weight: 400;
  color: #562079;
}

#sector-contact .select2-dropdown {
  border: none;
}

#sector-contact label.error {
  margin-top: -8px;
  margin-bottom: 10px;
  display: block;
  font-size: 12px;
  color: #dc3545;
}

//Video
.video-wrapper {
  position: relative;
  //  overflow: hidden;
  //  max-width: 480px;
}

video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

#video_box {
  float: left;
}

#video_overlays {
  position: absolute;
  float: left;
  width: 640px;
  min-height: 175px;
  background-color: transparent;
  z-index: 2;
}

div.video-controls {
  /*  position: relative;*/
  padding: 7px;
  background: rgb(0, 0, 0);
  margin-top: -1px;
  text-align: center;
}

div.video-controls-example-exam {
  /*  position: relative;*/
  background: rgb(0, 0, 0);
}

/*.video-wrapper:focus > video + .video-controls,
.video-wrapper:hover > video + .video-controls {
  bottom: 12px;
  z-index: 2;
}*/

.example-exam {
  margin-left: 0.4em;
}

.btn-video {
  /*padding: 5px 0;*/
  width: 31px;
  font-size: 18px;
  text-align: center;
  color: #fff;
  background-color: rgb(0, 0, 0);
  border: 0;
  cursor: pointer;
  /*transition: opacity .175s ease-in;*/
}

.btn-video:focus {
  /*  outline: 0;*/
}

.btn-video:hover {
  opacity: .25;
}

button.btn.btn-lg.btn-primary.btn-exam-submit {
  margin-top: 25px;
}

a.btn.btn-lg.btn-primary.btn-exam-close {
  margin-top: 25px;
}

.hold {
  cursor: pointer;
}

figure.image-active {
  outline: 5px solid #AFE57B;
  outline-offset: -5px;
}

figure.image-wrong {
  outline: 5px solid #FFA9A9;
  outline-offset: -5px;
}

figure.image-correct {
  outline: 5px solid #AFE57B;
  outline-offset: -5px;
}

.custom-select.is-invalid,
.form-control.is-invalid,
.was-validated .custom-select:invalid,
.was-validated .form-control:invalid {
  border-color: #dc3545;
}

.custom-select.is-valid,
.form-control.is-valid,
.was-validated .custom-select:valid,
.was-validated .form-control:valid {
  border-color: #28a745;
}

.question-section .form-control.is-invalid {
  border: 1px solid #dc3545;
}

.question-section .form-control.is-valid {
  border: 1px solid #28a745;
}

.alert button.close {
  top: 0px;
  line-height: 25px;
}

.reporting {
  margin-top: 15px;
}

.overview-buttons>.btn {
  margin-top: 5px;
  margin-right: 2px;
}

div.company-details {
  padding: 0px 0 0px;
}

.custom-modal {
  background: rgba(33, 33, 33, 0.7);
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.custom-modal-container {
  background: #fff;
  max-width: 800px;
  width: calc(100% - 60px);
  box-shadow: 0 0 70px 20px rgba(0, 0, 0, 0.2);
  padding: 50px;
  position: relative;
  overflow-y: auto;
  max-height: 80vh;
}

.close-my-modal {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 20px;
  cursor: pointer;
  text-decoration: none;
}

.close-my-modal+h1 {
  margin-top: 0;
}

.modal-input {
  margin-bottom: 10px;
}

input.form-control.modal-input {
  background-color: #eff0eb;
}

div#myModal {
  text-align: left;
}

.form-control::-moz-placeholder {
  color: #999 !important;
}

.form-control:-ms-input-placeholder {
  color: #999 !important;
}

.form-control::-webkit-input-placeholder {
  color: #999 !important;
}

/* Datatables reporting */
#report_length {
  text-align: right;
  width: 100%;
  margin-bottom: 30px;
}

#report_info {
  float: left;
  padding-top: 0.755em;
}

.dataTables_length {
  float: right;
}

.dataTables_length select {
  background-color: white;
  border-radius: 0;
}


.dataTables_filter {  
  width: 50%;
}

div#report_filter{
  width: 25%
}

.dataTables_filter label {
  display: block;
}

.dataTables_filter input[type=search] {
  width: 100%;
  height: 50px;
  border-radius: 0;
  box-shadow: none !important;
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  padding: 5px 14px;
  background: #fff;
}

.dataTables_paginate {
  float: right;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  box-sizing: border-box;
  display: inline-block;
  min-width: 1.5em;
  padding: 0.5em 1em;
  margin-left: 2px;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  color: #333 !important;
  border: 1px solid transparent;
  border-radius: 2px;
}

ul.results-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}

ul.results-row li {
  justify-content: space-between;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.dt-buttons {
  float: right;
}

.dt-button {
  height: 50px;
  font-size: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.dt-button i {
  display: inline;
}

a.paginate_button.current {
  border: 1px solid #e2e2e2;
  background: #f7f7f7;
}

/* loader */
.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 32px;
  height: 32px;
}

.lds-ellipsis div {
  position: absolute;
  top: 18px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: -16px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: -16px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 6px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 29px;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(19px, 0);
  }
}

/* endloader */

/* candidates */
label {
  font-weight: normal;
}

.form-control {
  border: 2px solid #562079;
}

.input-group {
  width: 100%;
}

.input-group-btn:last-child>.btn {
  cursor: auto;
  z-index: 3;
  border: 2px solid #562079;
}

.search-form .btn {
  height: 50px;
  width: 50px;
}

.search-form .btn:hover,
.search-form .btn:focus,
.search-form .btn:active {
  background-color: #fff;
  color: #562079;
  outline: none !important;
  box-shadow: none;
}

.search-form .btn .fa {
  font-size: 2em;
}

/* .modal {
  text-align: left;
} */


#file_upload_label {
  margin: 0 0 30px 0;
}

.color-2 .question-section.type2 .form-control {
  color: #562079;
}

/* end candidates */

@media(min-width:992px) {
  .carousel-inner {
    max-width: calc(100vw - 340px);
  }
}

/* Fixes since 16-10-2018 */
.navbar-header .back-home {
  display: inline-block;
  padding-top: 5px
}

side-menu .view-all::before {
  display: none;
}
@media (max-width: 991px) {
  .ask-section {
    margin-bottom: 200px;
  }
}

.ask-section .lbl-ask:after {
  background: url('') no-repeat !important;
}

.table-responsive {
  background:
    radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)),
    radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)) 100% 0;
  background-color: white;
  background-repeat: no-repeat;
  background-size: 10px 100%;
  margin-bottom: 15px;
}

.table-responsive>.table {
  background:
    linear-gradient(to right, white 30%, rgba(255, 255, 255, 0)),
    linear-gradient(to left, white 30%, rgba(255, 255, 255, 0)) 100% 0;
  background-size: 50px 100%;
  background-repeat: no-repeat;
  max-width: none;
  margin-bottom: 0;
}

.reg-form select {
  margin-bottom: 10px;
}

.form-control[disabled],
.form-control[readonly] {
  background-color: #eff0eb;
  padding-left: 0;
}

div.disabled {
  pointer-events: none;
  cursor: default;
}

.btn-scroll i {
  color: #273777 !important;
}

.visual .bg-img {
  background-size: cover;
}
.video-wrapper.d-md-block .vimeo-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-wrapper.d-md-none .vimeo-video {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  /* video height / video width */
  padding-bottom: 56.2%;
  /* the above value * 0.5 */
  margin-top: -28.1%;
  height: 0;
  overflow: hidden;
}

.vimeo-video iframe,
.vimeo-video object,
.vimeo-video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
a.hold.disabled {
  opacity: 0.5
}
li.disabled {
    pointer-events: none;
    opacity: 0.6;
}
.center-flex {
  display: flex;
  justify-content: center
}


.exam-buttons {    
  padding-top: 7px; 
}


.exam-buttons .btn-success:hover,
.exam-buttons .btn-success:focus,
.exam-buttons .btn-success:active,
.exam-buttons .btn-success:active:focus,
.exam-buttons .btn-success:active:hover,
.exam-buttons .btn-success.disabled:focus, 
.exam-buttons .btn-success.disabled:hover,
.exam-buttons .btn-success.disabled.focus,
.exam-buttons .btn-success[disabled]:hover,
.exam-buttons .btn-success[disabled]:focus,
.exam-buttons .btn-success[disabled].focus {
  background-color: transparent;
  color: inherit;
  border-color: inherit;
}

.fb-alert {
  padding: 15px;
  margin-bottom: 20px;
}
.fb-correct {
  border: 1px solid #38AC5B !important;
  background-color: white;
}

.fb-incorrect {
  border: 1px solid #BC2222 !important;
  background-color: white;
}


.sticky-fixed {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 12px 30px;
  display: flex;
}

.sticky-flex {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  flex-direction: column;
}

.info-box {
  display: flex;
  margin-left: auto;
}

#online-status {
  font-size: 18px;
  margin: .5rem .6rem 1rem 0;
}
#online-status.success {
  color: #1abc9c;
}
#online-status.failed {
  color: #e74c3c;
}

// Disable animation if transitions are disabled
@if $enable-transitions {
  @keyframes progress-bar-stripes {
    from { background-position: $progress-height 0; }
    to { background-position: 0 0; }
  }
}

.progress {
  display: flex;
  height: $progress-height;
  overflow: hidden; // force rounded corners by cropping it
  line-height: 0;
  @include font-size($progress-font-size);
  background-color: $progress-bg;
  @include border-radius($progress-border-radius);
  @include box-shadow($progress-box-shadow);
}

.progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: $progress-bar-color;
  text-align: center;
  white-space: nowrap;
  background-color: $progress-bar-bg;
  @include transition($progress-bar-transition);
}

.progress-bar-striped {
  @include gradient-striped();
  background-size: $progress-height $progress-height;
}

@if $enable-transitions {
  .progress-bar-animated {
    animation: $progress-bar-animation-timing progress-bar-stripes;

    @if $enable-prefers-reduced-motion-media-query {
      @media (prefers-reduced-motion: reduce) {
        animation: none;
      }
    }
  }
}

#online-status{
  display: none;
}

a {
  color: inherit;
}

#tbl-certificates,
#tbl-invitationsent,
#tbl-invitationaccepted,
#tbl-exams,
#tbl-no-graduations{
  width: 100% !important;
}

/* faq button color */

.faq-box .btn span.caret:before,
.faq-box .btn span.caret:after{
  border-color: #0068b3;
}

.arrow {
    cursor: pointer;
}

.search-bar {
    width: 100%;
}

.custom-button {
    display: inline-block;
    padding: 5px 10px; /* Adjust padding as needed */
    border: 1px solid #2071B5; /* Border color */
    cursor: pointer; /* Cursor style on hover */
}

.custom-button:hover {
    background-color: #E8F0FE; /* Lighter background color on hover */
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #f0f8ff !important;
}




@keyframes gradientFlow {
    0% {
        background-position: 0% 50%; /* Start with left side bright */
    }
    50% {
        background-position: 100% 50%; /* Move to right side bright */
    }
    100% {
        background-position: 0% 50%; /* Move back to left side bright */
    }
}

.settings-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e6ea 100%);
    background-size: 200% 200%; /* Make the gradient larger for smoother transition */
    animation: gradientFlow 6s ease infinite; /* Apply the animation */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.settings-container h3 a {
    position: relative; /* Ensure the link is positioned */
    display: inline-flex; /* Flex for alignment */
/*     align-items: center; /* Center items vertically */ 
  cursor: pointer;
}

.settings-container h3 a i {
    margin-left: 5px; /* Space between text and arrow */
    transition: transform 0.3s ease; /* Smooth rotation */
}

/* Rotate arrow based on collapse state for main settings */
.settings-container > h3 > a.collapsed i {
    transform: rotate(0deg); /* Rotate right when collapsed */
}

.settings-container > h3 > a:not(.collapsed) i {
    transform: rotate(90deg); /* Point down when expanded */
}




.settings-section .form-group .form-control {
    background-color: #00000005 !important; /* Light grey background */
    border: 1px solid #ced4da !important; /* Light border */
    border-radius: 0.25rem !important; /* Rounded corners */
}



.settings-section {
    border: 1px solid #ddd; /* Light border for each section */
    border-radius: 5px; /* Rounded corners for sections */
    padding: 15px; /* Padding for content */
    margin-bottom: 15px; /* Spacing between sections */
/*     text-align: center; /* Center text */ 
    transition: box-shadow 0.3s ease, background-color 0.3s ease; /* Transition only these properties */
}

.settings-section:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
    transform: translateY(-2px); /* Slight lift effect */
    background-color: #e9ecef; /* Slightly darker background on hover */
    /* No changes to padding here */
}

.settings-section h3 {
  	 
    margin-bottom: 10px; /* Space below the heading */
/*   	text-align: center; /* Center text */ 

}

.settings-section p {
/*     text-align: center; /* Center paragraphs */ 
}

.settings-section h3 a {
    position: relative; /* Ensure the link is positioned */
    display: inline-flex; /* Flex for alignment */
/*     align-items: center; /* Center items vertically */ 
    cursor: pointer;
    text-decoration: none; /* Remove the underline by default */
}

.settings-section h3 a:hover {
    text-decoration: underline; /* Underline on hover */
}

.settings-section h3 a i {
    margin-left: 10px; /* Space between text and arrow */
    transition: transform 0.3s ease; /* Smooth scaling */
}
.settings-section h3 a:hover i {
    transform: scale(1.2); /* Slightly enlarge the icon */
}

/* Rotate arrow based on collapse state for individual sections */
.settings-section h3 a.collapsed i {
    transform: rotate(0deg); /* Rotate right when collapsed */
}

.settings-section h3 a:not(.collapsed) i {
    transform: rotate(90deg); /* Point down when expanded */
}

.form-check-input {
    margin-top: 0.3rem; /* Adjust vertical alignment for checkboxes */
}

.checkbox-container {
    display: flex; /* Flexbox for better alignment of checkboxes */
    flex-direction: row; /* Horizontal arrangement */
/*     align-items: center; /* Center items vertically */ 
}

.text-danger {
    font-weight: bold; /* Emphasize error messages */
}

[data-toggle="popover"] {
    cursor: pointer; /* Indicate that popovers are clickable */

}

[data-toggle="popover"]:hover {
    text-decoration: underline; /* Underline on hover for better UX */
}

.tooltip-wrapper {
  display: inline-flex; /* Makes sure it stays inline while allowing flex behaviors */
  width: 100%; /* Ensures it expands properly */
  align-items: center; /* Centers the button if needed */
  justify-content: center;
}

.tooltip-wrapper .share-btn {
  width: 100%; /* Ensures button fills the wrapper */
  pointer-events: none; /* Disabled button should not block interactions */
}


