.loading {
  background-color: #ffffff;
  background-image: url("https://i.gifer.com/YlWC.gif");
  background-size: 25px 25px;
  background-position: right center;
  background-repeat: no-repeat;
}

::-webkit-scrollbar {
  width: 5px;
  border-radius: 30px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 30px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 30px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* loader css */
/* Add these styles to your CSS file */
.loader {
  border: 4px solid #f3f3f3; 
  border-top: 4px solid #007dfc;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite; 
  margin: 0 auto; 
  margin-top: 20px; 
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#global-loader {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 999999999;
}

.loader-spinner {
    position: absolute;
    margin-top: 15rem;

    top: 20px;    
    left: 50%;
    transform: translateX(-50%);

    width: 60px;
    height: 60px;

    border: 4px solid #f3f3f3;
    border-top: 4px solid #007dfc;
    border-radius: 50%;

    animation: spinner 1s linear infinite;
}

@keyframes spinner {
    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

.card-body {
  text-align: center;
}

.panel .selected-skills i:nth-child(1) {
  color: #219653 !important;
}

.panel .selected-skills {
  background-color: #2196531a !important;
}

/* rating modal style  */

.noUi-value-sub,
.noUi-value-large {
  color: #333 !important;
  font-size: 14px !important;
  font-weight: 500;
}
.noUi-marker-horizontal.noUi-marker-sub,
.noUi-marker-horizontal.noUi-marker-large {
  display: none;
}

.noUi-value-horizontal {
  -webkit-transform: translate(-50%, 0%) !important;
  transform: translate(-50%, 0%) !important;
}

div#RateSkillModel .modal-dialog {
  max-width: 650px;
}

div#RateSkillModel .modal-footer {
  border-top: none;
}

.noUi-pips .noUi-value-large:nth-child(2) {
  transform: translate(0%, 0px) !important;
}

.noUi-pips .noUi-value-large:last-child {
  right: 0px !important;
  transform: translate(45%, 0px) !important;
  left: 0 !important;
}

.noUi-touch-area {
  width: 97% !important;
}

.noUi-base {
  width: 99% !important;
}

div.noUi-base > div.noUi-origin > div {
  box-shadow: none;
  border: #3b71ca;
  background: #3b71ca;
  color: #3b71ca;
}

.checkedstar {
  color: orange !important;
}

/* CSS for the radio buttons and slider */

.noUi-pips.noUi-pips-horizontal {
  position: static;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  height: auto;
}

body .slider-container {
  border-bottom: 1px solid #ccc !important;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.noUi-pips.noUi-pips-horizontal .noUi-value {
  position: static;
  white-space: normal;
  transform: translate(0px, 0px) !important;
  width: 20%;
}

.noUi-pips .noUi-value-large:nth-child(2) {
  text-align: left;
}

body .noUi-horizontal {
  height: auto!important;
  background: none; 
  border-radius: 0; 
  border: none; 
  box-shadow: none;
}

body .noUi-base {
  height: 10px;
    background: #FAFAFA;
    border-radius: 4px;
    border: 1px solid #D3D3D3;
    box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB;
}

.noUi-pips .noUi-value-large:nth-child(6) {
  padding-left: 15px;
}

.noUi-pips .noUi-value-large:last-child {
  
  text-align: right;
}

/* reset-modal-css  */
.modal-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.5
  ); 
  z-index: 111;
  align-items: center;
  justify-content: center;
}

.reset-title {
  display: flex;
  justify-content: space-between;
}

.reset-hr-line {
  margin: 0 0 1rem 0;
}

.reset-message {
  margin: 30px 0px 20px 0px;
}

.close-button {
  font-size: 25px;
  cursor: pointer;
}

.confirm-button {
  background-color: #007dfc;
  color: #fff;
  border: none;
  padding: 5px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

div#mySkillPluginSerachId {
  position: relative;
}
.view-skill-profile{
  width: 80% !important;
}
.profile-header{
  padding: 0px 10% !important;
}

