 body,
 html {
  height: 100%;
  width: 100%;
     background-image: url('/picture/background.png');
 }


 .container {
  text-align: center;
  margin: 10px;/**Margin of 10px around the container**/
}


.progressbar
 {
     width: 5%;
     height: 5px;
     background-color: #4CAF50;
     margin-left: 20%;
     border-radius: 5px;
     margin-top: 10px;
 }



 .linkimage
 {
     border: 1px solid #001f54;
     border-radius: 2px;
 }



 .leftcontainer {
     align-items: flex-start;
     margin: 10px;
     text-align: left;
     justify-content: space-between;
 }

 .displayresult{
  background-color:#dfdfdf/**#39ff14**/;
  border-radius: 10px;
  padding: 10px;
  color:darkred;
  margin: auto;
 }


 .networkheading {
  text-align: center;
  border-radius: 15px;
  padding: 10px;
   background-color:  #dfdfdf/**#39ff14**/;/**#18d637**/
   color: black;
   font-size:small;
   margin: auto;
 }

.heading-class{
  padding: 15px;
  background-color:#b0c4de; 
  border-radius: 20px;
}

h3{
  font-size: smaller;
}

 .grid-container-tab-buttons{
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #555;
  color: white;
  padding: 2px;
  margin: auto;
}

.grid-container-tab-buttons .grid-item {
  border-right: 1px solid rgba(255, 255, 255, 0.9);
  padding: 5px;
  overflow: hidden;
  text-align: center;
}

.grid-container-mainpage-table {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 2px solid rgba(0, 0, 0, 0.322);
  border-top: 2px solid rgba(0, 0, 0, 0.322);
  padding:5px;
  margin: auto;
  gap: 10px;
}

.grid-container-mainpage-table .grid-item {
  
  overflow: hidden;
  word-wrap: break-word;
  /**border-right: 1px dashed rgba(0, 0, 0, 0.322);**/
  padding: 5px;
  margin: 3px;
  text-align: center;
  }

  .grid-container-showcontracts-table {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0px;
    margin: auto;
  }

 
  
  .grid-container-showcontracts-table .grid-item {
    background-color: #E0E0E0;	
    border-bottom: 1px solid rgba(0, 0, 0, 0.322);
    margin-top: 5px;
    color : navy;
    overflow: hidden;
    word-wrap: break-word;
    /**border-right: 1px dashed rgba(0, 0, 0, 0.322);**/
    padding: 5px;
    }


 .labels {
     font-size: smaller;
     font-weight: bold;
 }


 .qbtn {
   font-size: medium;
   position: fixed;
   right: 0%;
   top: 0%;
 }

 pre {
   overflow-x: auto;
   white-space: pre-wrap;
   white-space: -moz-pre-wrap;
   white-space: -o-pre-wrap;
   word-wrap: break-word;
 }

 .tactile-button {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: normal;
  background-color: #d3d3d3; /* Light grey */
  border: 2px solid #001f54; /* Navy blue border */
  border-radius: 12px; /* Rounded edges */
  color: #000040;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease-in-out;
  
}

/* Hover effect */
.tactile-button:hover {
  background-color: #c6c6c6;
}

/* Pressed effect - tactile feel */
.tactile-button:active {
  background-color: #bababa; /* Slightly darker grey */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Shadow contracts to simulate press */
  transform: translateY(2px); /* Move downwards to simulate press */
}

  /* Styling the select box container */
  .select-container {
    background-color: #e0e0e0; /* Lighter grey container */
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Slight shadow */
    display: inline-block;
}

/* Retro style for the select box */
.select-class {
    background-color: #f0f0f0; /* Very light grey background */
    color: #333; /* Dark text for contrast */
    font-size: 14px;
    padding: 10px 20px;
    border: 2px solid #bdbdbd; /* Light grey border */
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    text-align: start;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto; /* Allow the width to adjust based on content */
    min-width: 150px; /* Ensure the select box has a minimum width */
}

/* Hover effect on select box */
.select-class:hover {
    background-color: #e0e0e0; /* Slightly darker grey on hover */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

/* Retro font styling for options */
.select-class option {
    background-color: #f0f0f0; /* Light grey for options */
    color: #333; /* Dark text for contrast */
    padding: 12px;
    font-size: 16px;
}

/* Hover effect on options */
.select-class option:hover {
    background-color: #e0e0e0; /* Slightly darker grey for options on hover */
}

.input-class{
  padding: 10px;   /* Add padding for space inside */
  border: 2px solid grey; /* Grey border with 2px width */
  border-radius: 5px; /* Optional: rounded corners */
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1); /* Grey shadow effect */
}

.input-class:focus {
  border-width:thin;
}


