#calendar h3	{padding:0rem 3rem; font-size: 2.5rem; color: var(--text); line-height: 1.5; text-align: center;}

/* calendar styles */
#calendar {
    -moz-user-select: none;
    border: 0px solid green;
    border-radius: 0.0rem;
    color: #333333;
    font-size: 1.8rem;
    margin: -8.5rem auto 0rem auto;
    padding: 0rem 0rem 4rem 0rem!important;
    width: 90%;
    
}
#calendar .navigation {
    background-color: none;
    border: 0rem solid rgba(158,28,28,1.0);
    border-radius: 0;
    color: var(--tmava);
    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.2rem;
    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(--text);
}
#calendar .navigation .next:before {
    content: "\e92a";
    opacity: 1!important;
    color: var(--text);
}

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



#calendar table td a {
    background: transparent;
    color: var(--stredni);
    display: block;
    width:4.5rem;
    height:4.5rem;
    text-decoration:none;
    padding-top: 0.3rem;
    margin: auto;
    border-radius:50%;
    border: 0.2rem solid var(--stredni);  
}



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

.cal-p { display: block; position: absolute; top: 0rem; right: 1rem; background-color: var(--stredni); 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(--tmava); color: var(--bila); font-size: 1.1rem; border-radius: 50%; width: 2.2rem; height: 2.2rem; }
.today .cal-p { display: block; position: absolute; top: 0rem; right: 1rem; background-color: var(--tmava); color: var(--bila); font-size: 1.1rem; border-radius: 50%; width: 2.2rem; height: 2.2rem; }

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

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

#calendar table td.odkaz a:hover {
    background:var(--cervena)!important;
    color: var(--bila)!important;
    border: 0.2rem solid var(--bila);
}


#calendar table td.today a {
    background:var(--cervena)!important;
    color:var(--bila);
    display: block;
    border-radius:50%;
    text-decoration:none;
    margin: auto;
    font-weight: 800!important;  
}
#calendar table td.today a:hover {
    display: block;
    background-color: var(--tmava);
    color:white;
    text-decoration:none;
    margin: auto;
    font-weight: 800!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*/

@media screen and (max-width: 1230px) {

#calendar {padding: 3rem 0rem 4rem 0%!important; width: 100%!important;    margin: 4rem auto 0rem auto;}

#calendar table td a {
    width:12.5rem;
    height:12.5rem;
    padding-top: 4.0rem;
}
.cal-p { display: block; position: absolute; top: 2rem; right: 1rem; background-color: var(--stredni); color: var(--bila); font-size: 1.0rem; border-radius: 50%; width: 2.2rem; height: 2.2rem; padding-top:0.3rem;}
.current .cal-p { display: block; position: absolute; top: 2rem; right: 1rem; background-color: var(--tmava); color: var(--bila); font-size: 1.0rem; border-radius: 50%; width: 2.2rem; height: 2.2rem; padding-top:0.3rem;}
.today .cal-p { display: block; position: absolute; top: 2rem; right: 1rem; background-color: var(--tmava); color: var(--bila); font-size: 1.0rem; border-radius: 50%; width: 2.2rem; height: 2.2rem; padding-top:0.3rem;}

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

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

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

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

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


@media screen and (max-width: 775px) {
#calendar table td a {
    width:6.5rem;
    height:6.5rem;
    padding-top: 10%!important;
}
.cal-p { display: block; position: absolute; top: 1rem; right: 1rem; background-color: var(--stredni); 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: 1rem; right: 1rem; background-color: var(--tmava); 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: 1rem; right: 1rem; background-color: var(--tmava); 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;
}
}

@media screen and (max-width: 640px) {
#calendar table td a {
    width:4.5rem;
    height:4.5rem;
    padding-top: 1.3rem;
}
.cal-p { display: block; position: absolute; top: 0rem; right: 1rem; background-color: var(--stredni); 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(--tmava); color: var(--bila); 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(--tmava); color: var(--bila); font-size: 1.0rem; border-radius: 50%; width: 2.2rem; height: 2.2rem; padding-top:0.1rem;}

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

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


