html, body, .container{ height: 100%; margin: 0; padding: 0; }
body{
	min-width: 320px;
	overflow: hidden;
	background:#fff;
	background-image: url(/images/bg.png);
}
body{
	font-family: Arial, sans-serif;
	font-size: 20px;
	font-weight: 300;
	letter-spacing: 1px;
	line-height: 24px;
	color: #202020;
	overflow: auto;
}

a{
	color: #d34427;
	text-decoration: none;
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
/*
a:hover{
	color: #e5512d;
	background-color:#FFF;
}
*/

.clr {
	clear:both;}

img {
	max-width:100%;
	height:auto;}
	
.header {
	width:100%;
	top:0;
	height:200px;
	padding:15px 0;
	text-align:center;
	background:#4fcc7e;}

.container{
	max-width:100%;
	margin:0 auto;
	/*
	box-shadow: 0px -5px 0 0px #d34427 inset, 0px 5px 0 0px #d34427 inset;
	*/
}

.inner {
	max-width:1024px;
	margin:0 auto;}
	
.content {
	width:100%;
	padding:0;
	bottom:0;
	border-top:0px dashed #CCC;
	}
	
.center {
	text-align:center;
}

ul.search {
	margin: 15px auto 15px -45px;}
ul.search li {
	display:inline-block;}

.submit {
	background-color: #4fcc7e;
    border: 0 solid #CCCCCC;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
    border-radius:3px;
    color: #FFFFFF;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    height: 34px;
    padding: 4px 8px;
    text-align: center;
    text-transform: uppercase;}
.submit:hover {
	background-color: #3fb26a;}

/* Button */

.button {
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 12px;
	font-weight: bold;
	line-height: 12px;
	padding: 8px 10px 8px 10px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.button.green {
	background-color: #4fcc7e;
	border: 0 solid #CCCCCC;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
    border-radius:3px;
	color: #FFFFFF;
    font-weight: bold;
}

.button:hover.green { background-color: #3fb26a;}

.button.red {
	background-color: #d24327;
	border: 0 solid #CCCCCC;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
    border-radius:3px;
	color: #FFFFFF;
    font-weight: bold;
}

.button:hover.red { background-color: #b13820;}

.magazyn {
	height: 20px;
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
	font-family: Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	line-height: 12px;
	padding: 8px 10px 0 10px;
	margin-bottom: 8px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background-color: #d24327;
	border: 0 solid #CCCCCC;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
    border-radius:3px;
	color: #FFFFFF;
}

.magazyn:visited { background-color: #d24327;}

.magazyn:hover { background-color: #b13820;}

.active {
	height: 20px;
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
	font-family: Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	line-height: 12px;
	padding: 8px 10px 0 10px;
	margin-bottom: 8px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background-color: #4fcc7e;
	border: 0 solid #CCCCCC;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
    border-radius:3px;
	color: #FFFFFF;
}

.active:hover { background-color: #3fb26a;}

button.button {
	height: 28px !important;	
	padding: 0 10px 0 10px !important;
	margin: 0 5px 0 0 !important;
}

tr:nth-child(even) {
	background-color:#dadada;
}
	
.datagrid table {
	border-collapse: collapse;
	text-align: center;
	width: 100%;
}
.datagrid {
	overflow: hidden;
	border: 1px solid #d34427;
	margin: 0 20px;
}
.datagrid table td, .datagrid table th {
	padding: 3px 10px;
}
.datagrid table thead th {
	background-color:#d34427; color:#FFFFFF; font-size: 12px; font-weight: bold;
}
.datagrid table thead th:first-child {
	border: none;
}
.datagrid table tbody td {
	border-left: 1px solid #d34427;
	font-size: 14px;
	font-weight: normal;
}
.datagrid table tbody .datagrid table tbody td:first-child {
	border-left: none;
}
.datagrid table tbody tr:last-child td {
	border-bottom: none;
}

#menu {
float:right;
position:relative;
left:-50%;
text-align:left;
}
ul.menu {
list-style-type:none;
position:relative;
left:50%;
margin-top:-32px;
padding:0;
overflow:hidden;
}
ul.menu li {
float:left;
position:relative;
}
.menu a:link,a:visited {
display:block;
color:#fff;
font-size: 14px;
font-weight: bold;
background-color:#4fcc7e;
text-align:center;
padding:4px;
padding-right:10px;
padding-left:10px;
text-decoration:none;
text-transform:uppercase;
}
.menu a:hover,a:active {
background-color:#fff;
color:#4fcc7e;
}

.small {
	font-size: x-small;
	color:#7e7e7e;
}

/* Form */

form label {
	display: inline;
	float: left;
	width: 220px;
	font-family: Arial, sans-serif;
	font-size: 13px;
	color: #464646;
}

form label span {
	font-size: 1.4em;
	color: #F7941D;
}

form input[type="text"], form input[type="password"], form textarea, form select {
	/*padding: 5px;*/
	outline: none;
	background-color: #FAFAFA;
    border: 1px solid #CCCCCC;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 1px 1px #999999 inset;
    color: #333333;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    height: 33px;
    padding-left: 5px;
    text-decoration: none;
    width: 300px;
}

form input[type="number"] {
	/*padding: 5px;*/
	outline: none;
	background-color: #FAFAFA;
    border: 1px solid #CCCCCC;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 1px 1px #999999 inset;
    color: #333333;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    height: 33px;
    padding-left: 5px;
    margin-right: 7px;
    text-decoration: none;
    width: 80px;
}
                				
form input[type="checkbox"], form input[type="radio"] {
	background: none;
	border: 0;
	padding: 0;	
}

label.error {
	color: #D00;
	text-transform: none;
	margin-left: 6px;
	float: none !important;
}

label.success {
	background: url(../images/accept.png) no-repeat;
	padding-left: 16px;
}

/* Alert */

.alert {
    margin-top: 10px;
    margin-bottom: 10px;
    -webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.alert p {
    padding-left: 5px;
    padding-top: 5px;
}

.alert.error {
    background: #F8E9E9;
    border: 1px solid #E4BBBC;
    color: #CD6140;
}

.alert.error span {
	background-image: url(../images/cross.png);
	background-repeat: no-repeat;
	background-position: 5px center;
	display: inline-block;
	padding-left: 30px;
}

.alert.success {
    background: #EBF9E2;
    border: 1px solid #BEE4A5;
    color: #658C2C;
}

.alert.success span {
	background-image: url(../images/accept.png);
	background-repeat: no-repeat;
	background-position: 5px center;
	display: inline-block;
	padding-left: 30px;
}

.alert.info {
    background: #E9F3F8;
	border: 1px solid #BBD7E4;
    color: #3876C6;
}

/* Gravatar */

.gravatar {
	display: inline;
	padding: 4px;
	line-height: 1;
	border: 1px solid #DDD;
    -webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
	
/*---- Media Queries to make design responsive ----*/
   
@media only screen and (max-width: 640px) and (min-width: 320px){
	body, .container {
		overflow-x:hidden;}
	.content { padding:0px;}
	.submit { margin-top:10px;}
}

@media only screen and (max-width: 319px) and (min-width: 240px){
		body, .container {
		overflow-x:hidden;}
	.header {
		height:40px;}
	.header img {
		max-width:80%;
		height:auto;
		margin-right:46px;}
	.content { padding:0px;}
	.submit { margin-top:10px;}
}
