.link{
text-decoration: underline!important;
color: #0A82D0!important;
}
.link:hover{
text-decoration: none!important;
color: orange!important;
}
.top_line td{
  border-top:2px solid
}


h1,#tresc h1, #tresc th, #nav li, label, #tresc button, .akcje{
  text-transform:capitalize;
}
s{
  text-transform:lowercase;
  text-decoration:none;
}

body{
  font-family:Arial,Verdana,sans-serif;
	margin:0;
	padding:0;
}
img{
  border:none;
}

/* Droplicous code, change to your liking */

#nav ul.licious{
	text-align:left;
	width:220px;
	font-size:13px;
	background:#28548B;
	margin:0;
	padding:10px 10px;
	position:absolute;
	left:0px;
	top:27px;
}

/* ie bs */
html>body #nav ul.licious{
	position:absolute;	
	top:27px;
}
#nav ul.licious a:hover{
	position:relative;
	color:#0A82D0;
	background:none;
}
#nav ul.licious a{
	position:relative;
	z-index:999;
	font-weight:normal;
	margin:0;
	padding:7px 10px;
	background:none;
	color:white;
	display:block;
}
#nav li a:hover{ /*sekcja menu po najechaniu*/
	color:#678EBF;
}
#nav li a{ /*sekcja menu przed najechaniu*/
	font-weight:bold;
	text-decoration:none;
	color:#000;
	padding:10px 15px 10px 15px;
  border:0;
  color:#1C4C88;
}
#nav{ /* tło pasek menu */
	position:relative;
	list-style:none;
	margin:0;
	list-style:none;
	font-size:16px;
	padding:10px 20px 10px 20px;
/*	background:#EBF1F9; */
	background:#EBAF33; 
  z-index:999;
}
#nav li{
 	position:relative;
 	display:inline;
	margin:0;
	padding:0;
}
#tyt{
	margin:0;
	padding:10px 40px;
	background:#fff;
  height:80px;
  color:#000;
}
/*
#tyt h1{
	font-size:31px;
	margin:0;
  padding:10px 0px 7px 0px;
  font-weight:normal;
}
*/
#tyt h1{
	font-size:22px;
  color:#1C4C88;
  margin:27px 0px 0px 0px;
  text-align:right;
  vartical-align:middle;
}

#tyt h2{
	font-size:14px;
  margin:0;
}

#tresc{
	margin:0;
	padding:10px 40px;
	font-size:13px;

}
#tresc h1{
	font-size:22px;
  color:#1C4C88;
  margin:15px 0px 10px 0px;
}

#tresc h1{
  position: absolute;
	font-size:22px;
  color:#1C4C88;
  right:40px;
  top:21px;
}


#tresc h2{
	font-size:17px;
  color:#1C4C88;
  margin:22px 0px 16px 0px;
}
#tresc label{
  display:block;
  margin:5px 0px;
}

#tresc .col{
  float:left;
  margin-right:14px;
}
#tresc .col_out{
  float:left;
}


#tresc input{
  height:18px;
  font-family:Arial,Verdana,sans-serif;
	font-size:13px;
  padding:4px 5px;
  margin:0;
  border:1px solid #000;
  min-width:180px;
}

#tresc input.d05{
  min-width:77px;
  width:77px;
}
#tresc input.d15{
  min-width:283px
}  

#tresc input.d2, #tresc textarea.d2{
  min-width:386px
}  
#tresc input.d25, #tresc textarea.d25{
  min-width:489px
}  
#tresc input.d3, #tresc textarea.d3{
  min-width:592px
}  

#tresc select.d05{
  min-width:89px;
  width:89px;
  min-width:79px\9;
  width:79px\9;
}
#tresc select.d15{
  min-width:295px;
  min-width:285px\9;
}  
#tresc select.d2{
  min-width:398px;
  min-width:388px\9;
}  
#tresc select.d25{
  min-width:501px;
  min-width:491px\9;
}  
#tresc select.d3{
  min-width:604px;
  min-width:594px\9;
}  

@media screen and (min-width:0) {
#tresc select.d05{
  min-width:89px;
  width:89px;
}
#tresc select.d2{
  min-width:398px;
}  
}



