body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    width: 980px;
    margin: 0 auto;
    text-align: left;
  }

header {
  padding: 0px;
  margin: auto;
  /*! width: 80%; */
  height: auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;  
  box-shadow: 0px -5px 15px gray;
}

.header-div {
  position: absolute;
  top: 0;
  left: 0;
  background-image: url('../uploads/hlavicky/hlavicka-presahujuci.webp');
  z-index: -10;
  width: 100%;
  height: 400px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#header-anjel {
  display: block;
  position: absolute;
  top:5px;
  left: 80px;
  height: 230px;
  width: auto;
  opacity: 0.7;
}

#header-kostol {
  display: block;
  position: absolute;
  top:30px;
  right: 30px;
  height: 220px;
  width: auto;
  opacity: 0.3;
}

h1 {
  font-weight: 400;
  font-family: 'Allura', cursive;
  text-shadow: 5px 5px 10px gray;
  color: #08313A;
}
h2 {}
h3 {}
hr {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

blockquote {font-style: italic;}

 .odkaz-bez {
  text-decoration: none;
  color: inherit;  
 }

a:link, a:visited, a:active {text-decoration-style: dotted; color: #08313A;}
a:hover {text-decoration-style: dotted; color: #1e7433;}

input[type=text] {}

input[type=submit] {}

div[name=aktuality] > p > a > img, div[name=aktuality] > p > img {width: 48%; height: auto;}

/*********** Hlavička ***********/

#nazov-stranky {
  position: relative;
  display: block;
  padding: 20px 0;
  text-align: center;
}

h1.titul-stranky {
  font-family: 'Allura', cursive;
  font-weight: normal;
  font-size: 42px;
  color: #08313A;
  text-shadow: 5px 5px 20px white;
}

h2.podtitul-stranky {
  color: #626262;
  font-family: Arial, sans-serif;
  font-weight: normal;
  font-size: 16px;
}


/*********** Menu ***********/
nav {
  padding: 0px;
  margin-top: -5px;
  /*! width: 80%; */
}

.nav-hlavne-menu{ 
  padding: 0px;
  /*margin-top: -18px;*/
  background-color: #2b1a77;
  border-bottom: 5px solid #ffba00;  
  box-shadow: 0px 5px 15px gray;
}

menu {
  margin: 0px;
}

nav > ul > li {
    display:inline-block;
    padding: 8px 8px;
}

#hlavne-menu {
  text-align: center;
  font-size: 18px;
  padding: 5px 0px;
  margin: 5px 0;
  overflow: auto;;
  position: relative;
  top: 8px;
}

ul[id=hlavne-menu] li:hover {}

ul[id=hlavne-menu] li a {
  display: inline-block;
  color: #fcfcfc;
  text-align: center;
  padding: 1px 16px;
  text-decoration: none;}
ul[id=hlavne-menu] li a:hover {}

div[id=submenu] {background-color: #E9EAEC;margin:2px 0;transition: all 0.2s ease-in-out;padding: 8px;}

div[id=submenu] a {display: inline-block; width: 100%;}

article[id=submenu], div[id=submenu] {margin-top: 20px;}

article[id=submenu] li, div[id=submenu] li {list-style: none;background-color: #E9EAEC;margin:2px 0;transition: all 0.2s ease-in-out;padding: 8px;}

article[id=submenu] li:hover, div[id=submenu]:hover {background-color: #90ADC6; color: white;}

article[id=submenu] a, div[id=submenu] a {text-decoration: none; color: #402422;}

article[id=submenu] a:hover {}

div[id=submenu] a:hover {color: white;}

.nazov-submenu {
  background-color: #fec117;
  margin: 2px 0;
  text-align: center;
  padding: 8px;
  color: #08313A;
  font-family: 'Allura', cursive;
  font-size: 32px;
}

.submenu-list {}

a .submenu-list {}
a:hover .submenu-list {}

/*********** Responzívne menu ***********/

.hamburger, .hamburger-r {
  display: none;
  position: absolute;
  top: -15px;
  left: 20px;
  text-align: center;
  font-size: 32px;
}

.hamburger {}

.hamburger-r {color: whitesmoke;}

.hamburger::before {
  font-family: 'FontAwesome';
  content: '\F0C9'; 
}

.hamburger-r::before {
  font-family: 'FontAwesome';
  content: '\f00d'; 
}

nav[id=responzivne-menu] {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.95);
  min-width: 100%;
  min-height: 100%;
  z-index: 1000;
  display: none;
}

nav[id=responzivne-menu] ul {
  position: relative;
  padding: 0;
}

nav[id=responzivne-menu] li {
  list-style: none;
  /*! padding-left: 30px; */
  font-size: 22px;
  padding: 8px 0 0 30px;
}

nav[id=responzivne-menu] a {
  color: ghostwhite;
  text-decoration: none;
}

.mobile-submenu {
  top: 0;
  padding-left: 30px;
}

ul[class=mobile-submenu] a {color: orange;}
ul[class=mobile-submenu] li {padding-left: 60px;}

/*********** Telo stránky ***********/
#obsah {
  position: relative;
  top: 25px;
  display: block;
  width: 100%;
  margin: auto;
}

#hlavny-panel {
  position: relative;
  display: block;
  float: left;
  width: calc(80% - 50px);
  padding: 3px 18px;
}

#bocny-panel {
  position: relative;
  display: block;
  float: left;
  width: 20%;
  padding: 3px 8px 3px 0;
}

.bocny-panel-box h4, .liturgicky-kalendar {
  position: relative;
  padding: 0;
  margin: 30px 0 0 0;
  color: whitesmoke;
  text-align: center;
  background-image: linear-gradient(to right, rgba(254, 193, 23, 0), rgba(254, 193, 23, 0.75), rgba(254, 193, 23, 0));
  width: 100%;
  font-family: 'Allura', cursive;
  font-size: 32px;
  font-weight: normal;
  color: #08313A;
  text-shadow: 5px 5px 10px white;
  text-align: center;
  float: left;
  margin-bottom: 15px;
}

.bocny-panel-box h4:after, .bocny-panel-box h4:before, .liturgicky-kalendar:after, .liturgicky-kalendar:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-image: linear-gradient(to right, rgba(153, 85, 17, 0), rgba(153, 85, 17, 0.75), rgba(153, 85, 17, 0));
    top: 105%;
    left: 0;
}

