
/* ---------- Overall Specifications ---------- */

body {
  line-height: 1.5;
  font-size: 87.5%;
  word-wrap: break-word;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}
a:link,
a:visited {
  text-decoration: none;
}
a:hover,
a:active,
a:focus {
  text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 1.0em 0 0.5em;
  font-weight: inherit;
}
h1 {
  font-size: 1.357em;
  color: #000;
}
h2 {
  font-size: 1.143em;
}
p {
  margin: 0 0 1.2em;
}
del {
  text-decoration: line-through;
}
tr.odd {
  background-color: #dddddd;
}
img {
  outline: 0;
}
code,
pre,
kbd,
samp,
var {
  padding: 0 0.4em;
  font-size: 0.857em;
  font-family: Menlo, Consolas, "Andale Mono", "Lucida Console", "Nimbus Mono L", "DejaVu Sans Mono", monospace, "Courier New";
}
code {
  background-color: #f2f2f2;
  background-color: rgba(40, 40, 0, 0.06);
}
pre code,
pre kbd,
pre samp,
pre var,
kbd kbd,
kbd samp,
code var {
  font-size: 100%;
  background-color: transparent;
}
pre code,
pre samp,
pre var {
  padding: 0;
}
.description code {
  font-size: 1em;
}
kbd {
  background-color: #f2f2f2;
  border: 1px outset #575757;
  margin: 0 3px;
  color: #666;
  display: inline-block;
  padding: 0 6px;
  -khtml-border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
pre {
  background-color: #f2f2f2;
  background-color: rgba(40, 40, 0, 0.06);
  margin: 10px 0;
  overflow: hidden;
  padding: 15px;
  white-space: pre-wrap;
}


/* ------------------ Fonts ------------------ */

body,
#site-slogan,
.ui-widget,
.comment-form label {
  font-family: Arial;
}
#header,
#footer-wrapper,
#skip-link,
ul.contextual-links,
ul.links,
ul.primary,
.item-list .pager,
div.field-type-taxonomy-term-reference,
div.messages,
div.meta,
p.comment-time,
table,
.breadcrumb {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
input,
textarea,
select,
a.button {
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
}

/* ------------------ Reset Styles ------------------ */

caption {
  text-align: left; /* LTR */
  font-weight: normal;
}
blockquote {
  background: #f7f7f7;
  border-left: 1px solid #bbb;
  font-style: italic;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
}
blockquote:before {
  color: #bbb;
  content: "\201C";
  font-size: 3em;
  line-height: 0.1em;
  margin-f: 0.2em;
  vertical-align: -.4em;
}
blockquote:after {
  color: #bbb;
  content: "\201D";
  font-size: 3em;
  line-height: 0.1em;
  vertical-align: -.45em;
}
blockquote > p:first-child {
  display: inline;
}
a.feed-icon {
  display: inline-block;
  padding: 15px 0 0 0;
}

/* ------------------ Table Styles ------------------ */

table {
  border: 0;
  border-spacing: 0;
  font-size: 0.857em;
  margin: 10px 0;
  width: 100%;
}
table table {
  font-size: 1em;
}
#footer-wrapper table {
  font-size: 1em;
}
table tr th {
  background: #757575;
  background: rgba(0, 0, 0, 0.51);
  border-bottom-style: none;
}
table tr th,
table tr th a,
table tr th a:hover {
  color: #FFF;
  font-weight: bold;
}
table tbody tr th {
  vertical-align: top;
}
tr td,
tr th {
  padding: 4px 9px;
  border: 1px solid #fff;
  text-align: left; /* LTR */
}
#footer-wrapper tr td,
#footer-wrapper tr th {
  border-color: #555;
  border-color: rgba(255, 255, 255, 0.18);
}
tr.odd {
  background: #e4e4e4;
  background: rgba(0, 0, 0, 0.105);
}
tr,
tr.even {
  background: #efefef;
  background: rgba(0, 0, 0, 0.063);
}
table ul.links {
  margin: 0;
  padding: 0;
  font-size: 1em;
}
table ul.links li {
  padding: 0 1em 0 0;
}

/* ------------------ List Styles ------------------ */

.block ol,
.block ul {
  margin: 0;
  padding: 0 0 0.25em 1em; /* LTR */
}
.contextual-links-wrapper {
  font-size: small !important;
}
ul.contextual-links {
  font-size: 0.923em;
}
.contextual-links-wrapper a {
  text-shadow: 0 0 0 !important;
}
.item-list .pager {
  font-size: 0.929em;
}
ul.menu li {
  margin: 0;
}
.region-content ul,
.region-content ol {
  margin: 1em 0;
  padding: 0 0 0.25em 2.5em; /* LTR */
}
.item-list ul li {
  margin: 0;
  padding: 0.2em 0.5em 0 0; /* LTR */
}
ul.tips {
  padding: 0 0 0 1.25em; /* LTR */
}

#page-wrapper
{
   background: #f1f5f6 url(../images/body.png) top left repeat-x;
}

#page-wrapper-inner
{
   background: url(../images/header.jpg) top center no-repeat;
}


#overlay #page-wrapper, #overlay #page-wrapper-inner{background: white!important;} 


#page{
  width: 98%;
  margin: 0 auto;
}

@media (min-width: 1000px) {
  #page{
    width: 90%;
    margin: 0 auto;
  }
}

@media (min-width: 1300px) {
  #page{
    width: 80%;
    margin: 0 auto;
  }
}



/* ------------------ Header ------------------ */
#skip-link {
  left: 50%;
  margin-left: -5.25em;
  margin-top: 0;
  position: absolute;
  width: auto;
  z-index: 50;
}
#skip-link a,
#skip-link a:link,
#skip-link a:visited {
  background: #444;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: block;
  font-size: 0.94em;
  line-height: 1.7;
  padding: 1px 10px 2px 10px;
  text-decoration: none;
  -khtml-border-radius: 0 0 10px 10px;
  -moz-border-radius: 0 0 10px 10px;
  -webkit-border-top-left-radius: 0;
  -webkit-border-top-right-radius: 0;
  -webkit-border-bottom-left-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  border-radius: 0 0 10px 10px;
}
#skip-link a:hover,
#skip-link a:active,
#skip-link a:focus {
  outline: 0;
}
#logo {
  text-align: center;
  position: relative;
  display: block;
  margin: 0 auto;
  top: 24px;
}

@media (min-width: 700px) {
  #logo {
    float: left; /* LTR */
    margin: 22px 0 5px 0;
    top: 0px;
  }
}

#site-slogan
{
  color: white;
  float: right;
  font-family: Arial;
  font-weight: bold;
  display: none;
  font-size: 22px;
  font-style: italic;
  line-height: 110px;
}

@media (min-width: 700px) {
 #site-slogan
  {
   display: block;
  }
}

