/*
Theme Name: Q-Medical
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

html,
body {
    overflow-x: hidden;
}

body {
    overflow-x: initial;
    font-family: 'Poppins';
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-family: 'Poppins';
    letter-spacing: 0px;
}

body h1,
body h1 span {
    font-size: 60px;
    line-height: 64px;
}

body h2,
body h2 span {
    font-size: 34px;
    line-height: 50px;
}

body h3,
body h3 span {
    font-size: 25px;
    line-height: 33px;
}

body h4,
body h4 span {
    font-size: 22px;
    line-height: 35px;
}

body h5,
body h5 span {
    font-size: 20px;
    line-height: 32px;
}

body h6,
body h6 span {
    font-size: 20px;
    line-height: 50px;
}

body p,
body .fl-builder-content .fl-module-rich-text .fl-rich-text p,
body .content-style p {
    font-size: 17px;
    line-height: 35px;
}

body a,
body .fl-builder-content .fl-rich-text a {
    font-family: 'Poppins';
    font-size: 16px;
    line-height: 25px;
}

.fl-builder-content a.fl-button,
.fl-builder-content a.fl-button:visited {
    background: #E1BC6F;
    color: #011B3D;
    border: 1px solid #E1BC6F;
    border-radius: 100px;
    padding: 14px 30px;
    transition: 0.2s all ease-in-out;
}

.fl-builder-content a.fl-button:hover {
    background: #fff;
    color: #011B3D;
}

.fl-builder-content a.fl-button:hover span {
    color: #011B3D;
}

body a:hover,
body a:focus {
    text-decoration: none;
}

@media (min-width: 993px) and (max-width: 1199px) {

    body h1,
    body h1 span,
    body .pp-heading-content .pp-heading h1.heading-title,
    body .pp-heading-content .pp-heading h1.heading-title span {
        font-size: 50px;
        line-height: 54px;
    }

    body h2,
    body h2 span,
    body .pp-heading-content .pp-heading h2.heading-title,
    body .pp-heading-content .pp-heading h2.heading-title span {
        font-size: 30px;
        line-height: 40px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {

    body h1,
    body h1 span,
    body .pp-heading-content .pp-heading h1.heading-title,
    body .pp-heading-content .pp-heading h1.heading-title span {
        font-size: 42px;
        line-height: 52px;
    }

    body h2,
    body h2 span,
    body .pp-heading-content .pp-heading h2.heading-title,
    body .pp-heading-content .pp-heading h2.heading-title span {
        font-size: 28px;
        line-height: 38px;
    }

    body h3,
    body h3 span,
    body .pp-heading-content .pp-heading h3.heading-title,
    body .pp-heading-content .pp-heading h3.heading-title span {
        font-size: 24;
        line-height: 36px;
    }
}

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

    body h1,
    body h1 span,
    body .pp-heading-content .pp-heading h1.heading-title,
    body .pp-heading-content .pp-heading h1.heading-title span {
        font-size: 40px;
        line-height: 52px;
    }

    body h2,
    body h2,
    body .fl-module-heading h2.fl-heading,
    body .fl-module-heading h2.fl-heading span,
    body .pp-heading-content .pp-heading h2.heading-title,
    body .pp-heading-content .pp-heading h2.heading-title span {
        font-size: 26px;
        line-height: 36px;
    }

    body h3,
    body h3,
    body .fl-module-heading h3.fl-heading,
    body .fl-module-heading h3.fl-heading span,
    body .pp-heading-content .pp-heading h3.heading-title,
    body .pp-heading-content .pp-heading h3.heading-title span {
        font-size: 22px;
        line-height: 33px;
    }

    body h6,
    body h6 span,
    body .fl-module-heading h6.fl-heading,
    body .fl-module-heading h6.fl-heading span {
        font-size: 36px;
        line-height: 53px;
    }

    body p,
    body .fl-builder-content .fl-module-rich-text .fl-rich-text p {
        font-size: 16px;
        line-height: 30px;
    }

    /* .content-row-style .fl-module-heading .fl-heading, 
    .content-row-style .fl-module-heading .fl-heading span, 
    body .content-row-style p, 
    body .content-row-style .fl-module-rich-text .fl-rich-text p {
    } */
}

/*---------------Header Styles---------------*/

.fl-theme-builder-header-scrolled.fl-theme-builder-header-shrink .pp-photo-container .pp-photo-content .pp-photo-content-inner img {
    max-height: 70px !important;
    width: auto !important;
}

