#training-hub {
    display: inline-flex;
    justify-content: center;
    padding: 3.75rem 1.875rem;
    background:#D0D7DE;
}

#training-hub .grid-block {box-shadow: 0px 2px 8px rgb(0,0,0,0.1);}

#training-hub .user-content {    
    justify-content: center;
    display: inline-flex;
    padding: 0;
}

.learndash-course-grid  {
    padding: 1.875rem;
}

.learndash-course-grid {
   max-width:1440px;
   width:100%;
}

.learndash-course-grid .items-wrapper.jig {
    display: grid;
    grid-template-columns: repeat( 3, minmax( 0, 1fr ) )!important;
    column-gap: 30px;
    row-gap: 30px;
    margin-top: 30px;
}

.learndash-wrapper .grassblade {
    background-color: #f0f3f6;
    display: inline-flex;
    justify-content: center;
    width: 100%;
    border-radius: 5px;
}

.learndash-wrapper .grassblade a.grassblade_launch_link {
    background: #0E9DDA;
    z-index: 20;
    border-radius: 0;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 2px 5px 12px rgb(43 114 255 / 40%);
    border: none;
    line-height: 1em;
    padding: 16px 20px;
    color: #fff;
    width: auto;
    display: inline-flex;
    margin: 0.9375rem 0;
    text-decoration: none;
    padding:0.9375rem 1.875rem;
}

/*------- Cards --------*/



.grid-block {
    display: inline-flex;
    height: 100%;
    width: 100%;
    padding: 0.9375rem;
    border:0;
    background: #fff;
    box-shadow: 0px 12px 24px rgb(43 114 255 / 20%);
}


.grid-block .entry-title a {
    color: #1A3C6F;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    font-size: 30px;
    line-height: 1em;
    font-family: houschka-pro, arial, sans-serif;
}


.grid-block .course-price {
    margin: 0 5px 5px 0;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.grid-block .course-price div {
    padding: 8px 0.9375rem;
    background: #1A3C6F;
    margin: 0;
    width: auto;
}

.grid-block .course-price .public-price {margin:0;}
.grid-block .course-price .member-price {margin-top:5px;}

.grid-block .course-price span {font-size: 12px;}

.grid-block .course-price.blue div {background:#0E9DDA;}

.grid-block .course-duration {
    color: #1A3C6F;
    text-decoration: none;
    font-weight: bold;
    margin: 0 0 0.9375rem 0;
}

.learndash-course-grid .items-wrapper.jig .item {
    
    display: inline-flex;
    width: 100%;
}

.learndash-course-grid .items-wrapper.jig .item article {width:100%;}

.learndash-course-grid .items-wrapper.jig .item .content .entry-content {
    float: none;
    margin: auto;
    width: auto;
}

.learndash-course-grid .items-wrapper.jig .item .content .entry-content p {margin:0;}

.learndash-course-grid .items-wrapper .item .grid-block .post {
    width:100%;
    border:0!important;
}

.learndash-course-grid .items-wrapper .item .grid-block .ribbon {
    position: relative;
    top: auto;
    right: auto;
    text-align: center;
    border-radius: 5px;
    margin: 5px 0;
    background-color: #143f5e;
}

.learndash-course-grid .items-wrapper .content {
    width:100%;
    padding: 0 1.875rem 0 0;
}

.learndash-course-grid .items-wrapper .content .button a {
    color:#0E9DDA;
    font-weight:bold;
}

.learndash-course-grid .items-wrapper .thumbnail {
    max-width:250px;
    width:100%;
}

.learndash-course-grid .items-wrapper .thumbnail img {width:100%;}

@media only screen and (max-width: 64.63em) {
    .learndash-course-grid .items-wrapper.jig { grid-template-columns: repeat( 1, minmax( 0, 1fr ) )!important;}
}

@media only screen and (max-width: 40.63em) {
    .grid-block {flex-wrap: wrap;}

    .learndash-course-grid .items-wrapper .thumbnail {
        width:100%;
        max-width:100%;
        margin:1.875rem 0 0 0;
    }

    .learndash-course-grid .items-wrapper .thumbnail img {width:100%;}
}



/*------ Filter ------*/

.learndash-course-grid .learndash-course-grid-filter {
	display: inline-flex;
    position: relative;
    width: 100%;
    max-width: 100%;
    border:0;
    right: auto;
    margin-top: 10px;
    background: none;
    padding:0;
}

.learndash-course-grid .learndash-course-grid-filter .filter-wrapper {
	width:100%;
    display: none;
}

.learndash-course-grid .learndash-course-grid-filter .filter-wrapper form {
    display: inline-flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 0.9375rem;
}

.learndash-course-grid-filter .filter.search {
    display: inline-flex;
    flex-wrap: wrap;
    order: 2;
    width: 100%;
    max-width: calc(50% - 0.9375rem);
}

.learndash-course-grid-filter .filter.search input {
    min-height: 50px;
    border-radius: 0;
    padding: 10px;
}

.learndash-course-grid-filter .filter.taxonomies {
    display: inline-flex;
    flex-wrap: wrap;
    order: 1;
    width: 100%;
    margin:0;
}

.learndash-course-grid .learndash-course-grid-filter .taxonomies-wrapper {
    width:100%;
}

.learndash-course-grid .learndash-course-grid-filter .taxonomies label {
    font-weight: bold;
    width: 100%;
    width: 100%;
    display: inline-flex;
}

.learndash-course-grid-filter .buttons {
    display: inline-flex;
    order: 3;
    width: 100%;
    justify-content: flex-end;
    max-width: calc(50% + 0.9375rem);
    align-items: center;
    margin-top: 20px;
}

.learndash-course-grid-filter .buttons .button {
    width: 100%;
    display: inline-flex;
    max-width: 150px;
    margin-left: 0.9375rem;
    border-radius:0;
    min-height: 50px;
}

.learndash-course-grid .learndash-course-grid-filter .search label,
.learndash-course-grid .learndash-course-grid-filter .price label,
.learndash-course-grid .learndash-course-grid-filter .buttons label {
    font-weight:bold;
}


.learndash-course-grid-filter .taxonomies-wrapper .terms {
    padding: 0;
    display: inline-flex;
    width: calc(100% + 1.875rem);
    max-height: initial;
    overflow: unset;
    margin: 0 -0.9375rem;
    justify-content: center;
}

.learndash-course-grid-filter .taxonomies-wrapper .terms li {
    display: inline-flex;
    width:100%;
    margin: 0 0.9375rem;
}

.learndash-course-grid-filter .taxonomies-wrapper .terms label {
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    padding: 8px;
    background: #fff;
    
    border-radius: 0;
    color: #4C91FE;
    transition: all ease-out 0.3s;
    text-decoration: none;
    align-items: center;
    line-height: 1em;
    min-height: 50px;
    height: 100%;
    display: inline-flex;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    justify-content: center;
    position: relative;
}

/* hide default checkbox */
.learndash-course-grid-filter .taxonomies-wrapper .terms label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    z-index:-1;
    
}

/* Create a custom checkbox */
.learndash-course-grid-filter .taxonomies-wrapper .terms label .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: all ease-in-out 0.4s;
    border: 2px solid #0E9DDA;
    color:#0E9DDA;
}

