body{
    font-size:x-small;
}

td, tr, th{
    font-size:x-small;
    padding: 0;
    text-align: center;
}

table{
    border-collapse: separate;
    border-spacing: 0;
    border-color: gray;
}

#head, #plan_zajec{
    width:980px!important;
}

#plan_zajec{
	border: none;
	border-bottom: 1px solid!important;
	border-right: 1px solid!important;
	line-height: 13px;
}

.plan_zajec td{
	background-color: white;
}

form{
    margin:0;
}

.usun{
    cursor:pointer;
	border: none;
	background-color: transparent!important;
	width: 15px;
}

.clickedTop{
    border-top: 1px solid red!important;
    border-left-color: red!important;
    border-right-color: red!important;
    border-bottom-color: red;
}

.zaznaczone{
    border-top:none!important;
    border-bottom:none!important;
    border-left-color: red;
    border-right-color: red;
}

.topAfter2click{
    border-bottom:none!important;
}

.clickedBottom{
    border-bottom-color: red;
    border-top: none!important;
    border-left-color: red;
    border-right-color: red;
}

.addedBottom{
    border-top: none!important;
	border-bottom: 1px solid;
	border-left: 1px solid;
}

.addedTop{
    border-bottom: none!important;
	border-top: 1px solid;
	border-left: 1px solid;
}

.addedClass{
    border-bottom: none!important;
    border-top: none!important;
	border-left: 1px solid;
}

.rm_selected_class{
    height: 5px;
    width: 5px;
    font-size: 5px;
    position: relative;
    float: right;
    margin-right: 2px;
    margin-top: -3px;
}

.rm_selected_class{
    cursor: pointer;
}

div.color-picker { border-left: 1px solid #000; border-top: 1px solid #000; position: absolute; left: 0px; top: 0px; padding: 0px; z-index: 2003;}
div.color-picker ul { list-style: none; padding: 0px; margin: 0px; float: left; }
div.color-picker ul li { display: block; width: 15px; height: 15px; border-right: 1px solid #000; border-bottom: 1px solid #000; margin: 0px; float: left; cursor: pointer; }
.ui-dialog {
       overflow: visible;
	   background-color: white;
}
.ui-dialog .ui-dialog-content {
    overflow: visible;
}

#czyszczenie{
    position: absolute;
    top: 130px;
    left: 860px;
}

#przywracanie{
    position: absolute;
    top: 160px;
    left: 860px;
}

#zapisywanie{
    position: absolute;
    top: 190px;
    left: 860px;
}

#wczytaj{
	position: absolute;
    top: 220px;
    left: 860px;
}

#prowadzacy_label{
	padding-right: 15px;
}

#zajecia_label{
	padding-right: 41px;
}

#kolor_label{
	padding-right: 51px;
}

#link_label{
	padding-right: 56px;
}

#addSchedule input{
	width: 162px;
}

.usun_button{
	background: url('../gfx/clear_x.png') no-repeat;
	width: 11px;
	height: 11px;
}

.dzien{
	width:100px;
}

.zajecia_link{
	text-decoration: none;
	color: black;
	letter-spacing: -0.2px;
}

.zajecia_link:hover{
	text-decoration: underline;
}

.clickable{
	border-top: 0px solid!important;
	border-bottom: 1px solid #e6e6e6;
	border-left: 1px solid;
	border-right: 1px sold;
	width: 100px;
}

.link_doctors{
	text-decoration: none;
	color: black;
}

.link_doctors:hover{
	text-decoration: underline;
}

.godzna_td{
	border: 1px solid;
}

#plan_zajec th{
	border: 1px solid;
}

/* --- */

.plan_zajec td:not(.koniec-godziny){
    border-bottom: 1px solid #E6E6E6;
    border-top: none;
    border-left: 1px solid;
    border-right: none;
}

.koniec-godziny{
    border-bottom: 1px solid;
    border-left: 1px solid;
    border-right: none;
    border-top: none;
}

.poczatekZajec{
    border-top: 1px solid!important;
    border-bottom: none!important;
}

.zajecia:not(.poczatekZajec){
    border-top: none!important;
    border-bottom: none!important;
}

.doctors-names{
    cursor: pointer;
}

.zajecia a{
    text-decoration: none;
    color: #000000;
}

.zajecia a:hover{
    text-decoration: underline;
    color: #000000;
}

#godzina{
    width: 45px;
}