.kb-title {
    padding-bottom: 0 !important;
}

.kb-search {
    color: #fff;
    background-color: #113a5f;
    padding: 15px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.kb-search img{
    height: 24px;
}

.kb-search input{
    display: inline-block;
    flex-grow:1;
    width: auto;
}

.kb-search-error {
    padding-top: 10px;
    flex-basis: 100%;
    display: none;
}

.kb-filters {
    color: #fff;
    background-color: #113a5f;
    padding: 10px 10px 30px 10px;
    transition: all .5s ease-in-out;
    display: grid;
    grid-template-columns: repeat(auto-fill, 22%);
    justify-content: space-around;
    gap: 20px 0;
}



.kb-comment {
    color: #fff;
    background-color: #113a5f;
    padding: 15px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.kb-comment img{
    height: 24px;
}

.kb-comment input{
    display: inline-block;
    flex-grow:1;
    width: auto;
}

.kb-comment-error {
    padding-top: 10px;
    flex-basis: 100%;
    color: red;
}

.kb-comments h3 {
    font-weight: bolder;
    margin-bottom: 0;
}

.kb-comment-user {
    font-weight: bold;
    margin-bottom: 5px;
    display: inline;
}

.kb-comment-date {
    margin-bottom: 5px;
    display: inline;
}

.kb-comment-user > span {
    font-weight: normal;
}

.kb-comment-text {
    font-style: italic;
    padding-left: 20px;
    margin: 0 0 5px 0;
}

.kb-comment-user.admin {
    padding-left: 40px;
    margin: 0 0 5px 0;
}

.kb-comment-text.admin {
    padding-left: 60px;
}

.kb-comments-hr {
    margin: 30px 0;
}

.kb-comment-sent {
    color: #fff;
    background-color: #F65159;
    padding: 15px 30px;
    margin-bottom: 20px;
}

@media (max-width: 787px){
    .kb-filters {
        grid-template-columns: repeat(auto-fill, 44%);
    }
}

@media (max-width: 600px){
    .kb-filters {
        grid-template-columns: repeat(auto-fill, 100%);
    }
}


.kb-categories {
    color: #fff;
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-gap: 10px;
    justify-content: space-around;
}

@media (max-width: 787px){
    .kb-categories {
        grid-template-columns: auto auto;
    }
}

@media (max-width: 600px){
    .kb-categories {
        grid-template-columns: repeat(auto-fill, 100%);
    }
}

.kb-category {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    cursor: pointer;
    padding: 20px;
    /*margin-bottom: 20px;*/
    flex-basis: 100%;
    opacity: 0.85;
}

@media (min-width: 788px) {
    .kb-category {
        /*flex-basis: 30%;*/
    }
}

@media (min-width: 1240px) {
    .kb-category {
        /*flex-basis: 22%;*/
        min-height: 170px;
    }
}

.kb-category.selected {
    opacity: 1;
    outline: solid 2px #fff;
}

.kb-category:hover {
    opacity: 1;
}

a.kb-category {
    text-decoration: none;
}

.kb-category img {
    width: 70px;
    height: auto;
    padding-bottom: 5px;
    /* display: block; */
    margin: 0 auto;
}
.kb-category h3 {
    padding: 0;
    margin: 0;
    /* flex: 1; */
    font-weight: 500;
    text-align: center;
    width: 100%;
}






.text-center {
    text-align: center;
}


.kb-block a {
    display: flex;
    background-color: #5584ff;
    color: #fff;
    transition: background-color .2s;
    align-items: center;
    padding: 2.625em 2.25em;
    height: 100%;
    text-decoration: none;
}

.kb-block a:hover {
    background-color: #113a5f;
}

.kb-block.light a {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
}

.kb-block.light a:hover {
    background-color: #ddd;
}

.kb-block.motivation a {
    background-color: #ECA809;
    border-bottom: 5px solid #ECA809;
    color: #fff;
}

.kb-block.motivation a:hover {
    background-color: #563c09;
}

.kb-block.video a {
    background-color: #5584ff;
    color: #fff;
}

.kb-block.video a:hover {
    background-color: #113a5f;
}

.kb-block.infographic a {
    background-color: #6B9B46;
    color: #fff;
}

.kb-block.infographic a:hover {
    background-color: #334820;
}

.kb-block.scorm a {
    background-color: #ECA809;
    color: #fff;
}

.kb-block.scorm a:hover {
    background-color: #563c09;
}

.kb-block-image:hover{
    opacity: 0.9;
}

.kb-block-image {
    display: block;
    width: 400px;
    height: 250px;
    background-size: cover;
    background-position: center center;
    position: relative;
}

.kb-block-image.vertical {
    width: 100%;
    min-height: 200px;
}

.kb-block-image.fluid {
    width: 100%;
}

/*plava: 5584ff  scorm*/
/*crvena: F65159 video*/
/*zelena: 6B9B46 info*/
/*zuta: ECA809 motivation*/

.kb-block-image.video {
    background-color: #F65159;
    border-bottom: 5px solid #F65159;
}

.kb-block-image.infographic {
    background-color: #6B9B46;
    border-bottom: 5px solid #6B9B46;
}

.kb-block-image.scorm {
    background-color: #5584ff;
    border-bottom: 5px solid #5584ff;
}

.kb-block-image.motivation {
    background-color: #ECA809;
}

.kb-block-image > .kb-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    color: white;
    background: rgba(0,0,0,.5);
}

.kb-block-image > .kb-caption h4 {
    line-height: 1;
    font-size: 1.375em;
    font-weight: 600;
    margin-bottom: 0;
}

.kb-block-image > .kb-caption div {
    margin-top: .375em;
}





.kb-block figure{
    position: relative;
    flex: 0 0 50px;
    margin-right: 20px;
    font-size: 60px;
}

.kb-block h4 {
    line-height: 1;
    font-size: 1.375em;
    margin-bottom: .375em;
}


.kb-block a:hover {
    background-color: #113a5f;
}

.kb-theme a {
    display: flex;
    color: #fff;
    transition: opacity .2s;
    align-items: center;
    padding: 2.625em 2.25em;
    height: 100%;
    text-decoration: none;
}

.kb-theme a:hover {
    opacity: 0.9;
}

.kb-theme h4 {
    line-height: 1;
    font-size: 1.375em;
    margin-bottom: .375em;
}

.kb-theme img{
    position: relative;
    flex: 0 0 50px;
    margin-right: 20px;
    max-width: 80px;
    max-height: 80px;
}



.owl-nav {
    font-size: 60px
}

.owl-prev, .owl-next {
    color: #5584ff !important;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    display: block !important;
}
.owl-prev { left: -25px; }
.owl-next { right: -25px; }
.owl-prev i, .owl-next i {transform : scale(2,5); color: #ccc;}

@media (max-width: 1200px){
    .owl-prev { left: -20px; }
    .owl-next { right: -20px; }
}

@media (max-width: 787px) {
    .kb-block a > div {
        flex: 0 0 70%;
    }
}

.kb-container h2{
    text-align: center;
    margin-bottom: 2rem;
}


.kb-themes-list {
    display: grid;
    margin: 10px 0 0;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px 12px;
}


@media (max-width: 787px){
    .kb-themes-list {
        grid-template-columns: repeat(auto-fill, 100%);
    }
}

.kb-motivation-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, 100%);
    grid-gap: 20px;
}

