/*
Theme Name: Generic Medical Partners Theme
Description: Custom designed theme specially for GMP
Version: 0.9
Author: Rob Williams, DevUp Inc <hello@devup.ca>
Tags: custom template
*/

/* Default Styles */

:root {
	--container-width: 1600px;
	--gmp-gold: #b96826;
	--gmp-grey: #505555;
	--gmp-ltgrey: #aaaaaa;
	--gmp-dkgrey: rgb(0, 0, 0);
	--gmp-white: #ffffff;
	--dt-row-stripe: 255, 255, 0 !important; /* Example: Sets stripe color to red */
}

html, body {
    width:                  100%;
    font-family:            'Roboto Condensed', 'Arial Narrow', sans-serif;
    line-height:            1.4em;
    background:             white;
	color: 					var(--gmp-dkgrey);
}
body { height: 100%; overflow-x: hidden; }

p { padding: 0 0 1em 0; }
.bold { font-weight: bold; }
.italic { font-style: italic; }
.textleft { text-align: left; }
.textcenter { text-align: center; }
.textright { text-align: right; }
.clear { clear: both; }
.floatleft { float: left; }
.floatright { float: right; }
.mobile_only { display: none; }

img.centered {
	display: block;
	margin: 0 auto;
}

img.alignright {
	padding: 4px;
	margin: 0 0 1em 1em;
	display: inline;
}

img.alignleft {
	display: inline;
}

img.aligncenter {
    display: block;
}

.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { margin: 0 auto; }


/* Basic styles */

a { text-decoration: none; color: var(--gmp-gold); font-weight: 800; transition: 0.5s all; }
a:hover { color: var(--gmp-grey); }

h1 {}
h2 { font-size: 2rem; font-weight: normal; line-height: 1.2em; margin-bottom: 0.75rem; }
h2 em { color: var(--gmp-gold); font-style: normal; }
h3 { font-size: 1.6rem; line-height: 1.2em; margin-bottom: 0.25rem; }
h4 {}

.indented { width: 95%; max-width: var(--container-width); margin-left: auto; margin-right: auto; }
.padtop { margin-top: 3rem; }
.padbottom { margin-bottom: 3rem; }
.actualpadbottom { padding-bottom: 3rem; }

header { background: var(--gmp-white); padding: 1rem 0; position: relative; }
header:after {
	position: absolute; bottom: 0; right: 0; width: 100px; height: 100px; z-index: 20;
	content: url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Cpolygon%20points%3D%22100%2C100%200%2C100%20100%2C0%22%20style%3D%22fill%3A%23b96826%22%20%2F%3E%3C%2Fsvg%3E);
}
.header_bar { list-style: none outside; width: 95%; max-width: var(--container-width); margin: 0 auto; }
.header_bar .wp-block-column { position: relative; }
.header_bar .menu-navigation-menu-container { position: absolute; bottom: 0; right: 5rem; }
.header_bar .menu-navigation-menu-container .menu { list-style: none outside; padding-left: 0; }
.header_bar .menu-navigation-menu-container .menu li { display: inline-block; margin-left: 2rem; }
.header_bar .menu-navigation-menu-container .menu li a { display: block; width: fit-content; position: relative; color: var(--gmp-grey); font-weight: normal; font-size: 1.5rem; }
.header_bar .menu-navigation-menu-container .menu li a:after { content: ""; width: calc(100% + 1.5rem); height: 2px; position: absolute; top: 100%; left: -0.75rem; background: var(--gmp-grey); transform: scaleX(0); transition: 0.5s all; }
.header_bar .menu-navigation-menu-container .menu li:hover a:after { transform: scaleX(1); }

.header_bar figure { display: inline-block; width: fit-content; }
.header_bar .maple_leaf { position: relative; top: -1.75rem; }

.header_bar .menu li.current-menu-item a { font-weight: bold; }
.header_bar .menu li.current-menu-item a:after { transform: scaleX(1); }

