/* -------------------------------- 

ÁGORA SGP

-------------------------------- */

#page-course-view-topics .agora-sgp .componente-card .card .heading__block {
  border-bottom: var(--ifht-sys-espessura-borda-xs) solid var(--ifht-sys-cor-terciaria-2-normal);
  padding-bottom: var(--ifht-sys-spacing-padding-xs);
}

#page-course-view-topics .agora-sgp .ifht-card__case {
    --ifht-card__case-border:var(--ifht-sys-raio-borda-lg);

    border-radius:var(--ifht-card__case-border);
    align-items: flex-start;
    border-top: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    margin-bottom: var(--ifht-sys-spacing-2xl);
    overflow: hidden;
    padding: 0;
    position:relative;
    transition: 0.25s;
    width: 100%;
    z-index: 2;
}

/* .ifht-card__case:hover,
[data-aos^=fade][data-aos^=fade].aos-animate.ifht-card__case:hover {
    box-shadow: -8px 16px 24px rgba(0, 0, 0, 0.3);
    transform: scale(1.02);
    transition:0.25s;
} */

/* .ifht-card__case:last-child {
    margin-bottom: 0;
} */

#page-course-view-topics .agora-sgp .ifht-card__case.card {
    /* background:transparent; */
    box-shadow:none;
}

#page-course-view-topics .agora-sgp .ifht-card__case .ifht-card__description {
    background:var(--card-background);
    border-bottom-left-radius: var(--ifht-card__case-border);
    border-bottom-right-radius: var(--ifht-card__case-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    order:2;
    padding: var(--ifht-sys-spacing-md);
    z-index: 1;
    width:100%;
}

#page-course-view-topics .agora-sgp .ifht-card__case .ifht-card__description .card-footer {
    border-top: transparent;
    margin: 0;
    padding: var(--ifht-sys-spacing-padding-sm) 0;
    gap: var(--ifht-sys-spacing-padding-sm);
}

#page-course-view-topics .agora-sgp .ifht-card__case .ifht-card__description h4 {
        color: var(--ifht-sys-cor-titulos);
        border-bottom: var(--ifht-sys-espessura-borda-xs) solid var(--ifht-sys-cor-terciaria-2-normal);
        margin-bottom: var(--ifht-sys-spacing-sm);
        padding-bottom: var(--ifht-sys-spacing-sm);
}

/* .ifht-card__case .ifht-card__description hr {
    opacity: 1;
    width: 100%;
    border: none;
    background: var(--ifht-sys-cor-terciaria-2-normal);
    height: 1px;
    margin-bottom: 16px;
} */

#page-course-view-topics .agora-sgp .ifht-card__case .ifht-card__description .lead {
    color:var(--ifht-sys-cor-terciaria-2-normal);
} 

#page-course-view-topics .agora-sgp .ifht-card__case .ifht-card__img {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-position:right top;
    background-size: cover;
    transition: .35s;
    flex: 0 0 auto;
    order:1;
    width: 100%;
    height: 330px;
}

#page-course-view-topics .agora-sgp .ifht-card__case .ifht-card__img a {
    color:var(--ifht-sys-cor-neutra-dark-contrast);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
}

#page-course-view-topics .agora-sgp .ifht-card__case .ifht-card__img a:hover {
    background: rgba(0, 51, 102, 0.85);
    transition: 0.5s;
    text-shadow: 4px 4px 12px #000;
    text-decoration:none;
}

#page-course-view-topics .agora-sgp .ifht-card__case .ifht-card__img a span {
    visibility: hidden;
}

#page-course-view-topics .agora-sgp .ifht-card__case .ifht-card__img a:hover span {
    visibility: visible;
}

#page-course-view-topics .agora-sgp .ifht-card__case .ifht-card__img a span:first-child {
    font-size: var(--display4);
    background-color: rgba(42, 44, 94, 0.75);
    padding: 12px;
    border-radius: 100px;
}

#page-course-view-topics .agora-sgp #sgp-card1 .ifht-card__img {
    background: url('/pluginfile.php/606/mod_folder/content/0/img/extensao/agora/agora-sgp/agora-sgp-img1.png');
    background-size: cover;
    background-repeat: no-repeat;
}

#page-course-view-topics .agora-sgp #sgp-card2 .ifht-card__img {
    background: url('/pluginfile.php/606/mod_folder/content/0/img/extensao/agora/agora-sgp/agora-sgp-img2.png');
    background-size: cover;
     background-repeat: no-repeat;
}

@media (min-width: 992px) {
    #page-course-view-topics .agora-sgp .ifht-card__case {
        flex-direction: row;
        align-items: stretch;
        height: 500px;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    #page-course-view-topics .agora-sgp .ifht-card__case .ifht-card__img {
        width: 40%;
        height: 100%; 
    }

    #page-course-view-topics .agora-sgp .ifht-card__case:nth-of-type(even) .ifht-card__img{
        margin-left: var(--ifht-sys-spacing-5xl);
        border-top-left-radius: var(--ifht-card__case-border);
        border-bottom-left-radius: var(--ifht-card__case-border);
    }

    #page-course-view-topics .agora-sgp .ifht-card__case:nth-of-type(odd) .ifht-card__img{
        margin-right: var(--ifht-sys-spacing-5xl);
        border-top-right-radius: var(--ifht-card__case-border);
        border-bottom-right-radius: var(--ifht-card__case-border);
        order:2;
    }
    
    
    #sgp-card1.ifht-card__case {
        background: url('/pluginfile.php/606/mod_folder/content/0/img/extensao/agora/agora-sgp/agora-spg-graphism1.png');
        background-repeat: no-repeat;
        background-size:contain;
        padding: 40px 0 40px 0;
    }

    #page-course-view-topics .agora-sgp #sgp-card2.ifht-card__case {
        background: url('/pluginfile.php/606/mod_folder/content/0/img/extensao/agora/agora-sgp/agora-spg-graphism2.png');
        background-position: right;
        background-repeat: no-repeat;
        background-size:contain;
        padding: 40px 0 40px 0;
    }

    #page-course-view-topics .agora-sgp .ifht-card__case:nth-of-type(even) .ifht-card__description {
        border-top-right-radius: var(--ifht-card__case-border);
        border-bottom-left-radius: 0;
        border-bottom-right-radius: var(--ifht-card__case-border);
    }

    #page-course-view-topics .agora-sgp .ifht-card__case:nth-of-type(odd) .ifht-card__description {
        border-top-left-radius: var(--ifht-card__case-border);
        border-bottom-right-radius: 0;
        border-bottom-left-radius: var(--ifht-card__case-border);
    }

    #page-course-view-topics .agora-sgp #sgp-card1 .ifht-card__img {
        background-image: url('/pluginfile.php/606/mod_folder/content/0/img/extensao/agora/agora-sgp/agora-sgp-img1.png');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    #page-course-view-topics .agora-sgp #sgp-card2 .ifht-card__img {
        background-image: url('/pluginfile.php/606/mod_folder/content/0/img/extensao/agora/agora-sgp/agora-sgp-img2.png');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
}

@media (min-width: 1200px) {
    #page-course-view-topics .agora-sgp .ifht-card__case:nth-of-type(even) .ifht-card__img{
        margin-left: calc(var(--ifht-sys-spacing-5xl) * 1.25);
    }

      #page-course-view-topics .agora-sgp .ifht-card__case:nth-of-type(odd) .ifht-card__img {
          margin-right: calc(var(--ifht-sys-spacing-5xl) * 1.25);
      }

    #page-course-view-topics .agora-sgp .ifht-card__case .ifht-card__img {
        width: 45%;
    }
}