body, h1, h2, h3, h4, input, p, ul, li, form { padding: 0; margin: 0; }   

body { overflow: hidden; font-family: helvetica, sans-serif, Arial; font-size: 12px; color: #25292c; }   

a { color: #3D81C2; text-decoration: none; }

a:hover { text-decoration: underline; }

img { display: none; }

/**********/

.Top {
   height: 48px;
   background: #364644;
   line-height: 49px;
   border-bottom: 1px solid #DDD;
}

.Logo {
   float: left;
   width: 49px;
   height: inherit;
   background: url(img/logo.png);
   display: none;
}

.version {
   float: left;
   font-size: 10px;
   color: #797979;
   font-weight: bold;
}

.Search {
   float: left;
   padding-top: 10px;
   position: relative;
}

.Search input {
   border: 1px solid #e3e3e3;
   width: 300px;
   padding: 5px 30px 5px 22px;
   border-radius: 3px;
   background: url( img/lupa.png ) 4px 6px no-repeat white;
   outline: 0;
}

#SearchClear {
   position: absolute;
   width: 19px;
   height: 19px;
   background: url( img/rmv.png ) 5px 5px no-repeat #f0f0f0;
   cursor: pointer; 
   overflow: hidden; 
   top: 15px;
   right: 6px; 
   text-indent: -999px;
   border-radius: 10px;
}

#SearchClear:hover { 
   background-color: #e8e8e8;
}

.Menu {
   height: inherit;
   float: right;
   padding: 0 20px;
   color: #b0b0b0;
   overflow: hidden;
}

.Menu > div {
   float: left;
}

#im a {
   border-style: solid;
   border-width: 1px;
   border-radius: 3px;
   padding: 4px 16px;
   border-color: #38ABAB;
   color: white;
   font-weight: bold;
   margin-right: 10px;
   background: #3cc;
   text-decoration: none;
}

#im a:hover {
   background: #80D3D3;
}

.Menu span {
   border-style: solid;
   border-width: 1px;
   border-radius: 3px;
   padding: 4px 6px;
   padding-left: 30px;
   color: white;
   font-weight: bold;
   cursor: pointer;
   background-position: left center;
   background-repeat: repeat-y;
}

.facebook {
   background-color: #6E87BE;
   border-color: #5873AD;
   background-image: url( img/fb.png );
}

.facebook:hover {
   background-color: #869AC8;
}

.logout {
   background-image: url( img/logout.png );
   background-color: #CC181E;
   border-color: #A3171C;
}

.logout:hover {
   background-color: #E41F24;
}

/**********/

#AllSubs {
   border-right: 1px solid #e3e3e3; 
   width: 250px; 
   float: left;
   overflow-y: scroll;
   overflow-x: hidden;
}

#AllSubs ul li {
   background: white;
   border-bottom: 1px solid #e5e5e5;
   cursor: pointer;  
}

#MySubsList {
   border-bottom: 1px solid #e5e5e5;
}

#AllSubs #MySubsList li:last-child {
   margin-bottom: 5px;
}

#AllSubs li h3 {
font-weight: normal;
   font-size: 12px;
   padding: 8px 10px 8px 30px;
   position: relative;
}

#AllSubs li h3  .select {
   width: 11px;
   height: 11px;
   border: 1px solid #c5c5c5;
   display: block;
   position: absolute;
   left: 8px;
   top: 9px;
}

#AllSubs li.active {
   background: white;
}

#AllSubs li:hover {
   background: #F5F5F5;
}

#AllSubs ul li.sort {
   display: none;
}
 
#AllSubs li h3.clicked {
   background: #ffffcc;
}

#AllSubs li:hover  .select {
   border-color: #acacac;
   box-shadow: inset 0 0 3px rgba(0,0,0,0.16);
}

/**********/

#Content {
   overflow-x: auto;
   overflow-y: scroll;
   padding: 20px;
   padding-top: 0px;
}

#Criss-Cross {
   height: 520px;
   position: absolute;
   top: 39px;
   right: 0;
}

.Plan {
   overflow: hidden;
   position: relative;
   margin: 0 auto 20px auto;
}

.Plan .Hours {
   float: left;
   width: 45px;
   padding-right: 5px;
   font-size: 10px;
   color: #a5a5a5;
   text-align: right;
   margin-top: 20px;
}