/* Region header blocks. */
.region-header .block {
  font-size: 0.857em;
  float: left; /* LTR */
  margin: 0 10px;
  padding: 0;
}
.region-header .block .content {
  margin: 0;
  padding: 0;
}
.region-header .block ul {
  margin: 0;
  padding: 0;
}
.region-header .block li {
  list-style: none;
  list-style-image: none;
  padding: 0;
}
.region-header .form-text {
  background: #fefefe;
  background: rgba(255, 255, 255, 0.7);                                  
  border-color: #ccc;
  border-color: rgba(255, 255, 255, 0.3);
  margin-right: 2px; /* LTR */
  width: 120px;
}
.region-header .form-text:hover,
.region-header .form-text:focus,
.region-header .form-text:active {
  background: #fff;
  background: rgba(255, 255, 255, 0.8);
}
.region-header .form-required {
  color: #eee;
  color: rgba(255, 255, 255, 0.7);
}
/* Region header block menus. */
.region-header .block-menu {
  border: 1px solid;
  border-color: #eee;
  border-color: rgba(255, 255, 255, 0.2);
  padding: 0;
  width: 208px;
}
.region-header .block-menu li a {
  display: block;
  border-bottom: 1px solid;
  border-bottom-color: #eee;
  border-bottom-color: rgba(255, 255, 255, 0.2);
  padding: 3px 7px;
}
.region-header .block-menu li a:hover,
.region-header .block-menu li a:focus,
.region-header .block-menu li a:active {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.15);
}
.region-header .block-menu li.last a {
  border-bottom: 0;
}
/* User Login block in the header region */
.region-header #block-user-login {
  width: auto;
}
.region-header #block-user-login .content {
  margin-top: 2px;
}
.region-header #block-user-login .form-item {
  float: left; /* LTR */
  margin: 0;
  padding: 0;
}
.region-header #block-user-login div.item-list,
.region-header #block-user-login div.description {
  font-size: 0.916em;
  margin: 0;
}
.region-header #block-user-login div.item-list {
  clear: both;
}
.region-header #block-user-login div.description {
  display: inline;
}
.region-header #block-user-login .item-list ul {
  padding: 0;
  line-height: 1;
}
.region-header #block-user-login .item-list li {
  list-style: none;
  float: left; /* LTR */
  padding: 3px 0 1px;
}
.region-header #block-user-login .item-list li.last {
  padding-left: 0.5em; /* LTR */
}
.region-header #block-user-login ul.openid-links li.last {
  padding-left: 0; /* LTR */
}
.region-header #user-login-form li.openid-link a,
.region-header #user-login li.openid-link a {
  padding-left: 20px; /* LTR */
}
.region-header #block-user-login .form-actions {
  margin: 4px 0 0;
  padding: 0;
  clear: both;
}
.region-header #block-user-login input.form-submit {
  border: 1px solid;
  border-color: #ccc;
  border-color: rgba(255, 255, 255, 0.5);
  background: #eee;
  background: rgba(255, 255, 255, 0.7);
  margin: 4px 0;
  padding: 3px 8px;
}
.region-header #block-user-login input.form-submit:hover,
.region-header #block-user-login input.form-submit:focus {
  background: #fff;
  background: rgba(255, 255, 255, 0.9);
}
/* Search block in region header. */
.region-header #block-search-form {
  width: 208px;
}
.region-header #block-search-form .form-text {
  width: 154px;
}
/* Language switcher block in region header. */
.region-header .block-locale ul li {
  display: inline;
  padding: 0 0.5em;
}

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

#main-menu {
  clear: both;
  padding: 0px;
  margin: 27px 0 0 0;
  background: #0a4990 url(../images/menu.png) center left repeat-x;
  -moz-border-radius: 6px;
  border-radius: 6px;
  border-bottom: 3px solid #3180d9;
  border-top: 1px solid #3180d9;
  position: relative;
}
@media (min-width: 700px) {
  #main-menu {
    margin: 0;
  }
}
#main-menu-links {
  padding: 0px;
  float: left;
  display: none;
  position: absolute;
  top: 40px;
  background: white;
  z-index: 55;
  padding: 10px;
  right: 3px;
  left: 3px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  border: 2px solid #d7d8d8;
}
@media (min-width: 800px) {
  #main-menu-links {
    display: block;
    position: relative;
    top: 0px;
    width: auto;
    background: none;
    padding: 0px 19px;
    border: none;
  }
}
#main-menu-links li {
  list-style: none;
  margin-right: 10px;
  padding: 5px;

}
@media (min-width: 800px) {
  #main-menu-links li {
    float: left; /* LTR */
    padding: 0px;
  }
}
#main-menu-links a {
  color: #1156a3;
  font-weight: bold;
  padding: 7px 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  font-size: 13px;
}

@media (min-width: 800px) {
  #main-menu-links a {
    color: white;
  }
}

#main-menu-links a:hover,
#main-menu-links a:focus,
#main-menu-links li.active a  {
  background: #bb0000;
  color: white;
  text-decoration: none;

}

#main-menu .social
{
  background: url(../images/social.png) top left repeat-y;

  padding: 0px 20px 0px 20px;
  float: right;
  color: white;
  font-size: 13px;
  line-height: 44px;
}
 
#main-menu .social strong
{
  display: none;
}

@media (min-width: 950px) {
  #main-menu .social strong
  {
    display: inline;
  }
}

#main-menu .social img{
  position: relative;
  top: 10px;
  margin-left: 10px;
}

#main-menu .openmenu
{
  width: 31px;
  height: 27px;
  display: block;
  background: url(../images/openmenu.png) top left no-repeat;
  background-size: 31px 27px;
  position: absolute;
  top: 12px;
  cursor: pointer;
  left: 12px;
}
@media (min-width: 800px) {
  #main-menu .openmenu
    {
      display: none;
    }
}


/* --------------- Secondary Menu ------------ */

#secondary-menu-links {
  float: right;
}
#secondary-menu-links a:hover,
#secondary-menu-links a:focus {
  text-decoration: underline;
}

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

#page-title
{
  height: 59px;
  width: auto;
  text-align: center;
  position: relative;
}

#page-title h1
{
  line-height: 59px;
  background: none;
  display: block;
  margin: 0 auto;
  color: #1156a3;
  font-weight: bold;
  font-size: 17px;  
}

#page-title h1 a{
  color: #1156a3;
}

@media (min-width: 600px) {
  #page-title h1
  {
    background: url(../images/h1.png) center left no-repeat;
    padding: 0 0 0 70px;
    background-size: 54px 31px;
    font-size: 19px;
    float: left;
    margin: 0px;
  }
}

#page-title .right
{
  display: none;
  float: right;
  position: relative;
}

@media (min-width: 600px) {
  #page-title .right
    {
      display: block;
    }
}

#page-title .region-pagetitle h2, #page-title #user-login-form ul
{
  display: none;
} 

#page-title .right .userpanel
{
  background: #f0f5f5;
  border: 1px solid #d7ddde;
  padding: 0px;
  line-height: 0px;
  position: relative;
  top: 10px;
  float: right;
  -moz-border-radius: 6px;
  border-radius: 6px;
}

#page-title .right .userpanel ul
{
  padding: 4px 14px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  height: 0px;
}
#page-title .right .userpanel ul li
{
  list-style: none;
  display: inline-block;
  font-size: 13px; 
  padding-bottom: 15px;
}

#page-title .right .userpanel ul li a
{
  padding: 2px 0 2px 30px;
  color: #646464;
  font-weight: bold;
}

