:root {
    --theme-color: #1c3261;
    --second-color: #21a321;
    --danger-color: #e91818;
    --success-color: #21a321;
    --theme-text-color: #3e3e3e;
    --section-bg-color: #f9f9f9;
    --content-color: #494949;
    --light-color: #8f8f8f;
    --theme-border-radius: 6px;
    --theme-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.07);
}

html {
    scroll-behavior: initial !important;
}

body {
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.4 !important;
}

body,
button,
.mat-card,
.mat-checkbox,
.mat-input-container,
.mat-list,
.mat-menu-item,
.mat-radio-button,
.mat-select,
.mat-list .mat-list-item .mat-list-item-content,
.mat-nav-list .mat-list-item .mat-list-item-content,
.mat-simple-snackbar,
.mat-tab-label,
.mat-slide-toggle-content,
.mat-toolbar,
.mat-tooltip,
.mat-table,
th,
td,
.mat-expansion-panel-header,
.mat-tab-group,
.mat-option,
.mat-dialog-title,
.mat-form-field,
.mat-expansion-panel-content,
.mat-drawer-container,
.mat-stepper-horizontal,
p {
    font-family: "Poppins", sans-serif !important;
    color: var(--theme-text-color);
    letter-spacing: 0.02em !important;
}

/* ::selection {
    background: var(--theme-color);
    color: #fff;
} */

.snackbar-error-class {
    background: var(--danger-color) !important;
}

