/* 
Theme Name: Eadson AHCP
Theme URI: https://www.eadsontechnologies.com
Author: Eadson Technologies (Alexander U.O.)
Author URI: https://www.alexander.eadsontechnologies.com
Description: This is a custom built theme for a company Allied Health & Care Professional. It's a WooCommerce Supported theme with job posting functionalities.
Version: 1.0.0
Text-domain: eadsonahcp
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, custom-menu, custom-logo, featured-images, footer-widgets, woocommerce, theme-options, blog, right-sidebar, threaded-comments, job-posts
*/


/* 
==============================
SITE CSS
===============================
*/

:root {
    --primary-color: #542978;
    --primary-color-light: #8F5DA6;
    --primary-color-light2: #d9c7e0;
    --text-dark: #111827;
    --text-light: #6b7280;
    --white: #ffffff;
    --element-bg: #defcf4;
    --element-bg-light: #f4f8f7;
    --shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.section-center {
    width: 85%;
    margin: auto;
    text-align: center;
    padding: 5rem 0 3rem 0;
}

.btn {
    padding: 1rem 2rem;
    outline: none;
    border: none;
    font-size: 1rem;
    color: var(--white);
    background: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.underline {
    height: 0.3rem;
    width: 5rem;
    background-color: var(--primary-color);
    margin: 0 auto 0.5rem auto;
}

.btn:hover {
    background: var(--primary-color-light);
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
}
h1, h2, h3 {
    margin-bottom: 1rem;
}

 .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 2rem 1rem 0 1rem;
}


.nav-btn {
    display: none;
}



.nav-center {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}



.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}


.nav-toggle {
    background: transparent;
    border: transparent;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
} */

/* Take note here */


 .menu-main-menu-container .menu {
    display: block;
    padding: 1rem 2rem;
    text-transform: capitalize;
    transition: all 0.3s;
}



.menu-main-menu-container .menu li {
    list-style: none;
    padding: 1rem 0;
}

.menu-main-menu-container .menu li a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.nav-links {
    height: 0;
    overflow: hidden;
}


.show-links {
    height: auto;
} 

