#textopopup,
#close,
#titlepopup,
#cupompopup {
	font-family: 'Montserrat', sans-serif;
}

#titlepopup {
	text-align: center;
	color: #c3395c;
	font-size: 17px;
	margin-bottom:25px;
}

#titlepopup img {
	text-align: center;
	color: #c3395c;
	width: 90px;
	height: auto;
	margin-right: 8px;
  vertical-align:middle;
}

#textopopup {
	color: #666666;
	font-size: 15px;
}

#close {
	background: #c3395c;
	border: 0;
	border-radius: 4px;
	padding: 8px 10px;
	font-size: 15px;
	color: #FFFFFF;
	cursor: pointer;
}

#mypopup {
	background: rgba(100, 100, 100, 0.8);
	position: fixed;
	display: block;
	z-index: 5000;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	color: #000000;	
}

#mypopup h4 {
	color: #c3395c;
	line-height: 1.1em;
	font-size: 1.5em;	
}

#mypopup h1 {
	color: #0096cb;
	line-height: 1.1em;
	font-size: 1.5em;	
}

#mypopup h2 {
	text-align: left;
	margin: 1em;
	font-size: 1.1em;	
	color: #c3395c;
}

#mypopup h3 {
	color: #0096cb;
	text-align: center;
	margin: 1em;
	font-size: 1.1em;	
}

#mypopup p {
	color: #000000;
	font-size: 1em;
	line-height: 1.5em;
	text-align: left;
	margin: 1em;
}
.wrapperpopup {
	max-width: 600px;
	width: 97%;
	position: fixed;
	transform: translate(-50%, -50%);
	left: 50%;
	top: 50%;
	background: #FFFFFF;
	padding: 18px 13px;
	z-index: 5001;
	line-height: 18px;
	text-align: center;
	border-radius: 20px;
	/*box-shadow: 2px 2px 10px #000;*/
}

#cupompopup {
	letter-spacing: 3px;
	margin: 6px;
	margin-top: 10px;
	border: 5px dashed #1ba6e3;
	padding: 4px;
	font-size: 20px;
	display: inline-block;
}

#buttonpopup {
	margin: 18px 0px 10px;
}

#buttonpopup button {
	background: #0096cb;
	border-radius: 10px;
}

@media screen and (min-width: 1px) and (max-width: 767px){
	
	.wrapperpopup {
	max-width: 400px;
	width: 97%;
	position: fixed;
	transform: translate(-50%, -50%);
	left: 50%;
	top: 50%;
	background: #FFFFFF;
	padding: 18px 13px;
	z-index: 5001;
	line-height: 10px;
	text-align: center;
	border-radius: 20px;
	/*box-shadow: 2px 2px 10px #000;*/
	}
	
	#mypopup h4 {
		color: #c3395c;
		line-height: 1.1em;
		font-size: 1em;	
	}

	#mypopup h1 {
		color: #0096cb;
		line-height: 1.1em;
		font-size: 1em;	
	}

	#mypopup h2 {
		text-align: left;
		margin: 1em;
		font-size: 0.9em;	
		color: #c3395c;
	}

	#mypopup h3 {
		color: #0096cb;
		text-align: center;
		margin: 1em;
		font-size: 1em;	
		line-height: 1.1em;
	}

	#mypopup p {
		color: #000000;
		font-size: 0.8em;
		line-height: 1.5em;
		text-align: left;
		margin: 1em;
	}
	
	#mypopup img {
		text-align: center;
		color: #c3395c;
		width: 70px;
		height: auto;
		margin-right: 8px;
		vertical-align:middle;
	}
}