/* @override 
	https://tgwhf.local/wp-content/themes/tgwhf_2020/style.css?* */

/*
	Theme Name: Toronto General Western Hospital Foundation
	Theme URI: http://yeeboodigital.com
	Description: Custom theme for TGWHF.
	Version: 1.5.3
	Author: Dale Mugford & Yeeboo Digital
	Author URI: http://yeeboodigital.com
	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/* @group Bootstrap Dropdown Menus */

.dropdown-toggle {
	background: none !important;
	color: #666 !important;
	text-transform: capitalize !important;
	font-weight: normal !important;
	border: 1px solid #666 !important;
	box-shadow: 0px 2px 2px rgba(0,0,0,.25) !important;
}

.dropdown-menu {
	margin-top: 180px;
	width: 263px !important;
	box-shadow: 0px 2px 2px rgba(0,0,0,.25) !important;
	font-size: 18px;
}

.dropdown-menu .active, .dropdown-menu a:active {
	background-color: #00B2A9;
}

/* @end */

/* @group Global */


body {
	font-family: 'PT Sans', sans-serif;
	-webkit-font-smoothing: antialiased;
}

a {
	color: #2A6EBB;	
}

.font-sans-serif, .has-font-sans-serif {
	font-family: 'PT Sans', sans-serif !important;
}

.font-serif, .has-font-serif {
	font-family: 'PT Serif', serif !important;
}

:focus:not(:focus-visible) { 
	outline: none 
}

.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: none !important;
}

.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
	font-family: 'PT Serif', serif;
	line-height: 110%;
}

.content {
	overflow: hidden;
}

.content h1 {
	font-size: 60px;
}

.wrapper > .content {
	min-height: 500px;
}

blockquote {
	margin: 0;
}

.content ul {
	list-style: none; /* Remove default bullets */
}

.content ol {
	list-style: none;
	counter-reset: item;
}

.content ol > li::before {
	content: '.' counter(item);
	color: #2A6EBB;
	display: inline-block;
	width: 1em;
	margin-left: -1.5em;
	margin-right: 0.5em;
	text-align: right;
	direction: rtl;
	counter-increment: item;
}

.content ul > li::before {
	content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
	color: #2A6EBB; /* Change the color */
	font-weight: bold; /* If you want it to be bold */
	display: inline-block; /* Needed to add space between the bullet and the text */
	width: 1em; /* Also needed for space (tweak if needed) */
	margin-left: -1.1em; /* Also needed for space (tweak if needed) */
}

::-moz-selection {
	background-color: #B7A66D;
	color: #fff;
}

::selection {
	background-color: #B7A66D !important;
	color: #fff !important;
}

.tgwhf-max-width {
	max-width: 960px;
	margin: 0 auto;
}

/* @end */

/* @group CSS Heart Loader */

.lds-heart {
	display:  none;
	position: relative;
	width: 80px;
	height: 80px;
	transform: rotate(45deg);
	transform-origin: 40px 40px;
}

.lds-heart div {
	top: 32px;
	left: 32px;
	position: absolute;
	width: 32px;
	height: 32px;
	background: #2A6EBB;
	animation: lds-heart 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.lds-heart div:after, .lds-heart div:before {
	content: " ";
	position: absolute;
	display: block;
	width: 32px;
	height: 32px;
	background: #2A6EBB;
}

.lds-heart div:before {
	left: -24px;
	border-radius: 50% 0 0 50%;
}

.lds-heart div:after {
	top: -24px;
	border-radius: 50% 50% 0 0;
}

@keyframes lds-heart {
	0% {
		transform: scale(0.95);
	}
	
	5% {
		transform: scale(1.1);
	}
	
	39% {
		transform: scale(0.85);
	}
	
	45% {
		transform: scale(1);
	}
	
	60% {
		transform: scale(0.95);
	}
	
	100% {
		transform: scale(0.9);
	}
}

/* @end */

/* @group Buttons */

.container .btn:focus, .container button:focus {
	outline: none !important;
}

.btn, .button {
	border-radius: 0;
	border: 0;
	text-transform: uppercase;
	font-weight: bold;
	padding: 10px 60px;
	min-width: 150px;
	outline: none !important;
}

.btn.btn-primary, .wp-block-button a {
	color: #fff;
	background-color: #2A6EBB;
	box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.15);
	text-transform: uppercase;
}

.btn.btn-primary:hover, .wp-block-button a:hover {
	color: #fff;
	background-color: #00B2A9;
}

a.btn.btn-outline-light {
	border: 1px solid #FFF !important;
}

/* @end */

/* @group Global Header */

header.tgwhf-header {
	box-shadow: 2px 1px 10px rgba(0,0,0,.1);
}

header.tgwhf-header .logo {
	height: 80px;
	padding-top: 20px;
}

header.tgwhf-header img {
	max-width: 240px;
	height: auto;
}

header.tgwhf-header a.header-button {
	font-size: 20px;
	display: block;
	text-transform: uppercase;
	line-height: 80px;
	text-align: center;
	font-weight: bold;
}

