﻿*, *:before, *:after {
  box-sizing: border-box;
}

.modal {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  display: none;
  padding: 0 20px;
  z-index: 2;
}
  
.modal-inner {
  background-color: #fff;
  border-radius: 3px;
  width: 80%;
  margin: 50px auto;
  padding: 20px;
  z-index :100000;
  
}

/* Placed on the body while a modal is open to prevent scrolling. */
.showing-modal {
  overflow: hidden;
}

/* So the scrollbar calculation is correct. */
body {
  margin: 0;
}

/* The rest is for the demo only. */
#open {
  
}

#open:hover {

}



#site-content {
  background-color: #fff;
  border: 1px solid #eee;
  padding: 10px;
}