.pattern-modal-wrapper {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba( 0,0,0,0.5 );

	z-index: 2000;
}

	.locale-modal-alert .locale-modal,
	.demo-modal-alert .demo-modal {
		display: block;
	}

	.pattern-modal {
		background: url(/images/global/pattern-modal/bg.png) #fff repeat;
		max-width: 812px;
		min-height: 360px;
		width: 95%;

		margin: 90px auto 0;

		box-shadow: 0px 4px 0px 0px rgba(0,0,0,0.20);
		border-radius: 4px;
	}

	.pattern-modal-bg-extra {
		background: url(/images/global/pattern-modal/bg-character-pattern.svg) no-repeat right center;

		padding: 35px 55px;
	}

		.pattern-modal p {
			max-width: 391px;
		}

		.pattern-modal .modal-cta-container {
			padding-top: 20px;
		}


	/* These styles are being overridden (even thought hey should be global) */

	.pattern-modal .row .col6 {
		width: 48.57142857% !important;
	}

	/*	-----------------------------------
	Buttons
	----------------------------------- */
/* --- Default button --- */
.pattern-modal .btn {
	background: #2576bc;
	border: 1px solid #1660a0;
	border-radius: 2px;
	color: #fff;
	display: inline-block;
	font-family: 'LatoBold';
	font-size: 20px;
	line-height: 28px;
	padding: 10px 0;
	text-align: center;
	text-decoration: none;
	width: 98%;
	margin: 0 0 0 1%;
}
	.pattern-modal .btn:hover {
		background: #3aa4ff;
		border-color: #3aa4ff;
		color: #fff;
		text-decoration: none;
	}
	
	

	/* --- White button --- */
	/* --- Preview button --- */
	.pattern-modal .btn-white {
		background: #fff;
		border-color: #dadada;
		color: #2576bc !important;
	}
		.btn-white:hover {
			background: #fff !important;
			border-color: #3aa4ff;
			color: #3aa4ff !important;
		}
	/* --- White FILLED button w default text color --- */
	.pattern-modal .btn-white-filled {
		background: #ffffff;
		color: #000;
	}
	.pattern-modal .btn-white-filled:hover {
		/*background: #51fd74 !important;*/
		color: #000;
	}


	
@media screen and (min-width: 600px) and (max-width: 811px) {
	
	.pattern-modal-bg-extra {
		background-size: 30%;
	}

	.pattern-modal p {
    	margin-right: 30%;
	}

}

@media screen and (max-width: 599px) {

	.pattern-modal {
	    margin-top: 110px;
	    overflow: scroll;
    	height: 100%;
    	width: 100%;
    	border-radius: 0;
	}
	
	.pattern-modal-bg-extra {
	    background: transparent;
	    padding: 35px 15px;
	    min-height: 700px;
	}

		.pattern-modal p {
		    margin-right: 0;
		    width: 100%;
		}

		.pattern-modal .cta-container {
		    padding-top: 0px;
		}

			.pattern-modal .btn {
				margin-bottom: 15px;
			}


}