footer { background: var(--gmp-dkgrey); position: relative; overflow: hidden; }
.footer_bar { list-style: none outside; width: 95%; max-width: var(--container-width); margin: 0 auto; padding: 2rem 0 1rem; }
.footer_bar img { height: 100px !important; width: auto !important; }
.footer_bar p, .footer_bar a { font-size: 0.9rem; color: var(--gmp-ltgrey); }
footer:after {
	position: absolute; top: calc( 100% - 150px ); right: 0; width: 150px;
	content: url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Cpolygon%20points%3D%22150%2C150%200%2C150%20150%2C0%22%20style%3D%22fill%3A%23b96826%22%20%2F%3E%3C%2Fsvg%3E);
}

.slogan { font-size: 1.3rem; color: var(--gmp-gold); font-weight: 300; }
#header_triangle { fill: var(--gmp-gold); }

.half_grey { background: linear-gradient(90deg,var(--gmp-grey) 0%, var(--gmp-grey) 50%, var(--gmp-white) 50%, var(--gmp-white) 100%); }
.half_grey > div { width: 95%; max-width: var(--container-width); margin: 0 auto; }
.half_grey > div > .wp-block-columns > .wp-block-column:first-of-type { padding-right: 2rem; }
.half_grey > div > .wp-block-columns > .wp-block-column:first-of-type > * { color: white; }
.half_grey > div > .wp-block-columns > .wp-block-column:last-of-type { padding-left: 2rem; }

.pill_bg { position: relative; z-index: 5; }
.pill_bg h3, .pill_bg p { text-shadow: rgba(255,255,255,0.7) 1px 1px 2px; }
.pill_bg:after { content: url(/wp-content/uploads/2025/10/white_pills-e1761077459735.jpg); position: absolute; bottom: calc( calc( 3rem + 6px ) * -1 ); right: 0; z-index: -1; }

footer, .gold_border_top { border-top: 3px var(--gmp-gold) solid; }
header, .gold_border_bottom { border-bottom: 3px var(--gmp-gold) solid; }

.build_success { background: var(--gmp-grey); width: 100%; max-width: none; padding: 2rem 0; }
.build_success > div { width: 95%; max-width: var(--container-width); margin: 0 auto; }
.build_success * { color: white; }
.build_success p { font-size: 1.2rem; padding: 0; }
.build_success figure { margin: 0 !important; }

.button_link a, .gform_button, .gform_save_link { background: var(--gmp-gold) !important; padding: 0.5rem 2rem !important; border: 2px var(--gmp-gold) solid !important; color: var(--gmp-white) !important; border-radius: 1rem !important; display: inline-block !important; transition: 0.5s all !important; font-size: 1.25rem !important; }
.button_link a:hover, .gform_button:hover, .gform_save_link:hover { color: var(--gmp-gold) !important; background: var(--gmp-white) !important; }
.gform_save_link:before { display: none !important; }

.wp-block-columns ul { list-style: disc outside; padding-left: 2rem; }
.wp-block-columns ul li { margin-bottom: 0.5rem; }

.gmp_gold { color: var(--gmp-gold); }
#gmp_products_wrapper { width: 95%; max-width: var(--container-width); margin: 3rem auto; }

.grey_box_container { margin: 3rem auto; width: 60%; }
.grey_boxes { gap: 1rem; margin-bottom: 1rem; }
.grey_boxes > div { background: var(--gmp-grey); aspect-ratio: 1/1; padding: 1rem; font-size: 1.2em; line-height: 1.4em; text-align: center; box-shadow: rgba(0,0,0,0.4) 0 0 10px; position: relative; }
.grey_boxes > div * { color: white; }
.grey_boxes .grey_box_content { width: 95%; position: absolute; top: 50%; left: 2.5%; transform: translate(0,-50%); }
.grey_boxes .wp-block-font-awesome-icon { margin-bottom: 1rem; }
.grey_boxes p { padding-bottom: 0; text-shadow: rgba(0,0,0,0.4) 1px 1px 2px; }

.zindex5 { position: relative; z-index: 5; }

.wp-block-table.is-style-stripes td, .wp-block-table.is-style-stripes th { border-color: var(--gmp-gold) !important; border-top: none; border-left: none; border-right: none; }
.wp-block-table thead { border-color: var(--gmp-gold) !important; border-top: none; border-left: none; border-right: none; }

.dataTable thead th, .dataTable tbody td { border-color: var(--gmp-gold) !important; }

