/*
 * HTML Elements
 ---------------------------------------------------- */

body {
  font-family: 'Trebuchet MS';
}
h1, h2, h3, h4, h5, h6,
h2 a {
  line-height: 130%;
}
h1.title {
  margin-bottom: 15px;
}
li a.active, a, a:link, a:visited, a:hover, a:focus {
  color: #4f1b56;
}
.node a, .node a:visited {
  color: #2F499D;
}
.node a:hover {
color: #4F1B56;
text-decoration: none;
}
@font-face {
  font-family: MetaPro;
  src: url("../../../../comenius/themes/comenius/MetaPro-Book.otf");
  font-weight: normal;
  font-style: normal;
}
*::selection {
  color: #333;
  background: #D2C8E3;
}

/*
 * Header
 --------------------------------------------------- */
#header-top {
  padding-top: 10px;
}
#header-site-info {
  width: 100%;
  margin-bottom: 0;
}
#header-site-info-inner > * {
  float: left;
}
#site-name-wrapper {
  position: relative;
  top: -15px;
}
#site-name {
  margin-left: 10px;
  font: bold 45px MetaPro, "Trebuchet MS";
}
#site-mission {
  width: 400px;
}

/* Primary menu */
#primary-menu .sf-menu li a {
  background: url('../images/primary.links.separator.png') 0 50% no-repeat;
  color: #f8f8f8;
  font-family: MetaPro, Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
#primary-menu a:hover {
  text-decoration: underline;
}
#primary-menu ul {
  width: 100%;
  /*overflow: auto;*/
  background: #592361; /* Old browsers */
  background: -moz-linear-gradient(top, #592361 1%, #562053 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#592361), color-stop(100%,#562053)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #592361 1%,#562053 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #592361 1%,#562053 100%); /* Opera11.10+ */
  background: -ms-linear-gradient(top, #592361 1%,#562053 100%); /* IE10+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#592361', endColorstr='#562053',GradientType=0 ); /* IE6-9 */
  background: linear-gradient(top, #592361 1%,#562053 100%); /* W3C */
  border: 2px solid #7C0C8C;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  box-shadow: 2px 2px 5px #ccc;
  -o-box-shadow: 2px 2px 5px #ccc;
  -moz-box-shadow: 2px 2px 5px #ccc;
  -webkit-box-shadow: 2px 2px 5px #ccc;
  filter:progid:DXImageTransform.Microsoft.DropShadow(color='#cccccc',offX='2',offY='2');
  -moz-border-radius-bottomleft: 5px;
  -moz-border-radius-bottomright: 5px;
}
#primary-menu li,
#primary-menu li.last {
  /*padding: 0 5px;*/
  line-height: 100%;
}
#primary-menu .sf-menu > li.first a {
  width: 10px;
  background: url('../images/bgk_home_menu_active.png') 55% 50% no-repeat;
  text-indent: -9999px;
}

/* Superfish */
#primary-menu .sf-menu ul {
  width: 400px;
  margin-top: 1px;
  border-top: 0;
}
#primary-menu .sf-menu li.expanded {
  padding-right: 10px;
}
#primary-menu .sf-menu li.expanded span {
  display: block;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0.7em;
  width: 10px;
  height: 10px;
  background: url('../images/arrows-ffffff.png') no-repeat -10px -100px;
  text-indent: -999em;
}
#primary-menu .sf-menu ul {
  width: 400px;
}
#primary-menu .sf-menu ul li {
  border-bottom: 1px solid #350B3B;
}
#primary-menu .sf-menu ul li a {
  background: none;
  line-height: 150%;
}


/*
 * Block Sidebars
 --------------------------------------------------- */
.sidebar .block h2 {
  margin-bottom: 0;
  background: none;
  border-bottom: 3px solid #D2C8E3;
  color: #682A71;
}
.sidebar .block li {
  padding: 5px;
  border-bottom: 2px solid #fff;
}
.sidebar .block li.views-row-last {
  border: none;
}
.sidebar .block .inner {
  border: 1px solid #DFD9EA;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
}
.sidebar .block .content {
  background: #F2EFF7;
}
.sidebar .view-footer {
  padding: 5px 0 5px 0;
  background: #fff;
  text-align: right;
}

/*
 * Main
 --------------------------------------------------- */