#tresc textarea{
  font-family:Arial,Verdana,sans-serif;
	font-size:13px;
  padding:4px 5px;
  border:1px solid #000;
  min-width:592px;
  resize:none;
  margin:0;
}

#tresc textarea.col1{
  width:180px;
  min-width:180px;
}  

#tresc textarea.col2{
  min-width:386px;
}
#tresc textarea.col25{
  min-width:489px
}  


  
#tresc select{
  height:28px;
  padding:4px;
  border:1px solid #000;
  min-width:192px;
  min-width:182px\9;
  width:192px;
  width:182px\9;
  margin:0;
}

@media screen and (min-width:0) {
#tresc select{
  min-width:192px;
}
}

#tresc input[type=checkbox], #tresc input[type=radio]{
  min-width:10px;
  height:18px;
  border:none;
  padding:0;
  margin:5px 5px 4px 0px;
  vertical-align:middle;
}
#tresc td input[type=checkbox], #tresc td input[type=radio]{
  margin:-2px 0px 0px -1px;
  height:13px;
}
tr .chk{
  width:10px;
}


#tresc td input[type=checkbox], #tresc th input[type=checkbox]{
  height:16px;
  margin:0;
  padding:0;
}

#tresc input[readonly=readonly], #tresc textarea[readonly=readonly]{
  border:1px solid #999;
  color:#999;
  background:#eee;
}

#tresc input[type=file]{
  position:absolute;
  height:28px;
  width:192px;
  margin:0;
  padding:0;
  border:none;
  opacity:0;
  filter:alpha(opacity=0);
}
#tresc .file_input{
  border:1px solid #000 !important;
  color:#000 !important;
  background: url(/com/icn_folder.png) 168px 5px no-repeat !important;
}


#tresc .cl{
  clear:both;
}
#tresc .cl_top{
  clear:both;
  display:block; 
  margin-top:-5px; 
  line-height:0px;
}

#tresc table{
  padding:0px;
  border:0px;
  border-spacing: 0px;
  border-right:1px solid;
  min-width:850px;
}
#tresc .col table{
  border-top:1px solid;
  min-width:295px;
  width:295px;
}

#tresc .col table td:first-child, #tresc .col table td:first-child b{
  width:100px;
  background:#eee;
	font-weight:bold;
}
#tresc .col table.d2{
  border-top:1px solid;
  min-width:489px;
  width:489px;
}
#tresc .col table.d3{
  border-top:1px solid;
  min-width:604px;
  width:604px;
}
#tresc .col table.d2 td:first-child{
  width:auto;
  color: #000;
}
#tresc .col table td:last-child{
/*  background:#eee;*/
}  
#tresc .col table.d2 td:last-child{
/*  background:#fff;*/
}

.te{
  background:#fff !important;
	font-weight:normal !important;
}  
.la, .la b{
/*  color: #c9af98 !important;
  border-color: #000 !important;*/
  background:#eee ;
	font-weight:bold;
}  


#tresc .d{
  min-width:604px;
}

p.d{
  width:604px;
}

#tresc a{
  text-decoration:none;
  color:#0A82D0;
}
#tresc a:hover{
  text-decoration:none;
  color:#000;
}


#tresc th{
	background:#333;
  color:#fff;
  text-align:left;
  padding:5px 7px;
}
#tresc td{
  padding:3px 6px;
  border-bottom:1px solid;
  border-left:1px solid;
}
#tresc td a{
  text-decoration:none;
  color:#000;
}
#tresc th a{
  text-decoration:none;
  color:#fff;
}
#tresc td a:hover, #tresc th a:hover{
  text-decoration:none;
  color:#0A82D0;
}

#tresc button{
  background:#1C4C88;
  color:#fff;
  font-weight:bold;
  border:none;
  margin:26px 10px 0px 0px;
  padding:6px 14px;
  height:28px;

  min-width:89px;
  min-width:61px\9;

  box-shadow: 2px 2px 5px rgba(0, 0, 0, .5);
}

#tresc button.r{
  margin:26px 0px 0px 10px;
}

#tresc button:hover{
  background:#5983EF;
  cursor:pointer;
}

