@charset "UTF-8";
/*
  Theme Name: rodiny.cz
  Theme URI:
  Description: Sablona stránek rodiny.cz
  Version: 1.0
  Author: UniWIRE Solution, s. r. o.
  Author URI: http://uniwire.cz
*/
@import url("https://fonts.googleapis.com/css?family=Open+Sans");
#navbar-clear {
  height: 82px;
}

body {
  font-family: "Open Sans", sans-serif;
}

.content-main {
  padding-top: 2rem;
  overflow-x: hidden;
}

#slider {
  margin-top: -2rem;
  position: relative;
}
#slider .link-down {
  position: absolute;
  bottom: 1rem;
  left: calc(50% - 1.25rem);
  font-size: 2.5rem;
  color: white;
  transition: 0.3s all;
}
#slider .link-down:hover {
  color: #007139;
  transition: 0.3s all;
}

#pol_cirkev .line {
  height: 5px;
  background: #007139;
  width: 100%;
}
#pol_cirkev a {
  color: white;
  background-color: #007139;
  padding: 1rem;
  font-size: 1.5rem;
  text-align: center;
  transition: 0.3s all;
}
#pol_cirkev a i {
  padding-right: 1rem;
}
#pol_cirkev a:hover {
  text-decoration: none;
  background-color: #4a4a4a;
  transition: 0.3s all;
}
#pol_cirkev a.left {
  border-right: 1px solid white;
}
#pol_cirkev a.right {
  border-left: 1px solid white;
}

#slogan {
  text-align: center;
  padding: 1rem 0;
}
#slogan .slogan {
  font-size: 1.3rem;
  padding: 1rem 0;
  font-style: italic;
}

#clanky {
  color: #4a4a4a;
  background-color: #f4f4f4;
  padding: 2rem 0;
}
#clanky h2 {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 3rem;
  margin-top: 1rem;
}
#clanky .btn-more {
  border-radius: 0;
  color: #4a4a4a;
  border: 1px solid #4a4a4a;
  transition: 0.3s all;
}
#clanky .btn-more:hover {
  color: white;
  background-color: #4a4a4a;
  transition: 0.3s all;
}
#clanky .card-rod {
  background-color: white;
  border-radius: 0 !important;
  margin: auto;
  max-width: 100%;
  box-shadow: none !important;
  border: 0;
  margin-bottom: 2rem;
}
#clanky .card-rod .card-img-top {
  border-radius: 0;
}
#clanky .card-rod .card-title a {
  color: #007139;
  font-weight: 700;
  text-decoration: none !important;
  transition: 0.3s all;
}
#clanky .card-rod .card-title a:hover {
  color: #4a4a4a;
  transition: 0.3s all;
}
#clanky .card-rod .card-body img {
  display: none;
}
#clanky .card-rod .p-more-link {
  text-align: right;
}
#clanky .card-rod .p-more-link .more-link {
  color: #007139;
  transition: 0.3s all;
}
#clanky .card-rod .p-more-link .more-link:hover {
  color: #4a4a4a;
  text-decoration: none;
  transition: 0.3s all;
}
#clanky .read-more {
  margin: 0 !important;
  text-align: right;
  font-weight: 700;
}
#clanky .read-more a {
  color: #007139;
  font-weight: 700;
  text-decoration: none !important;
  transition: 0.3s all;
}
#clanky .read-more a:hover {
  color: #4a4a4a;
  transition: 0.3s all;
}
#clanky .card-body p:last-child {
  margin: 0;
}
#clanky .date {
  text-align: right;
  margin-bottom: 1rem;
}

#footer {
  padding: 1rem 0;
  font-size: 1rem;
  color: #ffffff;
  background-color: #4a4a4a;
}
#footer .copyright {
  text-align: center;
}
#footer a {
  color: #ffffff;
  transition: 0.3s all;
}
#footer a:hover {
  color: #007139;
  transition: 0.3s all;
  text-decoration: none;
}
#footer .categories {
  margin-bottom: 2rem;
  display: flex;
  flex-flow: row;
  text-align: center;
  flex-wrap: wrap;
  justify-content: center;
}
#footer .categories a.cat {
  padding: 0.5rem;
}

.navbar {
  background: #ffffff;
}
.navbar .show .navbar-nav {
  width: 100%;
  display: flex;
  flex: 1 1 auto;
}
.navbar .navbar-nav .active > .nav-link, .navbar .navbar-nav .nav-link.active, .navbar .navbar-nav .nav-link.show, .navbar .navbar-nav .show > .nav-link, .navbar .navbar-nav .nav-link:focus, .navbar .navbar-nav .nav-link:hover {
  color: #007139;
}
.navbar .nav-link {
  padding: 15px 5px;
  transition: 0.3s;
  color: #007139 !important;
  text-transform: uppercase;
  display: flex;
  flex: 1 1 auto;
  text-align: center;
  flex-wrap: nowrap;
  width: 100%;
  align-content: center;
  flex-flow: nowrap;
}
.navbar .dropdown-item.active, .navbar .dropdown-item:active {
  background-color: #ffffff;
  color: white;
}
.navbar .dropdown-item:focus, .navbar .dropdown-item:hover {
  background: #007139;
}
.navbar .nav-item {
  display: flex;
  flex: 1 1 auto;
  text-align: center;
  flex-wrap: nowrap;
  position: relative;
}
.navbar .nav-item::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #007139;
  transition: 0.3s;
  bottom: 0;
  position: absolute;
}
.navbar .nav-item:hover::after {
  width: 100%;
  transition: 0.3s;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

#category {
  margin-top: -2rem;
}
#category .tags {
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 1rem;
}
#category .tags a {
  align-self: center;
  color: #ababab;
  transition: 0.3s all;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
