.demo-page-links {
    display: none;
}

.demo-page-links.active {
    display: initial;
}

@keyframes rotate {
    0% {
        transform: scaleX(0);
        transform-origin: 100% 100%;
        opacity: 1;
    }

    100% {
        transform: scaleX(1);
        transform-origin: 100% 100%;
        opacity: 1;
    }
}

@keyframes unrotate {
    0% {
        transform: scaleX(1);
        transform-origin: 100% 100%;
        opacity: 1;
    }

    100% {
        transform: scaleX(0);
        transform-origin: 100% 100%;
        opacity: 1;
    }
}
.modals-body{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.modals-header{
    display: flex;
    justify-content: end;
    margin-right: -3rem;
}
.group-card{
    border: 3px solid #3155a4;
}

.dropdown-menu .category{
    display: flex;
}

.jumbotron p {
    font-size: 18px;
}

.category:not(.view-all){
    border-top: 1px solid #aaa;
}
.center-the-dialog {
    transform: translateY(20vh) !important;
}

.category {
    position: relative;
    z-index: 0;
    text-align: center;
    overflow: hidden;
    padding: 15px 10px;
    font-size: 16px;
    flex-direction: column-reverse;
    align-items: center;
    
}

.category.active {
  color: white;
  background-color: #3155a4;
}

.dd-desktop.category:not(.active){
 color: black;
}

.category:hover {
    cursor: pointer;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
}

.hub-title {
    font-size: 30px;
    font-weight: 600;
}

.category:not(.active) .words.offhover::after {

    content: '';
    position: absolute;
    z-index: -2;
    left: 5%;
    top: 75%;
    right: 0;
    width: 90%;
    height: 2px;
    border-radius: 2px;
    background-repeat: no-repeat;

    background-image: linear-gradient(#3155a4, #3155a4);
    animation: unrotate 0.5s forwards;
    animation-fill-mode: both;
}

.category:not(.active) .words.hovering::after {
    content: '';
    position: absolute;
    z-index: -2;
    left: 5%;
    right: 0;
    top: 75%;
    width: 90%;
    height: 2px;
    border-radius: 2px;
    background-repeat: no-repeat;

    background-image: linear-gradient(#3155a4, #3155a4);
    animation: rotate 0.5s forwards;
}

.category.hovering .words::after {

    content: '';
    position: absolute;
    z-index: -1;
    top: -3px;
    left: 0;
    width: calc(100%);
    height: calc(100%);
    background: white;

}
.search-input-abs-wrapper{
    position: relative;
    margin-bottom: 1rem;
    margin-top: -46px;
    text-align: right;
}
.search-input input{
    padding-left: 30px !important;
    border: none !important;
    border-radius: 8px !important;
    background-color: #fafafa;
}

.search-input i{
	position: absolute;
 
    top: 50%;
    color: #3155a4;
    transform: translate(75%,-50%);
}

.jumbotron.hub {
    padding-top: 0;
    border-radius: 2px;
}

.jumbotron.demos-grid {
    border-radius: 2px !important;
    width: 100%;
    margin: 0;
    padding: 0 20px 20px 20px !important;
    padding-top: 50px;
    min-height: 40rem;
    position: relative;
}

.demo-categories {
    position: relative;
    display: flex;
    flex-direction: column;
    height: fit-content;
    align-items: stretch;
}

.img-top {
    background-color: #3155a4;
    height: 12rem;
    background-position: center;
    background-size: cover;
}

.demo-card-outer {
    padding: 0px 10px !important;
    margin-bottom: 2rem;
    aspect-ratio: 15/10;
    position: relative;
}

.demo-card-footer{
    position: absolute;
    bottom: 5px;
    right: 10px;
}

.cta-text{
    color: #3155a4;
    font-weight: 600;
}

.demo-card-outer a,
.demo-card-outer a:hover {
    color: rgb(45, 45, 45);
}

.demo-card, .mini-demo-card {
    height: 100%;
    display: flex;
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    animation: slide-in-bottom 0.5s cubic-bezier(0.0, 0.0, 0.450, 0.940) both;
    border: 3px solid #e0e0e0;
    position: relative;
}

.demo-card::after, .mini-demo-card::after{
    content: "";
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    border-top: 2px solid #3155a4;
    border-right: 2px solid #3155a4;
    transform: rotate(45deg);
    height: 8px;
    width: 8px;
}

ul.tree-list{
    overflow: hidden !important;
}

.hub-desc h1{
    font-size: 24px !important;
}

.separator {
    text-align: center;
    height: 1rem;
    font-size: 14px !important;
    color: #bbb;
    font-weight: 400 !important;
    width: 80%;
    margin: 0 10% 0 10% !important;
    border-bottom: 2px solid #bbb;
    margin-bottom: 0.5rem;
    border-width: thin;
}

.separator:first-line {
    background-color: white;
}

@media screen and (min-width: 767px){
    .jumbotron{
        background-color: #fff !important;
    }

    ul.tree-list{
        margin-top: 10px;
    }

    .mobtitle{
        display: none !important;
    }
}

.demo-card:hover {
    box-shadow: 0 0 10px rgb(0 0 0 / 9%);
    cursor: pointer;
}
.mini-demo-card:hover {
    box-shadow: 0 0 10px rgb(255 255 255 / 9%);
    cursor: pointer;
}

.cat-count{
    color: #608df0;
}

li.active .cat-count{
    color: #d1e7ff;
}

.demo-card{
    text-align: center;
}

.demo-card-image {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.filled-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
}

.demo-card-image i{
    padding: 0 1rem;
    font-size: 12px;
}

.demo-card-image img:not(.filled-image) {
    max-width: 190px;
    max-height: 75px;
}

.demo-card-title {
    padding: 1.5rem 0.5rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.demo-categories .tree-list{
    max-width: 200px;
}

.demo-card-body{
    padding: 0 0.5rem;
    font-size: 12px;
    position: absolute;
    bottom: 1rem;
}

.demo-card-title b{
    color: #3155a4;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 900;
    text-overflow: ellipsis;
    overflow: hidden;
    text-wrap: nowrap;
}

.info-center {
    flex: 1;
    border: 1px solid #eeeeee;
    position: relative;
}

.info-center p {
    margin: 2rem;
}

.hub-wrap {
    display: flex;
}

.info-rest {
    position: absolute;
    border-bottom: 1px solid #ddd;
    width: 3rem;
    transform: translateY(-1rem);
    left: 2rem;
}

.dd-desktop{
    text-align: left;
}

.info-center h1 {
    font-weight: 600;
    margin: 2rem;
    margin-right: 0;
}
.dd-mobile-item.active{
    display: none;
}

.link-bottom {
    height: 4rem;
    background-color: #3155a4;
    color: white;
    text-align: center;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    text-transform: uppercase;
}

@keyframes scale-in {
    0% {
        transform: scale(0);

        opacity: 0;
    }

    100% {
        transform: scale(1);

        opacity: 1;
    }
}

@keyframes slide-in-bottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {

    .card-title {
        font-size: 12px;
    }

}
@media only screen and (min-width: 1400px) and (max-width: 1500px) {

    .card-title{
        font-size: 14px;
    }

}
@media only screen and (min-width: 1200px) and (max-width: 1360px){
    .demo-card-title {
        flex: 2;
    }
}
@media only screen and (min-width: 1200px) and (max-width: 1250px) {

    .demo-card-title{
        gap: 0.5rem;
        padding-top: 1rem;
    }

}
@media only screen and (min-width: 991px) and (max-width: 1090px) {

    .demo-card-title{
        flex: 2;
    }

}
@media only screen and (min-width: 1100px) and (max-width: 1199px) {

    .card-title {
        font-size: 14px;
    }

}
@media only screen and (min-width: 992px) and (max-width: 1099px) {

    .card-title {
        font-size: 12px;
    }

}
@media only screen and (min-width: 820px) and (max-width: 991px) {

    .card-title {
        font-size: 16px;
    }

}
@media only screen and  (min-width: 768px) and (max-width: 819px) {

    .card-title {
        font-size: 13px;
    }
    .demo-card-title{
        flex: 2;
    }
}

.desctop{
    margin-bottom: 6rem;
}

@media only screen and (max-width: 767px) {
    .demo-card-body{
        bottom: 23%;
    }
    .card-title {
        font-size: 16px;
    }
    .hub-wrap{
        flex-direction: column;
    }
    .demo-categories-mobile{
        display: block !important;
    }
    .demo-categories{
        display: none;
    }

    .search-input-abs-wrapper{
       text-align: center;
       margin-top: 20px;
    }

    .view-all {
        height: 4rem;
        background-color: #3155a4;
        color: white;
        text-align: center;
        display: flex;
        align-content: center;
        justify-content: center;
        flex-direction: column;
        text-transform: uppercase;
    }

    .modals-header{
        justify-content: center;
        margin-bottom: 10px;
        margin-right: 0;
    }

    .desctop{
        display: none !important;
    }

}


/* mobile */
@media only screen and (max-width: 600px) {

    .partner-links-cell {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 95%;
        margin-bottom: 4rem;
        height: 32rem;
    }

    .partner-row {
        position: relative;
        display: block;
        justify-content: space-between;

    }

}