/* INIT */
body{}
body,input,textarea,select{font-family: 'Helvetica Neue', HelveticaNeue, Helvetica, sans-serif;}
input,textarea,select,a{font-size: 1em;}

*{outline:none;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
html,body{height: 100%;position: relative;}
body,table,td,th,tr,input,ul,li,button,form,select{padding:0;margin:0;}
table{border-collapse: collapse;border-spacing:0;empty-cells: show;}
ul{list-style: none;margin:0;padding:0;}
input,select,textarea{outline:none;color:#555555;}
textarea{resize:none;}

td{vertical-align: top;}

::-webkit-input-placeholder{color:#999;}
:-moz-placeholder{color:#999;}
:-ms-input-placeholder{color:#999;}

input::-moz-focus-inner{border: 0;}

div.clear{clear:both;height:0;}
div.br10{clear:both;height:10px;}
div.br20{clear:both;height:20px;}
div.br30{clear:both;height:30px;}
div.br40{clear:both;height:40px;}

h1, h2, h3, h4, h5, h6{margin:0 0 10px 0;}
h4{font-size:1.1em;margin-bottom:10px;}

.h1-hr{
	height:1px;
	background-color: #808285;
	margin:19px 2px 19px 2px;
	outline: none;
	border:none;
}
div.print-hr{
	height:1px;
	position: relative;
	background-color: #808285;
	margin:19px 27px 19px 2px;
}
div.print-hr .print-button{
	position: absolute;
	display:block;
	top:-7px;
	right:-27px;
	width:15px;
	height:14px;
	background-image: url("/images/sprite.png");
	background-position: -127px 0;
	cursor: pointer;
}

.font-small{
	font-family: Arial;
	font-size: 0.9em;
	font-style: italic;
	color:#8c8a8a;
}
.float-left{float:left;}
.float-right{float:right;}
.pseudo{
	cursor: pointer;
	display:inline-block;
	font-family: Arial;
	font-size: 0.9em;
	font-style: italic;
	color:#390;
	border-bottom:1px dotted #390;
}
.invalid{color:#c00;}

/* /INIT */

/* INPUTS */
input,textarea{padding:2px 5px;border:1px solid #ccc;}
select{padding:2px 2px;}
input.field-number,
input.field-date,
input.field-integer,
input.field-float{text-align: right;}
/* /INPUT */

.column-number{text-align: right;}

/* FORM */
label.invalid-field-label,
div.field-invalid label{color:#ed1b33 !important;}

div.form-errors{color:#ed1b33;margin-bottom:20px;}
div.form-errors .label{color:#ed1b33;font-size:1.1em;font-weight:bold;}
div.form-errors .label span{border:2px dotted #ed1b33;padding:0 3px;}
div.form-errors ul{list-style:square;margin:10px 0 0 32px;}
div.form-errors ul li{font-size:0.9em;line-height: 1.6em;}

div.form-success{
	font-size:0.9em;
	font-weight:bold;
	color:#390;
	margin-bottom:20px;
}
div.form-success span{
	border:2px dotted #390;
	padding:0 3px;
	margin-right:5px;
	font-size:1.1em;
}

div.form-field{padding:2px 0;}
div.form-field label.form-element-label{
	display: inline-block;
	width:140px;
	line-height: 20px;
	padding:4px 0 5px 0;
	vertical-align:top;
	text-align: right;
	padding-right: 20px;
	color:#272727;
}
div.form-field label.form-element-label.date-to.field-date{
	width:auto;
	padding-left:5px;
	padding-right:5px;
}
div.form-field label span.required-label{color:#d30044;}
div.form-element-hint{
	color:#777;
	font-size: 0.85em;
	line-height: 1.4em;
	margin-left: 10px;
	display: inline-block;
	vertical-align: top;
}
div.form-field div.form-element-hint{padding:5px 0;}

input.field-text,
input.field-url,
input.field-email,
input.field-password,
input.field-number,
input.field-date,
input.field-time,
div.form-field select{
	width:300px;
	padding:0 6px;
	border:1px solid #d1d1d1;
	height:25px;
	/*line-height: 24px;box-shadow:inset 1px 1px 5px rgba(0, 0, 0, 0.3);*/
	border-radius: 2px;
}
select{border: 1px solid #d1d1d1;height:25px;}
textarea{border:1px solid #d1d1d1;border-radius: 2px;padding:3px 6px;line-height: 16px;}
input.field-text:disabled,
input.field-url:disabled,
input.field-email:disabled,
input.field-password:disabled,
input.field-number:disabled,
input.field-date:disabled,
input.field-time:disabled,
select:disabled,
textarea:disabled{
	opacity: 0.6;filter:alpha(opacity=60);-moz-opacity: 0.6;
	border-color:#ccc;
	color:#666;
}
div.form-field input[type~="text"][readonly] {
	background-color: #ddd;
}

input.field-number{width:60px;text-align: right;}
input.field-date{width:80px;text-align: right;}
input.field-time{width:46px;text-align: right;}
div.form-field input.field-checkbox{vertical-align: middle;margin-top:5px;}
div.form-field select{
	margin:0;
	padding:3px 4px;
	width:179px;
	height:26px;
}
div.form-field textarea:focus,
div.form-field input:focus{border-color:#009ddb;}
div.form-field.field-textarea textarea{width:400px;height:80px;padding: 3px 6px;}
div.field-htmleditor textarea{height:400px;}
div.form-field.field-birthday select.part-year{width:65px;}
div.form-field.field-birthday select.part-month{width:90px;}
div.form-field.field-birthday select.part-day{width:50px;}
div.form-field.field-birthday select{margin-right: 5px;}
div.form-field div.field-radio-box{display: inline-block;}
div.form-field div.field-radio-box div{line-height: 24px;height: 24px;}
div.form-field div.field-radio-box input{float:left;margin-top:6px;margin-right:6px;}
div.form-field div.interval-elements{display: inline-block;}
div.form-field div.interval-elements input{margin-right:5px;}
div.field-file div.box,
div.field-image div.box{display: inline-block;}
div.field-image div.image-item{display: inline-block;margin-right: 5px;}
div.field-image img{max-width: 120px;max-height: 120px;}
div.field-file input,
div.field-image input{border:none;margin:0;}
div.form-field span.field-label{padding:4px 0;display: inline-block;}

div.field-images img{width:120px;height:90px;}
div.field-images div.image-item{position: relative;display: inline-block;height:110px;margin-right: 10px;}
div.field-images input{margin-top:20px;}

div.form-field div.hint{padding-top:5px;color: #888;}

div.field-region select.field-country{width:120px;margin-right:5px;}
div.field-region select.field-city{width:160px;}

div.form-buttons{margin-top:15px;}
div.form-buttons a{
	/*color:#555555;
	font-size: 16px;
	font-weight: bold;
	border-bottom: 2px dotted #555555;
	display: inline-block;
	text-decoration: none;*/
}
div.form-buttons a,
div.form-buttons button,
div.form-buttons input{margin-right:10px;}
/* /FORM */

/* ELEMENTS */
.button,
.button-export,
.button-submit,
.button-border,
.button-cancel{display: inline-block;height:30px;padding:0 20px;border:none;background: none;cursor:pointer;}
.button{background:#eee;color:#333;text-shadow: rgb(255, 255, 255) 0px 1px 0px;}
.panel .button{background: #a9a9a9;color: #fff;text-shadow: 0 1px rgb(0, 0, 0);}
a.button-cancel{line-height: 30px;color:#272727;text-decoration: none;}
.button-export{background-color: #33BE7B;color: #fff;}
.button:hover,
.button-submit:hover,
.button-export:hover,
.button-cancel:hover{background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkY5QzkyQzY4NDgyNzExRTQ5OUFGOEM3MzU3QUZEOUU5IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkY5QzkyQzY5NDgyNzExRTQ5OUFGOEM3MzU3QUZEOUU5Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6RjlDOTJDNjY0ODI3MTFFNDk5QUY4QzczNTdBRkQ5RTkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RjlDOTJDNjc0ODI3MTFFNDk5QUY4QzczNTdBRkQ5RTkiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7v1qbqAAAAD0lEQVR42mJgYGCQAggwAAAfABtkgG0aAAAAAElFTkSuQmCC);}
.button-toggle{display: inline-block;color:#0084b4;cursor: pointer;border-bottom: 1px dashed #0084b4;}
.button-toggle:hover{border-bottom-color: transparent;}
.button-submit:active,
.button-export:active,
.button-cancel:active,
.button:active{box-shadow: inset 0 1px 6px rgba(0, 0, 0, .2);}

.button.loading{background-image: url("/images/loading-line.gif");background-position:10px 50%;background-repeat:no-repeat;padding-left:35px;}
input.button-submit:disabled,
button:disabled{opacity: .7;}
/* /ELEMENTS */

.button-close {
	display: none;
	position: relative;
	margin-left: 5px;
}
img.gif{
	width:150px;
}

.heading-right > * {
	float: left;
}

#langselect {
	margin-left: 10px;
	color: #000;
	cursor: default;
}

i.flag {
	float: left;
}

.change_lang {
	display: none;
	float: left;
	margin-left: 10px;
}

.button-cancel.general{
	background: #33BE7B;
	color: #ffffff!important;
	box-shadow: 2px 2px 5px #c7c7c778;
	line-height: 30px;
	text-decoration: none;
	margin-right: 10px;
}

#confirmed {
	width: 500px;
	border-radius: 5px;
	border: 1px #ed1b33 solid;
	box-shadow: 3px 5px 5px 5px rgba(0,0,0,.2);
	background: #fff;
	position: fixed;
	top: 0;
	left: 50%;
	margin-left: -250px;
	z-index: 112;
	padding: 20px 10px;
}
#overlay {
	z-index: 110;
	position: fixed;
	background-color: #000;
	opacity: 0.3;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
button.confirmed {
	width: 150px;
}
#confirmed-content {
	text-align: center;
	width: 100%;
	height: 85%;
}
#conf-button {
	text-align: center;
}

.mb-2r {
	margin-bottom: 2rem;
}

.ml-1r {
	margin-left: 1rem;
}

.ml-05r {
	margin-left: 0.5rem;
}

.mt-1r {
	margin-top: 1rem;
}

.mt-2r {
	margin-top: 2rem;
}

h1.green {
	color: #33BE7B !important;
}

body div.d-flex {
	display: flex;
}

.justify-center {
	justify-content: center;
}

.flex-column {
	flex-direction: column;
}

.small-remove-icon {
	cursor: pointer;
	height: 16px;
}

/*TODO move?*/
#stages-grid {
	max-width: 420px;
	display: grid;
	grid-template-rows: 1fr 1fr 1fr;
	grid-template-columns: 1fr 1fr 1fr;
}

#stages-grid.stage-grid-2 {
	grid-template-columns: 1fr 1fr;
}

#stages-grid input {
	border: none;
}

#stages-grid input[type=number],
#stages-grid input[type=number] {
	-webkit-appearance: textfield;
	-moz-appearance:textfield;
	appearance: none;
	margin: 0;
}

#stages-grid div {
	padding: 10px 16px;
	border: 1px solid #e5e5e5;
	background-color: white;
}

#stages-grid .head-cell {
	background-color: #fafafa;
	border-bottom: solid 2px #ccc;
}

.button-green:hover {
	color: #fff;
	background-color: #449d44;
	border-color: #398439;
}

.button-green {
	color: #fff;
	background-color: #5cb85c;
	border-color: #4cae4c;
	text-shadow: none;
}

#stages-grid .grid-block {
	max-width: 10px;
	width: 10px;
	padding: 0;
	border: none;
	margin: -10px 16px -10px -16px;
}

#stages-grid .warning-grid-block {
	background-color: #d9534f;
}

#stages-grid .no-warning-grid-block {
	background-color: white;
}

.shadow-block-highlight {
	box-shadow: 0 0 10px rgba(165, 165, 165, 0.5);
}

#stages-grid.view {
	margin: 10px 5px 10px 5px !important;
}

.margin-5px {
	margin: 5px;
}

.button-delete,
.button-back {
	display: inline-block;
	margin-bottom: 0;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	background-image: none;
	border: 1px solid transparent;
	padding: 6px 12px;
	line-height: 1.42857143;
	background-color: #f1f1f1;
	color: black;
}

.button-back:hover {
	color: black;
}

.padding-1r {
    padding: 1rem;
}

.padding-2r {
    padding: 2rem;
}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.flex-3 {
    flex: 3;
}

.align-self-center {
    align-self: center;
}

.div-as-button {
    display: flex;
    width: max-content;
    align-items: center;
}