#page-title .right .userpanel ul #prihlaseni a{background: url(../images/prihlaseni.png) center left no-repeat;margin-right: 15px;background-size: 19px 19px;}
#page-title .right .userpanel ul #registrace a{background: url(../images/registration.png) center left no-repeat;background-size: 19px 19px;}

#page-title .right .userpanel ul .first a{background: url(../images/ucet.png) center left no-repeat;margin-right: 15px;background-size: 19px 19px;}
#page-title .right .userpanel ul .last a{background: url(../images/logout.png) center left no-repeat;background-size: 19px 19px;}

#page-title .right #login{
  position: absolute;
  top: 36px;
  left: 0px;
  padding: 10px 16px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  border: 2px solid #c6c9ca;
  background: white;
  
}
#page-title .right #login h2
{
  display: none;
}
#page-title .right #login
{
  display: none;
  z-index: 40;
}

#page-title .right #login #first-login
{
  color: white;
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
  font-size: 12px;
  padding: 12px 3px;
  text-align: center;
  background: #d3412f;
}
#page-title .right .userpanel ul li:hover #login{display: block;}

#page-title .right #rss{
  float: right;
  z-index: 500;
  position: relative;
}

#page-title .right #rss .feed-icon
{
  background: url(../images/rss.png) top left no-repeat;
  background-size: 25px 25px;
  width: 25px;
  text-indent: -5555px;
  margin-top: 16px;
  margin-left: 10px;
  height: 25px;
  padding: 0px;
}

#page-title .right #search
{
  display: none;
  float: right;
  position: relative;
  top: 10px;
  margin-left: 9px;
  margin-right: -32px;
}

@media (min-width: 950px) {
  #page-title .right #search
  {
    display: block;
  }
}

#page-title .right #search input[type="text"]
{
  -moz-border-radius: 6px;
  border-radius: 6px;
  padding: 9px 37px 9px 9px; 
  font-size: 12px;
  background: url(../images/search.png) center left repeat-x;
}

#page-title .right #search input[type="submit"]
{
   -moz-border-radius: 6px;
    border-radius: 6px;
    position: relative;
    left: -35px;
    top: 4px;
    width: 25px;
    border: 1px solid #4b9d4a; 
    height: 25px;
    background: #55ab56 url(../images/magnify.png) center center no-repeat;
    background-size: 12px 12px;
}

#page-title #eisler-stuha
{
	position: absolute;
	width: 125px;
	z-index: 300;
	height: 136px;
	background: url(../images/eisler-stuha.png) center center no-repeat;
	background-size: 125px auto;
	top: 10px;
	left: 480px;
	display: none;
}

@media (min-width: 950px) {
  #page-title #eisler-stuha
  {
    display: block;
  }
}

#page-title #eisler-stuha a
{
	display: block;
	height: 100%;
	width: 100%;
}


/* ----------------- Sidebar-first------------------ */
#sidebar-first
{
  font-family: Arial; 
  width: 95%;
  border: 1px solid #d7d8d8;
  border-top: none;
  background: white;
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 10px;
  padding-bottom: 15px;
  background: #f7f7f7;
}


@media (min-width: 500px) {
  #sidebar-first
  {
    width: 100%;
    margin-bottom: 50px;
  }
}

#sidebar-first #donate
{
  background: #1156a3 /* url(../images/donate.png) 22px 22px no-repeat */;
  background-size: 32px 32px;
  height: 67px; 
  border-bottom: 3px solid #ba0000;
  font-family: Arial;
  position: relative;
   text-align: center;
}

#sidebar-first #donate strong
{
  color: white;
  font-size: 18px;
 	display: inline-block;
 	margin-top: 10px;
}

#sidebar-first #donate span
{
  font-size: 13px;
  display: block;
  color: #839cc5;
}


#sidebar-first #donate div
{
  width: 135px;
  height: 26px;
  background: url(../images/cards.png) top left no-repeat;
  background-size: 135px 26px;
  position: absolute;
  right: 5px;
  z-index: 10;
  bottom: -12px;
  display: none;
}


#sidebar-first #block-block-1 h2
{
  display: inline-block;
  margin: 0 auto;
  color: #bc0000;
  font-weight: bold;
  text-align: center;
  font-size: 21px;
  padding: 18px 14px 18px 40px;
  background: #f7f7f7;
   display: none!important;
}


#sidebar-first #block-block-1 h2
{
 background: #f7f7f7 url(../images/globe.png) 11px 19px no-repeat;
 background-size: 20px 22px;
}

#sidebar-first #block-block-1
{
	text-align: center;
}

#sidebar-first #block-block-1 .content
{
	display: block;
	text-align: center;
	vertical-align:middle;
	padding-top: 15px;
}

#sidebar-first #block-block-1 .content p
{
  text-align: center;
  display: inline-block;
  margin: 0 15px;

}

#sidebar-first #block-block-1 p
{
  border: 1px solid #d7d8d8;
  background: white;
  border-radius: 8px;
  padding-top: 7px;
  width: 150px;
  
}     

#sidebar-first #block-block-1 .content img
{
vertical-align:middle;
  margin: 2px 0;
	padding: 8px 20px;
	
}

#sidebar-first .block .content
{
 padding: 0 12px;
}

#sidebar-first #count
{
  background: #f7f7f7;
  border-top: 1px solid #d8d8d8;
  border-bottom: 3px solid #ba0000;
  padding: 15px;
  text-align: center; 
}

/* ----------------- Content ------------------ */


#content
{
  width: 100%;
  margin: 0 auto;
  overflow-y: hidden;
  overflow-x: hidden;
}
/*
@media (min-width: 500px) {
  #content
  {
    width: 68%;
    margin: 0;
    float: right;
  }
}

@media (min-width: 800px) {
  #content
  {
    width: 66%;
  }
}

@media (min-width: 1000px) {
  #content
  {
    width: 73%;
  }
}

@media (min-width: 1300px) {
  #content
  {
    width: 76%;
  }
}

@media (min-width: 1400px) {
  #content
  {
    width: 100%;
  }
}
*/
.content {
  color:  #3f3f3f;
  line-height: 20px;
  font-size: 13px;

}

.content a{
  color: #bc0000;
  text-decoration: none;
}

.content a:hover{
  text-decoration: underline;
}

.content p
{
  margin-bottom: 10px;
  text-align: justify;
}

#content hr
{
  height: 1px;
  border: none;
  padding: 0;
  background: #cccccc;
}

#content .book-navigation .menu
{
  border-top: 1px solid #cccccc!important;
}

#content h1 {

  background: none;
  margin-bottom: 20px; 
  display: block;
  color: #1156a3;
  font-weight: bold;
  font-size: 24px;    
}

#content  h2
{
  color: #bc0000!important;
  font-size: 22px;
  font-weight: bold;

  margin: 0 0 15px 0;
}

#content .node h2
{
  border-bottom: 1px solid #b4b4b4;
  padding: 0px 0 15px 0;
}

#content .node h3
{
  color: #bc0000!important;
  font-size: 19px;
  font-weight: bold;
  padding: 0px 0 5px 0;
  margin: 0 0 10px 0;
}

#content .book-title
{
  color: #bc0000!important;
  font-size: 19px;
  font-weight: bold;
  padding: 0px 0 0px 0;
  margin: 10px 0 -5px 0!important;
  position: relative;
  top: 5px;
}
#content .node h4
{
  color: #bc0000!important;
  font-size: 16px;
  font-weight: bold;
  padding: 0px 0 0px 0;
  margin: 0 0 10px 0;
}

