/*@font-face {
    font-family: myFirstFont;
    src: url(FreeSerif.ttf);
}*/
.loading {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url("../../img/loading.gif") 50% 50% no-repeat rgba(249,249,249,0.9);
  display:none;
}

html, body { 
  margin: 0;
  padding: 0;	
  /*font-family: Times;*/
  /*Times, "Segoe UI", Arial, Arnoldboecklin, Impact, Verdana, sans-serif;*/
  font-family: Times;
  font-size: 14px;
  /*background: #ccc;*/
  background-size: 100% auto;
  color: #000;   
}

.loadtime { position:absolute; top:10px; right:10px; }

.ajax_dodaj_zamowienie { 
  width:610px; 
  margin-top:20px; 
  color:#fff;
  text-align: center;
  padding:10px 10px 15px 10px;
  background-color:rgba(121,121,220,0.95);
  border: solid 1px #000;
  border-radius:10px;
}

#ajax { width:500px; margin-top:100px; margin-left:-250px; }
#ajax_dodaj_zamowienie { width:610px; margin-top:20px; margin-left:-305px }
#ajax_wystaw_rachunek { width:740px; margin-top:20px; margin-left:-370px }
#ajax_wplata_pobrania { width:400px; margin-top:150px; margin-left:-200px }
#ajax_email { width:600px; margin-top:100px; margin-left:-300px }

#ajax,
#ajax_dodaj_zamowienie,
#ajax_wystaw_rachunek,
#ajax_wplata_pobrania,
#ajax_email {
  color:#fff;
  text-align: center;
  padding:10px 10px 15px 10px;
  left: 50%;
  position:fixed;
  display:none;

  background-color:rgba(121,121,220,0.95);
  border: solid 1px #000;
  border-radius:10px;
}

.left { 
  float: left;
  width: auto;
  margin-right: 10px;
}

.right { 
  float: right; 
  width: auto;
  margin-left: 10px;
}

.bottom {
  position: absolute;
  bottom:0;
  right:0;
  margin: 10px;
}

.center {
  text-align: center;
}

.centerimg {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 15px;
}

.datetime,
.onlydate
{ width: 120px; } 

#main,
#menu_container,  
#footer_container,
#site_content
{  width: 1150px; }

#main {
  margin: 0px auto; 
  margin-bottom:10px; 
 /* color:#fff;*/
}

#menu_container { 
  /*color: #000;*/
  overflow: hidden;
  display: block;
}

.statusbarok,
.statusbarerror { 
  overflow:hidden;
  display: block;
  text-align:center;
  margin-bottom:20px;
  padding:10px; 
  font-weight:bold; 
  font-size:16px; 

}

.statusbarok { 
  color: #222;
  background: lightgreen;
}

.statusbarerror {
  color: #fff;
  background:#c00;
}

#site_content { 
  width:1130px;
  padding-top:15px;
  padding-left:10px;
  padding-right:10px;
  overflow: hidden;
  background: #fff;
} 

#footer_container { 
  overflow:hidden;
  background: #fff;
  padding-top:20px;
} 

a:link, a:visited {
    text-decoration: none;
    color: #000;
    outline: 0;
}

a:hover, a:active{
    text-decoration: none;
    color: blue;
    outline: 0;
}


/* css for timepicker */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 45%; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; }
.ui-timepicker-rtl dl dt{ float: right; clear: right; }
.ui-timepicker-rtl dl dd { margin: 0 45% 10px 10px; }
