
@import url('https://www.dementiafriendlyalberta.ca/themes/dfcalberta/structure/../css/nav.css');

/* Globals
----------------------------------------------- */
body {
	font-family: 'Open-sans', sans-serif;
	font-size: 16px;
	line-height: 120%;
	}
	
a {
	color: rgba(28,2,72,1);
	text-decoration: underline;
	}
	
a:hover {
	color: rgba(200,115,177,1);
	text-decoration: underline;
	}
	
a.visited {
	color: rgba(204,204,204,1);
	}
	
a.button,
input.button {
	height: 40px;
	width: 180px;
	line-height: 40px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	margin: 10px 0;
	display: inline-block;
	background: rgba(243,113,33,1);
	border-radius: 6px;
	-moz-transition: background 0.3s ease; 
	-o-transition: background 0.3s ease; 
	-webkit-transition: background 0.3s ease; 
	transition: background 0.3s ease; 
	position: relative;
	}
	
a.button::before,
input.button::before {
	content: " ";
	width: 200px;
	height: 40px;
	/*border: 20px solid rgba(0,132,136,1);*/
	display: block;
	border-radius: 6px;
	background: rgba(0,132,136,1);
	position: absolute;
	top: 0;
	left: -10px;
	z-index: -1;
	transform: rotate(3deg);
	-webkit-transform: rotate(3deg);
	-moz-transform: rotate(3deg);	
	}

a.button:hover,
input.button:hover {
	color: #fff;
	text-decoration: none;
	background: rgba(251,179,21,1);
	cursor: pointer;
	}

a.button:hover::before,
input.button:hover::before {	
	background: rgba(113,202,202,1);
	}
	
/* Header
----------------------------------------------- */
.headerBG {
	width: 100%;
	height: 100%;
	border-radius: 0 0 16px 16px;
	background: rgba(149,215,214,1);
	position: absolute;
	left: 0;
	top: -20%;
	z-index: -1;
	}
	
.container.nav.desktop {
	position: absolute;
	bottom: 16%;
	right: 0;
	}
	
.breadcrumbs {
	font-size: 11px;
	}
	
.breadcrumbs a {
	color: rgba(28,2,72,1);
	}
	
.breadcrumbs a:hover {
	color: rgba(200,115,177,1);
	text-decoration: underline;
	}
	
.breadcrumbs a.visited {
	color: rgba(204,204,204,1);
	}
	
.bcActive {
	}
	
.menuTrigger {
	width: 34px;
	text-indent: -9999px;
	position: absolute;
	top: 22px;
	right: 0;
	margin-top: -15px;
	}
	
.menuTrigger:hover {
	cursor: pointer;
    }

.menuBar {
	width: 34px;
	height: 4px;
	margin: 4px 0;
	background: rgba(0,132,136,1);
	position: relative;
	}
	
.navCurtain {
	width: 322px;
	height: 100%;
	text-align: right;
	padding: 0;
	position: fixed;
	top: 0;
	right: -322px;
	z-index: 99;
	overflow: auto;
	background: rgba(0,132,136,0.95);
	overflow: auto;
	}
	
.navClose {
	width: 30px;
	height: 30px;
	font-size: 18px;
	font-weight: 300;
	color: #fff;
	line-height: 30px;
	text-align: center;
	border-radius: 13px 18px 23px 20px;
	background: rgba(243,113,33,1);
	margin: 6px;
	position: relative;
	}
	
.navClose::before {
	content: " ";
	width: 35px;
	height: 30px;
	display: block;
	border-radius: 13px 18px 23px 20px;
	background: rgba(251,179,21,1);
	position: absolute;
	top: 1px;
	right: 1px;
	z-index: -1;
	transform: rotate(3deg);
	-webkit-transform: rotate(3deg);
	-moz-transform: rotate(3deg);	
	}
	
.navClose:hover {
	cursor: pointer;
	}
	
.navClose:hover::before {
	}

.navClose,
.navClose::before,	
.closeTxt {
	display: inline-block;
	vertical-align: middle;
	}

.closeTxt {
	color: #fff;
	margin-right: 20px;
	}
	


/* Treeview nav
----------------------------------------------- */
.mainNav {
	
	}
	
ul.treeview {
	margin: 0;
	}
			
ul.treeview li {
	list-style: none;
	margin: 0;
	position: relative;
	}
	
ul.treeview .collapsable {
	background: rgba(243,113,33,1);
	}
		
.treeview .item1,
.treeview .item1:hover,
.treeview .item1.active,
.treeview .item1.active:hover {
	font-size: 16px;
	color: #fff;
	line-height: 120%;
	padding: 5px 20px;
	}
	
.treeview .item1:hover,
.treeview .item1.active:hover {	
	color: #fff;
	background: rgba(251,179,21,1);
	}

.treeview .item2,
.treeview .item2:hover,
.treeview .item2.active,
.treeview .item2.active:hover {
	font-size: 13px;
	color: #fff;
    text-decoration: none;
    display: block;
    position: relative;
	padding: 5px 20px;
	margin: 0;
	}
	
.treeview .item2:hover,
.treeview .item2.active,
.treeview .item2.active:hover {
	color: #fff;
	background: rgba(251,179,21,1);
	}
	
.treeview .treeview-submenu {
    z-index: -1;
	}
	
