/* SAP Hybris Marketing Landing Pages Runtime Styles: sapCp */


/* Base */

*,
*::after,
*::before {
	box-sizing: border-box;
}

main {
	position: relative;
	margin-top: 50px;
}

select:focus,
select:focus > option {
	background-color: #ffffff;
	border: 1px dotted gray;
	outline: 0;
	transition: all 0.5s;
}

.percent50 {
	width: 49.2% !important;
	display: inline-block !important;
}

.sapCpRuntime {
	width: 100%;
	height: 100%;
}

.sapCpRuntime .sapCpBody {
	margin: 0;
	width: 100%;
	height: 100%;
}

textarea {
	resize: none !important;
}


/* Content Page */

.sapCpContentPage {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
}

.sapCpContentPageLoading {
	opacity: 0;
	cursor: wait;
}

.marginLeft150px {
	margin-left: 180px;
}


/* Layout */

.sapCpLayout {
	box-sizing: inherit;
	width: 100%;
	padding: 8px;
}

.articleWidth {
	display: inline-block !important;
	max-width: 555px !important;
}


/* Widget */

.sapCpWidget {
	box-sizing: inherit;
	min-height: 30px;
	padding: 8px;
}

.sapCpWidgetHidden {
	display: none;
}

.sapCpWidget ~ .sapCpWidget {
	margin-top: 8px;
}

.sapCpWidgetContentLeft {
	min-height: 1px;
	float: left;
	text-align: right;
}

.sapCpWidgetContentRight {
	min-height: 1px;
	text-align: left;
	vertical-align: top;
}

.sapCRLWidgetFixContent {
	clear: both;
}

.sapCpWidgetContentNoIndent {
	min-height: 1px;
	position: relative;
}

.sapCpWidgetContentLeft .sapCpLabel {
	margin-top: 6px;
	margin-right: 10px;
}

.sapCpWidgetMandatoryMissing > * {
	border-bottom: 2px solid red;
}

.sapCpWidgetInvalid {
	background-color: orange;
}


/* Button Widget */

.sapCpButtonWidget .sapCpButtonWidgetExtraText {
	display: block;
	padding-top: 5px;
}

.sapCpButtonWidget .sapCpMissingMandatoryFieldLabel {
	display: block;
	color: red;
}

.sapCpContentPage:not(.sapCpMissingMandatoryField) .sapCpButtonWidget .sapCpMissingMandatoryFieldLabel {
	display: none;
}

.sapCpButtonWidget .sapCpErrorMessageText {
	display: block;
	color: red;
}

.sapCpContentPage:not(.sapCpSubmitError) .sapCpButtonWidget .sapCpErrorMessageText {
	display: none;
}

.sapCpButtonWidget .sapCpSuccessMessageLabel {
	display: block;
	color: green;
}

.sapCpContentPage:not(.sapCpSubmitCompleted) .sapCpButtonWidget .sapCpSuccessMessageLabel {
	display: none;
}

.sapCpContentPage:not(.sapCpSubmitCompleted) .sapCpButtonWidget .sapCpButtonWidgetDownloadLink {
	display: none;
}

.sapCpButtonWidget .sapCpButtonWidgetDownloadLink:not(.sapCpButtonWidgetDownloadLinkVisible) {
	display: none;
}

.sapCpButtonWidget.sapCpButtonWidgetLoading button {
	cursor: wait;
}


/* Label */

.sapCpLabel {
	position: relative !important;
	display: block !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	font-family: "BoschSans-Bold", Arial, Helvetica, sans-serif;
	font-size: 14px !important;
}

.sapCpLabelRequiredBefore {
	padding-left: 10px;
}

.sapCpLabel:not(.sapCpLabelRequiredBefore):after {
	content: "*";
	color: RoyalBlue;
	visibility: hidden;
}

.sapCpWidgetContentLeft .sapCpLabel:not(.sapCpLabelRequiredBefore):after {
	position: absolute;
}

.sapCpLabel:not(.sapCpLabelRequiredBefore).sapCpLabelRequired:after {
	visibility: visible;
}

.sapCpLabel.sapCpLabelRequiredBefore:before {
	content: "*";
	color: RoyalBlue;
	visibility: hidden;
	position: absolute;
	left: 1px;
	top: -2px;
}

.sapCpLabel.sapCpLabelRequiredBefore.sapCpLabelRequired:before {
	visibility: visible;
}

.sapCpCheckBox ~ .sapCpLabel {
	margin-left: 2px;
}

