/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

/* Úřední deska */

.container-card {
  padding: 10px 15px 15px;
  box-shadow: 5px 5px 15px 0px rgba(0, 0, 0, .2);
  margin-bottom: 15px;
}

.container-card a h2 {
  text-decoration: underline;
  transition: .3s;
}

.container-card h2 {
  font-size: 21px;
  color: var(--e-global-color-primary);
}

.container-card h2:hover {
  text-decoration: none;
}

.container-card > p {
  color: var(--e-global-color-text);
}

.container-card .date-row {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: row;
  margin-top: 15px;
  color: var(--e-global-color-text);
}

.container-card .date-row .end-date {
  margin-left: 10px;
  padding-left: 10px;
  color: var(--e-global-color-text);
}

@media (max-width: 450px) {
  .container-card .date-row .create-date, .container-card .date-row .end-date {
    flex: 1 1 0;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }
}

.container-card .date-row .create-date span:last-child, .container-card .date-row .end-date span:last-child {
  color: var(--e-global-color-text);
}

/* Pagination */

.elementor-shortcode .pagination {
  text-align: center;
}

.elementor-shortcode .pagination .page-numbers {
  padding: 0 3px;
}

.elementor-shortcode .pagination .page-numbers.current {
  color: var(--e-global-color-primary);
}

/* Úřední deska detail článku */

.files {
  padding-left: 20px;
}

.file-item i {
  padding-right: 10px;
}

#pojo-a11y-toolbar.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
  top: 110px;
}

@media (max-width: 767px) {
  #pojo-a11y-toolbar.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
    top: 140px;
  }
}

.eael-accordion-content {
  overflow-x: scroll;
}

/* VM */

.files__vm {
  list-style: none;
  padding-left: 0;
}

.container-card__vm {
  padding: 15px;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.files__vm i {
  margin-right: 15px;
}

.files__vm .file-obor {
  margin-left: 20px;
}

.page-id-36 .elementor-section.elementor-element-6874ebd {
  display: none;
}

.files {
  list-style: none;
  padding-left: 0;
}

.file-name,
.file-item i {
  color: var( --e-global-color-text );
  transition: .3s;
}

.file-item:hover .file-name,
.file-item:hover i {
  color: var(--e-global-color-primary);
}

/* Tabulka ke stazeni */

@media (max-width: 768px) {
  .table-wrapper {
    overflow-x: scroll;
  }

  .table-wrapper table {
    min-width: 900px;
  }
}

table td,
table th {
  vertical-align: middle !important;
}

table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
  background-color: #f5f4f3 !important;
}

table tbody > tr:nth-child(odd):hover > td,
table tbody > tr:nth-child(odd):hover > th {
  background-color: #f5f4f3 !important;
}

table tbody tr:hover > td,
table tbody tr:hover > th {
  background-color: #fff !important;
}

table td a {
  color: var( --e-global-color-712260b ) !important;
}

table td a:hover {
  text-decoration: none;
}

.file-excerpt {
  display: block;
  max-width: 500px;
}

table tbody tr td:nth-child(4) {
  min-width: 62px;
}

/* Fotogalerie - form */

.post-password-form input[type="submit"] {
  position: relative;
  top: 9px;
  color: #080703 !important;
  background-color: transparent !important;
  border-color: #FAC748 !important;
  font-weight: 400 !important;
  border-radius: 5px !important;
}

.post-password-form input[type="submit"]:hover {
  background-color: #FAC748 !important;
}