h1.title,
h2.block-title {
  padding: 5px;
  background: #682A71;
  border-bottom: 3px solid #D2C8E3;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  font: bold 142.85% 'Trebuchet MS';
  color: #fff;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
}
h1.title {
  font-size: 182.5%;
}
.not-front h1.title,
#ddblock-5 h2 {
  padding: 0 0 5px 0;
  background: none;
  color: #682A71;
}
.front #main-wrapper,
.node-type-actions #main-wrapper {
  background: url('../images/bgk.front.wrapper.jpg') repeat-x;
}
.front #main-wrapper {
  background-position: 0 30px;
}
.node-type-actions #main-wrapper {
  background-position: 0 60px; 
}
.front #block-menu-menu-metanavigation {
  position: relative;
  top: 10px;
  left: 50px;
}

/* Breadcrumbs */
#breadcrumbs {
  width: 930px;
  padding: 8px 0 10px 0;
  margin-bottom: 15px;
  border-top: 2px solid #F2EFF7;
  border-bottom: 2px solid #F2EFF7;
  font-size: 13px;
}
#breadcrumbs > * {
  line-height: 1;
}
.breadcrumb {
  padding: 0;
}

/*
 * Blocks
 --------------------------------------------------- */
.not-front .content-group .block h2 {
  margin-bottom: 0;
}
.node-type-actions .content-group .block .content {
  padding-top: 10px;
  border: 1px solid #D2C8E3;
  border-top: none;
}
.node-type-actions #block-block-11 .content {
  border: none;
}
#block-block-1 .content ul,
#block-block-2 .content ul {
  overflow: hidden;
  height: 200px;
}
#block-block-1 .content ul li,
#block-block-2 .content ul li {
  margin-bottom: 3px;
}
#block-views-project_gallery-block_3 .inner .content {
  border: none;
}

/* Search form */
#block-search-0 {
  margin-bottom: 0.5em;
}
#block-search-0 .container-inline {
  width: 350px;
}
#block-search-0 form {
  font-family: MetaPro;
}
#block-search-0 label {
  display: none;
}
#block-search-0 #edit-search-block-form-1 {
  position: relative;
  width: 230px;
  height: 18px;
  padding-left: 10px;
  background: #f2eff7;
  border: 1px solid #dfd9ea;
}
#block-search-0 #edit-search-block-form-1:focus {
  outline: none;
}
#block-search-0 input#edit-search-block-form-3 {
  width: 300px;
}
#block-search-0 input[type="submit"] {
  position: relative;
  top: -1px;
  padding: 4px 20px 5px 10px;
  background: #531d5b url('../images/bgk.search.png') 90% 50% no-repeat;
  border: none;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  color: #fff;
  font-size: 90%;
  text-transform: uppercase;
}

/* Metanavigation menu */
#block-menu-menu-metanavigation ul {
  position: relative;
  top: -20px;
  margin-left: 0;
}
#block-menu-menu-metanavigation ul li {
  float: left;
  list-style-image: none;
  list-style-type: none;
}
#block-menu-menu-metanavigation ul li:after {
  content: " |";
  margin: 0 5px;
}
#block-menu-menu-metanavigation ul li.last:after {
  content: none;
}

/* Logos */
#logos {
  float: right;
  width: 300px;
  margin: 0 0 10px 0;
}
#logos #comenius-logo {
  float: left;
  position: relative;
  top: 6px;
}
#logos a#frse-logo {
  display: block;
  float: left;
  margin: 5px 0 0 20px;
}

/* Konkurs wnioskow */
.konkurs-wnioskow ul {
  margin-left: 0;
}
.konkurs-wnioskow > li {
  clear: both;
  overflow: auto;
  padding: 15px 0;
  line-height: 130%;
  list-style-type: none;
}
.konkurs-wnioskow li.first {
  overflow: auto;
  padding: 0 0 10px 0;
  border-bottom: 2px solid #DFD9EA;
}
.konkurs-wnioskow li.first li {
  padding-top: 10px;
}
.konkurs-wnioskow li.last {
  padding-top: 10px;
  border-bottom: 0;
}
.konkurs-wnioskow strong {
  color: #760547;
}
.konkurs-wnioskow span {
  float: left;
}
.konkurs-wnioskow .header {
  font-size: 100%;
  font-weight: bold;
}
.konkurs-wnioskow #calendar li {
  clear: both;
}
.konkurs-wnioskow .calendar-icon {
  display: block;
  width: 39px;
  height: 38px;
  background: url('../images/icons/calendar_icon.png') 0 -5px no-repeat;
}
.konkurs-wnioskow .action-type {
  margin: 12px 0 0 10px;
}
.konkurs-wnioskow #calendar strong {
  position: relative;
  top: 12px;
  left: 5px;
  font-size: 80%;
  
}
.konkurs-wnioskow .amount {
  display: block;
  width: 100%;
  margin: 5px 0;
  font-size: 150%;
}