.inputfield label {
	display: block !important;
	font-size: 10px !important;
	color: #000 !important;
	margin: 0 0 3px !important;
	padding: 0 15px !important;
	font-weight: 400 !important;
	font-family: "BoschSans-Bold", Arial, Helvetica, sans-serif !important;
}


/* Input */

.sapCpInput {
	font-size: inherit;
	font-family: inherit;
	padding: 4px 8px;
	text-overflow: ellipsis;
}

.inputfield input[type=email],
.inputfield input[type=password],
.inputfield input[type=search],
.inputfield input[type=text] {
	font-size: 14px !important;
	display: block !important;
	width: 100% !important;
	border: 0 !important;
	background: 0 0 !important;
	padding: 0 15px !important;
	height: 48px !important;
	border-bottom: 1px solid #cfd0d1 !important;
}

.inputfield input[type=email]:not([readonly]):focus,
.inputfield input[type=email]:not([readonly]):hover,
.inputfield input[type=password]:not([readonly]):focus,
.inputfield input[type=password]:not([readonly]):hover,
.inputfield input[type=search]:not([readonly]):focus,
.inputfield input[type=search]:not([readonly]):hover,
.inputfield input[type=text]:not([readonly]):focus,
.inputfield input[type=text]:not([readonly]):hover {
	background-color: #efeff0 !important;
}

::placeholder {
	color: #cfd0d1 !important;
	opacity: 1 !important;
	/* Firefox */
}

:-ms-input-placeholder {
	/* Internet Explorer 10-11 */
	color: #cfd0d1 !important;
}

::-ms-input-placeholder {
	/* Microsoft Edge */
	color: #cfd0d1 !important;
}


/* CheckBox */

.sapCpCheckBox {
	vertical-align: top !important;
	min-width: 20px !important;
	float: left !important;
}

.sapCpCheckBox input {
	font-size: inherit;
	font-family: inherit;
	width: 20px;
	height: 20px;
}

.sapCpCheckBox input:hover {
	cursor: pointer;
}


/* DropDown */

.sapCpDropDown {
	display: block;
	position: relative;
	min-width: 100%;
	border: 0;
	background: 0 0;
	padding: 0 15px;
	height: 48px;
	border-bottom: 1px solid #cfd0d1;
	-webkit-transition: all 1.2s;
	/* Safari prior 6.1 */
	transition: all 1.2s;
}

.sapCpDropDown:hover {
	cursor: pointer;
	background-color: #F5F5F5;
	color: #000000;
	border-bottom: 1px solid #000000;
}

.sapCpDropDown>option {
	color: black;
}

.sapCpDropDownPlaceholder {
	color: gray;
}


/* Date Picker */

.sapCpDatePicker option {
	color: black;
}

.sapCpDatePicker .sapCpDropDown~.sapCpDropDown {
	margin-left: 10px;
}

.sapCpDatePicker .sapCpDatePickerDay {
	min-width: 50px;
	width: 23%;
	max-width: 100px;
}

.sapCpInputWidget .sapCpDatePickerMonth {
	min-width: 100px;
	width: 43%;
	max-width: 200px;
}

.sapCpInputWidget .sapCpDatePickerYear {
	min-width: 50px;
	width: 23%;
	max-width: 100px;
}


/* Button */

.sapCpButton {
	position: relative;
	font-size: inherit;
	font-family: inherit;
	padding: 6px 10px;
	background-color: #005691;
	border-bottom: 2px solid #008ecf;
	border-left: none;
	border-right: none;
	border-top: none;
	color: #fff;
	white-space: normal;
	line-height: 1.6;
	padding: 11px 15px;
	text-align: center;
	height: auto;
	overflow: hidden;
}

.sapCpButton::after {
	position: absolute;
	left: 0;
	top: 100%;
	content: "";
	display: inline;
	background-color: #ffffff;
	width: 100%;
	height: 100%;
	opacity: 0.3;
	-webkit-transition: all 1s;
	transition: all 1s;
}

.sapCpButton:hover::after {
	top: 0%;
	color: #fff;
	background-color: #005691;
	border-bottom: 2px solid #003254;
}


/*  For usage in landing Pages */

.sapCpContentPage {
	box-sizing: border-box;
	font-family: "BoschSans-Regular", Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: grey;
	-webkit-font-smoothing: auto;
}

.sapCpContentPage *,
.sapCpContentPage *:before,
.sapCpContentPage *:after {
	box-sizing: inherit;
}

