/*
Theme Name: Dermatology
Version: 1.0
Text Domain: dermatology
*/

/*  General Style Rules

	// Colors
	gray (body text): rgb(128, 130, 133);
	blue (headers): rgb(88, 192, 210);
	lt blue (backgrounds): rgb(196, 230, 237);

*/

/* Start Original Fonts */
@font-face {
	font-family: 'Futura Book';
		src: url('./assets/fonts/FuturaStd-Book.woff2') format('woff2'),
		url('./assets/fonts/FuturaStd-Book.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'ITC Century Book';
		src: url('./assets/fonts/CenturyStd-Book.woff2') format('woff2'),
		url('./assets/fonts/CenturyStd-Book.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'ITC Century Light';
		src: url('./assets/fonts/Century-Light.woff2') format('woff2'),
		url('./assets/fonts/Century-Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
}
/* End Original Fonts */

/* Start Rebrand Fonts: imported from Typekit

    font-family: "acumin-pro", sans-serif;
    font-weight: 400;    // regular
    font-weight: 700;    // bold

    font-family: "sweet-sans-pro", sans-serif;
    font-weight: 600;    // regular
    font-weight: 700;    // medium
}
/* End Reband Fonts */


:root {
    --color-pink: #c94776;
    --color-orange: #f58659;
    --color-cream: #fffef5;
}

html {
	font-size: 16px;
}

body {
	background: white;
	font-family: "acumin-pro", sans-serif;
	line-height: 1.6rem;
	color: black;
}

body.page {
    background-color: var(--color-cream); 
    border-top: 10px solid var(--color-orange);
    padding: 60px 10px;
}

li {
	list-style: none;
}

ul {
	padding: 0;
	margin: 0;
}

h1, h2, h3 {
	font-family: "acumin-pro", sans-serif;
	font-weight: bold;
	letter-spacing: 0.2rem;
	text-transform: uppercase;
	margin: 0 0 1rem;
	padding: 0;
	color: var(--color-pink);
}

p {
	margin: 0 0 0.8rem;
}

a {
	color: var(--color-orange);
}

.archive {
	height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* -------------------
  FORM WRAPPER
-------------------- */

.form-wrapper {
    margin: 0 auto;
	display: block;
	max-width: 1000px;
}

.form-logo {
    margin-bottom:40px;
    text-align: center;
}

.form-content {
    background: white;
    padding: 40px;
    box-shadow: 0 3px 10px rgba(128, 130, 133, 0.6);
}

.form-title {
    font-family: acumin-pro;
    font-size: 24px;
    text-align: center;
}

/* -------------------
GRAVITY FORM OVERRIDES 
-------------------- */

.gform_wrapper {
    margin-top: 4em;
}

.gform_wrapper p {
    font-size: 14px;
    line-height: 20px;
    font-weight: normal;
}


.gform_required_legend {
    text-align: right;
    font-size: 13px !important;
}
.gform_required_legend span {
    color: rgb(192, 43, 10);
}

.gform_wrapper input.button,
.gform_wrapper button.gpnf-add-entry,
.tingle-modal .tingle-btn.tingle-btn--primary,
.gform-footer input#gform_send_resume_link_button_1 {
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    background: var(--color-orange) !important;
}

.gform_wrapper input.button:hover, 
.gform_wrapper button.gpnf-add-entry:hover,
.tingle-modal .tingle-btn.tingle-btn--primary:hover {
    opacity: 0.8 !important;
}

.gform_wrapper button.gpnf-add-entry {
    margin: 0 0 4px 4px !important;
}

.resume_form_link_wrapper a {
    color: #3774c4;
}
.resume_form_link_wrapper a:hover {
    text-decoration: underline;
}


.tingle-modal .tingle-btn.tingle-btn--default,
button.edit-button.gform-theme-button--secondary,
button.gform_save_link.gform-theme-button--secondary {
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    background: var(--color-pink) !important;
    border: none !important;
    color: white !important;
}

.gpnf-modal .gpnf-modal-header {
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    background-color: var(--color-pink) !important;
}

.gfield_label.gform-field-label {
    font-size: 14px !important;
    line-height: 20px !important;
    font-weight: normal !important;
    margin-bottom: 8px !important;
}

.gfield.field_procedures .gfield_label.gform-field-label,
.gfield.field_total .gfield_label.gform-field-label {
    font-size: 14px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
}

.gfield.field_total .gfield_label.gform-field-label {
    line-height: 1em !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gfield.field_total .gfield_label.gform-field-label:after {
    content: ':';
    margin: 0 6px 0 -4px !important;

}

.gfield.field_total input[type='text'] {
    padding: 0 !important;
    margin-top: -2px !important;
}

.gfield.field_total {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
}

.gfield .ginput_container_date,
.gfield .ginput_container input.datepicker {
    width: 100% !important;
}

table.gpnf-nested-entries {
    width: 100%;
}

table.gpnf-nested-entries th,
table.gpnf-nested-entries td {
    font-size: 13px !important;
    line-height: 1.2em !important;
    color: #333 !important;
}

.gform_wrapper h2 {
    font-size: 18px;
    letter-spacing: normal;
    text-transform: capitalize;
}

.form_saved_message h2,
h2.saved_message_success  {
    margin-top: 4em;
}

button.gform_save_link.gform-theme-button--secondary:before {
    filter: brightness(0) invert(1) !important;
}

.gform_confirmation_message {
    text-align: center !important;
    font-size: 14px !important;
    margin-bottom: 60px !important;
}

.gfield #input_2_17:before {
    content: '$';
    font-weight: bold;
    margin-right: 6px;
}

/* -------------------
   REPORT WRAPPER
-------------------- */
.single-report, .post-type-archive-report {
	margin: 0 auto;
	display: block;
	max-width: 1000px;
	/*min-width: 800px;*/
}

.single-report .wrap, .post-type-archive-report .wrap {
	padding: 0 1rem 1rem;
}

header.branding {
	width: 100%;
	text-align: center;
}

header.branding .logo {
	width: 56px;
	padding: 2rem 0 1.5rem;
}


/* -------------------
   REPORT CONTENT
-------------------- */

.report-title-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    width: 100%;
    margin: 40px 0;
}
.report-logo {
    width: 80px;
}
.report-logo img {
    width: 60px;
    height: auto;
} 
h1.report-title {
	font-size: 1.1rem;
    line-height: 1.5em;
    width: calc(100% - 100px);
	margin: 0;
	padding: 0;
	text-align: left;
	color: var(--color-pink);
}

@media only screen and (max-width: 480px) {
    h1.report-title {
        font-size: 3.5vw;
        line-height: 5vw;
        width: calc(100% - 80px);
        margin-bottom: 0.5rem;
    }

    .report-logo {
        width: 80px;
    }

    .report-logo img {
        width: 60px;
        height: auto;
    } 
}

.report-section {
	margin: 1rem 0 2.4rem;
	padding: 0;
}

.report-section ul {
	margin: 1rem 0;
	padding: 0;
}

.report-section ul li {
	list-style-type: disc;
	margin: 0 0 0.5rem 1.5rem;
	padding: 0;
}

h3.header-section {
	display: block;
	font-size: 1.0rem;
    padding-bottom: 0.4rem;
	border-bottom: 1px solid var(--color-orange);
}

h3.header-section.header-border {
    border-bottom-width: 8px;
}

h3.header-section .header-right {
	float: right;
}

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

    .report-title-wrapper + h3.header-section {
        font-size: 4vw;
    }

    h3.header-section {
        font-size: 14px;
    }

	h3.header-section .header-right {
		display: block;
		float: none;
	}
}

.procedures-group {
	margin: 2rem 0 2rem 1rem;
}

.procedure-details {
	margin: 0 0 1rem;
}

ul.resources-list {
	margin: 0;
}

ul.resources-list li {
	margin: 0 0 0.75rem 1.5rem;
}

.report-section h4 {
	font-size: 1.0rem;
	font-weight: normal;
	margin: 0;
	padding: 0;
}

.report-section .scheduling-considerations {
    margin: 0 0 1rem;
}

.price-excluded {
	display: inline-block;
	cursor: pointer;
}


/* -------------------
   REPORT SUMMARY
-------------------- */
.report-summary {
}

.report-summary .report-subsection {
	margin-top: 2rem;
}

.summary-table {
	border-collapse: collapse;
}

.summary-table tr.border-top {
	border-top: 1px solid rgba(128, 130, 133, 0.6);
}

.summary-table td {
	vertical-align: top;
}

.summary-table td.key {
	white-space: nowrap;
	padding-right: 20px;
}

.report-disclaimer {
	margin: 1rem 0;
}

.report-disclaimer p {
	font-size: 0.9em;
	font-style: italic;
	margin: 0 0 1rem;
}

.report-thankyou {
	margin: 5rem 0 2rem;
}

.report-thankyou p {
	font-size: 1.2rem;
    font-weight: 700;
	text-align: left;
	margin: 0;
	color: var(--color-pink);
    letter-spacing: 0.05rem;
}

.report-thankyou p br {
    display: block;
}

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

    .report-thankyou p {
        font-size: 1rem;
    }

    .report-thankyou p br {
        display: none;
    }
}

