//gets called everyware
//global stylesheet

@use 'variables' as *;
@use 'page-title-block';
@use 'section-header';

body {
    background: #F7F7F7;
    font-family: $poppins;

    & .container {
        max-width: 1640px;
    }

    & img {
        max-width: 100%;
        height: auto;
    }
}
.card.panel-details {
    background-color: transparent;
    margin: 0 25px;
    & .card-body {
        &-item {
            display: flex;
            gap: 15px;
            & .title {
                font-weight: bold;
            }
            & .value {

            }
        }
    }
}
#termsPage, #privacyPolicyPage {
 & + #preFooterAll {
     & img {
         top:0;
     }
 }
}

.main-card {
    & .hypertitle {
        font-size: 10px;
        font-weight: 900;
        color: $grey;
    }
    & .content {
        margin-bottom: 10px;
        font-size: 15px;
        font-weight: bold;
        color: #231F20;
    }
}

.dotted-divider {
    max-width: 650px;
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #464646;
    margin: 1rem auto 3rem auto;
}


.thank-you-page {
    & .page-title {

    }
    & .page-content {
        text-align: center;
        max-width: 695px;
        margin: 0 auto 100px auto;
        font-family: $poppins;
        font-weight: bold;
        font-size: 20px;
        line-height: 35px;
        letter-spacing: 0.4px;
        color: #464646;
        & p {
            margin-bottom: 30px;
        }
    }
}

.text-page-content {
    justify-content: center;
    & .page-title {
        &--inner {
            & img {

            }
            & h2 {
                color: #464646;
                font-family: $poppins;
                font-size: 22px;
                font-weight: bold;
                letter-spacing: 0.6px;
                line-height: 39px;
                width: 100%;
                max-width: 900px;
                text-align: center;
                margin: 2rem auto 0 auto;
            }
        }
    }
    & .content {
        & p {
            color: #464646;
            font-size: 16px;
            letter-spacing: 0.36px;
            line-height: 28px;
        }
        & a {
            color: #464646;
            text-decoration: underline;
        }
        & ol, ul {
            & li {
                color: #464646;
                font-size: 16px;
                letter-spacing: 0.36px;
                line-height: 28px;
                font-family: $ibm;
                margin-bottom: 23px;
                & ul {
                    margin-top: 20px;
                    & li {
                        margin-bottom: 18px;
                    }
                }
            }
        }
        & h3 {
            text-align: center;
            font-size: 18px;
            border-radius: 5px;
            position: relative;
            color: #464646;
            margin: -2rem auto 6rem auto;
        }
        & h4 {
            font-family: $poppins;
            font-weight: bold;
            margin-top: 4rem;
            font-size: 19px;
            color: #464646;
        }
    }
}


// css for Footer and preFooter sections

