.popup {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 13000;
	display: none;
}

.popup.active {
	display: block;
}

.popup-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.3);
	z-index: 1;
	opacity: 0;
}

.popup.active .popup-overlay {
	-webkit-animation: reveal-popup-overlay .5s forwards;
	animation: reveal-popup-overlay .5s forwards;
}

@-webkit-keyframes reveal-popup-overlay {
    0%   { 
        opacity: 0; 
    }
    100%   {
        opacity: 1; 
    }
}

@keyframes reveal-popup-overlay {
    0%   { 
        opacity: 0; 
    }
    100%   {
		opacity: 1; 
    }
}

.popup-container {
	position: absolute;
	top: 200%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	padding: 50px;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	background-color: #fff;
/*	height: 700px;*/
    width: 1200px;
	z-index: 10;
	opacity: 0;
    max-height: calc(100vh - 100px);
    max-width: 100vw;
    overflow-y: auto;
	transition: .5s;
	-o-transition: .5s;
	-ms-transition: .5s;
	-moz-transition: .5s;
	-webkit-transition: .5s;
}

.popup.active .popup-container {
    -webkit-animation: reveal-popup .5s ease-out .5s forwards;
	animation: reveal-popup .5s ease-out .5s forwards;
}

@-webkit-keyframes reveal-popup {
    0%   { 
        top: 200%; 
        -webkit-transform: translateX(-50%) translateY(-200%);
        -ms-transform: translateX(-50%) translateY(-200%);
        transform: translateX(-50%) translateY(-200%); 
        opacity: 0; 
    }
    100%   {
        top: 50%; 
        -webkit-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        opacity: 1; 
    }
}

@keyframes reveal-popup {
    0%   { 
        top: 200%; 
        -webkit-transform: translateX(-50%) translateY(-200%);
        -ms-transform: translateX(-50%) translateY(-200%);
        transform: translateX(-50%) translateY(-200%); 
        opacity: 0; 
    }
    100%   {
        top: 50%; 
        -webkit-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
		opacity: 1; 
    }
}

.popup-close {
    display: block;
    height: 50px;
    width: 50px;
    background-image: url(../img/svg/ico-form-close.svg);
    cursor: pointer;
    background-size: 40%;
    position: absolute;
    top: 50px;
    right: 50px;
    z-index: 20;
}

.popup-close:hover {
	background-image: url(../img/svg/ico-form-close-fill.svg);
}


/*
.popup-content::-webkit-scrollbar-track {
    background: #fff;
}

.popup-content::-webkit-scrollbar-thumb {
    background: #ec6907;
}
*/

.popup-content::-webkit-scrollbar-track {
	background: #fff;
}


/*--------- Enquiry Popup --------------*/


.enq-title-wrap {
	padding: 50px;
}

.enq-title-icons-1,
.enq-title-icons-2 {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-size: 150px;
}

.enq-title-icons-1 {
	background-image: url(../img/svg/form-icons-2.svg);
	background-position: top right;
}

.enq-title-icons-2 {
	background-image: url(../img/svg/form-icons-3.svg);
	background-position: bottom left;
}

.enq-title h2:last-child {
	padding-left: 115px;
}

.enq-form-wrap {
	padding: 50px 50px 0;
/*	padding: 0 50px;*/
}

.popup-enquire-content.full .enq-form-wrap {
	padding: 0 50px;
}

.enq-form-field {
    width: 100%;
	padding-bottom: 25px;
    margin-bottom: 25px;
	border-bottom: 1px solid #ddd;
}

.popup .enq-form-field {
	padding-bottom: 15px;
    margin-bottom: 15px;
}

.enq-form-field label {
	font-family: 'Poppins-Bold';
	text-transform: uppercase;
	font-size: 12px;
}

.enq-form-field input,
.enq-form-field select,
/*.enq-form-field option,*/
.enq-form-field textarea {
	width: 100%;
	color: #000;
	resize: none;
	border: none; 
	border-radius: 0;
	padding: 5px 0 0;
	height: 35px;
	background-color: transparent;
}

.enq-form-field select {
	margin-left: -5px;
}

.enq-form-field input.error {
    border: 1px solid #f4927d;
}

.enq-form-field hr {
	display: block;
	width: 100%;
	margin: 25px 0;
}

.checkbox-field {
	padding-bottom: 0;
	margin-bottom: 50px;
	border: none;
}

.checkbox-field input {
    width: auto;
    height: auto;
    margin: 3px 10px 0 0;
    padding: 0;
	flex: 0 0 15px;
}

.checkbox-field label {
	text-transform: inherit;
	font-family: 'Poppins-Light', 'Open Sans', sans-serif;
}

.form-thank-you-msg {
	display: block;
    margin: 0 auto;
	text-align: center;
}

.form-thank-you-msg img {
	width: 150px;
    margin: 0 auto;
    display: block;
}




/*---- Team member popup ----*/

/*
.team-popup .popup-overlay {
	display: none;
}
*/

/*
.team-popup .popup-team-container {
	position: absolute;
	width: 100%;
	height: 100%;
	padding: 0;
	left: 50%;
	top: 50%;
	background-color: transparent;
	opacity: 1;
	animation: none !important;
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}
*/

/*
.team-popup .popup-content {
	height: 100%;
}
*/

/*
.team-popup-img-wrap {
	background-color: #afcbca;
	transition: 1s;
	left: -100%;
	position: absolute;
	height: 100%;
	width: 50%;
	top: 0;
	opacity 0;
}
*/

