/*
 Theme Name: Coactive Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Coactive Divi Child
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */
@font-face {
    font-family: 'Merriweather-Regular';
    src: url('fonts/Merriweather-Regular.woff2') format('woff2'),
    url('fonts/Merriweather-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather-Bold';
    src: url('fonts/Merriweather-Bold.woff2') format('woff2'),
    url('fonts/Merriweather-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica-Neue-Medium';
    src: url('fonts/HelveticaNeue-Medium.woff2') format('woff2'),
    url('fonts/HelveticaNeue-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Helvetica-Neue-Bold';
    src: url('fonts/HelveticaNeue-Bold.woff2') format('woff2'),
    url('fonts/HelveticaNeue-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


form#gform_1 .gform_fields input[type="text"],
form#gform_1 .gform_fields input[type="email"],
form#gform_1 .gform_fields input[type="tel"],
form#gform_1 .gform_fields textarea {
    background: #f8f8f8 !important;
    border: 1px solid #c7c7c7 !important;
    border-radius: 10px !important;
}

.gform-theme--foundation #gform_fields_1 {
    grid-row-gap: 20px !important;
}

form#gform_1 .gfield_required .gfield_required_text {
    color: #ffffff !important;
}

form#gform_1 input#gform_submit_button_1 {
    color: #FFFFFF !important;
    border-width: 3px !important;
    border-radius: 7px;
    font-size: 18px;
    font-family: 'Arimo', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding-top: 10px !important;
    padding-right: 29px !important;
    padding-bottom: 10px !important;
    padding-left: 29px !important;
    background-color: #263b76 !important;
    line-height: normal !important;
    transition: background-color 300ms ease 0ms, margin 300ms ease 0ms, box-shadow 300ms ease 0ms;
}

form#gform_1 input#gform_submit_button_1:hover {
    background: #C43B8D !important;
    box-shadow: 0px 12px 18px -6px rgba(196, 59, 141, 0.22);
}

form#gform_1 .gform_fields .gfield_label {
    font-size: 0.99vw !important;
    color: #1a1a1a !important;
    font-family: 'Merriweather', Georgia, "Times New Roman", serif;
    font-weight: 500;
}

form#gform_1 .field_sublabel_above .gform-field-label--type-sub {
    font-size: 0.99vw !important;
    color: #1a1a1a !important;
    font-family: 'Merriweather', Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.ctm-f-content .gform_wrapper {
    padding: 2.083vw 0 0;
}

.ctm-f-content .gform_title {
    font-size: 1.51vw !important;
    color: #263B76 !important;
    font-family: 'Helvetica-Neue-Bold' !important;
    margin-bottom: 15px;
}

.space-cover {
    font-family: 'Merriweather-Regular';
}

.space-cover .container {
    max-width: 100%;
}

.filter-main {
    width: 100%;
    padding: 0 0 7.813vw;
}

.faculty-form-button {
    margin-left: auto;
    margin-right: 7px;
}

.filter-input {
    max-width: 50%;
}

.filter-input input[type="text"], .filter-input .filter-count {
    width: 100%;
    display: block;
    border: 0;
    border-bottom: 0.052vw solid #707070;
    margin: 0 0 1.042vw;
    padding: 0;
    height: 1.563vw;
    color: #000000;
    font-size: 0.885vw;
    line-height: normal;
}

.filter-select {
    display: flex;
    flex-wrap: wrap;
}

.fs-col:last-child .fs-sub {
    left: auto;
    right: 0;
}

.fs-box {
    position: relative;
}

.fs-label {
    border: 0.052vw solid #707070;
    margin: 0 0.521vw 0.521vw 0;
    border-radius: 0.521vw;
    line-height: normal;
    padding: 0.521vw 1.042vw;
    text-align: left;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    opacity: 0.63;
    color: #000;
    font-family: 'Helvetica-Neue-Bold';
    font-size: 0.885vw;
}

.fs-label:after {
    width: 0;
    height: 0;
    border-left: 0.26vw solid transparent;
    border-right: 0.26vw solid transparent;
    border-top: 0.365vw solid #010101;
    display: inline-block;
    content: "";
    margin-left: 0.521vw;
    transition: all 0.5s ease 0s;
}

.fs-col.active .fs-label {
    opacity: 1;
    color: #C43B8D;
    border: 0.1vw solid #C43B8D;
}

.fs-col.active .fs-label::after {
    border-top-color: #C43B8D;
}

.fs-label.active {
    opacity: 1;
}

.fs-label.active::after {
    transform: rotate(180deg);
}

