.board .nav-tabs{
    position: relative;
    margin: 40px auto 0px auto;
    box-sizing: border-box;
}

.board {
    width: 112%;
    margin: -42px 0 0 -23px;
    height: 100%;
    background: #fff;
}

.board > div.board-inner{
    background: url(/3rdparty/test-modalbox/img/krajinka2.png) no-repeat;
    background-size: 163%;
    background-position: bottom -54px right -12px;
    box-shadow: 8px 14px 12px #dddddd45;
}

p.narrow{
    width: 60%;
    margin: 10px auto;
}

.liner{
    height: 2.5px;
    background: rgb(255, 255, 255);
    box-shadow: -15px 1px 6px 0px rgb(40 166 175);
    position: absolute;
    width: 80%;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 50%;
    z-index: 1;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    color: #ae3583;
    cursor: default;
    /* background-color: #ffffff; */
    border: 0;
    border-bottom-color: transparent;
}

span.round-tabs{
    width: 70px;
    height: 70px;
    line-height: 70px;
    display: inline-block;
    border-radius: 100px;
    background: white;
    z-index: 2;
    position: absolute;
    left: 0;
    text-align: center;
    font-size: 25px;
}

span.round-tabs.one{
    color: rgb(40,166,175);
    border: 3px solid rgb(40,166,175);
}

li.active span.round-tabs.one{
    background: #fff !important;
    border: 0px solid #ae3583;
    color: #ae3583;
    box-shadow: 0px 1px 3px #8b8b8b;
}

span.round-tabs.two{
    color: rgb(40,166,175);
    border: 3px solid rgb(40,166,175);
}

li.active span.round-tabs.two{
    background: #fff !important;
    border: 0px solid #ae3583;
    color: #ae3583;
    box-shadow: 0px 1px 3px #8b8b8b;
}

span.round-tabs.three{
    color: rgb(40,166,175);
    border: 3px solid rgb(40,166,175);
}

li.active span.round-tabs.three{
    background: #fff !important;
    border: 0px solid #ae3583;
    color: #ae3583;
    box-shadow: 0px 1px 3px #8b8b8b;
}

span.round-tabs.four{
    color: rgb(40,166,175);
    border: 3px solid rgb(40,166,175);
}

li.active span.round-tabs.four{
    background: #fff !important;
    border: 0px solid #ae3583;
    color: #ae3583;
    box-shadow: 0px 1px 3px #8b8b8b;
}

/* span.round-tabs.five{
    color: rgb(40,166,175);
    border: 3px solid rgb(40,166,175);
}

li.active span.round-tabs.five{
    background: #fff !important;
    border: 3px solid #ae3583;
    color: #ae3583;
} */

.nav-tabs > li.active > a span.round-tabs{
    background: #fafafa;
}

.nav-tabs > li {
    width: 20%;
}

li.active:before {
    content: " ";
    position: absolute;
    left: 45%;
    opacity:0;
    margin: 0 auto;
    bottom: -2px;
    border: 10px solid transparent;
    border-bottom-color: rgb(255, 255, 255);
    z-index: 1;
    transition:0.2s ease-in-out;
}

.nav-tabs > li:after {
    content: " ";
    position: absolute;
    left: 45%;
    opacity:0;
    margin: 0 auto;
    bottom: 0px;
    border: 5px solid transparent;
    border-bottom-color: #ddd;
    transition:0.1s ease-in-out;
}

.nav-tabs > li.active:after {
    content: " ";
    position: absolute;
    left: 45%;
    opacity:1;
    margin: 0 auto;
    bottom: 0px;
    border: 10px solid transparent;
    border-bottom-color: #ddd;
}

@keyframes animate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

.nav-tabs > li.active:after {
    margin: 0 0 14px -36px;
    width: 82px;
    height: 82px;
    border-radius: 5rem;
    border: 2px solid rgb(255, 255, 255);
    background: linear-gradient(#ae3583, #eeeeee, #29a0a8);
    /* background: linear-gradient(#ff740f, #eeeeee, #29a0a8); */
    box-shadow: 0px 0px 100px -50px black;
    /* box-shadow: 5px solid black; */
    animation: animate 8s linear infinite;
}


.nav-tabs > li a{
   width: 70px;
   height: 70px;
   margin: 20px auto;
   border-radius: 100%;
   padding: 0;
}

.nav-tabs > li a:hover{
    color: #ae3583;
    /* background: transparent; */
}

.tab-pane{
    position: relative;
    padding-top: 30px;
    padding-bottom: 0px;
}

.tab-content .head{
    font-size: 25px;
    text-transform: uppercase;
    padding-bottom: 10px;
}

.btn-outline-rounded{
    padding: 10px 40px;
    margin: 20px 0;
    border: 2px solid transparent;
    border-radius: 25px;
}

.btn.green{
    background-color:rgb(40,166,175);
    /*border: 2px solid #5cb85c;*/
    color: #ffffff;
}


@media( max-width : 585px ){
    
    .board {
        width: 100%;
        height:auto !important;
    }

    span.round-tabs {
            font-size:16px;
            width: 50px;
            height: 50px;
            line-height: 50px;
        }
    .tab-content .head{
            font-size:20px;
            }

    .nav-tabs > li a {
            width: 50px;
            height: 50px;
            line-height:50px;
    }
    
    .nav-tabs > li:after {
        left: 42%;
    }
    
     .nav-tabs > li.active:after {
        left: 42%;
    }

    .btn-outline-rounded {
        padding:12px 20px;
        }

    .section {
        background: #ffffff;
    }

    .nav-tabs > li.active:after {
        margin: 0px 0 15px -22px;
        width: 60px;
        height: 60px;
        border-radius: 5rem;
        border: 1px solid rgb(255, 255, 255);
        background: linear-gradient(#ae3583, #eeeeee, #29a0a8);
        /* background: linear-gradient(#ff740f, #eeeeee, #29a0a8); */
        box-shadow: 0px 0px 100px -50px black;
        /* box-shadow: 5px solid black; */
        animation: animate 8s linear infinite;
    }

}

.i0 {
    left: 2px;
}
.i2 {
    top: 2px;
}
.i1, .i3 {
    left: -1px;
}
.i4 {
    left: 1px;
    top:2px;
}


#chartCanvas-teplotaObec,
#chartCanvas-teplotaOkres,
#chartCanvas-teplotaKraj,
#chartCanvas-teplotaSR {
    margin-bottom: -45px;
}



.nav-tabs>li {
    margin-bottom: -1px !important;
    margin-left: 18px;
}


.board .nav-tabs {
    /* margin-top: 20px; */
    box-shadow: -2px 4px 7px -2px rgb(0 0 0 / 20%);
}