/* @override http://acfcwest.prml.co/wp-content/themes/primal/style.css?ver=4.7 */

/*
Theme Name: Theme Options
Description: Child theme for Ultra theme
Author: Primal Communications
Template: themify-ultra
*/

/* write custom css */
	
	/* @group BUILDER FIXES | THEMIFY FIXES */
	
	.themify_builder_row_top ul li,
	.themify_builder_sub_row_top ul li,
	.themify_builder_grid_list_wrapper ul li { margin: 0 !important; padding: 0 !important;}		
	/* mobile */  @media screen and (max-width: 680px) { 
		#wpadminbar { top: -46px; }	
	}
	.themify_builder_row_top.ui-sortable-handle ul li,
	.themify_builder_dropdown_front,
	.themify_module_menu li,
	.themify_builder_row_top li {
		width: auto !important;
		list-style: none !important;
	}
	
	#pagewrap #body .themify_module_menu .ti-menu ul li a { color: #fff !important; } 
	
	#pagewrap {
		padding-top: 0 !important;
	}
	
	/* @end */
		
		/* @group MISC STYLES */
		
		html,body { 
			font-family: "Roboto", arial, sans-serif;
			font-size: 17px;
			color: #111;
		}		
		@media screen and (max-width:639px) {
			html,body {
				font-size: 16px;
			}
		}
		
		body a { text-decoration: underline; color: #213b4b; }
		body a:visited { color: #190726; }
		body a:hover { cursor: pointer; color: #2e5166; }
		
		#pagewrap #body h1 { 
			line-height: 100%;
			font-size: 68px;
			font-family: "Roboto", arial, sans-serif;
			font-weight: 100;
			margin: 0 0 40px 0;
			letter-spacing: 0;
			color: #222;
			text-transform: none;
		}
			/* mobile */ @media screen and (max-width: 680px) {
				#pagewrap #body h1 { 
					font-size: 25px; 
					margin: 0 0 20px 0; 
					line-height: 28px;
				}
			}			
		
		#pagewrap #body h2 { 
			line-height: 110%;
			font-size: 30px;
			font-family: "Roboto", arial, sans-serif;
			font-weight: 100;
			margin: 0 0 30px 0;
			letter-spacing: 0;
			text-transform: none;
			color: #111;
		}
		
			/* mobile */ @media screen and (max-width: 680px) {
				#pagewrap #body h2 { 
					font-size: 21px;
					line-height: 24px;
					margin: 0 0 20px 0; 
				}
			}
		
		#pagewrap #body h3 { 
			line-height: 110%;
			font-size: 26px;
			font-family: "Roboto", arial, sans-serif;
			font-weight: 400;
			margin: 0 0 20px 0;
			text-transform: none;
			letter-spacing: 0;
			text-transform: none;
			color: #111;
		}
		
			/* mobile */ @media screen and (max-width: 680px) {
				#pagewrap #body h3 { 
					font-size: 16px;
					line-height: 18px;
					margin: 0 0 20px 0;
				}
			}
			
		
		#pagewrap #body h4 { 
			margin: 0 0 22px 0; 
			font-weight: 400;
			font-family: "Roboto", arial, sans-serif;
			text-transform: none; 
			letter-spacing: 0;
			font-size: 20px;
			line-height: 26px;
			text-transform: uppercase;
			color: #111;
		}
		
			/* mobile */ @media screen and (max-width: 680px) {
				#pagewrap #body h4 { 
					font-size: 14px;
					line-height: 15px;
					margin: 0 0 20px 0;
				}
			}
			
		#pagewrap #body h5 { 
			margin: 0 0 20px 0; 
			font-weight: 400;
			/* font-family: "oswald", arial, sans-serif; */
			font-size: 18px;
			line-height: 22px;
			letter-spacing: 0;
			color: #111;
		}
		#pagewrap #body h6 {  }
		
		#pagewrap #body p {
			padding: 0 0 0 0;
			margin: 0 0 20px 0;
			font-size: 21px;
			font-family: "Roboto", arial, sans-serif;
			color: #111;
			letter-spacing: 0;
			font-size: 17px;
    		line-height: 20px;
		}
		
			/* mobile */ @media screen and (max-width: 680px) { 
				#pagewrap #body p { font-size: 17px; line-height: 20px; }
			}
		
		#pagewrap #body ul li { 
			font-size: 17px;
			line-height: 20px;
			margin: 0 0 10px 0;
			font-weight: 100;
			color: #222;
		}
		
		small { 
			line-height: 100%;			
		}
		
		.image-caption { 
			font-size: 90%; 
			font-weight: 100;
			line-height: 120%;
			/* font-family: "oswald", arial, sans-serif; */
		}
		
		/* @end */
				
				
				/* IMAGE STYLES */
			.image-wrap a img { cursor: pointer; }
			#pagewrap #body .module-image .image-title { 
				text-align: center;
				/* font-family: "oswald", arial, sans-serif; */
				font-weight: 400;
				font-size: 20px;
				letter-spacing: 0;
				text-transform: uppercase;
				letter-spacing: 1px;			
			}
			.module-image .image-title a:hover { cursor: pointer; }
		
		#content { padding-bottom: 0; }
		
		.page-content.entry-content {
			margin: 30px 0 0 0;
		}
		
	
		/* @group BUTTON STYLES */
		
		#pagewrap #body .fine-print p {
			font-size: 80%;
			line-height: 125%;
		}
		
		#pagewrap #body .p-text-bigger p { 
			font-size: 130%;
			line-height: 135%;
		}
		
			/* mobile */ @media screen and (max-width: 680px) {
				#pagewrap #body .p-text-bigger p { 
					line-height: 110%;
				}
			}
		
		/* @end */
		
		/* @group HEADER */
		
		
				/* FIX HEADER */
				#headerwrap,.no-fixed-header #headerwrap { position: relative; !important; }
				
				#pagewrap #headerwrap {
					padding: 0;			
				}
				
				#pagewrap #headerwrap #header {
					padding: 0;	
				}
				
				.header-bar { 
					padding: 0 40px;
				}
		
					/* mobile */ @media screen and (max-width: 680px) {
						
						.header-bar { padding: 0 20px 0 0; }
						
					}
		
				/* @group SITE LOGO */
				
				#headerwrap #site-logo { margin: 30px 0 15px 0; }
				
				/* @end */
		
				/* @group NAVIGATION */
				
					/* MAIN NAV */
					
					#pagewrap #main-nav {
						clear: both;
						float: none;
						background: #222929;
						padding: 0 30px;
					}			
					
					#pagewrap #main-nav a { font-size: 18px; font-weight: 700; color: #e1e1e1; }
					#pagewrap #main-nav a:hover { color: #fff; }
					
					/* SUB MENU */
					
						#main-nav li:not(.themify-widget-menu) > ul, 
						#main-nav .has-mega-sub-menu .mega-sub-menu, 
						#main-nav .has-mega-column > .sub-menu {
							background: #338071;
						}
						
						#main-nav .sub-menu li a { font-size: 15px !important; line-height: 18px !important; }
				
					/* HAMBURGER MENU & ICON */			
					#menu-icon::before {
						color: #222;
					}
					
					a#menu-icon:after {
						content: 'MENU';
						float: left;
						font-size: 1.1em;
						font-weight: bold;
						padding-right: 10px;
						color: #222;
					}
					
					#mobile-menu.sidemenu-on {  }
					
					#mobile-menu.sidemenu-on ul#main-nav { 
						background: none; 
						padding: 0;
					}
					#mobile-menu.sidemenu-on ul#main-nav li a {
						padding: 5px 0;
						border-bottom: solid 1px #ccc;
						color: #333;
					}
						
						#mobile-menu.sidemenu-on ul#main-nav .sub-menu { padding: 0; }
					
					/* mobile */ @media screen and (max-width: 680px) {
						
						#pagewrap #headerwrap #site-logo { margin: 15px 0 10px 0; }
						#pagewrap #headerwrap #menu-icon { top: 30px; }
						#site-logo, #site-logo a { width: 150px !important; }
						
						#mobile-menu.sidemenu-on ul#main-nav ul li a { padding-left: 8px; }
						#mobile-menu.sidemenu-on ul#main-nav ul ul li a { padding-left: 15px; }
						#mobile-menu.sidemenu-on ul#main-nav .sub-arrow { min-height: 20px; }
						
					}
					
					/* tablet ++ */ @media only screen and (min-width: 681px) and (max-width: 1000px) {
						
						#pagewrap #headerwrap #site-logo { margin: 15px 0 10px 0; }
						#pagewrap #headerwrap #menu-icon { top: 50px; }
										
					}
				
				/* @end */
								
					/* SEARCH BOX */
			
				header#header #searchform-wrap {
					float: right;
					padding-right: 40px;
					margin-top: 50px;
				}
		
		/* @end */


		/* @group Header Images */
		
		.prml_header_image {
			padding: 0 2%;
			
		}
		
		.prml_header_image .image-wrap {
			max-width: 1160px;
			margin: 0 auto;
			position: relative;
		}
		
		.prml_header_image .image {
			background: url(/wp-content/uploads/2016/11/vancouver1.jpg) center center no-repeat #9cc8ee;
			background-size: cover;
			height: 325px;
		}
		
		.prml_header_image a.edit {
			position: absolute;
			bottom: 10px;
			right: 10px;
			z-index: 9999;
			
			background: linear-gradient(to bottom, #ffd901 0%, #fea607 100%) rgb(253, 205, 69);
			color: #000;
			text-decoration: none;
			font-size: 16px;
			line-height: 1em;
			text-transform: uppercase;
			
			display: block;
			padding: 5px 15px 4px;
			font-weight: bold;
			
			border: 1px solid #000;
			border-radius: 4px;
			
			box-shadow: 0px 1px 2px #444;
			
			transition: all 0.5s;
		}
		
		.prml_header_image a.edit:hover,
		.prml_header_image a.edit:focus {
			background: linear-gradient(to bottom, #fea607 0%, #ff7800 100%) rgb(253, 205, 69);
		}
		
		.prml_header_image a.edit:active {
			box-shadow: none;
			
			bottom: 9px;
		}
		
		@media only screen and (max-width: 1023px) {
			.prml_header_image .image {
				height: 270px;
			}
		}
		
		@media only screen and (max-width: 760px) {
			.prml_header_image {
				padding: 0;
			}
			.prml_header_image .image {
				height: 220px;
			}
		}
		
		/* @end */
				
		
				/* SIDE NAV */
			#menu-side-menu {
				background: none;
				border: 0;
				width: 100%;
				display: block;
				width: auto;
			}

				/* mobile */ @media screen and (max-width: 680px) { 
					#menu-side-menu { 					
						padding: 20px 20px 0 20px;
						margin: 20px 0; 
					}
				}

			#menu-side-menu li { border: none !important; margin-bottom: 0 !important;}

			#menu-side-menu li a {
				color: #000000 !important;
				width: auto;				
				padding: 5px;
				text-decoration: underline;
			}		
				#menu-side-menu li > a:hover, 
				#menu-side-menu > li > a:hover {
					background: #c9e3ef !important;
					color: #000 !important;
					text-decoration: underline;
				}

				/* mobile */ @media screen and (max-width: 680px) { 
					#menu-side-menu { padding: 0; }
					#menu-side-menu li {
						border-top: solid #214b75 1px !important;
					}				
					#menu-side-menu li a {
						padding: 10px 10px;
						letter-spacing: 0;
						margin-bottom: 0 !important;
					}
				}
				
				
				#sidebar .widget.widget_archive ul li {
					margin-bottom: 0 !important;
					padding-bottom: 0;
				}
				
				
			/* @group Content/Sidebar Layout */
				
				/* Flex magic */
				#layout {
					display: flex;
					flex-direction: row-reverse;
				}
				
				#content {
					float: none !important;
					flex: 3 0 0;
					min-width: 300px;
				}
				
				#sidebar {
					float: none !important;
					min-width: 250px;
					flex: 1 0 0;
				}
				
				@media screen and (max-width:640px) {
					#layout {
						flex-direction: column;
					}
					
					body.home #layout {
						flex-direction: column-reverse;
					}
				}
				
				@media screen and (max-width: 760px) {
					#layout {
						max-width: 100%;
					}
				}
				
				/* @end */
				
				/* @group Sidebar */
				
				#sidebar {
					background-color: #c9e2ee;
					padding: 2vw !important;
				}
				
				#sidebar a {
					color: #000;
					text-decoration: underline;
				}
				
				/* Welcome text widget */
				#text-2 {
					font-size: 25px;
					line-height: 1.15em;
					padding: 1.5vw 10%;
					margin: -2vw -2vw 1em;
					color: #212b30;
					background: #acd4e7;
					min-height: 105px !important;
					box-sizing: border-box;
				}
				@media screen and (max-width:639px) {
					#text-2 {
						padding-left: 6%;
						padding-right: 6%;
					}
				}
				
				/* widget below welcome text */
				#text-3.widget {
					font-size: 17px;
					line-height: 20px;
					margin-bottom: 1em;
				}
				@media screen and (max-width:639px)
				{
					#sidebar .widget {
						padding-left: 6%;
						padding-right: 6%;
					}
				}
				

				#text-2,
				#content h1.page-title {
					min-height: 105px !important;
				}
				
				@media screen and (max-width:720px) {
					#text-2,
					#content h1.page-title {
						min-height: auto !important;
					}
				}
				
				
					/* @group Sidebar Navigation */
					
					#sidebar .widget_nav_menu {
						margin-bottom: 1em;
					}
					#sidebar .widget_nav_menu ul {
						padding: 12px 0 0;
						margin: 0;
					}
					
					@media screen and (min-width: 760px) {
						#sidebar .widget_nav_menu ul {
							border-top: 1px solid #76a7bf !important;
						}
					}
					
					
					#sidebar .widget_nav_menu ul li {
						padding: 0;
						margin: 0 !important;
					}
					
					#sidebar .widget_nav_menu ul a {
						display: block;
						font-size: 1rem;
						padding: 5px 0;
					}
					
					/* @end */
				
				/* @end */
							
				
				#content {
					background-color: #cfeab4;
					color: #111;
					padding: 3vw !important;
				}
				
				#content h1.page-title {
					color: #446524 !important;
					background: rgb(196, 225, 168);
					padding: 2vw 3vw 1.5vw;
					margin: -3vw -3vw 0.4em !important;
					
					font-size: 2.0rem !important;
					line-height: 1em !important;
					box-sizing: border-box;
				}
				
				@media screen and (max-width: 639px) {
					#content {
						padding: 6vw !important;
					}
					#content h1.page-title {
						padding: 6vw 6vw 5vw;
						margin: -6vw -6vw 1em !important;
						font-size: 2rem !important;
					}
				}
				
				
				
						
						/* SLIDESHOW */
		
		.prml-slideshow, .prml-slideshow .slides, .prml-slideshow .slides figure {
			height: 400px;	
		}
				
		/* BLOG / NEWS STYLES */
		
		article {	
			border-bottom: solid 1px #95b673;
		}

		#pagewrap .post-title {
			font-size: 22px !important;
			line-height: 26px !important;
			font-family: "Roboto", arial !important;
			font-weight: 100;
			margin-bottom: 20px !important;
			letter-spacing: -1px !important;
		}
		
			/* INDIVIDUAL POST */
			
			.loops-wrapper.list-post .post-date,
			.single .post-content .post-date {
				background: none !important;
			}
			
			.single .post-meta, .single .post-title {
				text-align: left;
			}
		
		#pagewrap .post-title a {
			color: #27341a;
		}
		
		#pagewrap .post-title a:hover {
			text-decoration: underline;
			color: #000;
		}
		
			.loops-wrapper.list-post .post-date, 
			.single .post-content .post-date {
				background: #006351;
			}
			
			@media screen and (max-width: 680px) {
				.loops-wrapper.list-post .post-date-wrap { width: auto !important; height: auto !important; }
			}
		
		/* BODY & PAGE STYLES */
		
			#pagewrap #content { padding: 0; }
			
			/* LEFT COLUMN */
			
			.left-column-heading {
				font-size: 25px;
				padding: 20px 30px;
				color: #212b30;
				background: #acd4e7;
				min-height: 100px;
			}
			
			
			.left-column-we-rep { 
				padding: 20px 30px;
				line-height: 25px !important;				
				font-weight: 100;
			}
			
			.left-column-we-rep p {
					
			}
			
			.left-column-nav {
				margin: 0 30px 20px 30px;
				padding: 20px 0 20px 0;
				border-top: 1px solid #76a7bf !important;
			}
			
			.left-column-nav p {
				
			}
			
		
		/* HOMEPAGE STYLES */
		
			/* NEWS ITEMS BLOG */
			
			.post-date { 
				font-size: 14px; 
				text-align: left;
			}			

			#pagewrap .loops-wrapper.grid2 .post-title { 
				font-size: 25px !important;
				text-align: left;
			}			
			

			.section-title { 
				background: #c4e1a8;
				padding: 20px 30px;
				min-height: 100px;
			}
			.section-title p { 
				font-size: 40px !important;
				color: #446524 !important;
				margin: 0 !important;
			}
			
			.section-block { 
				background: #cfeab4; 
				padding: 0;
			}
		
		/* BLOG / NEWS STYLES */
		
			#loops-wrapper.loops-wrapper .post { 
				text-align: left;
				margin-bottom: 30px;
			}
					
		/* CONTACTFORM7 STYLES */
		
			form.wpcf7-form {
				background: #e8e8e8;				
				border: solid 1px #d7d7d7;
				padding: 40px 0 40px 0;
			}
			
			form.wpcf7-form p { margin-bottom: 0 !important; }
			form.wpcf7-form hr { border: solid 1px #ccc; border-top: 0; margin: 20px 0; }
			
			form.wpcf7-form dl {  }
			form.wpcf7-form dl dt { 
				float: left;
				width: 30%;
				line-height: 110%;
				color: #333;
				padding: 7px 15px 0 0;
				box-sizing: border-box;		
			}
			
			form.wpcf7-form dl dt.w50 { 
				width: 50%;
				box-sizing: border-box;	
				padding: 0 10px 0 0;
			}
			
			form.wpcf7-form dl dd { 
				float: left; 
				width: 70%;
				box-sizing: border-box;	
				padding: 0 15px 0 0;
			}
			
				form.wpcf7-form dl dd.w50 { width: 50%; }
			
			p.form-title { 
				width: 100%;
				font-size: 18px;
				font-weight: 800 !important;
				margin: 20px 0 0 0;
				padding: 0 0 0 0 !important;
				clear: left;
			}
			
			.reg-sheet form label {  
				padding: 10px 20px 0 0;
				font-weight: 400;				
				display: block;
				color: #333;
			}
			
			.reg-sheet .wpcf7-form-control-wrap { 
				float: left; 
				padding: 0 0 10px 0;				
				width: 100%;
			}
			
			/* inputs */ 
				.reg-sheet .wpcf7-form-control-wrap input { padding: 5px; margin: 0 0 0 0; }
			/* radio */ 
				.reg-sheet span.wpcf7-list-item { margin: 0 10px 0 0; }
				.wpcf7-radio.radio-vert .wpcf7-list-item { display: block; }
			/* select */
				.reg-sheet .wpcf7-form-control-wrap select { padding: 5px; width: 100%; }
			/* submit button */ 
				input[type="reset"], input[type="submit"], button { 
					border-radius: 0;
					margin-top: 30px;
					background: #b69f25;
					padding: 12px 12px;
					letter-spacing: 0;
					text-transform: none;
				}
			
			form .form-row { 
				width: 100%;
				clear: left;
				margin: 0 0 0 0;
				overflow: hidden;
				padding: 0 10px 0 40px;
				box-sizing: border-box;
			}
			
				form .form-row.darker { 
					padding: 40px 40px 30px 40px;
					margin: 30px 0 30px 0;
					background: #ccc;
				}
			
			form .col-100 { width: 100%; float: left; box-sizing: border-box; padding-right: 20px; }
			form .col-75 { width: 75%; float: left; }
			form .col-66 { width: 66%; float: left; }
			form .col-50 { width: 50%; float: left; box-sizing: border-box; padding-right: 20px; }
			form .col-33 { width: 33%; float: left; }
			form .col-25 { width: 25%; float: left; }
			
			/* mobile */ @media screen and (max-width: 680px) { 
				form.wpcf7-form { padding: 20px 0; }
				form .form-row { padding: 0 10px 0 20px !important; margin: 0 !important; }
				form.wpcf7-form dl dt {  }
				form.wpcf7-form dl dd { padding-right: 5px; }
				form .col-75 { width: 100%; }
				form .col-66 { width: 100%; }
				form .col-50 { width: 100%; padding-right: 0; }
				form .col-33 { width: 100%; }
			}
		
		
		
		/* FOOTER */
		
		#footerwrap {
			background: #222929;
			font-family: "Roboto", arial, sans-serif;
		}
		
			.footer-left-col #footer .widget, .footer-right-col #footer .widget { margin: 0; }
		
			/* FOOTER NAV */
			#footerwrap #footer #nav_menu-2 {  }
			#footerwrap #footer #nav_menu-2 ul {  
				float: right;
			}
			#footerwrap #footer #nav_menu-2 ul li {
				float: left;
				clear: none;
				margin: 0 0 0 30px;
				
			}
			#footerwrap #footer #nav_menu-2 ul li a {
				color: #e9d04a;
				font-size: 20px;
			}
			
			/* FOOTER ME-ANTA LOGO */
			#footerwrap #footer-logo { width: 100%; }
			#footerwrap #footer-logo a {  
				background: url("/wp-content/uploads/2016/09/logo-footer1.png") no-repeat scroll 0 0 / 200px 196px;
				display: block;
				width: 100%;
				height: 200px;
			}
			#footerwrap #footer-logo a span { text-indent: -50000px; display: block; }

			
			/* FOOTER TEXT */
			
			#footerwrap #text-3 { clear: both; }
			
			#footer-small-text {
				color: #fff;
				line-height: 120%;
			}
			
			#footerwrap .footer-text {  }
			#footerwrap .footer-text .one { float: left; color: #b2a4b2; width: 100%; }

			#footerwrap .footer-text .one .right a { color: #fff; }			

			#footerwrap .footer-text .two { display: none; }
			#footerwrap .footer-text .two a { color: #b2a4b2; }
			
			#footerwrap #unifor-logo { float: left; width: 95px; margin: 0 50px 0 0; }
			#footerwrap #footer-text-block { position: absolute; left: 140px; }
			#footerwrap #footer-text-block p { 
				margin: 0;
				font-size: 16px;
			}

			#footerwrap #footer-text-block p em { color: #fff; font-weight: 700; font-style: normal; }
			#footerwrap #footer-text-block p span {  }
			#footerwrap #footer-text-block p strong { color: #fff;}
			
			.footer-horizontal-left .footer-left-wrap, .footer-horizontal-left .footer-right-wrap { 
				margin-left: 0;
				width: 100%;
			}
		
			/* mobile */ @media screen and (max-width: 680px) {
				
				#footerwrap { padding: 20px 0 5px 0; }
				
				#footerwrap #footer #nav_menu-2 ul { float: none; }
				#footerwrap #footer #nav_menu-2 ul li { margin: 0; float: none; }
				#footerwrap #footer #nav_menu-2 ul li a {  }
				#footerwrap #text-2 { float: none; }
				#footerwrap #text-3 { margin: 20px 0 0 0; }
				
				#footerwrap #unifor-logo { margin: 15px 0 10px 0; }
				
				#footerwrap #footer-text-block { position: relative; left: 0; }
				#footerwrap #footer-text-block p { margin: 0 0 5px 0; }
				#footerwrap #footer-text-block p span { display: block; margin: 5px 0; }
				#footerwrap #footer-text-block a { color: #fff; }
				
				#footerwrap .footer-text .one .right { clear: both; float: left; }				
				
				
			}
