/*
  Styly pro vzhled webu.
*/
body{
    font-family: 'Roboto';font-size: 22px;
    background-color: #f4f4f4;
    color: #666666;

}
a{
    color: #006699;
}

a:focus, a:hover{
    color: #666666;
}

h1{
    color: #494949;
    font-size: 36px;
}

h2{
    color: #494949;
}

.btn {
    border-radius: 0;
}

.btn-primary {
    background-color: #006699;

}

.btn-primary:hover{
    background-color: #666666;
}

.cleaner {
    clear: both;
}

/* hlavicka */
#header {

}

#logo {
    padding: 30px 15px 0 15px;
}
#logo A {
    display: block;
    font-size: 36px;
    color: #006699;
    font-weight: bold;

}
#logo A:focus, #logo A:hover {
    color: #006699;
    text-decoration: none;
}

#logo img{
    margin-bottom: 6px;
    margin-right: 7px;
}

#product-name {
    padding: 0 15px 15px 15px;
    color: #006699;
}
#product-name span{
    font-size: 18px;
}

#entry-portal{
    padding: 0 0 20px;
}
#topbar A {
    color: #E4E6E4; 
}

#topbar UL.langs {
    list-style: none;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}
#topbar UL.langs LI {
    display: inline-block;
    padding: 0 0 0 5px;
}
#topbar UL.langs LI:before {
    content: "/";
    padding-right: 5px;
}
#topbar UL.langs LI:first-child:before {
    content: "";
}
#topbar UL.langs LI.active A {
    font-weight: bold;
}

#topbar .langs,
#topbar .user {
    display: inline-block;
}
#topbar .user {
    margin-left: 20px;
}
#top-banner{
    background-color: #006699;
}

#top-banner div{
    background-color: #f4f4f4;
}
#header-menu{
    /*padding: 40px 0 0 0;*/
    padding: 0 0 20px;
}

#header-menu a, #header-menu span{
    float: LEFT;
    color: #006699;
    font-size: 18px;
}

#header-menu a.active{
    color: #666666;
}
/* top-banner card */
#top-banner .card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;

}

#top-banner .card-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 31px;
    background-color: #006699;
    color: #f4f4f4;
    text-align: center;
    font-size: 26px;
}

#top-banner .card:hover > .card-body {
    background-color: #666666;
}

#top-banner .card-deck {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

#top-banner .card-deck .card {
    margin-bottom: 15px;
}

#top-banner .card-deck .card img{
    height: auto;
    max-width: 100%;    
}

#top-banner .card-deck .card img:nth-child(2){
    display: none;
}

#top-banner .card-deck .card:hover img:nth-child(1){
    display: none;
}

#top-banner .card-deck .card:hover img:nth-child(2){
    display: block;
}

.realizace #top-banner .item_1, .pravni_ochrana #top-banner .item_2, .evidencni_software #top-banner .item_3{
    background-color: #666666;
}

.realizace #top-banner .card_1 img:nth-child(1), .pravni_ochrana #top-banner .card_2 img:nth-child(1), .evidencni_software #top-banner .card_3 img:nth-child(1){
    display: none;
}
.realizace #top-banner .card_1 img:nth-child(2), .pravni_ochrana #top-banner .card_2 img:nth-child(2), .evidencni_software #top-banner .card_3 img:nth-child(2){
    display: block;
}


/* 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;
}
/* nadpis stranky */
.page-header{
    margin-top: 15px;
    margin-bottom: 15px;
    border: none;
}

/* paticka */
#footer {
    background-color: #006699;
    margin: 20px 0 0 0 ;
    padding: 50px 0px;
    border-top: 1px solid #EEEEEE;
    color: white;
    text-align: center;
}
#footer .footer-title{
    font-size: 28px;
    margin-bottom: 40px;
}

#footer .footer-address{
    margin-top: 40px;
    font-size: 20px;
}

#footer .footer-address a{
    color: white;
}

#footer-other-information{
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    background-color: #f4f4f4;
    font-size: 16px;
}

/* 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;
}

/* obsah */

#content{
    padding-top: 40px;
    background-color: white;
}
#content > .breadcrumb {
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;	
    background-color: #F9F9F9;
}

.homepage #content{
    background-color: #f4f4f4;
}

#homepage-banner-1 .bg-homepage-banner-1{
    background-color: white;
}

.nadpis-homepage-banner-1{
    text-align: center;
    padding: 50px 0;
    font-size: 28px;
}

.popis-homepage-banner-1{
    width: 100%;
    text-align: center;
    padding: 10px 0 50px 0;
    font-size: 20px;
    color: #999999;
}

/* homepage-banner-1 card */
/*#homepage-banner-1 .card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-radius: .25rem;
    
}*/

#homepage-banner-1 .card-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
    font-size: 20px;
    color: #999999;
    padding-top: 20px;
}

#homepage-banner-1 .card-deck {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

#homepage-banner-1 .card-deck .card {
    text-align: center;
    margin-bottom: 15px;
}

#homepage-banner-1 .card-deck .card img{
    height: auto;
    max-width: 100%
}

.homepage-title{
    padding-top: 20px;
    padding-bottom: 50px;
    font-size: 25px;
    line-height: 155%;
    text-align: center;
}

#homepage-banner-2{
    margin-bottom: 50px;
}

#homepage-banner-2 .card{
    background-color: white;
    padding: 25px;
    margin-bottom: 20px;
    display: block;
}
#homepage-banner-2 a.card:hover{
    text-decoration: none;
}

#homepage-banner-2 .card .header{
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
    color: #70a9c6;
}

#homepage-banner-2 .card .body{
    color: #999999;
}

#homepage-banner-2 .card .body p{
    margin: 0 0 0;
    font-size: 20px;
}

.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;
}

/* vysledky hledani */
#search .searchResult IMG {
    float: left;
    margin-right: 15px;
    padding: 2px;
    width: 52px;
    border: 1px solid #EEEEEE;
}

.messages{
    margin-bottom: 40px;
}

.btn-group-lg > .btn, .btn-lg {
    font-size: 25px;
}