/*
Theme Name: PEI Vision Surgical Centre Theme
Description: Custom designed theme specially for PEI Vision Surgical Centre
Version: 0.9
Author: Rob Williams, DevUp Inc <hello@devup.ca>
Tags: custom template
*/

/* Default Styles */

:root {
	--light-blue: #51ade5;
	--medium-blue: #3872c1;
	--dark-blue: #2d3d97;
	--container-width: 1280px;
}

html, body {
    width:                  100%;
    font-family:            'Open Sans', 'Arial', sans-serif;
    line-height:            1.4em;
    background:             white;
}
body { height: 100%; }

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; }

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(--light-blue); font-weight: 800; transition: 0.5s all; }
a:hover { color: var(--dark-blue); }

h1 {}
h2 { color: var(--dark-blue); font-size: 2em; font-weight: 800; line-height: 1em; margin-bottom: 0.5em; }
h3 { color: var(--medium-blue); font-size: 1.5em; font-weight: 800; line-height: 1.2em; margin: 0.5em 0; }
h3 {}
h4 {}

footer { margin-top: 1rem; border-top: 3px var(--light-blue) solid; }
.footer_bar { list-style: none outside; padding: 1rem; }
.footer_bar li { text-align: center; font-size: 0.9em; }

main > *:not(.fullwidth) { width: 95%; max-width: var(--container-width); margin: 0 auto 2rem; }

.header_bar { list-style: none outside; width: 95%; max-width: var(--container-width); margin: 1rem auto; }
.header_bar p { font-weight: 700; color: var(--medium-blue); }
.header_bar li .wp-block-columns .wp-block-column:last-of-type { align-self: flex-end; }
.header_bar li .wp-block-columns .wp-block-column p.mobile { display: none; text-align: center; margin-top: 1rem; }

#menu-navigation-menu { list-style: none outside; text-align: right; position: relative; margin-bottom: 1rem; }
#menu-navigation-menu:after { content: ""; display: block; position: absolute; top: 100%; left: 0; width: 100%; height: 3px; background: var(--light-blue); }
#menu-navigation-menu li { display: inline-block; margin-left: 1rem; position: relative; }
#menu-navigation-menu a { color: var(--medium-blue); padding: 0 0.5em; display: block; position: relative; }
#menu-navigation-menu li:after { content: ''; position: absolute; top: 100%; z-index: 5; left: 0; width: 100%; height: 3px; background: var(--light-blue); transition: 0.5s all; }
#menu-navigation-menu a:hover { color: var(--dark-blue); }
#menu-navigation-menu li:hover::after { background: var(--dark-blue); }

.eye_bg { width: 100%; height: 80vh; background: url(/wp-content/uploads/2025/03/eye.jpg) no-repeat; background-size: cover; }
.floating_content_container { width: 95%; height: 100%; max-width: var(--container-width); position: relative; margin: 0 auto; }
.floating_content { width: 50%; background: rgba(255,255,255,0.7); padding: 2rem; box-sizing: border-box; position: absolute; top: 50%; left: 0; transform: translate(0,-50%); box-shadow: rgba(0,0,0,0.4) 0 0 2rem, rgba(0,0,0,0.6) 0 0 1rem; }

main ul { list-style: disc outside; padding-left: 2rem; }
main ol { list-style: decimal outside; padding-left: 2rem; }
main ul li, main ol li { margin-bottom: 0.5rem; }

.content > h2:first-child { margin-top: 3rem; }

#gform_wrapper_1 { margin-top: 2rem; }
#gform_submit_button_1 { background: var(--medium-blue) !important; transition: 0.5s all; }
#gform_submit_button_1:hover { background: var(--dark-blue) !important; }

@media screen and (max-width: 1100px) {
	#menu-navigation-menu li { margin-left: 0; }
}
@media screen and (max-width: 1000px) {
	.floating_content { width: 75%; }
}
@media screen and (max-width: 950px) {
	.header_bar li .wp-block-columns .wp-block-column:first-of-type { flex-basis: 40%; }
	.header_bar li .wp-block-columns .wp-block-column:last-of-type { flex-basis: 60%; }
}
@media screen and (max-width: 800px) {
	.header_bar li .wp-block-columns { display: block !important; }
	.header_bar li .wp-block-columns .wp-block-column { text-align: center; }
	.header_bar li .wp-block-columns .wp-block-column p.desktop { display: none; }
	.header_bar li .wp-block-columns .wp-block-column p.mobile { display: block; }
	#menu-navigation-menu { text-align: center; margin-bottom: 2rem; }
	#menu-navigation-menu li { margin: 0 0.5rem; }
	.floating_content { width: 100%; }
}
@media screen and (max-width: 550px) {
	#menu-navigation-menu li { margin: 0; }
}
@media screen and (max-width: 500px) {
	.header_bar li .wp-block-columns .wp-block-column p.mobile, #menu-navigation-menu li { font-size: 0.8em; }
	h2 { font-size: 1.3em; }
	h3 { font-size: 1.15em; }
	p { font-size: 0.9em; }
	.floating_content { padding: 1rem; }
}