#content .node h5
{
  color: #545454!important;
  font-size: 16px;
  font-weight: bold;
  padding: 0px 0 0px 0;
  margin: 0 0 10px 0;
}

#content h6
{
  color: #545454!important;
  font-size: 14px;
  font-weight: bold;
  padding: 0px 0 0px 0;
  margin: 0 0 10px 0;
}

#content img
{
  margin-right: 10px;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  object-fit: contain;

}
 
#content blockquote
{
  padding: 20px;
  background: #f8f8f8;
  font-family: "Courier New";
  border-left: 3px solid #d6e5e9;
}

#content blockquote:before
{
  position: relative;
  top: -10px;
  display: none;
  left: -10x;
}

#content blockquote:after
{
  position: relative;
  top: 15px;
  display: none;
  float: right;
}

#content .field-type-taxonomy-term-reference h3
{
  margin-top: 50px;
  border-top: 3px solid #cccccc;
  padding-top: 20px;
}

#content .node-full ul
{
  margin-left: 0px;
  padding-left: 10px;
}

#content .node-full ul li
{
  list-style: none;
  padding: 0px 0px 0px 20px;
  background: url(../images/li.png) 0px 5px no-repeat;
}

#content .book-navigation .page-links
{
  background: red;
  background: #134790;
  color: white;
  font-weight: bold;
  font-size: 12px;
  border-top: 3px solid #0f376f;
  padding: 8px 15px;
  margin: 20px 0;
}

#content .book-navigation .page-links a
{
  color: white;
}

#content #block-book-navigation
{
  border-bottom: 4px solid #0f376f;
  margin-bottom: 50px!important;
}

#content .book-navigation .page-up
{
  width: 10%!important;
  opacity: 0.8;
}

#content .book-navigation .page-next
{
  width: 40%!important;
}

#content .book-navigation .page-previous      
{
  width: 40%!important;
}

.field-type-taxonomy-term-reference  ul li
{
  background: url(../images/lired.png) 0px 5px no-repeat!important;
  list-style: none;
  padding: 0px 0px 0px 20px;
}

.field-type-taxonomy-term-reference  ul li a
{
  color: #bc0000;
}

.node-readmore a
{
  position: relative;
  top: -15px!important;
}

.user-info
{
  margin-bottom: 10px;
  clear: both;
}

.user-picture
{
  float: left!important;
}

.user-info p                                                                          
{
  position: relative;
  top: 10px;
  opacity: 0.7;

}

.user-picture img
{
    width: 40px!important;
    height:  40px!important;
    margin-right: 10px;
    border: 2px solid #d7d7d7;
}

#content .content
{
  clear: both;
}

/* ----------------- Rubriky ----------------- */

.region-rubriky, .region-rubriky .block{
  padding: 0px;
}

.region-rubriky .content ul
{
  clear: both;
  padding: 0px;
  position: relative;
  left: -8px;
  width: 95%;
  margin: 0 auto;
}

@media (min-width: 500px) {
  .region-rubriky .content ul
    {
      width: auto;
      margin: 0 auto;      
    }
}
.region-rubriky .content ul li
{
  display: block;
  float: left;
  margin: 10px 9px 10px 9px;
  background: #e0e4e5;
  text-align: center;
  -moz-border-radius: 6px;
  border-radius: 6px;
  width: 100%;
  padding-bottom: 10px;
}

@media (min-width: 500px) {
  .region-rubriky .content ul li
  {
    width: 41%;
  }
}


@media (min-width: 800px) {
  .region-rubriky .content ul li
  {
    width: 28%;
  }
}

@media (min-width: 1000px) {
  .region-rubriky .content ul li
  {
    width: 13%;
  }
}

@media (min-width: 1200px) {
  .region-rubriky .content ul li
  {
    width: 15%;
    
  }
}


.region-rubriky .content ul li a
{
  font-weight: bold;
  font-size: 12px;  
}   

.region-rubriky .content ul li a span
{
  display: block;
  text-indent: -5555px;
  height: 130px;
  margin-bottom: 7px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}

.region-rubriky .content ul #astrofyzika span{background: #28446d url(../images/rubriky/astrofyzika.png) center center no-repeat;background-size: 52px 52px;}
.region-rubriky .content ul #astrofyzika{color: #28446d;}

.region-rubriky .content ul #biologie span{background: #286d3a url(../images/rubriky/biologie.png) center center no-repeat;background-size: 52px 52px;}
.region-rubriky .content ul #biologie{color: #286d3a;}

.region-rubriky .content ul #distribuovane-vypocty span{background: #1a7cc1 url(../images/rubriky/distribuovane-vypocty.png) center center no-repeat;}
.region-rubriky .content ul #distribuovane-vypocty{color: #1a7cc1;}

.region-rubriky .content ul #kryptografie span{background: #3b3b3b url(../images/rubriky/kryptografie.png) center center no-repeat;background-size: 52px 52px;}
.region-rubriky .content ul #kryptografie{color: #3b3b3b;}

.region-rubriky .content ul #veda span{background: #415a53 url(../images/rubriky/veda.png) center center no-repeat;background-size: 52px 52px;}
.region-rubriky .content ul #veda{color: #415a53;}

.region-rubriky .content ul #zeme span{background: #6a6a6a url(../images/rubriky/zeme.png) center center no-repeat;background-size: 52px 52px;}
.region-rubriky .content ul #zeme{color: #6a6a6a;}

.region-rubriky .content ul #ostatni span{background: #893923 url(../images/rubriky/ostatni.png) center center no-repeat;background-size: 52px 52px;}
.region-rubriky .content ul #ostatni{color: #893923;}

.region-rubriky .content ul #testy-a-hardware span{background: #2a8c43 url(../images/rubriky/testy-a-hardware.png) center center no-repeat;background-size: 52px 52px;}
.region-rubriky .content ul #testy-a-hardware{color: #2a8c43;}

.region-rubriky .content ul #articles-and-instructions span{background: #967400 url(../images/rubriky/articles-and-instructions.png) center center no-repeat;background-size: 52px 52px;}
.region-rubriky .content ul #articles-and-instructions{color: #967400;}

.region-rubriky .content ul #navody-a-nastaveni span{background: #a55a29 url(../images/rubriky/navody-a-nastaveni.png) center center no-repeat;background-size: 52px 52px;}
.region-rubriky .content ul #navody-a-nastaveni{color: #a55a29;}

.region-rubriky .content ul #cnt span{background: #aa1313 url(../images/rubriky/cnt.png) center center no-repeat;background-size: 52px 52px;}
.region-rubriky .content ul #cnt{color: #aa1313;}

.region-rubriky .content ul #profily span{background: #541173 url(../images/rubriky/profily.png) center center no-repeat;background-size: 52px 52px;}
.region-rubriky .content ul #profily{color: #541173;}







/* ----------------- Comments ----------------- */

