
.clear {
  clear:both;
}

.inline-block, .button {
  /* cross browser inline-block */
  display:-moz-inline-stack;
  display:inline-block;
  zoom: 1;
  *display: inline;
}

/*h2.title {
  padding:10px 0;
  margin:0 0 20px 0;
  border-bottom: 1px solid #9c9c9c;
  color: #666;
  font-weight:normal;
  font-size: 22px;
}*/

.block-remove {
  border: none;
  display:block;
  width: 20px;
  height: 20px;
  background: url(../i/close.png) no-repeat top center;
  font-weight: bold;
  cursor: pointer;
}
.block-remove:hover {
  background-position: 0 -20px;
}


.block-add {
  background: white;
  border: 1px solid #ccc;
  padding: 4px 12px;
  -moz-box-shadow: 0 3px 5px #777;
  -moz-border-radius: 0 0 4px 4px;
  margin-bottom: 20px;
  cursor: pointer;
}
.block-add:hover {
  border-color: #000;
}
.block-add-wrapper {
  text-align: center;
  width: 820px;
}
.block-remove-wrapper {
  margin:0;padding:0;
  position:absolute;
}
.block-remove {
  margin:0; padding:0;
  position:absolute;
  right: 0;
}

.current_job-wrapper {
  display: inline;
  margin-left: 100px;
}

.agreement {
  font-size:10pt;
  color:#444;
}

.form-block {
  padding: 10px;
}

.form-title {
  margin:10px 0 0 0;
  padding:0;
  font-family: Georgia, Times, serif;
  border-bottom: 1px solid black;
}

/* rozwijane elementy formularza rejestracji */
#education, #employment {
  width: 800px;
}
#education dt, #employment dt {
  width: 190px;
}

#education dd, #employment dd {
  width: 550px;
}
#education select, #employment select {
  max-width: 540px;
}

.block-remove-wrapper {
  width: 780px;
}

.submit {
  text-align: center;
  margin-right: 48px;
}


form p.hint {
  font-size: 8pt;
  color: #444;
  margin: 2px 0;
}
p.hint {
  margin: 0;
  padding: 8px 0;
}
form p.hint {
  margin: 0;
  padding: 0;
}


div.form-errors {
  padding: 16px;
  padding-left: 32px;
  border: 2px solid #c01619;
  background: #fde7e8 url(../i/error.png) no-repeat 8px 50%;
  _background-image: url(../i/error.gif);
  margin-bottom: 20px;
}
div.form-errors ul.errors {
  color: black;
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.errors {
  color: #e50f13;
}

div.error {
  background: #F7CDCD url(../i/error.png) no-repeat 6px 50%;
  _background-image: url(../i/error.gif);
  padding: 10px 10px 10px 32px;
  border: 1px solid #c01619;
  -moz-border-radius: 5px;
  margin: 10px 0 20px 0;
}

div.personal {
  margin: 20px 0 40px 0;
  vertical-align: top;  
}

div.submit {
  margin-top: 20px;
  text-align:right;
}



#h {
  width: 100%;
  height: 60px;
  border-bottom:1px solid #acacac;
  background: #fcdc2c url(../i/h.png) repeat-x top left;  
}

#logo {
  z-index:999;
  position:absolute;
  display:block;
  height:60px;
  width:160px;
  margin-left:10px;
  float:left;
  background: url(../i/hcb.png) no-repeat 10px center;
}

/* main menu {{{ */
#main-menu ul { 
  margin:0;
  padding:0;
}
#main-menu li {
  list-style: none;
}
#main-menu a {
  text-decoration: none;
  color: #464646;
  font: bold 12px/29px verdana,helvetica,arial,sans-serif;  
}
#main-menu ul.l0 {
  float:right;
  list-style: none;
  margin: 31px 16px 0 0;
  height: 30px;
  line-height:30px;
}
#main-menu ul.l0 li.l0 {
  float: left;
}
#main-menu a.l0 {
  display: block;
  padding: 0 12px;
}

#main-menu li.has-submenu a.l0 {
  background: url(../i/h.png) no-repeat right -60px;
  padding-right: 24px;
}

#main-menu li.l0:hover a.l0 {
  background-color: #fce363;
}