.bocny-panel-box h4:before, .liturgicky-kalendar:before {
  top: -12%;
}

article[id=kontakt] address {margin: 16px 0 0 0;}

article[id=svatec-dna] img {box-shadow: 2px 2px 5px gray;}

article[id=podujatia] > p > img, article[id=podujatia] > p > a > img {max-width: 80%; height: auto; opacity: 0.4; transition: 0.5s ease;}
article[id=podujatia] > p > img:hover, article[id=podujatia] > p > a > img:hover {opacity: 1;}

div[id=hlavny-panel] > div > p > img{max-width: 100%;}

/*********** Pätička ***********/
footer {
  float: left;
  width: 100%;
  position: relative;
  margin-top: 50px;
  background-color: #193276;
  border-top: 8px solid #fec117;
  color: whitesmoke;
}

footer a:link, footer a:visited, footer a:hover, footer a:active {color: white;}


#grid-footer {display: grid;}

#grid-footer-r {display: none;}

#pata-1, #pata-2, #pata-3 {text-align: center;}

#pata-4 {
  position: relative;
  float: left;
  text-align: center;
  font-size: 0.8em;
  color: #999;
  width: 100%;
  padding: 0;
  margin: 0;
}

.obr-oznamy {
  height: auto; 
  max-width: 100%; 
  /*margin:0 20%;*/   
  padding: 15px 0 0 0; 
  background-color: white; 
  border: 1px solid black;
}


/*********** Tlačítko hore ***********/
#tlacitko-hore {
  background: #999;
  position: fixed;
  bottom: 40px;
  right: 0;
  height: 40px;
  width: 50px;
  display: none;
  border: 0px solid #999;
  border-radius: 20px 0 0 20px;
  color:white;
}

#tlacitko-hore:hover {background-color: #d0d0b8;}


/* tkkbs RSS */
.div-body {
    background-color: #f5f6f7;
    color: white;
    font-size: 18px;
    padding: 15px 15px 0px 15px;
    border-radius: 10px 10px 0px 0px;
}

.div-description {  
    background-color: #f5f6f7;
    color: black;
    font-size: 16px;
    padding: 15px;
    border-radius: 0px 0px 10px 10px;
    text-align: justify;
}

a[class=a-div-body]:link {color: #268;}
a[class=a-div-body]:visited {color: #800000;}
a[class=a-div-body]:hover {color: #1b526d;}
a[class=a-div-body]:active {color: #268;}


#mobile-header-img {max-height: 120px; display: none;}
#mobile-header-img-div {position: absolute; top: 15px; right: 20px;}
/*********** Mobilné zobrazenie ***********/
@media screen and (max-width: 978px) {
  body {min-height: 100vh; width: 100%;}
  header {width: 100%; max-height:120px; background-image: none; border-bottom: 3px solid #ffba00;}
  h1 {font-size: 32px;}
  h2 {font-size: 1.1em}
  h3 {font-size: 1em}
  nav {width: 100%;}
  nav[class=nav-hlavne-menu] {display: none;}
  nav > ul > li {display: none;}
  nav[id=admin-nav] > ul > li {display: inline-block;}
  iframe[id="aside-frame-pata"] {height: 200px; top: 100px; position: relative; width: 100%}
  iframe[id="aside-frame-nastavenia"] {display: none;}
  iframe[id='frame-stranky'], iframe[id=aside-frame] {width: 100%; top: 80px;}
  aside[id=aside-stranky], aside[id=subory] article {width: 100%; margin: 0 -9px;}
  footer {background-color: transparent; border-top: 0px; color: darkgrey; box-shadow: 0px 5px 15px gray; border-top: 3px solid #ffba00;}
  footer a:link, footer a:visited, footer a:hover, footer a:active {color: darkgrey;}
  .header-div {background-image: url('../uploads/hlavicky/hlavicka-transparent.webp');}
  #header-anjel {display: none;}
  #header-kostol {display: none;}
  #obsah {width: 100%;}
  #admin-nav {position: fixed; top: 0px;}
  #hlavne-menu {height: 20px;}
  .submenu {position: relative; box-shadow: none;}
  .hamburger, .hamburger-r {display: block;}
  #hlavny-panel {width: calc(100% - 35px);}
  #bocny-panel {width: 70%; margin-left: 15%; box-shadow: none; margin-top: 100px; padding-bottom: 80px;}
  #pata-1, #pata-2, #pata-3 {width: 100%;}
  #grid-footer {display: none;}
  #grid-footer-r {display: block;}
  #mobile-header-img {top: 5px; display: block;}
  .obr-oznamy {max-width: 100%; margin: 0;}
  h1[class=titul-stranky]{font-size: 26px; padding: 0px; text-shadow: 5px 5px 10px gray;}
  h2[class=podtitul-stranky] {font-size: 0.8em; padding: 0px 20%;}
}
