
/*---------------------------------------------------------*/
/* Nudges                                                  */
/*---------------------------------------------------------*/

.mbp-nudge-box {
	position: absolute;
	width: 200px;
	z-index: 200;
	display: none;
	margin: 36px 0 0 -107px;
	font-size: 13.3333px;
	box-sizing: content-box;

	border-radius: 10px;
	padding: 8px 15px 5px;
	background: white;
	border: 3px solid #ddd;
	box-shadow: 5px 15px 30px 5px rgba(0,0,0,0.3);
}

.mbp-nudge-box .arrow {
	width: 70px;
	height: 16px;
	overflow: hidden;
	position: absolute;
	left: auto;
	right: auto;
	margin: 0;
	bottom: 90px;
	z-index: 10000;

	top: -16px;
	bottom: auto;
	margin-left: -35px;
	left: 50%
}

.mbp-nudge-box .arrow:after {
	z-index: 9999;
	content: "";
	position: absolute;
	left: 20px;
	top: 10px;
	width: 25px;
	height: 25px;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);

	background: white;
	border: 3px solid #ddd;
}

.mbp-nudge-box .mbp-nudge-message {
	padding: 10px 0;
	text-align: center;
	color: #444;
}

.mbp-nudge-box .mbp-nudge-title {
	padding-bottom: 10px;
	font-size: 18px;
	font-weight: bold;
	color: #444;
	text-shadow: 2px 2px 3px rgba(0,0,0,0.2);
}

.mbp-nudge-box .mbp-nudge-text {
	margin-bottom: 5px;
	box-sizing: border-box;
	width: 100%;
	min-height: 55px;

	font-size: 13.3333px;
	border-radius: 3px;
	padding: 6px;
}
.mbp-nudge-box .mbp-nudge-text.mbp-error {
	background: #FDE4E1;
}

.mbp-nudge-box .mbp-nudge-name {
	width: 49%;
	box-sizing: border-box;
	margin-bottom: 5px;
	margin-right: 2%;

	font-size: 13.3333px;
	border-radius: 3px;
	padding: 6px;
}
.mbp-nudge-box .mbp-nudge-name.mbp-error {
	background: #FDE4E1;
}

.mbp-nudge-box .mbp-nudge-email {
	width: 49%;
	box-sizing: border-box;
	margin-bottom: 5px;

	font-size: 13.3333px;
	border-radius: 3px;
	padding: 6px;
}
.mbp-nudge-box .mbp-nudge-email.mbp-error {
	background: #FDE4E1;
}

.mbp-nudge-box .mbp-nudge-submit-container {
	text-align: center;
}

.mbp-nudge-box .mbp-nudge-submit {
	margin: 0;
	padding: 0.4em 0.71em;
	font-size: 1em;
	line-height: 1.43;
	font-weight: normal;
	color: #7c7c7c;
	background-color: #e6e6e6;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
	border: 1px solid #d2d2d2;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
	text-transform: none;
}

.mbp-nudge-box .mbp-nudge-submit:hover {
	color: #5e5e5e;
	background-color: #ebebeb;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: -ms-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: linear-gradient(top, #f9f9f9, #ebebeb);
}

.mbp-nudge-box .mbp-nudge-submit:active {
	color: #757575;
	background-color: #e1e1e1;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #ebebeb, #e1e1e1);
	background-image: -ms-linear-gradient(top, #ebebeb, #e1e1e1);
	background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
	background-image: -o-linear-gradient(top, #ebebeb, #e1e1e1);
	background-image: linear-gradient(top, #ebebeb, #e1e1e1);
	box-shadow: inset 0 0 8px 2px #c6c6c6, 0 1px 0 0 #f4f4f4;
	border-color: transparent;
}

.mbp-container .mbp-book .mbp-book-button-nudge {
	vertical-align: bottom;
	margin-left: 5px;
	display: inline-block;
	width: 23px;
	height: 23px;
	background: url('../img/frontend/nudge.png');
	background-size: 100%;
	opacity: 0.3;
	cursor: pointer;

	transition: opacity 0.2s;
}
.mbp-container .mbp-book .mbp-book-button-nudge.nudged {
	background: url('../img/frontend/nudge_nudged.png');
	opacity: 0.9;
	background-size: 100%;
}
.mbp-container .mbp-book .mbp-book-button-nudge:hover {
	opacity: 0.7;
}