#main-menu li.l0 a.l0.active,
#main-menu li.l0 a.l0.active:hover {
  background-color: #FDEA80;
}

#main-menu ul.l1 {
  position:absolute;
  display: none;
  _z-index: 1; /* IE6 z-index bug */
}

#main-menu li.l0:hover ul.l1 /*,
#main-menu li.hover ul.l1 */{
  display:block;
  min-width:160px;
  *width:180px; /* IE6-7 */
}

/* podmenu */
#main-menu ul.l1, 
#menu-bulletin {
  background: #fcdc2c; /* tlo konieczne, bo IE6-7 po najechaniu na border elementu
                          listy, uwaza, ze kursor znalazl sie poza lista */
  border: 1px solid #ACACAC;
  border-top: none;
  -webkit-box-shadow: 0 2px 2px #555;
     -moz-box-shadow: 0 2px 2px #555;
          box-shadow: 0 2px 2px #555;
}

#main-menu li.l1 a,
#menu-bulletin li a {
  display:block;
  padding: 0 12px;
  white-space: nowrap;
  background: #fcdc2c;
  font-size: 11px;
  font-weight: normal;
  line-height: 26px;
  _zoom:1; /* bez tego IE6 wstawia pusta przestrzen za kazdym elementem,
              a z tym IE7 daje marginesy elementom menu */
}
#main-menu ul.l1 li,
#menu-bulletin ul li {
  border-top:1px solid #fce363;
}
#main-menu ul.l1 li.first {
  border-top:none;
}

#main-menu li.l1 a:hover,
#menu-bulletin li a:hover {
  background-color: #fce363;
}

/* biuletyn w glownym menu */
#menu-bulletin {
  position:absolute;
  z-index: 1024;
  width: 284px;
  display:none;
}
#main-menu li.l0:hover #menu-bulletin {
  display:block;
}
#menu-bulletin * {
  margin: 0;
  padding: 0;
}

#menu-bulletin .metadata {
  display:block;
  padding: 8px 12px;
  background: #fcdc2c;
  font-size: 11px;
  font-weight: normal;
  line-height: 14px;
}
#menu-bulletin .metadata .go {
  display:block;
  float:right;
  background: url(../i/bulletin-menu.png) no-repeat 4px 2px;
  height:20px;
  width:16px;
  margin-top:4px;
}
#menu-bulletin .metadata:hover {
  background: #fce363;
}
#menu-bulletin .metadata span a {
  display:block;
  color: #464646;
  font-size:7pt;
  font-weight: normal;
  line-height:10pt;
  margin:0;
  padding:0;
}
#menu-bulletin .metadata * {
  margin:0;
  padding:0;
}
#menu-bulletin .metadata a {
  display:block;
  color:#464646;
  font:bold 12px/12px verdana,helvetica,arial,sans-serif;
}

#menu-bulletin .intro {
  display:block;
  text-align: center;
  font-size: 8pt;
  line-height: 8pt;
  margin:0;
  padding: 0;
  margin-bottom: 4px;
  color:  #6d6d6d;
}

#menu-bulletin .articles {
  background: #e5e5e5;
  border: 1px solid #c0c0c0;
  border-width: 1px 0;
  padding: 6px 12px;
}

#menu-bulletin .article {
  display:block;
  padding: 8px 0;
  color: #6d6d6d;
}
#menu-bulletin .article .icon {
  display:block;
  float:right;
  width:18px;
  height:14px;
  background: url(../i/bulletin-menu.png) no-repeat top left;
}
#menu-bulletin .article .video {
  background-position: -14px 2px;
}
#menu-bulletin .article .image {
  background-position: -34px 2px;
}
#menu-bulletin .article .title {
  display:block;
  font-size: 8pt;
  line-height: 10pt;
  margin:0;
  padding:0;
  color:  #464646;
}
#menu-bulletin .article .author {
  display:block;
  font-size: 7pt;
  line-height: 9pt;
}

/* }}} */

#login-info {
  position:absolute;
  right:10px;
  top:2px;
  color: white;
  font-size: 8pt;
}
#login-info a {
  color: #464646;
  text-decoration:none;
  font-weight:bold;
}
#login-info a:hover {
  text-decoration:underline;
}

