@font-face {
  font-family: default_font;
  src: url(../../font/weblysleekuil.ttf);
}

@font-face {
  font-family: intro_font;
  src: url(../../font/SchadowBoldBT.ttf);
}

body {
  /*padding-top: 57px; for navbar*/
  margin-bottom: 60px;
  /* Margin bottom by footer height */
  font-family: default_font;
  background: #5CB245;
  color: #1c512d;
}

html {
  position: relative;
  min-height: 100%;
}

/*html p{
    margin:0;
    padding: 0;
*/
footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
  /* Set the fixed height of the footer here */
  line-height: 60px;
  /* Vertically center the text there */
  background-color: #fff;
  border-top: 2px solid #eee;
}

body a {
  color: #5CB245;
}

body a:hover {
  color: #5CB245;
}

@media (min-width: 300px) {
  #main {
    margin-top: 0.2em;
    padding-bottom: 0.2em;
  }
}

@media (min-width: 768px) {
  #main {
    margin-top: 2em;
    padding-bottom: 2em;
  }
}


.sub_site_content h1 {
  color: #5CB245;
  padding-bottom: 0.2em;
  border-bottom: 1px solid #5CB245;
  margin-bottom: 1em;
}

.sub_site_content {
  position: relative;
  display: block;
  padding: .75rem 1.25rem;
  margin-bottom: -1px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, .125);
}

#intro-bg {
  /* background: transparent url('../../img/iskola.png') no-repeat center center /cover; */
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  height: 70vh;
}

/* @media (min-width: 1500px) {
  #intro-bg {
    min-height: 100%;
    padding-bottom: 5%;
    background-color: #fff;
  }

} */

.intro-bg-iskola {
  background: transparent url('/img/iskola-intro-uj.jpg') no-repeat center center /cover;
}

.intro-bg-ovoda {
  background: transparent url('/img/ovoda-intro-min.jpg') no-repeat center center /cover;
}

.intro-h1 {
  font-family: intro_font;
  color: #fff;
  text-shadow: 3px 3px 3px #000;
}

.intro-h1 a {
  color: #fff !important;
  text-decoration: none !important; /* no underline */
}

.intro-iskola{
  /* background: transparent url('/img/iskola-intro.jpg') no-repeat center center /cover; */
  height: 300px;   
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-ovoda{
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-iskola::after {
  content: "";
  background: url('/img/iskola-intro.jpg') no-repeat center center /cover;;
  opacity: 0.8;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;   
  border-radius: 10px;
}

.intro-ovoda::after {
  content: "";
  background: url('/img/ovoda-intro-min.jpg') no-repeat center center /cover;;
  opacity: 0.8;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;  
  border-radius: 10px;
}

#intro-logo{
  position : absolute;
bottom   : 90px;
right:20px;
color: #fff;
}

@media (max-width: 576px) {
  #intro-logo{
    display: none;  
    }
    .intro-iskola{
      margin-top:40px;
    }
    .intro-ovoda{
      margin-top:20px;
    }
}


@media (max-width: 576px) {
  .welcome-text{
    display: none;  
    }
}


.intro-title{
  position : absolute;
  bottom:0px;
}

@media (min-width: 576px) {
#choose-intro{
  position: absolute;
    top: 50%;  /* position the top  edge of the element at the middle of the parent */
    left: 50%; /* position the left edge of the element at the middle of the parent */

    transform: translate(-50%, -50%); /* This is a shorthand of
                                         translateX(-50%) and translateY(-50%) */
    width:75%;
}
}

#top-menu {
  background: #fff;
  border-bottom: 2px solid #eee;
}

.container {
  max-width: 1100px;
}

.post {
  text-align: justify;
}

.post img {
  margin: 15px;
}

.list_post h4 {
  color: #5CB245;
}

.list_post {
  -webkit-transition: 0.3s;
  /* Safari */
  transition: 0.3s;
}

.list_post:hover {
  border-color: #5CB245;

}

.gallery-item a {
  text-decoration: none;

}

.new-line {
  display: block;
}

.event-name {}

.gallery-card {
  height: 200px;
  object-fit: cover;
}

.gallery-img {
  height: 300px;
  object-fit: cover;
  width: 100%;

}

.btn-custom {
  background-color: #5CB245;
  color: #fff;
}

.btn-custom:hover {
  background-color: #53a03e;
  color: #fff;
}

.bg-custom {
  background-color: #53a03e !important;
}

#week-events {
  padding-top: 0.9em;
}

#week-events a:hover {
  text-decoration: none;
}

#calendar-header h3 {
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 5px;
}

.calendar a:hover {
  text-decoration: none;
}

img[style*="float: left"] {
  margin: 5px 15px 0px 0px;
}

img[style*="float: right"] {
  margin: 5px 0px 0px 15px;
}

/*overrides*/

/*navbar*/
.navbar .navbar-brand {
  color: #1c512d;
  font-size: 1rem;
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
  color: #1c512d;
}

.navbar-light .navbar-nav .nav-link {
  color: #1c512d;
  padding-right: 10px;
}

/*#top-menu ul.navbar-nav > li:after {

content: "|";

}*/



@media (min-width: 300px) {
  .nav-separator {
    display: none;
  }
}

@media (min-width: 768px) {
  .nav-separator {
    display: inline;
    padding-top: 7px;
    padding-left: 3px;
    padding-right: 3px;
  }
}

/*dropdown*/

.dropdown-item:hover {
  background-color: #e5e5e5;
}


@media (min-width: 576px) {
  .card-columns {
    column-count: 1;
  }
}

@media (min-width: 768px) {
  .card-columns {
    column-count: 2;
  }
}

@media (min-width: 992px) {
  .card-columns {
    column-count: 3;
  }
}

@media (min-width: 1200px) {
  .card-columns {
    column-count: 4;
  }
}

.card-body {
  height: 170px;
}

/*.note-editable { background-color: black !important; color: white !important; }*/


.appointment-table td,
.appointment-table th {
  padding: 0rem;
}

.tableFixHead          { overflow: auto; height: 400px; width: 100%; }
/* .tableFixHead thead { position: sticky; top: 0; z-index: 1; }  */
.tableFixHead thead th{ position: sticky; top: 0; z-index: 1; }

.tableFixHead tbody th { position: sticky; left: 0; z-index: 1;}

label.radio {
  cursor: pointer;
  margin: auto;
  width: 100%;
  height: 100%;
}

label.radio input {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  pointer-events: none;
}

label.radio span {
  display: block;
  margin: auto;
  width: 100%;
  height: 100%;
  padding: 0.75rem !important;
}

.select-new-appointment:checked+span {

  background-color: white;
  opacity: 0.4;
  outline: 3px solid black;
  outline-offset: -3px;
}

.appointment-table-th {
  padding: 0.75rem !important;
  background: white;

}

.grecaptcha-badge {
  bottom: 100px !important;
}

#regForm .form-group {
  margin-bottom: 0rem !important;
}