.fs-sub {
    position: absolute;
    left: 0;
    top: 120%;
    text-transform: none;
    border: 0.052vw solid #707070;
    border-radius: 0.521vw;
    padding: 0.781vw 0.781vw 0.417vw 0.781vw;
    background: #fff;
    display: none;
    z-index: 2;
    box-shadow: 0 0.521vw 1.042vw rgba(0, 0, 0, 0.2);
}

.fs-sub ul {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.fs-sub ul li {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.781vw;
    line-height: normal;
    color: #1A1A1A;
}

.fs-sub ul li input[type=checkbox] {
    margin: 0 0.313vw 0 0;
}

.clear-link {
    color: #C43B8D;
    font-family: 'Merriweather-Bold';
    font-size: 0.938vw;
    transition: all 0.5s;
    margin-top: 0.781vw;
    display: inline-block;
    line-height: normal;
}

.clear-link:hover {
    color: #1A1A1A;
}

.listing-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1.563vw;
}

.listing-col {
    width: 33.33%;
    padding: 0 1.563vw;
    margin: 0 0 10.417vw;
}

.listing-box {
    border: 0.208vw solid #C43B8D;
    border-radius: 1.042vw;
    box-shadow: 0 0.521vw 1.042vw rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
    height: 100%;
    padding: 0 3.125vw 3.125vw 3.125vw;
}

.listing-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.listing-img {
    width: 9.792vw;
    height: 9.792vw;
    border-radius: 50%;
    overflow: hidden;
    margin: -4.688vw auto 2.344vw auto;
    box-shadow: 0 0.521vw 1.042vw rgba(0, 0, 0, 0.2);
}

.listing-box:hover .listing-img img {
    transform: scale(1.1);
}

.listing-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.listing-title {
    position: relative;
    padding: 0 0 1.563vw;
}

.listing-title:after {
    content: "";
    display: inline-block;
    width: 100%;
    height: 0.052vw;
    background: #707070;
    margin: 2.083vw 0 0;
}

.listing-title h3 {
    color: #263B76;
    font-size: 1.458vw;
    font-weight: 600;
    margin: 0 0 0.521vw;
    font-family: 'Helvetica-Neue-Bold';
    padding: 0;
}

.listing-content p {
    color: #1A1A1A;
    line-height: 2em;
    font-size: 1.042vw
}

.listing-designation p {
    margin: 0 0 1.042vw;
}

.more-link {
    color: #1A1A1A;
    font-size: 1.042vw;
    font-family: 'Merriweather-Bold';
}


.faculty-main {
    display: flex;
    flex-wrap: wrap;
}

.faculty-left {
    width: 21%;
}

.faculty-right {
    width: 79%;
    padding: 0 0 0 4.948vw;
}

.faculty-img {
    position: relative;
    margin-bottom: 1.823vw;
}

.faculty-img > img {
    width: 100%;
    border-radius: 1.302vw;
    display: block;
}

.country-flag {
    width: 3.75vw;
    height: 3.75vw;
    background: #fff;
    padding: 0.521vw;
    border-radius: 50%;
    position: absolute;
    bottom: 1.563vw;
    right: -1.823vw;
    box-shadow: 0 0.521vw 1.042vw rgba(0, 0, 0, 0.2);
}

.fi-in {
    padding: 0 0 1.042vw;
}

.form-cover {
    padding: 2.083vw 0 0;
}

.listing-main .no-record-found {
    text-align: center;
    width: 100%;
    padding: 0 0 2.083vw;
    font-size: 1.042vw;
}

@media screen and (max-width: 980px) {

    .filter-main, .filter-input {
        max-width: 100%;
    }

    .filter-main {
        padding-bottom: 70px;
    }

    .filter-input input[type="text"], .filter-input .filter-count {
        margin-bottom: 15px;
        font-size: 14px;
        height: 30px;
    }

    .fs-label {
        border-width: 1px;
        margin: 0;
        border-radius: 10px;
        padding: 10px 15px;
        font-size: 14px;
        justify-content: space-between;
    }

    .filter-select {
        margin: 0 -5px;
    }

    .fs-col {
        width: 50%;
        padding: 0 5px 10px;
    }

    .fs-label:after {
        border-left-width: 5px;
        border-right-width: 5px;
        border-top-width: 7px;
        margin-left: 10px;
    }

    .fs-sub {
        padding: 15px 15px 8px 15px;
        width: 100%;
    }

    .fs-sub ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .fs-sub ul li {
        width: 100%;
        font-size: 14px;
    }

    .fs-sub ul li input[type=checkbox] {
        margin-right: 6px;
    }

    .clear-link {
        font-size: 15px;
        margin-top: 15px;
    }

    .listing-row {
        margin: 0 -15px;
    }

    .listing-col {
        width: 50%;
        padding: 0 15px;
        margin: 0 0 90px;
    }

    .listing-box {
        border: 4px solid #C43B8D;
        border-radius: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        position: relative;
        text-align: center;
        height: 100%;
        padding: 0px 20px 20px 20px;
    }

    .listing-img {
        width: 110px;
        height: 110px;
        margin: -60px auto 25px auto;
    }

    .listing-title {
        padding: 0 0 10px;
    }

    .listing-title:after {
        height: 1px;
        margin: 10px 0 0 0;
    }

    .listing-title h3 {
        font-size: 20px;
        margin: 0 0 15px;
    }

    .listing-content p {
        font-size: 14px;
    }

    .more-link {
        font-size: 16px;
    }

    .listing-designation p {
        margin: 0 0 15px;
    }

    .listing-main .no-record-found {
        padding: 0 0 30px;
        font-size: 16px;
    }

    .fi-in {
        padding: 0 0 20px;
    }

    .ctm-f-content .gform_title {
        font-size: 22px !important;
    }

    form#gform_1 .gform_fields .gfield_label {
        font-size: 16px !important;
    }

    form#gform_1 .field_sublabel_above .gform-field-label--type-sub {
        font-size: 16px !important;
    }

    .ctm-f-content .gform_wrapper {
        padding: 40px 0 0;
    }
}