.resizable-textarea textarea {
  margin-bottom: 0;
}
.resizable-textarea .grippie {
  background: #eee url(../i/grippie.png) no-repeat center center;
  border-color: #ddd;
  border-style: solid;
  border-width: 0 1px 1px;
  cursor: s-resize;
  height: 9px;
  overflow: hidden;
}

/* lista tresci */
.content-value {
  border: 1px solid #ccc;
  background:#eee;
  width: 540px;
  padding: 10px;
}

/* formularz logowania */
.registration {
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  border-top: 1px dotted #999;
}
.registration-button {
  font-size: 12pt;
  font-weight: bold;
  width: 200px;
  padding: 10px 10px;
  text-align:center;
  text-decoration: none;

  border: 2px solid #744791;
  background: #813FAB;
  color: white;
  -webkit-border-radius:6px;
     -moz-border-radius:6px;
          border-radius:6px;
  text-shadow: 0 0 4px #000;
}
.registration-button:hover {
  background: #AA59DE;
}


.ui-widget-overlay {
  position:fixed;
  top:0;
  left:0;
  background:white;
  opacity:0.5;
}

#statute {
  height: 256px;
  border: 1px solid #999;
  margin-top: 10px;
  overflow: auto;
  color: #333;
  padding: 10px;
}

#statute h2 {
  margin-top: 0;
}

.hand {
  cursor:pointer;
}
.arrow {
  cursor:default;
}

#mailer-wrapper {
  background:url(../i/mailer.png) no-repeat top center;
  display:none;
  padding:23px;
}

#mailer-wrapper .close {
    background-image:url(../i/close.png);
    position:absolute;
    right:30px;
    top:30px;
    cursor:pointer;
    height:20px;
    width:20px;
}
#mailer-wrapper .close:hover {
  background-position: 0 -20px;
}

#mailer {
  width:500px;
  height:200px;
  padding: 10px;
}

#mailer div {
  font-style: italic;
}





#photo-wrapper .close {
    background-image:url(../i/close.png);
    position:absolute;
    right:10px;
    top:10px;
    cursor:pointer;
    height:20px;
    width:20px;
}
#photo-wrapper .close:hover {
  background-position: 0 -20px;
}

#photo-wrapper {
  display: none;
  width: 400px;
  background: white;
  *border:10px solid #ccc;
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  -webkit-box-shadow: 0 0 16px black;
     -moz-box-shadow: 0 0 16px black;
          box-shadow: 0 0 16px black;
}
#photo-wrapper #mailer {
  border-radius: 8px;
}

.paginationControl {
  color: #ccc;
}
.paginationControl a {
  color: #512dad;
  padding: 2px 6px;
  text-decoration: none;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

.paginationControl a:hover {
  background: #6c4bbd;
  color: white;
}
.paginationControl .current {
  font-weight:bold;
  font-size: 110%;
  cursor:default;
  padding: 2px 6px;
  color: black;
}
.paginationControl .disabled {
  color: #999;
  cursor:default;
}

.button {
  padding: 0 10px;
  cursor:pointer;
  height: 20px;
  line-height:20px;
  position:relative;
  top:-1px;
  font-weight:bold;
  text-decoration:none;
  background: #6c4bbd url(../i/button.png) repeat-x top left;
  color: #eee5ff;
  border:1px solid #512dad;
  box-shadow: 0 1px 2px #C4C4C4;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}
.button:hover {
  background: #8a6fd1;
}

/* ponizsza klase aplikuje sie submitom */
.st-button {
  outline: none;
  display:-moz-inline-stack;
  display:inline-block;
  zoom: 1;
  *display: inline;

  font-weight:bold;
  padding: 0 4px;
  margin:0;
  height: 22px;
  line-height:16px;
  cursor:pointer;

  background: #6c4bbd url(../i/button.png) repeat-x top left;
  color: #eee5ff;
  border:1px solid #512dad;
  box-shadow: 0 1px 2px #C4C4C4;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px; 
}
.st-button:hover {
  background: #8a6fd1;
}

p.description {
  font-size: 8pt;
  color: #444;
}
h2.dialog-title {
  margin-top:0;
}

/* lista studentow / zgloszen */
ul.students {
  list-style: none;
  font-family: verdana, sans-serif;
}
ul.students li {
  border: 1px solid transparent;
  border-top-color: #999;
  padding: 10px;
}
ul.students li:first-child {
  border-top-color: transparent;
}
ul.students li:hover {
  border-color: #D1C328;
  background: #FFF9B5;
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;
}
ul.students li:hover + li {
  border-color: transparent;
}
ul.students .personal {
  margin: 0;
  height: 75px;
}
ul.students .photo {
  margin-right: 10px;
}
ul.students .photo img {
  width:60px;
  height:75px;
}
ul.students .name {
  font-weight: bold;
  font-size: 11pt;
}
ul.students .email {
  font-style: italic;
  color: #555;
}
ul.students .tools {
  margin-top: 20px;
  font-size: 10pt;
}
ul.students .start-year {
  font-weight:bold;
}
#search-toolbar ul {
  list-style:none;
  padding: 0;
  margin: 0;
}
#search-toolbar li {
  display:block;
  float:left;
  margin: 0;
  padding: 0;
}
#search-toolbar .menu {
  background: #FFD52E;
}

