body {
  background-color: #151936;
  color: white;
}

div#sidebar {
  background: #090830;
  border-right: 3px solid black !important;
  /* position: fixed;
  left: 0px; */
  z-index: 999;
  position: relative;
}

#sidebar-nav {
  width: 280px;
  position: relative;
  padding: 15px;
}

.sidebar-search input {
  border: 1px solid rgb(219, 219, 219);
  width: 100%;
  padding: 10px 38px 10px 10px;
  background-color: #10142f !important;
  text-align: left;
  color: gray;
}

.sidebar-img-sec .img-item img {
  width: 100%;
}

.sidebar-search {
  position: relative;
}

.sidebar-search i {
  position: absolute;
  top: 15px;
  right: 15px;
  color: gray;
}

.text-gray-link {
  color: #717493;
}

.text-gray-link:hover i {

  color: white;
}

.text-gray-link:hover {

  color: #717493;
}

.top-right-sec {
  color: white;
  font-weight: 600;
  border-bottom: 1px solid gray;
  position: relative;
  z-index: 999999;
}

.credit-scr {
  padding: 5px 30px;
  border: 1px solid #0088ff;
  border-radius: 30px;
  margin-top: 13px !important;
  white-space: nowrap;
}

.btn-transparent {
  background: transparent;
  box-shadow: none;
  color: white;
  border: none;
  margin-left: 15px;
}

.plus-credit {
  font-size: 14px;
  color: #151936;
}

.btn-custom {
  background: rgb(1, 74, 243);
  /* background: linear-gradient(180deg, rgba(1,74,243,1) 0%, rgba(8,178,253,1) 81%); */
  color: white;
  text-align: center;
  padding: 6px 20px;
  font-size: 16px;
  width: 160px;
  border: 1px solid #373960;
  margin-top: 8px;
}

.top-dw {
  margin-top: -4px;
  text-wrap: nowrap;
}

.generate-btn {
  text-align: center;
  padding: 10px 0px;
  font-size: 18px;
  white-space: nowrap;
  width: 190px !important;
}

.page-header {
  font-size: 25px;
}

main {
  position: relative;
  height: 100vh;
}

.msg-area {
  background-color: #1d1f3b;
  border-radius: 15px;
  /* height: 400px; */
  margin: 30px 20px;
  /* width: 80%; */
  margin: 0px auto;
  overflow-y: scroll;
  padding: 15px;
  background-color: #1d1f3b;
  border-radius: 15px;
  /* height: 400px; */
  margin: 30px 20px;
  /* width: 80%; */
  margin: 0px auto;
  overflow-y: scroll;
  padding: 15px;
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  top: 130px;

}

.msg-area::-webkit-scrollbar-thumb {
  /* background: #888; */
  border-radius: 15px !important;
}

.sidebar-img-sec .img-item {
  position: relative;
}

.sidebar-img-title {
  position: absolute;
  bottom: 3px;
  text-align: center;
  left: 0;
  right: 0;
  color: #717493;
  font-weight: 700;

}

.sidebar-top-sec {
  /* height: 13vh; */
  position: sticky;
  top: 0px;

}

.sidebar-img-sec {
  overflow-y: scroll;
  overflow-x: hidden;
  position: absolute;
  top: 256px;
  bottom: 0px;
  padding: 0px 10px;

}

/* .credit-sec{
  color: white;
} */
@media (max-width:575px) {

  .top-right-sec .dropdown {
    position: absolute;
    right: 10px;
    top: 50px;
  }

  .sidebar-btn {
    display: block;
  }

  .msg-area {
    position: absolute;
    margin-top: 20px !important;
    top: 310px !important;
  }

}

.sidebar-btn {
  cursor: default !important;
}

.sidebar-btn i {
  cursor: pointer !important;
  position: relative;
  bottom: 6px;
}

/* width */
.sidebar-img-sec::-webkit-scrollbar,
.image-attribute-area::-webkit-scrollbar,
.msg-area::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
.image-result-area::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.sidebar-img-sec::-webkit-scrollbar-track,
.image-attribute-area::-webkit-scrollbar-track,
.msg-area::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track,
.image-result-area::-webkit-scrollbar-track {
  /* box-shadow: inset 0 0 5px grey;  */
  border-radius: 10px;
}

