/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    --hw-light:#4F97C9;
    --hw-dark:#054575;
    --a-color: #4154f1;
    --header-color: #012970;
    --hover-color: #717ff5;
    --icon-color: #899bbd;
    --icon-color2: hsl(236, 13%, 58%);
    --inactive-button-color: #dadada;
    --active-button-color: #FFFBF0;
    --map-nemotype-def-color:    #c75fe0;
    --map-nemotype-land-color:   #69e742;
    --map-nemotype-flat-color:   #1565c0;
    --map-nemotype-build-color:  #cf9661;
    --map-nemotype-buildlegal-color:  #d37979;

    --map-parcels-polygon-default-color: #717df1;
    --map-parcels-polygon-selected-color:#2b379c;
    --map-ruians-polygon-default-color: #cf9661;
    --map-ruians-polygon-selected-color:#e47c1a;
}

body {
    font-family: "Open Sans", sans-serif; /* "Open Sans", sans-serif; */
    background: #f6f9ff;
    color: #444444;
}

a {
    color: var(--primary-500);
    text-decoration: none;
}

a:hover {
    color: var(--primary-300);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Nunito", sans-serif;
}

@keyframes slideIn {
    from { bottom: -50px; opacity: 0; }
    to { bottom: 0; opacity: 1; }
}

@keyframes slideOut {
    from { bottom: 0; opacity: 1; }
    to { bottom: -50px; opacity: 0; }
}

.slide-in {
    animation: slideIn 0.3s ease;
}

.slide-out {
    animation: slideOut 0.5s ease;
}
/*--------------------------------------------------------------
# info elements of index.html
--------------------------------------------------------------*/
.index-logo-midd {
    width: 150px; /* Nastavte požadovanou šířku */
    height: auto; /* Zachovává poměr stran */
}

.index-logo-small {
    width: 50px; /* Nastavte požadovanou šířku */
    height: auto; /* Zachovává poměr stran */
}

.hws-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9999;
    /* Pokud chcete, aby pozadí bylo mírně ztmavené nebo průhledné, můžete přidat: */
    /*background-color: rgba(0, 0, 0, 0.2); */
}

.footer-message {
    position: fixed;
    bottom: -150px;
    width: 100%;
    animation-fill-mode: forwards;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 18px;
}

#page-index p {
    margin: 0;
    font-size: var(--basic14-font-size); /* Menší text */
    color: inherit; /* Zachová barvu textu podle rodičovského prvku */
}

#index-footer {
    position: fixed;
    bottom: 10px; /* Můžete upravit podle potřeby */
    width: 100%;
    background-color: transparent; /* Žádné odlišení barvou od ostatní stránky */
    text-align: center;
    /*font-family: var(--basic12light-font-family);  Použití definované font family */
    font-size: var(--basic16-font-size); /* Menší text */
    color: var(--primary-700); /* Použití barvy primary-700 */
}

#index-footer p {
    margin: 0;
    color: inherit; /* Zachová barvu textu podle rodičovského prvku */
}

#index-footer a {
    color: var(--primary-700); /* Použití barvy primary-700 */
    text-decoration: none;
    margin: 0 10px;
    cursor: pointer; /* Změní ikonu kurzoru po najetí myši */
}

#index-footer a:hover {
    color: var(--primary-400);
    text-decoration: none; /* Zachová styl textu při najetí myši */
    cursor: pointer; /* Změní ikonu kurzoru po najetí myši */
}




/*--------------------------------------------------------------
# basic elements of hwse_start.php
--------------------------------------------------------------*/

#basic-container {
    display: flex;
    flex-direction: column; /* pod sebou */
    height: 100vh; /* nebo min-height? */
}

#header-container {
    flex: 0 0 auto;
    height: 55px;
    /*box-shadow: 0 20px 5px -5px rgba(0, 0, 0, 0.3);  */
}

#main-container {
    display: flex; /* flexbox */
    flex: 1 1 auto;
}

#sidebar-container {
    flex: 0 0 300px; /* neměnná šířka */
    /*width: 300px; /* */
    height: 100%;
}

