.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 100px;
  left: 0;
  top: 0px;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}
.modal-content {
  position: relative;
  padding: 0;
  max-width: 900px;
  width:100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}
@-webkit-keyframes animatetop {
  from {top:-100px; opacity:0} 
  to {top:0; opacity:1}
}
@keyframes animatetop {
  from {top:-100px; opacity:0}
  to {top:100; opacity:1}
}
.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.modal-header {
  padding: 2px 16px;
  color: white;
}
.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}
.modal-body .casestudies__item .casestudies__item-top-box {
    flex-direction: row;
}
.modal-body .casestudies__item .casestudies__item-top-box .casestudies__item-title-box {
    border-radius: 0px;
    border-top-right-radius: 20px;
	text-align: left;
	padding: 32px;
	padding-right: 50px;
}
.modal-body .casestudies__item .casestudies__item-top-box .casestudies__item-img {
    border-radius: 0px;
    border-top-left-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
	border-right: 1px solid var(--gold);
}
.modal-body .casestudies__item {
    border-radius: 20px;
	background: var(--white);
	height: 100% !important;
}
.modal-body {
    height: 100%;
}
.modal-header span.close {
    position: absolute;
    right: 32px;
    top: 32px;
    background: var(--white);
    width: 40px;
    height: 40px;
    font-size: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    border: 1px solid var(--light-gold);
    color: var(--blue);
}
.case-study-pop-content h3 {
    font-size: 32px;
    line-height: 42px;
    color: var(--blue);
    font-family: var(--font-main);
    font-weight: 700;
}
.case-study-pop-content h4 {
    margin-top: 30px;
    font-size: 22px;
    line-height: 30px;
    text-transform: uppercase;
    color: var(--blue);
    font-family: var(--font-main);
    font-weight: 700;
}
.case-study-pop-content ul li {
    color: var(--blue);
}
.case-study-pop-content {
    padding: 32px;
    font-size: 20px;
    line-height: 31px;
    font-family: var(--font-second);
    color: var(--blue);
	opacity: 90%;
	overflow: auto;
    font-weight: 400;
    height: 450px;
}
.case-study-pop-content ul li::marker {
    color: var(--gold);
}
.modal-body .case-study-pop-content::-webkit-scrollbar {
  width: 5px;
  border-radius: 5px !important;
}
.modal-body .case-study-pop-content::-webkit-scrollbar-track {
  background: #c1c1c1;
}
.modal-body .case-study-pop-content::-webkit-scrollbar-thumb {
  background: #888;
}
.modal-header span.close:hover {
    background: var(--gold);
	color: var(--white)
}

/* Modal- End */