/**
Main stylesheet for TouchPro by www.SooperThemes.com
Author: Jurriaan Roelofs

TABLE OF CONTENTS:
0. Variables and Mixins
1. Typography
2. Layout styling
3. Styling per region
4. Form styling
5. Drupal Elements
6. Drupal Modules
7. Block Skins

*/
/**
 * [ 1 ] TYPOGRAPHY
 */
body {
  font: 13px/1.3em arial, verdana, "myriad pro", myriad, sans;
}

.site-name {
  font-size: 40px;
}

h1 {
  font-size: 23px;
  line-height: 1.6em;
}

h2 {
  font-size: 23px;
  line-height: 1.6em;
}

h3,
nav a,
legend,
.mission,
.slogan,
.views-field-title {
  font-weight: bold;
  font-size: 14px;
  line-height: 1.3em;
}

h4 {
  font-size: 13px;
  font-weight: bold;
  line-height: 1.3em;
}

h5 {
  font-weight: 13px;
  text-transform: uppercase;
  line-height: 1.3em;
}

h6 {
  font-weight: 13px;
  line-height: 1.3em;
}

.content ul {
  margin: 0 0 0 15px;
}

.content ol {
  margin: 0 0 0 20px;
}

.content p,
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6,
.content code, .content pre,
.content ul, .content ol {
  margin-bottom: 15px;
  line-height:1.6em;
}

/**
 * [ 2 ] LAYOUT STYLING
 */
body {
  background: #ebebeb;
  color: #454545;
}
body a {
  color: #004d7d;
}