h3.header-legend {
	margin-bottom: 0.75em;
}

p.downtime-level {
	font-size: 0.8rem;
	line-height: 1.1rem;
	margin: 0;
}

/* -------------------
   FOOTER
-------------------- */
footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
	margin: 1rem 0 0.4rem;
    padding: 2.3rem 0;
    border-top: 3px solid var(--color-orange);
}

footer .footer-main {
    width: 60%;
}

@media only screen and (max-width: 840px) {
    footer {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        text-align: center;
    }

    footer .footer-main, footer .footer-subtitle {
        width: 100%;
    }

    footer h2.footer-branding {
        font-size: 1.1em;
    }

    footer h3.footer-subbranding, footer .footer-subtitle {
        font-size: 0.8em
    }

    footer .footer-subtitle {
        font-size: 0.8em;
        margin-top: 1rem;
    }
}

footer h2.footer-branding {
    font-family: "sweet-sans-pro", sans-serif;
	font-size: 1.7em;
    font-weight: 700;
    line-height: 1.1em;
	margin: 0 0 0.6rem;
	color: var(--color-pink);
	letter-spacing: 0.3rem
}

footer h3.footer-subbranding {
	font-size: 1.1em;
    font-weight: 400;
	color: var(--color-pink);
	letter-spacing: 0.4rem;
    text-transform: uppercase;
}