/* DBs */
#block-block-6 #logos-1 {
  float: left;
  width: 30%;
  padding-left: 10px;
}
#block-block-6 #logos-2 {
  float: left;
  width: 65%;
}
#block-block-6 #logos-1 img {
  display: block;
  padding: 15px 0;
}
#block-block-6 #logos-2 img {
  float: left;
}
#block-block-6 #logos-2 #dpp {
  padding: 15px 0 0 15px;
}
#block-block-6 #logos-2 #est {
  padding: 40px 0 0 15px;
}

/* Forum */
#block-block-7 ul li {
  margin-bottom: 5px;
  padding-left: 20px;
  background: url('../images/forum_icon.jpg') 0 3px no-repeat;
}

/* Newsletter */
#block-simplenews-1 .form-radios .form-item {
  width: 100px;
  float: left;
}

/* BLock menus */
#content-bottom .block ul.menu,
#content-bottom .block .view-content ul {
  margin-left: 0;
  list-style-position: inside;
}
#content-bottom .block ul.menu li,
#content-bottom .block .view-content ul li {
  padding: 5px 5px 5px 20px;
  list-style: none;
  list-style-image: none;
}
#content-bottom .block ul.menu li.odd,
#content-bottom .block .view-content ul li.odd {
  background-color: #F2EFF7;
  background-image: url('../images/li_dark.png');
}
#content-bottom .block ul.menu li.even,
#content-bottom .block .view-content li.views-row-even {
  background-color: #fff;
  background-image: url('../images/li_light.png');
}
#content-bottom .block-quicktabs .view-content ul li.views-row-odd {
  background-color: #fff;
  background-image: url('../images/li_light.png');
}
#content-bottom .block-quicktabs .view-content ul li.views-row-even {
  background-color: #F2EFF7;
  background-image: url('../images/li_dark.png');
}
#content-bottom .block ul.menu li,
#content-bottom .block .view-content ul li {
  background-position: 5px 10px;
  background-repeat: no-repeat;
}

/* Quicktabs */
ul.quicktabs_tabs {
  height: 23px;
  margin-left: 0;
  padding-left: 5px;
  border-bottom: 1px solid #d7c9dc;
}
ul.quicktabs_tabs li {
  display: inline;
  margin: 0 5px 5px 0;
  padding: 5px 10px;
  background: #dcd6e7;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  font-size: 13px;
  font-weight: bold;
  list-style-image: none;
}
ul.quicktabs_tabs li.active {
  background: #fff;
  border: 1px solid #d7c9dc;
  border-bottom: 1px solid #fff;
}
.block-quicktabs li a span {
  font-variant: small-caps;
}
.node-type-actions .block-quicktabs .content {
  background: #f2eff7;
}
.block-quicktabs .qhead {
  display: block;
  margin: 0 0 10px 5px;
  color: #682a71;
  font-size: 110%;
  font-weight: bold;
  font-variant: small-caps;
}

/*
 * Nodes
 --------------------------------------------------- */

/* General */
h3.field-label {
  margin-top: 0.5em;
  color: #572158;
}
.node img {
  border: 1px solid #4D5810;
}
.node img.imagecache {
  margin-top: 5px;
}

/* Actions */
.node-type-actions h1 {
  border: none;
  color: #fff;
  letter-spacing: 1.2px;
}
.node-type-actions #action-content-wrapper {
  height: 278px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 2px 2px 5px #bc99ca;
}
.node-type-actions #action-content-inner {
  position: relative;
  top: 4px;
  left: 5px;
  color: #fff;
}
.node-type-actions #action-content-inner p {
  font-size: 15px;
  line-height: 150%;
}
.node-type-actions #action-content {
  width: 910px;
  height: 255px;
  padding: 15px 20px 0 0;
  background: #24002A;
}
.node-type-actions #action-content h1 {
  color: #fff;
}

/* Projects gallery */
.project-gallery-node .field-type-text {
  margin-bottom: 5px;
}
.field-label-inline-first {
  color: #4D5810;
}
.field-field-pg-prw-countries {
  overflow: auto;
}
.field-field-pg-prw-countries div.field-item {
  display: inline;
}
.field-field-prw-project-object {
  clear: both;
  border-top: 3px solid #D2C8E3;
}

