/*
  Styly pro vzhled webu.
*/
.cleaner {
        clear: both;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 22px;
    line-height: 1.9;
}

#mainHolder {
    background-color: #E6EAED;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    line-height: 1.5;
}

p {
    margin-bottom: 40px;
}

p:last-child {
    margin-bottom: 0;
}

/* hlavicka */
#header {
    
}

#header .header-top {
    color: #666666;
    font-weight: 400;
    padding: 5px 0;
}

#header .header-main {
    background-color: #fff;
    padding: 20px 0;
}
#header .header-main .container {
    position: relative;
}
    
#logo {
    line-height: 1;
    text-align: center;
}
#logo a {
    display: inline-block;
}
#logo img {
    margin: 0 auto;
}

/* hlavni menu */
#main-menu {
        line-height: 1.3;
	height: 100%;
	position: absolute;
	right: 0;
	top: 0;
	padding: 9px 10px;
	margin: 0 0 0 30px;
}

#main-menu-links {
	background-color: rgba(0, 0, 0, .8);
	position: absolute;
	min-width: 320px;
	right: 12px;
	top: 50%;
	padding: 15px 10px;
	margin-top: 20px;
	z-index: 9999;	
	display: none;
}

#main-menu-links li a {
        width: 100%;
        color: #fff;
	font-weight: 400;
        padding: 8px 15px;
	text-decoration: none;
}

#main-menu-links li a:focus,
#main-menu-links li a:hover,
#main-menu-links li a:active,
#main-menu-links li a.active {
	background: transparent;
	text-decoration: underline;
}

#btn-main-menu-toggle {
	background: transparent;
	position: absolute;
	right: 0;
	height: 48px;
	top: 50%;
	margin-top: -28px;
}

#btn-main-menu-toggle .icon-bar {
	background-color: #666666;
	width: 50px;
	height: 8px;
	display: block;
}
#btn-main-menu-toggle .icon-bar + .icon-bar {
	margin-top: 6px;
}

#topbar {
	padding: 10px 15px;
	color: #E4E6E4;
	background-color: #3C3E3C;
}
#topbar A {
	color: #E4E6E4; 
}

#header .header-top .langs {
	list-style: none;
        float: right;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}
#header .header-top .langs li {
	display: inline-block;
	padding: 0 0 0 5px;
}
#header .header-top .langs li a {
	color: #666666;
}

#header .header-top .homepage-link {
    float: left;
    text-transform: uppercase;
}
#header .header-top .homepage-link a {
    color: #666666;
}
#header .header-top a:focus,
#header .header-top a:hover,
#header .header-top a:active,
#header .header-top .active a {
    color: #333 !important;
    text-decoration: underline;
}

/* hlavni menu */
#mainMenu {
	background-color: #499AB4;
}
#mainMenu A {
	color: #FFFFFF;
	-webkit-border-radius: 0 !important;
	-moz-border-radius: 0 !important;
	border-radius: 0 !important;	
}
#mainMenu A:focus,
#mainMenu A:hover {
	background-color: #337AB7;
}

#searchbox {
	padding: 5px 20px 5px 0;	
	width: 200px;
}

/* leve menu */
#menu UL {
	padding: 0;
	margin: 0;
	list-style: none;
}
#menu > UL {
	margin-top: 25px;
	border-top: 1px solid #DDDDDD;
}
#menu UL UL {
	border-top: 0;
	padding: 1px 0 1px 14px;	
}
#menu UL LI.active UL {
	border-top: 1px solid #DDDDDD;
}
#menu UL LI.active LI.active UL {
	border-top: 0;
}
#menu UL LI {
	border-bottom: 1px solid #DDDDDD;		
}
#menu UL LI LI {
	border-bottom: 0;
}
#menu UL LI LI SPAN {
	border-bottom: 1px dotted #DDDDDD;
}

#menu LI SPAN {
	display: block;
	background-image: url("../img/li_left.gif");
	background-repeat: no-repeat;
	background-position: left center;
	background-color: #E5E6EC;
	padding: 10px 15px 10px 20px;
	color: #333333;
}
/* vychozi zobrazeni menu 1. urovne */
#menu LI.active A SPAN {
	background-image: url("../img/li_left.gif");
	color: #333333;
}
/* vybrana polozka menu 1. urovne */
#menu LI.active SPAN {
	background-image: url("../img/li_left_active.gif");
	color: #435CCC;
}

/* vychozi zobrazeni menu 2. a nizsi urovne */
#menu * LI.active LI SPAN {        
}
#menu * LI.active LI A SPAN {
	background-image: url("../img/li_left.gif");
	background-color: #FFFFFF;
	color: #333333;
}
/* aktualne vybrana polozka menu 2. a nizsi urovne */
#menu LI.active * LI SPAN {
	background-image: url("../img/li_left_active.gif");
	background-color: #FFFFFF;
	color: #435CCC;
}

/* prejeti mysi po menu */
#menu LI A:hover SPAN {
	background-image: url("../img/li_left_active.gif");
	background-color: #D6D6D6; /*#EFEFF0;*/
	text-decoration: none;
	color: #435CCC;
}
#menu UL LI A:hover {
	text-decoration: none; /* SAFARI BUGFIX */
}
#menu LI LI A:hover SPAN {
	background-image: url("../img/li_left_active.gif");
	background-color: #EFEFF0; /*transparent;*/
	color: #435CCC;
}

/* home banner items */
.home-banner-item {
    border: 1px solid #fff;
    border-bottom: none;
    max-width: 280px;
    margin: 0 auto;
    display: block;
    text-decoration: none !important;
}
.home-banner-item:first-child {
    border-top: none;
}

.home-banner-item .home-banner-item-title {
    background-color: #336699;
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    min-height: 106px;
    margin: 0;
    padding: 20px;
}
.home-banner-item:focus .home-banner-item-title,
.home-banner-item:hover .home-banner-item-title,
.home-banner-item:active .home-banner-item-title,
.home-banner-item.active .home-banner-item-title {
    background-color: #333333;
}

.page-header {
    border-bottom: 0;
    color: #337AB7;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.back-to-intro {
    margin: 30px 0;
    text-align: center;
}
   
#footer {
    background-color: #438DBF;
    color: #fff;
    padding: 15px 0;
    text-align: center;
}

/* obsah */
#content > .breadcrumb {
	-webkit-border-radius: 0 !important;
	-moz-border-radius: 0 !important;
	border-radius: 0 !important;	
	background-color: #F9F9F9;
}

.main > .page-header {
	margin-top: 20px;
}

.main > .childStructures {
	margin: 20px 0 0 0;
	padding: 20px 0 0 0;
	border-top: 1px solid #EEEEEE;
	list-style: none;
}
.main > .childStructures.noborder {
	margin: 0;
	padding: 0;
	border-top: 0;
}

.main .loginForm {
	max-width: 640px;
}

@media (min-width: 600px) {
    
    .home-banner-items {
        border-left: 1px solid #fff;
        max-width: 560px;
        margin: 0 auto;
    }
    
    .home-banner-item {
        border-left: none;
        width: 50%;
        float: left;
    }
    .home-banner-item:nth-child(2) {
        border-top: none;
    }
}

@media (min-width: 768px) {
    
    .home-banner-items {
        border-left: 1px solid #fff;
        max-width: none;
    }
    
    .home-banner-item {
        border-top: none;
        width: 25%;
    }
}

@media (min-width: 992px) {
    
    .home-banner-items {
        margin: 0 15px;
    }
}