/* calendar styles */
#calendar h3 {padding-left: 10%!important; margin-top:-1rem!important;}


#calendar {
    -moz-user-select: none;
    border: 0px solid green;
    border-radius: 0.0rem;
    color: #333333;
    font-size: 1.8rem;
    margin: -10rem auto 0rem auto;
    padding: 0rem 0rem 4rem 5%!important;
    width: 95%;
}
#calendar .navigation {
    background-color: none;
    border: 0rem solid rgba(158,28,28,1.0);
    border-radius: 0;
    color: var(--text)!important;
    font-weight: bold;
    padding: 0rem 5% 2rem 5%;
    position: relative;
}
#calendar .navigation .title {
    background: none repeat scroll 0 0 transparent;
    border-color: rgba(0, 0, 0, 0);
    color: inherit;
    line-height: 1.8em;
    margin: 0rem 0rem 0rem 0rem;
    text-align: left;
}
#calendar .navigation .prev, #calendar .navigation .next {
    font-family: 'icomoon';
   height: 4.0rem;
    opacity: 1.0;
    position: absolute;
    top: 1.8rem;
    width: 4.0rem;
    background-color: transparent;
    margin-bottom:1rem;
    border-radius: 2px;
    z-index:1000;
    
}
#calendar .navigation .prev {
    left: 0rem;
    padding-top: 0rem;
    padding-left: 2rem;
}
#calendar .navigation .next {
    right: 0rem;
    padding-top: 0rem;
    padding-left: 0rem;
}

#calendar .navigation .prev:before {
    content: "\e929";
    opacity: 1!important;
    color: var(--zlata)!important;
}
#calendar .navigation .next:before {
    content: "\e92a";
    opacity: 1!important;
    color: var(--zlata)!important;
}

#calendar .navigation .prev:hover, #calendar .navigation .next:hover {
    opacity: 1;
   color: var(--zlata)!important;
}
#calendar table {width:100%; border-collapse:collapse; border: 0rem solid #F5F5F5; margin:0rem 0rem 0rem 0rem;  background-color: none; padding: 0rem 0rem 0rem 0rem!important}
#calendar table th {text-align:center; border: 0rem solid #F5F5F5;  background: none;  padding:1rem 1.0rem 1.5rem 1.0rem; color: var(--text); font-size: 1.8rem!important;}
#calendar table td {border: 0.0rem solid var(--text)!important; width:12%; text-align:center; background:none; margin:0rem; line-height:2; text-align: center; padding:2% 0% 2% 0%!important; position: relative; font-size: 100%!important;}
#calendar table tr{height: auto!important; padding:0rem 0rem!important; overflow: hidden; border-collapse: separate;}

td img{margin-top:1rem!important;}


#calendar table td a {
    background: transparent;
    color: var(--text04);
    display: block;
    width:4.5rem;
    height:4.5rem;
    text-decoration:none;
    padding-top: 0.3rem;
    margin: auto;
    border-radius:50%;
    border: 0.1rem solid var(--text04);  
    font-weight:400!important;
}



#calendar table td.current a {
    background: transparent;
    color: var(--text);
    display: block;
    text-decoration:none;
    margin: auto;
    border-radius:50%;
    border: 0.2rem solid var(--text);
    font-weight:800!important;  
}

.cal-p { display: block; position: absolute; top: 0rem; right: 1rem; background-color: var(--text04); color: var(--bila); font-size: 1.1rem; border-radius: 50%; width: 2.2rem; height: 2.2rem; }
.current .cal-p { display: block; position: absolute; top: 0rem; right: 1rem; background-color: var(--zlata); color: var(--bila); font-size: 1.1rem; border-radius: 50%; width: 2.2rem; height: 2.2rem;  font-weight:800!important; }
.today .cal-p { display: block; position: absolute; top: 0rem; right: 1rem; background-color: var(--zlata); color: var(--bila); font-size: 1.1rem; border-radius: 50%; width: 2.2rem; height: 2.2rem;  font-weight:800!important; }

#calendar table td a:hover {
    display: block;
    background-color: var(--text);
    text-decoration:none;
    border-radius:50%;
    text-decoration:none;
    margin: auto;
    color: var(--bila);
    border: 0.2rem solid var(--text);
}

#calendar table td.odkaz a {
    text-align:center;
    color: var(--text);
    background-color: var(--bila)!important;
    text-decoration:none;
    margin: auto;
    border: 0.2rem solid var(--text);
}

#calendar table td.odkaz a:hover {
    text-align:center;
    color: var(--cervena-m);
    border: 0.2rem solid var(--zlata);
     background-color: var(--zlata08)!important;
}


#calendar table td.today a {
    background:var(--text)!important;
    color:var(--bila);
    display: block;
    border-radius:50%;
    text-decoration:none;
    margin: auto;
    border: 0.2rem solid var(--text)!important;  
}
#calendar table td.today a:hover {
    display: block;
    background-color: var(--text);
    color:white;
    text-decoration:none;
    margin: auto;
    border: 0.2rem solid var(--text)!important;  
}

