.modal-window {
  position: fixed;
  background-color: rgba(200, 200, 200, 0.75);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.modal-window:target {
  opacity: 1;
  pointer-events: auto;
}

#open-avg {
  opacity: 1;
  pointer-events: auto;
}

.modal-window > div {
    position: relative;
    margin: 5% auto;
    padding: 2rem 0;
    background: #fff;
    color: #444;
}

.modal-header-h1, .modal-content, .modal-content-nooverflow {
    padding: 0 2rem;
}

.modal-window header {
  font-weight: bold;
}

.modal-close {
    color: #fff;
    line-height: 50px;
    font-size: 80%;
    position: absolute;
    right: 3px;
    text-align: center;
    top: 45px;
    width: 70px;
    text-decoration: none;
}

.modal-close:hover {
  color: #000;
}

.modal-window h1 {
  font-size: 150%;
  margin: 0 0 10px;
}

/*styling*/
.modal-content{
    max-height: 680px;
    background: none;
    overflow-y: auto;
    padding-top: 13px;
}

h1 + .modal-content{
    padding-top: 40px;
    margin-top: -40px;
}

.modal-header{
    border-radius: 4px 4px 0 0;
    border-bottom: none;
}

.modal-footer{
    margin-top: 15px;
    /*height: 35px;*/
}

.modal-body{
	max-height: 350px;
	overflow-x: hidden;
    background: #FFFFFF;
    padding-bottom: 14px;
}

.close-btn {
  /* NOTE: `close-btn` class must be positioned (i.e., not have a position property set to the default `static`). In this demo, this is achieved by adding the `center` class (see below) which sets the position to absolute */
	width: 1.875rem;
	height: 1.875rem;
	cursor: pointer;
	background: #edae34; /* Just shows size of x within button */
}

.close-btn::before,
.close-btn::after {
	background: #ffffff;
	content: '';
	position: absolute;
	top: 0.875rem;
	width: 1.625rem;
	height: 0.1875rem;  /* Thickness of lines. 3px / 16 = 0.1875rem */
}

.close-btn::before {
	transform: rotate(45deg);
	left: 0.125rem;
}

.close-btn::after {
	transform: rotate(-45deg);
	right: 0.125rem;
}

/* Add the `center` class to center the close button within its parent */
.close-center {
	margin: auto;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

/* Make text invisible but allow screen readers to know it exists */
.invisible-text {
	display: inline-block;
	overflow: hidden;
	text-indent: 100%;
	color: transparent;
	white-space: nowrap;
}

.modal-line {
    margin-top: -26px;
    margin-bottom: 37px;
}

.modal-line-left {
    width: 59%;
    border-bottom: 10px solid #EDAE34;
    border-right: 10px solid transparent;
    transform: scaleY(-1);
    z-index: 101;
    float: left;
    box-sizing: border-box;
}

.modal-line-right {
    width: 41%;
    border-top: 10px solid #505050;
    border-left: 10px solid transparent;
    transform: scaleY(-1);
    z-index: 101;
    float: right;
    box-sizing: border-box;
}

.modal-header-border {
    border-top: solid 2px #c8c8c8;
    margin: 0 2rem;
}

.session-icon {
    display: none;
}

.modal-icon {
    display: none;
}

.modal-content p:first-child {
    margin-top: 0;
}

@media (min-width: 768px) {
    .session-icon {
        display: block;
        padding: 0 2rem;
        margin: 0 20px;
    }

    .modal-icon {
        display: block;
        margin: 0 20px;
    }

    .modal-window > div {
        width: 800px;
        position: relative;
        margin: 5% auto;
        padding: 2rem 0;
        background: #fff;
        color: #444;
    }
}