.fl-theme-builder-header-scrolled.fl-theme-builder-header-shrink .fl-col-group-equal-height.fl-col-group-align-top .fl-col-content {
    justify-content: center;
}

/*-------------------------------------------*/

/*---------------Page Styles---------------*/

/* Global Styles */
.iconaligntop.fl-module-pp-infolist .pp-infolist-wrap .pp-list-items .pp-list-item-content {
    align-items: flex-start;
}

.iconaligntop.fl-module-pp-infolist .pp-infolist-wrap .pp-list-items .pp-list-item-content .pp-icon-wrapper {
    top: 12px;
}


/* Hero Styles */
.backgroundicon .fl-row-content-wrap {
    position: relative;
}

.backgroundicon .fl-row-content-wrap:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100px;
    bottom: 0;
    width: 100%;
    height: 550px;
    background: url('/wp-content/uploads/2023/08/Path-346.svg') no-repeat;
    background-size: contain;
    background-position: center center;
    z-index: 1;
}


/* Post layout section */
.post-custom-layout .pp-content-posts .pp-content-post {
    padding: 0;
    border-radius: 20px;
    background: none;
    box-shadow: 0px 0px 20px 4px #00000029;
}

.post-custom-layout .pp-content-grid-post-text h3 {
    font-size: 25px;
    line-height: 38px;
    color: #003F3D;
    font-weight: 500;
}

.post-custom-layout .pp-content-grid-post-text {
    padding: 10px 30px 100px 30px;
}

.post-custom-layout .pp-content-post .pp-content-grid-post-date {
    display: flex;
    flex-direction: column;
    width: fit-content;
    left: 30px;
    position: relative;
    margin-top: -79px;
    background: #E1BC6F;
    padding: 8px 12px 8px 12px;
    text-align: center;
}

.post-custom-layout .pp-content-post .pp-content-grid-post-date span:first-child {
    color: #FFFFFF;
    font-size: 21px;
    line-height: 30px;
    text-transform: uppercase;
}

.post-custom-layout .pp-content-post .pp-content-grid-post-date span:last-child {
    font-size: 36px;
    line-height: 33px;
    font-weight: bold;
}

/* .post-custom-layout .pp-content-post .pp-content-grid-authorarea {
    background-color: #F9F6F1;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: auto;
    min-height: 0px;
    -moz-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    transition-delay: 0s;
} */

.post-custom-layout .pp-content-post .pp-content-grid-authorarea {
    background-color: #F9F6F1;
    padding: 15px 30px 43px 30px;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: calc(0px - 309px);
    min-height: 0px;
    -moz-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    transition-delay: 0s;
}

/* .post-custom-layout .pp-content-post .pp-content-grid-authorarea.active {
    gap: 30px;
    min-height: 340px;
} */

.post-custom-layout .pp-content-post .pp-content-grid-authorarea.active {
    gap: 30px;
    min-height: calc(100% - 309px);
}

.post-custom-layout .pp-content-grid-authorarea .header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.post-custom-layout .pp-content-grid-authorarea .pp-content-grid-post-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    /* transform: translate(0px, 120%); */
    max-height: 0px;
    /* margin-bottom: -30px; */
    -moz-transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
    opacity: 0;
}

.post-custom-layout .pp-content-grid-authorarea.active .pp-content-grid-post-content {
    max-height: 700px;
    margin-bottom: 0;
    opacity: 1;
    /* transform: translate(0px, 0); */
}

.post-custom-layout .pp-content-grid-authorarea .pp-content-grid-post-content li {
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    list-style: none;
}

.post-custom-layout .pp-content-grid-authorarea .pp-content-grid-post-content li::before {
    content: '';
    background: #e1bc6f;
    width: 6px;
    height: 6px;
    display: block;
    border-radius: 50%;
    position: absolute;
    left: 10px;
    top: 12px;
    z-index: 9;
}

.post-custom-layout .pp-content-grid-authorarea .post-author-content a {
    display: inline;
}

.post-custom-layout .pp-content-grid-authorarea .pp-content-grid-post-content ul {
    padding: 0;
}

.post-custom-layout .pp-content-grid-authorarea .post-author-image {
    width: auto;
}

.post-custom-layout .pp-content-grid-authorarea .post-author-image img {
    border-radius: 50%;
}

.post-custom-layout .pp-content-grid-authorarea .post-author-content {
    padding: 0px 0px 0 20px;
    width: 100%;
}