/*kalendar*/

		
.td_activ a{	background: none; color: #737373;display: block;  width:5rem;  height:5rem; border-radius:50%; padding:14%}
.td_activ a:hover{display: block;  width:5rem;  height:5rem;  background-color: rgba(0,0,0,0.5);  text-decoration:none; border-radius:50%; color: #fff;}

/*kalendar*/

.cal-p { display: block; position: absolute; top: 0rem; right: 1rem; background-color: var(--cerna03); color: var(--bila); font-size: 1.0rem; border-radius: 50%; width: 2.2rem; height: 2.2rem; padding-top:0.1rem;}
.current .cal-p { display: block; position: absolute; top: 0rem; right: 1rem; background-color: var(--zlata); color: var(--cerna); font-size: 1.0rem; border-radius: 50%; width: 2.2rem; height: 2.2rem; padding-top:0.1rem; }
.today .cal-p { display: block; position: absolute; top: 0rem; right: 1rem; background-color: var(--zlata); color: var(--cerna); font-size: 1.0rem; border-radius: 50%; width: 2.2rem; height: 2.2rem; padding-top:0.1rem;}

#calendar .navigation {
    padding: 2rem 5% 2rem 5%!important;
}

#calendar .navigation .prev, #calendar .navigation .next {
     top: 2.2rem;
}


@media screen and (max-width: 1250px) {
#calendar table td a {
    width:8.5rem!important;
    height:8.5rem!important;
    padding-top: 2rem!important;
}
.cal-p { display: block; position: absolute; top: 1rem; right: 1rem; background-color: var(--cerna03); color: var(--bila); font-size: 1.0rem; border-radius: 50%; width: 3.2rem; height: 3.2rem; padding-top:0.5rem;}
.current .cal-p { display: block; position: absolute; top: 1rem; right: 1rem; background-color: var(--zlata); color: var(--bila); font-size: 1.0rem; border-radius: 50%; width: 3.2rem; height: 3.2rem; padding-top:0.5rem;}
.today .cal-p { display: block; position: absolute; top: 1rem; right: 1rem; background-color: var(--zlata); color: var(--bila); font-size: 1.0rem; border-radius: 50%; width: 3.2rem; height: 3.2rem; padding-top:0.5rem;}

#calendar .navigation {
    padding: 10rem 5% 2rem 5%!important;
}

#calendar .navigation .prev, #calendar .navigation .next {
     top: 10.2rem;
}
}

@media screen and (max-width: 992px) {
#calendar table td a {
    width:6.5rem!important;
    height:6.5rem!important;
    padding-top: 1.5rem!important;
}
.cal-p { display: block; position: absolute; top: 1rem; right: 1rem; background-color: var(--cerna03); color: var(--bila); font-size: 1.0rem; border-radius: 50%; width: 2.2rem; height: 2.2rem; padding-top:0.0rem;}
.current .cal-p { display: block; position: absolute; top: 1rem; right: 1rem; background-color: var(--zlata); color: var(--bila); font-size: 1.0rem; border-radius: 50%; width: 2.2rem; height: 2.2rem; padding-top:0.0rem;}
.today .cal-p { display: block; position: absolute; top: 1rem; right: 1rem; background-color: var(--zlata); color: var(--bila); font-size: 1.0rem; border-radius: 50%; width: 2.2rem; height: 2.2rem; padding-top:0.0rem;}

#calendar .navigation {
    padding: 10rem 5% 2rem 5%!important;
}

#calendar .navigation .prev, #calendar .navigation .next {
     top: 10.2rem;
}
}



@media screen and (max-width: 640px) {
#calendar table td a {
    width:4.5rem!important;
    height:4.5rem!important;
    padding-top: 0.3rem!important;
}
.cal-p { display: block; position: absolute; top: 0rem; right: 1rem; background-color: var(--cerna03); color: var(--bila); font-size: 1.0rem; border-radius: 50%; width: 2.2rem; height: 2.2rem; padding-top:0.2rem;}
.current .cal-p { display: block; position: absolute; top: 0rem; right: 1rem; background-color: var(--zlata); color: var(--bila); font-size: 1.0rem; border-radius: 50%; width: 2.2rem; height: 2.2rem; padding-top:0.2rem;}
.today .cal-p { display: block; position: absolute; top: 0rem; right: 1rem; background-color: var(--zlata); color: var(--bila); font-size: 1.0rem; border-radius: 50%; width: 2.2rem; height: 2.2rem; padding-top:0.2rem;}

#calendar .navigation {
    padding: 10rem 5% 2rem 5%!important;
}

#calendar .navigation .prev, #calendar .navigation .next {
     top: 10.2rem;
}
}