header.tgwhf-header a.header-button:hover {
	color: #fff;
}

header.tgwhf-header .phone-number {
	/*max-width: 180px;*/
	font-weight: bold;
	font-size: 20px;
	margin-left: 5px;
}

header.tgwhf-header .menu-button {
	/*max-width: 70px;*/
	/*background-color: #2A6EBB;*/
	text-align: right !important;
	line-height: 60px;
	height: 80px;
}

/* @end */

/* @group Hamburger */

.hamburger-box {
	width: 50px;
}

.hamburger-inner, .hamburger-inner:before, .hamburger-inner:after, .hamburger.is-active .hamburger-inner, .hamburger.is-active .hamburger-inner:after, .hamburger.is-active .hamburger-inner:before {
	background-color: #2A6EBB;
	width: 50px;
	height: 3px;
	border-radius: 0;
}

header.tgwhf-header .hamburger-inner:before {
	margin-top: 2px;
}

header.tgwhf-header .hamburger-inner:after {
	margin-top: 4px;
}

header.tgwhf-header .is-active .hamburger-inner:before {
	margin-top: 2px;
}

header.tgwhf-header .is-active .hamburger-inner:after {
	margin-top: 2px;
}

header.tgwhf-header .hamburger:hover, header.tgwhf-header .hamburger.is-active:hover {
	opacity: 0.95;
}

/* MOBILE */

@media (max-width: 768px) {
	header.tgwhf-header .logo {
		height: auto;
		max-height: 80px;
		padding: 20px;
		text-align: center;
	}
	
	header.tgwhf-header img {
		margin: 0 auto;
		max-width: 260px;
		height: auto;
	}
	
	header.tgwhf-header .hamburger-inner, header.tgwhf-header .hamburger-inner:before, header.tgwhf-header .hamburger-inner:after, header.tgwhf-header .hamburger.is-active .hamburger-inner, header.tgwhf-header .hamburger.is-active .hamburger-inner:after, header.tgwhf-header .hamburger.is-active .hamburger-inner:before {
		background-color: #FFF;
	}
}

/* @end */

/* @group MMenu */

#tgwhf-menu {
	padding: 5%;
	top: 80px;
	 -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}

/* @group Menu Search */

form.searchform {
	margin-bottom: 30px;
}

form.searchform .offscreen {
	display: none;
}

form.searchform label, form.searchform input {
	width: 100%;
	padding: 0;
	margin: 0;
}

form.searchform input[value=""] {
	background: rgba(255,255,255,.25);
}

form.searchform input {
	border: 0 !important;
	font-family: 'PT Serif', serif;
	height: 44px;
	padding: 4px;
	margin-bottom: 0px !important;
	min-width: 100% !important;
	box-shadow: 0px 3px 5px rgba(0,0,0,.3);
	background: rgba(255,255,255,1);
}

form.searchform input:focus {
	background: rgba(255,255,255,1);
}

form.searchform ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: rgba(255,255,255,.75);
}
form.searchform ::-moz-placeholder { /* Firefox 19+ */
  color: rgba(255,255,255,.75);
}
form.searchform :-ms-input-placeholder { /* IE 10+ */
  color: rgba(255,255,255,.75);
}
form.searchform :-moz-placeholder { /* Firefox 18- */
  color: rgba(255,255,255,.75);
}

#tgwhf-menu .btn {
	width: 100% !important;
	margin-bottom: 0px !important;
	box-shadow: 0px 3px 5px rgba(0,0,0,.3);
	min-width: auto !important;
	padding-left: 0;
	padding-right: 0;
}

/* @end */

#tgwhf-menu:not( .mm-menu ) {
    display: none;
}

#tgwhf-menu.mm-menu_offcanvas {
	width: 60%;
	min-width: 60%;
	max-width: 60%;
}

#tgwhf-menu div {
	background-color: transparent !important;
}

#tgwhf-menu a {
	font-size: 28px;
	font-family: 'PT Serif', serif;
	color: #fff;
	padding: 25px;
	-webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}

#tgwhf-menu .mm-listitem:after {
	border-color: rgba(255,255,255,.7) !important;
	border-width: 2px;
}

#tgwhf-menu .mm-btn_next {
	background: none !important;
	border-color: rgba(255,255,255,.7);
	border-width: 2px;
	padding-left: 36px;
	margin-top: 10px;
}

#tgwhf-menu .sub-menu .mm-listitem:after {
	border-color: transparent !important;
}

#tgwhf-menu .mm-btn_next:after {
	height: 12px;
	width: 12px;
	border-color: #17C4EB;
	border-width: 4px;
}

#tgwhf-menu .sub-menu {
	padding: 0 6% 6% 6%;
}

#tgwhf-menu .sub-menu a {
	font-family: 'PT Sans', sand-serif;
	font-size: 20px;
	padding: 10px 0;
}

#tgwhf-menu .sub-menu a:hover {
	font-weight: bold;
}

#tgwhf-menu a:hover {
	text-decoration: underline;
}