@media screen and (max-width: 639px) {

    .listing-col {
        width: 100%;
    }

    .fs-col {
        width: 100%;
    }
}

/* =Performance and UX improvements
------------------------------------------------------- */

/* Hide these elements until window.load to avoid CLS */
html.loading,
html.loading .hide-loading,
html.loading div.et_builder_inner_content.et_pb_gutters3,
html.loading .et_parallax_bg,
html.loading .mysticky-welcomebar-fixed {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Faculty form button styling */
.faculty-form-button {
    margin-left: auto;
    margin-right: 7px;
}
.faculty-form-button a {
    font-family: 'Arimo', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    color: #262626 !important;
    letter-spacing: 1px;
}

/* Header positioning fixes */
.et-l--header{
    position: relative;
    z-index: 1000;
    top: 0px !important;
    background: transparent !important;
}

#main-content{
    z-index:999;
    position:relative;
}

/* Mobile popup font size fix */
@media screen and (max-width: 1000px){
    #dipi_popup_id_19364869{
        font-size: 15px !important;
    }
}

/* Hero background size fix for mobile */
@media screen and (min-width: 390px) and (max-width: 767px){
    div.et_pb_section.et_pb_section_0{
        background-size: cover !important;
    }
}

/* Safari-specific adjustments */
@media screen and (max-width: 767px) {
    .safari-browser .et_pb_column .et_pb_text_0 {
        margin-top: 40vw !important;
    }
    .safari-browser #post-12 .et_pb_column .et_pb_text_0 {
        margin-top: 18vw !important;
    }
}
@media screen and (min-width: 768px) and (max-width: 1119px) {
    .safari-browser .et_pb_column .et_pb_text_0 {
        margin-top: 25vw !important;
    }
    .safari-browser #post-12 .et_pb_column .et_pb_text_0 {
        margin-top: 36vw !important;
    }
}
@media screen and (min-width: 1120px) {
    .safari-browser .et_pb_column .et_pb_text_0 {
        margin-top: 20vw !important;
    }
    .safari-browser #post-12 .et_pb_column .et_pb_text_0 {
        margin-top: 36vw !important;
    }
}

/* Footer link styling */
footer a {
    color:#fff !important;
}

/* Responsive select fix */
.custom-select {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

/* Global form styles */
.entry-content select {
    font-size: 16px;
    font-weight: normal;
    line-height: 22px;
    color: #33475b;
    border: 1px solid #cbd6e2;
    box-sizing: border-box;
    border-radius: 15px;
    background-clip: padding-box;
    padding: 10px 15px;
    background-color: #f5f8fa;
    margin-bottom: 0;
    width: 100%;
}

.entry-content button:not(.et-fb-button),
.entry-content input[type="button"] {
    margin: 0;
    outline: 0;
    -webkit-text-size-adjust: 100%;
    vertical-align: baseline;
    padding: .3em 1em;
    line-height: 1.7em!important;
    padding-right: 1.8em!important;
    padding-left: 1.8em!important;
    color: #FFFFFF!important;
    border-width: 0px!important;
    border-radius: 7px;
    font-size: 18px;
    font-family: 'Arimo',Helvetica,Arial,Lucida,sans-serif!important;
    font-weight: 700!important;
    text-transform: uppercase!important;
    background-color: #263B76;
    cursor: pointer;
    transition: all 300ms ease 0ms
}

.entry-content button:not(.et-fb-button):hover,
.entry-content input[type="button"]:hover {
    background-color: #C43B8D;
    transform: translateY(-5px)
}