/**
 * @author Branko Babusiak
 * @copyright Copyright (c) 2020 KTEBI
 */
 
/* .offcanvas-menu .offcanvas-inner .sp-module ul > li ul {display: block;}*/

@media screen and (max-width: 1024px) {
#sp-header #offcanvas-toggler.offcanvas, #sp-header #offcanvas-toggler.mega
{display: block !important;}

 .sp-megamenu-parent.d-none.d-lg-block 
 { display: none !important; }
}

.burger-icon > span {background-color: white !important;}
 
.styled-table {
    border-collapse: collapse;
    
    margin: 0 auto;
    font-size: 0.9rem;
    font-family: sans-serif;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
    background-color: #c71f1f;
    color: #ffffff;
    text-align: center;
}

.styled-table th,
.styled-table td {
    padding: 5px 10px;
    text-align: center;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #c71f1f;
}

.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #c71f1f;
}

th.contentfit
{
	width: 1%;
    	white-space: nowrap;
}

#sp-top-bar {
  padding-top: 6px;
  padding-right: 0px;
  padding-bottom: 6px;
  padding-left: 0px;
}

#sp-top1 {
    display: flex;
  align-items: center;
}

.sppb-addon-single-image-container {
  width: 100%;
}

.sp-megamenu-parent >li.active>a,
.sp-megamenu-parent > li:hover > a {
    color: #FFFFFF;
    border-bottom: 4px solid #FFFFFF;
    border-bottom-color: rgb(255, 255, 255);
    border-bottom-style: solid;
    border-bottom-width: 4px;
    opacity: 0.8;
}

.sp-megamenu-parent {
    margin-top: 6px;
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
	padding: 0 10px;	
	line-height: 90px;
}

.sp-megamenu-parent .sp-mega-group > li > a {
    padding:10px;
    color: #6b1111;
}

.sp-megamenu-parent .sp-mega-group > li > a:hover {
    /*background: #6b1111;*/
    color: #ffffff;
    padding:10px;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {padding:10px; display: block; font-size: 16px;}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover {
    background: #6b1111;
    color:#ffffff;
    padding:10px;
}

.nav-link.active {

}

.nav-link.disabled {
    /* Example: make it look greyed out and unclickable */
    opacity: 0.6; 
    background-color: lightgray !important;
    pointer-events: none; /* Prevents clicks on the disabled link */
}



.button {
    border: none;
    color: white;
    padding: 10px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 0.8rem;
    margin: 4px 2px;
    cursor: pointer;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    transition-duration: 0.2s;
}

.button.red {
    background-color: #6B1111;
    border: 2px solid #6B1111;
}

.button.red:hover {
    background-color: #FFFFFF;
    color: black;
    border: 2px solid #c71f1f;
}

#offcanvas-toggler.offcanvas-toggler-right {
  margin-top: -50px;
}

.offcanvas-menu .offcanvas-inner {
    padding-top: 50px;
}

#offcanvas-toggler > .fa:hover {  
color: red; 
}

/*
.offcanvas-menu { background-color: #6b1111}
*/
.post-format {
  position: absolute;
  top: 0;
  left: -68px;
  display: block;
  width: 48px;
  height: 48px;
  font-size: 24px;
  line-height: 48px;
  text-align: center;
  color: #fff;
  border-radius: 3px;
  background: #6b1111;
}

.has-post-format {
  margin-left:68px;
}

.file-panel {
  position: relative;
  margin-bottom: 40px;
  margin-top: 20px;
  clear: left;
}

.file-info {
  line-height:12px;
  margin-bottom:0px;
  color:gray;
}

.link-file {
  font-size: 1.3rem;
}

.predmet-title {
  text-shadow: 2px 2px #e8dfcd;
  color: #6b1111;
}


/* Aktuality */
h3.news-title {
    font-size: 100%;
    font-weight: bold;
    font-family: Open Sans, sans-serif;
    color: #6b1111;
}
div.news-created{
  font-size:0.9em;
  color:#999;
  margin-bottom:10px;
}

p.news-text {
  margin-bottom:5px;
  font-size:14px;
  line-height: 1.3rem;
  text-align: justify;
}

.styled-table {
    border-collapse: collapse;
    margin: 0 auto;
    font-size: 0.9rem;
    font-family: sans-serif;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
    background-color: #6B1111;
    color: #ffffff;
    text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 5px 10px;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:nth-of-type(odd) {
    background-color: #ffffff;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #6B1111;
}

.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #c71f1f;
}


