:root {
  --primary-color: #EF9632;
}

body::-webkit-scrollbar {
  display: none;
}

.over-backbg {
  font-family: 'Roboto', sans-serif;
}

.over-backbg::-webkit-scrollbar {
  display: none;
}

/* top header */
.top-header {
  z-index: 2;
  position: sticky;
  top: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #ffffff;
}

.top-header .top-bar-section li:not(.has-form) a:not(.button) {
  font-family: 'Roboto', sans-serif;
  margin-left: 50px;
  padding-left: 0;
  color: black;
}

.top-header .top-bar-section ul li:hover>a {
  background-color: unset;
  color: unset;
}

.top-header .title-area img {
  height: 100%;
  width: 100%;
  margin: 0;
}

.try-login.try-register .register-link-text {
  line-height: 1px;
  margin-bottom: 0;
}

.try-login.try-register .register-link-text a {
  margin-top: 0;
}

.m-menu-pb.try-login.try-register .register-link-text a.home-register-link {
  margin-left: 0;
}

.upload-files-box {
  border-radius: 15px;
  background: #FFF;
  box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.15);
  max-width: 365px;
  width: 100%;
  /* max-height: 565px; */
  /* padding: 24px 20px; */
  margin-bottom: 100px;
  position: relative;
  z-index: 1;

  .upload-file-input {
    padding: 15px;
    border-radius: 10px;
    border: 1.2px dashed var(--primary-color);
    cursor: pointer;
    text-align: center;
    margin-right: 13px;

    p {
      margin-top: 6px;
    }
  }

  .upload-files-box-header {
    padding: 24px 7px 24px 20px;
  }

  .footer-block {
    padding: 24px 19px;
    border-top: 1px solid #C7C8C7;
  }

  margin-top: 87px;
}

.upload-files-box .signup-links {
  padding: 40px;
  text-align: center;
}

.upload-files-box .form-group .error-text {
  font-size: 11px;
  text-align: left;
  width: 100%;
  /* display: inline-block; */
}

.upload-file-input input[type="file"] {
  cursor: pointer;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}

.upload-files-box p.error-msg {
  font-size: 14px;
  color: #212529c9;
}

/* & .upload-files-box-header {padding-right: 7px !important;} */

/* .upload-file-input {
    margin-right: 16px;
} */


/* .content-container {
    padding-right: 16px;
} */

.content-container {
  max-height: 328px;
  overflow: auto;
  margin-top: 10px;
  padding-right: 13px;
}

.uploaded-file-container {

  .uploaded-file {
    padding: 6px 0;
    border-bottom: 1px solid #D9D9D9;

    .file-name-wrpper {
      max-width: 173px;
      width: 100%;
      margin-right: 10px;
    }

    .file-icon {
      height: 20px;
      width: 20px;
    }
  }
}

.upload-file-input {
  position: relative;
}

.form-md {
  width: 100%;
  text-align: center;
  margin: 32px auto 32px auto;
}

.form-md .form-group {
  margin-left: auto;
  margin-right: auto;
  /* max-width: 320px; */
}

.form-control:focus {}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-md input,
textarea {
  position: relative;
  display: block;
  width: 100%;
  padding-left: 0;
  border: none;
  background-color: none;
  border-bottom: 1px solid #C7C8C7;
  font-size: 14px;
  font-weight: normal;
  color: #000000;
}

input.error-input {
  border-bottom: 1px solid #FF0404;
}


/* input:valid+label,
input:focus+label {
  top: -6px;
  color: #494949;
  font-size: 11px;
} */

.gl-form-asterisk {
  background-color: inherit;
  color: #e32b2b;
  padding: 0;
  padding-left: 3px;

}

.gl-form-asterisk:after {
  content: "*";
}

.large-files-text {
  margin-top: 132px;
}

/* Apply custom scrollbar styles to all scrollable elements */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  border-radius: 20px;
  background: rgba(218, 218, 218, 0.29);
}

::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background: #DDD;
}

.scrollable-container {
  scrollbar-width: thin;
  scrollbar-color: rgba(218, 218, 218, 0.29) #DDD;
}


/* Style for the container that holds the chips */
.chip-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 10px 0 0;
}

/* Style for individual chips */
.chip {
  border-radius: 100px;
  background: #E7E7E7;
  color: #000000;
  min-height: 20px;
  font-size: 14px;
  padding: 0 9px;
  margin: 5px 5px 0 0;
  transition: all .15s ease-in-out;

  &:hover {
    .close-button {
      display: inline-block;
    }
  }
}