#search-toolbar .menu .title {
  line-height:28px;
  padding: 0 10px;
  border: 1px solid #FFD52E;
  cursor: default;
  height:27px;
}
#search-toolbar .menu:hover .title,
#search-toolbar .menu.active .title
 {
  border-color: black;
  background-color:white;
  color: black;
}
#search-toolbar .menu .items {
  display:none;
  position:absolute;
  border: 1px solid #777;
  padding: 16px;
  -moz-box-shadow: 0 3px 3px #777;
  z-index:1;
  background:white;
  max-width: 460px;
}

#search-toolbar .menu.active .title {
  border-bottom:none;
}
#search-toolbar .menu.active .items {
  display:block;
}

#search-toolbar li > input[type=submit] {
  background: #FFD52E;
  border:1px solid #FFD52E;
  cursor:pointer;
  height: 29px;
}
#search-toolbar li > input[type=submit]:hover {
  background: white;
  border-color:red;
  -moz-box-shadow: 0 0 3px red;
}
#search-toolbar #q {
  height: 27px;
  width: 200px;
  padding: 0 4px 0 24px;
  margin: 0;
  background: url(../i/search.png) no-repeat 2px 50%;
  border: 1px solid #D9AE04;
}
#search {
  color: black;
}
.tools img {
  vertical-align:text-bottom;
}

.request-details {
  border-top: 1px solid #777;
  margin-top: 6px;
  padding-top: 6px;
}
.request-details dd {
  width: 400px;
}

/* formularze */
input[type=text],
input[type=password],
select,
textarea {
  background: #f6f6f6;
  color: #333;
  border: 1px solid #777;
  padding: 4px;
}

input[type=text]:focus,
input[type=password]:focus,
select:focus,
textarea:focus {
  border-color: black;
  color: black;
  background: white;
}

/* edukacja */

/* photo-trim {{{ */
#img-container {
  width:260px;
  border: 1px solid #eee;
}
#toolbox-container {
  width: 220px;
  text-align:center;
}
#preview-wrapper {
  width:100px;
  height:125px;
  overflow:hidden;border:4px solid #eee;
  margin-bottom: 40px;
  margin-left:60px;
}
/* }}} */

/* startpage {{{ */

.feature {
  font-family:inherit;
  font-size: 10pt;
  color: #555;
}
.feature a {
  color: #52256f;
  text-decoration:none;
}
.feature a:hover {
  text-decoration:underline;
}
.feature .feature-icon {
  display:block;
  float:left;
  width:56px;
  height:56px;
  background: url(../i/sp-icons.png) no-repeat left top;
}

.feature h3 {
  font-weight: bold;
  font-size: 11pt;
  margin: 0 0 4px;
  padding: 0;
  margin-left: 64px;
  color: black;
}

.feature h3 a {
  color: black;
}

.feature p {
  margin-left: 64px;
}

.loginform {
  display:block;
  margin-left: 20px;
  font-family: inherit;
}

