﻿a.navbar-brand {
    text-align: center;
    white-space: normal;
    word-break: break-all;
}


.btn-primary {
    background-color: #1b6ec2;
    border-color: #1861ac;
    color: #fff;
}


/* Sticky footer styles
-------------------------------------------------- */

html { font-size: 14px; }

@media (min-width: 768px) {
    html { font-size: 16px; }
}

.component-upload-file { margin-right: 1em; }


.border-top { border-top: 1px solid #e5e5e5; }

.border-bottom { border-bottom: 1px solid #e5e5e5; }

.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */

html {
    min-height: 100%;
    position: relative;
}


body {
    background: white;
    color: #213045;
    counter-reset: my-sec-counter;
    font-family: 'Titillium Web', sans-serif;
    font-size: 1rem;
    margin-bottom: 60px;
    /*padding: 1em;*/
}

.navbar-toggler {
    background-color: #ffce2b;
    border-color: #213045;
}

.navbar-toggler .navbar-toggler-icon { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(33,48,69)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E"); }

.nav-item {
    *display: inline;
    zoom: 1;
}

.nav-item a {
        color: white;
        display: block;
        float: left;
        font-size: 1.1rem;
        padding: 15px 6px;
        text-align: center;
        text-decoration: none;
        transition: color 0.3s ease;
}

@media screen and (max-width: 1448px) {
    .nav-item a { padding: 15px 5px; }
}

@media screen and (max-width: 1212px) {
    .nav-item a { padding: 15px 3px; }
}

@media screen and (max-width: 1090px) {
    #HamburgerMenuButton {
        left: 12px;
        top: 12px;
        z-index: 20;
    }

    .nav-item a { padding: 8px 3px; }
}

.nav-item a:hover {
    color: #009aed;
    text-decoration: none;
}

.nav-link .active {
    color: #009aed;
    text-decoration: none;
   /* background-color: #213045;
    border-radius: 5px;*/
}

.nav-item a:hover {
    transform: scale(1.1);
}

.main-menu-bg {
    background-color: #213045;
}

.login .active {
    color: #009aed;
    text-decoration: none;
}

form { background-color: white; }

.form-control { width: 90%; }

footer {
    background: #ccc;
    color: white;
    position: absolute;
    white-space: nowrap;
    width: 100%;
}

.social ul {
    display: block;
    list-style: none outside none;
}

.social ul li:first-child { margin-left: 0; }

.social ul li {
    display: inline-block;
    margin: 0 10px;
    margin-left: 10px;
}


/* Add a color to the active/current link */


form {
    margin: auto;
    margin-bottom: 2em;
    margin-top: 2em;
    padding: 2em 0 2em 2em;
}

form, table,
fieldset {
    border: solid 1px #ccc;
    border-radius: 2px;
    box-shadow: 0.2em 0.2em 0.2em #ccc;
}

table th {
    border-bottom: 2px solid #ccc;
    font-size: 1em;
    text-align: center;
    vertical-align: top;
    white-space: nowrap;
}

th, td,
h1 { text-align: center; }

h1 {
    font-size: 30px;
    padding-bottom: 10px;
    padding-top: 10px;
}

h2 {
    color: #213045;
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}


th, td { padding: 0.5em; }

td,
form { border-radius: 3px; }

select, textarea {
    height: 2em;
    margin-bottom: 2em;
    margin-top: 1em;
    width: max(90%, 8em);
}


fieldset {
    all: unset;
    border: solid 1px #ccc;
    border-radius: 2px;
    margin-bottom: 1em;
    margin-top: 1em;
    padding: 1em;
}

label { display: table-row; }


a img {
    border-bottom: solid 2px #e4f4f6;
    min-width: 5em;
}

.brand {
    display: inline-block;
    height: 15em;
    margin: 10px;
    margin-bottom: 1em;
    max-width: 10em;
    padding: 1em;
}

.login {
    background: #fff;
    color: #009aed;
    float: left;
    font-size: 1em;
    padding-bottom: 50px;
}

.login a {
    color: gray;
    float: left;
    font-size: 1em;
    /*padding: 1em;*/
    text-decoration: none;
}

.login a:hover { color: #009aed; }

.technodat {
    float: right;
    height: 20px;
    margin-top: -15px;
}

.technodat:hover { border-bottom: transparent; }

.panel {
    background-color: #ccc;
    height: 20em;
    margin: 0 auto;
    margin-top: 1.5em;
    opacity: 20%;
}


#show, #content, #show1, #content1,
#show2, #content2,
#show3, #content3,
#show4, #content4 {
    content: counter(spanCount);
    display: none;
    margin-left: 1em;
    margin-top: 1em;
}

#show:checked ~ #content, #show1:checked ~ #content1,
#show2:checked ~ #content2,
#show3:checked ~ #content3,
#show4:checked ~ #content4 { display: block; }

#content::before, #content1::before,
#content2::before, #content3::before,
#content4::before {
    content: counter(my-sec-counter) ". ";
    /* Increment "my-sec-counter" by 1 */
    counter-increment: my-sec-counter;
}

.tutorial { margin-left: 4em; }

textarea {
    border: solid 1px #ccc;
    border-radius: 2px;
    margin-top: 1em;
}

.dropbtn {
    color: white;
    display: block;
    margin: 0.9em;
}

/* The container <div> - needed to position the dropdown content */

.dropdown {
    display: inline-block;
    position: relative;
}

/* Change color of dropdown links on hover */

.dropdown-content a:hover { background-color: #ccc; }

/* Show the dropdown menu on hover */

.dropdown:hover .dropdown-content { display: block; }


/* Uprava tabulky, aby kazdy druhy radek byl podbarven sede*/

tr:nth-child(even) { background-color: #FAFAFA; }

/*th {
    background-color: #00c3ff;
    color: white;
}*/

/* Uprava hlavniho menu pro mobili s mensim rozliseni */

.navbar-nav {
    line-height: 1;
    max-height: 240px;
}

.navbar { max-height: 400px; }

.navbar-collapse { max-height: 400px; }

div.pager {
    margin: 1em 0;
    text-align: center;
}

div.pager span {
    background: #216aaf;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    height: 1.8em;
    line-height: 1.8;
    margin-right: 0.5em;
    text-align: center;
    width: 1.8em;
}

div.pager span.active {
    background: #e6f1fb;
    color: #216aaf;
}


.progressBar {
    height: 50px;
    width: 90%;
}

.validation-message, .require_field { color: red; }


.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }

.invalid { outline: 1px solid red; }



#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.form-group-filter { display: flex; }

.form-control-listbox {
    all: unset;
    border: solid 2px #ccc;
    border-radius: 1px;
    margin-bottom: 1em;
}


#download { color: black; }


#text_header {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
}

#content_text {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 2em;
    /*cursor: pointer;*/
}