.sapCpWidget input[type=checkbox] {
	-webkit-appearance: checkbox;
	font-size: inherit;
	margin-top: 0px;
}

.sapCpCheckBox {
	line-height: 18px;
}

.sapCpInputWidget select {
	-webkit-appearance: menulist;
	background-image: none;
	height: 48px;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	width: auto;
}

.sapCpInputWidget .sapCpInput {
	font-family: inherit;
	font-size: inherit;
	width: 100%;
	border: lightgrey solid 1px;
	height: 38px;
}

.sapCpLabel {
	font-family: inherit;
	font-weight: 400;
	font-size: inherit;
	color: inherit;
	line-height: 22px;
}

#phoneIMG {
	display: inline-block;
	position: relative;
	bottom: 650px;
	padding-left: 100px;
}


/* Responsive layout */

@media screen and (max-width: 767px) {
	/* Widget */
	.sapCpWidgetContent {
		width: 100% !important;
		text-align: left;
	}
	/* Input */
	.sapCpWidgetContent .sapCpInput {
		width: 95%;
	}
	/* Text Area */
	.sapCpWidgetContent .sapCpTextArea {
		width: 98%;
	}
	/* DropDown */
	.sapCpWidgetContent .sapCpDropDown {
		width: 100%;
	}
	/* Date Picker */
	.sapCpWidgetContent .sapCpDatePicker .sapCpDatePickerDay {
		width: 23%;
	}
	.sapCpWidgetContent .sapCpDatePicker .sapCpDatePickerMonth {
		width: 43%;
	}
	.sapCpWidgetContent .sapCpDatePicker .sapCpDatePickerYear {
		width: 23%;
	}
	.sapCpWidgetContentRight {
		padding-left: 0% !important;
	}
	header h1 {
		margin: 0 0 16px !important;
		font-size: 32px !important;
		line-height: 36px !important;
	}
	header p {
		margin: 0 0 16px !important;
		font-size: 20px !important;
		line-height: 24px !important;
	}
	header {
		background: linear-gradient(90deg, #005691, rgba(0, 142, 207, .75)), url(https://www.bosch-professional.com/resources/img/brand/Bosch_Img_gradientImgPlaceholder@1x.jpg) no-repeat -50px 30px/cover !important;
	}
	.smallScreens,
	form,
	article {
		margin: 0 !important;
		display: block !important;
		width: 93vw !important;
		position: relative !important;
	}
	.percent50 {
		width: 48% !important;
	}
	#phoneIMG,
	#microsite-ask-zane {
		position: relative !important;
		width: 100% !important;
		display: block !important;
		bottom: 0px !important;
		margin: 0 !important;
		padding: 10px !importnat;
	}
	#phoneIMG {
		padding: 20px !important;
		max-width: 378px !important;
	}
	button {
		display: block !important;
		width: 100% !important;
	}
}

@media screen and (max-width: 461px) {
	.sapCpLabel:not(.sapCpLabelRequiredBefore):after {
		right: 1px;
		top: -2px;
	}
	.sapCpLabel:not(.sapCpLabelRequiredBefore) {
		padding-right: 10px;
	}
	header {
		background: linear-gradient(90deg, #005691, rgba(0, 142, 207, .75)), url(https://www.bosch-professional.com/resources/img/brand/Bosch_Img_gradientImgPlaceholder@1x.jpg) no-repeat 0 0 /cover !important;
	}
}

@media only screen and (min-width: 768px) and (max-width: 990px) {
	/* Widget */
	header h1,
	header p,
	article {
		margin: 0 !important;
		text-align: left;
	}
	header {
		background: linear-gradient(90deg, #005691, rgba(0, 142, 207, .75)), url(https://www.bosch-professional.com/resources/img/brand/Bosch_Img_gradientImgPlaceholder@1x.jpg) no-repeat right /contain !important;
	}
	.smallScreens,
	form,
	article {
		margin: 0 !important;
		display: block !important;
		width: 97vw !important;
		position: relative !important;
	}
	.percent50 {
		width: 49% !important;
	}
	.indentRight {
		text-align: right !important;
	}
	#phoneIMG,
	#microsite-ask-zane {
		position: relative !important;
		width: 100% !important;
		display: block !important;
		bottom: 0px !important;
		margin: 0 !important;
		padding: 10px !importnat;
	}
	#phoneIMG {
		padding: 20px !important;
		max-width: 378px !important;
	}
}


