/*Carousel with example models*/
.carousel {
	position: relative;
	z-index: 1;
}

.img-thumbnail {
	padding: 0.25rem;
	background-color: #fff;
	border: 1px solid #dee2e6;
	border: 1px solid #fff;
	border-radius: 0.25rem;
	max-width: 100%;
	height: auto;
	vertical-align: top;
	/* with baseline, there is an inexplicable space between image and text */
}

.card-body {
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	padding: 1.25rem;
}

.card-header {
	padding: 0.75rem 1.25rem;
	margin-bottom: 0;
	background-color: rgba(0, 0, 0, 0.03);
	border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header:first-child {
	border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-header + .list-group .list-group-item:first-child {
	border-top: 0;
}

.gallery {
	width: 100%;
	white-space: nowrap;
	overflow-x: hidden;
	overflow-y: hidden;
	text-align: center;
}

.gallery .horizontal-gallery {
	display: inline;
}

.gallery-control-prev,
.gallery-control-prev:hover,
.gallery-control-next,
.gallery-control-next:hover {
	padding: 59px 32px;
	background-color: white;
	transition: 0.3s;
	position: absolute;
	top: 0;
	bottom: 0;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: center;
	text-align: center;
	opacity: .5;
}

.gallery-control-next {
	right: 0;
	/*Safari 5.1-6*/
	background: -webkit-linear-gradient(right, rgba(166, 166, 1665, 0), rgba(166, 166, 166, 1));
	/*Opera 11.1-12*/
	background: -o-linear-gradient(right, rgba(166, 166, 166, 0), rgba(166, 166, 166, 1));
	/*Fx 3.6-15*/
	background: -moz-linear-gradient(right, rgba(166, 166, 166, 0), rgba(166, 166, 166, 1));
	/*Standard*/
	background: linear-gradient(to right, rgba(166, 166, 166, 0), rgba(166, 166, 166, 1));
}

.gallery-control-prev {
	left: 0;
	/*Safari 5.1-6*/
	background: -webkit-linear-gradient(left, rgba(166, 166, 166, 0), rgba(166, 166, 166, 1));
	/*Opera 11.1-12*/
	background: -o-linear-gradient(left, rgba(166, 166, 166, 0), rgba(166, 166, 166, 1));
	/*Fx 3.6-15*/
	background: -moz-linear-gradient(left, rgba(166, 166, 166, 0), rgba(166, 166, 166, 1));
	/*Standard*/
	background: linear-gradient(to left, rgba(166, 166, 166, 0), rgba(166, 166, 166, 1));
}

#examplesSlidingDiv,
#ownModelsSlidingDiv {
	cursor: grab;
	cursor: -moz-grab;
	cursor: -webkit-grab;
	cursor: url('gfx/openhand.cur'), move;
	/* standard: note the different path for the .cur file */
}

#ownModelsSlidingDiv {
	padding: 0px 0px 20px 0px;
}

#examplesSlidingDiv {
	padding: 20px 0px;
}

#collapseExampleModels,
#ownModels {
	display: flex;
	position: relative;
}

#examplesSlidingDiv .img-thumbnail,
#ownModelsSlidingDiv .img-thumbnail {
	margin: 1px;
	padding: 1px;
	width: 120px;
	height: 80px;
	cursor: pointer;
}

.ownModelsToolbar {
	width: 100%;
	margin-left: 92px;
	margin-right: 92px;
	text-align: center;
	z-index: 2;
}

.ownModelsToolbar > div {
	width: 100%;
	display: inline-block;
	margin: auto;
	padding: 10px 5px;
	background: rgba(0, 0, 0, 0.002);
	border-radius: 5px;
}

.ownModelsToolbar > div input[type=search] {
	border: 1px solid #77b659;
	border-radius: 0px;
	padding: 2px;
	font: 1em Helvetica, Arial, sans-serif;
	width: 100%;
	background: url('gfx/search_icon.svg') center left 5px no-repeat;
	background-size: 18px auto;
	padding-left: 30px;
	height: 30px;
}

.ownModelsToolbar > div .greenButton {
	padding: 0px 10px;
	border-radius: 5px;
	margin-top: -1px;
	margin-left: 2px;
	float: none;
}

.ownModelsToolbar > div .greenButton + .greenButton {
	margin-left: 3px;
}

#ownModelsSlidingDiv .selectOwnModel {
	position: absolute;
	display: none;
	margin-top: 1px;
	margin-left: 1px;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: .25rem;
	display: inline;
	width: 18px;
	height: 18px;
	overflow: hidden;
	padding-left: 16px;
	left: 0px;
}

#ownModelsSlidingDiv .ownModel:hover .selectOwnModel {
	display: none;
	border-color: #bfc3c6;
}

#ownModelsSlidingDiv .ownModel.selected .img-thumbnail {
	background-color: #f0f0f0;
	border-color: #77b659;
}