/* Handle */
.sidebar-img-sec::-webkit-scrollbar-thumb,
.image-attribute-area::-webkit-scrollbar-thumb,
.msg-area::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb,
.image-result-area::-webkit-scrollbar-thumb {
  background: #282a43;
  border-radius: 10px;
}

/* Handle on hover */
.sidebar-img-sec::-webkit-scrollbar-thumb:hover,
.image-attribute-area::-webkit-scrollbar-thumb:hover,
.msg-area::-webkit-scrollbar-thumb:hover,
.modal-body::-webkit-scrollbar-thumb:hover,
.image-result-area::-webkit-scrollbar-thumb:hover {
  background: #282a43;
}



.image-upload-area {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px auto;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
}

.image-show-area {
  /* height: 100vh; */
  width: 100%;
  /* display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px auto;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  padding-top: 50px; */
}

main {
  position: relative;
  height: 100vh;
}

.drop-image {
  border-radius: 10px;
  width: 100%;
  background: #1d1f3b;
  border: 3px dashed #373960;
  padding: 20%;
}

.drop-image2 {
  border-radius: 10px;
  width: 100%;
  background: #1d1f3b;
  border: 3px dashed #373960;
  margin-top: 30px;
  padding: 10%;
}

.image-item {
  margin-bottom: 10px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.res-image-item {
  margin-top: 60px;
  text-align: center;
  overflow: hidden;
  position: relative;
  margin: 10px;
}

.drop-img-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* height: 100%; */
  position: relative;
  width: 100%;
}

.drop-imgae-text {
  font-size: 1.1rem;
  margin: 15px 0px;
  color: #a6a8b9;
  font-weight: 500;
}

.plus-img {
  font-size: 71px;
  color: #9a9bb5;
  line-height: 2rem;
  font-weight: 100;
}

@media (max-width:768px) {

  #sidebar-nav {
    width: 230px;
    position: relative;
  }

  .generate-btn {
    width: 100% !important;
  }

  .his-detail-mr-sec {
    height: 400px !important;
    margin-top: 20px !important;
    top: 320px !important;
  }

  div#sidebar {
    background: #090830;
    border-right: 3px solid black !important;
    z-index: 99999999999999;
    position: absolute;
  }

  .msg-area {
    margin-top: 20px !important;
    top: 100px !important;
  }

  .drop-image {
    border-radius: 10px;
    width: 100%;
    /* height: 300px; */
    background: #1d1f3b;
    border: 3px dashed #373960;
  }

  /* main .image-attribute-area,
  main {
    padding: 0px !important;
  } */

  .image-upload-area {
    padding: 10px;
  }

  .image-show-area {
    /* height: 100vh; */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0px auto;
    /* position: absolute; */
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin-top: 0px;
  }
}

.image-item img {
  width: 100%;
  height: 100%;
}

.image-item2 {
  margin-left: auto;
  margin-right: auto;
}

.res-image-item img {
  width: 80%;
}

.processing-show-area {
  width: 90%;
  /* background: #10152b;
  padding: 10px 15px;
  border-radius: 8px;
  margin-top: 26px !important;
  position: relative;
  top: 13px;
  left: 20px; */
}

.delete-icon {
  position: absolute;
  top: 2px;
  right: 2px;
  cursor: pointer;
  background: #151936;
  padding: 5px 9px;
  display: none;
}


.image-item:hover .delete-icon {
  display: block;
}

.image-title {
  position: absolute;
  bottom: 7px;
  margin: 0px auto;
  background: #000000a3;
  padding: 5px 20px;
  left: 0px;
  right: 0px;
  width: 80%;
}

.download-btn {
  position: absolute;
  text-align: right;
  top: 0px;
  right: 10px;

}

@media (max-width:577px) {
  .image-show-area {
    /* margin-top: 250px; */
  }

  main .image-attribute-area {
    padding: 0px 20px 20px 20px !important;
    margin-top: 135px !important;
  }

  main .image-result-area {
    /* padding: 60px 20px 20px 20px !important; */
    margin-top: 115px !important;
  }
}

