

/* =========================================================
   RESET
========================================================= */

.erc-risk-section,
.erc-risk-section * {
    box-sizing: border-box;
}


.erc-risk-section {
    width: 100%;
    max-width: 100%;

    margin: 0;

    font-family:
        "Poppins",
        sans-serif;

    -webkit-font-smoothing:
        antialiased;

    text-rendering:
        optimizeLegibility;
}



/* =========================================================
   MAIN TABLE
========================================================= */

.erc-risk-table {
    position: relative;

    width: 100%;
    max-width: 1280px;

    margin:
        0 auto;

    overflow: hidden;

    background:
        #FFFFFF;

    border:
        1px solid #DDE7EE;

    border-radius:
        28px;

    box-shadow:
        0 14px 34px
        rgba(7,31,73,.055);

    isolation:
        isolate;
}



/* =========================================================
   COLUMN STRUCTURE
========================================================= */

.erc-risk-header,
.erc-risk-row {
    display: grid;

    grid-template-columns:
        20%
        40%
        40%;
}



/* =========================================================
   HEADER
========================================================= */

.erc-risk-header {
    min-height:
        52px;
}



/* =========================================================
   HEADER CELLS
========================================================= */

.erc-risk-head {
    min-width: 0;

    display: flex;

    align-items: center;

    padding:
        13px
        18px;

    color:
        #FFFFFF;

    font-size:
        10px;

    font-weight:
        700;

    line-height:
        1.35;

    letter-spacing:
        .3px;

    text-transform:
        uppercase;
}



/* =========================================================
   HEADER COLORS
========================================================= */

.erc-risk-head-area {
    background:
        #071F49;

    border-top-left-radius:
        27px;
}


.erc-risk-head-challenge {
    background:
        #2A93CE;

    border-left:
        1px solid
        rgba(255,255,255,.55);
}


.erc-risk-head-impact {
    background:
        #55AB8E;

    border-left:
        1px solid
        rgba(255,255,255,.55);

    border-top-right-radius:
        27px;
}



/* =========================================================
   ROW
========================================================= */

.erc-risk-row {
    position: relative;

    width: 100%;

    min-height:
        155px;

    border-top:
        1px solid #DDE7EE;

    background:
        #FFFFFF;

    z-index:
        1;

    transition:
        transform .42s
        cubic-bezier(.22,1,.36,1),

        box-shadow .42s ease;
}



/* =========================================================
   GENERAL CELL
========================================================= */

.erc-risk-cell {
    position: relative;

    min-width: 0;

    padding:
        22px
        22px;

    color:
        #405371;

    font-size:
        11.8px;

    font-weight:
        400;

    line-height:
        1.7;

    transition:
        background-color .35s ease,

        color .3s ease,

        padding-left .4s
        cubic-bezier(.22,1,.36,1);
}



/* =========================================================
   FIRST COLUMN
========================================================= */

.erc-risk-area {
    padding:
        20px
        18px;

    background:
        #F7FBFF;

    border-right:
        1px solid #E2EAF0;
}



/* =========================================================
   FIRST COLUMN HEADING
========================================================= */

.erc-risk-area-heading {
    display: grid;

    grid-template-columns:
        38px
        minmax(0,1fr);

    align-items:
        start;

    column-gap:
        12px;

    width:
        100%;
}



/* =========================================================
   NUMBER BADGE
========================================================= */

.erc-risk-number {
    position: relative;

    width:
        36px;

    height:
        36px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    overflow:
        hidden;

    border-radius:
        11px;

    background:
        linear-gradient(
            135deg,
            #2A93CE 0%,
            #55AB8E 100%
        );

    color:
        #FFFFFF;

    font-size:
        10px;

    font-weight:
        700;

    line-height:
        1;

    box-shadow:
        0 6px 14px
        rgba(42,147,206,.13);

    transition:
        transform .4s
        cubic-bezier(.22,1,.36,1),

        box-shadow .35s ease;
}



/* =========================================================
   FIRST COLUMN TITLE
========================================================= */

.erc-risk-title {
    display: block;

    min-width:
        0;

    margin:
        0;

    color:
        #071F49;

    font-size:
        13px;

    font-weight:
        700;

    line-height:
        1.45;

    overflow-wrap:
        break-word;

    word-break:
        normal;

    transition:
        color .3s ease,

        transform .4s
        cubic-bezier(.22,1,.36,1);
}



