/*Bootstrap CSS*/
.fade {
	opacity: 0;
	-webkit-transition: opacity .15s linear;
	transition: opacity .15s linear;
}
.fade.in {
	opacity: 1;
}
.modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1050;
	display: none;
	overflow: hidden;
	-webkit-overflow-scrolling: touch;
	outline: 0;
}
.modal.fade .modal-dialog {
	-webkit-transition: -webkit-transform .3s ease-out;
	-o-transition: -o-transform .3s ease-out;
	transition: transform .3s ease-out;
	-webkit-transform: translate(0, -25%);
	-ms-transform: translate(0, -25%);
	-o-transform: translate(0, -25%);
	transform: translate(0, -25%);
}
.modal.in .modal-dialog {
	-webkit-transform: translate(0, 0);
	-ms-transform: translate(0, 0);
	-o-transform: translate(0, 0);
	transform: translate(0, 0);
}
.modal-open .modal {
	overflow-x: hidden;
	overflow-y: auto;
}
.modal-dialog {
	position: relative;
	width: auto;
	margin: 10px;
}
.modal-content {
	position: relative;
	background-color: #fff;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	border: 1px solid #999;
	border: 1px solid rgba(0, 0, 0, .2);
	border-radius: 6px;
	outline: 0;
	-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
	box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}
.modal-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1040;
	background-color: #000;
}
.modal-backdrop.fade {
	filter: alpha(opacity=0);
	opacity: 0;
}
.modal-backdrop.in {
	filter: alpha(opacity=50);
	opacity: .5;
}
.modal-body {
	position: relative;
	padding: 15px;
}
.modal-scrollbar-measure {
	position: absolute;
	top: -9999px;
	width: 50px;
	height: 50px;
	overflow: scroll;
}

@media (min-width: 768px) {
.modal-dialog {
	margin: 30px auto;
}
.modal-content {
	-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
	box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
}
}
button.close {
	-webkit-appearance: none;
	padding: 0;
	cursor: pointer;
	background: 0 0;
	border: 0;
}
/*End of Bootstrap CSS*/
#cactus-popup{
	z-index: 99999;
}

body.modal-open {
	padding-right: 0 !important;
}

.cactus-popup.modal {
	overflow: hidden !important;
}

.cactus-popup .cactus-popup-inner.modal-dialog  {
	position: absolute;
	margin: 0 auto;
	left: 0;
	right: 0;
	top: 50%;
	-webkit-transform: translateY(-50%) !important;
	-ms-transform: translateY(-50%) !important;
	-o-transform: translateY(-50%) !important;
	transform: translateY(-50%) !important;
}

.popup-content-wrap .popup-body .popup-close {
	position: absolute;
	right: -20px;
	top: -22px;
}
.popup-content-wrap .popup-body .popup-close .close {
	color: #fff;
	opacity: 1;
	transition: all 0.2s;
	-webkit-transition: all 0.2s;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden
}
.popup-content-wrap .popup-body .popup-close .close:hover {
	opacity: 1;
	color: #fff;
	background: none;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
}

.popup-content-wrap .popup-body .popup-close .close span:first-child, .popup-content-wrap .popup-body .popup-close .close span:last-child {
	display: block;
	background-color: #fff;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-transition: transform 0.2s ease-out;
	-moz-transition: transform 0.2s ease-out;
	-o-transition: transform 0.2s ease-out;
	transition: transform 0.2s ease-out;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
}
.popup-content-wrap .popup-body .popup-close .close span:first-child {
	height: 2px;
	width: 16px;
	margin-left: 0px;
	margin-top: 9px;
}
.popup-content-wrap .popup-body .popup-close .close span:last-child {
	height: 16px;
	width: 2px;
	margin-left: 7px;
	margin-top: -9px;
}
.popup-content-wrap, .popup-body {
	height: 100%;
}
.popup-body {
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
}
.popup-content-wrap .popup-body p:empty {
	display: none;
}
.cactus-popup-inner.click-anywhere {
	margin: 100% auto;
}
html.cactus-popup-disable-scroll {
	position: fixed;
	overflow-y: scroll;
	width: 100%;
}
.modal-open .wp-custom-header img {
	padding-right: 17px;
}