#send-prompt {
  border-radius: 15px;
  position: relative;
  z-index: 9999999999;
}

.send-prompt-button {
  text-align: right;
  display: none;
}

#downloadImageButtom {
  border-radius: 8px;
  position: relative;
  z-index: 99999;
}

.uploaded-image {
  /*height: 250px;*/
  max-width: 250px;
  margin: 10px auto;
  width: 100%;
}

.slider:hover,
.imgCount:hover {
  opacity: 1;
}

.slider,
.imgCount {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
  cursor: pointer;
}

.my-image {
  color: #151936;
  background: white;
  text-decoration: none;
  padding: 5px 15px;
  border-radius: 5px;
  text-transform: capitalize;
  width: 100%;
  display: block;
  text-align: center;
  font-weight: 700;
}

.loader {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url("../images/YlWC.gif") 50% 50% no-repeat rgb(16 16 16 / 49%);
  display: none;
}

.image-attribute-area {

  position: absolute;
  width: 99%;
  top: 0px;
  bottom: 0px;
  overflow-y: auto;
  padding: 80px 100px !important;
}

.image-result-area {

  position: absolute;
  width: 100%;
  top: 0px;
  bottom: 0px;
  margin-top: 67px !important;
  overflow-y: auto;
  /* padding: 80px 4
  0px !important; */
}

.sf-sec {
  background-color: #cbcaca;
  color: #090830;
  border: 1px solid #373960 !important;
  resize: none;
}

.sf-sec:focus {
  background-color: #090830;
  color: white;
  ;
}

.text-white-link {
  color: white;
  font-size: 1.1rem;
  font-weight: 400;
}

.text-white-link:hover {
  color: white;
}

.sidebar-btn i:hover {
  color: rgb(185, 182, 182);
}

#styleModal {
  position: relative;
  z-index: 99999999;
}

#styleModal .modal-content {
  background: #151936 !important;
  padding-bottom: 20px;
}

#styleModal .modal-header {
  border-bottom: 1px solid #686868;
}

#styleModalLabel {
  font-size: 1.2rem !important;
}

#advanceSetting {
  /* position: relative; */
  z-index: 99999999;
}

#advanceSetting .modal-content {
  background: #151936 !important;
  padding-bottom: 20px;
}

#advanceSetting .modal-header {
  border-bottom: 1px solid #686868;
}

#advanceSettingLabel {
  font-size: 1.2rem !important;
}

.styleImages {
  list-style: none;
  padding: 0px;
  margin: 0px;
}

.styleImages li {
  float: left;
  width: 33.3%;
  padding: 10px;
  cursor: pointer;
}

.styleImages li:hover img {
  border: 1px solid white;
}

.styleImages li img {
  width: 100%;
  border-radius: 8px;
}

#styleModal .modal-body {
  height: 350px;
  overflow-y: auto;
}

.btn-style-close {
  border: none;
  background: transparent;
  color: white;
}

.ss-sec {
  display: none;
}

/* .next-button{
  display: flex;
  justify-content: center;

} */

