/*to displacxe bootstrap4..*/

/*compulsory end*/
.filesupload,
.filesupload1 {
  display: none;
}
.autocomplete-suggestion {
  padding: 10px 6px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}

.autocomplete-selected {
  background: #f0f0f0;
}

.autocomplete-suggestions strong {
  font-weight: normal;
  color: rgb(245, 52, 4);
}

.autocomplete-group {
  padding: 2px 5px;
}

.autocomplete-group strong {
  display: block;
  border-bottom: 1px solid #000;
}

.mdl-demo-asign {
  position: absolute;
  height: 100vh;
  width: 100vw;
  background: black;
  opacity: 0.7;
}

.mdl-ad-asign {
  max-height: 710px;
  text-align: center;
  height: 100vh;
  width: 450px;
  max-width: 100%;
  margin: auto;
  margin-top: 20px;
  background: white;
  border-radius: 2px;
}

.mdl-in-ad-asign {
  vertical-align: middle;
  z-index: 65246;
  min-height: 100%;
  position: relative;
  height: 100%;
  width: 100%;
  margin: auto;
  overflow-x: hidden;
  overflow-y: scroll;
  background-color: white;
}
.topheader {
  position: sticky;
  z-index: 10;
  background: #fff;
  top: 0;
}
.mdl-in-ad-asign embed {
  min-height: 100%;
  min-width: 100%;
}

.cross-asign {
  z-index: 2;
  cursor: pointer;
  position: absolute;
  height: 40px;
  width: 35px;
  right: 8px;
  top: 2px;
  font-size: 28px;
  font-family: monospace;
  color: #bcbcbc;
  cursor: pointer;
  text-align: center;
}

.ad-asign-hd {
  text-align: center;
  margin: 0;
  padding: 25px 0;
  font-size: 21px;
  color: #808080;
}

.showmodal {
  display: block;
}

button {
  cursor: pointer;
}

.soltn-form * {
  transition: all 0.3s ease-in-out;
}

.form-bottom {
  display: grid;
  margin-top: 20px;
  grid-template-columns: 50% 50%;
  justify-content: space-between;
}

.form-top {
  display: block;
  background: #fff;
  grid-template-columns: 50% 50%;
  border: 2px solid #f1f1f1;
  min-height: 258px;
  border-radius: 8px;
  overflow: hidden !important;
}

.form-top .textarea {
  background: #fff;
}

.form-top * {
  border-collapse: collapse;
}

.form-bottom .left {
  display: grid;
  grid-column-gap: 4%;
  justify-content: space-between;
  grid-template-columns: 48% 48%;
}

.form-bottom .right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.form-bottom > div div {
  display: flex;
  flex-direction: column;
}

.onlinehelp {
  padding: 20px 0 80px 0;
  font-family: "Open sans", sans-serif;
  font-size: 16px;
  background-image: linear-gradient(
    rgba(232, 244, 246, 1),
    rgba(226, 237, 238, 0)
  );
  margin-top: 20px;
}

.onlinehelp .title {
  color: rgba(222, 104, 15, 1);
  font-size: clamp(20px, 3vw, 25px);
}

.soltn-form {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.soltn-form .title-wrapper > span {
  height: 4px !important;
}

.soltn-form * {
  border-collapse: collapse;
}

.soltn-form form {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.filesupload,
.filesupload1 {
  background: #fff;
  border-left: 1px solid #cfd8dc;
}

.soltn-form .form-bottom label {
  font-weight: 600;
}

.soltn-form .form-bottom input {
  padding: 10px 17px;
  font-size: 16px;
  height: 60px;
  outline: none;
  border-radius: 4px;
  border: 1px solid #ddd;
}

#addfilebtn,
#addfilebtn1,
#addfilebtnessay {
  height: 64px;
  padding: 10px;
  border: none;
  width: 100%;
  outline: none;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 98, 0, 1);
  border: 1px solid #f1f1f1;
  background: #f8f8f8;
}

.form-bottom button {
  padding: 10px 17px;
  height: 60px;
  border: none;
  outline: none;
  color: rgba(255, 255, 255, 1);
  font-size: 16px;
  border-radius: 4px;
  font-weight: 600;
  background-image: linear-gradient(
    107deg,
    rgba(255, 98, 0, 1),
    rgba(253, 147, 70, 1)
  );
}

/*compulsory end*/