#workspace-container {
    flex: 1 1 auto;
    /*cursor: pointer;*/
    margin-top: 1px;
    position: relative;
    /* doplněná část podle credit */
    display: flex; /* Přidání flexboxu */
    flex-direction: column; /* Nastavení směru flexboxu na sloupec */
    height: 100%; /* Nastavení výšky kontejneru na 100% výšky rodiče */
}

/*--------------------------------------------------------------
# MAP
--------------------------------------------------------------*/
/*
#map-settings-container {
    z-index: 2001;   
    top: 11px;
    height : 45px;
    margin-left: 40px;
    margin-right: 140px;
    background-color: #f6f9ff;
    position: relative;
    border-radius: 5px; 
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.3);
    font-family: "Open Sans", sans-serif; 
    font-size: 13px;
}*/
/*
#draggable-container-menu_parcels {  
    position: absolute; 
    width: 0px; 
    height: 0px; 
    z-index: 3000;
}*/

#draggable-container-menu_rcu-fcu {  
    position: absolute; 
    width: 0px; 
    height: 0px; 
    z-index: 3000;
}

#draggable-container-menu_cuzk-reg {  
    position: absolute; 
    width: 0px; 
    height: 0px; 
    z-index: 3000;
}
/*
#find_nemo {
    position: relative;
    z-index: 2001; 
    width : 360px;
    font-family: "Open Sans", sans-serif; 
    font-size: 13px;
}*/
/*
#combo-rok {
    position: relative; 
    font-family: "Open Sans", sans-serif; 
    font-size: 13px;
}*/
/*
.list-inline-item {
    margin-left: 20px;
    margin-right: 0px;
    font-family: "Open Sans", sans-serif; 
    font-size: 13px;
}*/
/*
.map-container-item-icons {
    font-size: 24px;
    color: var(--icon-color);
}*/


/*
.btn-wrapper {
    display: flex;
    align-items: center;
}
*/
/*
.btn-nemo-type {
    width: 90px;
    height: 20px;
    font-size: 13px;
    background-color: var(--inactive-button-color);
    margin: 0 5px; 
    display: flex; 
    align-items: center;
    justify-content: center;
}*/
/*
.active-button {
    border-width: 3px;
    background-color: var(--active-button-color);
}*/

.ui-autocomplete {
    z-index: 2100;  
    opacity: 0.9;
    background-color: #ffffff; 
}

