/**  Popup Grid styles  **/
.popup-grid .preamble {
	font-size: 22px;
	font-size: 2.2rem;
}
.popup-grid {
    max-width: none !important;
}
.popup-grid .item-wrap {
    margin-bottom: var(--global--gutter-x);
    background-size: cover;
    background-position: center;
}
.popup-grid .popup-link {
    display: block;
    position: relative;
    font-weight: 600;
    font-size: 22px;
    font-size: 2.2rem;
	line-height: 1.3;
    color: var(--global--color-white);
	cursor: url('/wp-content/themes/copthorne/assets/images/details-cursor.png') 37 37, auto;
	cursor: url("data:image/svg+xml,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' x='0' y='0' width='74' height='74' viewBox='0 0 74 74' xml:space='preserve'%3E%3Cpath d='M37 0C16.6 0 0 16.6 0 37s16.6 37 37 37 37-16.6 37-37S57.4 0 37 0z' fill='%23fff'/%3E%3Cpath fill='%23BA0B2F' d='M52 36H38V22h-2v14H22v2h14v14h2V38h14z'/%3E%3C/svg%3E") 37 37, auto;
	z-index: 1000;
    aspect-ratio: 2 / 1.3;
}
.popup-grid .popup-link:hover {
    color: var(--global--color-white);
    text-decoration: none;
}
.popup-grid .popup-link::before {
    content: '';
    position: absolute;
    top: 40%;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    /*background: rgba(0,0,0,0.25);*/
	background: linear-gradient(0deg,rgba(0, 0, 0,.5) 0%, rgba(0, 0, 0,0) 100%);
	transition: background ease .15s; 
}
.popup-grid .popup-link:hover::before {
    top: 0;
}
.popup-grid .popup-link .link-text {
    position: absolute;
    z-index: 5;
    bottom: 20px;
    left: 20px;
    right: 20px;
    transform: translate(0,0);
    transition: all ease-in-out .2s;
}
.popup-grid .popup-link:hover .link-text {
    transform: translate(0,-0.25em);
}

/**  Style the popup content  **/
.page .mfp-bg {
	  z-index: 50001;
}
.page .mfp-wrap {
	z-index: 50002;
}
.popup-grid .popup-content {
    display: none;
}
.mfp-content .popup-content {
    background: var(--global--color-white);
    width: 90%;
    margin: auto;
    max-width: 1400px;
    display: flex;
    position: relative;
}
.mfp-content .popup-content::after {
    content: '';
    display: block;
    height: 1px;
    visibility: hidden;
    overflow: hidden;
    clear: both;
}
.mfp-content .popup-content * {
    box-sizing: border-box;
}
.mfp-content .popup-content > div {
    width: 60%;
    flex: 0 0 60%;
    min-height: 600px;
}
.mfp-content .popup-content .popup-content-inner-wrap {
	padding: 5% 8% 140px 5%;
    position: relative;
}
.mfp-content .popup-content .popup-content-inner-wrap h2 {
    font-size: 32px;
    font-size: 3.2rem;
    color: var(--global--color-red);
	margin-bottom: 1.5rem;
}
.mfp-content .popup-content .popup-subtitle {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.mfp-content .popup-content .popup-content-inner-wrap h2 + p {
    font-size: 20px;
    font-size: 2rem;
}
.mfp-content .popup-content .popup-content-inner-wrap blockquote {
    position: relative;
    padding-left: 40px;
    margin-top: 40px;
    color: #4a4a4a;
	font-family: 'Melior';
}
.mfp-content .popup-content .popup-content-inner-wrap blockquote cite {
	color: #4a4a4a;
	font-family: "DIN Medium";
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.2;
	font-style: normal;
	margin-top: -5px;
}
.mfp-content .popup-content .popup-content-inner-wrap blockquote::after {
    content: '';
    display: block;
    position: absolute;
    left: 15px;
    top: 40px;
    bottom: 6px;
    width: 1px;
    background: var(--global--color-dark-green);
}
.mfp-content .popup-content .popup-content-inner-wrap blockquote p:last-child {
    margin-bottom: 0;
}
.mfp-content .popup-content .popup-content-inner-wrap blockquote p > em:first-child {
    color: var(--global--color-text);
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 1;
    font-style: normal;
}
.mfp-content .popup-content .popup-content-inner-wrap .svg-quotes {
    width: 30px;
    height: 30px;
    color: var(--global--color-dark-green);
}
.mfp-content .popup-content .popup-content-inner-wrap .quote-open {
    position: absolute;
    left: 0;
    top: 0;
}
.mfp-content .popup-content .popup-content-inner-wrap .link-wrap {
    position: absolute;
    bottom: 20px;
    left: 30px;
    right: 30px;
    border-top: 1px solid var(--global--color-v-light-gray2);
    padding-top: 12px;
    text-align: right;
}
.mfp-content .popup-content .popup-content-img-links {
    width: 40%;
    flex: 0 0 40%;
    background: var(--global--color-v-light-gray2);
}
.mfp-content .popup-content .popup-content-img-links .useful-links-wrap {
    padding: 15px 20px;
}
.mfp-content .popup-content .link-wrap .popup-link {
	font-size: 2.2rem;
	color: var(--global--color-text);
	text-decoration: none;
}
.mfp-content .popup-content .link-wrap .popup-link:hover {
	color: var(--global--color-red);
}
.mfp-content .popup-content .mfp-close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: block;
    width: 50px;
    height: 50px;
    background: var(--global--color-red);
    color: var(--global--color-white);
    opacity: 1;
}
@media screen and (max-width: 767px) {
	.mfp-content .popup-content {
		display: block;
		width: 100%;
	}
	.mfp-content .popup-content > div {
		width: 100%;
	}
	.mfp-content .popup-content .popup-content-img-links {
		width: 100%;
	}
	.mfp-content .popup-content .mfp-close {
    	position: fixed;
	}
}
