* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

html,
body {
  padding: 0;
  margin: 0;
  height:100%;
  width:100%;
  font-family:"Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";

}


/* Moadl window */
.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
  z-index: 9999999;
}
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 1rem 1.5rem;
  width: 300px;
  min-height: 125px;
}

.questionPanel{
  text-align: center;
  font-size:20px;
}
#yesButton, #noButton{
  padding: 5px 10px;
  margin: 5px; 
}

.show-modal {
  opacity: 1;
  visibility: visible;
  transform: scale(1.0);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}
/* Modal window end */


#wrapper {
  display: grid;
  grid-template-columns: 1fr repeat(1, minmax(300px, 4fr));
  grid-template-rows: auto;
  height:calc(100% - 230px);
  min-height:500px;
  overflow: hidden;
  border-bottom: 2px solid rgb(220 220 220);
}
#menu {
  width: 20%;
  float: left;
  padding: 20px;
}

#logo {
  visibility: visible;
  width: 180px;
  margin-bottom: 20px;
}

#jsMolWrapper {
  width: 100%;
  float: left;
}

#jsMol {
  overflow: hidden;
  width: 100%;
  height: 100%;
}


#container {
  display: block;
  z-index: 1;
  overflow-x: auto;
  width: auto;
  white-space: nowrap;
  padding: 10px;
  height:170px;
}

fieldset>legend {
  color: #18a83f;
  font-weight: bold;
}

fieldset {
  display: block;
  width: 250px;
  margin-bottom: 20px;
  border:2px solid #CEEFD6;
}

button{
	background-color:#CEEFD6;
	border:none;
	padding:5px;
	font-size:15px;
}

button:hover{
	background-color:#86da9b;
	cursor:pointer;
}



#chainName, #allSidechains, #noSidechains{
	margin:10px 0px 0px 20px;
	display:inline-block;
}

#chainName {
  display: none;
}

input:hover{
	cursor:pointer;
}

.terminus, .fivePrime, .threePrime{
  width: 223px;
  height:63px;
}

.item {
  /* margin-top: 240px; */
  display: inline-block;
  width: 50px;
  color: #000;
  border: 0;
  position: inherit;
  cursor: pointer;
  border: 2px solid rgba(0, 0, 0, 0);
}

.item:hover {
  border: 2px solid #00cc00;
}

.chain {
  background: #fff;
}

.item img {
  display: block;
  visibility: hidden;
  width: 50px;
  margin: auto;
}

.letter {
  display: block;
  text-align: center;
  height: 35px;
  line-height: 40px;
}

.written {
  display: block;
  height: 34px;
  width: 42px;
  color: #000;border:none;
  text-align:center;
  color:#A0A0A0;
}

.item:focus {
  border: 1px solid blue;
}

#generatePDF, #generateJPG {
  width: 210px;
  display: block;
  margin-top: 10px;
  font-size: 15px;
  text-align: center;
}


/* Tooltip */
.tippy-box, .tippy-arrow {
  background: #fff;
  padding: 0px;
  border-radius: 0px;
  border: 1px solid #000;
}

.tippy-content {
  padding: 0;
}
.tooltipImage {
  width: 300px;
  margin-bottom: -5px;
}




/* New Menu */
.hamburger-menu {
  /* z-index: 99999;  */
  position: relative; /* absolute */
  
}
#menu__toggle {
  opacity: 0;
}

#menu__toggle:checked ~ .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked ~ .menu__btn > span::before {
  top: 0;
  transform: rotate(0);
}
#menu__toggle:checked ~ .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  visibility: visible;
  left: 0;
}

.menu__btn {
  display: flex;
  align-items: center;
  position: fixed;
  top: 20px;
  left: 20px;
  visibility: hidden;
  width: 26px;
  height: 26px;

  cursor: pointer;
  z-index: 1;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;

  width: 100%;
  height: 2px;

  background-color: #000;

  transition-duration: .25s;
}
.menu__btn > span::before {
  content: '';
  top: -8px;
}
.menu__btn > span::after {
  content: '';
  top: 8px;
}

.menu__box {
  display: block;
  /* position: fixed; */
  /* visibility: hidden; */
  top: 0;
  /* left: -100%; */

  width: 300px;
  height: 100%;

  margin: 0;
  /* padding: 80px 20px; */
  padding: 0px 20px;
  list-style: none;

  background: #fff;
  /* box-shadow: 1px 0px 6px rgba(0, 0, 0, .2); */

  transition-duration: .25s;
}

.menu__item {
  display: block;
  padding: 12px 24px;

  color: #333;

  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 600;

  text-decoration: none;

  transition-duration: .25s;
}
.menu__item:hover {
  background-color: #CFD8DC;
}




@media only screen and (max-width: 512px) {
  #wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows:460px;
    overflow: hidden;
    border-bottom: 2px solid rgb(220 220 220);
  }

  .hamburger-menu {
    z-index: 99999; 
    position: absolute;
    
  }



  #menu{
    width: 100%;
    float: left;
    padding: 20px;
    position: absolute;
    z-index: 9999;
    background: #fff;
  }

  .menu__btn {
    display: flex;
    align-items: center;
    position: fixed;
    top: 20px;
    left: 20px;
    visibility: visible;
    width: 26px;
    height: 26px;
  
    cursor: pointer;
    z-index: 1;
  }

  .menu__box {
    display: block;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: -100%;
  
    width: 300px;
    height: 100%;
  
    margin: 0;
    padding: 80px 20px;
    list-style: none;
  
    background: #fff;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
  
    transition-duration: .25s;
  }

}


@media only screen and (min-width: 1700px) {
  #wrapper {
    grid-auto-rows: 570px;
  }
}

@media only screen and (min-width: 1920px) {
  #wrapper {
    grid-auto-rows: 670px;
  }
}

  @media only screen and (min-width: 2000px) {
    #wrapper {
      grid-auto-rows: 730px;
    }
}

@media only screen and (min-width: 2300px) {
  #wrapper {
    grid-auto-rows: 845px;
  }
}
