body {
	font-family: sans-serif;
}
a, a:link, a:visited {
  	font-size: 0.95rem;
}
a:hover {
    text-decoration: none;
    color: #3156a3;    
    background-color: #fff;    
}
h1 {
	color: #3156a3;
    padding: 5px;
    font-weight: bold;    
	font-size: 1.4rem;
	border-bottom: #3156a3 dotted 1px; 
}
h2 {
	color: #3156a3;
    font-weight: bold;    
	font-size: 1.2rem;
}
h3 {
    padding: 5px 2px;
	color: #3156a3;
    font-size: 1.0rem;
    font-weight: bold;
    background-color: #e9f0ff;
    transition: background-color 0.5s ease;                          
}
h4 {
    padding: 3px 2px;
	color: #3156a3;
    font-size: 0.85rem;
    font-weight: bold;
}

/* Vlastní definice Display 5 pro BS4 */
.display-5 {
    font-size: 2.4rem;
    font-weight: 375; 
    line-height: 1.2;
}
/* Volitelně: zmenšení na mobilních zařízeních (responzivita) */
@media (max-width: 576px) {
    .display-5 {
        font-size: 2rem;
    }
}
.bg-custom {
    background-color: #3156a3 !important;
    color: #ffffff;
}
.bg-custom-light {
    background-color: #e6e6fa !important;
}

.border-custom {
    border-color: #3156a3 !important;
}
.text-custom {
    color: #3156a3 !important;
}
.btn-custom {
    background-color: #3156a3;
    border-color: #3156a3;
    color: #ffffff;
}
.btn-custom:hover {
    background-color: #3156a3;
    border-color: #3156a3;
    color: #ffffff;
}
.btn-outline-custom {
    background-color: #ffffff; 
    border-color: #3156a3;     
    color: #3156a3;            
}
.btn-outline-custom:hover {
    background-color: #3156a3; 
    border-color: #3156a3;     
    color: #ffffff;            
}
.middle-header {
    color: #009be0;
    display: inline-block;
    margin-top: 12px;
    font-size: 1.2rem;
    font-weight: bold;    
    text-transform: uppercase;
}

/**************/
/* Modal okno */
.modal-content {
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.modal-header {
  border-bottom: 1px solid #dee2e6;
  padding: 1rem 1.5rem;
}
.modal-body {
  max-height: 80vh;
  overflow-y: auto;
  padding: 1.25rem;  
  font-size: 0.95rem;
}

/**********************/
/* navbar base styling */
.navbar {
    min-height: 40px;
    background-color: #3156a3;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background-image: none !important;
}
.navbar .nav-link,
.navbar .navbar-brand {
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
    color: #fff !important;
    font-size: 1.3rem;
}
/* hover efekt pro položky */
.navbar .nav-item:hover,
.navbar .nav-link:hover,
.navbar .navbar-brand:hover {
    color: #fff !important;
    background-color: #009be0;
}
.navbar .nav-link.active {
    font-weight: bold;
    border-bottom: 2px solid #b11116;
}

/**********************/
/* nav-tabs elements */
.nav-tabs {
    margin-top: 6px;
    border-bottom: 2px solid #1b2d60;
}
.nav-tabs .nav-item {
    margin-left: 0; /* pro první */
}
.nav-tabs .nav-item + .nav-item {
    margin-left: 2px;
}
.nav-tabs .nav-item .nav-link {
    border-radius: 3;
    font-size: 1.1rem;
    font-weight: normal;
    background-color: #3156a3;
    color: #fff;
    text-transform: none;
    border: none; 
}
.nav-tabs .nav-item .nav-link:hover {
    background-color: #009be0;
    color: #fff;
}
.nav-tabs .nav-item .nav-link.active {
    background-color: #009be0;
    color: #fff;
    border: none;
}

/**********************/
/* nav-pills elements */
.nav-pills .nav-link.compact {
    padding: .35rem .6rem;
    font-size: 1.0rem;
    color: #333;
    background-color: #f8f9fa; /* jemné pozadí pro neaktivní */
    border-radius: 0.3rem;
    margin-bottom: 3px;
}
.nav-pills .nav-link.compact.active {
    background-color: #007bff; /* primární barva pro aktivní */
    color: #fff;
}
.nav-pills .nav-link.compact:hover:not(.active) {
    background-color: #e2e6ea; /* mírné zesílení při hoveru */
}
/* Obsah tabů */
.tab-content {
}

/* Kompaktní bloky v tab obsahu */
.kv-item { 
    margin-bottom: .5rem; 
}
.kv-label {
    padding: 0px;
    margin: 8px 0px;
    font-size: 0.95rem;
    font-weight: bold;    
    text-transform: uppercase;
    color: #007bff;        
    border-bottom: #e0f0ff solid 6px;
    display: inline-block;
}
.kv-value {
    margin-left: 15px;
    font-size: .9rem;
    line-height: 1.30;
}
.text-bold {
    font-weight: 600; 
}
.span-tab {
    display: block; 
    margin-bottom: .5rem; 
}

/*********************/
/* Chart.js objects */
.chart-js {
	height: 250px;
	border: #cfcfcf solid 1px;
	border-radius: 5px;
} 

/*********************/
/**  TABLE styles   **/
.table thead th {
	font-size: 0.85rem;
    font-weight: bold;    
	color: #1b2d60 !important;     
}
.table thead td {
    padding: 3px;
	font-size: 0.85rem;
} 
.table tbody td {
    padding: 5px;
	font-size: 0.85rem;
}  

/********************/
/* dataTable styles */
.dataTables_info {
    font-size: 0.8rem;
    color: #6c757d; 
}
.dataTables_length select {
    width: auto;         
    display: inline-block;
}
.dataTables_length label {
    font-weight: normal;
    margin-bottom: 0;         
    white-space: nowrap;    /* Zabrání zalomení na menších displejích */
    font-size: 0.75rem;     
    color: #6c757d;
}
.dataTables_wrapper .dataTables_processing {
    display: flex;
    padding: .2rem .3rem;
    background: #f0f0f0;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.15); /* poloprůhledný závoj */
    font-size: 1.4rem;
    border: #c0c0c0 solid 1px;    
}
.dataTables_wrapper .dataTables_paginate .page-link {
    font-size: .6rem;
    padding: .2rem .3rem;
    min-width: 2rem;        /* stejné šířky pro čísla */
    text-align: center;
}
.dataTables_wrapper .dataTables_paginate .page-item {
    margin: 0 .1rem; 
}
/*****************/
/* form control */
.form-row {
	padding: 5px;
    background: #f0f0f0;
}
.form-label {
    margin: 0px 0px 0px 5px;
    font-size: 1.0rem;
    color: #152a5f;  
    border-bottom: #005a7a dotted 1px;    
}
.form-control {
    height: 35px;
    margin: 5px;
	font-size: 0.9rem;
	color: #183f5d;
    border-bottom: #005a7a dotted 1px;
}

/*************/
/** FOOTER  **/
footer {
    background: #152a5f;
}
footer h5 {
    font-weight: bold;
    font-size: 1rem;
}
footer .fa-phone {
    color: #17a2b8; 
} 
