* {
  margin: 0;
  padding: 0;
  list-style-type: none;
  box-sizing: border-box;
  --background-color: white;
}
p,
label,
input,
select,
a,
div,
button {
  font-size: 13px;
  font-family: Tahoma;
}
.container {
  width: 100%;
  --background-color: #f4f6f6;
  --padding: 0px 4%;
}
.document-title {
  text-align: left;
  padding: 10px;
  background-color: #eaf2f8;
  box-shadow: 0 0 1px;
  position: sticky;
  width:92%;
  margin:auto;
  top:0;
}
.document-title a {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
}
.document-title a img {
  height: 100%;
  opacity: 0.2;
}
.header-container {
  padding: 0px 4%;
  margin-top: 20px;
  width: 100%;
  --background-color: orange;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}
.header {
  width: 35%;
  --background-color: aliceblue;
}
.headitem .form-group{
    display:flex;
    flex-direction:row;
    justify-content:flex-end;
    column-gap:10px;
}
.header .form-group {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 3px 0px;
    box-sizing: border-box;
}

.form-group .header-label {
  width: 40%;
  border-bottom: 1px solid #bfc9ca;
}
.form-group .header-label20 {
    width: 20%;
    border-bottom: 1px solid #bfc9ca;
}
.form-group .header-label30 {
    width: 30%;
    border-bottom: 1px solid #bfc9ca;
}
.form-group .header-text {
  width: 60%;
  /*outline: 1px solid gray;*/
  border: 1px solid #bfc9ca;
  padding: 3px;
}
.body-container {
  padding: 0px 4%;
  margin: 0;
  margin-top: 20px;
  --background-color: rgb(218, 202, 112);
}
.body-container .btn-tabs {
  display: flex;
  --background-color: greenyellow;
  padding: 0;
  margin: 0;
}
.btn-tabs .btn-contents,
.btn-tabs .btn-attachments, .btn-tabs .btn-inventory {
    padding: 5px 8px;
    margin: 0;
    --width: 100px;
    border: 1px solid gray;
    outline: none;
    --border-top-left-radius: 5px;
    --border-top-right-radius: 5px;
    cursor: pointer;
    border-bottom: none;
    text-align: center;
    background-color: #eaeded;
}
.btn-tabs .btn-tabs-hover:hover {
  background-color: #eaeded;
}
.btn-tabs .btn-tabs-active {
  background-color: white;
}
.body-container .contents-tabs {
  width: 100%;
  height: 300px;
  border: 1px solid gray;
  padding: 10px;
}
.body-container .attachments-tabs {
    display: none;
    width: 100%;
    height: 300px;
    border: 1px solid gray;
    padding: 10px;
}
.body-container .inventory-tabs {
    display: none;
    width: 100%;
    height: 300px;
    border: 1px solid gray;
    padding: 10px;
}

.body-container .contents-tabs table,
.body-container .attachments-tabs table, .inventory-tabs table {
    width: 100%;
    border-collapse: collapse;
}
.body-container .contents-tabs table th,
.body-container .contents-tabs table td {
  border: 1px solid gray;
  padding: 3px;
}
.body-container .attachments-tabs table th,
.body-container .attachments-tabs table td {
  border: 1px solid gray;
  padding: 3px;
}
.body-container .inventory-tabs table th,
.body-container .inventory-tabs table td {
    border: 1px solid gray;
    padding: 3px;
}
.footer-container {
  padding: 0px 4%;
  width: 100%;
  margin-top: 10px;
  --background-color: orange;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
}
.footer {
  width: 45%;
  --background-color: aliceblue;
}
.footer .form-group {
  width: 100%;
  display: flex;
  flex-direction: row;
  padding: 3px 0px;
  box-sizing: border-box;
}
.footer .form-group .header-label {
  width: 40%;
  border-bottom: 1px solid #bfc9ca;
}
.footer-left .form-group .header-label {
  width: 30%;
}
.footer .form-group .header-text {
  width: 60%;
  /*outline: 1px solid gray;*/
  border: 1px solid #bfc9ca;
  padding: 3px;
  text-align: right;
}
.footer-left .form-group .header-text {
  width: 70%;
}
.footer .form-group textarea {
  width: 70%;
  /*outline: 1px solid gray;*/
  border: 1px solid #bfc9ca;
  padding: 3px;
}
.btn-group-left,
.btn-group-right {
  margin-top: 20px;
}
.btn-group-left .form-group,
.btn-group-right .form-group {
  column-gap: 5px;
}
.footer.btn-group-right .form-group {
  display: flex;
  flex-direction: row;
  justify-content: right;
}
.footer .btn {
  padding: 8px;
  color: white;
  border: none;
  outline: none;
  --border-radius: 3px;
  cursor: pointer;
}
.btn {
    padding: 8px;
    color: white;
    border: none;
    outline: none;
    --border-radius: 3px;
    cursor: pointer;
}

.footer .btn:hover {
  opacity: 0.8;
}
.btn-submit {
  width: 100px;
  background-color: #239b56;
}
.btn-cancel {
  width: 100px;
  background-color: #f5b041;
}
.btn-copy-from,
.btn-copy-to {
  width: 140px;
  background-color: #2874a6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drop-down-btn {
  background-color: #a9cee8;
  display: none;
}
.footer .sub-btn {
  width: 140px;
  padding: 8px;
  border: none;
  outline: none;
  cursor: pointer;
  border-bottom: 0.5px solid silver;
}
.footer .sub-btn:hover {
  background-color: #fcf3cf;
}
nav.nav-footer {
  background-color: #d4e6f1;
  margin-top: 10px;
  padding: 10px 10px;
  box-shadow: 0 0 1px;
}
/*input[type="text"]:focus {
  border: 1px solid #2471a3;
}*/
input[type="text"] {
    border: 1px solid silver ;
    outline:none;
}
.alert-container .body-alert .content-alert .table {
    width:100%;
}
.loader {
    display: none;
    position: fixed;
    z-index: 100;
    background-image: url('../Images/loading.gif');
    opacity: 0.4;
    background-repeat: no-repeat;
    background-position: center;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    background-size: 300px 300px;
    z-index: 999999;
}

/* ------------------------------------Reponsive-------------------------------- */
@media (max-width: 575px) {
  p,
  label,
  input,
  select,
  a,
  div,
  button {
    font-size: 10px;
  }
  .container {
    --padding: 0px 5px;
  }
  .document-title {
    text-align: left;
    padding: 10px;
    background-color: #eaf2f8;
    box-shadow: 0 0 1px;
    width:100%;
    position:sticky;
    top:0;
    
  }
  .header-container {
    padding: 0px 5px;
  }
  .header {
    width: 48%;
  }
  .body-container {
    padding: 0px 5px;
  }
  .footer-container {
    padding: 0px 5px;
  }
  .footer {
    width: 48%;
  }
  .footer .btn {
    padding: 7px;
  }
  .btn-submit,
  .btn-cancel {
    width: 80px;
  }
  .btn-copy-from,
  .btn-copy-to {
    width: 110px;
  }
  .footer .sub-btn {
    width: 110px;
    padding: 7px;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  p,
  label,
  input,
  select,
  a,
  div,
  button {
    font-size: 11px;
  }
}

/* medium devices (tablets, less than 992px)*/
@media (min-width: 768px) and (max-width: 991.98px) {
  p,
  label,
  input,
  select,
  a,
  div,
  button {
    font-size: 12px;
  }
}

/* large devices (desktops, less than 1200px)*/
@media (min-width: 992px) and (max-width: 1199.98px) {
}

/* x-large devices (large desktops, less than 1400px)*/
@media (min-width: 1200px) {
}