.contact_table table tr td:first-child { width: 20%; }
.contact_table table tr td:nth-child(3) { width: 20%; }
.contact_table table tr td:last-child { width: 33%; }

@media screen and ( max-width: 1100px ) {
	.header_bar .menu-navigation-menu-container .menu li { margin-left: 1rem; }
	.header_bar .menu-navigation-menu-container .menu li a { font-size: 1.25rem; }
	.grey_box_container { width: 80%; }
}

@media screen and ( max-width: 900px ) {
	.header_bar .wp-block-columns { flex-wrap: wrap !important; }
	.header_bar .wp-block-column { position: static; flex-basis: 100% !important; }
	.header_bar .wp-block-columns .wp-block-column:first-of-type { text-align: center; }
	.slogan { position: absolute; top: 0.5rem; left: 0; width: 100%; text-align: center !important; }
	.header_bar .menu-navigation-menu-container { right: auto; left: 50%; bottom: 0.5rem; transform: translate(-50%,0); }
	.grey_box_container { width: 95%; }
	.building_image figure { width: 100% !important; }
	.half_grey { background: white; }
	.half_grey > div { width: 100%; }
	.half_grey .wp-block-columns > .wp-block-column:first-of-type { background: var(--gmp-grey); }
	.half_grey > div > .wp-block-columns > .wp-block-column { padding: 0 1rem; }
	.half_grey > div > .wp-block-columns > .wp-block-column:last-of-type { padding-bottom: 2rem; }
	.grey_boxes.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 36% !important; }
	.grey_boxes p { font-size: 1rem; line-height: 1.2em; }
	.list_of_reasons { gap: 0; }
	.picture_hr { overflow: hidden; height: 100px; }
	.picture_hr img { height: 100px !important; width: auto !important; max-width: none !important; }
	.mobile_only { display: block; }
	.not_mobile { display: none !important; }
	.padbottom_mobile { margin-bottom: 3rem; }
	.footer_bar p { text-align: center; }
	.header_bar .menu-navigation-menu-container { left: 0; bottom: 0; background: var(--gmp-gold); transform: none; text-align: center; width: 100%; z-index: 10; display: block; padding-top: 0.5rem; }
	.header_bar .menu-navigation-menu-container .menu li a { color: var(--gmp-white); font-size: 1rem; }
	.header_bar .menu-navigation-menu-container .menu li a:after { background: var(--gmp-white); }
	.contact_table table tr td:first-child { width: auto; }
	.contact_table table tr td:nth-child(3) { width: auto; }
	.contact_table table tr td:last-child { width: auto; }
}

@media screen and ( max-width: 500px ) {
	.slogan { font-size: 1rem; }
	footer:after {
		position: absolute; top: calc( 100% - 100px ); right: 0; width: 100px;
		content: url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Cpolygon%20points%3D%22100%2C100%200%2C100%20100%2C0%22%20style%3D%22fill%3A%23b96826%22%20%2F%3E%3C%2Fsvg%3E);
	}
	header { overflow: hidden; }
	header:after { z-index: 1; }
	.header_bar .menu-navigation-menu-container { z-index: 5; }
	.building_image img { width: 100% !important; }
	.contact_table thead { display: none; }
	.contact_table tr { display: block; margin-bottom: 1rem; }
	.contact_table tr td { display: block; width: 100%; text-align: center; padding: 0 1rem; margin-left: -1rem; padding: 0.5rem 1rem; }
	.contact_table tr td:empty { display: none; }
	.contact_table tr td:before { font-size: 0.8em; text-transform: uppercase; display: block; }
	.contact_table tr td:first-child { border-top: 1px var(--gmp-gold) solid; }
	.contact_table tr td:first-child:before { content: "CATEGORY"; }
	.contact_table tr td:nth-child(2):before { content: "DESCRIPTION"; }
	.contact_table tr td:nth-child(3):before { content: "RESPONSE TIME"; }
	.contact_table tr td:last-child:before { content: "CONTACT"; }
	.contact_table tr:first-child td { margin-left: 0; }
	.contact_photos { display: none !important; }
	.center_on_mobile { text-align: center; }
	.header_bar .maple_leaf { top: -1rem; }

}