@media (min-width: 788px) and (max-width: 1199px){
    .kb-motivation-list {
        grid-template-columns: repeat(auto-fill, 48%);
    }
}

.kb-main, .kb-side {
    margin-bottom: 60px;
}


@media (min-width: 1200px){

    .kb-container {
        display: flex;
        align-items: flex-start;
    }

    .kb-main {
        flex: 7;
        margin-right: 30px;
    }

    .kb-side {
        flex: 3;
    }

    .kb-container h2,
    .kb-container-index h2{
        text-align: left;
    }

    .kb-container-index {
        display: grid;
        grid-template-columns: 70% auto;
        grid-gap: 50px;
    }

}

.kb-accordion {
    background-color: #5584ff;
    color: #fff;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    margin-bottom: 10px;
}

.kb-accordion:after {
    content: '\002B';
    color: #fff;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.kb-acc-active:after {
    content: "\2212";
}

.kb-acc-active, .kb-accordion:hover {
    background-color: #113a5f;
}

.kb-panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin-bottom: 10px;
}

.kb-infographic-list{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}

@media (max-width: 1200px){
    .kb-infographic-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px){
    .kb-infographic-list {
        grid-template-columns: repeat(1, 1fr);
    }
}

.kb-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.kb-list-header {
    padding-bottom: 5px;
    display: inline-block;
}

.kb-scorm-header {
    border-bottom: 5px solid #ECA809;

}

.kb-video-header {
    border-bottom: 5px solid #5584ff;
}

.kb-infographic-header {
    border-bottom: 5px solid #6B9B46;
}

.kb-rating > div {
    width: 55px;
    height: 35px;
    display: inline-block;
    cursor: pointer;
    padding-left: 35px;
    position: relative;
    padding-top: 6px;
    background-size: 25px 25px;
    opacity: 0.6;
}

.kb-rating > div.active {
    opacity: 1;
}

.kb-like {
    background: url('../images/kb-like.svg') no-repeat;
}

.kb-dislike {
    background: url('../images/kb-dislike.svg') no-repeat;
    background-position-y: 5px;
}

.link-e-uprava {
    background: #09253e url("../images/icon-euprava.png") no-repeat left center;
    height: 46px;
    width: 100%;
    color: #fff;
    border: 3px solid #09253e;
    border-top-right-radius: .25em;
    border-bottom-right-radius: .25em;
}

.link-e-uprava:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.template-1 {

}
.template-2 {
    column-count: 2;
    column-gap: 20px;
}
.template-3 {
    column-count: 3;
    column-gap: 20px;
}