#ownModelsSlidingDiv .ownModel.selected .img-thumbnail:hover {
	border-color: #bfc3c6;
}

#ownModelsSlidingDiv .ownModel.selected .selectOwnModel {
	padding-left: 0px;
}

#ownModelsSlidingDiv .ownModel.hidden-by-filter {
	display: none;
}

.inputText.modelInfoRow.modelInfoRow.modelInfoRow {
	width: 140px;
	min-width: 120px;
	height: 35px;
	margin-right: 20px;
}

.inputText.modelInfoRow.labelInputArea.labelInputArea.labelInputArea.labelInputArea.labelInputArea.labelInputArea {

	width: 120px;
	min-width: 120px;
	height: 35px;
	margin-right: 20px;
}

.itemSectionPlaceholder {
	width: 124px;
	height: 84px;
	margin: 1px;
	padding: 1px;
	min-width: 80px;
	min-height: 80px;
	text-align: center;
	line-height: 80px;
	font-size: 22px;
	min-height: 80px;
}

#collapseExampleModels .img-thumbnail:hover,
#ownModels .img-thumbnail:hover {
	border-color: #bfc3c6;
}

.itemWrapper {
	position: relative;
	display: inline-block;
	vertical-align: top;
	margin-top: 21px;
}

.carouselPadding {
	display: inline-block;
	width: 98px;
	height: 128px;
	vertical-align: top;
}

.itemSectionWrapper {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	margin-top: -4px;
}

#examples {
	width: 100%;
	border: 1px solid #e0e0e0;
}

#examples[mode=ownModels] #ownModelsToggler,
#examples[mode=ownModels] #ownModelsToggler > a {
	cursor: default;
	color: #fff;
	background-color: #77b659;
}

#examples[mode=ownModels] #exampleModelsToggler,
#examples[mode=ownModels] #exampleModelsToggler > a {
	color: grey;
	background-color: transparent;
}

#examples[mode=exampleModels] #exampleModelsToggler,
#examples[mode=exampleModels] #exampleModelsToggler > a {
	cursor: default;
	color: #fff;
	background-color: #77b659;
}

#examples[mode=exampleModels] #ownModelsToggler,
#examples[mode=exampleModels] #ownModelsToggler > a {
	color: grey;
	background-color: transparent;
}

#examples[mode=ownModels] #collapseExampleModels,
#examples[mode=ownModels] #collapseExampleModels > a {
	display: none;
}

#examples[mode=exampleModels] #ownModels {
	display: none;
}

.slide-prev-icon,
.slide-next-icon {
	width: 30px;
	height: 100%;
}

.figure-caption {
	font-size: 90%;
	padding: 0px 0.5rem;
	max-width: 122px;
}

.sectionTitle {
	font-size: 20px;
	font-weight: bold;
	padding: 30px 20px;
	margin: 0;
	text-align: center;
}

.wrap {
	/* CSS3 */
	white-space: pre-wrap;
	/* Firefox */
	white-space: -moz-pre-wrap;
	/* Opera <7 */
	white-space: -pre-wrap;
	/* Opera 7 */
	white-space: -o-pre-wrap;
	/* IE */
	word-wrap: break-word;
}

.itemWrapper.ownModel.selected img {
	background-color: #77b659;
	border-color: #77b659;
}

.carouselTooltip {
	position: relative;
	display: inline-block;
}

.carouselTooltip .carouselTooltiptext {
	visibility: hidden;
	background-color: rgba(0, 0, 0, 0.8);
	color: #fff;
	border-radius: 2px;
	text-align: left;
	padding: 5px;
	z-index: 1;
	transition: opacity 0.2s linear;
	opacity: 0;
	position: absolute;
	z-index: 1;
	bottom: 100%;
	left: 50%;
	min-width: 300px;
	max-width: 300px;
	margin-left: -150px;
}

.carouselTooltip:hover .carouselTooltiptext,
.carouselTooltip.carouselTooltiptext .hover {
	visibility: visible;
	opacity: 1;
}

@media (max-width : 495px) {
	.tooltip .tooltiptext.carouselTooltiptext {
		min-width: 200px !important;
		margin-left: -100px !important;
	}
}

@media (max-width : 630px) {
	.tooltip .tooltiptext.carouselTooltiptext {
		min-width: 240px;
		margin-left: -120px;
	}
}

@media (max-width : 910px) {
	#ownModelsActions {
		margin-top: 5px;
		margin-left: 0px !important;
	}

	.ownModelsToolbar {
		margin-left: 0px !important;
		margin-right: 0px !important;
	}

	.slide-prev-icon,
	.slide-next-icon {
		margin-top: 20px;
	}
}

@media (max-width : 575.98px) {

	.gallery-control-prev,
	.gallery-control-prev:hover,
	.gallery-control-next,
	.gallery-control-next:hover {
		padding: 59px 10px;
	}

	.carouselPadding {
		width: 50px;
	}
}

/*end*/