.snackbar-success-class .mat-simple-snack-bar-content,
.snackbar-error-class .mat-simple-snack-bar-content {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.mat-simple-snackbar button {
    color: #fff;
}

.snackbar-success-class {
    background: var(--success-color) !important;
}

.loading-container {
    /* position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0; */
    z-index: 9999;
}

.loading-image {
    position: fixed;
    z-index: 8;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    padding: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

.loading-bg-cls {
    background: #fff !important;
}

.suffix-btn {
    background: transparent;
}

.suffix-btn i {
    display: block;
    font-size: 22px;
}

.text-danger {
    color: var(--danger-color) !important;
}

small {
    font-size: 12px !important;
}

b,
strong {
    font-weight: 600 !important;
}

ul {
    padding-left: 24px;
}

.link {
    cursor: pointer;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.theme-btn,
.second-btn,
.third-btn,
.danger-btn,
.theme-outline-btn {
    cursor: pointer;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: var(--theme-border-radius);
    outline: none;
}

.theme-btn {
    background: var(--theme-color);
}

.second-btn {
    background: var(--second-color);
}

.third-btn {
    background: #d8ddeb;
    color: var(--theme-color);
}

.danger-btn {
    background: var(--danger-color);
}

.theme-outline-btn {
    background: #f4f8fb;
    color: var(--theme-color);
    border: 1px solid #c8d2df !important;
}

button:disabled {
    opacity: 0.6;
    cursor: no-drop !important;
}

.btn-ml-cls {
    margin-left: 10px;
}

.href-link {
    text-decoration: none;
}

.href-link:hover {
    text-decoration: underline;
}

.cs-container {
    min-height: calc(100vh - 135px);
    background: #f0f6f9;
    padding: 40px 3%;
}

/* Sub hero banner styles starts */
.hero-box {
    position: relative;
    z-index: 1;
    height: 320px;
}

.hero-img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-text-box {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96%;
    text-align: center;
}

.hero-text {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 4px;
    color: #fff;
    margin-top: 0;
}

/* Sub hero banner styles ends */

.bg-img {
    background-position: center !important;
    background-size: cover !important;
}

.section-bg {
    background: var(--section-bg-color);
}

section {
    padding-top: 70px;
}

.section-reduced-padding-top {
    padding-top: 50px;
}

.pb-class {
    padding-bottom: 70px;
}

.section-container {
    width: 84%;
    margin: auto;
}

.reduced-section {
    width: 60%;
    margin: auto;
}

.section-header {
    position: relative;
    text-align: center;
}

.section-header::before {
    position: absolute;
    content: '';
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--theme-color);
    z-index: 4;
}

.section-title {
    font-size: 38px;
    font-weight: 600;
    line-height: 1.3;
}

.section-desc {
    font-size: 20px;
    color: var(--light-color);
    margin-top: 6px;
}

.section-content {
    margin-top: 65px;
}

.anchor-link {
    cursor: pointer;
    text-decoration: none;
}

.anchor-link:hover {
    text-decoration: underline;
}

.cols2-flexible {
    display: grid;
    grid-template-columns: 49% 49%;
    grid-gap: 16px;
}

.medium-mt {
    padding-top: 50px;
}

.list-style-class li {
    position: relative;
    list-style: none;
    padding-left: 4px;
}

.list-style-class li:before {
    content: "";
    position: absolute;
    top: 2px;
    left: -30px;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-size: contain;
    background-image: url("../assets/images/list-icon.png");
}

/* Table design starts  */
.exam-date-card {
    overflow-x: auto;
}

.exam-date-card table {
    width: 100%;
    box-shadow: var(--theme-box-shadow);
}

.exam-date-card table th {
    padding: 8px 16px;
    background: var(--theme-color);
    color: #fff;
    font-weight: 500;
    text-align: left;
}

.exam-date-card table tbody tr {
    background: #fff;
}

.exam-date-card table tbody tr:nth-child(even) {
    background: #f8f8f8;
}

.exam-date-card table td {
    padding: 10px 16px;
}

/* Table design ends  */

/* Image-Text cols styles starts */
.img-text-section .section-header {
    text-align: left;
}

.cols2-flexible-img-text {
    display: flex;
    grid-gap: 20px;
}

.col-text-div {
    width: 55%;
}

.col-text-div p {
    margin-top: 0;
    margin-bottom: 30px;
}

.col-text-div p:last-child {
    margin-bottom: 0px;
}

.col-img-div {
    position: relative;
    width: 45%;
}

.col-img-div img {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    max-width: 75%;
    max-height: 95%;
    object-fit: cover;
    border-radius: var(--theme-border-radius);
}

.col-right-img {
    right: 9%;
}

.col-left-img {
    left: 9%;
}

.col-right-bg {
    position: absolute;
    z-index: -1;
    right: 0;
    top: 55%;
    transform: translateY(-50%);
    width: 70%;
    height: 80%;
    background: var(--theme-color);
}

.col-left-bg {
    position: absolute;
    z-index: -1;
    left: 0;
    top: 5%;
    width: 30%;
    height: 80%;
    background: var(--second-color);
}

/* Image-Text cols styles ends */

/* Form Class styles start  */
.form-container {
    max-width: 450px;
    margin: auto;
    padding: 32px;
    background: #fff;
    border-radius: var(--theme-border-radius);
    border: 1px solid #eee;
    box-shadow: 0 .75rem 1.5rem #12263f08 !important;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
}

.form-class>div {
    margin-bottom: 18px;
}

.cols2-input {
    display: flex;
    grid-gap: 16px;
}

.cols2-input>div {
    width: 50%;
}

.form-container .cols2-input>div {
    width: 48%;
}

mat-form-field {
    width: 100%;
}

.mat-form-field-outline {
    min-height: 46px !important;
}

.mat-form-field-outline-start,
.mat-form-field-outline-end,
.mat-form-field-outline-gap {
    border-width: 1px !important;
}

.mat-form-field-outline-start {
    border-radius: 4px 0 0 4px !important;
}

.mat-form-field-outline-end {
    border-radius: 0 4px 4px 0 !important;
}

.mat-form-field-wrapper {
    margin: inherit !important;
    padding-bottom: 1px !important;
}

.mat-form-field-infix {
    padding: 10px 0 6px 0 !important;
    border-top: .75em solid rgba(0, 0, 0, 0) !important;
}

.mat-form-field-label-wrapper {
    top: -0.99em !important;
}

.prefix-div .mat-form-field-prefix {
    position: relative;
    top: 0px !important;
}

.form-class label {
    line-height: 2.2;
}

.form-container label {
    line-height: inherit !important;
}

.form-class button {
    width: 100%;
    padding: 15px;
}

.form-btns {
    padding-top: 24px;
}

.form-btns button {
    width: 100%;
    padding: 13px;
}

.form-middle-text {
    margin-top: 20px;
}

.form-bottom-text {
    margin-top: 18px;
}

.link-text {
    cursor: pointer;
    font-weight: 500;
    color: var(--second-color);
}

.link-text:hover {
    text-decoration: underline;
}

/* Form Class styles end  */

/* Course data styles start  */
.cols2-course-data {
    display: flex;
    grid-gap: 60px;
}

.course-left-part {
    width: 68%;
}

.course-details {
    width: 32%;
}

.cols2-course-data .section-header {
    text-align: left;
}

.cols2-course-data .section-header::before {
    bottom: -16px;
}

.cols2-course-data .section-title {
    font-size: 23px;
}

.cols2-course-data .section-content {
    margin-top: 50px;
}

.details .div {
    color: #000;
    font-size: 14px;
    margin: 7px 0;
}

/* .details .timing-mssg {
    color: var(--content-color);
    margin-top: 22px;
    margin-bottom: 0;
} */

/* Course data styles end  */

/* Event styles start  */
.left-header {
    text-align: left;
}

.event-header::before,
.no-header-line::before {
    display: none;
}

.left-header {
    text-align: left;
}

.left-header::before {
    left: 35px;
}

.event-header .section-desc {
    font-size: inherit;
    margin-top: 0;
}

.event-content {
    margin-top: 30px !important;
}

.event-details>div {
    display: flex;
    align-items: center;
    grid-gap: 18px;
    margin: 16px 0;
}

.event-details i {
    color: #c0c0c0;
    font-size: 20px;
    width: 22px;
}

.event-details .fa-calendar {
    font-size: 21px;
}

/* Event styles end  */

@media screen and (max-width: 1366px) {
    .section-container {
        width: 90%;
    }
}

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

    section {
        padding-top: 60px;
    }

    .pb-class {
        padding-bottom: 60px;
    }

    .section-container,
    .reduced-section {
        width: 94%;
        margin: auto;
    }

}

@media screen and (max-width: 900px) {
    .cs-container {
        padding: 32px 8px;
    }
}

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

    .section-title {
        font-size: 26px;
    }

    .section-desc {
        font-size: 17px;
    }

    .section-content {
        margin-top: 60px;
    }

    .cols2-flexible {
        display: grid;
        grid-template-columns: 100%;
    }

    /* Image-Text cols styles starts */

    .cols2-flexible-img-text {
        flex-direction: column;
    }

    .col-text-div,
    .col-img-div {
        width: 100%;
    }

    .col-img-div img {
        position: static;
        max-width: 100%;
        width: 100%;
        transform: none;
    }

    .col-right-img {
        right: 0%;
    }

    .col-left-img {
        left: 0%;
    }

    .col-text-div p {
        margin-bottom: 16px;
    }

    /* Image-Text cols styles ends */

    .cols2-course-data {
        flex-direction: column;
        grid-gap: 50px;
        padding-bottom: 40px;
    }

    .course-left-part,
    .course-details {
        width: 100%;
    }

    .event-content {
        margin-top: 25px !important;
    }

    .event-details>div {
        grid-gap: 14px;
        margin: 10px 0;
    }
}

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

    .cdk-overlay-pane {
        max-width: 94vw !important;
    }

    .hero-text {
        font-size: 24px;
    }

    .section-content {
        margin-top: 40px;
    }

    .exam-date-card table th {
        font-size: 12px !important;
        padding: 4px 6px;
    }

    .exam-date-card table td {
        font-size: 12px !important;
        padding: 5px;
    }

    /* Form Class styles starts  */
    .form-container {
        padding: 24px;
    }

    .form-title {
        font-size: 22px;
    }

    .form-class>div:not(:last-child) {
        margin-bottom: 12px;
    }

    .cols2-input {
        flex-direction: column;
        grid-gap: 16px;
    }

    .cols2-input>div {
        width: 100% !important;
    }

    /* Form Class styles ends  */
}

@media screen and (max-width: 375px) {
    .hero-text {
        font-size: 22px;
    }

    .section-title {
        font-size: 24px;
    }
}