.publication-block {
    display: inline-grid;
    padding: 0px;/* height: auto; */
    /* width: auto; */
    float: none;
    vertical-align: top;
    margin-bottom: 0px;
}

.thumbnail {
    overflow: hidden;
    padding: 0px;
    /* border: 2px solid #ddd; */
}

.thumbnail a {
    text-decoration: none;
}

.thumbnail .image-container {
    cursor: pointer;
    position: relative;
    /* display: block; */
    margin-top: 15px;
    /* width: 100%; */
    /* height: 80%; */
    text-align: center;
    overflow: hidden;
}

img {
    width: 100%;
    height: auto;
}

.thumbnail {
    display: block;
    padding: 4px;
    line-height: 20px;
    border: 0px solid #ddd;
    border-radius: 0px;
    box-shadow: 0px 0px 10px 5px rgb(0 0 0 / 3%);
    transition: all 0.2s ease-in-out;
text-align: center;}

.thumbnail:hover {
    box-shadow: 0px 0px 5px 7px rgb(4 117 111 / 5%), 0px 3px 1px 0px rgb(46 46 58 / 10%);
background-color: white;}

.thumbnail img {
    /* min-width: 50%; */
    /* max-width: 100%; */
    -ms-interpolation-mode: bicubic;
    height: auto;
    width: auto;
    max-height: 100%;
    max-width: 150px;
    border: 0;
}

.thumbnail.category-item:hover .open-sign {
    display: block;
}

.thumbnail.category-item[courseenabledforregistered="false"] {
    opacity: 0.4;
}


.thumbnail.course-item:hover .play-sign {
    display: block;
}

.thumbnail.course-item[status="0"] {
    opacity: 0.5;
}

.thumbnail.course-item[courseenabledforregistered="false"] {
    opacity: 0.4;
}


.publication-block .thumbnail .course-status {
    color: white;
    background-color: #3299f0;
    /*padding: 5px;
    position: absolute;
    bottom: -10px;
    left: -1px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    text-decoration: none;
    width: calc(100% + 2px);
    text-align: center;
    line-height: 11px;
    height: 20px;*/
}


.publication-block[coursestatus="passed"] .thumbnail .course-status {
    background-color: #0DAB12;
}

.publication-block[coursestatus="failed"] .thumbnail .course-status {
    background-color: #FF0000;
}

.publication-block[coursestatus="incomplete"] .thumbnail .course-status {
    background-color: #FF0000;
    /*background-color: #F7A001;*/
}

.publication-block .thumbnail.course-item[status="0"] .course-status {
    background-color: #337AB7;
}

.play-sign {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-image: url('img/play_content_portal.png');
    background-position: 50% 50%;
    background-repeat: no-repeat;

    filter: sepia(1) brightness(0.9) contrast(1.2) hue-rotate(130deg);
    /* -webkit-animation-name: play-sign; */
    animation: play-sign .5s;
    pointer-events: none;
}

@-webkit-keyframes play-sign {
    0% {
        -webkit-transform: scale(1.95);
        transform: scale(1.95);
        opacity: 0;
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1.00);
        transform: scale(1.00);
    }
}

@keyframes play-sign {
    0% {
        transform: scale(1.95);
        opacity: 0;
    }

    ;

    100% {
        transform: scale(1.00);
        opacity: 1;
    }
}

.thumbnail .caption {
    padding: 0px;
    color: #555555;
}



.thumbnail-caption {
    display: none;
}

.caption>h3 {
    text-align: center;
}

.portal-content-image {
    position: relative;
    display: block;
    height: 200px;
    width: 100%;
    cursor: pointer;
    margin: 0 auto;
    max-width: 250px;
    overflow: hidden;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
    background-repeat: no-repeat;
    background-position: center;
    /* background-size: contain; */
}

.thumbnail:hover .portal-content-image {
    /* transform: scale(1.1); */
filter: saturate(2);}

.thumbnail .pub-status {
    font-size: 13px;
    margin: 0px;
    border-top: 1px solid #ccc;
    padding: 0px 10px;
    color: #fff;
    text-align: center;
}

