/* ----------- Font awesome cdn ----------- */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css");

/* -- Poppins Font -- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");
/* -- Montserrat Font -- */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap");
/* -- Open Sans Font -- */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap");
/* -- Raleway Font -- */
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style-type: none;
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

body {
  background-color: #f5f5f5;
  margin: 0em;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 16px;
}

html {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */

  height: 100%;
}

#wrapper {
  display: flex;
  flex-grow: 1;
  width: 100%;
  height: 100%;
}

#test-container {
  width: 400px;
  height: 400px;
  margin-left: 100px;
}

.renderer-menu-container-small-window-case {
  bottom: 0%;
  flex-wrap: wrap-reverse;
  width: 100%;
  border-radius: 0px;
}

.renderer-menu-container-small-window-case .renderer-menu-option {
  min-width: 60px;
}

.renderer-menu-container-small-window-case
  .renderer-menu-option
  .renderer-divider {
  display: none;
}

/* ================= Styling ================= */
* {
  font-family: "Poppins", "sans-serif";
}

.bimCT-file-upload-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#bimCT-file-upload-container {
  position: relative;
  width: 50%;
  background-color: #fff;
  border: 1px dashed #cdcdcd;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 16px;
}

#bimCT-file-upload-container > img {
  margin-top: 1.8rem;
}

#bimCT-file-upload-container > h3 {
  margin-top: 25px;
  font-weight: 400;
  font-size: 1.125rem;
}

.bimCT-file-upload-selectors {
  display: flex;
  width: 340px;
  justify-content: space-between;
  margin-top: 20px;
}

.bimCT-file-upload-selectors div {
  border: 2px solid #b42d41;
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  cursor: pointer;
}

.bimCT-file-upload-selectors div span {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  margin-left: 8px;
  letter-spacing: 0.5px;
}

span.bimCT-file-upload-supports-button {
  margin-top: 3.7rem;
  color: #1295d4;
  font-size: 1.125rem;
  margin-bottom: 15px;
  cursor: pointer;
}

.bimCT-file-upload-drop-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    #fff 0%,
    #fff 5%,
    #f5f5f5 4%,
    #f5f5f5 12%
  );
  display: none;
  justify-content: center;
  align-items: center;
}

#bimCT-file-upload-container.drop_opened .bimCT-file-upload-drop-background {
  display: flex;
}

.bimCT-file-upload-drop-background h3 {
  color: #9e9e9e;
  font-size: 50px;
  font-weight: normal;
}

.bimCT-file-upload-drop-background * {
  pointer-events: none;
}

#bimCT-file-upload-files-checker-container {
  width: 440px;
  margin-top: 50px;
  display: none;
}

#bimCT-file-upload-files-checker-container.opened {
  display: block;
}

#bimCT-file-upload-files-checker-container h3 {
  font-size: 1.125rem;
  font-weight: 400;
}

.bimCT-file-upload-checker {
  width: 100%;
  max-height: 211px;
  margin-top: 40px;
  margin-bottom: 60px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.bimCT-file-upload-checker::-webkit-scrollbar {
  /* Setting just the width of the scrollbar */
  width: 5px;
}

.bimCT-file-upload-checker::-webkit-scrollbar-track {
  /* Setting the background of the scrollbar */
  background-color: #f5f5f5;
}

.bimCT-file-upload-checker::-webkit-scrollbar-thumb {
  background-color: #cdcdcd;
}

.bimCT-file-upload-file-check {
  display: flex;
  border-bottom: 1px solid #cdcdcd;
  position: relative;
  padding-bottom: 0.313rem;
  margin-top: 0.8rem;
  margin-right: 30px;
}

.bimCT-file-upload-file-check:first-child {
  margin-top: 0px;
}

.bimCT-file-upload-file-check span {
  margin-left: 12px;
  font-size: 0.9rem;
  margin-top: 0.125rem;
}

.bimCT-file-upload-file-check img {
  margin-top: 2px;
}

.bimCT-file-upload-file-cancel-button {
  position: absolute;
  right: 0%;
  bottom: 6px;
  cursor: pointer;
}

.bimCT-file-upload-upload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

.bimCT-file-upload-upload-button {
  width: 100px;
  height: 38px;
  background-color: #b42d41;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.bimCT-file-upload-upload-button span {
  color: #fff;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.bimCT-file-upload-upload-container h3 {
  margin-top: 20px;
  font-weight: 400;
  font-size: 20px;
}

/* ========== Supported Formats styling ========== */
.bimCT-file-upload-supports-formats-container {
  position: absolute;
  background-color: #fff;
  width: 450px;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
  display: none;
  z-index: 3;
}

.bimCT-file-upload-supports-formats-container.active {
  display: block;
}

.bimCT-file-upload-supports-formats-header {
  display: flex;
  align-items: center;
  height: 65px;
  justify-content: space-between;
  border-bottom: 5px solid #b42d41;
  padding: 0 15px;
}

.bimCT-file-upload-supports-formats-header h3 {
  font-size: 22px;
  font-weight: 400;
}

.bimCT-file-upload-supports-formats-body {
  padding: 30px 0px;
  padding-left: 30px;
}

.bimCT-file-upload-supports-formats-body h3 {
  font-size: 22px;
  font-weight: 400;
}

.bimCT-file-upload-formats-list {
  margin-top: 20px;
}

.bimCT-file-upload-formats-list li::before {
  content: "";
  color: #b42d41;
  position: absolute;
  width: 5px;
  left: 0px;
  top: 50%;
  transform: translate(0%, -50%);
  height: 5px;
  border-radius: 50%;
  background-color: #b42d41;
  margin-bottom: 3px;
}

.bimCT-file-upload-formats-list li {
  position: relative;
  padding-left: 18px;
}

.bimCT-file-upload-supports-formats-footer {
  border-top: 1px solid #cdcdcd;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 55px;
}

.bimCT-file-upload-supports-formats-footer p {
  font-size: 16px;
  color: #616261;
}

/* ============ Grey background color ============ */
#bimCT-file-upload-background-grey {
  width: 100%;
  height: 100%;
  background-color: rgba(21, 21, 21, 0.2);
  position: fixed;
  z-index: 2;
  display: none;
}