/* Style for the floating label */
.floating-label {
  position: absolute;
  transform: translateY(-50%);
  transition: transform 0.2s, font-size 0.2s;
  font-size: 16px;
  pointer-events: none;
}

/* Style for the input field with a value */
.input-field:not(:placeholder-shown)+.floating-label {
  transform: translateY(-100%);
  font-size: 12px;
}

.input-field:focus+.floating-label {
  font-size: 12px;
}

.chip .close-button {
  cursor: pointer;
  display: none;
}


/* ================================== */
form-group {
  position: relative;
}

label {
  position: absolute;
  top: 20px;
  left: 0px;
  height: 14px;
  line-height: 14px;
  text-align: left;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 500;
  margin: 0px auto;
  color: #313131;
  pointer-events: none;
  -webkit-transition: all 0.15s ease-out 0s;
  transition: all 0.15s ease-out 0s;

  &.sent-to-label {
    top: 60%;
  }
}


input {
  display: inline-block;
  font-family: "Titillium Web", Arial, Tahoma;
  padding: 5px 0;
  margin: 10px 0 0 0;
  font-size: 14px;
  font-weight: 500;
  background: none;
  border: 0;
  border-bottom: 1px solid #E1523D;
  color: #313131;
  box-shadow: none;
  outline: none;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}

textarea {
  box-shadow: none;
}

input:focus+label,
input.has-value+label,
textarea:focus+label,
textarea.has-value+label {
  top: 1px;
  font-size: 11px;
  color: #494949;
  font-weight: normal;
  background-color: #ffffff;
}

/* textarea:focus+label,
textarea.has-value+label {
  top: 30px;
} */

input:focus::-webkit-input-placeholder {
  color: transparent;
}

p.register-link-text a {
  color: #000000;
  font-size: 16px;
  margin-top: 5px;
  display: inline-block;
}


@include media-breakpoint-down(sm) {
  .upload-files-box {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .upload-files-box {
    max-width: 100%;
    margin-top: 20px;
    box-shadow: none;
    padding: 0 0 24px;

    .upload-files-box-header {
      padding-top: 0;
    }
  }

  .carousel.slide {
    display: none;
  }

  section.over-backbg {
    position: relative;
  }

  .col-12.main-page-login-sec p a {
    color: #000000;
  }

  section#footer-php {
    position: fixed;
    bottom: 0;
    width: 100%;
  }

  .footer-block {
    width: 100%;
    position: fixed;
    bottom: 110px;
    left: 0;
    background: white;
  }

  .upload-files-box .footer-block {
    position: unset;
    padding: 24px 0;
    position: sticky;
    bottom: 80px
  }

  section.over-backbg {
    height: calc(100vh - 271px) !important;
    overflow: auto;
    padding: 20px 0;
  }

  .content-container {
    max-height: none;
  }
}

@media (max-width: 315px) {
  .footer-block {
    bottom: 145px
  }
}

/* ========================================== */
.main-upload-section {

  .over-backbg {
    position: relative;
    height: calc(100vh - 126px) !important;
    overflow-y: auto;
    overflow-x: hidden;

    .dropsend-text {
      display: block;
      position: fixed;
      bottom: 137px;
      width: 100%;
      pointer-events: none;
    }
  }

  .over-backbg::-webkit-scrollbar {
    display: none;
  }

  .carousel.slide {
    position: absolute;
    width: 100%;
    height: 100%;

    .carousel-inner img {
      height: calc(100% - 51px);
    }
  }

  .carousel-inner {
    height: 100%;
  }

  .carousel-item {
    height: 100%;
  }
}


/* sending files styles */

.sending-files-box-header {
  padding: 24px 20px;
}

.sending-files-content {
  padding: 20px;

  .file-icon {
    height: 30px;
    width: 30px;
  }

  .sending-file {
    border-bottom: 1px solid #D9D9D9;
    padding: 10px 0;
  }

  .file-name {
    line-height: 16px;
    max-width: 229px;
  }
}

@media (max-width: 767.98px) {
  .success-files-box {
    padding: 0;
    margin: 0;
    margin-bottom: 100px;
  }

  .sending-files-box-header {
    padding: 24px 7px 24px 20px;
    text-align: center;
  }

  .main-upload-section {
    .over-backbg {
      .dropsend-text {
        z-index: 2;
        font-size: 70px;
        color: #000000 !important;
        opacity: 0.02;
        transform: rotate(179deg);
        right: -96%;
        bottom: -51px;
        writing-mode: vertical-rl;
        text-orientation: mixed;
      }
    }
  }

}

/* progress bar */