/* =========================================================
   FIRST COLUMN DESCRIPTION
========================================================= */

.erc-risk-area-description {
    width:
        100%;

    margin:
        13px
        0
        0 !important;

    padding:
        0 !important;

    color:
        #071F49 !important;

    font-size:
        13px !important;

    font-weight:
        400 !important;

    line-height:
        1.7 !important;
}



/* =========================================================
   CHALLENGE / IMPACT
========================================================= */

.erc-risk-challenge {
    border-right:
        1px solid #E2EAF0;
}


.erc-risk-impact {
    border-right:
        none;
}



/* =========================================================
   MOBILE LABEL
========================================================= */

.erc-mobile-label {
    display:
        none;
}



/* =========================================================
   PARAGRAPHS
========================================================= */

.erc-risk-cell p {
    margin:
        0;

    padding:
        0;

    color:
        #405371;

    font-size:
        13px;

    font-weight:
        400;

    line-height:
        1.7;

    overflow-wrap:
        break-word;

    word-break:
        normal;

    transition:
        color .3s ease,

        transform .4s
        cubic-bezier(.22,1,.36,1);
}



/* =========================================================
   ROW LEFT ACCENT
========================================================= */

.erc-risk-row::before {
    content: "";

    position:
        absolute;

    top:
        50%;

    left:
        0;

    width:
        3px;

    height:
        0;

    border-radius:
        0
        6px
        6px
        0;

    background:
        #2A93CE;

    opacity:
        0;

    transform:
        translateY(-50%);

    z-index:
        10;

    transition:
        height .4s
        cubic-bezier(.22,1,.36,1),

        opacity .3s ease;
}



/* =========================================================
   ROW GLOW
========================================================= */

.erc-risk-row::after {
    content: "";

    position:
        absolute;

    right:
        -90px;

    top:
        -80px;

    width:
        230px;

    height:
        210px;

    border-radius:
        50%;

    background:
        radial-gradient(
            circle,
            rgba(85,171,142,.12) 0%,
            rgba(42,147,206,.025) 48%,
            transparent 73%
        );

    opacity:
        0;

    pointer-events:
        none;

    transform:
        scale(.5);

    transition:
        opacity .45s ease,

        transform .55s
        cubic-bezier(.22,1,.36,1);
}



/* =========================================================
   DESKTOP HOVER
========================================================= */

@media (hover:hover) and (pointer:fine) {


    .erc-risk-row:hover {
        z-index:
            6;

        transform:
            translateY(-3px);

        box-shadow:
            0 12px 28px
            rgba(7,31,73,.085),

            inset 0 1px 0
            rgba(42,147,206,.04),

            inset 0 -1px 0
            rgba(42,147,206,.04);
    }


    .erc-risk-row:hover::before {
        height:
            42px;

        opacity:
            1;
    }


    .erc-risk-row:hover::after {
        opacity:
            1;

        transform:
            scale(1);
    }


    .erc-risk-row:hover
    .erc-risk-area {
        background:
            #F2FAFF;

        padding-left:
            22px;
    }


    .erc-risk-row:hover
    .erc-risk-number {
        transform:
            translateY(-2px)
            scale(1.08);

        box-shadow:
            0 10px 20px
            rgba(42,147,206,.22);
    }


    .erc-risk-row:hover
    .erc-risk-title {
        color:
            #1689CA;

        transform:
            translateX(2px);
    }


    .erc-risk-row:hover
    .erc-risk-challenge {
        background:
            #FFF8FA;

        padding-left:
            26px;
    }


    .erc-risk-row:hover
    .erc-risk-impact {
        background:
            #FAFDFF;

        padding-left:
            26px;
    }


    .erc-risk-row:hover
    .erc-risk-cell p {
        color:
            #314D70;

        transform:
            translateX(2px);
    }

}



/* =========================================================
   BOTTOM CORNERS
========================================================= */

.erc-risk-row:last-child
.erc-risk-area {
    border-bottom-left-radius:
        27px;
}


