.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;
}

.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: 1.5rem 2rem 1.5rem 2rem;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    
}

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

.category:hover {
    cursor: pointer;
}

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

.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: absolute;
    top: 10px;
    right: 50px;
}
.search-input input{
    padding-left: 30px !important;
    border: none !important;
    border-radius: 8px !important;
    background-color: #fafafa;
}

.search-input i{
	position: absolute;
    left: 5px;
    top: 50%;
    color: #3155a4;
    transform: translateY(-50%);
}

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

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

.demo-categories {
    position: relative;
    display: flex;
    flex-direction: column;
    height: fit-content;
    align-items: stretch;
    box-shadow: 10px 0px 16px -12px;
}

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

.demo-card-outer {
    padding: 0px 10px !important;
    margin-bottom: 1rem;
    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%;
    box-shadow: 0 0 10px rgb(0 0 0 / 20%);
    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;
}

.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;
}

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

.demo-card-image {
    display: flex;
    flex-direction: column;
}

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

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

.demo-card-title {
    padding: 1rem 1rem 0 1rem;
    font-size: 3px;
    overflow: hidden;
}

.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;
}

.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: 1350px) {

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

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

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

}
@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;
    }

}

@media only screen and (max-width: 767px) {

    .card-title {
        font-size: 16px;
    }
    .hub-wrap{
        flex-direction: column;
    }
    .demo-categories-mobile{
        display: block !important;
    }
    .demo-categories{
        display: none;
    }

    .search-input-abs-wrapper{
        right: 50%;
        transform: translateX(50%);
    }

    .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;
    }

}

/* 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;

    }

}