/* Minification failed. Returning unminified contents.
(267,25): run-time error CSS1046: Expect comma, found '255'
(267,31): run-time error CSS1046: Expect comma, found '/'
 */
 /*Set padding to keep content from hitting the edges*/

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
/*.dl-horizontal dt {
    white-space: normal;
}*/

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/



.error{
    color:red;
}


#logo {
/*    background-image: url(/Images/logo.png);
    background-repeat: no-repeat;*/
    width: 182px;
    height: 50px;
}
#printBtn {
    background-image: url(/Images/print.gif);
    width: 16px;
    height: 16px;
    align-self: center;
    cursor: pointer;
    margin-right: 1rem;
}

html, body {
    height: 100%;
}

html {
    padding: 0;
    margin: 0;
}
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    font-family: Verdana, Helvetica, sans-serif;
}

body>.container{
    display: flex;
    flex-direction: column;
    overflow: auto;
    flex: 1;
}

.body-content {
    /*    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;*/
    /*max-width: 800px;*/
    width: 100%;
}

header {
    display: flex;
    width: 100%;
    flex-direction: column;
}

header .row {
    display: flex;
}

footer {
    FONT-SIZE: 70%;
    padding: 0 1rem;
}

main {
    display: flex;
    flex: 1;
    height: 0;
}
.heraldView {
    display: flex;
    padding: 0rem 1rem 0rem 1rem;
    flex: 1;
    overflow: auto;
}

.heraldView .heraldCode{
    flex: 1;
}

footer, .rightPanel {
    font-family: Verdana, Helvetica, sans-serif;
}

.rightPanel {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #000;
    /*font-family: Verdana, Helvetica, sans-serif;*/
    /*font-size: 70.4%;*/
    FONT-SIZE: 80%;
    WIDTH: 200px;
    overflow: auto;
}

.rightPanel .sticky{
    /*flex: 1;*/
    position: sticky;
    top: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.rightPanel a,.rightPanel label {
    padding: .3rem .5rem;
    text-decoration: none;
    color: #000;
    font-size: 88%;
}

.rightPanel a:hover,.rightPanel label:hover {
    background: #f4f3f2;
}

.rightPanel .stack{
    border-bottom: 1px solid #000;
    max-height: 100vh;
    overflow: auto;
    display: flex;
    flex-direction: column;
    min-height: 40px;
}


.rightPanel .stack .title{
    FONT-SIZE: 90%;
    font-weight: 900;
    padding: 0.5rem 0.3rem;
    BACKGROUND-COLOR: #f1efe2;
    COLOR: gray;
    position: sticky;
    top: 0;
    z-index:99;
}


.rightPanel .stack .items{
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.rightPanel .stack .items a.active{
    background:#f1efe2;
}

/*#osnovaPanel a, #temataPanel a {
    padding-left: 1.5rem;
}*/

/*#osnovaPanel a:before,#temataPanel a:before {
    content: "";
    width: 16px;
    height: 16px;
    position: absolute;
    margin-left: -1.2rem;
    z-index:0;
}

#osnovaPanel a:before{
    background-image: url(/Images/odstavec.ico);
}
#temataPanel a:before{
    background-image: url(/Images/slozka.ico);
}*/

#osnovaPanel a .icon, #temataPanel a .icon {
    content: "";
    width: 16px;
    height: 16px;
    position: relative;
    display: inline-block;
    padding-left: 0.2rem;
    z-index: 0;
    vertical-align: middle;
    background-repeat: no-repeat;
}

#osnovaPanel a .icon{
    background-image: url(/Images/odstavec.ico);
}
#temataPanel a .icon{
    background-image: url(/Images/slozka.ico);
}

.flex-1 {
    flex: 1;
}


hr{
    margin:0;
}


#infoBlock {
    width: 100%;
    margin: 0px;
    margin-top: 2px;
    height: 20px;
    margin-bottom: 0px;
    padding-top: 4px;
    padding-bottom: 4px;
    background-color: #445599;
    background-color: gray;
    color: white;
    vertical-align: middle;
    /*border-bottom: 1px #cccccc solid;*/
    border-bottom: 1px #555555 solid;
    border-top: 1px #555555 solid;
    FONT-SIZE: 80%;
}

#infoBlock .pad{
    PADDING: 0 10px;
}


#showAdminNotesBlk {
    display: flex;
    align-items: center;
    color: red;
}


.heraldCode adx {
    display: none !important;
}

.heraldCode.activeadmin adx{
    display: block !important;
}



.heraldCode h2 {
    position: relative;
    transition: 500ms;
}

.heraldCode .highlight {
    position: relative;
}

.heraldCode h2.highlight:after, .highlight:after {
    background: rgb(255 255 0 / 50%);
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    left: 0;
    top: 0;
    animation: fadeEffect 1s infinite alternate;
}

/*.fade {
    animation: fadeEffect 2s infinite alternate;
}*/

@keyframes fadeEffect {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


@media print {
    .rightPanel, #printBtn, #showAdminNotesBlk {
        display: none;
    }
}

@media (max-width: 700px), (max-height: 400px) {
    .rightPanel {
        display:none;
    }
    body > .container {
        overflow: unset !important;
    }
}




