* {
  box-sizing: border-box;
}

html, body {
    margin: 0px;
    padding: 0px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: rgb(215, 215, 215);
  }


#toolname {
  margin: 20px 110px 0px;
  padding: 0px;
}


#page-logo {
  display: inline-block;
}

.menu {
  display: inline-block;
}

#SPASE-mini-logo {
  display: inline-block;
  height: 50px;
  margin:0px;
  padding:15px;
}



#INRS-logo{
  margin: 10px 10px;
  height: 30px;
  padding:0px;
}





.main-menu{
  margin: 12px 0px 0px;
  float:left;

}

.header {
    top:0px;
    left:0px;
    right:0px;
    height: 50.3px;
    text-align: center;
    position: fixed;
    width: 100%;
    background: #101a21;
    z-index: 10;
    min-width: 1000px;
  }

.menu-item {
    font-size: 20px;
    color:white;
    margin: 0px;
    padding:15px;
    text-decoration:none;
  }

.menu-item:hover, #pipeline:hover {
    color:black;
    text:bold;
    background-color: #c0d6ff;
  }

  #pipeline
{
  color:black;
  font-size: 20px;
  background-color: #3d6ec9;
  margin: 0px;
  padding:15px;
  text-decoration: none;
} 


  .mini-logo-container {
    background-color: transparent;
    display: inline-block;
    float: left;
    height:50px;
  
  }

 .mini-logo-container:hover {
  background-color: #c0d6ff;
 } 

#SPASE-mini-logo:hover {
    filter:brightness(0%);
  }

  .footer {
    position:fixed;
    margin: 0px;
    bottom:0px;
    left: 0px;
    right:0px;
    width: 100%;  
    height: 30px;
    background-color: #101a21;
    z-index: 10;
  }
  
  .footer-note {

    display: inline-block;
    padding: 2px;
    margin:7px 12px;
    color:white;
    z-index: 11;
    max-width: 70%;
    left: 0px;
    position: fixed;
  }

  .contact-us {
    display: inline-block;
    position:fixed;
    padding: 2px;
    margin:7px 12px;
    color:white;
    z-index: 12;
    text-align:right;
    position: fixed;
    right: 0px;
  }


  /* end of header and footer */

  #main-title {
    display: block;
    font-weight:1000;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    width: 80%;
    margin: 100px 0px 0px 200px;
  }

.top-section {
  display:flex;
  margin: 20px 200px 30px;
  padding:0px;
  text-align: center;
  min-width: 600px;
  justify-content: space-between;
}

.top-left{
  display: inline-block;
  justify-content:space-between;
  background-color:darkgray;
  padding:20px;
  text-align:left;
  height:275px;
  flex: 0 0 30%;
  border-radius: 5px;
} 

.top-right { 
  display: inline-block;
  justify-content:space-between;
  padding: 20px;
  background-color: darkgray;
  text-align: left;
  height:275px;
  flex: 1 1 60%;
  margin-left: 30px;
  position: relative;
  border-radius: 5px;
}

#run-name {
  width: 100%;
  height: 40px;
  margin-bottom: 20px;
}

.input-prompt {
  padding: 0px 0px 10px 0px;
  margin: 0px;
}

.pdbfile-input {
  color:blue;
}

#emailaddress {
  width: 60%;
  height: 40px;
}


#residueselect {
  width: 100%;
  padding: 20px;
  height: 100px;
  word-wrap: break-word;
  word-break: break-all;
}

#selection-notice {
  display:inline-block;
  position: relative;
  top: 20px;
  width: 70%;
  font-size: 0.8vw;
}

#selection-tool {
  display:inline-block;
  position: absolute;
  right: 20px;
  bottom: 20px;
  background-color:#0053c8;
  text-decoration: none;
  color: white;
  border-radius: 5px;
  width: 20%;
  height: auto;
  padding:20px;
  font-size: 0.8vw;
  text-align: center;
}

#selection-tool:hover {
  background-color:#6087bd;
  color:black;
  border: 2px solid black;
}

.middle-section {
  display:block;
  margin: 0px 200px 50px 200px;
  background-color:darkgray;
  color:lightgray;
  height: 60px;
  min-width: 600px;
  padding: 20px;
  border-radius: 5px;
}

.bottom-section {
  text-align: center;
  min-width: 600px;
  margin: 0px 200px;
}

.submit-button{
  display: inline-block;
  width: 100px;
  background-color:#0053c8;
  text-decoration: none;
  color: white;
  border-radius: 5px;
  padding: 10px;
}

.submit-button:hover {
  background-color:#6087bd;
  color:black;
  border: 2px solid black;
}

.terms-conditions {
  display: flex;
  justify-content:center;
}

#agree-box {
  display: flexbox;
}

#agree-text {
  display:flexbox;
}