#bimCT-file-upload-background-grey.active {
  display: block;
}

#bimCT-file-upload-supports-formats-close-button {
  cursor: pointer;
}

/* ================ File Upload ================ */
.bimCT-file-upload-file-progress {
  width: 500px;
  background-color: #fff;
  position: absolute;
  padding: 60px 50px;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
  z-index: 3;
  display: none;
}

.bimCT-file-upload-file-progress.active {
  display: flex;
}

.bimCT-file-upload-uploading-upper-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
  width: 100%;
}

.bimCT-file-upload-uploading-upper-section h4 {
  font-size: 20px;
  font-weight: normal;
}

.bimCT-file-upload-uploading-description {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  width: 100%;
}

.bimCT-file-upload-uploading-line-grey {
  position: relative;
  width: 100%;
  height: 4px;
  background-color: #cdcdcd;
}

.bimCT-file-upload-uploading-line-grey .bimCT-file-upload-uploading-line-red {
  position: absolute;
  top: 50%;
  height: 6px;
  width: 100%;
  background-color: #b42d41;
  transform: translate(0%, -50%);
}

.bimCT-file-upload-uploading-description span {
  color: #616261;
  font-size: 16px;
  font-weight: normal;
}

.bimCT-file-upload-uploading-description span#bimCT-file-upload-percentage {
  font-weight: 500;
}

#bimCT-file-upload-uploading-close {
  cursor: pointer;
}

/* ========= Uploading container ========= */
.bimCT-file-upload-uploading-container {
  display: none;
}

.bimCT-file-upload-uploading-container.active {
  display: block;
}

/* ========= Process container ========= */
.bimCT-file-upload-process-container,
.bimCT-file-upload-processing-container {
  display: none;
}

.bimCT-file-upload-process-container.active,
.bimCT-file-upload-processing-container.active {
  display: flex;
}

.bimCT-file-upload-process-container,
.bimCT-file-upload-processing-container {
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.bimCT-file-upload-process-start-button {
  padding: 0 16px;
  height: 38px;
  background-color: #b42d41;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5vh;
  cursor: pointer;
}

.bimCT-file-upload-process-start-button span {
  color: #fff;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.bimCT-file-upload-process-container p,
.bimCT-file-upload-processing-container p {
  width: 100%;
  margin-top: 5vh;
  font-size: 16px;
  color: #616261;
}

/* ======= Processing circle animation ======= */
svg#bimCT-file-upload-processing-circle {
  position: relative;
  width: 130px;
  height: 130px;
  animation: rotate 3s linear infinite;
}

svg#bimCT-file-upload-processing-circle circle {
  width: 100%;
  height: 100%;
  fill: none;
  stroke-width: 5;
  stroke: #b42d414e;
  transform: translate(5px, 5px);
}

svg#bimCT-file-upload-processing-circle circle:last-child {
  stroke: #b42d41;
  stroke-dasharray: 280;
  stroke-dashoffset: 260;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.bimCT-file-upload-processing-container span {
  color: #151515;
  margin-top: 5vh;
  font-size: 20px;
}

