/*------------------------------------------------------------------
	[Master Stylesheet]

	Author        : Koushik Mandal
	Template Name : Study Point Website Template
	Version       : 1.0


	- Main CSS file is inside assets/css/theme-style.css
-------------------------------------------------------------------*/

@import 'animate.css';
/* Including Animations CSS file */

@import 'owl.carousel.css';
/* Owl Carousel CSS File */

@import 'bootstrap.min.css';
/* Including bootstrap CSS File */

@import 'theme-styles.css';
/* Main Theme CSS File */

@import 'responsive-styles.css';
/* Main Theme CSS File */

@import 'fontawesome-all.min.css';
/* Including Font Awesome Icons */

@import 'magnific-popup.css';
/* Magnific Popup is a responsive lightbox */

/**
 * Import Website Main Fonts 
 *
 * To change Fonts Get Google Fonts replace in following Link, 
 * AFter replacing below go to theme-style.css and update
 * Font Families
 *
 */

@import 'https://fonts.googleapis.com/css?family=Open+Sans:300i,400i,600i,300,400,600,700,800|Roboto:300i,400i,500i,300,400,500,700,900" rel="stylesheet';
/*=========================================
	Below This Line You Can add Your CSS
	Please Do not Edit Files above if you 
	are not sure what you are doing!
==========================================*/

/* Reusable course enquiry popup */
.enquiry-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    padding: 24px 16px;
    overflow-y: auto;
    background: rgba(35, 38, 47, .72);
}

.enquiry-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.enquiry-modal__dialog {
    position: relative;
    width: min(100%, 640px);
    max-height: 100%;
    overflow-y: auto;
    background: #ffffff;
    border-top: 5px solid #eda900;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .28);
}

.enquiry-modal__header {
    padding: 28px 54px 12px 30px;
}

.enquiry-modal__title {
    margin: 0;
    color: #30323a;
    font-size: 27px;
    font-weight: 700;
}

.enquiry-modal__intro {
    margin: 7px 0 0;
    color: #717582;
    font-size: 14px;
    line-height: 1.6;
}

.enquiry-modal__close {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #4f5362;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.enquiry-modal__close:hover,
.enquiry-modal__close:focus {
    color: #eda900;
}

.enquiry-modal__form {
    padding: 12px 30px 30px;
}

.enquiry-modal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.enquiry-modal__field {
    margin-bottom: 18px;
}

.enquiry-modal__label {
    display: block;
    margin-bottom: 7px;
    color: #30323a;
    font-size: 14px;
    font-weight: 600;
}

.enquiry-modal .form-control {
    min-height: 46px;
    border: 1px solid #dedfe3;
    border-radius: 0;
    color: #30323a;
    font-size: 14px;
}

.enquiry-modal textarea.form-control {
    min-height: 125px;
    resize: vertical;
}

.enquiry-modal .form-control:focus {
    border-color: #eda900;
    box-shadow: 0 0 0 3px rgba(237, 169, 0, .16);
}

.enquiry-modal__submit {
    min-width: 152px;
    border-radius: 0;
}

.enquiry-modal__success {
    display: none;
    margin: 0 0 18px;
    padding: 11px 14px;
    background: #fef5de;
    border-left: 3px solid #eda900;
    color: #4f5362;
    font-size: 14px;
}

.enquiry-modal__success.is-visible {
    display: block;
}

body.enquiry-modal-open {
    overflow: hidden;
}

@media (max-width: 575px) {
    .enquiry-modal {
        padding: 12px;
        align-items: flex-start;
    }

    .enquiry-modal__header {
        padding: 23px 48px 8px 20px;
    }

    .enquiry-modal__title {
        font-size: 23px;
    }

    .enquiry-modal__form {
        padding: 12px 20px 22px;
    }

    .enquiry-modal__grid {
        display: block;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .enquiry-modal__submit {
        width: 100%;
    }
}

/* Course detail hero image should fill the full content width. */
.course-details-page .img-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
}

textarea.form-control {
    height: 125px !important;
    resize: vertical;
}

/* Inner pages use their WordPress Featured Image as the banner background. */
.title-section.has-featured-banner:after {
    background-image: var(--studypoint-banner-image);
}

/* Avoid excessive crop on phone screens: the desktop vertical padding made
   the banner nearly square, while uploaded banner artwork is landscape. */
@media (max-width: 575.98px) {
    .title-section.has-featured-banner.grey-bg {
        padding-top: 0;
        padding-bottom: 0;
    }

    .title-section.has-featured-banner .title-section-text {
        padding-top: 95px;
        padding-bottom: 95px;
    }
}