#personal_data, #accordion_header { color: #009AED !important; }

#accordion_header {
    font-size: 1.2rem;
    font-weight: 500;
}

#login_icon { color: #E4BB2D; }

.btn-outline-success {
    background-color: #ffce2b;
    border: none;
    box-shadow: 0 3px 6px rgba(255, 206, 43, 0.24);
    color: #213045;
}

.page-item.active .page-link {
    background-color: #009AED;
    border-color: #007bff;
    color: #fff;
    z-index: 1;
}

.section_head {
    background-color: #eceff1;
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 60px;
    padding: 60px 0;
    text-align: center;
    width: 100%;
}

.circle h3 {
    color: white;
    font-size: 0.7em;
    left: 50%;
    margin: 0;
    min-width: 3em;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
}

.recover_pass_mesage { color: red; }

.social a:hover {
    opacity: 1;
    text-decoration: none;
    transition: .2s all ease-in-out;
}

.fa-phone-flip, .fa-envelope { color: #009aed; }

#mainNav { background-color: #213045; }

.error_message { color: red; }

.page-item:last-child .page-link {
    border-bottom-right-radius: .25rem;
    border-top-right-radius: .25rem;
}

.page-link {
    background-color: #fff;
    border: 1px solid #dee2e6;
    color: #007bff;
    display: block;
    line-height: 1.25;
    margin-left: -1px;
    padding: .5rem .75rem;
    position: relative;
}


/**************************/
/* CATALOG ITEM DETAIL */
/**************************/

.symbols {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(3, 1fr);
    padding: 1.6rem;
}

.symbols-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.symbols-item img {
    display: block;
    transition: all 0.4s;
    width: 100%;
}

.selected-row {
    background-color: yellow !important;
}






.atributy-list {
    background-color: #fafafa;
    display: grid;
    grid-column-gap: 2rem;
    grid-template-columns: 1fr 1fr;
    list-style-type: none;
    padding-top: 1rem;
}

.symbol-image {
    cursor: zoom-in;
    height: 96px;
}

.symbol-image:hover {
    transform: scale(1.1);
    overflow: hidden;
}

.symbol-image-big {
     /*transform: scale(4);*/
    width: 100%;
}

.symbol-nazev { font-weight: 600; }

.symbol-popis { flex: 1 1 0; }

.symbol-verze { color: #868e96; }

.symbol-modal-body {
     /*height: 50vh;*/
}

.table-link:link,
.table-link:visited {
    text-decoration: none;
    color: #1b6ec2;
    transition: all 0.3s;
}

.table-link:hover,
.table-link:active {
    color: #009aed;
    border-bottom: 1px solid;
}


.admin-menu-btn {
    height: 4rem;
    width: 10rem;
}

.btn-outline-success:focus {
    box-shadow: none;
}

.main-content {
    min-height: 64vh;
}

.no-left-right-padding {
    padding-left: 0;
    padding-right: 0;
}

.no-left-right-margin {
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 1200px) {
    .navbar-nav {
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        -o-flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

.rz-grid-table td .rz-cell-data {
    text-align: start;
}

@media (max-width: 960px) {
    .symbols {
        grid-template-columns: repeat(1, 1fr);
    }
}

.energy-logo {
    max-width: 110px;
    height: auto;
}

.section-head-title {
    font-family: 'Titillium Web',sans-serif;
    font-weight: 700;
    text-align: center;
    font-size: 1.9rem;
    color: #213045;
}

.required::after {
    content: " *";
    color: red;
}

.btn-transparent {
    background-color: transparent;
    border: none; /* volitelně, pro odstranění rámečku kolem tlačítka */
}

/*zalamovani textu ve sloupcich v radzen datagir*/
.rz-cell-data {
    white-space: normal !important;
    word-wrap: break-word !important;
}


/*************************
 STATISTICS 
************************/

.chart-header {
    margin-top: 10px;
    margin-bottom: 30px;
    text-align: center;
}