section {

    &#Homeheader {
        margin-bottom: 145px;

        .logo {
            margin: 0;
        }
        @media (max-width: 991px) {
            margin-bottom: 110px;
        }

        & .user-details-avatar {
            @media (max-width: 991px) {
                display: none;
            }
        }

        & .user-details-inner-buttons {
            max-width: unset;
            @media (max-width: 991px) {
                max-width: unset;
            }
        }

        & .user-details-inner-name span {
            @media (max-width: 991px) {
                display: inline-block;
                width: 100%;
            }
        }

        & .header-line .home-menu--list {
            @media (max-width: 991px) {
                gap: 9px 0;
            }
        }
    }

    &#HomePage {

        & ul, li {
            padding: 0;
            margin: 0;
            list-style: none;
        }

        //typography
        & * {
            & .main-title {
                font-family: $poppins;
                font-size: 30px;
                font-weight: bold;
                letter-spacing: 0.6px;
                color: $text-color-inactive;
            }

            & .secondary-title {
                font-family: $poppins;
                font-size: 20px;
                font-weight: bold;
                letter-spacing: 0.4px;
                color: $text-color-active;
            }

            & .simple-text {
                font-size: 18px;
                line-height: 30px;
                color: $text-color-regular-gray;
            }

            & .date-active {
                font-family: $poppins;
                font-size: 13px;
                margin-top: 10px;
                color: $text-color-inactive;
            }
        }

        & .opencalls-list {
            margin-bottom: 120px;
            @media (max-width: 991px) {
                margin-bottom: 0;
            }

            & .opencalls-item {
                margin-bottom: 80px;

                &--inner {
                    border: 2px solid #707070;
                    padding: 20px;
                }

                & .active-call-indicator {
                    display: inline-block;
                    background: #5ace00;
                    color: #fff;
                    font-size: 12px;
                    padding: 2px 32px;
                    border-radius: 15px;
                    margin-bottom: 30px;
                    line-height: 23px;
                }

                &.dual {
                    & .opencalls-item {
                        padding: 0 30px 80px 30px;

                        &--tags-list {
                            align-items: center;
                            min-height: 170px;
                            justify-content: space-between;

                            & .tag-item {
                                -ms-flex: 0 0 29%;
                                flex: 0 0 29%;
                                max-width: 29%;
                                margin-right: 0;

                            }
                        }
                    }
                }

                &--mini-title {
                    margin-bottom: 22px;

                    & .secondary-title {
                        margin-bottom: 3px;
                        min-height: 48px;
                    }
                }

                &--title {
                    margin-bottom: 22px;
                    max-width: 600px;
                    min-height: 91px;
                }

                &--text {
                    margin-bottom: 40px;
                    max-width: 1000px;
                    min-height: 90px;
                }

                &--tags-list {
                    display: flex;
                    margin-bottom: 30px;
                    padding-left: 25px;

                    & .tag-item {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        position: relative;
                        margin-right: 78px;
                        width: 200px;
                        height: 53px;
                        margin-bottom: 2rem;
                        border-bottom-right-radius: 10px;
                        border-top-right-radius: 10px;
                        background-color: $white;

                        &--icon {
                            position: absolute;
                            bottom: -7px;
                            left: -35px;
                            width: 64px;
                        }

                        &--name {
                            padding-left: 32px;
                            margin: 0;
                            font-size: 15px;
                            letter-spacing: 0.3px;
                        }

                        &--tick {
                            width: 53px;
                            height: 26px;
                            border-left: 1px solid #5ACE00;
                            padding-left: 13px;
                        }
                    }
                }

                &--info-apply {
                    display: flex;
                    flex-wrap: nowrap;

                    & .info, .apply {
                        min-width: 225px;

                        & span {
                            white-space: nowrap;
                            font-size: 18px;
                            text-decoration: underline;
                            letter-spacing: 0;
                            margin-right: 10px;
                            color: $text-color-active;
                            font-family: $ibm;
                        }

                        & div {
                            display: inline-block;
                            height: 40px;
                            width: 196px;
                            border-radius: 20px;
                            background-color: #5ACE00;
                            box-shadow: 0 3px 6px #94F04D;
                            line-height: 40px;
                            text-align: center;
                            font-size: 18px;
                            font-weight: bold;
                            color: $white;
                            cursor: pointer;
                            margin-bottom: 30px;
                        }
                    }
                }
            }
        }

        & .upcoming-calls {
            align-items: flex-end;
            margin-bottom: 320px;
            @media (max-width: 991px) {
                align-items: flex-start;
                margin-bottom: 150px;
            }

            &--left {
                & .main-title {
                    font-size: 25px;
                    margin-bottom: 16px;
                    padding-left: 20px;
                }
            }

            &--list {
                justify-content: flex-start;
                gap: 20px;
                @media (max-width: 1200px) {
                    justify-content: space-around;
                }

                & .upcoming-calls--item {
                    position: relative;
                    width: 100%;
                    min-height: 177px;
                    padding: 10px 20px;
                    background-color: $white;
                    border-radius: 2px;
                    margin: 15px 0;
                    @media (max-width: 991px) {
                        height: 95%;
                        display: flex;
                        justify-content: space-between;
                        flex-direction: column;
                        border-radius: 10px;
                    }

                    &---mini-title {
                        margin-bottom: 20px;
                        min-height: 60px;

                        & .secondary-title {
                            font-size: 15px;
                            margin-bottom: 6px;
                            line-height: 22px;
                            min-height: 44px;
                        }
                    }

                    &---title {
                        font-size: 15px;
                        line-height: 20px;
                        min-height: 40px;
                    }

                    &---btn {
                        white-space: nowrap;
                        margin-top: 25px;
                        text-align: left;
                        position: relative;
                        bottom: -13px;
                        @include main-btn(14px, 30px, 13px, 13px);
                    }
                }
            }
        }

        & .ai4-info {
            align-items: flex-start;
            margin-bottom: 475px;
            @media (max-width: 991px) {
                margin-bottom: 300px;
            }

            &--logo {

                & img {
                    display: block;
                    margin: auto;
                }
            }

            &--content {
                &---logo {
                    transform: translateX(-10px);
                    margin-bottom: 28px;
                    padding-left: 10px;
                    & img {
                        max-width: 452px;
                    }
                }

                &---title {
                    font-size: 20px;
                    margin-bottom: 22px;
                }

                &---link {
                    font-size: 15px;
                    margin-bottom: 32px;
                    display: block;
                }

                &---description {
                    font-size: 18px;
                    line-height: 40px;
                    margin-bottom: 32px;
                }

                &---btn {
                    @include main-btn(19px, 48px, 15px, 23px);

                    & a {
                        display: inline-block;
                    }
                }
            }
        }

        & .community-join {
            justify-content: center;
            margin-bottom: 167px;

            &--box {
                position: relative;
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 0 40px 0 150px;
                height: 123px;
                background-color: $white;
                box-shadow: 5px 0px 40px #D1D1D1;
                border-radius: 30px;

                &---img-a {
                    position: absolute;
                    left: 0;
                    bottom: 0;
                }

                &---img-b {
                    position: absolute;
                    top: -160px;
                    left: 150px;
                    z-index: -10;
                }

                &---img-c {
                    position: absolute;
                    top: -145px;
                    right: 30px;
                    z-index: -10;
                }

                &---title {
                    margin-bottom: 0;
                    font-size: 32px;
                    letter-spacing: 0.7px;
                    font-weight: 500;

                    & strong {
                        font-weight: 900;
                    }
                }

                &---btn {
                    display: inline-block;
                    @include main-btn(14px, 47px, 15px, 23px);
                }
            }
        }
    }

    &#preFooterAll {

        img {
            display: block;
            margin: auto;
            position: relative;
            top: 23px;

            & {
                &.edit {
                    top: 9px;
                    z-index: -10;
                }
            }
        }
    }

    &#verify-email {
        margin: 3rem 0 5rem 0;

        & .page-title {
            margin-bottom: 75px;
        }

        & .card-text {
            font-size: 18px;
            line-height: 30px;
            color: #7e7e7e;
            max-width: 800px;
            margin: 0 auto 3rem auto;
        }

        & label {
            font-family: $poppins;
            font-size: 18px;
            font-weight: bold;
            letter-spacing: 0.36px;
            margin-bottom: 19px;
        }

        & form {
            max-width: 800px;
            margin: 0 auto;
        }

        & input {
            &[type="email"] {
                height: 64px;
                width: 100%;
                padding: 19px 29px;
                background-color: #ffffff;
                border-radius: 5px;
                border: none;

                &:focus {
                    outline: none;
                }
            }

            &[type="submit"] {
                padding: 19px 48px;
                font-size: 15px;
                line-height: 23px;
                color: #FFFFFF;
                border: none;
                border-radius: 30.5px;
                background-color: #015BFA;
                text-decoration: none;
                box-shadow: 0 3px 6px #3f98fc;
            }
        }
    }

    &#Footer {
        background-color: #015BFA;

        & .footer-top {


            & .left-icon {
                margin-top: 90px;
                padding-top: 10px;

                & img {
                    width: 50px;
                    height: auto;
                }
            }

            & .left-text {
                margin-top: 90px;
                font-size: 12px;
                line-height: 20px;
                color: #ffffff;
            }

            & .right-side {
                & h4 {
                    margin-top: 46px;
                    margin-bottom: 21px;
                    font-size: 15px;
                    line-height: 40px;
                    font-weight: 700;
                    color: #FFFFFF;
                    display: inline-block;
                    width: 100%;

                    &::after {
                        margin-top: 18px;
                        margin-left: 0;
                        content: '';
                        display: block;
                        width: 75%;
                        height: 2px;
                        background-color: #FFFFFF;

                    }
                }
            }

            & .footer-image {
                margin-bottom: -15px;
                background-repeat: no-repeat;
                height: 214px;
                position: relative;

                & a {
                    position: absolute;
                    color: $white;
                    font-size: 12px;
                    line-height: 17px;
                    letter-spacing: 0.24px;
                    font-weight: bold;
                    font-family: $poppins;
                    text-decoration: underline;
                    top: 15px;
                    left: 20px;
                }
            }
        }


    }

    &#Footer-light-blue {
        background: #337BF9;

        & .container.light-blue {

            & .line {
                height: 15px;
                width: 100%;
            }
        }
    }

    &#Footer-dark-blue {
        background: #004CD3;

        & .container.dark-blue {
            & .footer-bottom {

                justify-content: center;

                & .socials {
                    margin-top: 21px;

                    & ul {
                        list-style-type: none;
                        display: flex;
                        justify-content: space-between;
                        flex-wrap: wrap;
                        padding: 0;

                        & li {
                            text-align: center;
                            min-width: 35px;

                            & a {
                                font-size: 8px;
                                line-height: 27px;
                                color: $white;
                                text-decoration: none;
                                display: block;

                                & img {
                                    display: block;
                                    margin: 0 auto;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

.alertify {
    &-notifier {
        & .ajs {
            &-right {
                right: 70px;
            }
            &-message {
                background: rgba(255, 255, 255, 0.95);
                color: #000;
                text-align: center;
                border: solid 2px #020101;
                border-radius: 2px;
                width: 350px;
                &.ajs-success {
                    color: #fff;
                    background: rgba(90, 206, 0, 0.95);
                    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
                }
                &.ajs-error {
                    color: #fff;
                    background: rgb(234, 23, 77, 0.95);
                    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
                }
                &.ajs-warning {
                    background: rgba(255, 232, 0, 0.95);
                    border-color: #999;
                }
            }
        }
    }
}