@media screen and (min-width: 800px) {
  .form-top {
    max-height: 300px;
  }
  .form-bottom .subbtn {
    width: 50% !important;
    margin-top: 20px;
  }
  .overallrating {
    margin-top: -10px;
    margin-left: -10px;
  }
  .soltn-form {
    padding: 40px;
    /* min-width: 774px; */
    box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
  }
  .uploadsection {
    display: flex;
    justify-content: center;
    padding: 0px 10%;
    overflow: hidden;
    position: relative;
    background: rgb(82 185 148 / 46%);
  }
  .upload-part {
    z-index: 2;
  }
  .upload-part * {
    transition: all 0.3s ease;
  }
  .filesupload,
  .filesupload1 {
    min-height: 256px;
    scrollbar-width: thin;
  }
  /* .mathpage .soltn-form:not(.getHelpModel .soltn-form) {
    max-width: 700px;
  } */
}

@media screen and (min-width: 767px) and (max-width: 992px) {
  .form-bottom > div:first-child {
    display: flex;
  }
}

@media screen and (max-width: 792px) {
  .deadline {
    margin-bottom: 10px;
  }
  .form-top * {
    transition: all 0.3s ease-in;
  }
  .filesupload,
  .filesupload1 {
    min-height: auto;
    align-items: center;
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .textarea textarea {
    min-height: 150px;
  }
  .fullwidth {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .fullwidth div {
    flex: 100%;
    width: 100% !important;
  }
  /* .form-top {
    display: block;
  } */
  .form-bottom {
    display: block;
  }
  .form-bottom .left {
    display: none;
  }
}
.form-bottom .left {
  visibility: hidden;
}
@media screen and (min-width: 600px) and (max-width: 800px) {
  .uploadsection {
    padding: 50px;
  }
  .manicon {
    display: none;
  }
  .form-bottom {
    display: flex;
  }
}

@media screen and (max-width: 600px) {
  .mdl-ad-asign {
    width: 100vw;
    min-height: 100vh;
  }
  .mdl-in-ad-asign {
    min-height: 100vh;
  }
  .form-top {
    display: block;
  }
  .form-bottom .subbtn {
    display: block;
    width: 100%;
    margin-top: 20px;
  }
  .manicon {
    display: none;
  }
  .file,
  .file1 {
    line-height: unset;
    padding: 3px auto;
  }
  .filesupload,
  .filesupload1 {
    width: 100%;
    display: grid;
    min-height: 64px;
    grid-template-columns: repeat(1, 1fr);
    border-left: none;
  }
  #addfilebtn,
  #addfilebtn {
    border-bottom: 1px solid #fff;
    border-top: 1px solid #e8e8e8;
  }
  /* .whybox-container{grid-template-columns: repeat(1,1fr);} */
}

@media screen and (min-width: 768px) and (max-width: 992px) {
  .form-bottom > div div {
    width: 100%;
  }
  .form-bottom {
    display: block;
  }
  .right button {
    width: 100%;
    margin-top: 10px;
  }
  .filesupload,
  .filesupload1 {
    min-height: 100%;
  }
}

@media screen and (max-width: 570px) {
  .filesupload,
  .filesupload1 {
    min-height: auto;
  }
}

.d-none {
  display: none !important;
}

/*custom to replace bootsrap*/

.file,
.file1 {
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #f1f1f1;
  font-size: 13px !important;
  padding: 5px;
}

.deletefile {
  cursor: pointer;
  font-weight: bold;
  color: rgb(252, 28, 28);
  margin-right: 3px;
}

.filesupload,
.filesupload1 {
  background: #fff;
  justify-content: start;
  align-content: start;
  overflow: auto;
  position: relative;
  width: 100%;
  overflow-x: hidden;
  display: none;
  grid-template-columns: repeat(1, 1fr);
  border-collapse: collapse;
  scrollbar-width: thin !important;
}

.filesupload::-webkit-scrollbar,
.filesupload1::-webkit-scrollbar {
  background: #f8f9fa;
  width: 6px;
  height: 2px;
}

.filesupload::-webkit-scrollbar,
.filesupload1::-webkit-scrollbar-thumb {
  background: #cfd8dc;
}

.file,
.file1 {
  background: #f8f9fa;
  display: flex;
  width: auto;
  color: #888;
  justify-content: space-evenly;
  align-items: center;
  margin: 3px;
  user-select: none;
  min-height: 45px !important;
}

.file *,
.file1 * {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.file div:first-child,
.file1 div:first-child {
  width: 10%;
}

.underline-black {
  border-bottom: 4px solid rgb(12, 11, 11) !important;
}

.file div:nth-of-type(2),
.file1 div:nth-of-type(2) {
  width: 80%;
  padding-left: 8px;
}

.file div:last-child,
.file1 div:last-child {
  width: 10%;
  display: flex;
  justify-content: flex-end;
}

.file div:last-child span.fa:active,
.file1 div:last-child span.fa:active {
  transform: scale(1.2);
}

.uplodedfiles {
  overflow: auto;
}

.form-bottom {
  position: relative;
}

.autocomplete-suggestions {
  margin-top: 0;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 14px;
  border: none;
  background: #fff;
  overflow: auto;
}