@media (max-width: 960px) {

  .skills-profiler-heading{
    font-size: 1.05rem !important;
  }

  .skills-profiler-subheading,
  .select-categories-subheading{
    font-size: 0.85rem !important;
  }

  .select-categories-heading{
    font-size: 1rem !important;
  }

  #plugin-search-id{
    font-size: 0.85rem !important;
  }

  .wrapper-group-div .tabs button {
    padding: 10px !important;
    font-size: 0.813rem !important;
  }

  .element-div-profile-link{
    width: auto;
    height: auto;
    padding: 0.6rem 1rem !important;
    font-weight: 400 !important;
  }
  
  .skill-pill{
    font-size: 0.813rem !important;
  }
}

@media (max-width: 860px) {

  .skills-profiler-heading{
    font-size: 1rem !important;
  }

  .skills-profiler-subheading,
  .select-categories-subheading{
    font-size: 0.8rem !important;
  }

  .select-categories-heading{
    font-size: 0.95rem !important;  
  }

  #plugin-search-id{
    font-size: 0.68rem !important;
  }

  .wrapper-group-div .tabs button {
    padding: 0.78rem 0.5 !important;
    font-size: 0.73rem !important;
  }

  .element-div-profile-link{
    padding: 0.57rem 1rem !important;
    font-size: 0.85 !important;
  }
  
  .skill-pill{
    font-size: 0.76rem !important;
  }
}

@media (max-width: 800px) {

  .tabs {
    width: 70vw !important;
    display: flex !important;
    flex-wrap: nowrap !important;
  
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
  
  .tabs::-webkit-scrollbar {
    display: none !important; 
  }
  
  .tabs > * {
    flex: 0 0 auto !important;
  }

  .elementCountLabel{
    width: 90vw !important;
  }

  .wrapper-group-div .tabs button {
    padding: 0.78rem 0.6rem !important;
    font-size: 0.66rem !important;
  }

  .element-div-profile-link{
    padding: 0.6rem 0.9rem !important;
    font-size: 0.75rem !important;
  }

  .breadcrumb-path-text,
  .breadcrumb-path-labels{
    font-size: 0.8rem !important;
  }

  .add-skill-button{
    width: 5rem !important;
    height: 2rem !important;
    font-size: 0.65rem !important;
    padding: 0.4rem 0.7rem !important;
  }

  .back-btn{
    width: auto !important;
    height: auto !important;
    font-size: 0.6rem !important;
    padding: 0.3rem 0.7rem !important;
    gap: 4px !important;
  }

  .rating-label{
    font-size: 0.75rem !important;
    margin-left: -0.5rem !important;
  }

  .checkbox-wrapper{
    width: 60vw !important;
    display: flex !important;
    flex-direction: column !important;
    margin-left: -0.5rem !important;
  }

  .checkbox-label{
    font-size: 0.65rem !important;
  }

  .hide-div{
    display: none !important;
  }

  .mb-style,
  .category-heading-label{
    font-size: 0.7rem !important;
    width: 50% !important;
  }

  .skill-container-append-tabular{
    padding: 0.6rem !important;
  }

  .bg-{
    font-size: 0.6rem !important;
    line-height: normal !important;
    margin-left: 1rem !important;
  }

  .experience-year{
    font-size: 0.6rem !important;
    margin-left: 1rem !important;
  }

  .px-2{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.6rem !important;
    padding: 0 !important;
  }

  .pr-3{
    width: fit-content !important;
    font-size: 0.6rem !important;
  }

  .accordion-header{
    height: auto;
  }

  .save-profile-btn{
    width: auto !important;
    height: auto !important;
    font-size: 0.7rem !important;
    padding: 0.6rem 1.1rem !important;
  }

}


@media (max-width: 600px) {
  .accordion{
    width: 100% !important;
  }
  .view-skill-profile{
    width: 100% !important; 
  }
  .profile-header{
    padding: 0px !important;
  }
}

#dropdown-plugin-div::-webkit-scrollbar {
  width: 10px; 
}

#dropdown-plugin-div::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

#dropdown-plugin-div::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#dropdown-plugin-div::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 10px;
}

#subcategories::after {
  content: attr(title); 
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 0);
  background-color: #024FAB; 
  color: white;
  padding: 5px 10px; 
  border-radius: 5px; 
  opacity: 0; 
  transition: opacity 0.3s; 
}

.btn.active {
  background-color: #EFF2F7;
  border-top: 5px solid #0050AF;
  color:#0050AF;
}

