.custom-loading {
  border: 3px solid rgba(38, 56, 113, 0.1); /* Light grey */
  border-top: 3px solid #263871; /* Blue */
  border-bottom: 3px solid #263871;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: load 1s linear infinite;
}
@keyframes load {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.read-only{
  background-color: #FFFFFF;
  cursor: pointer;
}


/* limit number of lines */
.limited-text-4 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* number of lines to show */
  -webkit-box-orient: vertical;
}
.limited-text-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* number of lines to show */
  -webkit-box-orient: vertical;
}
.limited-text-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* number of lines to show */
  -webkit-box-orient: vertical;
}
.limited-text-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* number of lines to show */
  -webkit-box-orient: vertical;
}


/* profile image */
.profile-pic-wrapper {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.pic-holder {
  text-align: center;
  position: relative;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.pic-holder .pic {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.pic-holder .upload-file-block,
.pic-holder .upload-loader {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(90, 92, 105, 0.7);
  color: #f8f9fc;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.pic-holder .upload-file-block {
  cursor: pointer;
}
.pic-holder:hover .upload-file-block,
.uploadProfileInput:focus ~ .upload-file-block {
  opacity: 1;
}
.pic-holder.uploadInProgress .upload-file-block {
  display: none;
}
.pic-holder.uploadInProgress .upload-loader {
  opacity: 1;
}


/* Snackbar css */
.snackbar {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  font-size: 14px;
  transform: translateX(-50%);
}
.snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}
@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}
@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}
@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

/*============================================*/
/*CSS OVERWRITES */
/*============================================*/
.swal2-container {
  z-index: 10000 !important;
}
.fancybox__container {
  z-index: 10000 !important;
}
.jsPanel {
  z-index: 10000 !important;
}

/* CSS for custom controls */
.custom-control-icon.custom-smallify::before{
  /*content: "\025B4";*/
  content: url(../images/icons/chevron-up.svg);
}
.custom-control-icon.custom-minimize::before {content: url(../images/icons/minus.svg); }
.custom-control-icon.custom-normalize::before{ content: url(../images/icons/chevron-down.svg); }
.custom-control-icon.custom-maximize::before{ content: url(../images/icons/minus.svg); }
.custom-control-icon.custom-close::before{content: url(../images/icons/x.svg); }


.oyoplayer {
  box-sizing                  : border-box;
  width                       : 500px;
  min-width                   : 272px;
  max-width                   : 500px;
  border-radius               : unset !important;
  box-shadow                  : unset !important;
  background-color            : #000000;
  padding                     : unset !important;
  margin-bottom               : unset !important;
  /*font-family                 : 'Inter', 'Roboto', Arial, Verdana, Helvetica, sans-serif;*/
  font-size                   : 10pt;
  user-select                 : none;
  overflow                    : hidden;
}

.air-datepicker {
  z-index: 10000 !important;
}

.bootstrap-tagsinput {
  width: 100% !important;
  border: 1px solid #d3dfea;
  padding: 0.375rem 0.75rem;
}

.bootstrap-tagsinput .tag {
  margin-right: 2px;
   color: unset !important;
}



/*Risk and opportunity register background*/
.metric-bordered {
  border: 1px solid black;
  min-height: 40px;
  min-width:65px;
}


.lala-arrow-right {
  transform: rotate(-90deg);
}

/*Risk significance score tr input fields border removal*/
.no-border input[type="text"],
.no-border textarea {
  border: 0;
}

/*probability accordion*/
.prop_accordion-content {
  display: none;
}

.blink {
  animation: blink 10s linear infinite;
}

@keyframes blink {
  50% {
    opacity: 0.5;
  }
}

/* leaflet styles */
 #map {
   width: 100%;
   height: 100vh; }

#map .leaflet-div-icon {
  width: 0;
  height: 0;
  border: 0;
  padding: 0;
}

#map .leaflet-div-icon b {
  display:inline-block;
  padding: 3px;
  border: 1px solid #666;
  border-radius: 3px;
  background:#fff;
  transform:translate(-50%, -50%);
}



/*Styling for select2*/
.select2-container {
  width: 100% !important;
  height: auto !important;
  padding: 0;
}

/*.select2-selection {
  height: 34px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-image: none;
  -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
  transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
  -o-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
}

.select2-selection:focus {
  border-color: #80bdff;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(128,189,255,.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(128,189,255,.6);
}*/


/* removes delete button from first repeater element */
/* [data-repeater-item]:first-child [data-repeater-delete] { display: none; } */