/*
.team-popup.active .team-popup-img-wrap {
	-webkit-animation: reveal-popupteam-left 1.5s ease-out .5s forwards;
	animation: reveal-popupteam-left 1.5s ease-out .5s forwards;
}
*/

/*
.team-popup-info-wrap {
	background-color: #fff;
	transition: 1s;
	right: -100%;
	position: absolute;
	height: 100%;
	width: 50%;
	top: 0;
	opacity 0;
}
*/

/*
.team-popup.active .team-popup-info-wrap {
	-webkit-animation: reveal-popupteam-right 1.5s ease-out .5s forwards;
	animation: reveal-popupteam-right 1.5s ease-out .5s forwards;
}
*/

/*
@keyframes reveal-popupteam-left {
    0%   { 
        left: -100%; 
    }
    100%   {
        left: 0%; 
    }
}

@keyframes reveal-popupteam-right {
    0%   { 
        right: -100%; 
    }
    100%   {
        right: 0%; 
    }
}
*/

.team-popup .popup-container {
	padding: 0;
	height: 600px;
	overflow: hidden;
}

.team-popup .popup-close {
	top: 25px;
	right: 25px;
}

.team-popup-img-wrap {
	background-color: #afcbca;
	height: 100%;
}

.team-popup-info-wrap {
	background-color: #fff;
	height: 100%;
}

.team-popup-info {
    padding: 50px;
}

.team-popup-info-content {
/*    height: 435px;*/
    overflow-y: hidden;
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

.team-popup-text {
	overflow-y: scroll;
}

.team-popup-text::-webkit-scrollbar-track {
	background: #fff;
}

.team-popup-info-content .team-mem-box-text-right {
	position: absolute;
    bottom: 0;
    left: 50px;
	right: auto;
    transform: rotate(-90deg);
    transform-origin: left bottom;
}

.team-popup-info-content .team-mem-box-text {
	transform: rotate(180deg);
}

.team-popup-info-content .team-mem-box-text .line {
	background-color: #afcbca;
}

.team-popup-info-content .team-mem-box-text h6 {
	color: #afcbca;
}

.team-popup-ico-1-wrap {
	position: absolute;
	top: 50px;
	right: 125px;
}

.team-popup-ico-1 {
	height: 100px;
	width: 100px;
	background-position: top right;
	background-image: url(../img/svg/ico-team-popup-1.svg);
}

.team-popup-ico-2-wrap {
	position: absolute;
	top: 10px;
	left: 10px;
}

.team-popup-ico-2 {
	height: 50px;
	width: 75px;
	background-position: top left;
	background-image: url(../img/svg/ico-team-popup-2.svg);
}

.team-popup-text h6 {
	margin-bottom: 10px;
}

.team-popup-text ul li:first-child {
	color: #afcbca;
	font-family: 'Poppins-Bold';
}

.team-popup-text .text p:last-child {
	margin-bottom: 0;
}






/*========== RESPONSIVENESS ==================*/

@media screen and (max-width: 1320px) {
	
	.popup-container {
		width: 1000px;
	}
	
	.team-popup-ico-2-wrap {
		left: 0;
	}
	
}



@media screen and (max-width: 1024px) {
	
	.popup-container {
		width: 100%;
		height: 100%;
        max-height: 100vh;
/*        max-width: 100vw;*/
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		padding: 50px 25px;
	}
	
	.enq-title-wrap,
	.enq-form-wrap {
		width: 100%;
		padding: 0;
	}
    
    .popup-enquire-content.full .enq-form-wrap {
        padding: 0;
    }
	
	.enq-title-icons {
		display: none;
	}
	
/*
	.enq-title {
		margin-bottom: 25px;
	}
*/
	
	.enq-text {
		padding-right: 0;
		margin-bottom: 25px;
	}
	
	.enq-title h2:last-child {
		padding-left: 50px;
	}
	
	.enq-form-field {
		padding-bottom: 15px;
		margin-bottom: 15px;
	}
	
	.enq-form-field input, .enq-form-field textarea {
		height: 25px;
	}
	
	.checkbox-field {
		margin-bottom: 25px;
	}
	
	.checkbox-field input {
		margin: -3px 10px 0 0;
	}
	
	.popup-container .popup-close {
		right: 25px;
		top: 25px;
	}
	
	.team-popup .popup-container {
		height: 100%;
	}
	
	.team-popup-content {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
	}
	
	.team-popup-img-wrap {
		width: 100%;
		height: 50%;
	}
	
	.team-popup-info-wrap {
		width: 100%;
		height: 50%;
	}
	
	.team-popup-info-content .team-mem-box-text-right {
		left: 15px;
	}
	
	.team-popup-ico-2-wrap {
		display: none;
	}
	
	
	
}



@media screen and (max-width: 768px) {

	.popup .enq-form-field {
		padding-bottom: 10px;
		margin-bottom: 10px;
	}
	
	.enq-title-icons-1,
	.enq-title-icons-2 {
		display: none;
	}
	
	.team-popup-info {
		padding: 25px;
	}
	
	.team-popup-info-content {
		padding-left: 50px;
	}
	
	.team-popup .popup-close {
    	top: 5px;
    	right: 5px;
	}
	
	.team-popup-ico-1-wrap {
		display: none;
	}
	
}



@media screen and (max-width: 480px) {
	
	.popup-container {
		padding: 25px 15px;
	}
	
	.popup-content {
		max-height: 100vh;
		overflow-y: scroll;
	}
	
	.team-popup .popup-content {
		overflow-y: hidden;
	}

}