#tresc button[disabled]{
  background:#5983EF;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, .5);
}




#tresc button:active{
  box-shadow: 0px 0px 3px rgba(0, 0, 0, .5);
}


@media screen and (min-width:0) {
#tresc button{
  min-width:89px;
}
}


tr .tc{
  text-align:center !important;
}
tr .tr{
  text-align:right !important;
}

.tr td{
  text-align:right !important;
}

.tc th{
  text-align:center !important;
}

.dec{
  text-align:right !important;
}

.akcje{
  text-align:right !important;
  border-left:none !important;
  color:#000;
}

.r{
  float:right;
}
.l{
  float:left;
}


  #czas_pracy{
    margin-top:25px;
  }
  #czas_pracy .kw{
    padding:0;
    width:8px;
    background:#ddd;
  }
  #czas_pracy .sel{
    background:#60AEE0;
  }
  #czas_pracy .sel_baza{
    background:#0A82D0;
  }
  #czas_pracy .sel_stat{
    background:#888;
  }
  #czas_pracy .li{
    padding:0;
    width:1px;
  }
  .thg{
    margin-left:-38px;
  } 
  
/* info styles */
.info{
  background: url(/com/icn_info.png) no-repeat;
  width:20px;
  height:20px;
  display:block;
  position:absolute;
  margin-left:168px;
  margin-top:-24px;
}
#infoBox{
  position:absolute;
  width:auto;
  background:#ffffff;
  border: 1px solid;
  padding:5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, .5);
}
#infoBox table{
  min-width:300px;
}  

/* calendar styles */
.cal{
  background: url(/com/icn_calendar.png) no-repeat;
  width:16px;
  height:16px;
  display:block;
  position:absolute;
  margin-left:170px;
  margin-top:-22px;
}
/*jesli poprzednie bylo krotkie pole*/
.d05 ~ .cal{
  margin-left:67px;
}

#calendar{
  font-size:12px;
  position:absolute;
  width:180px;
  background:#ffffff;
  border: 1px solid;
  padding:5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, .5);
}

#calendar table{
  margin-top:5px;
  min-width:180px;
}

#calendar td{
  border-right: none;
  border-top: none;
  border-left: 1px solid #8C8C8C;
  border-bottom: 1px solid #8C8C8C;
  height: 16px;
  padding:0;
}  

#calendar a{
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    background: #eeeeee;
    display:block;
    width:18px;
    height:16px;
    padding:3px;
    text-align:right;
  }

#calendar a:hover{
    color: #FF0000;
    text-decoration: none;
    background: #ffffcc;
  }
  
#calendar .currentday{
    background: #c0c0c0;
  }

#calendar .currentday:hover{
    color: #FF0000;
    text-decoration: none;
    background: #ffff66;
  }
  
#calendar th{
    font: 12px Arial, Helvetica, sans-serif;
    background-color: #0A82D0;
    font-weight: bold;
    color: #FFFFFF;
    text-align:center;
    padding:3px;
  }
#calendar #calendar_m{
  font-size:13px;
  min-width:105px;
  min-width:95px\9;
}  
#calendar #calendar_y{
  font-size:13px;
  min-width:70px;
  min-width:60px\9;
}  
.ok{
  color:#690;
  font-weight:bold;
}
.bad{
  color:#c00 !important;
  font-weight:bold;
}
.szary{
  background: #ccc;
}
#tresc input.bad, #tresc select.bad{
  color:#c00 !important;
  background:#fbb !important;
  font-weight:normal;
  border-color:#c00 !important;
}
td.bad, tr.bad{
  color:#c00;
  font-weight:normal;
  border-color:#000 !important;
}
tr.green{
  color:#0c0;
}  
tr.blue{
  color:#00c;
}  
tr.red{
  background: #f99;
}  
tr.bad td, tr.green td, tr.blue td{
  border-color:#000 !important;
}


label.bad{
  color:#c00;
  font-weight:normal;
}

.odd tr:nth-child(odd){
  background:#eee;
}
.odda{
  background:#eee !important;
}
tr.sh th{
  background:#666 !important;
  border-left:1px solid #000
}
tr.sel{
  background:#EBAF33; !important;

}