@import "../../../../Base/Content/sass/compass";
@import "../../../../Base/Content/sass/bootstrap/variables";
@import "Variables";


.wizdom-bootstrap-wrapper,
.wizdom-bootstrap-wrapper-system {
	/* Searchresults and corporate news searchresults */
	.ms-srch-siteSearchResults {
		padding-top: 10px;
		padding-left: 15px;
		padding-right: 15px;
		padding-bottom: 15px;

		h3 {
			font-size: 20px;
		}

		.ms-srch-result #ResultFooter {
			margin-bottom: 0;
		}

		.ms-srch-result {
			background-color: $wizdom-webparts-background-color;
			box-shadow: 0.5px 0.5px 5px rgba(0,0,0,0.4);
			border-radius: 5px;
			padding: 20px;
			padding-top: 41px;
		}
	}
	/* Corporate news search results */
	.wt-newsArchivePage {
		#Refinement {
			padding-left: 5%;
		}

		& > .container-fluid {
			padding-top: 20px;
		}

		#SearchBox {
			.ms-srch-sbLarge-fullWidth {
				width: auto !important;
			}
		}
	}

	#sideNavBox h2 {
		font-size: 23px;
		padding-top: 5px;
	}

	.ms-srch-item-path {
		-ms-word-break: break-all;
		word-break: break-all;
	}

	.ms-webpart-chrome-fullWidth {
		min-width: 0;
	}

	.ms-srch-sb-prompt {
		white-space: normal;
	}

	.ms-srch-result .ms-srch-item,
	#UpScopeLinkBottom, #UpScopeLinkTop,
	.ms-srch-item-path, .ms-srch-sbLarge-navWidth,
	.ms-srch-sbLarge-fullWidth {
		width: auto !important;
	}
	/*.ms-srch-hover-innerContainer {
		width: 284px !important;
	}

	.ms-srch-hover-siteViewerContainer {
		width: 244px !important;
	}*/
	/* Searchresult preview when mouseover (normal search AND corporate news search )*/
	@media (max-device-width : $screen-xs-max), (max-width : $screen-xs-max) {
		.ms-srch-hover-outerContainer {
			display: none !important;
		}
	}

	@media (min-width : $screen-sm) and (max-width : $screen-md) {
		.ms-srch-hover-outerContainer {
			display: none !important;
		}
	}

	@media (min-width : $screen-md) and (max-width : $screen-lg) {
		.ms-srch-hover-outerContainer {
			left: 500px !important;
		}

		.ms-srch-siteSearchResults {
			.ms-srch-hover-outerContainer {
				left: 700px !important;
			}
		}
		/* Site searchresults*/
	}

	// need to use specifics  - otherwise it bugs
	@media (min-width:$screen-md) and (max-width: 1499px) {
		.ms-srch-hover-innerContainer {
			width: calc(100vw - 70vw) !important;
		}

		.ms-srch-hover-siteViewerContainer {
			width: calc(100%) !important;
		}
	}

	@media (min-width : $screen-lg) {
		.ms-srch-hover-outerContainer {
			left: 600px !important;
		}
		/* Corporate searchresults*/
		.ms-srch-siteSearchResults {
			.ms-srch-hover-outerContainer {
				left: 800px !important;
			}
		}
		/* Site searchresults*/
	}
	// need to use specifics  - otherwise it bugs
	@media (min-width: 1500) {
		.ms-srch-hover-innerContainer {
			width: calc(100vw - 60vw) !important;
		}
	}
}



