/*----------------------------------------------
	39.0 Modal Popup
-----------------------------------------------*/
.ss-popup-modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(25, 47, 89, 0.25);
	z-index: 999999;
	opacity: 1;
	display: none;
}

.ss-popup-modal>.modalbox {
	max-width: 560px;
	position: relative;
	margin: 1% auto;
	padding: 0px 0px 0px 0px;
	border-radius: 2px;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
	background-color:#fff;
}

.modal-footer{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	background-color: rgba(255,255,255,.83);
}

.modal-footer .modal-detail a{
	font-family: "Cuprum", sans-serif;
	border-radius: 2px;
	line-height: 1.2em;
	background-color: #793658;
	color: #fff;
	text-transform: none;
	padding: 8px 25px;
	font-size: 1.4rem;
	font-weight: 600;
	margin: 0 8px 10px 0px;
	
}
.ss-popup-modal .modal-body{
	background-color:#fff;
}

@media only screen and (max-width: 991px)
	.ss-popup-modal>.modalbox {
		max-width: 100% !important;
	}
}

@media (min-width: 576px){
	.ss-popup-modal>.modalbox {
		max-width: 100% !important;
	}
}

.animated {
	visibility: visible !important;
}

.ss-popup-modal .modal-image {
	width: 100%;
	text-align: center;
	background-color:#fff;
	padding:40px;
}

.ss-popup-modal h2 {
	text-align: center;
	font-size: 21px;
	letter-spacing: 1px;
	line-height: 40px;
	margin-bottom: 0px;
	text-transform: capitalize;
}

.ss-popup-modal p {
	font-size: 17px;
	line-height: 1.5;
	text-align: center;
	color: #777;
}

.ss-popup-modal input[type="email"] {
	width: 80%;
	padding: 8px 10px;
	text-align: center;
	margin: auto;
	display: block;
	font-size: 16px;
	border: 1px solid #cecece;
}

.ss-popup-modal .subscription-popup-button {
	background: #793658;
	border: 1px solid #793658;
	outline: none;
	width: 80%;
	font-size: 16px;
	margin: auto;
	cursor:pointer;
	display: block;
	color: #FFF;
	text-decoration: none;
	text-align: center;
	padding: 10px 10px;
	text-transform: uppercase;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.ss-popup-modal .subscription-popup-button:hover,
.ss-popup-modal .subscription-popup-button:active {
	opacity: 0.85;
}

.ss_modal_close {
	background-image: url(../popup/close.png);
	background-repeat: no-repeat;
	cursor: pointer;
	position: absolute;
	right: 12px;
	top: 16px;
	width: 24px;
	height: 24px;
}

.ss_modal_close:hover {
	opacity: 0.85;
}

.ss-popup-modal a {
	font-size: 14px;
	margin: auto;
	display: block;
	text-align: center;
}

@media(max-width:767px) {
	.ss-popup-modal {
		padding: 4px;
	}
	.ss-popup-modal>.modalbox {
		width: 100%;
		padding: 58px 5px;
	}
	.ss-popup-modal .modal-image {
		margin-bottom: 0px;
	}
	.ss-popup-modal h2 {
		font-size: 20px;
	}
	.ss-popup-modal p {
		font-size: 16px;
	}
}

@-webkit-keyframes swing {
	20% {
		-webkit-transform: rotate3d(0, 0, 1, 15deg);
		transform: rotate3d(0, 0, 1, 15deg);
	}
	40% {
		-webkit-transform: rotate3d(0, 0, 1, -10deg);
		transform: rotate3d(0, 0, 1, -10deg);
	}
	60% {
		-webkit-transform: rotate3d(0, 0, 1, 5deg);
		transform: rotate3d(0, 0, 1, 5deg);
	}
	80% {
		-webkit-transform: rotate3d(0, 0, 1, -5deg);
		transform: rotate3d(0, 0, 1, -5deg);
	}
	to {
		-webkit-transform: rotate3d(0, 0, 1, 0deg);
		transform: rotate3d(0, 0, 1, 0deg);
	}
}

@keyframes swing {
	20% {
		-webkit-transform: rotate3d(0, 0, 1, 15deg);
		transform: rotate3d(0, 0, 1, 15deg);
	}
	40% {
		-webkit-transform: rotate3d(0, 0, 1, -10deg);
		transform: rotate3d(0, 0, 1, -10deg);
	}
	60% {
		-webkit-transform: rotate3d(0, 0, 1, 5deg);
		transform: rotate3d(0, 0, 1, 5deg);
	}
	80% {
		-webkit-transform: rotate3d(0, 0, 1, -5deg);
		transform: rotate3d(0, 0, 1, -5deg);
	}
	to {
		-webkit-transform: rotate3d(0, 0, 1, 0deg);
		transform: rotate3d(0, 0, 1, 0deg);
	}
}

.swing {
	-webkit-transform-origin: top center;
	transform-origin: top center;
	-webkit-animation-name: swing;
	animation-name: swing;
}

@-webkit-keyframes zoomOutDown {
	40% {
		opacity: 1;
		-webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
		transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
		-webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
		animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
	}
	to {
		opacity: 0;
		-webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
		transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
		-webkit-transform-origin: center bottom;
		transform-origin: center bottom;
		-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
		animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
	}
}

@keyframes zoomOutDown {
	40% {
		opacity: 1;
		-webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
		transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
		-webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
		animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
	}
	to {
		opacity: 0;
		-webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
		transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
		-webkit-transform-origin: center bottom;
		transform-origin: center bottom;
		-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
		animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
	}
}

.zoomOutDown {
	-webkit-animation-name: zoomOutDown;
	animation-name: zoomOutDown;
}

.animated {
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

@media (print),
(prefers-reduced-motion: reduce) {
	.animated {
		-webkit-animation-duration: 1ms !important;
		animation-duration: 1ms !important;
		-webkit-transition-duration: 1ms !important;
		transition-duration: 1ms !important;
		-webkit-animation-iteration-count: 1 !important;
		animation-iteration-count: 1 !important;
	}
}