/* ========================================================================= */
/* upravit bootstrap komponenty, aby lepsie vypadalo s inymi pozadiami knihy */
.panel {
    background-color: inherit;
}



/* ========================================================================= */
.strong {
    font-weight: bold;
}

p {
    text-align: justify;
}

h1 {
    margin-bottom: 20px;
}
button:focus,
button:active {
    outline: none !important;
}


/* ========================================================================= */
/* MENDELU styl */
/* mendelu zelena: rgb(120,190,20) */
/* mendelu PEF modra: rgb(0,70,160) */

/* trochu prebarvit bootstrap podla MENDELU */
a {
    color: rgb(0,70,160);
}
.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus {
    background-color: rgb(0,70,160);
}
.panel-success>.panel-heading {
    background-color: rgba(120,190,20,0.3);
    border-bottom: 0;
}
.panel-success {
    border-color: rgb(120,190,20);
}
.bf-3:not(.navbar) .panel-heading {
    color: white;
}

/* ne-boostrap mendelu veci */
.mendelu-varianta1.strana {
    position: relative;
    padding-right: 78px;
}
.mendelu-varianta1.strana-side-text {
    padding-right: 110px;
}
@media screen and (max-width: 767px) {
    .mendelu-varianta1.strana {
        padding-right: 53px;
    }
}
@media screen and (min-width: 992px) {
    .mendelu-varianta1.strana-side-text {
        padding-right: 120px;
    }
}

.mendelu-varianta1 .side-text {
    text-align: right;
    position: absolute;
    right: 0;
    max-width: 100px;
    font-style: italic;
}
.mendelu-varianta1 .side-symbol {
    position: absolute;
    right: 0;
}
.mendelu-varianta1 .side-symbol img {
    width: 50px;
    height: 50px;
}
@media screen and (max-width: 767px) {
    .mendelu-varianta1 .side-symbol img {
        width: 40px;
        height: 40px;
    }
    .mendelu-varianta1 .side-text {
        /*max-width: 200px;*/
        transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        text-align: left;
    }
    .mendelu-varianta1 .side-text span {
        position: absolute;
        /*max-height: 300px;*/
        /*max-width: 300px;*/
        /*display: inline-block;*/
        padding-left: 0.4em;
        line-height: 1.3em;
    }
}

.mendelu-varianta1 .tooltip {
    font-family: inherit;
    font-size: 100%;
    /*opacity: 1;*/
}
.mendelu-varianta1 .tooltip.in {
    opacity: 1;
}
.mendelu-varianta1 .tooltip-inner {
    background-color: white;
    border: 2px solid black;
    color: black;
    font-style: italic;
}


textarea {
    border-radius: 4px;
    border-color: darkgrey;
    resize: none;
    width: 100%;
    background-color: rgba(255,255,255,0.2);
    padding: 15px;
}
textarea:focus {
    outline: none;
    border-color: rgb(0,70,160);
}
textarea::-moz-placeholder
{
    font-style: italic;
    color: darkgray;
}
textarea::placeholder
{
    font-style: italic;
    color: darkgray;
}
textarea:-ms-input-placeholder
{
    font-style: italic;
    color: darkgray;
}
textarea::-webkit-input-placeholder
{
    font-style: italic;
    color: darkgray;
}



.lt-zobrazit-odpoved button .glyphicon-eye-close {
    display: none;
}
.lt-zobrazit-odpoved button .glyphicon-eye-open {
    display: inline-block;
}
.lt-zobrazit-odpoved button[aria-expanded=true] .glyphicon-eye-open {
    display: none;
}
.lt-zobrazit-odpoved button[aria-expanded=true] .glyphicon-eye-close {
    display: inline-block;
}
.lt-zobrazit-odpoved .lt-when-shown,
.lt-zobrazit-odpoved[aria-expanded=true] .lt-when-hidden,
.lt-zobrazit-odpoved[aria-expanded=false] .lt-when-shown {
    display: none;
}
.lt-zobrazit-odpoved[aria-expanded=true] .lt-when-shown,
.lt-zobrazit-odpoved[aria-expanded=false] .lt-when-hidden {
    display: inline;
}
#content .btn .glyphicon {
    padding-right: 0.3em;
}

/* skopirovane z knihy Francouzska gramatika */
.test-form legend {
    color: inherit;
    font-size: inherit;
    padding-bottom: 4px;
}
form.test-form {
    padding-left: 1.2em;
}
form.test-form div {
    padding-left: 1.2em;
}
fieldset {
    margin-bottom: 1em;
}
fieldset [type=radio] {
    margin-right: 0.2em;
}

fieldset label {
    border-radius: 3px;
    padding: 3px 5px;
    line-height: 1.9em;
}
fieldset label.correct {
    background-color: #dff0d8;
    color: #3c763d;
}
fieldset label.incorrect {
    background-color: #f2dede;
    color: #a94442;
}
.cviceni .btn-primary {
    margin-top: 5px
}
