/*następca reset.css i wzorcowy main.css*/
/*PATCHES*/

/*DEFAULTS*/
html {
	font-family: "Open Sans","Tahoma","Arial","sans-serif";
}
body {
	font-size: 100%; /*w3schools recomends > Use a Combination of Percent and em. Standard 1em=16px*/
	margin: 0;
	padding: 0;
}
* {
	box-sizing: border-box;
}
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}
img {
	/*width: 100%;*/
	height: auto;
}

h1 {
	font-size: 1.875em;
	margin: 0.625em 0;
}
h2 {
	font-size: 1.5em;
	margin: 0.5em 0;
}
h3 {
	font-size: 1em;
	margin: 0.3125em 0;
}
h4, h5, h6 {
	font-size: 0.875em;
	margin: 0.25em 0;
}
div, input, label, button, fieldset {
	box-sizing: border-box;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
	cursor: pointer;
	text-decoration: none;
}
/*FORMULARZ*/
/*fieldset {
	border: 1px solid DarkGray;
	border-radius: 5px;
	margin: 0;
	padding: 3px;
}*/
#register fieldset {
	margin: 0 10px;
}
#register fieldset:first-of-type { /*jeśli obok siebie*/
	margin-left: 0;
}
#register fieldset:last-of-type {
	margin-right: 0;
}
input, button, a.button {
	border-color: DarkGray;
	border-style: solid;
	border-radius: 5px;
	border-width: 1px;
	font-size: 1em;
	padding: 1px 0;
}
/*.hidden {
	display: none;
}*/
/*input:focus, input:focus:hover,
button:focus, button:focus:hover,
a.button:focus, a.button:focus:hover {
	outline: none;
	box-shadow: 0 0 0 2px DimGray;
}*/
/*input:hover, button:hover, a.button:hover {
	box-shadow: 0 0 0 2px LightGray;
}*/
/*input[type=button], input[type=submit], input[type=reset],
button, a.button {
	background-color: #4CAF50;  w3c Green 
	border: none;
	color: white;
	cursor: pointer;
	display: inline-block;
	text-align: center;
	text-decoration: none;
}*/
div.form-row {
	margin-bottom: 6px;
}
/*div.form-row label {
	display: inline-block;
	padding-right: 4px;
	text-align: right;
	width: 40%;
}*/
div.form-row input {
	font-size: 100%;
	/*width: 60%;*/
}
/*.form-update {
	display: flex;
}*/

/*TERAZ BEGIN*/
#register {
	margin: auto;
	width: 70%;
}
#register .form-header h2 {
	text-align: center;
}
#register fieldset {
	/*float: left;*/
	width: 50%;	/*tylko dla OLD .flex-width*/
}
#register div.submit {
	clear: both;
	margin-top: 10px;
}
#register div.submit button {
	display: block;
	margin: auto;
}
.form-adhere {
	/*wyrównywanie kolumn*/
	display: -webkit-box; /*dla safari*/
	display: flex;	/* equal height of the children */
}
.flex-wrap {
	display: -webkit-box;	/* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;		/* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;	/* TWEENER - IE 10 */
	display: -webkit-flex;	/* NEW - Chrome */
	display: flex;			/* NEW, Spec - Opera 12.1, Firefox 20+ */
 }
 .flex-width {
	-webkit-box-flex: 1;	/* OLD - iOS 6-, Safari 3.1-6 */
	-moz-box-flex: 1;	/* OLD - Firefox 19- */
	-webkit-flex: 1;	/* Chrome */
	-ms-flex: 1;		/* IE 10 */
	flex: 1;			/* NEW, Spec - Opera 12.1, Firefox 20+ */
}
.center {
	text-align: center;
}
/*TERAZ END*/
.summary {
	display: inline-block;
	width: 100%;
}
.summary .tools {
    float: left;
}
.summary .summaryText {
    float: right;
}
/*TODO BEGIN*/
.disabled { /*zaimplementować klasę w asoft*/
	opacity: 0.6;
	cursor: not-allowed;
}
/*TODO END*/
menu, ol, ul {
	padding: 0px;
	margin: 0px;
	list-style-position: inside;
}
ul {
	list-style-type: none;
}
.datepicker {
	display: inline-block;
}
div.foreigntb div.overlay {
	position: fixed;
	left:0;
	top:0;
	width:100%;
	height: 100%;
	opacity: 0.5;
	z-index: 100;
	background-color: black;
}
div.foreigntb div.asjax {
	position: absolute;
	/*top:-100px;*/
	left:200px;
	z-index: 110;
	background-color: #fbfbfb;
	border: 3px solid;
	padding: 3px;
}
/*.modal {
	display:    none;
	position:   fixed;
	z-index:    1000;
	top:        50%;
	left:       50%;
	transform: translate(-50%,-50%);
	height:     100%;
	width:      100%;
	background: rgba( 255, 255, 255, .8 ) 
				url('../images/ajax-loader.gif') 
				50% 50% 
				no-repeat;
}*/
body.loading {
	overflow: hidden;   
}
body.loading .modal {
	display: block;
}
.grid-view .button-column a.restData {
	display: none;
}
#loading {
	z-index: 1000;
	position: absolute;
	left: 50%;
	top: 50%;
	display:none;
}