
.header-content{
    display: flex;
    align-items: center;
  gap: 5px;
  font-size: 12px;
}

.logo-header {
    /* width: 50px;
    border-radius: 50%;
    margin-top: 20px;
    margin-left: 10px; */
    margin-top: 10px;
    margin-left: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    opacity: 1;
}

.floor_id_label {
    /* padding: 30px 0 5px 10px; */
    padding: 10px 0 5px 0px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* gap: 6px; */
  margin-left: 5px;
}

.formblocktitle {

    cursor: pointer;
  color: rgba(0, 123, 255, 0.6);
  font-size: 16px;
  font-family: var(--global-font-family);
}


.formblockname {
    font-size: 12px;
    color: black;
    cursor: pointer;
}

.formblockname .formblocknameby {
    font-size: 12px;
    color: var(--text-details-color);
    cursor: pointer;
}

.formblockname .formblocknamedetail{
    color: black;
  font-weight: bold;
}

.content-container {
    display: flex;
    margin-top: 10px;
}

.left-side {
  flex: 0.4;
  /* justify-content: center; */
  align-items: flex-start;
  /* padding: 10px;
    padding-left: 10px; */
  padding-left: 58px;
  padding-bottom: 16px;
  /* flex-basis: 100%; */
  display: flex;
  /* justify-content: flex-end; */
  justify-content: start;
  flex-direction: column;
    /* flex: 0.4;
    justify-content: center;
    align-items: flex-start;

    padding: 10px; */
 }

 .img-fluid {
    opacity: 1;
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

.enlarged-image-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    text-align: center;
    z-index: 10000;
}

.enlarged-img {
    width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 15px;
    margin: auto;
    margin-top: 5%;
    display: block;
    opacity: 1;
}

.enlarged-image-overlay .close-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 30px;
  cursor: pointer;
  color: white;
  display: block;
  background: none;
  left: 90%;
}

.right-side {
    padding: 0px 0rem 1rem 2rem;
    flex: 1;

}

.customforum-form {
    margin-bottom: 15px;
}

.customforum-form .form-labels-key {
    padding: 10px 0 10px 0;
    font-size: 12px;
    color: #7bb7ff;
    font-style: italic;
}

.customforum-form .form-control-value {
    font-size: 16px;
    cursor: pointer;
    color: #16181d;
}