.post-custom-layout .pp-content-grid-authorarea .pp-content-grid-authorname {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    color: #1B918D;
    position: relative;
    padding-left: 36px;
    padding-right: 15px;
}

.post-custom-layout .pp-content-grid-authorarea .pp-content-grid-authorname:before {
    content: '';
    position: absolute;
    height: 24px;
    width: 24px;
    background: url(/wp-content/uploads/2023/08/speaker.png);
    left: 0;
}

.post-custom-layout .pp-content-grid-authorarea a {
    display: flex;
    flex-direction: row;
    font-weight: 500;
    color: #003F3D;
}

.post-custom-layout .pp-content-grid-authorarea a:hover {
    color: #e1bc6f;
}

.post-custom-layout .pp-content-grid-authorarea a:hover span.arrow-point {
    border-color: #e1bc6f;
    transition: all 0.3s ease-in;
}

.post-custom-layout .pp-content-grid-authorarea span.arrow-point {
    width: 14px;
    height: 14px;
    display: block;
    border-right: 2px solid #003F3DBA;
    border-bottom: 2px solid #003F3DBA;
    transform: rotate(45deg);
    margin-left: 15px;
    transition: all 0s ease-out;
}

.post-custom-layout .pp-content-grid-authorarea.active span.arrow-point {
    /* transform: rotate(225deg); */
    transform: rotate(45deg) scaley(-1) scalex(-1);
    transition: all 0.3s ease-out;
    position: relative;
    top: 10px;
}


/* Forms Section */
.formstyles .pp-gf-content .gform_heading .gform_description {
    font-size: 22px;
    line-height: 35px;
    font-weight: 500;
    text-align: center;
    color: #FFFFFF;
    padding-bottom: 10px;
}

.formstyles .pp-gf-content .gform_wrapper .gfield_error .validation_message {
    background: no-repeat;
    border: none;
    padding-left: 0;
}


/* Single post page */
.fl-theme-builder-singular-post-single-template .post-author-layout .post-author-title {
    font-size: 26px;
    line-height: 32px;
    font-weight: 500;
    color: #1B918D;
    padding: 20px 20px 20px 40px;
    margin-left: 10px;
    position: relative;
}

.fl-theme-builder-singular-post-single-template .post-author-layout .post-author-title:before {
    content: '';
    position: absolute;
    height: 24px;
    width: 24px;
    background: url(/wp-content/uploads/2023/08/speaker.png);
    left: 0;
}

.fl-theme-builder-singular-post-single-template .post-author-layout div.row:nth-child(2) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.fl-theme-builder-singular-post-single-template .post-author-layout .post-author-content ul li::marker {
    color: #e1bc6f;
}

.fl-theme-builder-singular-post-single-template .post-author-layout .post-author-content ul li {
    font-size: 17px;
    line-height: 35px;
    padding-bottom: 10px;
}

.fl-theme-builder-singular-post-single-template .post-author-layout {
    padding: 30px;
    background-color: #F9F6F1;
}

.fl-theme-builder-singular-post-single-template .post-author-layout .post-author-image {
    width: auto;
}

.fl-theme-builder-singular-post-single-template .post-author-layout .post-author-content {
    padding: 0px 20px 0 30px;
    width: 80%;
}

.fl-theme-builder-singular-post-single-template .post-author-layout .post-author-image img {
    border-radius: 50%;
}

/*-----------------------------------------*/

/*---------------Footer Styles---------------*/

.footer-col .fl-module-icon .fl-icon-wrap a.fl-icon-text-link:hover {
    text-decoration: underline;
}

.formstyles .pp-gf-content .gform_footer .gform_button {
    transition: 0.2s all ease-in-out;
}

/*-------------------------------------------*/

/*-------------Responsive Styles-------------*/

@media only screen and (min-width: 1200px) {
    .formstyles .pp-gf-content .gform_heading .gform_description {
        font-size: 18px;
        line-height: 26px;
    }

    .post-custom-layout .pp-content-grid-post-text h3 {
        line-height: 30px;
    }

    .post-custom-layout .pp-content-grid-post-text h3 a {
        font-size: 22px;
        line-height: 30px;
    }
}

@media only screen and (min-width: 993px) {
    .post-custom-layout .pp-content-post .pp-content-grid-authorarea {
        position: absolute;
        bottom: 0px;
        width: 100%;
    }
}