footer .footer-subtitle {
	font-size: 1.1em;
    font-weight: 700;
	text-transform: uppercase;
	color: var(--color-pink);
	letter-spacing: 0.4rem
}

footer .footer-branding span {
    font-size: 1.125em;
}

/* PRINT STYLES */

@media print and (color) {

    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .report-title-wrapper {
        margin: 20px 0 40px !important;
    }

    h1.report-title {
        font-size: 0.95rem !important;
        line-height: 1.5em !important;
    }

    /* .report-logo {
        width: 40px !important;
    }

    .report-logo img {
        width: 20px !important;
        height: auto !important;
    } */

    h3.header-section {
        font-size: 0.75rem !important;
        margin-bottom: 0 !important;
    }

    h3.header-section.header-border {
        border-bottom-width: 4px !important;
    }

    h3.header-section.procedure-name {
        font-size: 0.75rem !important;
        margin-bottom: 0.5em !important;
    }

    .procedures-group {
        margin: 1em 0 1em 1em !important;
    }

    .procedure-details, h4.label, h4.descriptor,
    .summary-table td, .summary-table td.key,
    .report-disclaimer p, .report-thankyou p {
        font-size: 0.8rem !important;
        line-height: 1.4em !important;
    }

    .report-section {
        margin: 1rem 0 !important;
    }

    .report-thankyou {
        margin: 2em 0 1em !important;
    }

    footer {
        padding: 1rem 0 !important;
    }

    footer h2.footer-branding {
        margin-bottom: 0 !important;
    }

    footer h2.footer-branding {
        font-size: 0.9rem !important;
    }

    footer .footer-subbranding, footer .footer-subtitle {
        font-size: 0.75rem !important;
    }

    footer, .report-subsection {
        break-inside: avoid !important;
    }

}