* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
body {
    font-family: Arial, Tahoma, "sans serif";
    background-color: #f0d1a2;
    color: #471c11;
}
header {
    text-align: center;
    display: none;
}
img {
    max-width: 100%;
    height: auto;
    text-align: center;
}
p {
    text-align: justify;
}
p img {
    display: block;
    margin: 0 auto;
}
a {
    text-decoration: underline;
    /*font-weight: bold;*/
}
a:hover {
    text-decoration: underline;
}
h1 {
    display: none;
}
dt {
    color: #b25c00;
    font-size: 22px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 5px;
}
dt a,
dt a:hover {
    text-decoration: none;
}
dd {
    color: #2d0d05;
    font-size: 16px;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 20px;
}

#menu {
    margin: 0;
    padding: 0;
    text-align: left;
    overflow: hidden;
    border-bottom: 3px solid #fff;
}
#menu ul {
    margin: 0;
    padding: 0;
}
#menu ul li {
    list-style: none;
    background-color: #7e3526;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
#menu ul li:hover {
    background-color: #b57d72;
}
#menu > ul > li:not(.vybrano) { 
    display: none; 
}
#menu > ul > li.icon {
    font-size: 15px;
    float: right;
    display: block;
    height: 40px;
}
#menu ul li a {
    color: #fff;
    display: block;
    width: 100%;
    padding: 4px 20px;
    line-height: 2em;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
}
#menu > ul > li > a img {
    display: none;
}

#menu.responsive > ul > li {
    display: block;
}
#menu.responsive > ul > li.icon {
    position: absolute;
    right: 0;
    top: 0;
}

#menu > ul ul {
    display: none;
}
#menu.responsive > ul ul {
    display: block;
}
#menu > ul ul li {
    padding-left: 40px;
    background-color: #b57d72;
}
#menu > ul ul li:hover {
    background-color: #7e3526;
}
#menu > ul ul li a {
    line-height: 1.5em;
}
        

#content {
    padding: 0 4%;
}
#bannery {
    text-align: center;
    padding: 20px 0;
}
#bannery p {
    text-align: center;
    margin: 0;
    line-height: 0;
}
#bannery h4,
#bannery .nadpis {
    margin: 20px 0 10px 0;
    font-size: 16px;
    font-weight: bold;
}
#bannery a {
    display: inline-block;
    margin: 0 5px;
}

footer {
    clear: both;
    border-top: 3px solid #fff;
    font-size: 0.8em;
    padding: 10px 4%;
    text-align: center;
    background-color: #f0d1a2;
}
footer table {
    width: 100%;
}
footer .navrcholu {
    display: inline-block;
}
footer .navrcholu img {
    position: relative;
    top: 2px;
}
.fr {
    float: right;
}
.rm-hidden {
    display: none;
}
.clear {
    clear: both;
}
.box-yellow {
	background-color: #f5b95f;
    padding: 10px;
    margin-bottom: 10px;
}
.box-yellow table {
    width: 100%;
}
#bannery .box-brown {
    color: #fff;
    background-color: #7e3526;
    padding: 10px;
    margin-bottom: 10px;
}
#bannery .box-brown h4,
#bannery .box-brown .nadpis {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: bold;
}
#bannery .box-brown a {
    color: #fff;
    text-decoration: none;
}
#bannery .box-brown a:hover {
    text-decoration: underline;
}
.formular-right input,
.formular-right select {
    border: 2px solid #fff;
    padding: 2px;
    margin-top: 5px;
    width: 100%;
    color: #000;
    text-align: center;
}
.formular-right input[type="submit"] {
    margin-top: 5px;
    color: #000;
    font-weight: bold;
}

.facebook {
        display: inline-block;
        height: 75px;
        overflow: hidden;
}
.pageView {
        display: inline-block;
        vertical-align: top;
}
.odkaz {
    color: #2d0d05;
    font-weight: bold;
    text-decoration: none;
}    

.like-box {
    margin-bottom: 15px;
}
.like-count {
    font-weight: bold;
    margin-bottom: 5px;
}
.like-button {
    background: url('../images/like-small.png') no-repeat left top;
    background-size: auto 15px;
    padding-left: 20px;
}
.write-button {
    background: url('../images/envelope.png') no-repeat left 2px;
    background-size: auto 12px;
    padding-left: 25px;
}