.treeview .treeview-submenu li.expandable ul {
	padding: 0 10px;
	display: block !important;
	}

.treeview .treeview-submenu-item.expandable ul.navMobile-submenu {
	background: none;
	}

.navMobile .navMobile-submenu-item.expandable ul.navMobile-submenu .item2,
.navMobile .navMobile-submenu-item.expandable ul.navMobile-submenu .item2:hover,
.navMobile .navMobile-submenu-item.expandable ul.navMobile-submenu .item2.active,
.navMobile .navMobile-submenu-item.expandable ul.navMobile-submenu .item2.active:hover {
	font-size: 11px;
	font-weight: normal;
	}
	
.hitarea.expandable-hitarea {
	width: 100%;
	height: 32px;
	position: absolute;
	top: 8px;
	left: 0;
	background-position: 0 -10px !important;
	z-index: 12;
	}
	
.hitarea.expandable-hitarea:hover {
	cursor: pointer;
	}
	
.hitarea.expandable-hitarea:hover + .item1 {
	background-color: rgba(251,179,21,1);
	}
	
.hitarea.collapsable-hitarea {
	width: 100%;
	height: 32px;
	position: absolute;
	top: 8px;
	left: 0;
	background-position: 0 -40px;
	z-index: 12;
	}

.hitarea.collapsable-hitarea:hover {
	cursor: pointer;
	}
	
.hitarea.collapsable-hitarea:hover + .item1 {
	background-color: rgba(251,179,21,1);
	}
/*
.collapsable .section li .hitarea.collapsable-hitarea,
.collapsable .section li .hitarea.expandable-hitarea {
	top: -3px;
	left: 10px;
	}
*/			
.navMobile .navMobile-submenu li .hitarea {
	display: none;
	}
	
.navMobile-submenu {
	margin: 0 10px;
	}
	
.navLogo {
	width: 100px;
	margin: 2px 0;
	float: right;
	}	
	
/* Float Header
----------------------------------------------- */	
.floatHeader {
	width: 92%;
	padding: 8px 2%;
	margin: 0 2%;
	background: rgba(149,215,214,1);
	border-radius: 0 0 16px 16px;
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 12;
	}

.floatHeader .logo {
	width: 100px;
	position: relative;
	}
	
.floatHeader .headNav {
	width: 100%;
	position: absolute;
	right: 0;
	bottom: -7px;
	}
	
/* Footer
----------------------------------------------- */
.footer {
	/*height: 13vw;*/
	position: relative;
	background: rgba(165,207,79,1);
	}

.landscape {
	height: 100%;
	padding-top: 20%;
	position: relative;
	}
			
.hillA,
.hillB {
	}

.hillA {
	width: 100%;
	bottom: -50%;
	z-index: 0;
	}
	
.hillABottom {
	width: 100%;
	height: 16vw;
	background: rgba(208,228,165,1);
	}
	
.hillB {
	z-index: 2;
	}
	
.city {
	width: 25vw;
	bottom: 15%;
	z-index: 0;
	}

.tree {
	z-index: 1;
	}
	
.treeA {
	width: 14vw;
	bottom: 14%;
	left: 4%;
	}
	
.treeB {
	width: 12vw;
	bottom: 10%;
	right: 4%;
	z-index: 3;
	}
	
img.footLogo {
	width: 16%;
	display: inline-block;
	vertical-align: baseline;
	margin-right: 5%;
	}

img.footLogoBSF {
	width: 12%;
	display: inline-block;
	vertical-align: baseline;
	margin-right: 5%;
	}
	
.presentedby {
	color: #fff;
	margin: 10px 0 20px 0;
	}
	
.agency,
.agency a {
	color: #fff;
	font-size: 11px;
	line-height: 110%;
	margin-top: 30px;
	}

/* ============================= */
/* ! Layout for mobile version   */
/* ============================= */	

@media handheld, only screen and (max-width: 995px) {
/* Initial Classes
----------------------------------------------- */
.desktop {
	display: none;
	}
	
.mobile {
	display: block;
	}
	
.content {
	padding: 0 20px;
	}
	
/* Globals
----------------------------------------------- */
.content img {
	max-width: 100% !important;
	width: auto !important;
	height: auto !important;
	float: none !important;
	}
	
.impcol.impfour,
.impcol.impeight {
	width: 100%;
	}
	
.impcol.colContent {
	padding: 0;
	}
	
.imcol.firstcol,
.impcol.midcol,
.impcol.lastcol {	
	float: none;
    }
	
	
/* Header Classes
----------------------------------------------- */
.initHeader {
	background: rgba(149,215,214,1);
	}
	
.navLogo {
	margin: 5px 0 0 20px;
	float: left;
	}
	
.floatHeader {
	width: 100%;
	margin: 0;
	padding: 0;
	border-radius: 0;
	}
	
.floatHeader .logo {
	margin: 5px 0 0 20px;
	float: none;
	}
	
}

@media handheld, only screen and (max-width: 767px) {
.bqLeft,
.bqRight {
	width: 60%;
	margin: 0 auto;
	float: none;
	}
	
}

@media handheld, only screen and (max-width: 639px) {
.bqLeft,
.bqRight {
	width: 80%;
	margin: 0 auto;
	float: none;
	}
	
}