.thumbnail .pub-status[status="passed"] {
    background-color: #468847;
}

.thumbnail .pub-status[status="failed"] {

    background-color: #a94442;
}

.thumbnail .pub-status[status="notstarted"] {

    background-color: #c09853;
}

.thumbnail .pub-status[status="incomplete"] {

    background-color: #c09853;
}

@media (min-width: 768px) {
    .publication-block.col-md-4 {
        width: calc(50% - 0px)  !important;
        /* padding: 2px; */
    }
}

@media (min-width: 992px) {
    .publication-block.col-md-4 {
        width: calc(33.3% - 0px) !important;
        /* padding: 2px; */
    }
}

@media (min-width: 1200px) {
    .publication-block.col-md-4 {
        width: calc(25% - 0px) !important;
        /* padding: 2px; */
    }
}


.courses-to-require {
    display: none;
    position: absolute;
}

.courses-to-require-list {
    list-style-type: none;
    margin: 0;
    padding: 5px;
    width: 100%
}

.courses-to-require-item {
    margin: 2px;
    padding: 5px;
}

.courses-to-require-item a {}

.to-requirement-list-icon {
    width: 40px;
    margin: 0px 5px;
    height: 40px;
    background-size: cover;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-position: 50% 50%;
    vertical-align: middle;
}



@media(max-width: 1220px) {
    .thumbnail .caption h3 {
        font-size: 16px;
    }
}

.publication-block .thumbnail {
    /* width: 100%; */
    /* height: 100%; */
    min-height: 200px;
    position: relative;
    padding: 0px;
}

.status-wrapper {
    text-align: center;
    border-top: 1px dotted #ccc;
    padding: 0px;
    line-height: 35px;
}

.status-wrapper div {
    padding: 0px;
}

.status-wrapper .points-to-get {
    border-right: 1px dotted #ccc;
}

.status-wrapper .points-to-get .fa-star-o {
    vertical-align: middle;
    font-size: 20px;
    font-style: bold;
}

.popover {
    padding: 0px;
}

.popover-title {
    background-color: #2e2e3a;
    box-shadow: 0 0px 5px -5px rgb(151, 151, 151), inset 0 6px 20px -5px rgba(0, 0, 0, 0.35);
    color: #fff;
}

.has-other-requirements {
    font-size: 12px;
    font-style: italic;
}


.course-requirements {

    background-image: url(img/puzzel.png);
    background-repeat: no-repeat;
    background-size: 25px 25px;
    background-position: 0px 0px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    margin: 2px;
}

.course-description-button {
    cursor: pointer;
}

.thumbnail .caption .categoryName, .thumbnail .caption .courseName {
    color: #2e2e3a;
    font-weight: 600;
    font-size: 18px;
    overflow: hidden;
    margin: 0px 0px 0px 0px;
    line-height: 20px;
    box-sizing: border-box;
    word-wrap: break-word;
    height: 42px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.thumbnail .caption .categorySubname, .thumbnail .caption .courseSubname {
    color: #04433f;
    font-weight: 450;
    font-size: 14px;
    overflow: hidden;
    margin: 0px 0px 10px 0px;
    line-height: 18px;
    box-sizing: border-box;
    word-wrap: break-word;
    height: 36px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.category-description {
    /* font-size:16px; */
}

.category-description h1, #tinymce h1 {
    font-size: 1.6em;
    margin: 0.5em 0;
    font-weight: 600;
color: #2f2c38;}

.category-description h2, #tinymce h2 {
    font-size: 1.5em;
    margin: 0.4em 0;
}

.category-description h3, #tinymce h3  {
    font-size: 1.3em;
    margin: 0.3em 0;
}

.category-description h4, #tinymce h4  {
    font-size: 1.2em;
    margin: 0.2em 0;
}

.category-description h5, #tinymce h5  {
    font-size: 1.1em;
    margin: 0.1em 0;
}
.category-description p, #tinymce p  {
    font-weight: normal;
    font-size: 1em;
}
h3.coursename {
    text-align: center;
}