.Plan .Hours span {
   display: block;
   height: 40px;
   line-height: 40px;
}

.Plan .Cross {
   float: left;
}

.Plan .Cross div {
   width: 20%;
   float: left;
   height: 520px;
   background-image: url( img/crisscross.png );
   background-position: right top;
   background-repeat: repeat-y;
}

.Plan .Cross .nowDay {
   background-color: #FFFFDF;
}

.Plan .Cross span {
   display: block;
   height: 39px;
   text-align: center;
   background: white;
   color: #7d7d7d;
   line-height: 40px;
   color: #282828;
}

.Plan .Cross .nowDay span {
   font-weight: bold;
}


.Plan .Cross .Day5 {
   background-position: 0 0;
}

/**********/

.Sub {
   font-size: 11px;
   position: absolute;
   padding: 3px;
   background: silver;
   overflow: hidden;
   border: 1px solid white;

}

.Sub div {
   background: transparent;
   width:100%;
   height: 100%;
   position: absolute;
   top: 0;
   left: 0;
}

.more {
   background: url("img/teacher.png") 0 0 no-repeat;
   display: block;
   font-weight: bold;
   padding-left: 12px;
}

.Plan .active:hover {
   border-color: #25292c !important;
   cursor: pointer;
}

/**********/

#Info {
   display: none;
   padding-top: 15px;
}

#Info h3 {
   margin-bottom: 2px;
   font-size: 15px;
}

#Info ul {
   margin-bottom: 30px;
}

#Info li {
   display: block;
   margin: 0px 0 15px 0;
   font-size: 11px;
   padding: 4px 0;
   padding-left: 30px;
   border-radius: 5px;
}

#Info .editable li{
   background: url(img/editable.png) left center no-repeat;
   cursor: pointer;
}

#Info .editable li:hover {
   background: url(img/editable_hover.png) left center no-repeat;
}

#Info .editable li.selected {
   background: url(img/selected.png) left center no-repeat #f7f7f7;
}

#Info h4 {
   color: #2988c7;
   font-size: 12px;
}

#Info li div {
   color: #8a8a8a;
}

#Info li span {
   margin: 3px 0 5px 0;
   font-weight: bold;
   padding-left: 12px;
   display: block;
   background: url(img/teacher.png) 0 0 no-repeat;
}

.kod {
   color: #8d8d8d;
}

/*********/

.navi {
   margin-top: 10px;
   overflow: hidden;
}