.erc-risk-row:last-child
.erc-risk-impact {
    border-bottom-right-radius:
        27px;
}



/* =========================================================
   1200 - 1399
========================================================= */

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

    .erc-risk-section {
        padding-left:
            15px;

        padding-right:
            15px;
    }


    .erc-risk-cell {
        padding:
            20px
            19px;
    }


    .erc-risk-area {
        padding:
            19px
            17px;
    }


    .erc-risk-title {
        font-size:
            12.6px;
    }


    .erc-risk-area-description {
        font-size:
            10.5px !important;
    }


    .erc-risk-cell p {
        font-size:
            11.3px;
    }

}



/* =========================================================
   LAPTOP 1024 - 1199
========================================================= */

@media screen and (min-width:1024px) and (max-width:1199px) {

    .erc-risk-section {
        padding:
            12px;
    }


    .erc-risk-header,
    .erc-risk-row {
        grid-template-columns:
            40%
            30%
            30%;
    }


    .erc-risk-head {
        padding:
            12px
            14px;

        font-size:
            9.3px;
    }


    .erc-risk-row {
        min-height:
            160px;
    }


    .erc-risk-cell {
        padding:
            18px
            16px;
    }


    .erc-risk-area {
        padding:
            18px
            15px;
    }


    .erc-risk-area-heading {
        grid-template-columns:
            34px
            minmax(0,1fr);

        column-gap:
            10px;
    }


    .erc-risk-number {
        width:
            32px;

        height:
            32px;

        border-radius:
            10px;

        font-size:
            9px;
    }


    .erc-risk-title {
        font-size:
            11.6px;
    }


    .erc-risk-area-description {
        font-size:
            9.8px !important;
    }


    .erc-risk-cell p {
        font-size:
            10.5px;

        line-height:
            1.65;
    }

}



/* =========================================================
   TABLET 768 - 1023
========================================================= */

@media screen and (min-width:768px) and (max-width:1023px) {

    .erc-risk-section {
        padding:
            9px;
    }


    .erc-risk-table {
        border-radius:
            22px;
    }


    .erc-risk-header,
    .erc-risk-row {
        grid-template-columns:
            39%
            30.5%
            30.5%;
    }


    .erc-risk-head {
        padding:
            11px
            10px;

        font-size:
            8px;
    }


    .erc-risk-row {
        min-height:
            170px;
    }


    .erc-risk-cell {
        padding:
            15px
            12px;
    }


    .erc-risk-area {
        padding:
            15px
            11px;
    }


    .erc-risk-area-heading {
        grid-template-columns:
            30px
            minmax(0,1fr);

        column-gap:
            8px;
    }


    .erc-risk-number {
        width:
            28px;

        height:
            28px;

        border-radius:
            8px;

        font-size:
            8px;
    }


    .erc-risk-title {
        font-size:
            9.8px;
    }


    .erc-risk-area-description {
        margin-top:
            10px !important;

        font-size:
            8.5px !important;

        line-height:
            1.6 !important;
    }


    .erc-risk-cell p {
        font-size:
            8.9px;

        line-height:
            1.6;
    }

}



/* =========================================================
   701 - 767
========================================================= */

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

    .erc-risk-section {
        padding:
            7px;
    }


    .erc-risk-header,
    .erc-risk-row {
        grid-template-columns:
            39%
            30.5%
            30.5%;
    }


    .erc-risk-head {
        padding:
            9px
            8px;

        font-size:
            7.2px;
    }


    .erc-risk-row {
        min-height:
            175px;
    }


    .erc-risk-cell {
        padding:
            13px
            9px;
    }


    .erc-risk-area {
        padding:
            13px
            9px;
    }


    .erc-risk-area-heading {
        grid-template-columns:
            27px
            minmax(0,1fr);

        column-gap:
            7px;
    }


    .erc-risk-number {
        width:
            25px;

        height:
            25px;

        border-radius:
            8px;

        font-size:
            7px;
    }


    .erc-risk-title {
        font-size:
            8.7px;
    }


    .erc-risk-area-description {
        font-size:
            7.6px !important;

        line-height:
            1.55 !important;
    }


    .erc-risk-cell p {
        font-size:
            8px;

        line-height:
            1.55;
    }

}