.loginform label {
  color: #222;
  font-size: 10pt;
  display:block;
  color: #222222;
  font-size: 10pt;  
}

.loginform input.text {
  border: 1px solid #aaa;
  background: #fafafa;
  width: 220px;
  padding: 4px;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

.loginform input.text:focus {
  border-color: #50395f;
  background: white;
}

.loginform input.submit {
  background: #562276 url(../i/sp-button.png) repeat-x top center;
  border: 1px solid #633680;
  color: white;
  padding: 2px 16px;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

.loginform input.submit:hover {
  background: #b586d1;
}

.loginform .forgot-password {
  display:block;
  text-align:right;
  width:230px;
  font-size:9pt;
}

.loginform .forgot-password a {
  color:#555;
  text-decoration:none;
}

.loginform .forgot-password a:hover {
  color:black;
}
/* }}} */

/* forum {{{ */

div.forum-board {
  padding: 16px 10px;
  border-radius:5px;
  border: 1px solid #aaa;
  margin-bottom: 16px;
}
div.forum-board:hover {
  border-color: #D1C328;
  background: #FFF9B5;
}
div.forum-board div.board-title a {
  font-weight:bold;
  font-size:11pt;
  text-decoration: none;
  color:black;
}
div.forum-board div.board-desc {
  color:#888;
  font-size:10pt;
}
/* }}} */

/* file uploads {{{ */
#upload_id-trigger {
  width: 420px; /* input[type=text].width */
  border: 1px solid #777;
  background: #eee;
  padding: 4px;
  border-radius: 4px;
  cursor: default;
}
#upload_id-trigger {
  margin: 0;
  text-align:center;
}
#upload_id-trigger.hover {
  background: white;
}
#upload_id-trigger.FlashUpload-trigger-uploading, 
#upload_id-trigger.FlashUpload-trigger-has-error,
#upload_id-trigger.FlashUpload-trigger-complete {
  -webkit-border-bottom-left-radius: 0;
  -webkit-border-bottom-right-radius: 0;
     -moz-border-radius-bottomleft: 0;
     -moz-border-radius-bottomright: 0;
          border-bottom-left-radius: 0;
          border-bottom-right-radius: 0;
}

.FlashUpload-progress {
  height:10px;
  overflow:hidden;
  background:url(../i/progress.png);
  -webkit-border-bottom-left-radius: 4px;
     -moz-border-radius-bottomleft:  4px;
          border-bottom-left-radius: 4px;
}

.FlashUpload-progress-has-error {
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

.FlashUpload-progress-complete {
  -webkit-border-bottom-right-radius: 4px;
     -moz-border-radius-bottomright:  4px;
          border-bottom-right-radius: 4px;
}

.FlashUpload-status-has-error {
  background: url("../i/error.png") no-repeat scroll 6px 50% #F7CDCD;
  _background-image:url(../i/error.gif);
  border: 1px solid #C01619;
  border-top: none;
  color: #C01619;
  font-size: 11px;
  line-height: 20px;
  cursor:default;
  -webkit-border-bottom-left-radius:  4px;
  -webkit-border-bottom-right-radius: 4px;
     -moz-border-radius-bottomleft:   4px;
     -moz-border-radius-bottomright:  4px;
          border-bottom-left-radius:  4px;
          border-bottom-right-radius: 4px;

}
.FlashUpload-status-has-error .message {
  margin-left: 32px;
}
/* }}} */

#app-console {
  border-top: 2px solid #808080;
  padding-top: 4px;
  cursor:pointer;
background: #d6ddce; /* Old browsers */
background: -moz-linear-gradient(top, #fcfff4 0%, #dfe5d7 36%, #b3bead 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfff4), color-stop(36%,#dfe5d7), color-stop(100%,#b3bead)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #fcfff4 0%,#dfe5d7 36%,#b3bead 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #fcfff4 0%,#dfe5d7 36%,#b3bead 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #fcfff4 0%,#dfe5d7 36%,#b3bead 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#b3bead',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, #fcfff4 0%,#dfe5d7 36%,#b3bead 100%); /* W3C */
}

.app-console-message {
  margin: 5px;
  padding: 5px;
  border-bottom: 1px dotted #999;
}