.progress {
  height: 32px;
  width: 32px;
  background: none;
  position: relative;
  border: none;
  cursor: pointer;
  margin-bottom: 0;
}

.progress::after {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #E8E9EF;
  position: absolute;
  top: 0;
  left: 0;
}

.progress>span {
  width: 50%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  z-index: 1;
}

.progress .progress-left {
  left: 0;
}

.progress .progress-bar {
  width: 100%;
  height: 100%;
  background: none;
  border-width: 3px;
  border-style: solid;
  position: absolute;
  top: 0;
  border-color: #EF9632;
}

.progress .progress-left .progress-bar {
  left: 100%;
  border-top-right-radius: 80px;
  border-bottom-right-radius: 80px;
  border-left: 0;
  -webkit-transform-origin: center left;
  transform-origin: center left;
}

.progress .progress-right {
  right: 0;
}

.progress .progress-right .progress-bar {
  left: -100%;
  border-top-left-radius: 80px;
  border-bottom-left-radius: 80px;
  border-right: 0;
  -webkit-transform-origin: center right;
  transform-origin: center right;
}

.progress .progress-value {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 10px;
  z-index: 1;
}

.h2.font-weight-bold {
  font-size: 10px;
}

.sending-files-content {
  padding-bottom: 85px;
  max-height: 400px;
  overflow: auto;
}

.progress .cross-icon {
  position: absolute;
  opacity: 0;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  cursor: pointer;
  z-index: 2;
}

.progress:hover .cross-icon {
  opacity: 1;
  width: 34%;
  padding: 11px;
  border-radius: 38px;
  padding: 4px;
  box-sizing: initial;
}

/* .progress:hover span {
  background-color: #ffffff;
} */

/* success file */

.success-files-box {
  .h3 {
    line-height: 40px;
  }

  .success-info {
    max-width: 254px;
    margin: auto;
  }

  .footer-block {
    border-top: none;
  }

  .success-check-gif {
    height: 165px;
    width: 165px;
  }
}

.file-detail-info-section {
  background-color: #ffffff;
  padding: 30px 28px;
  overflow-y: scroll;
  height: calc(100vh - 85px);
  min-height: 100%;

  .message-title {
    margin-top: 24px;
  }

  .title {
    margin-top: 20px;
  }

  .heading-1 {
    margin-top: 40px;
  }

  .horizontal-line {
    margin: 16px 0;
  }
}

.file-detail-info-section .dropsend-mark {
  position: absolute;
  bottom: 0;
  right: 0;
  pointer-events: none;
}

.mail-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.recipents-mail {
  border-radius: 100px;
  background: rgba(239, 150, 50, 0.15);
  padding: 4px 12px;
  margin: 0 10px 10px 0;
  display: inline-block;
  margin-left: 0;
  font-size: 12px;
  line-height: 16px;
}

.sent-files-wrapper .sent-files-content .sent-file .circle-check-icon {
  height: 24px;
  width: 24px;
}

.sent-files-wrapper .sent-files-content .sent-file {
  border-bottom: 1px solid #D9D9D9;
  padding: 10px 0;
}

.sent-files-wrapper .sent-files-content .file-name {
  line-height: 16px;
}

.sent-files-wrapper .sent-files-content .file-icon {
  height: 30px;
  width: 30px;
}

.sent-files-content .try-again-chip {
  border-radius: 100px;
  border: 1px solid #C7C8C7;
  font-size: 12pX;
  font-weight: 500;
  padding: 0 13px;
  height: 24px;
  display: flex;
  align-items: center;
}

.sent-files-wrapper {
  margin-bottom: 100px;
}

.file-detail-col-section {
  transform: translate(100%, 0px);
  transition: all ease 500ms;
  right: 0;
  position: fixed;
  top: 0;
  height: 100%;
}

.file-detail-col-section.active {
  transform: translate(0, 0px);
}

.file-detail-col-section {
  position: fixed;
  top: 0;
  height: 100%;
}

.top-bar-bg-white {
  z-index: 1;
}

.file-detail-info-section {
  padding-top: 100px;
}

#footer-php {
  z-index: 1;
  position: relative;
}

/* // Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .top-header .top-bar-section li:not(.has-form) a:not(.button) {
    margin-left: 29px;
    font-size: 16px;
  }
}

@media (max-width: 767.98px) {
  .mobile-view-header.top-header .title-area .name {
    left: 50% !important;
    top: 11px !important;
    transform: translateX(-50%);
  }

  .mobile-view-header.top-header .title-area .menu-icon {
    top: 50%;
  }
}