.navi > span, .Filter > span, .BgOK  {
   font-size: 11px;
   font-weight: bold;
   display: block;
   padding: 6px 10px;
   margin-right: 10px;
   border-radius: 3px;
   color: #444444;
   background-color: rgba(0, 0, 0, 0);
   background-image: -webkit-linear-gradient(top,#FFFFFF,#F5F5F5);
   background-image: linear-gradient(top,#FFFFFF,#F5F5F5);
   background-image: -webkit-gradient(linear,left top,left bottom,from(#FFFFFF),to(#F5F5F5));
   background-image: -webkit-linear-gradient(top,#FFFFFF,#F5F5F5);

   border: 1px solid #DCDCDC;
   cursor: pointer;
   float: left;
}

.navi > span:hover, .BgOK:hover {
   background-color: #f5f5f5;
   /* background-image: -moz-linear-gradient(center top , #f8f8f8, #eaeaea); */
   /* background-image: -webkit-linear-gradient(center top , #f8f8f8, #eaeaea); */
   /* background-image: linear-gradient(center top , #f8f8f8, #eaeaea); */
   border: 1px solid #c6c6c6;
}

.buttonPlan span {
   background: url(img/tt.png) 0 1px no-repeat;
   padding-left: 17px;
}

.buttonBack span {
   background: url(img/back_icon.png) 0 1px no-repeat;
   padding-left: 17px;
}

.buttonUsos span {
   background: url(img/usos.png) 0 1px no-repeat;
   padding-left: 17px;
}

.buttonProto span {
   background: url(img/proto.png) 0 1px no-repeat;
   padding-left: 17px;
}

.buttonRefresh span {
   background: url(img/garbage.png) 0 3px no-repeat;
   padding: 2px 0 2px 12px;
}

#AddMySub span {
   background: url(img/add.png) 0 2px no-repeat;
   padding: 2px 0 2px 8px;
   color: transparent; /* trick */
}

.navi .buttonZapisz {
   background: #76b8e4;
   border-color: #5a97c0;
   color: white;
}

.navi .buttonZapisz:hover {
   background: #5a97c0;
   border-color: #447ba0;
   color: white;
}

.navi .buttonWypisz {
   background: #ea2222;
   border-color: #d01d1d;
   color: white;
}

.navi .buttonWypisz:hover {
   background: #d01d1d;
   border-color: #b51d1d;
   color: white;
}

/************/

.s_cw { background-image: url( img/bg_wyk.png ); }

/* .s_konw { background-image: url( img/bg_konw.png ); } */

.s_lab { background-image: url( img/bg_konw.png ); }

/*********/

.Button {
   float: left;
   margin: 0 0 0 10px;
   padding: 0;
   line-height: 12px;
   padding-top: 11px;
}

.inline {
   margin: 0;
}

.SubMenu {
   position: absolute;
   top: 49px;
   left: 251px;
   background: white;
   padding: 10px 20px;
   border-bottom: 1px solid #ebebeb;
   box-shadow: 0 4px 8px -2px rgba(0,0,0,0.07);
}

.CommDiv {
   border: 1px solid #F0C36D;
   background: #F9EDBE;
   position: absolute;
   top: 44px;
   padding: 0px 10px;
   font-weight: bold;
   border-radius: 2px;
}

.CommDiv a {
   color: #25292c;
   text-decoration: underline;
}

/*********/

.selectButton {
   position: relative;
   z-index: 9999999;
}

.selectButton span {
   background: url(img/select_subs.png) 0 3px no-repeat;
   padding: 2px 0 2px 27px;
}

.selectButton ul {
   display: none;
   position: absolute;
   top: 100%;
   left: 0;
   background: white;
   border: 1px solid rgba(0, 0, 0, 0.2);
   padding: 8px 0;
   -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
   -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.selectButton:hover ul {
   display: block;
}

.selectButton li {
   display: block;
   font-size: 12px;
   font-weight: normal;
   padding: 3px 25px;
   white-space: nowrap;
   color: #333;
}

.selectButton li:hover {
   background: rgb(238,238,238);
}

#SubsComm {
   text-align: center;
   padding: 10px 0;
   line-height: 20px;
   display: none;
}

.navi span.upTxt {
   text-transform: uppercase;
   padding-left: 30px;
   padding-right: 30px;
}

/***********************/

#Bg {
   width: 100%;
   height: 100%;
   background: rgba(255,255,255,0.6);
   position: absolute;
   top: 0;
   left: 0;
   z-index: 9999999;
   display: none;
}

.BgCenter {
   position: absolute;
   width: 100%;
   top: 100px;
   left: 0;
   z-index: 9999999;
   display: none;
}

.BgFrame {
   width: 400px;
   margin: auto;
   background: white;
   position: relative;
   overflow: hidden;
   -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
   -moz-box-shadow: 0 4px 16px rgba(0,0,0,0.2);
   -ms-box-shadow: 0 4px 16px rgba(0,0,0,0.2);
   box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
   border: 1px solid #ACACAC;
   padding: 15px;
}

.BgComm {
   font-size: 14px;
   font-weight: bold;
}

.BgClose {
   background: url(img/rmv.png ) no-repeat;
   width: 10px;
   height: 10px;
   top: 15px;
   right: 15px;
   position: absolute;
   cursor: pointer;
}

.BgTxt {
   padding: 20px 0;
   line-height: 17px;
}

.BgOK {
   padding-left: 30px;
   padding-right: 30px;
}

.BgTxt p {
   margin-bottom: 20px;
}

.BgTxt p:last-child {
   margin-bottom: 0;
}

.BgTxt input, .BgTxt select {
   padding: 1px 0px;
   border: 1px solid #c6c6c6;
}

#MySubName {
   width: 293px;
}

/* Let's get this party started */
.S::-webkit-scrollbar {
   width: 12px;
}
 
/* Track */
.S::-webkit-scrollbar-track {
   -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 

}
 
/* Handle */
.S::-webkit-scrollbar-thumb {
   background-color: rgba(0, 0, 0, 0.2);
   -webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1),inset 0 -1px 0 rgba(0, 0, 0, 0.07);
}

.S::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(0, 0, 0, 0.05); 
}

.S::-webkit-scrollbar-button {
   width: 0;
   height: 0;
   display: none;
}