/* Node images */
.node-images {
  clear: both;
}
.node-images img {
  margin: 0 20px 20px 0;
}

/* Node related: Zobacz także */
.node .field-field-node-related {
  padding: 10px;
  background: #F2EFF7;
  border: 1px solid #D2C8E3;
}

/*
 * Views
 --------------------------------------------------- */

/* General views */
.front .view h2 {
  position: relative;
  top: -5px;
  margin-bottom: 0;
}
.view h2 {
  margin-bottom: 0;
}
.view ul.li-image li {
  margin-left: 20px;
  list-style-image: url("../images/bgk.li.jpg");
}
.view.fusion-float-imagefield-left .view-content a.imagecache {
  margin-right: 0;
}
.views-field-view-node {
  text-align: right;
}
.view-footer {
  margin-top: 15px;
}
.views-field-view-node a,
.view-footer a,
#block-block-7 .content > a,
#ddblock-3 p a  {
  padding: 5px;
  background: #F2EFF7;
}
.views-field-created {
  color: #9E9E9E;
  font-size: 90%;
}

/* Project gallery */
#block-quicktabs-4 h2.title {
  margin-bottom: 15px;
  padding: 0 0 5px 0;
  background: none;
  color: #682A71;
  font-weight: bold;
  font-size: 182.5%;
}
#quicktabs-4 .view-content li {
  margin-bottom: 10px;
}
#quicktabs-4 .view-content li .imagecache {
  margin-top: 2px;
}
.view-project-gallery h2 a:hover {
  background: #F2EFF7;
}
/* Asystentura blog - main */
.asystentura-main li.views-row {
  min-height: 50px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #000;
}
.asystentura-main .fields-created {
  float: left;
  margin-right: 10px;
  color: #fff;
}
.asystentura-main .fields-created span {
  display: block;
  width: 30px;
  text-align: center;
}
.asystentura-main .fields-created .created-months {
  margin-bottom: 1px;
  padding: 2px 7px;
  background: #a241b0;  
  font-size: 14px;
}
.asystentura-main .created-year {
  float: left;
  padding: 2px 7px;
  background: #5c2564;
  color: #fff;
  font-size: 11px;
}

/* Publikacje */
.view-publications table {
  background: #FBF9FE;
}
.view-publications tr {
  background: none;
}
.view-publications td {
  padding: 10px;
  vertical-align: top;
}
.view-publications td.views-field-field-publication-cover-fid {
  width: 120px;
}
.view-publications img {
  border: 1px solid #D2C8E3;
}

/* News page */
.page-aktualnosci .view-news-programme .item-list li {
  margin-top: 15px;
}

/* News front */
.views-field-field-news-actions-image-fid .imagecache img {
  margin: 0;
}

/*
 * Footer
 --------------------------------------------------- */

#footer-wrapper {
  background: url('../images/bgk.footer.png') 0 0 repeat-x;
}
#footer {
  background: #fbf9fe;
  border: 1px solid #cbbde4;
  border-bottom: 1px solid #EBE9ED;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
}
#footer a,
#footer li {
  color: #666;
  text-transform: uppercase;
}
#footer a:hover {
  background: #F2EFF7;
}
#footer .block {
  padding-top: 10px;
}
#footer #footer-content {
  overflow: auto;
  width: 840px;
  margin: 0 auto 13px auto;
}
#footer h2.title {
  padding: 0 0 5px 0;
  background: none;
  border-bottom: none;
  color: #682A71;
}
#footer-message-wrapper {
  color: #00235f;
}
#footer-message {
  padding: 10px 0;
  background: #ebe9ed;
  text-align: center;
}
#footer-message-text.block {
  margin-bottom: 10px;
}
#footer #block-block-3 a,
#footer #block-block-3 li {
  text-transform: none;
}

/*
 * Skinr
 */

/* No margin, no style type list */
.fusion-list-no-margs-discs .content ul {
  margin-left: 0;
}
.fusion-list-no-margs-discs ul li {
  list-style: none;
}

/* Inline menu */
.fusion-inline-noseparator-menu ul li {
  float: left;
  margin-right: 10px;
  list-style: none;
}
.fusion-float-imagefield-right a.imagecache,
.fusion-float-imagefield-right .field-type-filefield {
  margin: 0;
}
.fusion-float-imagefield-left .imagecache img,
.views-field img,

#ddblock-3 img {
  border: 1px solid #D2C8E3;
}