.ui-autocomplete li { 
    font-size: 13px;
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
  .logo {
    line-height: 1;
  }
  
  @media (min-width: 1200px) {
    .logo {
      width: 280px;
    }
  }

  .header-file-name {
    color: var(--header-color);
    margin-top: 10px;
    font-family: "Nunito", sans-serif; 
  }
  
  .logo img {
    max-height: 38px;
    margin-right: 6px;
    margin-left: 10px;
  }
  
  .logo span {
    font-size: 24px;
    font-weight: 700;
    color: var(--header-color);
    font-family: "Nunito", sans-serif;
    margin-top: 5px;
  }
  
  .header {
    transition: all 0.5s;
    z-index: 2001; /* 997 přepsáno */
    height: 55px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    padding-left: 10px;
  }
  
  .header .toggle-sidebar-btn {
    font-size: 32px;
    padding-left: 10px;
    cursor: pointer;
    color: var(--header-color);
  }

  .head-pic-cuzk-register {
    padding-top: 5px;
    padding-right: 20px;
    opacity: 0.65; 
  }

  .head-pic-cuzk-register:hover {
        cursor: pointer;  /* Změní kurzor na ruku, když uživatel najede myší */
        opacity: 1;     /* Nastaví průhlednost na 50% při najetí myši */
  }
  
  /*--------------------------------------------------------------
  # Header Nav
  --------------------------------------------------------------*/


  .header-nav {
    margin-right: 25px;
  }

  .header-nav ul {
    list-style: none;
  }
  
  .header-nav>ul {
    margin: 0;
    padding: 0;
  }
  
  .header-nav .nav-icon {
    font-size: 22px;
    color: var(--header-color);
    margin-top: 10px;
    margin-right: 25px;
    position: relative;
  }

  .header-nav .nav-icon-credit {
    margin-right: 35px;
  }

  .header-nav .nav-icon-service-states {
    font-size: 20px;
    margin-top: 9px;
  } 
  
  .header-nav .nav-profile {
    color: var(--header-color);
  }
  
  .header-nav .nav-profile img {
    max-height: 36px;
  }
  
  .header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
  }

  .header-nav .badge-state {
    font-size: 16px;
    position: absolute;
    inset: -9px -16px auto auto;
    padding: 3px 6px;
  }
  
  .header-nav .badge-number {
    position: absolute;
    inset: -2px -15px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 6px;
  }

  .header-nav .badge-number-credit {
    inset: -2px -15px auto auto;
  }
  
  .header-nav .notifications {
    inset: 8px -15px auto auto !important;
  }
  
  .header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: 0.3s;
  }
  
  .header-nav .notifications .notification-item i {
    margin: 0 20px 0 10px;
    font-size: 24px;
  }
  
  .header-nav .notifications .notification-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
  }
  
  .header-nav .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
  }
  
  .header-nav .notifications .notification-item:hover {
    background-color: #f6f9ff;
  }
  
  .header-nav .messages {
    inset: 8px -15px auto auto !important;
  }
  
  .header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
  }
  
  .header-nav .messages .message-item a {
    display: flex;
  }
  
  .header-nav .messages .message-item img {
    margin: 0 20px 0 10px;
    max-height: 40px;
  }
  
  .header-nav .messages .message-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444444;
  }
  
  .header-nav .messages .message-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
  }
  
  .header-nav .messages .message-item:hover {
    background-color: #f6f9ff;
  }
  
  .header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
  }
  
  .header-nav .profile .dropdown-header h6 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: #444444;
  }
  
  .header-nav .profile .dropdown-header span {
    font-size: 14px;
  }
  
  .header-nav .profile .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
  }
  
  .header-nav .profile .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
  }
  
  .header-nav .profile .dropdown-item:hover {
    background-color: #f6f9ff;
  }

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 2000; /* 996 přepsáno */
    transition: all 0.3s;
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
  }
  
  @media (max-width: 1199px) {
    .sidebar {
      left: -300px;
    }
  }
  
  .sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
  }
  
  .sidebar::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
  }
  
  @media (min-width: 1200px) {
  
    #main,
    #footer {
      margin-left: 300px;
    }
  }
  
  @media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
      left: 0;
    }
  }
  
  @media (min-width: 1200px) {
  
    .toggle-sidebar #main,
    .toggle-sidebar #footer {
      margin-left: 0;
    }
  
    .toggle-sidebar .sidebar {
      left: -300px;
    }
  }
  
  .sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  .sidebar-nav li {
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  .sidebar-nav .nav-item {
    margin-bottom: 5px;
  }
  
  .sidebar-nav .nav-heading {
    font-size: 11px;
    text-transform: uppercase;
    color: #899bbd;
    font-weight: 600;
    margin: 25px 0 5px 15px;
  }
  
  .sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #4154f1;
    transition: 0.3;
    background: #f6f9ff;
    padding: 10px 15px;
    border-radius: 4px;
  }
  
  .sidebar-nav .nav-link i {
    font-size: 16px;
    margin-right: 10px;
    color: #4154f1;
  }
  
  .sidebar-nav .nav-link.collapsed {
    color: var(--header-color);
    background: #fff;
  }
  
  .sidebar-nav .nav-link.collapsed i {
    color: #899bbd;
  }
  
  .sidebar-nav .nav-link:hover {
    color: #4154f1;
    background: #f6f9ff;
  }
  
  .sidebar-nav .nav-link:hover i {
    color: #4154f1;
  }
  
  .sidebar-nav .nav-link .bi-chevron-down {
    margin-right: 0;
    transition: transform 0.2s ease-in-out;
  }
  
  .sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
  }
  
  .sidebar-nav .nav-content {
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
  }
  
  .sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--header-color);
    transition: 0.3;
    padding: 10px 0 10px 40px;
    transition: 0.3s;
  }
  
  .sidebar-nav .nav-content a i {
    font-size: 6px;
    margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
  }
  
  .sidebar-nav .nav-content a:hover,
  .sidebar-nav .nav-content a.active {
    color: #4154f1;
  }
  
  .sidebar-nav .nav-content a.active i {
    background-color: #4154f1;
  }

  .nav-hr {
    border-top: 1px solid rgb(179, 178, 178);  
    margin-left: 15px; 
    margin-right: 20px; 
    margin-top: 40px; 
  }

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    animation-name: dropdown-animate;
    animation-duration: 0.2s;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
  }
  
  .dropdown-menu .dropdown-header,
  .dropdown-menu .dropdown-footer {
    text-align: center;
    font-size: 15px;
    padding: 10px 25px;
  }
  
  .dropdown-menu .dropdown-footer a {
    color: #444444;
    text-decoration: underline;
  }
  
  .dropdown-menu .dropdown-footer a:hover {
    text-decoration: none;
  }
  
  .dropdown-menu .dropdown-divider {
    color: #a5c5fe;
    margin: 0;
  }
  
  .dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
  }
  
  .dropdown-menu .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
  }
  
  .dropdown-menu .dropdown-item:hover {
    background-color: #f6f9ff;
  }
  
  @media (min-width: 768px) { /*768px*/
    .dropdown-menu-arrow::before {
      content: "";
      width: 13px;
      height: 13px;
      background: #fff;
      position: absolute;
      top: -7px;
      right: 20px;
      transform: rotate(45deg);
      border-top: 1px solid #eaedf1;
      border-left: 1px solid #eaedf1;
    }
  }
  
  @keyframes dropdown-animate {
    0% { 
      opacity: 0;
    }
  
    100% {
      opacity: 1;
    }
  
    0% {
      opacity: 0;
    }
  }
  
  /* Light Backgrounds */
  .bg-primary-light {
    background-color: #cfe2ff;
    border-color: #cfe2ff;
  }
  
  .bg-secondary-light {
    background-color: #e2e3e5;
    border-color: #e2e3e5;
  }
  
  .bg-success-light {
    background-color: #d1e7dd;
    border-color: #d1e7dd;
  }
  
  .bg-danger-light {
    background-color: #f8d7da;
    border-color: #f8d7da;
  }
  
  .bg-warning-light {
    background-color: #fff3cd;
    border-color: #fff3cd;
  }
  
  .bg-info-light {
    background-color: #cff4fc;
    border-color: #cff4fc;
  }
  
  .bg-dark-light {
    background-color: #d3d3d4;
    border-color: #d3d3d4;
  }