.floor-post-div,.reply-inner-container {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
      border-top-color: rgb(204, 204, 204);
      border-right-color: rgb(204, 204, 204);
      border-bottom-color: rgb(204, 204, 204);
      border-left-color: rgb(204, 204, 204);
    padding: 0px;
    border-color: #d3d3d33b;
    width: 100%;
    background-color: #d3d3d300;
    padding: 10px 10px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: white;
  }

  


    /* .add-container{
      position:fixed;
      top:50%;
      left:50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 100%;
      background-color:rgba(0, 0, 0, 0.5);
      
  } */
 
  #form-label-image {
      font-size: 14px;
      padding-bottom: 3px;
    }
  .add-header {
    display: flex;
  }

  .modal-body-add {
    display: flex;
    float: left;
    width: 100%;
    margin: 6px;
    padding: 12px;
  }
  .add-body {
    float: left;
    width: 32%;
  }

  .image-box-add {
    border: 2px solid #ccc;
    text-align: center;
    height: 50%;
    background-color: lightgray;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    /* max-height: 50%; */
    border-radius: 4px;
  }

  #uploadedImage {
    opacity: 1;
    width: 100%;
    height: auto;
    display: none;
    height: 100%;
    object-fit: unset;
  }

  #imageUpload {
    display: none;
  }

  #uploadButton {
    font-size: 12px;
    padding: 5px 10px;
    border: 0px;
  }

  .formleftbody{
    float: left;
    width: 60%;
    padding-left: 12px;
    display: flex;
    align-items: center;
  }

  .add-footer{
      padding-bottom: 1rem;  
      text-align: right;
      float:left;
      width: 100%;

  }

  /* .close-btn-add{
      font-size: 12px;
      padding: 5px 10px; 
      border:0px
  } */

  /* .save-btn-add{
      font-size: 12px;
      padding: 5px 10px; 
      border:0px
  } */

  .list .form-control-add{
      width :100%;
      font-size: 16px;
      border-radius: 0;
      margin: 0;
      margin-bottom: 15px;
      border: 0;
      border-bottom: 1px solid #ccc;
      background-color: white;
      padding-bottom: 8px;
  }
  .form-control-add:focus{
      box-shadow: 0 0 0px  rgba(0, 123, 255, 0.5);
      border-color: #007BFF;
      border-bottom:2px solid  #007BFF ;
      outline: none; 
  }

  .floorAddButton{
    display: block;
  margin: auto;
  border: 0;
  border-radius: 10px;
  font-size: 14px;
  }

  .customForm_header
  {
    text-align: left;
    float: left;
    display: flex;
    width: 100%;
    justify-content: left;
    background: transparent;
    padding: 12px 12px 0 12px;
  }
  


  .add-footer .close-btn-add  {
    font-size: 14px;  
    padding: 6px 12px;
    margin-right: 0.5rem;
    background-color:rgb(0, 123, 255);
    border-radius: 4px;
    border: 1px solid;
    transition: all 0.3s ease;
    padding: 10px 15px ;
  }
  
  
  .add-footer .close-btn-add:hover 
 {
    padding: 10 px 18px; 
    background-color:rgb(0, 123, 255); 
    color: white; 
    border-color: transparent; 
    box-shadow: 0 8px 4px rgba(0, 0, 0, 0.6); 
  }

  .add-footer .save-btn-add  {
    font-size: 14px;  
    padding: 6px 12px;
    margin-right: 0.5rem;
    background-color:rgb(0, 123, 255);
    border-radius: 4px;
    border: 1px solid;
    transition: all 0.3s ease;
    padding: 10px 15px ;
  }
  
  
  .add-footer .save-btn-add:hover 
 {
    padding: 10 px 18px; 
    background-color:rgb(0, 123, 255); 
    color: white; 
    border-color: transparent; 
    box-shadow: 0 8px 4px rgba(0, 0, 0, 0.6); 
  }

  .formbody{
    max-height: 300px;
    overflow-x: scroll;
    width:100%;

     
  &::-webkit-scrollbar {
    width: 8px;
  }
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: rgba(0, 123, 255, 0.349) transparent;

  /* Customize the scrollbar thumb color */
  scrollbar-color: rgba(8, 8, 8, 0.349) transparent;

  /* Webkit-based browsers */
  &::-webkit-scrollbar-thumb {
    background-color: rgba(8, 8, 8, 0.349);
  }

  &::-webkit-scrollbar-thumb:hover {
    background-color: rgba(8, 8, 8, 0.349);
  }
  }

  .modal-content-add {
  /*  background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 40%;
    transform: translate(70%, 30%);
    height: auto;*/
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    background-color: white;
    border-radius: 8px;
    width: 650px;
    float: left;
    padding: 0;
    flex-direction: column;
  }

   .modal-content{
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
      /* border-top-color: rgb(204, 204, 204);
      border-right-color: rgb(204, 204, 204);
      border-bottom-color: rgb(204, 204, 204);
      border-left-color: rgb(204, 204, 204); */
    /* padding: 10px; */
    border-color: #d3d3d33b;
    width: 100%;
    background-color: #d3d3d300;
    padding-top: 10px;
  }

 .modal-content:hover {
    background-color: #F7F9F9;
  }

  @media (max-width: 768px) {

    .floor-post-div {
      padding:  10px 10px;
    }
    .right-side {
      padding: 0px 0rem 1rem 1rem;
    }
    .img-fluid{
      width: 120px;
      height: 120px;
    }
    .left-side{
      padding-left: 42px;
      padding-bottom: 16px;
    }
    .customforum-form{
 
      margin-bottom: 15px;
    }
   .content-container{
      width: 100%;
    }
    /* .customforum-form .form-labels-key {
      padding: 10px 0 10px 20px;
    }  */
    .customforum-form .form-labels-key{
    font-size: 12px;
    }
   .customforum-form .form-control-value{
   font-size: 14px;
    }
    .enlarged-img{
      margin-top: 35%;
      }
      .modal-content-add{
        display: flex;
        justify-content: center;
        align-items: center;
        height: auto;
        background-color: white;
        border-radius: 8px;
        width: 96%;
        float: left;
        padding: 0;
        flex-direction: column;
      }
      .enlarged-image-overlay .close-btn {
        position: absolute;
        top: 0px;
        right: 0px;
        font-size: 30px;
        cursor: pointer;
        color: white;
        display: block;
        background: none;
        left: 90%;
        padding: 0px;
        top: 10%;
      }
      /*  */
}


@media (min-width: 768px) and (max-width: 1023px) {
   /* .modal-content-add {
      width: 60%;
      transform: translate(35%, 50%);
    }*/
}

/* iPad in portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1023px) and (-webkit-min-device-pixel-ratio: 1) {
/*.modal-content-add {
  width: 60%;
  transform: translate(35%, 50%);
}*/
.content-container{
  width: 100%;
}
.img-fluid {
  width: 120px;
  height: 120px;}
}

/* iPad in landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1023px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
/*.modal-content-add {
  width: 60%;
  transform: translate(35%, 50%);
}*/
.content-container{
  width: 100%;
}
.img-fluid {
  width: 200px;
  height: 150px;}
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  margin-right: 5px; /* Adjust as needed */
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