#category .tags a:hover {
  color: #4a4a4a;
  transition: 0.3s all;
  text-decoration: none;
}
#category .cat-header {
  height: 30vh;
  display: flex;
  flex: 1 1 auto;
  align-content: center;
  background-size: cover;
  background-image: url("http://www.rodiny.johno.cz/wp-content/uploads/2018/10/family-2485714_1920.jpg");
  background-position: center;
  background-repeat: no-repeat;
}
#category .cat-header h2 {
  display: flex;
  align-self: center;
  flex: 1 1 auto;
  align-content: center;
  justify-content: center;
  text-transform: uppercase;
  color: white;
}
#category .cat-subcat .categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
#category .cat-subcat .line {
  height: 5px;
  background: #007139;
  width: 100%;
}
#category .cat-subcat a {
  color: white;
  background-color: #007139;
  padding: 1rem;
  font-size: 1rem;
  text-align: center;
  transition: 0.3s all;
  border-left: 1px solid white;
  border-right: 1px solid white;
}
#category .cat-subcat a:first-child {
  border-left: 1px solid white;
}
#category .cat-subcat a:last-child {
  border-right: 1px solid white;
}
#category .cat-subcat a i {
  padding-right: 1rem;
}
#category .cat-subcat a:hover {
  text-decoration: none;
  background-color: #4a4a4a;
  transition: 0.3s all;
}
#category .cat-posts {
  background-color: #f4f4f4;
  color: #4a4a4a;
}
#category .cat-posts .article {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
#category .cat-posts .article .date-line {
  text-align: center;
  border-bottom: 1px solid #ababab;
  color: #ababab;
}
#category .cat-posts .article .image-thumb {
  height: 260px;
  overflow: hidden;
  margin-bottom: 2rem;
}
#category .cat-posts .article .date {
  text-align: center;
  border-bottom: 0 solid #ababab;
  color: #ababab;
}
#category .cat-posts .article h3 {
  text-align: center;
  padding-bottom: 1rem;
  font-size: 1.4rem;
  padding-top: 1.5rem;
}
#category .cat-posts .article h3 a.h3-link {
  color: #4a4a4a;
  transition: 0.3s all;
}
#category .cat-posts .article h3 a.h3-link:hover {
  transition: 0.3s all;
  text-decoration: none;
  color: #007139;
}
#category .cat-posts .article .content {
  padding-top: 3rem;
}
#category .cat-posts .article .content img {
  max-width: 100%;
  height: auto;
}
#category .cat-posts .article .content a {
  color: #007139;
  font-style: italic;
  transition: 0.3s all;
}
#category .cat-posts .article .content a:hover {
  transition: 0.3s all;
  text-decoration: none;
  color: #4a4a4a;
}
#category .cat-posts .article img {
  display: none;
}
#category .cat-posts.single .article img {
  display: block;
}

#navbar a.custom-logo {
  width: 66px;
  height: 66px;
}

#navbar .custom-logo img {
  width: 66px;
  height: 66px;
}

.small-screen-logo {
  display: none;
}

@media (min-width: 992px) {
  .container.navbar-cont {
    display: flex;
  }

  ul.navbar-nav.container.left {
    padding-right: 0;
    align-content: center;
    justify-content: center;
    display: flex;
    flex: 1 1 auto;
  }

  ul.navbar-nav.container.right {
    padding-right: 0;
    display: flex;
    flex: 1 1 auto;
    align-content: center;
    justify-content: center;
  }

  a.nav-link {
    justify-content: center;
  }
}
@media (max-width: 991px) {
  .navbar-collapse .custom-logo {
    display: none;
  }

  .small-screen-logo {
    display: flex;
    position: absolute;
    left: calc(50% - 27px);
    top: 0;
  }
  .small-screen-logo .custom-logo {
    height: 54px !important;
    width: 54px !important;
  }
}
.scroll-top {
  font-size: 3rem;
  position: fixed;
  bottom: 0;
  z-index: 10;
  right: 2rem;
  color: #007139 !important;
}
.scroll-top:hover {
  color: #4a4a4a !important;
}

.dropdown-toggle::after {
  position: relative;
  margin-left: 0.1rem;
  margin-top: 0.5rem;
}

.dropdown-menu {
  position: relative;
  /* width: 100%; */
}

li.nav-item.dropdown {
  flex-direction: column;
}

/*# sourceMappingURL=style.css.map */