/* ========== Done Container ========== */
.bimCT-file-upload-done-container {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.bimCT-file-upload-done-container.active {
  display: flex;
}

.bimCT-file-upload-done-container span {
  /* ======== Done span ======== */
  font-size: 20px;
  color: #151515;
  font-weight: 400;
}

.bimCT-file-upload-done-container img {
  margin-bottom: 4vh;
  margin-left: 25px;
}

.bimCT-file-upload-done-button {
  height: 38px;
  background-color: #b42d41;
  padding: 0 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5vh;
  cursor: pointer;
}

.bimCT-file-upload-done-button span {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 400;
  font-size: 14px;
}

#bimCT-file-upload-container > h3.bimCT-file-upload-title-mobile {
  display: none;
}

.bimCT-file-upload-import-options {
  width: 100%;
  margin-top: 25px;
}

.bimCT-file-upload-import-options > div span {
  text-transform: capitalize;
  color: #151515;
  font-size: 1rem;
}

.bimCT-file-upload-import-options>div span.info {
  position: relative;
}

.bimCT-file-upload-import-options>div span.info img {
  position: absolute;
  top: 50%;
  padding-left: 5px;
  transform: translate(0%, -50%);
  cursor: pointer;
}

.bimCT-file-upload-import-options #bimCT-import-options span {
    margin-left: 12px;
    margin-right: 4px;
}

.bimCT-file-upload-import-options > div:last-child {
  width: 100%;
  margin-top: 25px;
}

.bimCT-file-upload-import-options > div:last-child div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}


.bimCT-file-upload-import-options>div:last-child div:first-child {
  margin: 0px;
}

input.bimCT-checkbox {
  position: relative;
  width: 36px;
  height: 12px;
  -webkit-appearance: none;
  appearance: none;
  background-color: #c6c6c6;
  outline: none;
  border-radius: 20px;
  transition: background-color 0.2s;
  cursor: pointer;
  margin-bottom: 12px;
}

input.bimCT-checkbox:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  transform: translate(0%, -50%);
  left: 0;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0px 0px 4px rgb(0 0 0 / 25%);
  transition: left 0.1s ease;
}

input.bimCT-checkbox:checked {
  background-color: #b42d41;
}

input.bimCT-checkbox:checked:before {
  left: 45%;
}
 
img[src="assets/sorting_drop_down.png"] {
  transform: rotate(0deg);
  transition: transform 0.4s ease-in-out;
}

img[src="assets/sorting_drop_down.png"].active {
  transform: rotate(180deg);
}

#bimCT-import-options-menu {
  display: none;
  overflow: overlay;
}

#bimCT-import-options-menu.close {
  display: block;
  animation: dropdownMenuAnimationClose 0.4s ease-in-out;
  max-height: 0px;
}

#bimCT-import-options-menu.open {
  display: block;
  animation: dropdownMenuAnimationOpen 0.4s ease-in-out;
  max-height: 500px;
}

#bimCT-import-option-info-panel {
  width: 460px;
  background-color: #fff;
  position: absolute;
  display: none;
  left: 50%;
  transform: translate(-50%, 0%);
  z-index: 2;
  box-shadow: 0px 1px 4px rgb(0 0 0 / 25%);
  border-radius: 3px;
  border: 1px solid #3574a7;
  padding: 30px 25px;
}

#bimCT-import-option-info-panel span {
  color: #3574a7;
  font-size: 1.125rem;
  line-height: 50px;
  margin: 0px;
}

#bimCT-import-option-info-panel p {
  color:#151515;
  font-size: 0.938rem;
  font-weight: 400;
}

#bimCT-import-option-info-panel i {
  color: #616261;
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 22px;
  cursor: pointer;
}

#bimCT-import-option-info-panel.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ============ Removing the arrows of the number inputs */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input.bimCT-custom-number-input {
  font-size: 1rem;
  color: #151515;
  outline: none;
  text-align: center;
  border: 2px solid #cdcdcd;
  width: 46px;
  height: 24px;
}

#bimCT-import-option-info {
  cursor: pointer;
}

/* ======================= Custom checkbox (File Upload) */
.bimCT-file-upload-custom-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 10px;
  cursor: pointer;
}

.bimCT-file-upload-custom-checkbox input, .bimCT-file-upload-custom-checkbox div {
  width: 17px;
  height: 17px;
}

.bimCT-file-upload-custom-checkbox div {
  position: absolute;
  background-color: transparent;
  border: 2px solid #616261;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0px;
  left:0px;
}

.bimCT-file-upload-custom-checkbox div i {
  font-size: 13px;
  color: #fff;
  visibility: hidden;
}

.bimCT-file-upload-custom-checkbox input:checked ~ div {
  background: #b42d41;
  border: none;
}