/* =========================================================
   MOBILE <= 700
========================================================= */

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

    .erc-risk-section {
        padding:
            7px
            9px
            15px;
    }


    .erc-risk-table {
        overflow:
            visible;

        border:
            none;

        border-radius:
            0;

        background:
            transparent;

        box-shadow:
            none;
    }


    /* HIDE DESKTOP HEADER */

    .erc-risk-header {
        display:
            none;
    }


    /* EACH ROW = CARD */

    .erc-risk-row {
        display:
            block;

        min-height:
            0;

        margin-bottom:
            13px;

        overflow:
            hidden;

        border:
            1px solid #DDE7EE;

        border-radius:
            18px;

        background:
            #FFFFFF;

        box-shadow:
            0 8px 22px
            rgba(7,31,73,.055);
    }


    .erc-risk-row:last-child {
        margin-bottom:
            0;
    }


    .erc-risk-row::before,
    .erc-risk-row::after {
        display:
            none;
    }


    /* REVENUE RISK AREA */

    .erc-risk-area {
        padding:
            14px;

        background:
            #F5FAFE;

        border-right:
            none;

        border-radius:
            17px
            17px
            0
            0 !important;
    }


    .erc-risk-area-heading {
        grid-template-columns:
            40px
            minmax(0,1fr);

        align-items:
            center;

        column-gap:
            11px;
    }


    .erc-risk-number {
        width:
            36px;

        height:
            36px;

        border-radius:
            10px;

        font-size:
            9px;
    }


    .erc-risk-title {
        font-size:
            12px;

        line-height:
            1.4;
    }


    .erc-risk-area-description {
        margin-top:
            11px !important;

        font-size:
            10.8px !important;

        line-height:
            1.6 !important;
    }


    /* OTHER SECTIONS */

    .erc-risk-challenge,
    .erc-risk-impact {
        display:
            block;

        padding:
            14px;

        border-top:
            1px solid #E2EAF0;

        border-right:
            none;
    }


    .erc-risk-challenge {
        background:
            #FFF8FA;
    }


    .erc-risk-impact {
        background:
            #FBFDFF;

        border-radius:
            0
            0
            17px
            17px !important;
    }


    /* MOBILE LABELS */

    .erc-mobile-label {
        display:
            block;

        margin-bottom:
            6px;

        font-size:
            8.5px;

        font-weight:
            700;

        line-height:
            1.3;

        letter-spacing:
            .15px;

        text-transform:
            uppercase;
    }


    .erc-risk-challenge
    .erc-mobile-label {
        color:
            #E56191;
    }


    .erc-risk-impact
    .erc-mobile-label {
        color:
            #168FCE;
    }


    .erc-risk-cell p {
        font-size:
            10.8px;

        line-height:
            1.6;
    }

}



/* =========================================================
   MOBILE <= 480
========================================================= */

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

    .erc-risk-section {
        padding-left:
            7px;

        padding-right:
            7px;
    }


    .erc-risk-row {
        margin-bottom:
            10px;

        border-radius:
            15px;
    }


    .erc-risk-area {
        padding:
            12px;

        border-radius:
            14px
            14px
            0
            0 !important;
    }


    .erc-risk-area-heading {
        grid-template-columns:
            36px
            minmax(0,1fr);

        column-gap:
            9px;
    }


    .erc-risk-number {
        width:
            32px;

        height:
            32px;

        border-radius:
            9px;

        font-size:
            8px;
    }


    .erc-risk-title {
        font-size:
            11px;
    }


    .erc-risk-area-description {
        margin-top:
            10px !important;

        font-size:
            10px !important;

        line-height:
            1.57 !important;
    }


    .erc-risk-challenge,
    .erc-risk-impact {
        padding:
            12px;
    }


    .erc-risk-impact {
        border-radius:
            0
            0
            14px
            14px !important;
    }


    .erc-mobile-label {
        margin-bottom:
            5px;

        font-size:
            8px;
    }


    .erc-risk-cell p {
        font-size:
            10px;

        line-height:
            1.57;
    }

}