@media screen and (min-width: 768px) {
    body {
        padding-top: 45px;
        background: #f0d1a2 url('../images/bg-top.png') top repeat-x;
    }
    body#homepage {
        background-color: #f0d1a2;
        background-image: url('../images/bgtop.png'), url('../images/lekarna.jpg');
        background-position: center top, center -45px;
        background-repeat: repeat-x, no-repeat;
    }
    
    .col-1 { width: 12.5%; }
    .col-2 { width: 25%; }
    .col-3 { width: 37.5%; }
    .col-4 { width: 50%; }
    .col-5 { width: 62.5%; }
    .col-6 { width: 75%; }
    .col-7 { width: 87.5%; }
    .col-8 { width: 100%; }
    [class*="col-"] {
        float: left;
        padding: 2px;
    }
        
    #wrapper {
        max-width: 960px;
        margin: 0 auto;
    }
    header {
        display: block;
        padding: 25px 0;
        border-bottom: 3px solid #fff;
    }
    #homepage header {
        padding-top: 15px;
        border: none;
    }
    #menu {
        padding-top: 10px;
        border-top: 3px solid #7e3526;
        border-bottom: 3px solid #fff;
    }
    #homepage #menu {
        border: none;
        margin-top: 530px;
    }
    #menu > ul {
        display: flex;
        border-bottom: 3px solid #7e3526;
    }
    #homepage #menu > ul {
        border-bottom: none;
        margin: 0 40px 0 40px;
    }
    #menu > ul > li {
        -webkit-flex: auto;
        -ms-flex: auto;
        -mox-flex: auto;
        flex: auto;
        margin-bottom: 2px;
        background-color: transparent;
    }
    #menu > ul > li:hover {
        background-color: transparent;
    }
    #menu > ul > li:not(.vybrano) { 
        display: block; 
    }
    #menu > ul > li > a {
        padding: 0;
    }
    #menu > ul > li > a > span {
        display: none;
    }
    #menu > ul > li > a > img {
        display: inline-block;
        width: auto;
        height: auto;
        transition: 0.3s ease;
    }
    #menu > ul > li > a > img:hover {
        backface-visibility: hidden;
        transform: scale(.9, .9);
    }
    #menu ul li.icon,
    .no-flexbox #menu ul li.icon {
        display: none;
    }
    
    /* Druha uroven menu */
    
    #menu > ul > li:hover ul {
        position: absolute;
        display: block;
        z-index: 10;
        width: 160px;

        -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
        -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
        box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    }
    #menu > ul > li ul:before {
        content: "";
        width:0; 
        height: 0; 
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        display: block;

        border-bottom: 15px solid #7e3526;/*#7e3526;*/
        z-index: 20;
        position: absolute;
        top:-15px;
        left: 60px;
    }
    #menu > ul ul li {
        padding: 0;
        background-color: #7e3526;
    }
    #menu > ul ul li:hover {
        background-color: #b57d72;
    }
    #menu > ul ul li a {
        line-height: 1.5em;
        font-weight: normal;
    }

    #content {
        float: left;
        padding-right: 2%;
        width: calc(96% - 150px);
    }
    body#homepage #content {
        float: none;
        padding: 0 4%;
        width: 100%;
    }
    
    #bannery {
        box-sizing: content-box;
        float: right;
        padding: 20px 4% 20px 0;
        width: 150px;
    }
    #bannery a {
        margin: 0 0 10px 0;
    }
    #bannery a:last-child {
        margin: 0;
    }
    .bannery {
        margin-bottom: 10px;
    }

    h1 {
        display: block;
        position: absolute;
        top: 0;
        color: #fff;
        font-size: 1em;
        line-height: 27px;
        font-weight: normal;
        margin: 0;
        padding: 0;
    }
    
    .no-flexbox #menu {
        display:table;
        table-layout: fixed;
        width:100%;
    }
    
    .no-flexbox #menu > ul {
        display:table-row;
    }
    
    .no-flexbox #menu > ul > li {
        display:table-cell;
        text-align: center;
        border-bottom: 3px solid #7e3526;
        margin:0;
    }
    .no-flexbox #menu > ul > li > a {
        display: block;
    }
    /* Druha uroven menu */
    
    .no-flexbox #menu > ul > li:hover ul {
        position: absolute;
        display: block;
        z-index: 10;
        width: 160px;

        -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
        -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
        box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    }
    .no-flexbox #menu > ul > li ul:before {
        content: "";
        width:0; 
        height: 0; 
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        display: block;

        border-bottom: 15px solid #7e3526;/*#7e3526;*/
        z-index: 20;
        position: absolute;
        top:-15px;
        left: 60px;
    }
    .no-flexbox #menu > ul ul li {
        padding: 0;
        background-color: #7e3526;
    }
    .no-flexbox #menu > ul ul li:hover {
        background-color: #b57d72;
    }
    .no-flexbox #menu > ul ul li a {
        line-height: 1.5em;
        font-weight: normal;
    }
    .rm-hidden {
        display: initial;
    }
    .rd-hidden {
        display: none;
    }
    
    /* ---------------------------------------------------------------------- */
    
    .pageView {
        padding: 10px 0;
        font-weight: bold;
        font-size: 18px;
        display: block;
    }
    .pageView .zobrazenychStranek {
        font-size: 14px;
    }
    .facebook {
        text-align: left;
        padding: 0 0 0px 19px;
        display: block;
    }
    
    .sloupec-A {
        float: left;
        width: 45%;
        text-align: left;
        margin: 10px 10px 15px 20px;
    }
    .sloupec-B {
        float: right;
        width: 45%;
        text-align: left;
        margin: 10px 0px 15px 10px;
    }
}    