.masthead,
.region-footer {
  background-color: #223c4b;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0e1821), color-stop(100%, #223c4b));
  background-image: -webkit-linear-gradient(#0e1821, #223c4b);
  background-image: -moz-linear-gradient(#0e1821, #223c4b);
  background-image: -o-linear-gradient(#0e1821, #223c4b);
  background-image: -ms-linear-gradient(#0e1821, #223c4b);
  background-image: linear-gradient(#0e1821, #223c4b);
  -pie-background: linear-gradient(#0e1821, #223c4b);
   -moz-box-shadow: rgba(255, 255, 255, 0.3) 0 0 0 1px inset;
  -webkit-box-shadow: rgba(255, 255, 255, 0.3) 0 0 0 1px inset;
  -o-box-shadow: rgba(255, 255, 255, 0.3) 0 0 0 1px inset;
  box-shadow: rgba(255, 255, 255, 0.3) 0 0 0 1px inset;
  border-bottom: 2px solid #aaa;
  color: #ebebeb;
  text-shadow: black 1px 1px 1px;
  filter: dropshadow(color=#333333, offX=1, offY=2);
  min-width: 1px;
}
.masthead a,
.region-footer a {
  color: #ebebeb;
}
.masthead a,
.region-footer a {
  text-decoration: none;
}

/**
 * [ 3 ] STYLING PER REGION
 */
/**
 * Header and navigation
 */
.masthead {
  z-index: 2;
  /* padding-bottom: 20px; */
  margin-top: 20px;
  position: relative;
  display: block;
}
.masthead .mast {
  /* padding: 20px; */
  z-index: 2;
  position: relative;
}
.masthead .mast:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
* html .masthead .mast {
  height: 1%;
}
*:first-child + html .masthead .mast {
  min-height: 1%;
}
.masthead .logo-container {
  float: left;
  padding: 12px 5px 15px 5px;
  /* background-color: #004d7d;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #084d78), color-stop(100%, #012941));
  background-image: -webkit-linear-gradient(#084d78, #012941);
  background-image: -moz-linear-gradient(#084d78, #012941);
  background-image: -o-linear-gradient(#084d78, #012941);
  background-image: -ms-linear-gradient(#084d78, #012941);
  background-image: linear-gradient(#084d78, #012941);
  -pie-background: linear-gradient(#084d78, #012941); */
  background: transparent !important;
  color: #ebebeb;
  text-shadow: black 1px 1px 1px;
  /* -moz-box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  -webkit-box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  -o-box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  border: 1px solid #000; */
  margin: 0 5px;
  position: relative;
}
.masthead .logo-container .grid-inner {
  padding: 10px;
}
.masthead nav.primary-menu {
  position: relative;
  z-index: 2;
}
.disable-main-menu .filter-wrapper {
	display:none;
}
.disable-main-menu .masthead {
  display:none;
}
.disable-main-menu .masthead nav.primary-menu {
  display: none;
}
.masthead nav.primary-menu ul {
  padding-top: 3em;
  float: right;
  z-index: 2;
  position: relative;
}
@media screen and (max-width:480px) {
  .masthead nav.primary-menu ul {
    clear: both;
  }
}
.masthead nav.primary-menu ul li {
  float: left;
  display: block;
  margin: 0 0 20px 15px;
  line-height: 1em;
  position: relative;
}
@media screen and (max-width:480px) {
  .masthead nav.primary-menu ul li {
    width: 108px;
    margin-left: 0;
    margin-right: 20px;
  }
}
.masthead nav.primary-menu ul li a {
  position: relative;
  padding: 9px 12px;
  background-color: #223c4b;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #6b8799), color-stop(100%, #223c4b));
  background-image: -webkit-linear-gradient(#6b8799, #223c4b);
  background-image: -moz-linear-gradient(#06b8799, #223c4b);
  background-image: -o-linear-gradient(#6b8799, #223c4b);
  background-image: -ms-linear-gradient(#6b8799, #223c4b);
  background-image: linear-gradient(#6b8799, #223c4b);
  -pie-background: linear-gradient(#6b8799, #223c4b);
  -moz-box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  -webkit-box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  -o-box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  border: 1px solid #000;
  color: #ebebeb;
  text-shadow: black 1px 1px 1px;
  filter: dropshadow(color=#333333, offX=1, offY=2);
  min-width: 1px;
  display: block;
  border-radius: 3px;
}
.masthead nav.primary-menu ul li a a {
  color: #ebebeb;
}
.masthead nav.primary-menu ul li a:hover, .masthead nav.primary-menu ul li a:focus, .masthead nav.primary-menu ul li a.active {
  background-color: #6D8899;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #6D8899), color-stop(100%, #132531));
  background-image: -webkit-linear-gradient(#6D8899, #132531);
  background-image: -moz-linear-gradient(#6D8899, #132531);
  background-image: -o-linear-gradient(#6D8899, #132531);
  background-image: -ms-linear-gradient(#6D8899, #132531);
  background-image: linear-gradient(#6D8899, #132531);
  -pie-background: linear-gradient(#6D8899, #132531);
  color: #ebebeb;
  text-shadow: black 1px 1px 1px;
  -moz-box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  -webkit-box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  -o-box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  border: 1px solid #000;
}
.masthead nav.primary-menu ul li ul {
  position: absolute;
  left: -99999em;
  background-color: #323232;
  top: auto;
  padding: 0;
  margin: 0;
  float: none;
  width: 200px !important;
}
.masthead nav.primary-menu ul li ul li {
  margin: 0;
}
.masthead nav.primary-menu ul li ul li a {
  border-top: 0;
}
.masthead nav.primary-menu ul li ul li a:hover, .masthead nav.primary-menu ul li ul li a:focus, .masthead nav.primary-menu ul li ul li a.active {
  border-top: 0;
}
.masthead nav.primary-menu ul li:hover ul, .masthead nav.primary-menu ul li:focus ul {
  left: auto;
}

/**
 * Main
 */
#page {
  margin-top: 30px;
  min-height: 480px;
}

#page h2.block-title,
#page h1.node-title,
h1.page-title,
.comment h3 {
  /*background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #3f3f3f), color-stop(100%, #242424));
  background-image: -webkit-linear-gradient(#3f3f3f, #242424);
  background-image: -moz-linear-gradient(#3f3f3f, #242424);
  background-image: -o-linear-gradient(#3f3f3f, #242424);
  background-image: -ms-linear-gradient(#3f3f3f, #242424);
  background-image: linear-gradient(#3f3f3f, #242424);*/
  /*outline: 1px solid #000;*/
  background: url("../images/ping_signet_17x27.png") no-repeat 20px 10px;
  background-color: #34495a;
  /*
  -pie-background: linear-gradient(#3f3f3f, #242424);
  */
  -moz-box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  -webkit-box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  -o-box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  border: 1px solid #000;
  border-bottom:3px solid #fdad16;
  color: #ebebeb;
  text-shadow: black 1px 1px 1px;
  filter: dropshadow(color=#333333, offX=1, offY=2);
  min-width: 1px;
  margin-bottom: 0;
  padding-left: 47px !important;
  border-radius: 3px 3px 0 0;
}
#page h2.block-title a,
#page h1.node-title a,
h1.page-title a,
.comment h3 a {
  color: #ebebeb;
}
#page h2.block-title a,
#page h1.node-title a,
h1.page-title a,
.comment h3 a {
  text-decoration: none;
  display: block;
}

#page h2.block-title,
#page h1.node-title a,
h1.page-title {
  padding: 6px 9px;
  min-height: 37px;
  position: relative;
}

#page h1.node-title a {
  padding: 6px 9px;
  min-height: 37px;
  width: 810px;
}
.disable-main-menu #page h1.page-title {
  display: none;
}
ul.primary {
  margin: 0 20px 0 10px;
  border-bottom: 0;
}
ul.primary li a {
  border-color: #444 #444 transparent #444;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -o-border-radius: 0;
  -ms-border-radius: 0;
  -khtml-border-radius: 0;
  border-radius: 0;
}

.post-icon, .content-column .node header .post-icon, .region-featured .block .grid-inner header .post-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 48px;
  background-color: #004d7d;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #084d78), color-stop(100%, #012941));
  background-image: -webkit-linear-gradient(#084d78, #012941);
  background-image: -moz-linear-gradient(#084d78, #012941);
  background-image: -o-linear-gradient(#084d78, #012941);
  background-image: -ms-linear-gradient(#084d78, #012941);
  background-image: linear-gradient(#084d78, #012941);
  -pie-background: linear-gradient(#084d78, #012941);
  color: #ebebeb;
  text-shadow: black 1px 1px 1px;
  -moz-box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  -webkit-box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  -o-box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  border: 1px solid #000;
}

.content-column .node {
  margin-bottom: 0px;
}
.content-column .node header {
  position: relative;
}
.content-column .node header .post-icon a, .content-column .node header .post-icon a, .content-column .node .region-featured .block .grid-inner header .post-icon a, .region-featured .block .grid-inner .content-column .node header .post-icon a {
  display: block;
  background: transparent url("../images/post-icon.png") no-repeat center center;
  width: 100%;
  height: 100%;
}
.content-column .node header:hover .post-icon a, .content-column .node header:hover .post-icon a, .content-column .node .region-featured .block .grid-inner header:hover .post-icon a, .region-featured .block .grid-inner .content-column .node header:hover .post-icon a, .content-column .node header:focus .post-icon a, .content-column .node header:focus .post-icon a, .content-column .node .region-featured .block .grid-inner header:focus .post-icon a, .region-featured .block .grid-inner .content-column .node header:focus .post-icon a {
  -moz-transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
  -o-transform: rotate(360deg);
  -ms-transform: rotate(360deg);
  transform: rotate(360deg);
  -moz-transition: all 300ms;
  -webkit-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}
.disable-main-menu .content-column .node .content.clearfix {
  padding: 0px;
  border: none;
  background: none;
}
.disable-main-menu .content-column .node .content .box-shadow {
  box-shadow: 0 0 20px #000000;
  border: 1px solid #FFF;
}
.content-column .node .content,
.content-column .profile {
  background-color: #fefefe;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fefefe), color-stop(100%, #f6f6f6));
  background-image: -webkit-linear-gradient(#fefefe, #f6f6f6);
  background-image: -moz-linear-gradient(#fefefe, #f6f6f6);
  background-image: -o-linear-gradient(#fefefe, #f6f6f6);
  background-image: -ms-linear-gradient(#fefefe, #f6f6f6);
  background-image: linear-gradient(#fefefe, #f6f6f6);
  border: 1px solid #d1d1d1;
  /*outline: 1px solid #d1d1d1;*/
  box-shadow: 0px 0px 1px 1px rgba(255, 255, 255, 0.2) inset;
  padding: 19px;
}
.content-column .node .content .user-picture {
  float: right;
  margin: 0 0 4px 4px;
}
.content-column .node .content .author {
  color: #666;
  margin-bottom: 1em;
}
.content-column .node .created {
  float: right;
}
.disable-main-menu .field-name-body .field-item {
  line-height: 0; 
}
.disable-main-menu .content-column .node .link-wrapper {
  display: none;
}
.content-column .node .link-wrapper {
  border: 1px solid #fff;
  background-color: #f0f0f0;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #eeeeee), color-stop(100%, #f6f6f6));
  background-image: -webkit-linear-gradient(#eeeeee, #f6f6f6);
  background-image: -moz-linear-gradient(#eeeeee, #f6f6f6);
  background-image: -o-linear-gradient(#eeeeee, #f6f6f6);
  background-image: -ms-linear-gradient(#eeeeee, #f6f6f6);
  background-image: linear-gradient(#eeeeee, #f6f6f6);
  border: 1px solid #d1d1d1;
  border-top: 0;
  /*outline: 1px solid #d1d1d1;*/
  box-shadow: 0px 0px 1px 1px rgba(255, 255, 255, 0.2) inset;
  color: #666;
  /*margin-top: 1px; */
  padding: 10px 19px;
  overflow: hidden;
  /* tuck in that outline */
}
.content-column .node .link-wrapper ul, .content-column .node .link-wrapper li, .content-column .node .link-wrapper div {
  margin: 0;
  padding: 0;
  display: inline;
}
.content-column .node .link-wrapper a {
  text-decoration: none;
}
.content-column .node .link-wrapper a:hover, .content-column .node .link-wrapper a:focus {
  text-decoration: underline;
}
.content-column .node .link-wrapper ul.links {
  width: 200px;
  margin-right: 20px;
  float: left;
}
.content-column .node .link-wrapper ul.links li {
  border-right: 1px solid #666;
  padding-right: 4px;
}
.content-column .node .link-wrapper ul.links li.last, .content-column .node .link-wrapper ul.links li:last-child {
  border: none;
}
.content-column .node .link-wrapper .field-type-taxonomy-term-reference .field-item {
  padding-right: 4px;
}
.content-column .node .link-wrapper .field-type-taxonomy-term-reference .field-item:after {
  content: ',';
}
.content-column .node .link-wrapper .field-type-taxonomy-term-reference .field-item:last-child:after {
  content: '';
}
.content-column .node .link-wrapper .field-type-taxonomy-term-reference .field-label {
  font-weight: normal;
}
.content-column .node.node-imagefield .content {
  /*padding-left: 240px;*/
  
}
.content-column .node.node-imagefield .content .field-type-image {
  margin-left: -220px;
  float: left;
  width: 200px;
}
.content-column .node.node-imagefield .content .field-type-image img {
  border: 1px solid #d1d1d1;
}
@media screen and (max-width:480px) {
  .content-column .node.node-imagefield .content {
    padding-left: 20px;
  }
  .content-column .node.node-imagefield .content .field-type-image {
    margin-left: 0;
    float: none;
    width: 100%;
  }
}
.disable-main-menu .node #comments .title .add-comment {
  float: right;
}
.content-column .node #comments {
  font-size: 92%;
  margin-top: 15px;
}
.content-column .node #comments .comments-header {
  margin: 1em 0 0.25em 0;
}
.content-column .node #comments .comment {
  background-color: #f0f0f0;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #eeeeee), color-stop(100%, #f6f6f6));
  background-image: -webkit-linear-gradient(#eeeeee, #f6f6f6);
  background-image: -moz-linear-gradient(#eeeeee, #f6f6f6);
  background-image: -o-linear-gradient(#eeeeee, #f6f6f6);
  background-image: -ms-linear-gradient(#eeeeee, #f6f6f6);
  background-image: linear-gradient(#eeeeee, #f6f6f6);
  margin-bottom: 20px;
}
.content-column .node #comments .comment h3 {
  font-size: 16px;
  padding: 7px 19px;
}
.content-column .node #comments .comment .author {
  margin-bottom: 1em;
}
.content-column .node #comments .comment .content {
  padding-left: 19px;
}
.content-column .node #comments .comment .content .field-name-comment-body {
  font-size: 14px;
}
body.page-node .content-column .node .content,
body.page-contact .content-column .block .content,
body.page-user .content-column .block .content,
body.page-platnosc .content-column .block .content,
body.page-platnosc-potwierdzenie .content-column .block .content,
body.page-platnosc-zakonczona .content-column .block .content {
  margin-top: -10px;
}
body.page-node .content-column .node #comments .content,
body.page-contact .content-column .block #comments .content {
  margin-top: 0;
}

body.front .content-column .block .content {
  margin-top: 0;
}

.content-column .node-sticky header .post-icon a, .content-column .node-sticky .node header .post-icon a, .content-column .node .node-sticky header .post-icon a, .content-column .node-sticky .region-featured .block .grid-inner header .post-icon a, .region-featured .block .grid-inner .content-column .node-sticky header .post-icon a {
  background-image: url("../images/post-starred.png");
}
/**
 * Sidebars, Featured, Content-top/bottom
 */
.region-sidebar-first .block,
.region-sidebar-second .block,
.region-content-top .block,
.region-content-bottom .block,
.region-featured .block,
.region-preblocks .block {
  margin-bottom: 20px;
}
.region-sidebar-first .block .grid-inner,
.region-sidebar-second .block .grid-inner,
.region-content-top .block .grid-inner,
.region-content-bottom .block .grid-inner,
.region-featured .block .grid-inner,
.region-preblocks .block .grid-inner {
  background-color: #f0f0f0;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #eeeeee), color-stop(100%, #f6f6f6));
  background-image: -webkit-linear-gradient(#eeeeee, #f6f6f6);
  background-image: -moz-linear-gradient(#eeeeee, #f6f6f6);
  background-image: -o-linear-gradient(#eeeeee, #f6f6f6);
  background-image: -ms-linear-gradient(#eeeeee, #f6f6f6);
  background-image: linear-gradient(#eeeeee, #f6f6f6);
}
.region-sidebar-first .block .block-content,
.region-sidebar-second .block .block-content,
.region-content-top .block .block-content,
.region-content-bottom .block .block-content,
.region-featured .block .block-content,
.region-preblocks .block .block-content {
  border: 1px solid #d1d1d1;
  /*outline: 1px solid #d1d1d1;*/
  box-shadow: 0px 0px 1px 1px rgba(255, 255, 255, 0.2) inset;
  padding: 19px;
  overflow: hidden;
}

nav.block ul
.region-sidebar-first nav.block ul,
.region-sidebar-second nav.block ul,
.region-content-top nav.block ul,
.region-content-bottom nav.block ul,
.region-featured nav.block ul,
.region-preblocks nav.block ul {
  padding: 19px;
  margin: 0;
}

.region-featured .block .grid-inner header {
  position: relative;
}
.region-featured .block .grid-inner header .post-icon span, .region-featured .block .grid-inner .content-column .node header .post-icon span, .content-column .node .region-featured .block .grid-inner header .post-icon span, .region-featured .block .grid-inner header .post-icon span {
  display: block;
  background: transparent url("../images/post-starred.png") no-repeat center center;
  width: 100%;
  height: 100%;
  text-indent: -999999px;
  overflow: hidden;
}
.region-featured .block .grid-inner .block-content {
  padding: 0;
  position: relative;
  border-width: 0 1px 1px 1px;
  overflow: hidden;
}
.region-featured .block .grid-inner .block-content .pager :active {
  /* Styling this miraculously cures all transitioning problems on my Iphone */
  font-weight: bold;
  /* It doesn't really matter what styling is used */
}
.region-featured .block .grid-inner .block-content p, .region-featured .block .grid-inner .block-content ul, .region-featured .block .grid-inner .block-content ol, .region-featured .block .grid-inner .block-content li {
  margin: 0;
  padding: 0;
}
.region-featured .block .grid-inner .block-content ul.slides,
.region-featured .block .grid-inner .block-content ul.slides li {
  position: relative;
}
.region-featured .block .grid-inner .block-content .caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px 0;
  background: #000;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=75);
  opacity: 0.75;
  border-top: 1px solid #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  text-align: center;
  font-size: 15px;
  line-height: 1.2em;
  font-weight: bold;
  color: #fff;
}
@media screen and (max-width:480px) {
  .region-featured .block .grid-inner .block-content .caption {
    font-size: 12px;
    padding: 5px 0;
  }
}
.region-featured .block .grid-inner .block-content .caption a {
  color: #fff;
  text-decoration: none;
}
.region-featured .block .grid-inner .block-content .wrap-cycle-pager {
  float: right;
  position: relative;
  left: -50%;
  text-align: left;
  clear: both;
}
.region-featured .block .grid-inner .block-content .wrap-cycle-pager .cycle-pager {
  list-style: none;
  position: relative;
  left: 50%;
  padding-top: 3px;
}
.region-featured .block .grid-inner .block-content .wrap-cycle-pager li,
.region-featured .block .grid-inner .block-content .flex-control-nav li {
  float: left;
  position: relative;
  display: block;
}
.region-featured .block .grid-inner .block-content .wrap-cycle-pager li a,
.region-featured .block .grid-inner .block-content .flex-control-nav li a {
  text-decoration: none;
  width: 25px;
  height: 25px;
  margin: 6px 5px;
  float: left;
  display: block;
  text-align: center;
  white-space: nowrap;
  text-indent: -999999px;
  background: transparent url("../images/pager-inactive.png") no-repeat center center;
}
.region-featured .block .grid-inner .block-content .wrap-cycle-pager li a.activeSlide, .region-featured .block .grid-inner .block-content .wrap-cycle-pager li a.active,
.region-featured .block .grid-inner .block-content .flex-control-nav li a.activeSlide,
.region-featured .block .grid-inner .block-content .flex-control-nav li a.active {
  background-image: url("../images/pager-active.png");
}
.region-featured .block .grid-inner .block-content .flex-control-nav {
  float: right;
}
.region-featured .block .grid-inner .block-content .flex-control-nav a {
  cursor: pointer;
}

#page .block-search .grid-inner {
  border: 1px solid #d1d1d1;
  height: 58px;
  position: relative;
  outline: none;
}
#page .block-search .grid-inner .block-content {
  padding: 0;
}
#page .block-search .form-item {
  margin: 0;
}
#page .block-search .form-actions {
  position: absolute;
  top: 0;
  right: 0;
  height: 58px;
  width: 58px;
  background-color: #004d7d;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #084d78), color-stop(100%, #012941));
  background-image: -webkit-linear-gradient(#084d78, #012941);
  background-image: -moz-linear-gradient(#084d78, #012941);
  background-image: -o-linear-gradient(#084d78, #012941);
  background-image: -ms-linear-gradient(#084d78, #012941);
  background-image: linear-gradient(#084d78, #012941);
  -pie-background: linear-gradient(#084d78, #012941);
  color: #ebebeb;
  text-shadow: black 1px 1px 1px;
  -moz-box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  -webkit-box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  -o-box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
  box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px inset;
}
#page .block-search .form-actions .form-submit {
  height: 58px;
  width: 58px;
  margin: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -o-border-radius: 0;
  -ms-border-radius: 0;
  -khtml-border-radius: 0;
  border-radius: 0;
  border: none;
  text-indent: -999999px;
  *text-indent: 0;
  *font-size: 1px;
  *color: #333;
  overflow: hidden;
  -moz-box-shadow: rgba(255, 255, 255, 0.88) 0 0 0 1px inset;
  -webkit-box-shadow: rgba(255, 255, 255, 0.88) 0 0 0 1px inset;
  -o-box-shadow: rgba(255, 255, 255, 0.88) 0 0 0 1px inset;
  box-shadow: rgba(255, 255, 255, 0.88) 0 0 0 1px inset;
  background: transparent url("../images/search.png") no-repeat center center;
}
#page .block-search .form-type-textfield {
  margin-right: 78px;
  display: block;
}
#page .block-search .form-text {
  width: 100%;
  font-size: 24px;
  height: 37px;
  padding: 20px 0 0 20px;
  background-color: #f0f0f0;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #eeeeee), color-stop(100%, #f6f6f6));
  background-image: -webkit-linear-gradient(#eeeeee, #f6f6f6);
  background-image: -moz-linear-gradient(#eeeeee, #f6f6f6);
  background-image: -o-linear-gradient(#eeeeee, #f6f6f6);
  background-image: -ms-linear-gradient(#eeeeee, #f6f6f6);
  background-image: linear-gradient(#eeeeee, #f6f6f6);
  color: #cbcbcb;
  border: none;
  -moz-box-shadow: white 0 0 0 1px inset;
  -webkit-box-shadow: white 0 0 0 1px inset;
  -o-box-shadow: white 0 0 0 1px inset;
  box-shadow: white 0 0 0 1px inset;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -o-border-radius: 0;
  -ms-border-radius: 0;
  -khtml-border-radius: 0;
  border-radius: 0;
}
#page .block-search .overlabel-apply {
  clip: auto;
  position: absolute;
  bottom: 4px;
  left: 20px;
  font-size: 24px;
  color: #cbcbcb;
  font-weight: normal;
}

/* Navigation blocks */
#page nav.block {
  padding: 0;
}
#page nav.block .content {
  padding: 0;
}
#page nav.block ul {
  padding: 0;
  font-weight: normal;
}
#page nav.block ul li a {
  display: block;
  padding: 12px 40px 12px 20px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #d1d1d1;
  text-decoration: none;
  color: #454545;
  position: relative;
}
#page nav.block ul li a:hover {
  text-decoration: underline;
}
#page nav.block ul li.last a,
#page nav.block ul li.views-row-last a,
#page nav.block ul li:last-child a {
  border-bottom: none;
}

#page nav.block li a:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  width: 21px;
  height: 21px;
  margin-top: -10px;
  background: url("../images/list-nav.png") no-repeat 96% center;
}

#page nav.block li a:hover:after {
  right: 23px;
  -moz-transition: all 300ms;
  -webkit-transition: all 300ms;
  -o-transition: all 300ms;
  transition: all 300ms;
}

/**
 * Twitter Block
 */
.tweets-pulled-listing ul {
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #eeeeee), color-stop(100%, #f6f6f6));
  background-image: -webkit-linear-gradient(#eeeeee, #f6f6f6);
  background-image: -moz-linear-gradient(#eeeeee, #f6f6f6);
  background-image: -o-linear-gradient(#eeeeee, #f6f6f6);
  background-image: -ms-linear-gradient(#eeeeee, #f6f6f6);
  background-image: linear-gradient(#eeeeee, #f6f6f6);
  border: 1px solid #fff;
  outline: 1px solid #d1d1d1;
}
.tweets-pulled-listing ul li {
  display: block;
  padding: 12px 40px 12px 20px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #d1d1d1;
  text-decoration: none;
  color: #454545;
  position: relative;
}
.tweets-pulled-listing ul li:last-child {
  border-bottom: none;
}

/**
 * Footer
 */
.region-footer {
  padding: 10px 0;
}

.region-footer {
  font-size: 15px;
  font-weight: normal;
  text-shadow: black 1px 1px 1px;
  display: block;
  padding: 4px 0;
  color: #999;
  margin-bottom: 30px;
}
.region-footer:hover, .region-footer:focus,
.region-footer a:hover,
.region-footer a:focus {
  color: #fff;
  -moz-transition-property: all;
  -webkit-transition-property: all;
  -o-transition-property: all;
  transition-property: all;
  -moz-transition-duration: 700ms;
  -webkit-transition-duration: 700ms;
  -o-transition-duration: 700ms;
  transition-duration: 700ms;
}

.region-footer h2.block-title {
  font-size: 15px;
  text-shadow: black 1px 1px 1px;
  color: #ddd;
}

.region-footer ul {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.region-footer ul li {
  padding: 4px 0;
  margin: 0;
}

.view-id-categories ul li {
  float: left;
  margin-right: 0.5em;
}
.view-id-categories ul li a {
  display: block;
  float: left;
  word-wrap: normal;
}
.view-id-categories ul li a:after {
  content: ',';
  color: #ddd;
}

/**
 * [ 4 ] FORM STYLING
 */
h2.comment-form {
  margin: 20px;
}

.content-column form {
  background-color: #f0f0f0;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #eeeeee), color-stop(100%, #f6f6f6));
  background-image: -webkit-linear-gradient(#eeeeee, #f6f6f6);
  background-image: -moz-linear-gradient(#eeeeee, #f6f6f6);
  background-image: -o-linear-gradient(#eeeeee, #f6f6f6);
  background-image: -ms-linear-gradient(#eeeeee, #f6f6f6);
  background-image: linear-gradient(#eeeeee, #f6f6f6);
  border: 1px solid #fff;
  outline: 1px solid #d1d1d1;
  padding: 19px;
}

/**
* [ 5 ] DRUPAL ELEMENTS
*/
ul.tabs.primary {
  margin-bottom: -10px;
}

.tabs.secondary {
  clear: both;
  margin-top: 20px;
}

#page .wrap-columns .contextual-links li a {
  padding: 4px;
  font-size: 12px;
}
#page .wrap-columns .contextual-links li a:after {
  display: none;
}


/**
 * Nawigacja pomiędzy częściami modułów
 */
 
 #module-navigation-wrapper {
   display: none;
   margin: 20px 0;
 }
 
 #module-navigation-previous {
   float: left;
 }
 
 #module-navigation-next {
   float: right;
 }
 
 .module-navigation {
   display: inline-block;
   font-size: 20px;
 }

 .node-modul ul.flippy {
   margin-top: 10px;
   font-size: 20px;
   display: inline-block;
   width: 100%;
   padding: 0px;
 }

  .node-modul ul.flippy .prev {
    float: left;
  }
  
  .node-modul ul.flippy .next {
    float: right;
  }
 
 /**
  * Ustawienia flag
  */

  #flag-przeczytany {
    margin: 15px auto 5px;
    width: 470px;
    font-size: 13px;
  }

    #flag-przeczytany a {
      text-decoration: none;
      color: #333;
    }

    #flag-przeczytany .flag-wrapper {
      width: 300px;
      display: inline-block;
    }

    #flag-przeczytany .flag-throbber {
      display: none;
    }

    #flag-przeczytany .description {
      display: inline-block;
      width: 200px;
      font-size: 13px;
    }

    #flag-przeczytany .button {
      border: 1px solid #000;
      border-radius: 3px;
      display: inline-block;
      text-align: center;
      vertical-align: top;
      padding: 9px 12px;
      font-weight: bold;
      font-size: 17px;
      text-shadow: 1px 1px 1px black;
      color: #EBEBEB;
      box-shadow: 0 0 1px rgba(255, 255, 255, 0.2) inset;
    }

    #flag-przeczytany .flagged .button, #flag-przeczytany .unflag-action .button {
      background-color: #FDAD16;
      background-image: linear-gradient(#FDC253, #FDAD16);

    }

    #flag-przeczytany .unflagged .button, #flag-przeczytany .flag-action .button {
      background-color: #223C4B;
      background-image: linear-gradient(#6B8799, #223C4B);
    }

    #flag-przeczytany .flag-waiting a {
      opacity: 1;
    }

      #flag-przeczytany .flag-waiting .button {
        opacity: 0.5;
      } 

    #flag-przeczytany #postep {
      display: inline-block;
      width: 150px;
      float: right;
    }

      #flag-przeczytany #postep a {


      }

      #flag-przeczytany #postep a:hover {
        text-decoration: underline;

      }

      
/**
 * Strona postępu w nauce
 */
 
.page-postep #block-system-main .grid-inner {
  margin-top: 0px;
}

.page-postep #block-system-main .view-content {
  background-color: #FEFEFE;
  background-image: linear-gradient(#FEFEFE, #F6F6F6);
  border: 1px solid #D1D1D1;
  box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.2) inset;
  padding: 19px;
}

.page-postep #block-system-main .view-content .views-table {
  width: 100%;
  margin-bottom: 15px;
}

.page-postep #block-system-main .view-content .views-table caption {
  color: black;
  font-family: "Lucida Sans Unicode";
  font-size: 19px;
  padding: 5px;
}

.page-postep #block-system-main .view-content .views-table tr {
}

.page-postep #block-system-main .view-content .views-table tr td {
  padding: 3px;
}

.page-postep #block-system-main .view-content .views-table tr td.views-field-timestamp {
  width: 120px;
  text-align: center;
}

.page-postep #block-system-main .view-content .views-table tr td .flagged {
  color: #009900;
}

.page-postep #block-system-main .view-content .views-table tr td .unflagged {
  color: #DD0000;
}

/**
 * Rejestracja użytkownika
 */

#user_user_form_group_dane_uczestnika {
  
}

#user_user_form_group_dane_uczestnika .form-item-pass {
  width: 570px;
}

#user_user_form_group_dane_uczestnika .form-item-pass .password-strength {
  float: right;
  margin-right: 80px;
  width: 140px;
}

#user_user_form_group_dane_uczestnika .form-item-pass .password-strength-text {
  float: right;
  font-weight: bold;
}

#user_user_form_group_dane_uczestnika .form-item-pass .password-strength-title {
    display: inline;
}

#user_user_form_group_dane_uczestnika .form-item-pass .password-indicator {
    background-color: #C4C4C4;
    height: 0.3em;
    width: 100%;
}

#user_user_form_group_dane_uczestnika .form-item-pass .password-indicator div {
    background-color: #47C965;
    height: 100%;
    width: 0;
}

#user_user_form_group_dane_uczestnika .form-item-pass div.password-confirm {
    float: right;
    margin-top: 10px;
    visibility: hidden;
    width: 17em;
}

#user_user_form_group_dane_uczestnika .form-item-pass div.password-confirm .error {
    color: #8C2E0B;
    border: none;
}

#user_user_form_group_dane_uczestnika .form-type-textfield label {
  
}

#user_user_form_group_dane_uczestnika .form-type-textfield input  {
  width: 355px;
}

#user_user_form_group_dane_uczestnika .form-required  {
    color: red;
}

#user_user_form_group_dane_uczestnika .form-type-textfield label,
#user_user_form_group_dane_uczestnika .form-type-password label,
#user_user_form_group_dane_uczestnika .form-type-password-confirm label {
    display: inline-block;
    margin-right: 5px;
    width: 135px;
    text-align: right;
}

#user_user_form_group_dane_uczestnika .form-type-textfield .description, 
#user_user_form_group_dane_uczestnika .form-type-password .description,
#user_user_form_group_dane_uczestnika .form-type-password-confirm .description {
  margin-left: 145px;
  width: 360px;
}