@media (min-width: 993px) and (max-width: 1199px) {
	.post-imageare {
		min-height: 250px;
		height: 250px;
		overflow: hidden;
		position: relative;
	}
	.post-custom-layout .pp-content-post .pp-content-grid-post-date {
		position: absolute;
    	bottom: 0;
	}
	.post-custom-layout .pp-content-post .pp-content-grid-authorarea.active {
		min-height: calc(100% - 248px);
	}
}

@media only screen and (max-width: 992px) {
    .post-custom-layout .pp-content-post .pp-content-grid-authorarea {
        position: absolute;
        bottom: 0px;
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .fl-col.sign-up-form-col .fl-col-content {
        max-width: 566px;
        margin: auto;
    }

    .post-custom-layout .pp-content-posts .pp-content-post {
        max-width: 568px;
        margin: auto;
        min-height: 800px;
        max-height: 800px;
    }
}

@media only screen and (max-width: 768px) {
    .post-custom-layout .pp-content-grid-post-text {
        padding: 0 20px 20px;
    }

    .post-custom-layout .pp-content-grid-post-text h3 a {
        font-size: 22px;
        line-height: 33px
    }

    .post-custom-layout .pp-content-post .pp-content-grid-post-date {
        left: 20px;
        margin-top: -57px;
    }

    .post-custom-layout .pp-content-post .pp-content-grid-post-date span:first-child {
        font-size: 14px;
        line-height: 16px;
    }

    .post-custom-layout .pp-content-post .pp-content-grid-post-date span:last-child {
        font-size: 25px;
        line-height: 25px;
    }

    .post-custom-layout .pp-content-post .pp-content-grid-authorarea {
        padding: 15px 20px 43px 20px;
    }

    .post-custom-layout .pp-content-post .pp-content-grid-authorarea .pp-content-grid-authorname {
        font-size: 16px;
        line-height: 26px;
    }

    .formstyles .pp-gf-content .gform_heading .gform_description {
        font-size: 18px;
        line-height: 28px;
    }

    body .fl-builder-content a.fl-button,
    body .fl-builder-content a.fl-button:visited {
        font-size: 15px;
        padding: 14px 20px;
    }

    .fl-theme-builder-singular-post-single-template .post-author-layout {
        padding: 20px;
    }

    .fl-theme-builder-singular-post-single-template .post-author-layout div.row:nth-child(2) {
        flex-direction: column;
    }

    .fl-theme-builder-singular-post-single-template .post-author-layout .post-author-image {
        width: 100%;
        text-align: center;
    }

    .fl-theme-builder-singular-post-single-template .post-author-layout .post-author-content {
        width: 100%;
        padding: 20px 20px 0px 0;
    }

    .fl-theme-builder-singular-post-single-template .post-author-layout .post-author-title {
        font-size: 22px;
        line-height: 30px;
        padding: 10px 20px 20px 40px;
    }

    .fl-theme-builder-singular-post-single-template .post-author-layout .post-author-content ul li {
        font-size: 16px;
        line-height: 28px;
    }

    .post-custom-layout .pp-content-grid-authorarea .pp-content-grid-post-content {
        flex-direction: column;
        /* gap: 30px; */
    }
    
    .post-custom-layout .pp-content-grid-authorarea .post-author-image {
        max-width: 30%;
    }

    .post-custom-layout .pp-content-grid-authorarea .post-author-image img {
        margin-bottom: 30px;
    }
    
    .post-custom-layout .pp-content-grid-authorarea .post-author-content {
        padding: 0px;
        width: 100%;
    }

    .post-custom-layout .pp-content-posts .pp-content-post {
        /* min-height: 800px;
        max-height: 800px;
        height: 100%; */
        padding-bottom: 50px;
    }

    .post-custom-layout .pp-content-grid-post-text h3 {
        font-size: 22px;
        line-height: 33px;
    }

    .post-custom-layout .pp-content-grid-authorarea .pp-content-grid-post-content li {
        font-size: 15px;
        line-height: 27px;
    }

    .backgroundicon .fl-row-content-wrap:before {
        top: 200px;
    }
}

@media only screen and (min-width: 768px) {}

@media (min-width: 610px) and (max-width: 768px){
	.post-custom-layout .pp-content-posts .pp-content-post {
		min-height: 750px;
		max-height: 750px;
	}	
}

@media only screen and (max-width: 640px) {
    .formstyles .gform_wrapper .ginput_complex span.name_first {
        margin-bottom: 20px;
    }
}
@media only screen and (max-width: 609px) {
	.post-custom-layout .pp-content-post .pp-content-grid-authorarea.active {
		min-height: calc(100% - 25%);
	}
}
/*-------------------------------------------*/