/* =========================================================
   SMALL MOBILE <= 390
========================================================= */

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

    .erc-risk-area {
        padding:
            11px;
    }


    .erc-risk-area-heading {
        grid-template-columns:
            34px
            minmax(0,1fr);

        column-gap:
            8px;
    }


    .erc-risk-number {
        width:
            30px;

        height:
            30px;

        font-size:
            7.5px;
    }


    .erc-risk-title {
        font-size:
            10.5px;
    }


    .erc-risk-area-description {
        font-size:
            9.6px !important;
    }


    .erc-risk-challenge,
    .erc-risk-impact {
        padding:
            11px;
    }


    .erc-mobile-label {
        font-size:
            7.7px;
    }


    .erc-risk-cell p {
        font-size:
            9.6px;

        line-height:
            1.55;
    }

}



/* =========================================================
   320PX
========================================================= */

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

    .erc-risk-section {
        padding-left:
            5px;

        padding-right:
            5px;
    }


    .erc-risk-row {
        border-radius:
            13px;
    }


    .erc-risk-area {
        padding:
            10px;

        border-radius:
            12px
            12px
            0
            0 !important;
    }


    .erc-risk-area-heading {
        grid-template-columns:
            31px
            minmax(0,1fr);

        column-gap:
            7px;
    }


    .erc-risk-number {
        width:
            28px;

        height:
            28px;

        border-radius:
            8px;

        font-size:
            7px;
    }


    .erc-risk-title {
        font-size:
            10px;
    }


    .erc-risk-area-description {
        font-size:
            9.2px !important;
    }


    .erc-risk-challenge,
    .erc-risk-impact {
        padding:
            10px;
    }


    .erc-risk-impact {
        border-radius:
            0
            0
            12px
            12px !important;
    }


    .erc-mobile-label {
        font-size:
            7.3px;
    }


    .erc-risk-cell p {
        font-size:
            9.2px;

        line-height:
            1.52;
    }

}



/* =========================================================
   ENTRANCE ANIMATION
========================================================= */

.erc-risk-table.erc-risk-ready
.erc-risk-header {
    opacity:
        0;

    transform:
        translateY(-10px);
}


.erc-risk-table.erc-risk-ready
.erc-risk-row {
    opacity:
        0;

    transform:
        translateY(18px);
}


.erc-risk-table.erc-risk-ready.erc-risk-visible
.erc-risk-header {
    opacity:
        1;

    transform:
        translateY(0);

    transition:
        opacity .5s ease,

        transform .65s
        cubic-bezier(.22,1,.36,1);
}


.erc-risk-table.erc-risk-ready.erc-risk-visible
.erc-risk-row {
    opacity:
        1;

    transform:
        translateY(0);

    transition:
        opacity .5s ease,

        transform .65s
        cubic-bezier(.22,1,.36,1),

        box-shadow .42s ease;
}



/* =========================================================
   STAGGER
========================================================= */

.erc-risk-visible
.erc-risk-row:nth-child(2) {
    transition-delay:
        .04s;
}


.erc-risk-visible
.erc-risk-row:nth-child(3) {
    transition-delay:
        .09s;
}


.erc-risk-visible
.erc-risk-row:nth-child(4) {
    transition-delay:
        .14s;
}


.erc-risk-visible
.erc-risk-row:nth-child(5) {
    transition-delay:
        .19s;
}



/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover:none) {

    .erc-risk-row:hover {
        transform:
            none;
    }


    .erc-risk-row:hover
    .erc-risk-number,

    .erc-risk-row:hover
    .erc-risk-title,

    .erc-risk-row:hover
    .erc-risk-cell p {
        transform:
            none;
    }

}



/* =========================================================
   ELEMENTOR EDITOR
========================================================= */

.elementor-editor-active
.erc-risk-header,

.elementor-editor-active
.erc-risk-row,

body.elementor-editor-active
.erc-risk-header,

body.elementor-editor-active
.erc-risk-row {
    opacity:
        1 !important;

    transform:
        none !important;
}



/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion:reduce) {

    .erc-risk-header,
    .erc-risk-row,
    .erc-risk-cell,
    .erc-risk-number,
    .erc-risk-title,
    .erc-risk-cell p,
    .erc-risk-row::before,
    .erc-risk-row::after {
        animation:
            none !important;

        transition:
            none !important;

        opacity:
            1 !important;

        transform:
            none !important;
    }

}