/*   STEPS TO FIX FORM STYLING 

_________________________________________________________________________________________________________________________________

1. STEP - scroll into view (For usage in landing Pages) comment on this (CSS) page!

	a) To class (.sapCpContentPage) add the following styles:

		font-family: "BoschSans-Regular", Arial, Helvetica, sans-serif;
		font-size: 14px;

			The complete code fragment, after applying the styles, should look like this:

					.sapCpContentPage {
						box-sizing: border-box;
						font-family: "BoschSans-Regular", Arial, Helvetica, sans-serif;
						font-size: 14px;
						color: grey;
						-webkit-font-smoothing: auto;
					}

_________________________________________________________________________________________________________________________________

2. STEP - switch your view to HTML page!

	a) Once in html file, add class (.inputfield) to <div> containers wrapping: EMAIL, FIRST NAME and SURNAME input fields!

		<div class="sapCRLWidgetContentNoIndent sapCpWidgetContentNoIndent inputfield">

			The complete code fragment, after applying the markup, should look "similar" to below:

				<div class="sapCRLWidgetContentNoIndent sapCpWidgetContentNoIndent inputfield">
					<label id="__label119" class="sapCpLabel sapCpLabelRequired" for="__input46">E-Mail</label>
					<input id="__input46" class="sapCpInput" required="required" maxlength="241" type="text" placeholder="E-mail address"> 
				</div>

_________________________________________________________________________________________________________________________________

3. STEP - scroll into view (Input) comment on this (CSS) page!

	a) Copy and append this styling block under the Input comment to style the text input fields:

		.inputfield input[type=email],
		.inputfield input[type=password],
		.inputfield input[type=search],
		.inputfield input[type=text] {
			font-size: 14px;
			display: block;
			width: 100%;
			border: 0;
			background: 0 0;
			padding: 0 15px;
			height: 48px;
			border-bottom: 1px solid #cfd0d1;
		}


	b) Copy and append this styling block under the Input comment to style the text input fields when in hovering stage:

		.inputfield input[type=email]:not([readonly]):focus,
		.inputfield input[type=email]:not([readonly]):hover,
		.inputfield input[type=password]:not([readonly]):focus,
		.inputfield input[type=password]:not([readonly]):hover,
		.inputfield input[type=search]:not([readonly]):focus,
		.inputfield input[type=search]:not([readonly]):hover,
		.inputfield input[type=text]:not([readonly]):focus,
		.inputfield input[type=text]:not([readonly]):hover {
			background-color: #efeff0;
		}


	c) Copy and append this styling block under the Input comment to style the placeholders:
	
		::placeholder {
		color: #cfd0d1;
		opacity: 1;
		}

		:-ms-input-placeholder {
		color: #cfd0d1;
		}

		::-ms-input-placeholder {
		color: #cfd0d1;
		}

______________________________________________________________________________________________________________________________

4. STEP - switch your view to HTML page!

	a) Once in html file, add class (.inputfield) to <div> containers wrapping: TITLE and TRADE select fields!

		<div class="sapCRLWidgetContentNoIndent sapCpWidgetContentNoIndent inputfield">

			The complete code fragment, after applying the markup, should look "similar" to below:

				<div class="sapCRLWidgetContentNoIndent sapCpWidgetContentNoIndent inputfield">
					<label id="__label120" class="sapCpLabel" for="__down30">Title</label>
					<select id="__down30" class="sapCpDropDown sapCpDropDownPlaceholder">
						<option label="Please choose" value="" selected="selected">Please choose</option>
						<option label="Company" value="0003">Company</option>
						<option label="Mr." value="0002">Mr.</option>
						<option label="Mr. and Mrs." value="0004">Mr. and Mrs.</option>
						<option label="Ms." value="0001">Ms.</option>
					</select>
				</div>
______________________________________________________________________________________________________________________________

5. STEP - scroll into view (Label) comment on this (CSS) page!

	a) Copy and append this styling block under the Label comment to style the labels:

		.inputfield label {
		display: block;
		font-size: 10px;
		color: #000;
		margin: 0 0 3px;
		padding: 0 15px;
		font-weight: 400;
		font-family: "BoschSans-Bold", Arial, Helvetica, sans-serif;
		}

______________________________________________________________________________________________________________________________

6. STEP - switch your view to HTML page!

	a) Once in html file, add class (.width50Percent) to <div> containers wrapping: FIRST NAME and SURNAME select fields!

		<div id="application-MarketingContent-manage-component---ObjectView--DesignView--ContentPage-0L-3W" data-sap-cp-key="498A04D53274653EB0219D1C1E37DD9C6FA08B7F" class="sapCRLWidget sapCRLWidgetEditable sapCpInputWidget sapCpWidget sapCpWidgetEditable width50Percent">

			The complete code fragment, after applying the markup, should look "similar" to below:

				<div id="application-MarketingContent-manage-component---ObjectView--DesignView--ContentPage-0L-3W" data-sap-cp-key="498A04D53274653EB0219D1C1E37DD9C6FA08B7F" class="sapCRLWidget sapCRLWidgetEditable sapCpInputWidget sapCpWidget sapCpWidgetEditable width50Percent">
					<div class="sapCRLWidgetContentNoIndent sapCpWidgetContentNoIndent inputfield">
					<label id="__label121" class="sapCpLabel" for="__input47">First Name</label>
					<input id="__input47" class="sapCpInput" maxlength="40" type="text" placeholder="First name"> 
					</div>
				</div>

______________________________________________________________________________________________________________________________

7. STEP - scroll into view (Layout) comment on this (CSS) page!

	a) Copy and append this styling block under the Layout comment to make two fields side by side:

		.width50Percent {
		display: inline-block !important;
		width: 49.7% !important;
		}

______________________________________________________________________________________________________________________________

8. STEP - scroll into view (DropDown) comment on this (CSS) page!

	a) To class (.sapCpDropDown) add the following styles:

		.sapCpDropDown {
		display: block;
		min-width: 100%;
		border: 0;
		background: 0 0;
		padding: 0 15px;
		height: 48px;
		border-bottom: 1px solid #cfd0d1;
		-webkit-transition: all 1.2s;
		transition: all 1.2s;
		}

		.sapCpDropDown:hover {
			cursor: pointer;
			background-color: #F5F5F5;
			color: #000000;
			border-bottom: 1px solid #000000;
		}

______________________________________________________________________________________________________________________________

9. STEP - scroll into view (For use in Landing Pages) comment on this (CSS) page!

	a) Cnahge height property of .sapCpInputWidget select selector from 38px to 48px; the code fragment should resemble:

		.sapCpInputWidget select {
		-webkit-appearance: menulist;
		background-image: none;
		height: 48px;
		font-family: inherit;
		font-size: inherit;
		color: inherit;
		width: auto;
		}

______________________________________________________________________________________________________________________________

10. STEP - scroll into view (Checkbox) comment on this (CSS) page!

	a) Cnahge height and width properties of .sapCpCheckBox input selector to 20px each; the code fragment should resemble:

		.sapCpCheckBox input {
			font-size: inherit;
			font-family: inherit;
			width: 20px;
			height: 20px;
		}

	b) Add styles for .sapCpCheckBox input:hover selector to cursor pointer; the code fragment should resemble:

		.sapCpCheckBox input:hover {
			cursor: pointer;
		}

_____________________________________________________________________________________________________________________________

11. STEP - scroll into view (Button) comment on this (CSS) page!

	a) Delete any present code and paste the following snippet in:

		.sapCpButton {
		position: relative;
		font-size: inherit;
		font-family: inherit;
		padding: 6px 10px;
		background-color: #005691;
		border-bottom: 2px solid #008ecf;
		border-left: none;
		border-right: none;
		border-top: none;
		color: #fff;
		white-space: normal;
		line-height: 1.6;
		padding: 11px 15px;
		text-align: center;
		height: auto;
		overflow: hidden;
		}

		.sapCpButton::after {
			position: absolute;
			left: 0;
			top: 100%;
			content: "";
			display: inline;
			background-color: #ffffff;
			width: 100%;
			height: 100%;
			opacity: 0.3;
			-webkit-transition: all 1s;
			transition: all 1s;
		}

		.sapCpButton:hover::after {
			top: 0%;
			color: #fff;
			background-color: #005691;
			border-bottom: 2px solid #003254;
		}


		IMPORTANT! 

		* Delete any other STANDALONE .sapCpButton selector(s) in this css file (especially those located under this code as they will have a greater precedance and will overide our style). 
		* I have found one between Rasponsive Layout comment and For use in landing pages comment.

_____________________________________________________________________________________________________________________________

12. STEP - scroll into view (Widget) comment on this (CSS) page!

	b) Add relative position to .sapCpWidgetContentNoIndent class; the code fragment should resemble:

		.sapCpWidgetContentNoIndent {
					min-height: 1px;
					position: relative;
				}

______________________________________________________________________________________________________________________________



END OF THE INSTRUCTIONS */