.tooltipskills {
  position: absolute;
  background-color: #635BFF;
  color: #fff;
  padding: 10px;
  display: flex;
  border-radius: 5px;
  font-size: 12px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 10;
}

.tooltipskills::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 15%;
  transform: translateY(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #635BFF transparent;
  z-index: -1;
}

.tooltipskills.show {
  visibility: visible;
  opacity: 1;
}

.button-container {
  position: relative;
  display: inline-block;
}

.button-container:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.truncate {
  display: inline-block;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.popover{
  padding: 0px !important;
  margin:0px !important;
  border-radius: 5px !important;
  background-color: #6d6d6d;
}
.popover-body{
  padding: 6px 8px !important;
  color: #fff;
}
.active-skill-button {
  background-color: #1abc9c !important;
  border: 1px solid #16a085 !important;
  color:#ffffff !important;
  font-weight: bold !important;
}

.highlighted-skill {
  background-color: #1abc9c !important;
  font-weight: bold !important;
}

.brightened {
  filter: brightness(0.7)!important;
}

.rated-skill {
  background-color: #E0DEFF !important;
  color: #4f4f4f !important;
}


button.responsive-button {
  width: 180px;
  height: 70px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  padding-left: 1.5rem;
  padding-right: 1rem;
  box-shadow: none;
  color: #1E1E1E;
  font: normal normal 600 16px/46px Segoe UI;
  letter-spacing: 0.5px;
}

button.responsive-icon-div {
  width: 40px;
  height: 40px;
  justify-content: center;
  border: none;
  border-radius: 6px;
}

img.responsive-icon-element {
  padding: 4px;
  height: 37px;
  width: 30px;
}

@media (max-width: 768px) {
  .skillgroupbutton{
    flex-direction: column;
  }
  .button-container.responsive-button-container {
    width: 100%;
    margin-left: 0px !important;
  }

  button.responsive-button {
    width: 160px !important;
    height: 70px !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    padding-left: 1rem !important;
    padding-right: 0.1rem !important; 
  }
}
.flashing-arrow {
  animation: flash 1s infinite;
  font-size: 30px;
  margin-right: 15px;
  color: #ff9800;
}

@keyframes flash {
    0%, 100% { opacity: 2; }
    50% { opacity: 0; }
}

.explanation-text {
    font-size: 16px;
}
.category-container{
  background: linear-gradient(300deg, rgb(255, 238, 243), #f0f8ff);
}
.dropdown-item:hover {
  background-color: #f0f8ff;
}

/* Default styles */
.profile-tab {
  padding:0px !important;
}

.flex-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-box {
  border-radius: 10px;
}

.accordion-button{
  padding: 14px !important;
}

/* Mobile view */
@media (max-width: 768px) {
  /* Search page mobile view */
  .card-body-search{
    padding: 10px !important;
    margin-top: 10px;
  }
  .skill-accordion{
    padding: 10px 10px !important;
    box-shadow: none !important;
  }
  .skill-child-accordion{
    padding: 10px 10px !important;
    box-shadow: none !important;
  }
  .softskillbutton{
    font-size: 12px !important;
    border: none !important;
  }
  .create-card{
    box-shadow: none !important;
  }
  .create-card-body{
    padding: 10px 10px !important;
  }
  .create-card-title{
    padding-top: 5px !important;
  }

  .my-skills-px-2{
    margin-left: -10rem !important;
  }

  .mobile-actions {
    display: block !important;
  }

  .actiondiv {
    display: none !important;
  }
 
  /* Profile page mobile view */
  .profile-tab{
    padding: 15px;
  }

  .custom-tab-content {
    padding: 0 !important;
  }

  .flex-container {
    display: block;
  }

  .custom-box {
    padding: 0;
  }
}

@media (max-width:500px) {
  .wrapper-group-div{
    flex-direction: column !important;
    gap: 1rem !important;
    height: auto !important;
  }

  .tabs{
    width: 90vw !important;
  }

  .bg-{
    width: 7rem !important;
  }

  .pr-3{
    width: fit-content !important;
    max-width: 5rem !important;
  }
}

@media (max-width: 400px) {
  #confirmPopup {
    width: 90% !important;
    left: 5% !important;
    right: 5% !important;
  }
}
.rating-details-container {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
}

.rating-box {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
}