.comment h2.title {
  margin-bottom: 1em;
}
.comment div.user-picture img {
  margin-left: 0; /* LTR */
}
.comment {
  margin-bottom: 20px;
  display: table;
  vertical-align: top;
}
.comment .attribution {
  display: table-cell;
  padding: 0 30px 0 0; /* LTR */
  vertical-align: top;
  overflow: hidden;
}
.comment .attribution img {
  margin: 0;
  border: 1px solid #d3d7d9;
}
.comment .attribution .username {
  white-space: nowrap;
}
.comment .submitted p {
  margin: 4px 0;
  font-size: 1.071em;
  line-height: 1.2;
}
.comment .submitted .comment-time {
  font-size: 0.786em;
  color: #68696b;
}
.comment .submitted .comment-permalink {
  font-size: 0.786em;
  text-transform: lowercase;
}
.comment .content {
  font-size: 0.929em;
  line-height: 1.6;
}
.comment .comment-arrow {
  background: url(../images/comment-arrow.gif) no-repeat 0 center transparent; /* LTR */
  border-left: 1px solid;
  border-right: 1px solid;
  height: 40px;
  margin-left: -47px; /* LTR */
  margin-top: 10px;
  position: absolute;
  width: 20px;
}
.comment .comment-text {
  padding: 10px 25px;
  border: 1px solid #d3d7d9;
  display: table-cell;
  vertical-align: top;
  position: relative;
  width: 100%;
}
.comment .indented {
  margin-left: 40px; /* LTR */
}
.comment ul.links {
  padding: 0 0 0.25em 0;
}
.comment ul.links li {
  padding: 0 0.5em 0 0; /* LTR */
}
.comment-unpublished {
  margin-right: 5px; /* LTR */
  padding: 5px 2px 5px 5px; /* LTR */
}
.comment-unpublished .comment-text .comment-arrow {
  border-left: 1px solid #fff4f4;
  border-right: 1px solid #fff4f4;
}

/* ------------------ Sidebar ----------------- */

.sidebar .block {
  border: 1px solid;
  padding: 15px 20px;
  margin: 0 0 20px;
}
.sidebar h2 {
  margin: 0 0 0.5em;
  border-bottom: 1px solid #d6d6d6;
  padding-bottom: 5px;
  text-shadow: 0 1px 0 #fff;
  font-size: 1.071em;
  line-height: 1.2;
}
.sidebar .block .content {
  font-size: 0.914em;
  line-height: 1.4;
}
.sidebar tbody {
  border: none;
}
.sidebar tr.even,
.sidebar tr.odd {
  background: none;
  border-bottom: 1px solid #d6d6d6;
}

/* ----------------- Triptych ----------------- */

#triptych-wrapper {
  background-color: #f0f0f0;
  background: rgba(30, 50, 10, 0.08);
  border-top: 1px solid #e7e7e7;
}
#triptych h2 {
  color: #000;
  font-size: 1.714em;
  margin-bottom: 0.8em;
  text-shadow: 0 1px 0 #fff;
  text-align: center;
  line-height: 1;
}
#triptych .block {
  margin-bottom: 2em;
  padding-bottom: 2em;
  border-bottom: 1px solid #dfdfdf;
  line-height: 1.3;
}
#triptych .block.last {
  border-bottom: none;
}
#triptych .block ul li,
#triptych .block ol li {
  list-style: none;
}
#triptych .block ul,
#triptych .block ol {
  padding-left: 0;
}
#triptych #block-user-login .form-text {
  width: 185px;
}
#triptych #block-user-online p {
  margin-bottom: 0;
}
#triptych #block-node-syndicate h2 {
  overflow: hidden;
  width: 0;
  height: 0;
}
#triptych-last #block-node-syndicate {
  text-align: right;
}
#triptych #block-search-form .form-type-textfield input {
  width: 185px;
}
#triptych-middle #block-system-powered-by {
  text-align: center;
}
#triptych-last #block-system-powered-by {
  text-align: right;
}

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

#footer{
  background: url(../images/footer.png) top left repeat-x;
  height: 54px;
  position: relative;  
}

#footer-wrapper
{
  width: 80%;
  margin: 0 auto;
}

#footer-wrapper .left
{
  float: left;
  line-height: 40px;
  font-size: 13px;
  color: #a9a9a9;
  display: none;
}

@media (min-width: 600px) {
  #footer-wrapper .left
  {
    display: block;
  }
}

#footer-wrapper .right{
  float: right;
  line-height: 40px;
  font-size: 13px;
  color: #a9a9a9;
}

#footer-wrapper .right a
{
  color: #686868;
}

#footer-wrapper .right img
{
  position: relative;
  top: 2px;
}

#footer #footer-bg
{
  background: url(../images/footer-bg.jpg) top center no-repeat;
  width: 100%;
  position: absolute;
  bottom: 0px;
  height: 13px;
} 

/* --------------- System Tabs  --------------- */

.tabs {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin-top: 20px;
  margin-bottom: 20px;
}


.tabs ul.primary {
  padding: 0 3px;
  margin: 0;
  overflow: hidden;
  border: none;

}
.tabs ul.primary li {
  display: block;
  float: left; /* LTR */
  vertical-align: bottom;
  margin: 0 5px 0 0; /* LTR */
}
.tabs ul.primary li.active a {
  border-bottom: 1px solid #ffffff;
}
.tabs ul.primary li a {
  color: white;
  border: 1px solid #1156a3;
  background-color: #6494ca;
  height: 1.8em;
  line-height: 1.9;
  display: block;
  font-size: 0.929em;
  float: left; /* not LTR */
  padding: 0 10px 3px;
  margin: 0;
  -khtml-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
}
.tabs ul.primary li.active a {
  background-color: #1156a3;
}
.tabs ul.secondary {
  border-bottom: none;
  padding: 0.5em 0;
}
.tabs ul.secondary li {
  display: block;
  float: left; /* LTR */
}
.tabs ul.secondary li:last-child {
  border-right: none; /* LTR */
}
.tabs ul.secondary li:first-child {
  padding-left: 0; /* LTR */
}
.tabs ul.secondary li a {
  padding: 0.25em 0.5em;
}
.tabs ul.secondary li a.active {
  background: #f2f2f2;
  border-bottom: none;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;
}
ul.action-links {
  list-style: none;
  margin: 5px;
  padding: 0.5em 1em;
}
ul.action-links li {
  display: inline-block;
  margin-left: 10px;
}
ul.action-links li a {
  padding-left: 15px;
  background: url(../images/add.png) no-repeat left center;
  margin: 0 10px 0 0;
}

/* ---------------- Messages  ----------------- */

#messages {
  padding: 20px 0 5px;
  margin: 0 auto;
}
.featured #messages {
  background: #f0f0f0;
  background: rgba(30, 50, 10, 0.08);
}
div.messages {
  margin: 8px 15px;
}

/* -------------- Breadcrumbs   -------------- */

.breadcrumb {
  font-size: 0.929em;
}

/* -------------- User Profile   -------------- */

.profile .user-picture {
  float: none;
}

/* -------------- Password Meter  ------------- */

.confirm-parent,
.password-parent {
  width: 34em;
}
.password-parent,
div.form-item div.password-suggestions {
  position: relative;
}
.password-strength-text,
.password-strength-title,
div.password-confirm {
  font-size: 0.82em;
}
.password-strength-text {
  margin-top: 0.2em;
}
div.password-confirm {
  margin-top: 2.2em;
  width: 20.73em;
}