/*--------------------------------------------------------------
# MAP
--------------------------------------------------------------*/
.container {
    margin-top: 16px;
}

.so-radek, .pd-radek {
    display: flex; /* Tímto vytvoříme flex kontejner pro každý řádek */
    align-items: center; /* Toto zarovná položky flex kontejneru vertikálně na spodní okraj */
}

.parcelalist-popisy-sloupcu, .so-nadpis, .pd-nadpis {
    font-family: "Open Sans", sans-serif; /* "Open Sans", sans-serif; */
    font-size: 11px;
}
.parcelalist-detail, .so-hodnota, .pd-hodnota {
    font-family: "Open Sans", sans-serif; /* "Open Sans", sans-serif; */
    font-size: 14px;
}

.vymera {
    text-align: right;
}

.selected {
    font-weight: bold;
}

.parcelalist-detail:hover {
    cursor: pointer;
    background-color: #f2f2f2; /* Barva pozadí při najetí myši */
    /*font-weight: bold; /* Tučný font při najetí myši */
}

/*--------------------------------------------------------------
# SERVICE
--------------------------------------------------------------*/
#dragandrophandler {
    border: 2px dotted #0B85A1;
    width: 300px;
    height: 400px;
    color: #92AAB0;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
    margin-bottom: 10px;
    margin-top: 100px;
    cursor: pointer;
}