@media screen and (min-width:992px) {
    .nav-toggle {
        display: none;
    }

    .nav-links {
        height: auto;
    }

     .nav-btn {
        display: block;
    }

    .nav-center {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        

    .menu-main-menu-container .menu {
        height: auto;
        display: flex;
        justify-content: space-between;
        padding: 0;
        margin: 0;
        font-weight: 500;
    }

    .nav-header {
        padding: 1rem 0;
    } 

    .menu-main-menu-container .menu li {
        padding: 2.5rem 0.5rem 0 0.5rem;
        font-size: 1rem;
    }

    .menu-main-menu-container .menu li a {
        font-size: 1rem;
        color: var(--text-light);
    }

}


.navbar.scrolled {
    background-color: var(--element-bg-light);
    box-shadow: var(--shadow);
} */

.hero-section {
    margin-top: 2rem;
}

.hero-header {
    max-width: 1200px;
    margin: auto;
    min-height: calc(100vh - 168px);
    display: flex;
    flex-direction: column;
    margin-top: 12rem;
}

.link a {
    text-decoration: none;
    color: var(--text-light);
    cursor: pointer;
    transition: 0.3s;
}

.link a:hover {
    color: var(--primary-color);
}

.hero-header {
    margin-top: 10rem;
    padding: 3rem 2rem;
}

.hero-header-content h1 {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hero-header-content p {
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.75rem;
}

.hero-header-content a {
	text-decoration: none;
}

@media screen and (min-width:992px) {
    .hero-header {
            padding: 0 1rem;
            flex: 1;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            align-items: center;
        }       
    
        .hero-image {
            position: relative;
            text-align: center;
            isolation: isolate;
        }
    
        .hero-image-bg {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            height: 450px;
            width: 450px;
            background: var(--primary-color);
            border-radius: 100%;
            z-index: -1;
        }
    
        .hero-image img {
            width: 60%;
            max-width: 457px;
            border-bottom-right-radius: 150px;
            border-bottom-left-radius: 150px;
        }
    
        .image-content {
            position: absolute;
            top: 50%;
            left: 50%;
            padding: 1rem 2rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            text-align: center;
            background: var(--white);
            border-radius: 5px;
            box-shadow: var(--shadow);
        }
    
        .image-content-1 {
            transform: translate(calc(-50% - 12rem), calc(-50% - 8rem));
        }
    
        .image-content-1 span {
            padding: 10px 12px;
            font-size: 1.5rem;
            color: var(--primary-color);
            background: var(--element-bg);
            border-radius: 100%;
        }
    
        .image-content-1 h4 {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--text-dark);
        }
    
        .image-content-1 p {
            color: var(--text-light);
        }
    
        .image-content-2 {
            transform: translate(calc(-50% + 10rem), calc(-50% + 10rem));
        }
    
        .image-content-2 ul {
            list-style: none;
            display: grid;
            gap: 1rem;
        }
    
        .image-content-2 li {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            color: var(--text-light);
        }
    
        .image-content-2 span {
            font-size: 1.5rem;
            color: var(--primary-color);
        }
}



.services {
    background-image: url(../images/plane-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    margin: 1rem auto;
}

.services-heading,
.jobs-heading,
.courses-heading {
    color: var(--primary-color);
    font-size: 2rem;
    letter-spacing: 1px;
    padding-bottom: 12px;
}

.services-desc,
.jobs-desc,
.courses-desc {
    color: var(--text-light);
    width: 80%;
    margin: 0.5rem auto 3rem auto;
}

.boxes {
    margin: 3rem auto;
    padding: 25px;
    background: var(--element-bg-light);
    box-shadow: var(--shadow);
    border-radius: 10px;
    position: relative;
}

.services-subheading {
    padding-bottom: 13px;
}

.services-paragraph {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-dark);
}

.boxes h2 {
    margin-top: 1em;
}

.boxes i {
    position: absolute;
    top: 0;
    left: 50%;
    font-size: 2em;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.7s linear;
}

.boxes:hover i {
    cursor: pointer;
    border: 10px double var(--white);
    transform: translate(-50%, -50%) rotateY(40deg);
}

@media screen and (min-width: 992px) {
    .services-box {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .boxes {
        max-width: 400px;
    }
}

.jobs {
    margin: 1rem auto;
}

.job-card {
    margin-top: 4rem;
    box-shadow: var(--shadow);
    padding: 3rem;
    border-radius: 15px;
    align-items: center;
}

@media screen and (min-width:992px) {
    .job-card {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
    }
}

.job-details h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.job-details p {
    margin: 1rem auto;
}

.job-details .position {
    background-color: var(--element-bg-light);
    padding: 0.3rem;
    border-radius: 5px;
}

.job-details .location {
    background-color: var(--primary-color-light2);
    padding: 0.3rem;
    border-radius: 5px;
    color: var(--text-dark);
}

.job-details .bold-weight {
    font-weight: bold;
}

.job-excerpt {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .hero-header {
        text-align: center;
    }
	.woocommerce.columns-3 {
		margin: 0 auto;
	}
    .products.columns-3 {
        display: flex;
		align-items: center;
        flex-direction: column;
        }
    .products.columns-3 li {
        width: 280px !important;
    }

    .products.columns-3 li img {
        width: 100%;
    }

    .image-content.image-content-1,
    .image-content.image-content-2 {
        display: none;
    }
}

.job-btns p{
    margin-top: 2rem;
}

.job-share {
    background: var(--primary-color-light);
}

.job-btns p a {
    text-decoration: none;
}

.job-salary h3 {
    background: var(--primary-color);
    padding: 0.2rem;
    color: var(--white);
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.browse-jobs {
    display: inline-block;
    margin-top: 5rem;
    text-decoration: none;
}

.footer.section-center {
    text-align: left;
}



.view-all-course {
    display: inline-block;
    margin-top: 4rem;
    text-decoration: none;
}

@media screen and (min-width: 992px) {
    .courses {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .course {
        width: 300px;
    }

    .course-img {
        width: 300px;
    }

    .course-img img {
        width: 100%;
    }

    .job-btns {
        display: flex;
        justify-content: space-between;
        gap: 0.5rem;
    }
}

@media screen and (min-width: 1024px) {
    .course {
        width: 350px;
    }

    .course-img {
        width: 350px;
    }

    .course-img img {
        width: 100%;
    }
}

/* footer */

.clients-partners-section {
    background: #efecf0;
    margin-bottom: -10rem;
    padding: 2rem 5rem;
}

.client-header {
    text-align: center;
    margin-bottom: 2rem;
}
.client-logo {
    width: 300px;
    height: 300px;
}

.client-logo img {
    width: 100%;
}

.clients-partners {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

.footer-section {
    background: var(--text-dark);
    color: var(--white);
    margin-top: 6rem;
}

.about-ahcp {
    width: 300px;
    margin-right: 6rem;
}

.about-ahcp p {
    margin-top: 1rem;
    font-size: 14px;
    line-height: 1.3rem;
    color: var(--primary-color-light2);
    opacity: 0.8;
}

.footer-navigation h4 {
    margin-bottom: 1.5rem;
}

.footer-navigation ul li {
    list-style: none;
}

.footer-navigation ul li a {
    text-decoration: none;
    color: var(--primary-color-light2);
    font-size: 14px;
    line-height: 1.3rem;
    opacity: 0.8;
}

.footer-3 p {
    color: var(--primary-color-light2);
    margin: 1rem auto;
    font-size: 14px;
    line-height: 1.3rem;
    opacity: 0.8;
}

.email-list li {
    color: var(--primary-color-light2);
    opacity: 0.8;
    line-height: 1.3rem;
}

.footer-3 p span {
    font-size: 2rem;
    display: inline-block;
    margin-right: 0.5rem;
}

@media screen and (min-width: 992px) {
    .footer {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .footer-navigation {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding-top: 3rem;
    }
}

.copyright {
    text-align: center;
    background: #060c16;
    padding: 2rem;
    font-size: 14px;
    color: #a4a2a5;
    opacity: 0.5;
}

.copyright a {
    text-decoration: none;
    color: #a4a2a5;
}

/*
======================
 Pages 
 =====================
 */

/* Job Details Page */

.job-page-details-section {
    margin: 9rem auto;
    padding: 2rem;
    text-align: start;
}

.breadcrumb {
    display: flex;
    justify-content: space-between;
}

.breadcrumb a {
    text-decoration: none;
}

.job-page-details {
    margin: 3rem auto;
}

.btn.job-list {
    background: var(--primary-color-light);
}

.btn.job-list:hover {
    background: var(--primary-color);
}

.job-snippets {
    font-weight: bold;
}

.job-page-details h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.job-page-details p {
    line-height: 1.5;
    color: var(--text-light);
}

.job-details-desc {
    margin: 1rem auto;
}

.contract-type-salary {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contract-type {
    color: var(--primary-color);
    font-weight: bold;
}

.overview-title .overview-details h4 {
    margin-bottom: 0;
    font-weight: lighter;
}

.btn.apply-btn {
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.overview-title .overview-details p {
    margin-top: 0;
    line-height: 1.9rem;
    color: var(--primary-color-light);
}

@media screen and (min-width: 992px) {
    .job-page-details {
        display: flex;
        justify-content: space-between;
    }

    .job-page-details .details {
        max-width: 70%;
    }

    .job-page-details .overview-title {
        max-width: 30%;
    }

    .job-page-details .overview {
        border: 1px solid var(--primary-color);
        padding: 2rem;
        border-radius: 10px;
    }
}

/* Job list page */

.job-list-page {
    margin-top: 9rem;
}

.job-list-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    column-gap: 1rem;
}

.job-list-layout .job-btns {
    flex-direction: column;
}

.job-list-layout .job-btns p {
    margin: 1.2rem auto;
}

/* Services page */

.cta .join-us h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta .join-us p {
    width: 70%;
    margin: 0 auto;
    line-height: 1.9rem;
    color: var(--text-light);
}

.cta .join-us a {
	display: inline-block;
    margin-top: 2rem;
	text-decoration: none;
}

/* Contact page */

.contact-page.contact-us {
    margin: 9rem auto 3rem auto;
    text-align: left;
}


.contact-page.contact-us h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-page.contact-us p {
    color: var(--text-light);
}

.contact-mediums .contact-form form input {
    min-width: 100%;
    height: 2rem;
    border-radius: 5px;
    border: transparent;
    background: var(--primary-color-light);
    opacity: 0.3;
}

.contact-mediums .contact-form form label {
    display: inline-block;
    margin: 1rem auto 0 auto;
    color: var(--text-light);
}

.contact-mediums .contact-form form textarea {
    width: 100%;
    height: 8rem;
    border-radius: 5px;
    border: transparent;
    background: var(--primary-color-light);
    opacity: 0.3;
}

.contact-mediums .contact-info p {
    color: inherit;
    font-size: 1rem;
    line-height: 1.9rem;
}

.contact-mediums .contact-info p span {
    font-size: 2rem;
    color: var(--primary-color-light);
}

.contact-mediums .contact-info ul li {
    color: inherit;
    font-size: 1rem;
    line-height: 1.9rem;
}

.page-template-contact-template .addtoany_share_save_container.addtoany_content.addtoany_content_bottom {
    display: none;
}

#wpforms-submit-321 {
    background-color: var(--primary-color);
    color: var(--white);
}

@media screen and (min-width: 992px) {
    .contact-form {
            width: 800px;
        }
    .contact-mediums {
        display: flex;
        justify-content: space-between;
        /* align-items: center; */
        align-content: center;
    }

    .contact-mediums .contact-form {
        max-width: 60%;
    }

    .contact-mediums .contact-info {
        margin-top: 2rem;
        max-width: 30%;
    }
}

/* 404 page */

.error-404{
    padding-top: 5rem;
    font-size: 1rem;
    color: var(--text-light);
}

.error-404 h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-404 p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.error-404 .error form input[type=text] {
    width: 70%;
    height: 2rem;
    border: transparent;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background: var(--primary-color-light2);
}

.error-404 .error form input[type=submit] {
    height: 2rem;
    background: var(--primary-color);
    color: var(--white);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 0.3rem;

}

/* Blog Post Single Page */

.blog-post-page {
    padding: 10rem 5rem;
}

.blog-post-page .post-thumbnail {
    margin: 1rem auto;
}
/* My Changes to WC */

/* 2 columns on mobile */
.post-type-archive-product #sidebar, .single-product #sidebar {
    display: none;
}
.general-page-layout {
    padding: 15rem 8rem;
}

.page-header{
margin-bottom: 1rem;
}
.content-area {
    padding: 12rem 5rem;
}

.wc-block-components-button__text ,
.wp-block-button.wc-block-grid__product-add-to-cart a{
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    border-radius: 5px;
}

.sale a span.onsale {
    background: var(--primary-color);
    color: var(--white);
}

.woocommerce-loop-product__title {
    color: var(--text-light);
}



.home .woocommerce.columns-3 .products.columns-3 li {
    box-shadow: var(--shadow);
    padding-bottom: 1rem;
}

.home .woocommerce.columns-3 .products.columns-3 li a {
    text-decoration: none;
}

.home .woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    text-decoration: none;
    color: var(--text-light);
}

 .button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    display: inline-block;
    margin-top: 2rem;
    background: var(--primary-color);
    color: var(--white);
	 padding: 1rem;
	 border-radius: 5px;
}

@media screen and (min-width:992px) {
    .home .woocommerce.columns-3 .products.columns-3 {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
    .home .woocommerce.columns-3 .products.columns-3 li {
        width: 400px;
    }
}


/* WordPress Core
-------------------------------------------------------------- */

.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
    max-width: 100%;
    height: auto;
}


.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}