/* ---------------- Buttons    ---------------- */

input.form-submit,
a.button {
  background: #fff url(../images/buttons.png) 0 0 repeat-x;
  border: 1px solid #e4e4e4;
  border-bottom: 1px solid #b4b4b4;
  border-left-color: #d2d2d2;
  border-right-color: #d2d2d2;
  color: #3a3a3a;
  cursor: pointer;
  font-size: 0.929em;
  font-weight: normal;
  text-align: center;
  margin-bottom: 1em;
  margin-right: 0.6em; /* LTR */
  padding: 4px 17px;
  -khtml-border-radius: 15px;
  -moz-border-radius: 20px;
  -webkit-border-radius: 15px;
  border-radius: 15px;
}
a.button:link,
a.button:visited,
a.button:hover,
a.button:focus,
a.button:active {
  text-decoration: none;
  color: #5a5a5a;
}

/* -------------- Form Elements   ------------- */

fieldset {
  background: #ffffff;
  border: 1px solid #cccccc;
  margin-top: 10px;
  margin-bottom: 32px;
  padding: 0 0 10px;
  position: relative;
  top: 12px; /* Offsets the negative margin of legends */
  -khtml-border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.fieldset-wrapper {
  margin-top: 25px;
}
.node-form .vertical-tabs .fieldset-wrapper {
  margin-top: 0;
}
.filter-wrapper {
  top: 0;
  padding: 1em 0 0.2em;
  -khtml-border-radius-topright: 0;
  -khtml-border-radius-topleft: 0;
  -moz-border-radius-topright: 0;
  -moz-border-radius-topleft: 0;
  -webkit-border-top-left-radius: 0;
  -webkit-border-top-right-radius: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.filter-help a {
  font-size: 0.857em;
  padding: 2px 20px 0;
}
.filter-wrapper .form-item label {
  margin-right: 10px;
}
.filter-wrapper .form-item {
  padding: 0 0 0.5em 0.5em;
}
.filter-guidelines {
  padding: 0 1.5em 0 0.5em;
}
fieldset.collapsed {
  background: transparent;
  -khtml-border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}
fieldset legend {
  background: #dbdbdb;
  border: 1px solid #ccc;
  border-bottom: none;
  color: #3b3b3b;
  display: block;
  height: 2em;
  left: -1px; /* LTR */
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
  line-height: 2;
  padding: 0;
  position: absolute;
  text-indent: 10px;
  text-shadow: 0 1px 0 #fff;
  top: -12px;
  width: 100%;
  -khtml-border-radius-topleft: 4px;
  -moz-border-radius-topleft: 4px;
  -webkit-border-top-left-radius: 4px;
  border-top-left-radius: 4px;
  -khtml-border-radius-topright: 4px;
  -moz-border-radius-topright: 4px;
  -webkit-border-top-right-radius: 4px;
  border-top-right-radius: 4px;
}
fieldset.collapsed legend {
  -khtml-border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
fieldset legend a {
  color: #3b3b3b;
}
fieldset legend a:hover,
fieldset legend a:focus,
fieldset legend a:active {
  color: #000;
}
fieldset .fieldset-wrapper {
  padding: 0 10px;
}
fieldset .fieldset-description {
  margin-top: 5px;
  margin-bottom: 1em;
  line-height: 1.4;
  color: #3c3c3c;
  font-style: italic;
}
input {
  margin: 2px 0;
  padding: 4px;
}
input,
textarea {
  font-size: 0.929em;
}
textarea {
  line-height: 1.5;
}
textarea.form-textarea,
select.form-select {
  padding: 4px;
}
input.form-text,
textarea.form-textarea,
select.form-select {
  border: 1px solid #ccc;
}
input.form-submit:hover,
input.form-submit:focus {
  background: #dedede;
}
.password-suggestions ul li {
  margin-left: 1.2em; /* LTR */
}
.form-item {
  margin-bottom: 1em;
  margin-top: 2px;
}
.form-item label {
  font-size: 0.929em;
}
.form-type-radio label,
.form-type-checkbox label {
  margin-left: 4px;
}
.form-type-radio .description,
.form-type-checkbox .description {
  margin-left: 2px;
}
.form-actions {
  padding-top: 10px;
}
/* Contact Form */
.contact-form #edit-name {
  width: 75%;
  -khtml-border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.contact-form #edit-mail {
  width: 75%;
  -khtml-border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.contact-form #edit-subject {
  width: 75%;
  -khtml-border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.contact-form #edit-message {
  width: 76.3%;
  -khtml-border-top-left-radius: 4px;
  -khtml-border-top-right-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.contact-form .resizable-textarea .grippie {
  width: 76%;
  -khtml-border-bottom-left-radius: 4px;
  -khtml-border-bottom-right-radius: 4px;
  -moz-border-radius-bottomleft: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.field-type-taxonomy-term-reference *
{
  font-size: 16px!important;
}

.field-type-taxonomy-term-reference h3
{
  margin-bottom:-10px!important;
}

.field-type-taxonomy-term-reference ul
{
  padding: 0px;
  margin-bottom: 5px;
}

.field-type-taxonomy-term-reference a
{
  font-size: 13px!important;
}

/* Disabled form elements */
input.form-button-disabled,
input.form-button-disabled:hover,
input.form-button-disabled:focus,
input.form-button-disabled:active,
.form-disabled input,
.form-disabled select,
.form-disabled textarea {
  background: #ededed;
  border-color: #bbb;
  color: #717171;
}
.form-disabled .grippie {
  background-color: #ededed;
  border-color: #bbb;
}
.form-disabled label {
  color: #717171;
}

/* Animated throbber */
html.js input.form-autocomplete {
  background-position: 100% 4px; /* LTR */
}
html.js input.throbbing {
  background-position: 100% -16px; /* LTR */
}

/* Comment form */
.comment-form label {
  float: left; /* LTR */
  font-size: 0.929em;
  width: 120px;
}
.comment-form input,
.comment-form .form-select {
  margin: 0;
  -khtml-border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.comment-form .form-type-textarea label {
  float: none;
}
.comment-form .form-item,
.comment-form .form-radios,
.comment-form .form-type-checkbox,
.comment-form .form-select {
  margin-bottom: 10px;
  overflow: hidden;
}
.comment-form .form-type-checkbox,
.comment-form .form-radios {
  margin-left: 120px; /* LTR */
}
.comment-form .form-type-checkbox label,
.comment-form .form-radios label {
  float: none;
  margin-top: 0;
}
.comment-form input.form-file {
  width: auto;
}
.no-sidebars .comment-form .form-text {
  width: 800px;
}
.one-sidebar .comment-form .form-text {
  width: 500px;
}
.two-sidebars .comment-form .form-text {
  width: 320px;
}
.comment-form .form-item .description {
  font-size: 0.786em;
  line-height: 1.2;
  margin-left: 120px; /* LTR */
}
#content h2.comment-form {
  margin-bottom: 0.5em;
}
.comment-form .form-textarea {
  -khtml-border-radius-topleft: 4px;
  -khtml-border-radius-topright: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.comment-form fieldset.filter-wrapper .fieldset-wrapper,
.comment-form .text-format-wrapper .form-item {
  margin-top: 0;
  margin-bottom: 0;
}
.filter-wrapper label {
  width: auto;
  float: none;
}
.filter-wrapper .form-select {
  min-width: 120px;
}
.comment-form fieldset.filter-wrapper .tips {
  font-size: 0.786em;
}
#comment-body-add-more-wrapper .form-type-textarea label {
  margin-bottom: 0.4em;
}
#edit-actions input {
  margin-right: 0.6em; /* LTR */
}

/* -------------- Other Overrides ------------- */

div.password-suggestions {
  border: 0;
}
.ui-widget-overlay {
  background: #222222;
  opacity: 0.7;
}
div.vertical-tabs .vertical-tabs-panes fieldset.vertical-tabs-pane {
  padding: 1em;
}
#forum .name {
  font-size: 1.083em;
}
#forum .description {
  font-size: 1em;
}

/* --------------- Search Form ---------------- */

#block-search-form {
  padding-bottom: 7px;
}
#block-search-form .content {
  margin-top: 0;
}
#search-form input#edit-keys,
#block-search-form .form-item-search-block-form input {
  float: left; /* LTR */
  font-size: 1em;
  height: 1.143em;
  margin-right: 5px;
  width: 9em;
}
#search-block-form input.form-submit,
#search-form input.form-submit {
  margin-left: 0;
  margin-right: 0;
  height: 25px;
  width: 34px;
  padding: 0;
  cursor: pointer;
  text-indent: -9999px;
  border-color: #e4e4e4 #d2d2d2 #b4b4b4;
  background: url(../images/search-button.png) no-repeat center top;
  overflow: hidden;
}
#search-block-form input.form-submit:hover,
#search-block-form input.form-submit:focus,
#search-form input.form-submit:hover,
#search-form input.form-submit:focus {
  background-position: center bottom;
}
#search-form .form-item-keys label {
  display: block;
}