.tabulka-rejstrik,
.tabulka-historie,
.tabulka-literatura,
.tabulka-symboly,
.tabulka-diety {
    width: 100%;
	padding: 10px 0 30px 20px;
    border-spacing: 15px;
    border-collapse: separate;
}
.sloupec-pojmy {
	width: 30%;
	text-align: left;
	vertical-align: top;
	font-weight: bold;
}
.sloupec1 {
	width: 30%;
	text-align: right;
	vertical-align: top;
	font-weight: bold;
}
.sloupec2 {
	width: 70%;
	text-align: justify;
} 
.tab-lit-L {
	width: 10%;
	text-align: center;
	vertical-align: top;
	font-weight: bold;
}
.tab-lit-R {
	width: 90%;
	text-align: justify;
}
.symboly {
	width: 120px;
	border: 1px solid #000;
}
.tab-formular {
    width: 100%;
	border: 1px solid black;
    border-spacing: 10px;
    border-collapse: separate;
	margin: 10px 0;
}
.tab-formular-L {
	width: 105px;
	text-align: left;
}
.tab-formular-C {
	width: 455px;
	text-align: center;
	background-color: white;
	border: 2px inset #d8d8d8;
}
.tab-formular-R {
	width: 5px;
}
.tab-formular-popis {
	color: #7E3526; font-style: italic
}
.tab-formular input,
.tab-formular select,
.tab-formular textarea {
    width: 100%;
    padding: 4px;
    border: 2px solid #fff;
    color: #000;
}
.tab-formular textarea {
    border: 1px solid #000;
}
.tab-formular input[type="checkbox"],
.tab-formular input[type="radio"] {
    width: auto;
    margin: 10px 5px 0 0;
    transform: scale(1.2);
}
.tab-formular input[type="submit"] {
    font-weight: bold;
}
.oranzova { background-color: #f5b95f; }
.hneda { background-color: #d3a96a; }
.bila { background-color: #fff; }

.left-img {
	float: left;
	margin-left: 0px;
	margin-right: 20px;
	margin-top: 20px;
	margin-bottom: 15px;
	border: 1px solid #361907;
}
.right-img {
	float: right;
	margin-left: 20px;
	margin-right: 0px;
	margin-top: 20px;
	margin-bottom: 15px;
	border: 1px solid #361907;
}
/* ----------------------------- */

.tabulka1, .tabulka2, .tabulka3 {
	border: 1px solid #361907;
	background-color: #e9af7a;
    border-spacing: 3px;
    border-collapse: separate;
}
.tabulka1 {
	width: 100%;
}
.tabulka2 {
	float: left;
	width: 50%;
    margin-bottom: 10px;
}
.tabulka3 {
	float: right;
	width: 50%;
    margin-bottom: 10px;
}
.tab-aminokyseliny-1 {
	float: left;
	width: 240px;
	height: 65px;
	background-color: #e9af7a;
	border: 1px solid #361907;
	border-collapse: collapse;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	margin-left: 115px;
	margin-right: 5px;
	margin-top: 40px;
	margin-bottom: 5px;
}
.tab-aminokyseliny-2 {
	float: left;
	width: 240px;
	height: 65px;
	background-color: #e9af7a;
	border: 1px solid #361907;
	border-collapse: collapse;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	margin-left: 0px;
	margin-right: 10px;
	margin-top: 40px;
	margin-bottom: 5px;
}
.tab-aminokyseliny-3 {
	float: left;
	width: 60px;
	height: 265px;
	background-color: #e9af7a;
	border: 1px solid #361907;
	border-collapse: collapse;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	margin-left: 50px;
	margin-right: 5px;
	margin-top: 0px;
	margin-bottom: 5px;
}
.tab-aminokyseliny-4 {
	float: left;
	width: 240px;
	height: 265px;
	background-color: #e9af7a;
	border: 1px solid #361907;
	border-collapse: collapse;
	text-align: center;
	font-size: 14px;
	margin-left: 0px;
	margin-right: 5px;
	margin-top: 0px;
	margin-bottom: 5px;
}
.tab-aminokyseliny-5 {
	float: left;
	width: 240px;
	height: 265px;
	background-color: #e9af7a;
	border: 1px solid #361907;
	border-collapse: collapse;
	text-align: center;
	font-size: 14px;
	margin-left: 0px;
	margin-right: 10px;
	margin-top: 0px;
	margin-bottom: 5px;
}
.tab-aminokyseliny-6 {
	clear: left;
	float: left;
	width: 60px;
	height: 210px;
	background-color: #e9af7a;
	border: 1px solid #361907;
	border-collapse: collapse;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	margin-left: 50px;
	margin-right: 5px;
	margin-top: 0px;
	margin-bottom: 25px;
}
.tab-aminokyseliny-7 {
	float: left;
	width: 240px;
	height: 210px;
	background-color: #e9af7a;
	border: 1px solid #361907;
	border-collapse: collapse;
	text-align: center;
	font-size: 14px;
	margin-left: 0px;
	margin-right: 5px;
	margin-top: 0px;
	margin-bottom: 25px;
}
.tab-aminokyseliny-8 {
	float: left;
	width: 240px;
	height: 210px;
	background-color: #e9af7a;
	border: 1px solid #361907;
	border-collapse: collapse;
	text-align: center;
	font-size: 14px;
	margin-left: 0px;
	margin-right: 10px;
	margin-top: 0px;
	margin-bottom: 25px;
}
.tab-sladidla-1 {
	float: left;
	width: 580px;
	background-color: #e9af7a;
	border: 1px solid #361907;
	border-collapse: collapse;
	text-align: left;
	font-size: 14px;
	font-weight: bold;
	margin-left: 40px;
	margin-right: 5px;
	margin-top: 40px;
	margin-bottom: 5px;
}
.tab-sladidla-2 {
	float: left;
	width: 580px;
	background-color: #e9af7a;
	border: 1px solid #361907;
	border-collapse: collapse;
	text-align: left;
	font-size: 14px;
	margin-left: 40px;
	margin-right: 5px;
	margin-top: 0px;
	margin-bottom: 40px;
}
.tab-stevie-1 {
	float: left;
	width: 560px;
	background-color: #e9af7a;
	border: 1px solid #361907;
	border-collapse: collapse;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	margin-left: 45px;
	margin-right: 5px;
	margin-top: 40px;
	margin-bottom: 5px;
}
.tab-stevie-2 {
	float: left;
	width: 560px;
	background-color: #e9af7a;
	border: 1px solid #361907;
	border-collapse: collapse;
	text-align: center;
	font-size: 14px;
	margin-left: 45px;
	margin-right: 5px;
	margin-top: 0px;
	margin-bottom: 40px;
}