/* On mouse-over, add a grey background color */
.learndash-course-grid-filter .taxonomies-wrapper .terms label:hover input ~ .checkmark {
    background-color: #f7f7f7;
    cursor: pointer;
  }
  
  /* When the checkbox is checked, add a blue background */
  .learndash-course-grid-filter .taxonomies-wrapper .terms label input:checked ~ .checkmark {
    background-color: #0E9DDA;
    border-color:#0E9DDA;
    color:#fff;
    box-shadow: 0px 2px 8px rgb(0 0 0 / 10%);
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .learndash-course-grid-filter .taxonomies-wrapper .terms label:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .learndash-course-grid-filter .taxonomies-wrapper .terms label input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .learndash-course-grid-filter .taxonomies-wrapper .terms label .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

.learndash-course-grid-filter .buttons .button.blue:hover {
    background: #1A3C6F;
    border-color: #1A3C6F;
}
.learndash-course-grid-filter .buttons .button.blue {
    color: #ffffff;
    background-color: #1A3C6F;
    border-color: #1A3C6F;
}

.toggle-filter  {
    position: absolute;
    top: 0;
    padding: 8px 0.9375rem;
    color: #fff;
    background: #4C91FE;
    font-size: 20px;
    font-weight: 600;
    align-self: flex-start;
    display: inline-flex;
    left: 1.875rem;
    border: 0;
}

.toggle-filter:hover {
    background: #4C91FE;
    border-color: #4C91FE;
    box-shadow: 2px 5px 12px rgb(43 114 255 / 40%);
}

@media only screen and (max-width: 80.63em) {
    .learndash-course-grid-filter .taxonomies-wrapper .terms {flex-wrap: wrap;}

    .learndash-course-grid-filter .taxonomies-wrapper .terms li {
        width: auto;
        min-width: 140px;
        margin-bottom:10px;
    }

    .learndash-course-grid-filter .taxonomies-wrapper .terms label {min-height:40px;}
}

@media only screen and (max-width: 50.63em) {
    .learndash-course-grid-filter .taxonomies-wrapper .terms {
        margin:0 -10px;
        width: calc(100% + 20px);
    }

    .learndash-course-grid-filter .taxonomies-wrapper .terms li {margin:0 10px 10px;}

    .learndash-course-grid-filter .filter.taxonomies {margin:0 0 0.9375rem 0;}

    .learndash-course-grid-filter .buttons,
    .learndash-course-grid-filter .filter.search {max-width:100%;}
}