/* --------------- Search Results ---------------- */
ol.search-results {
  padding-left: 0;
}
.search-results li {
  border-bottom: 1px solid #d3d7d9;
  padding-bottom: 0.4285em;
  margin-bottom: 0.5em;
}
.search-results li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1em;
}
.search-results .search-snippet-info {
  padding-left: 0;
}

/* -------------- Shortcut Links -------------- */

.shortcut-wrapper {
  margin: 2.2em 0 1.1em 0; /* Same as usual h1#page-title margin. */
}
.shortcut-wrapper h1#page-title {
  float: left; /* LTR */
  margin: 0;
}
div.add-or-remove-shortcuts {
  padding-top: 0.9em;
}
.overlay div.add-or-remove-shortcuts {
  padding-top: 0.8em;
}

/* ---------- Admin-specific Theming ---------- */

.page-admin #content img {
  margin-right: 15px; /* LTR */
}
.page-admin #content .simpletest-image img {
  margin: 0;
}
.page-admin-structure-block-demo .block-region {
  background: #ffff66;
  border: 1px dotted #9f9e00;
  color: #000;
  font: 90% "Lucida Grande", "Lucida Sans Unicode", sans-serif;
  margin: 5px;
  padding: 5px;
  text-align: center;
  text-shadow: none;
}
.page-admin-structure-block-demo #featured .block-region {
  font-size: 0.55em;
}
.page-admin-structure-block-demo #header .block-region {
  width: 500px;
}
.page-admin #admin-dblog img {
  margin: 0 5px;
}
/* Fix spacing when Seven is used in the overlay. */
#system-theme-settings fieldset {
  padding: 0;
}
#system-theme-settings fieldset .fieldset-legend {
  margin-top: 0;
}
/* Configuration. */
div.admin .right,
div.admin .left {
  width: 49%;
  margin: 0;
}
div.admin-panel {
  background: #fbfbfb;
  border: 1px solid #ccc;
  margin: 10px 0;
  padding: 0 5px 5px;
}
div.admin-panel h3 {
  margin: 16px 7px;
}
div.admin-panel dt {
  border-top: 1px solid #ccc;
  padding: 7px 0 0;
}
div.admin-panel dd {
  margin: 0 0 10px;
}
div.admin-panel .description {
  margin: 0 0 14px 7px;
}

/* ---------- Overlay layout styles ----------- */

.overlay #main,
.overlay #content {
  width: auto;
  float: none;
}
.overlay #page {
  padding: 0 2em;
}
.overlay .region-page-top,
.overlay #header,
.overlay #page-title,
.overlay #featured,
.overlay #sidebar-first,
.overlay #triptych-wrapper,
.overlay #footer-wrapper {
  display: none;
}
.overlay-processed .field-type-image {
  display: block;
  float: none;
}
.overlay #messages {
  width: auto;
}

/* ---------- Poll ----------- */

.node .poll {
  margin: 2em 0;
}
.node .poll #edit-choice {
  margin: 0 0 1.5em;
}
.poll .vote-form {
  text-align: left; /* LTR */
}
.poll .vote-form .choices {
  margin: 0;
}
.poll .percent {
  font-size: 0.857em;
  font-style: italic;
  margin-bottom: 3em;
  margin-top: -3.2em;
  float: right;
  text-align: right;
}
.poll .text {
  clear: right;
  margin-right: 2.25em;
}
.poll .total {
  font-size: 0.929em;
  font-style: italic;
  text-align: right; /* LTR */
  clear: both;
}
.node .poll {
  margin: 1.8em 0 0;
}
.node .poll .text {
  margin-right: 6.75em;
}
.node .poll #edit-choice {
  margin: 0 0 1.2em;
}
.poll .bar .foreground {
  background-color: #666;
}
#footer-wrapper .poll .bar {
  background-color: #666;
}
#footer-wrapper .poll .bar .foreground {
  background-color: #ddd;
}


.node-article, .node-clanek-novinky
{
  /* padding-left: 80px;
  background: url(../images/article.png) 0px 0px no-repeat; 
  background-size: 63px 73px;
  margin-bottom: 15px;
  position: relative;
  border-bottom: 3px solid #d7d7d7;
  padding-bottom: 5px;  */
}

.node-article .submitted, .node-clanek-novinky .submitted
{
 margin-top: -10px;
 border-bottom: 1px solid #d7d7d7;
 padding-bottom: 5px;
 margin-bottom: 10px;
}

.node-article .link-wrapper, .node-clanek-novinky .link-wrapper
{
  position: absolute;
  right: 0px;
  top: 15px;
}

.node-article .link-wrapper a, .node-clanek-novinky .link-wrapper a
{
  background: #d63b3d;
  border-top: 1px solid #dd6063;
  border-bottom: 1px solid #bb3c3d;
  display: block;
  padding: 3px 5px;
  color: white;
  font-weight: bold;
  font-size: 12px;
  -khtml-border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  float: right;
  margin-left: 10px;
}

.toUp{
  bottom: 80px;
  right: 20px;
  cursor: pointer;
  border-radius: 6px;
  opacity: 0.4;
  width: 84px;
  height: 84px;
  border: 1px solid #b5b5b5;
  background: #e3e7e8 url(../images/toup.png) center center no-repeat;;
  position: fixed;
  text-indent: -5555px;
}

.toUp:hover
{
  opacity: 0.6;
}









.r-tabs
{
  margin-bottom: 15px;
}