.res-img-item {
  /* float: left; */
  /* width: 33.3%; */
  margin-bottom: 20px;
  /* padding: 10px; */
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.prompt-msg {
  position: absolute;
  top: 10px;
  left: 30px;
}

.img-dw-area {
  background: #1d203b;
  padding: 10px;
  color: #ffffff;
  border: 1px solid gray;
  border-radius: 0px 0px 15px 15px;
}

.right-sidebar {
  height: 100%;
  background: #090830;
  position: absolute;
  top: 0px;
  bottom: 0px;
  width: 100%;
  right: 0px;
  padding: 30px 20px;
}

.right-side-title {
  border-bottom: 1px solid #1976e5;
  padding-bottom: 10px;
}

.right-side-msgarea {
  padding: 15px 0px;
  border-top: 1px solid #303451;
  color: #9296b4;
}

.img-left-sec {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.imgqut-btn {
  background: #1cbbb6;
  margin: 10px 0px;
  width: 100px;
  border-radius: 6px;
  padding: 5px 0px;
}

@media (max-width:768px) {
  .sidebar-top-sec::after {
    content: "X";
    position: absolute;
    top: -9px;
    right: -10px;
  }
}

@media (max-width:992px) {
  .res-img-item {
    display: flex;
    flex-direction: column;
    margin-top: 50px;
  }

  .his-detail-mr-sec {
    top: 255px;
  }

  #uploaded-image {
    max-width: 350px;
    width: 100%;
  }

  .arrow-img {
    transform: rotate(90deg);
  }

  .right-sidebar {
    display: inline-table;
    margin-top: 20px;
  }

}

.sidebar-close-btn {
  position: absolute;
  right: -15px;
  top: -14px;
  z-index: 99999;
  /* visibility: hidden; */
  opacity: 0;
}

.acc-dropdown {
  border-radius: 12px;
}

.acc-dropdown li {
  border-bottom: 1px solid gray;
}

.acc-dropdown li a {
  font-size: 0.9rem !important;
  padding: 8px 15px !important;
}

.acc-dropdown li a i {
  width: 18px !important;
  color: #007ae9;
}

#img-size-ul {
  z-index: 99999999 !important;
}

.output-image {
  max-height: 580px;
}







.grid-wrapper>div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-wrapper>div>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.grid-wrapper {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
}

.grid-wrapper .wide {
  grid-column: span 2;
}

.grid-wrapper .tall {
  grid-row: span 2;
}

.grid-wrapper .big {
  grid-column: span 2;
  grid-row: span 2;
}

.detail-sec {
  position: absolute;
  bottom: 0px;
  top: 0px;
  left: 0px;
  right: 0px;
  cursor: pointer;
  /* background: #0000003d;  */
}

.model-name {
  position: absolute;
  background: #ffffff;
  color: black;
  padding: 4px 18px;
  font-weight: 600;
  display: inline-block;
  margin: 0px auto;
  border-radius: 50px;
  bottom: 10px;
  left: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  max-width: 250px;
}