/* Hover effect */
.input-class:hover {
border-width:medium;
}

 .btn {
  background: #dae4eb;
  background-image: -webkit-linear-gradient(top, #dae4eb, #cfcfcf);
  background-image: -moz-linear-gradient(top, #dae4eb, #cfcfcf);
  background-image: -ms-linear-gradient(top, #dae4eb, #cfcfcf);
  background-image: -o-linear-gradient(top, #dae4eb, #cfcfcf);
  background-image: linear-gradient(to bottom, #dae4eb, #cfcfcf);
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  font-family: Arial;
  color: #000040;
  font-size: 12px;
  padding: 10px 20px 10px 20px;
  border: solid #000040 2px;
  text-decoration: none;
}

.btn:hover {
  background: #dbdbdb;
  background-image: -webkit-linear-gradient(top, #dbdbdb, #f0f0f0);
  background-image: -moz-linear-gradient(top, #dbdbdb, #f0f0f0);
  background-image: -ms-linear-gradient(top, #dbdbdb, #f0f0f0);
  background-image: -o-linear-gradient(top, #dbdbdb, #f0f0f0);
  background-image: linear-gradient(to bottom, #dbdbdb, #f0f0f0);
  text-decoration: none;
}

.smallbutton
{
  padding:5px;
  border-radius: 10px;
}


 .btn .btnhelptext {
     visibility: hidden;
     width: 15%;
     background-color: black;
     color: ghostwhite;
     text-align: center;
     border-radius: 6px;
     padding: 5px 5px;

     /* Position the tooltip */
     position: absolute;
     z-index: 1;
 }

 .btn:hover .btnhelptext {
     visibility: visible;
 }

 /*Mobile Devices Query*/
@media screen and (max-width:1024px) {
  .grid-container-tab-buttons{
    min-width: 85%;
    max-width: 90%;
  }

  .grid-container-mainpage-table{
    min-width: 50;
    max-width: 90%;
  }

  .grid-container-showcontracts-table{
    min-width: 50;
    max-width: 95%;
  }

  .grid-container-showcontracts-table .grid-item {
    font-size:small;
  }

  .select-event-period{
    margin-inline-start: 2.5%;
  }


  .networkheading
  {
    min-width: 35%;
    max-width: 65%;
    font-size: medium;
  } 

  .displayresult
  {
    min-width:80%;
    max-width: 90%;
    font-size: smaller;
  }

  h4{
    display: inline;
    font-size: smaller;
    /**border-bottom: 1px solid;**/
  }

  #walletlinks{
    display: none;
  }

  #hashtoregister{
    min-width: 100%;
    max-width: 100%;
    font-size: small;
  }

  #ensname{
    min-width: 45%;
    max-width:50%;
  }

  #newowneraddress{
    min-width: 100%;
    max-width: 100%;
    font-size: small;
  }

  label[for=fileitem]
  {
    display: none;
  }

  .input-class {
    border-width:thin;
    min-width:90%;
 }
}/*Mobile Devices Query*/

/*Desktop Devices Query*/
@media screen and (min-width:1025px) {
  .grid-container-tab-buttons{
    min-width: 50%;
    max-width: 60%;
  }

  .grid-container-mainpage-table{
    min-width: 50;
    max-width: 60%;
  }

  .grid-container-showcontracts-table{
    min-width: 50;
    max-width: 60%;
  }

  .select-event-period{
    
    margin-inline-start: 20%;
  }

  .networkheading
  {
    min-width: 35%;
    max-width: 50%;
    font-size: large;
  } 

  h4{
    display: inline;
    /**border-bottom: 1px solid;**/
  }

  .displayresult
  {
    min-width:50%;
    max-width: 60%;
  }

  #walletlinks{
    display: block;
  }

  #hashtoregister{
    min-width: 60%;
    max-width: 70%;
    font-size: smaller;
  }

  #ensname{
    min-width: 15%;
    max-width:20%;
  }

  #newowneraddress{
    min-width: 45%;
    max-width: 70%;
    font-size: smaller;
  }

  label[for=fileitem]
{
  display: inline-block;
}

 .btn:hover .btnhelptext {
     visibility: visible;
 }

 .input-class {
  border-width:thin;
  min-width: 45%;
}
}/*Desktop Devices Query*/

 .loader {
   margin: 0 auto;
   border: 8px solid #f3f3f3;
   border-radius: 50%;
   border-top: 8px solid green;
   border-bottom: 8px solid navy;
   width: 40px;
   height: 40px;
   -webkit-animation: spin 2s linear infinite;
   animation: spin 2s linear infinite;
 }

 @-webkit-keyframes spin {
   0% {
     -webkit-transform: rotate(0deg);
   }

   100% {
     -webkit-transform: rotate(360deg);
   }
 }

 @keyframes spin {
   0% {
     transform: rotate(0deg);
   }

   100% {
     transform: rotate(360deg);
   }
 }

 .btn-group button {
   background-color: #d3d3d3;
   /* Green background */
   border: 1px solid #d3d3d3;
   /* Green border */
   color: white;
   /* White text */
   padding: 5px;
   /* Some padding */
   cursor: pointer;
   /* Pointer/hand icon */
   /*width:75px;*/
   float: none;
   /*Float the buttons side by side */
   /* display: block;  /*Stack buttons vertically */
 }

 .btn-group2 button {
   background-color: whitesmoke;
   /* Green background */
   border-color: green;
   /* Green border */
   border-width: thin;
   border-radius: 5px;
   font-size: large;
   color: green;
   /* White text */
   padding: 10px 24px;
   /* Some padding */
   cursor: pointer;
   /* Pointer/hand icon */
   /*width:75px;*/
   float: none;
   /*Float the buttons side by side */
   /* display: block;  /*Stack buttons vertically */
 }

 .btn-group2 button:hover {
  border-width: medium;
 }

 .btn-image {
   margin: 0px;
   padding: 5px;
 }

 .centerbottom {
   margin: 5px;
   position: absolute;
   bottom: 0%;
   left: 0;
   right: 0;
 }

 /* Clear floats (clearfix hack) */
 .btn-group:after {
   content: "";
   clear: both;
   display: table;
 }

 .btn-group button:not(:last-child) {
   border-right: none;
   /* Prevent double borders */
 }

 /* Add a background color on hover */
 .btn-group button:hover {
   background-color: #ededed;
 }


 .loadingnetwork:after {
   content: ' .';
   animation: dots 1s steps(1, end) infinite;
 }

 @keyframes dots {

   0%,
   12.5% {
     opacity: 0;
   }

   25% {
     opacity: 1;
   }

   37.5% {
     text-shadow: .5em 0;
   }

   50% {
     text-shadow: .5em 0, 1em 0;
   }

   87.5%,
   100% {
     text-shadow: .5em 0, 1em 0, 1.5em 0, 2em 0, 2.5em;
   }
 }

 .fetchingdata:after {
 
  content: ' .';
  animation: fetchingdatadots 1s steps(1, end) infinite;
}

@keyframes fetchingdatadots {
  0%, 12.5% {
      opacity: 0;
  }
  25% {
      opacity: 1;
  }
  37.5% {
      text-shadow: .5em 0;
  }
  50% {
      text-shadow: .5em 0, 1em 0;
  }
  62.5% {
      text-shadow: .5em 0, 1em 0, 1.5em 0;
  }
  75% {
      text-shadow: .5em 0, 1em 0, 1.5em 0, 2em 0;
  }
  87.5%, 100%{
      text-shadow: .5em 0, 1em 0, 1.5em 0, 2em 0, 2.5em;
  }
}	

/*
*/
.barloader {
  display: inline-block;
  position: relative;
  margin: auto;
  width: 64px;
  height: 64px;
}
.barloader div {
  display: inline-block;
  position: absolute;
  margin: auto;
  left: 6px;
  width: 13px;
  
  animation: barloader 1s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.barloader div:nth-child(1) {
  left: 6px;
  animation-delay: -0.24s;
  background:green;
}
.barloader div:nth-child(2) {
  left: 26px;
  animation-delay: -0.12s;
  background:darkgrey;
 
}
.barloader div:nth-child(3) {
  left: 45px;
  animation-delay: 0;
  background:navy;
}
@keyframes barloader {
  0% {
    top: 6px;
    height: 51px;
  }
  50%, 100% {
    top: 19px;
    height: 26px;
  }
}

.lds-ellipsis {
  /*display: inline-block;*/
  margin: 0 auto;
  position: relative;
  width: 64px;
  height: 64px;

}
.lds-ellipsis div {
  position: absolute;
  top: 27px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 6px;
  animation: lds-ellipsis1 0.6s infinite;
  background:green;
}
.lds-ellipsis div:nth-child(2) {
  left: 6px;
  animation: lds-ellipsis2 0.6s infinite;
  background:darkgrey;
}
.lds-ellipsis div:nth-child(3) {
  left: 26px;
  animation: lds-ellipsis2 0.6s infinite;
  background:navy;
}
.lds-ellipsis div:nth-child(4) {
  left: 45px;
  animation: lds-ellipsis3 0.6s infinite;
  background:black
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(19px, 0);
  }
}



/*Start Tab Css*/

 /* Style tab links */
 .tablink {
  cursor: pointer;
  padding: 14px 16px;
}

.tablink:hover {
  background-color: #777;
}

/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
  color: black;
  display: none;
  padding: 10px 10px;
  height: 100%;
  /**background-image: url('/picture/background.png');**/
}


 /**
 #create {background-color: ivory;}
 #payer {background-color: ivory;}
 #payee {background-color: ivory;}
 #moderator {background-color: ivory;}
**/
/*End Tab Css */


 .txnhash {
   margin: 0 auto;
   width: 60%;
   padding: 10px;
   background-color: #DAF7A6;
   color: navy;
 }