.r-tabs .r-tabs-nav {
    margin: 0;
    padding: 0;
}

.r-tabs .r-tabs-tab {
    display: inline-block;
    margin: 0;
    list-style: none;
}

.r-tabs .r-tabs-panel {
    padding: 15px!important;
    display: none;

}

.r-tabs .r-tabs-accordion-title {
    display: none;
}

.r-tabs .r-tabs-panel.r-tabs-state-active {
    display: block;
}

/* Accordion responsive breakpoint */
@media only screen and (max-width: 665px) {
    .r-tabs .r-tabs-nav {
        display: none;
    }

    .r-tabs .r-tabs-accordion-title {
        display: block;
    }
}


/* Tabs container */
.r-tabs {
	position: relative;
	border-radius: 6px;
}

/* Tab element */
.r-tabs .r-tabs-nav .r-tabs-tab {
	position: relative;
  background: #f5f5f5;
}

/* Tab anchor */
.r-tabs .r-tabs-nav .r-tabs-anchor {
	display: inline-block;
  padding: 8px 5px 8px 5px;
	text-decoration: none;
	font-size: 12px;
	font-weight: bold;
	color: #747474;
  border-top-right-radius: 6px;
  border-top-left-radius: 6px;
  border: 1px solid #e3e7e8;
  top: 1px;
  position: relative;
  z-index: 10;
  margin-right: 5px;

}

@media (min-width: 770px) {
  .r-tabs .r-tabs-nav .r-tabs-anchor {
    padding: 10px 10px 10px 40px;
  }
}
.news-box 
{
  padding: 20px;
}
.news-box .news-item
{
  width: 98%;
  margin-top: -10px;
  position: relative;
  border-bottom: 1px solid #dcdcdc;
}

.news-box .news-item .content-news
{
padding-right: 130px;
  min-height: 35px;
}

.news-box .news-item .content-news h1, .news-box .news-item .content-news h2, .news-box .news-item .content-news h3, .news-box .news-item .content-news h4
{
  font-size: 15px!important;
  color: black!important;
  font-weight: normal!important;
}


.news-box .news-item  h3, .news-box .news-item  h3 a
{
  color: #ba0000;
  font-weight: bold;
} 

.news-box .news-item  h3, .news-box .news-item .content-news a
{
  color: #ba0000; 
}

.news-box .news-item  .more
{
  position: absolute;
  right: 0px;
  top: 20px;
  background: #d63b3d;
  border-top: 1px solid #dd6063;
  border-bottom: 1px solid #bb3c3d;
  display: block;
  padding: 3px 7px;
  color: white;
  font-weight: bold;
  font-size: 12px;
  -khtml-border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  margin-bottom: 10px;
  margin-top: 10px;
}  

.news-box .news-item  .user
{
  position: absolute;
  top: 5px;
  display: none;
  right: 190px;
  background: url(../images/user.png) top left no-repeat;
  background-size: 20px 20px;
  padding: 0 0 0 30px;
  color: #737373;
  text-decoration: underline;
}
@media (min-width: 770px) {
  .news-box .news-item  .user
    {
      display: block;
    }
}

.news-box .news-item  .date
{
 position: absolute;
 top: 5px;
 background: url(../images/calendar.png) top left no-repeat;
 background-size: 20px 20px;
 padding: 0 0 0 30px;
 font-weight: bold;
 color: #737373;
 right: 10px;
}


/* Ikonky na novinkový slider */

.r-tabs  #id_novinky
{
    margin-right: 0px;
} 
@media (min-width: 770px) {
  .r-tabs  #id_novinky
  {
    background: url(../images/novinky.png) 13px 9px no-repeat;
    background-size: 19px 22px;
  }

  .r-tabs  #id_týmové-okénko
  {
    background: url(../images/tymove-okenko.png) 13px 10px no-repeat;
    background-size: 19px 19px;
  }
  
  .r-tabs  #id_turnaje
  {
    background: url(../images/turnaje.png) 13px 10px no-repeat;
    background-size: 19px 19px;
  }
  
  .r-tabs  #id_novinky-na-webu
  {
    background: url(../images/globe.png) 13px 10px no-repeat;
    background-size: 19px 19px;
  }
  
  .r-tabs  #id_nové-projekty
  {
    background: url(../images/nove-projekty.png) 12px 10px no-repeat;
    background-size: 19px 19px;
  }

}
/* Disabled tab */
.r-tabs .r-tabs-nav .r-tabs-state-disabled {
	opacity: 0.5;
}

/* Active state tab anchor */
.r-tabs .r-tabs-nav .r-tabs-state-active .r-tabs-anchor {
	color: #bc0000;
	text-shadow: none;
	background-color: white!important;
  border-bottom: 1px solid white;
  
}

/* Tab panel */
.r-tabs .r-tabs-panel {
	background-color: white;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
  border-top-right-radius: 10px;
  border: 1px solid #e3e7e8;
  padding: 15px 15px 0px 15px;
  font-size: 13px;
}

/* Accordion anchor */
.r-tabs .r-tabs-accordion-title .r-tabs-anchor {
	display: block;
  text-decoration: none;
	font-size: 12px;
	font-weight: bold;
	color: #8b8b8b;
  padding: 10px 7px;
  border: 1px solid #e3e7e8;
   border-radius: 6px;
    background: #f5f5f5;
}

/* Active accordion anchor */
.r-tabs .r-tabs-accordion-title.r-tabs-state-active .r-tabs-anchor {
	color: #bc0000;
	text-shadow: none;
	background-color: white;
}

/* Disabled accordion button */
.r-tabs .r-tabs-accordion-title.r-tabs-state-disabled {
	opacity: 0.5;
}


/** initial setup **/
.nano {     
  position : relative;

  height   : 300px;
  overflow : hidden;
}
.nano > .nano-content {
  position      : absolute;
  overflow      : scroll;
  overflow-x    : hidden;
  top           : 15px;
  right         : 0;
  bottom        : 15px;
  left          : 15px;
}  
.nano > .nano-content:focus {
  outline: thin dotted;
}
.nano > .nano-content::-webkit-scrollbar {
  display: none;
}
.has-scrollbar > .nano-content::-webkit-scrollbar {
  display: block;
}
.nano > .nano-pane {
  background : rgba(0,0,0,.25);
  position   : absolute;
  display    : none;
  width      : 10px;
  right      : 0;
  top        : 0;
  bottom     : 0;
  visibility : hidden\9; /* Target only IE7 and IE8 with this hack */
  opacity    : .01;
  -webkit-transition    : .2s;
  -moz-transition       : .2s;
  -o-transition         : .2s;
  transition            : .2s;
  -moz-border-radius    : 5px;
  -webkit-border-radius : 5px;
  border-radius         : 5px;
}
.nano > .nano-pane > .nano-slider {
  background: #444;
  background: rgba(0,0,0,.5);
  position              : relative;
  margin                : 0 1px;
  -moz-border-radius    : 3px;
  -webkit-border-radius : 3px;
  border-radius         : 3px;
}
.nano:hover > .nano-pane, .nano-pane.active, .nano-pane.flashed {
  visibility : visible\9; /* Target only IE7 and IE8 with this hack */
  opacity    : 0.99;
}