.bimCT-file-upload-custom-checkbox input:checked ~ div i {
  visibility: visible;
} 

#bimCT-import-options {
  cursor: pointer;
  display: flex;
  align-items: center;
}

#bimCT-import-options-drop-down {
  display: flex;
  align-items: center;
}

.bimCT-file-upload-option-bar {
  margin-top: 25px;
  display: flex;
  align-items: center;
}

.bimCT-costum-bar {
  position: relative;
  min-width: 300px;
  height: 10px;
  background-color: #cdcdcd;
  border-radius: 5px;
  left: 2%;
}

.bimCT-costum-bar::before, .bimCT-costum-bar::after {
  position: absolute;
  font-size: 14px;
  text-transform: capitalize
}

.bimCT-costum-bar::before {
  content: "performance";
  left: -2%;
  top: -35px;
}

.bimCT-costum-bar::after {
  content: "quality";
  right: -2%;
  top: -35px;
}

.bimCT-costum-bar div {
  position: absolute;
  top: 50%;
  transform: translate(0%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid #b42d41;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.bimCT-costum-bar div span {
  color: #2a2a2a;
  font-size: 13px;
}

.bimCT-costum-bar div[data-percentage = "0"] {
  left: -2%;
}

.bimCT-costum-bar div[data-percentage = "25"] {
  left: 24%;
}

.bimCT-costum-bar div[data-percentage = "50"] {
  left: 49%;
}

.bimCT-costum-bar div[data-percentage = "75"] {
  left: 74%;
}

.bimCT-costum-bar div[data-percentage = "100"] {
  right: -2%;
}

.bimCT-costum-bar div[data-percentage].active {
  border-color: #cdcdcd;
  background-color: #b42d41;
}

.bimCT-costum-bar div[data-percentage].active span {
  color: #fff;
}

.bimCT-costum-bar .percentage {
  position: absolute;
  left:0px;
  height: 100%;
  width: 0%;
  background-color: #b42d41;
  border-radius: 0px;
  transition: width 0.3s ease;
}

@keyframes dropdownMenuAnimationClose {
  from {
    max-height: 500px;
  }

  to {
    max-height: 0px;
  }
}

@keyframes dropdownMenuAnimationOpen {
  from {
    max-height: 0px;
  }
  to {
    max-height: 500px;
  }
}

/* =========== Responsiveness =========== */
@media only screen and (max-width: 904px) {
  #bimCT-file-upload-container {
    width: 70%;
  }
}

@media only screen and (max-width: 633px) {
  #bimCT-file-upload-container {
    width: 90%;
  }

  #bimCT-file-upload-container > h3 {
    display: none;
  }

  #bimCT-file-upload-container > h3.bimCT-file-upload-title-mobile {
    display: block;
  }

  .bimCT-file-upload-selectors {
    margin-top: 30px;
  }

  .bimCT-file-upload-supports-formats-container {
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0%;
  }
  .bimCT-file-upload-supports-formats-body {
    padding-left: 15px;
  }
}

@media only screen and (max-width: 498px) {
  #bimCT-file-upload-container {
    width: 100%;
  }

  #bimCT-file-upload-container {
    height: 100%;
  }

  span.bimCT-file-upload-supports-button {
    margin-bottom: 0px;
  }

  #bimCT-file-upload-files-checker-container {
    width: 90%;
  }

  .bimCT-file-upload-checker {
    max-height: 111px;
  }

  .bimCT-file-upload-file-progress {
    width: 90%;
  }

  .bimCT-file-upload-file-progress {
    width: 100%;
  }

  .bimCT-file-upload-file-progress {
    padding: 60px 15px;
  }
}

@media only screen and (max-width: 440px) {
  #bimCT-file-upload-container > h3 {
    text-align: center;
  }
  .bimCT-file-upload-supports-formats-footer p {
    font-size: 14px;
    text-align: center;
  }

  .bimCT-file-upload-supports-formats-header > img {
    width: 20px;
    height: 20px;
  }

  .bimCT-file-upload-supports-formats-header h3 {
    font-size: 18px;
  }
}

@media only screen and (max-width: 370px) {
  .bimCT-file-upload-selectors {
    flex-direction: column;
  }
  #bimCT-file-upload-input-folder-button {
    margin-top: 10px;
  }
  .bimCT-file-upload-selectors div {
    width: 100%;
  }
  .bimCT-file-upload-selectors {
    width: 90%;
  }

  #bimCT-file-upload-container {
    font-size: 14px;
  }

  .bimCT-file-upload-uploading-description span {
    font-size: 14px;
  }

  .bimCT-file-upload-uploading-upper-section h4 {
    font-size: 18px;
  }

  .bimCT-file-upload-process-container p {
    text-align: center;
  }
}