@media (max-width: 768px) {
	#tgwhf-menu {
		top: 160px;
		padding: 3%;
	}

	#tgwhf-menu.mm-menu_offcanvas {
		width: 100%;
		min-width: 100%;
		max-width: none;
	}
}

/* @end */

/* @group Carousels */



/* @end */

/* @group Blog */

.blog-header {
	background: url(/wp-content/uploads/2020/09/whoweareheader.jpg) center center no-repeat;
	background-size: cover;
	min-height: 30vh;
	width: auto;
}

.story-categories h5 {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 18px;
	margin: 0;
}

.blog-featured-image {
	height: 20vw;
	max-height: 250px;
	background-position: center 30%;
	background-size: cover;
}

.blog-featured-image.landscape {
	height: 20vw;
	max-height: 250px;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.ybd-post-wrapper h3 {
	font-family: 'PT Sans', sans-serif;
	font-weight: bold;
	font-size: 24px;
}

.ybd-post-wrapper .post-meta {
	font-weight: bold;
}

@media (max-width: 576px) {
	.blog-featured-image {
		min-height: 50vw;
	}
}

/* @group Single Post */

.single-post-featured-image {
	height: 40vw;
	max-height: 700px;
	background-size: cover;
	background-position: center 30%;
	background-repeat: no-repeat;
}

.single-post-header {
	border-bottom: 2px solid #5F6265;
}

.single-post-content {
	font-size: 20px;
}

.single-post-content a {
	text-decoration: underline;
}

.single-post-content .aligncenter {
	height: auto;
	margin-bottom: 20px;
}

.single-post-content .alignleft {
	font-size: 80%;
	float: left;
	margin-right: 20px;
}

.single-post-content .alignright {
	font-size: 80%;
	float: right;
	margin-left: 20px;
}

.single-post-content div > blockquote * {
	line-height: 1.4em;
}

.single-post-content .row > .col-10 > p> img, .single-post-content .row > .col-10 > img, .single-post-content p > a > img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 auto 20px !important;
}

@media (max-width: 768px) {
	.single-post-content {
		font-size: 18px;
	}
}

/* @group Related Content */

.related-content {
	background-color: rgba(151, 153, 155, 0.4);
}

/* @end */

/* @end */

/* @end */

/* @group Single Events */

.bg-image {
	min-height: 60vh;
	background-size: cover;
	background-position: center center;
}

@media (max-width: 768px) {
	.bg-image {
		min-height: 40vh;
	}
}

/* @end */

/* @group Global Footer */

footer {
	font-size: 18px;
	background-color: #2A6EBB;
}

footer a {
	color: #fff;
	text-decoration: underline;
}

footer a:hover {
	color: #fff;
	font-weight: bold;
}

footer .social, footer .logo {
	min-height: 80px;
}

footer .logo img {
	width: 100%;
	max-width: 300px;
}

footer .social a img {
	max-width: 40px;
	height: auto;
	margin-left: 10px;
	margin-right: 10px;
}

footer ul {
	list-style: none;
	padding: 0;
}

footer li {
	display: inline-block;
}

@media (max-width: 576px) {
	footer li {
		display: block;
	}
	
	footer li:after {
		content: '';
		display: none;
	}
}

footer li:after {
	content: '|';
	margin-right: 2px;
	margin-left: 6px;
}

footer li:last-child:after {
	content: '';
	display: none;
}

footer li a {
	font-family: 'PT Serif', serif;
	text-transform: uppercase;
}

footer .textwidget {
	font-size: 90%;
}

/* @end */

/* @group Mobile Click To Call */

#mobile-click-to-call {
	font-size: 2.5em;
	background-color: #fff;
	position: fixed;
	bottom: -6px;
	right: 20px;
	border: 2px solid #2A6EBB;
	border-bottom: none;
	border-radius: 8px;
	box-shadow: 0px -2px 3px rgba(0,0,0,.35);
}

#mobile-click-to-call a {
	padding: 10px 16px;
}

#mobile-click-to-call svg {
	transform: rotate(-22deg);
}

/* @end */

/* @group Admin Bar */

.admin-bar #tgwhf-menu {
	top: 112px;
}

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

	.admin-bar #tgwhf-menu {
		top: 206px;
	}

	#wpadminbar {
	     position: fixed;
	}
	
}


/* @end */

/* XS */

@media (max-width: 576px) {
	
}

/* SM */

@media (max-width: 768px) {
	header.tgwhf-header .menu-button {
		background-color: #2A6EBB;
	}
}
/* MD */

@media (max-width: 992px) {
	.hamburger {
		width: 100%;
	}
	
	header.tgwhf-header > .container {
		max-width: 100%;
	}
}

/* LG */

@media (max-width: 1200px) {
	
}


.video-16-9 .fluid-width-video-wrapper{
    padding-top: 56.25%!important;
}

.video-3-2 .fluid-width-video-wrapper{
    padding-top: 66.6667%!important;
}

.video-4-3 .fluid-width-video-wrapper{
    padding-top: 75%!important;
}

.image-overlay{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
}

.z-index-2{
    z-index: 2;
}

.z-index-5{
    z-index: 5;
}