/* ============================================ */
/*  FLAMCO RAIL CALCULATION MODULE              */
/*      StyleSheet                              */
/*                                              */
/*  Copyright © 2015 Guidance Rotterdam B.V.    */
/*  All rights reserved.                        */
/*                                              */
/*  Requires:                                   */
/*    bootstrap-cust.css                        */
/* ============================================ */

.noscreen {
	display: none;
}
#print-preview-message {
display: none;
}

#defs {
position: absolute;
visibility: hidden;
height: 0px;
width: 0px;
left: 0px;
}
#rail_configurator-debug,
#rail_configurator_canvas {
display: block;
min-height: 25px;
margin-top: 15px;
border: 1px solid #201f1f;
border-radius: 4px;
}
#rail_configurator-debug {
padding: 5px;
background: #eeeeee;
}
#rail_configurator_toolbox {
position: relative;
display: inline-block;
min-width: 610px;
min-height: 445px;
margin-top: 15px;
padding: 10px;
border: 1px solid #201f1f;
border-radius: 4px;
vertical-align: top;
}
#rail_configurator_results {
position: relative;
display: inline-block;
width: 300px;
min-height: 445px;
right: 0px;
margin-top: 15px;
margin-left: 15px;
margin-right: 0px;
padding: 10px;
border: 1px solid #201f1f;
border-radius: 4px;
}
#rail_configurator_addsupport {
cursor: pointer;
}
[id^='rail_configurator-error'] {
	position: absolute;
	border: 1px solid #201f1f;
	border-radius: 4px;
	background: #ffffff;
	padding: 5px;
}
[id^='rail_configurator-error'].show {
	/*display: block !important;*/
	visibility: visible;
	cursor: pointer;
	top: 400px;
	left: 26px;
	width: 211px;
}
.results-email-form {
	margin-top: 15px;
}
.results-print {
	width: 100%;
	margin-top: 40px;
	padding-left: auto;
	padding-right: auto;
	text-align: center;
}
.railcalc {
	color: #666666;
	font-family: 'Arial', sans-serif;
	font-size: 12px;
	font-weight: normal;
}
.railcalc p.disclaimer {
	margin-top: 15px;
	font-size: 11px;
	color: #201f1f;
}
.railcalc span.subtitle {
	display: block;
	font-style: bold;
	font-size: 12px;
}
.groupbox {
	position: relative;
	display: inline-block;
	border: 1px solid #eeecec;
	border-radius: 4px;
	padding: 10px;
	margin-top: 5px;
}
.groupbox span.boxlabel {
	position: absolute;
	top: -8px;
	left: 10px;
	padding: 0 3px;
	background: #ffffff;
	font-weight: bold;
}
.groupbox.results {
	width: 278px;
}
.toolbox-items-rail {
	position: relative;
	top: 0px;
	width: 208px;
	height: 190px;
	margin-right: 0px;
	vertical-align: top;
}
.toolbox-items-rail .form-group .radio::after{
	content: url('/style/productconfigurators/rail/anchor.svg');
}
.toolbox-items-supports {
	position: relative;
	width: 365px;
	height: 414px;
	margin-left: 10px;
	margin-right: 0px;
}
.toolbox-items-supports input {
	display: inline;
	position: absolute;
	right: 10px;
	width: 100px;
}
.toolbox-buttons {
	visibility: hidden; /* DEBUG */
	position: absolute;
	bottom: 0px;
	margin-bottom: 5px;
}
.railcalc {
	margin: 15px;
}
.railcalc h1 span {
	color: #eeecec;
	font-size: 16px;
}
.railcalc p {
	margin: 0px 0px 10px;
}
.railcalc label {
	display: inline-block;
	max-width: 100%;
	margin-bottom: 5px;
	font-weight: 700;
}
.draghandle {
	cursor: -webkit-grab; cursor: -moz-grab; cursor: grab;
}
.draghandle:active {
	cursor: -webkit-grabbing; cursor: -moz-grabbing; cursor: grabbing;
}
g.selected > circle {
	fill: #CCCCCC;
}
g.selected > polygon {
	fill: #CCCCCC;
}

div[contenteditable='true'] {
	width: 100%;
	height: 100%;
}
[contenteditable='true'],
[id^='rail_configurator-error'] {
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
[contenteditable='true']:hover {
	cursor: pointer;
}
[contenteditable='true']:active,
[contenteditable='true']:focus {
	outline: 2px solid #ed1c24;
	cursor: text;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(215, 26, 33, .6);
	box-shadow: 0px 1px 1px rgba(0, 0, 0, .075) inset, 0px 0px 8px rgba(215, 26, 33, .6);
}

.railcalc .form-control:focus,
[id^='rail_configurator-error'].show {
	border-color: #ed1c24;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(215, 26, 33, .6);
	box-shadow: 0px 1px 1px rgba(0, 0, 0, .075) inset, 0px 0px 8px rgba(215, 26, 33, .6);
}
[contenteditable='true'] {
	outline: 1px solid #c20812;
}

.results-print .btn-default {
	background-color: #CCCCCC;
	border-color: #ffffff;
}
.results-print .btn-default:hover {
	background-color: #ffffff;
	border-color: #dddddd;
}
#railconfigurator-app-reset {
/* position: relative; */
display: grid;
grid-template-rows: auto auto auto;
grid-template-columns: auto 107px auto;
right: 0px;
margin-top: 0px;
/* margin-left: 15px; */
}
.reset-button {
	grid-column: 2;
	display: flex;
	
}
.reset-button .btn {
	flex-grow: 1;
}
.show-rail-reset-message {
	display: block;
	justify-content: right;
	grid-column-start: 1;
	grid-column-end: 5;
	z-index: 10;
	margin-top: 10px;
}
.hide-rail-reset-message {
	display: none;
}

