.modal-button:hover{
    cursor: pointer;
  }
  
  .modal{
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
  }
  
  .modal-content{
    background-color: white;
    padding: 20px;
    box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.2);
    border-radius: 2px;
    max-width: 525px;
    margin: 1.75rem auto;
    animation-name: modalOpen;
    animation-duration: 0.5s;
  }
  
  .close-button{
    float: right;
    color: rgb(146, 146, 146);
    font-size: 2.5rem;
    bottom: 35px;
    left: 10px;
    position: relative;
  }
  
  .close-button:hover, .close-button:focus{
    cursor: pointer;
    color: red;
    text-decoration: none;
  }

  @keyframes modalOpen{
      from {opacity: 0}
      to {opacity: 1}
  }

/* TOFA classes */

.view-project-content {
	padding-top: 20px;
}

.project-media{min-height:300px;
  background-size:contain;
  background-repeat: no-repeat;
}
.project-media img {
  width: 100%;
  background-repeat: no-repeat;
}

.view-project-content {
	padding-top: 20px;
}
.pt-10 {
	padding-top: 10px;
}

.modal-title{
    margin: 20px 0;
}
.modal-title h2 {
	font-size: 24px;
	margin-bottom: 8px;
}
.modal-title span {
	margin-bottom: 15px;
	display: block;
	font-weight: 500;
	color: #E41919;
}

.view-project {
	padding: 20px;
}

.project-info-list{
    list-style: none;
    width: 100%;
    padding: 0;
}

.project-info-list li {
	position: relative;
	padding: 15px 0;
	margin: 0 0 4px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	color: #444;
	font-weight: 600;
	font-size: 13px;
}
.project-info-list li:last-child {
	border-bottom: none;
}
.project-info-list li span {
	margin-bottom: 2px;
	display: block;
	font-size: 12px;
	color: #666;
	font-weight: 400;
}
.project-info-list a {
    font-size: 14px;
    color: #E41919;
    text-decoration: none;
}


/* MEDIA QUERIES */
@media screen and (max-width: 1040px){
  .modal-content{
    margin-top: 110px;
  }
}