.his-img-sec {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.img-fun {
  text-align: right;
}

.img-dow {
  display: inline-block;
  /* background: white; */
  color: black;
  padding: 5px;
}

@media (min-width:768px) {
  .detail-sec {
    /* display:none; */
  }
}

.his-img-sec:hover .detail-sec {
  display: block;
}

.btn-img-opt:active,
.btn-img-opt:hover,
.btn-img-opt:focus {
  border: 0px solid black !important;

}

.his-detail-sec {
  background: #090830;
  border-radius: 20px;
  /* position: sticky; */
  top: 0px;
  border-radius: 20px;
  overflow: hidden;
  font-weight: 300;
  color: #ebd5ff;
}

.his-det-link {
  font-size: 25px;
}

.his-detail-main-img-text {
  position: absolute;
  right: 10px;
  top: 0px;
}

@media (max-width:425px) {
  .grid-wrapper {
    display: flex;
    grid-gap: 10px;
    flex-direction: column;
  }
}

.filter-btn {
  background: #10142f;
  border: none;
  border: 1px solid gray;
  width: 100%;
  padding: 10px 38px 10px 10px;
  border-radius: var(--bs-border-radius-lg) !important;
  color: white;
}


.his-date-title {
  background: #1d1f3b;
  position: relative;
  z-index: 9;
  padding: 0px 5px 0px 0px;
  color: #bfbfbf;
}

.line-over {
  border: 1px solid #605d75ab;
  position: absolute;
  width: 100%;
  top: 29px;
  border-radius: 19px;
}


input[type="date"]::-webkit-calendar-picker-indicator {
  background: transparent;
  bottom: 0;
  color: transparent;
  cursor: pointer;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.masonry {
  --masonry-gap: 1rem;
  --masonry-brick-width: 250px;
  column-gap: var(--masonry-gap);
  column-fill: initial;
  column-width: var(--masonry-brick-width);
}

.masonry>* {
  break-inside: avoid;
  margin-bottom: var(--masonry-gap);
}

@supports(grid-template-rows: masonry) {
  .masonry {
    display: grid;
    gap: var(--masonry-gap);
    grid-template-rows: masonry;
    grid-template-columns: repeat(auto-fill, minmax(var(--masonry-brick-width), 1fr));
    align-tracks: stretch;
  }

  .masonry>* {
    margin-bottom: initial;
  }
}

/* some styling not important */
.masonry {
  padding: 2rem;
}

.brick {
  color: white;
  /* padding:1rem; */
}


.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td {
  color: black !important;
}

.daterangepicker .ranges li {
  color: black !important;
}

@media (max-width:575px) {
  .his-detail-mr-sec {
    height: calc(100% - 173px) !important;
    margin-top: 20px !important;
    /* top: 430px !important; */
    /* padding: 20px; */
  }
}

.footer {
  position: fixed;
  z-index: 9999999;
  bottom: 20px;
  right: 20px;
}

@media (max-width:1440px) {
  .top-right-sec a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 500px;
  }

}

.icon-buttons {
  background-color: grey;
  padding: 10px;
  border-radius: 7px;
}

.workload-sec {
  padding: 15px;
  background: #27306a;
  margin-bottom: 0px;
}

.promt-sec {
  padding: 15px;
  min-height: 100px;
}

.wk-title {
  font-weight: 500;
  font-size: 17px;
  white-space: nowrap;
}

.bd-bottom {
  border-bottom: 1px solid #303030;
}

.bd-right {
  border-right: 1px solid #606060;
}

@media (max-width:1200px) {
  .bd-right {
    border-right: 0px solid #606060;
  }
}

.membership-sec {
  position: absolute;
  width: 100%;
  top: 0px;
  bottom: 0px;
  padding-top: 70px;
}

.membership-area {
  min-height: 300px;
  padding: 0px 20px;
}

.btn-upgrade {
  font-size: 25px;
  border-radius: 50px;
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-weight: 700;
}

a:hover {
  cursor: pointer;
}

.saveButton {
  float: inline-end;

}

@media (min-width:993px) {
  .bd-lg-left {
    border-left: 1px solid #867f7f;
  }
}

.imageResolution {
  display: none;
}

.wel-sub-text {
  font-size: 1.5rem;
  font-weight: 500;
  color: black;
}

@media (max-width:767px) {

  .wel-sub-text,
  .wel-right-sub-text {
    font-size: 1.1rem !important;
  }

  .wel-main-text {
    font-size: 1.3rem;
  }

  .btn-contact {
    font-size: 1.1rem !important;
  }
}

.wel-para {
  font-size: 1.2rem;
}

.wel-area {
  background: #1662e9 !important;
  padding: 20px;
  min-height: 270px;
}

.wel-area-right {
  padding: 20px;
  border: 2px solid #1662e9;
  min-height: 270px;
}

.wel-main-text {
  font-weight: 600;
}

.wel-right-sub-text {
  font-size: 1.3rem;
  color: black;
}

.btn-watch-video {
  background: #0152e2;
  color: white;
}

.btn-watch-video:hover {
  color: #1662e9 !important;
  border: 1px solid #1662e9 !important;
  background: white;
}

.remove-img {
  position: absolute;
  top: 10px;
  right: 10px;
}

.btn-contact {
  color: #000000;
  font-size: 1.2rem;
  font-weight: 600;
  background: #ffffff;
}

.btn-contact:hover {
  color: #ffffff !important;
  background: #1662e9 !important;
  border: 1px solid #ffffff !important;
}

foreignObject {
  background: #1d1f3b;
}

.image-size-selection {
  display: none;
}

.acc-type {
  display: inline-block;
  padding: 0px 15px 3px 15px;
  background: #0278eb;
  border-radius: 5px;
}

.pass-int {
  padding-right: 45px;
}

.show-password {
  position: absolute;
  top: 0px;
  right: 0px;
}

.show-password img {
  width: 26px;
}

.generate-btn .fas {
  position: relative !important;
  top: 2px !important;
}

@media (max-width:450px) {
  .acc-type {
    display: inline-block;
    padding: 0px 15px 3px 15px;
    background: #0278eb;
    border-radius: 5px;
    position: absolute !important;
    top: -31px !important;
    right: 6px !important;
  }
}

.page-main-title {
  max-width: 65%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
}