/*--------------------------------------------------------------
# PAGINATION
--------------------------------------------------------------*/


.pagination > li > a
{
    background-color: white;
    color: var(--hw-light);
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover
{
    color: white;
    background-color: #cccaca;
    border-color: #ddd;
}

.pagination > .active > a
{
    color: white;
    background-color: var(--hw-light) !Important;
    border: solid 1px var(--hw-light) !Important;
}

.pagination > .active > a:hover
{
    background-color: var(--hw-light) !Important;
    border: solid 1px var(--hw-light);
}

/*--------------------------------------------------------------
# Kredit Page
--------------------------------------------------------------*/
.credit-card-content {
    margin-left: 18px;
}

.credit {
    margin-top: 30px;
    margin-left: 30px;
}

.credit-head-email {
    margin-bottom: 8px;
    margin-left: 10px;
}

.pay-credit-row {
    cursor: pointer;
    background-color: #E1E8F2;
    transition: background-color 0.2s; /* Plynulá změna barvy */
}

.pay-credit-row:hover {
    background-color: #DADADA; /* Tmavší barva s průhledností */
}

.pay-credit-container {
    position: relative; /* Přidáno pro správné pozicování badge */
}

.pay-credit-ico {
    font-size: 55px;
}

.pay-credit-number {
    display: flex; /* Použití flexboxu pro zarovnání obsahu */
    align-items: center; /* Vertikální centrování */
    justify-content: center; /* Horizontální centrování */
    min-width: 40px; /* Minimální šířka badge */
    padding: 5px; /* Padding pro zachování prostoru okolo textu */
    font-weight: normal;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-110%, -110%);
}

.payment-icons-row .payment-icon {
    max-width: 100px; /* Upravte podle potřeby */
    margin: 0 10px; /* Rozestupy mezi ikonami */
}

.terms-conditions-row a {
    color: #007bff; /* Barva odkazu, můžete upravit */
}

/*--------------------------------------------------------------
# Profile Page
--------------------------------------------------------------*/
  .profile {
    margin-top: 30px;
    margin-left: 30px;
  }

  .profile-head-email {
    margin-bottom: 8px;
    margin-left: 10px;
  }

  .profile .profile-card img {
    max-width: 120px;
  }
  
  .profile .profile-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c384e;
    margin: 10px 0 0 0;
  }
  
  .profile .profile-card h3 {
    font-size: 18px;
  }
  
  .profile .profile-card .social-links a {
    font-size: 20px;
    display: inline-block;
    color: rgba(1, 41, 112, 0.5);
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
  }
  
  .profile .profile-overview .row {
    margin-bottom: 20px;
    font-size: 15px;
  }
  
  .profile .profile-overview .card-title {
    color: #012970;
  }
  
  .profile .profile-overview .label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
  }
  
  .profile .profile-edit label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
  }
  
  .profile .profile-edit img {
    max-width: 120px;
  }

/*--------------------------------------------------------------
# Contact Page
--------------------------------------------------------------*/
.contact {
    margin-top: 30px;
    margin-left: 30px;
  }

.cb-contact {
    margin-left: 30px;
}


/*-------------------------------------------------------------
$ MYBUTTONS
----------------------------------------------------------------*/
    .btn-light-blue {
      background-color: #6BB9F0;
      border-color: #6BB9F0;
      color: white;
    }

    .btn-light-blue:hover {
      background-color: #5AA8DE;
      border-color: #5AA8DE;
    }

    .btn-medium-blue {
      background-color: #3A8ACB;
      border-color: #3A8ACB;
      color: white;
    }

    .btn-medium-blue:hover {
      background-color: #3277B5;
      border-color: #3277B5;
    }

    .btn-dark-blue {
        background-color: #3A8ACB;
        border-color: #3A8ACB;
        color: white;
      }
      
      .btn-dark-blue:hover {
        background-color: #0E4A9C;
        border-color: #0E4A9C;
        color: white; /* Ujistěte se, že text zůstane bílý */
      }