/*
	Theme Name: Next Generation Hydro
	Theme URI: http://nextgenerationhydro.ca/
	Description: YNext Generation Hydro Child Theme
	Author: PR Services Ltd.
	Author URI: http://yukoninfo.com/
	
	Version: 1.0.0
	Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
	
	Template: Divi
*/



/*-----------------------------------------------------------------------------------------------------*/
/* HTML5 RESET */
/*-----------------------------------------------------------------------------------------------------*/

/*---------------------------------------------*/
/* BOX SIZING */
/*---------------------------------------------*/



/*-----------------------------------------------------------------------------------------------------*/
/* DEFAULTS */
/*-----------------------------------------------------------------------------------------------------*/

/*---------------------------------------------*/
/* DEFAULT CSS */
/*---------------------------------------------*/
@import url("../Divi/style.css");

/*---------------------------------------------*/
/* TYPOGRAPHICAL ELEMENTS */
/*---------------------------------------------*/
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700,900);

body {
	font-family: 'proxima-nova', Arial, Helvetica, sans-serif;
	font-size: 20px;
	color: #000000 !important;
}
p {
	line-height: 1.8em;
	padding-bottom: 10px;
}
.entry-content p {
	margin-bottom: 15px;
}
.entry-content a {
	color: #045872;
}
blockquote,
blockquote::before {
	color: #999;
}
blockquote {
	margin: 24px 40px;
	margin: 2.4rem 4rem;
}
blockquote::before {
	content: "\201C";
	display: block;
	font-size: 30px;
	font-size: 3rem;
	height: 0;
	left: -20px;
	position: relative;
	top: -10px;
}
.entry-content ul {
	margin-left: 20px;
}
.entry-content ol {
	list-style-position: outside;
	margin-left: 40px;
}

/*---------------------------------------------*/
/* HEADINGS */
/*---------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
	color: #00baf2 !important;
	font-family: 'proxima-nova', Arial, Helvetica, sans-serif;
	font-weight: 900;
	line-height: 1.2;
	margin: 0 0 16px;
	margin: 0 0 1.6rem;
}
h1 { font-size: 36px; }
h2 { font-size: 32px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }

/*---------------------------------------------*/
/* Animation */
/*---------------------------------------------*/
@-webkit-keyframes fade {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@-moz-keyframes fade {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@-o-keyframes fade {
  0%   { opacity: 0; }
  50%  { opacity: .5 }
  100% { opacity: 1; }
}
@keyframes fade {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button,
li {
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition:    all 0.4s ease-in-out;
	-ms-transition:     all 0.4s ease-in-out;
	-o-transition:      all 0.4s ease-in-out;
	transition:         all 0.4s ease-in-out;
}

/*-----------------------------------------------------------------------------------------------------*/
/* STRUCTURE AND LAYOUT */
/*-----------------------------------------------------------------------------------------------------*/
#page-container {
    background: #f9f9f9;
}
body {
	background: #fff !important;
	overflow-x: hidden;
}
  
#page-container { background: #FFF !important; }
  
.et_pb_section {
	background-size: 100%;
	background-position: center 112%;
	background-color: transparent !important;
	padding-bottom: 220px;
	padding-top: 0;
}
.et_pb_widget_area {
	border-right: 0;
}
.no-padding {
	padding: 0;
}
.no-margin {
	margin: 0;
}
.no-margin h3 {
	margin: 0;
}
.white-bg {
	background: #fff;
	padding: 50px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.with-shadow {
	-webkit-box-shadow: 0 0 20px 0 rgba(0,0,0,.4);
	box-shadow: 0 0 20px 0 rgba(0,0,0,.4);
}

/*---------------------------------------------*/
/* TABLE - Styling */
/*---------------------------------------------*/
  
table.small-table {
    font-size: 16px;
    line-height: 18px;
}

table.small-table sup {
    font-size: 8px;
}  

/*---------------------------------------------*/
/* HEADER - Top */
/*---------------------------------------------*/
#top-header {
    background-color: #002247 !important;
}
#top-header #et-secondary-menu .menu {
	padding-right: 50px;
}
#top-header #et-secondary-menu li a {
	font-size: 13px;
	text-transform: uppercase;
	color: #fff;
}
#top-header #et-secondary-menu li a:hover, #top-header #et-secondary-menu li.current-menu-item a,
#top-header .et-social-icons li a:hover {
	color: #00baf2 !important;
}
#top-header .et-social-icons li {
	margin-left: 5px;
}
#top-header .et-social-icons li a {
	color: #fff;
	opacity: 1 !important;
}

/*---------------------------------------------*/
/* HEADER - Main */
/*---------------------------------------------*/
#main-header {
	background: transparent !important;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}
#main-header .container {
	display: table;
	width: 100%;
}
#main-header .container #logo-container {
    display: table-cell;
    width: 25%;
    text-align: right;
}
#main-header .container #logo-container #logo {
	float: none;
	min-width: 302px;
	-ms-transform: translateX(7px);
	-webkit-transform: translateX(7px);
	transform: translateX(7px);
}

/*---------------------------------------------*/
/* HEADER - Primary Navigation */
/*---------------------------------------------*/
#main-header .container #et-top-navigation {
	display: table-cell;
	width: 75%;
	float: none;
	vertical-align: middle;
	background: url(images/menu-bg-2.png) 0 50px no-repeat;
}
#et-top-navigation #top-menu-nav {
	padding-top: 0 !important;
	padding-left: 30px;
	-ms-transform: translateY(-18px);
	-webkit-transform: translateY(-18px);
	transform: translateY(-18px);
}
#et-top-navigation ul li {
	padding-right: 0;
}
#et-top-navigation ul li a {
	font-size: 17px;
	font-weight: 600;
	text-transform: uppercase;
	color: #fff;
	padding: 0 5px !important;
}
#et-top-navigation ul li a:hover, #et-top-navigation ul li.et-show-dropdown a {
	color: #000;
}
#et-top-navigation ul li a:after {
	display: none;
}
#et-top-navigation ul li ul {
	border-top: none;
	top: 27px;
	left: 0;
	padding: 0;
	background: #bed48a;
	-webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.2);
	box-shadow: 0 0 10px 0 rgba(0,0,0,.2);
}
#et-top-navigation ul li ul li {
	width: 100%;
	display: block;
}
#et-top-navigation ul li ul li a, #et-top-navigation ul li.et-show-dropdown li a {
	font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-transform: none;
	color: #fff;
	background: #01baf3;
	width: 100%;
	padding: 8px 10px !important;
	line-height: 1;
	display: block;
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
}
#et-top-navigation ul li ul li a:hover, #et-top-navigation ul li ul li.current-menu-item a {
	background: #045872;
	color: #fff;
}

/*---------------------------------------------*/
/* FOOTER */
/*---------------------------------------------*/
#footer-bottom {
	display: none;
}
#main-footer {
	background-color: #00baf2 !important;
}
#main-footer #footer-widgets {
	padding-top: 30px;
	padding-bottom: 30px;
}
#main-footer .footer-widget {
	margin-right: 0;
	margin-bottom: 0;
	display: inline-block;
	width: 20.37037037037037%;
}
#main-footer .footer-widget + .footer-widget {
	width: 40.74074074074074%;
}
#main-footer .footer-widget + .footer-widget + .footer-widget {
	width: 20.37037037037037%;
}
#main-footer .footer-widget.last {
	width: 12.96296296296296% !important;
}
.footer-widget #nav_menu-2, .footer-widget #nav_menu-3, .footer-widget #nav_menu-4 {
	width: 33%;
}
.footer-widget .fwidget h4, .footer-widget .fwidget .menu li a, #text-4 a {
	font-family: 'proxima-nova-alt-condensed', Arial, Helvetica, sans-serif;
	font-size: 13px;
}
.footer-widget .fwidget h4, #text-4 a {
	font-weight: 600;
	padding-bottom: 0;
	margin-bottom: 0;
	color: #fff !important;
}
.footer-widget .fwidget .menu {
	padding-left: 5px;
}
.footer-widget .fwidget .menu li {
	margin: 0;
	padding: 0 !important;
	line-height: 1;
}
.footer-widget .fwidget .menu li:before {
	border-width: 0 !important;
}
.footer-widget .fwidget .menu li a {
	font-weight: 300;
}
.footer-widget .fwidget .menu li a:hover {
	color: #fff !important;
}
.footer-widget #text-3 .textwidget img {
	-ms-transform: translateY(-5px);
	-webkit-transform: translateY(-5px);
	transform: translateY(-5px);
}
.footer-widget #text-4 {
	padding-bottom: 5px;
	font-size: 0;
}
.footer-widget #text-4 .textwidget {
	line-height: 1;
}

/*---------------------------------------------*/
/* SIDEBAR */
/*---------------------------------------------*/

.widget_nav_menu .current_page_item a {
	font-weight: 800;
	color: #105871 !important;
}

/*-----------------------------------------------------------------------------------------------------*/
/* PAGE SPECIFIC */
/*-----------------------------------------------------------------------------------------------------*/
/*---------------------------------------------*/
/* NGH Site */
/*---------------------------------------------*/
/*body.page-id-1081 #main-content {
	background: url(images/main-bg.jpg) center 124% no-repeat;
    background-size: contain;
    padding-bottom: 220px;
}*/
body.parent-pageid-1081 .et_pb_section {
	background-position: center 104%;
}

.tags-wrap ul li .description h3 {
	color: #000 !important;
	font-size: 16px;
	font-weight: 500;
}
.tags-wrap ul li .description .excerpt {
	font-size: 14px;
}
.tags-wrap ul li .description .excerpt p {
	margin-bottom: 0;
  	line-height: 1.3;
}
.territory-wrap li.tag .description h3 {
	padding-right: 20px;
	position: relative;
}
.territory-wrap li.tag .description h3:after {
	position: absolute;
	content: "\33";
	font-family: 'ETmodules';
	right: -3px;
	top: -10px;
  	font-size: 26px;
  	opacity: 1;
}
.territory-wrap li.tag:hover .description h3:after {
	content: "\32";
}
.full-map-links {
	margin-bottom: 60px;
}

body.parent-pageid-1081 img.et_pb_image {
    -webkit-box-shadow: 0 0 20px 0 rgba(0,0,0,.4);
    box-shadow: 0 0 20px 0 rgba(0,0,0,.4);
}
body.parent-pageid-1081 .et_pb_lightbox_image img.et_pb_image {
    -webkit-box-shadow: none;
    box-shadow: none;
}

/*---------------------------------------------*/
/* HOME */
/*---------------------------------------------*/
.home-content .et_pb_row:first-child {
	padding-top: 0;
}
#titlebox { 
	margin-top: -92px;
}
.et_pb_blurb, .home-video-container, .home-quick-links, .socialupdates {
	-webkit-box-shadow: 0 0 20px 0 rgba(0,0,0,.4);
	box-shadow: 0 0 20px 0 rgba(0,0,0,.4);
}

.socialupdates {
	background: #e4f5fd;
	padding: 0px;
}
.socialupdates .widget_rfb_widget {
	margin-right: 0 !important;
}
.socialupdates .rfbp-text {
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 0px;
	padding-left: 20px;
	margin: 0px;
}
.rfbp-text p {
	margin-bottom: 0;
}
.rfbp-timestamp {
	font-family: 'proxima-nova-alt-condensed', Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-style: italic;
	font-weight: 600;
	color: #000;
	padding-top: 0px;
	padding-right: 20px;
	padding-bottom: 0px;
	padding-left: 20px;
	margin: 0px;
}
.socialupdates h4 {
	font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
	font-weight: 400;
	background: #00baf2;
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
	font-size: 1.75em;
	color: #fff !important;
	margin-bottom: 0px;
}
.socialupdates p {
	font-family: 'proxima-nova-alt-condensed', Arial, Helvetica, sans-serif;
	font-size: 20px;
	color: #045872;
	line-height: 1.3;
}
.rfbp-post {
	border-bottom: 1px solid #045872;
	padding-bottom: 0px;
	margin-bottom: 5px;
	margin-top: 0;
	padding-top: 0;
}
.rfbp-post:last-child {
	border-bottom: none;
	padding-bottom: 5px;
}

.et_pb_blurb {
	background: #00baf2;
	transition: background-color 0.2s ease;
}

.et_pb_blurb:hover {
	background: #105871;
}

.et_pb_blurb .et_pb_blurb_content h4, .home-quick-links h4 {
	font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
	font-size: 30px;
	font-weight: normal;
	text-align: left;
	color: #fff !important;
	padding: 20px;
	margin: 0;
	line-height: 1.1;
}

.et_pb_blurb .et_pb_blurb_content h4 a { color: #fff !important; }
.et_pb_blurb .et_pb_blurb_content h4 strong {
	font-weight: 900;
}
.et_pb_blurb .et_pb_blurb_content img {
	vertical-align: bottom;
}
.home-quick-links h4 {
	background: #00baf2;
}
.home-quick-links ul {
	background: #e4f5fd;
	margin: 0;
	padding: 0;
	list-style: none;
}
.home-quick-links ul li a {
	font-family: 'proxima-nova-alt-condensed', Arial, Helvetica, sans-serif;
	font-size: 19px;
	color: #50757c;
	display: block;
	padding: 10px 10px;
	border-bottom: 1px solid #50757c;
}
.home-quick-links ul li a:hover {
	color: #045872;
}
.home-quick-links ul li:last-child a {
	border-bottom: none;
}
.home-bottom-text p {
	font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
	font-size: 24px;
	line-height: 1.3;
}

/*.home-top-image {
  margin-top: -30px;
}*/

/*---------------------------------------------*/
/* DIRECTIVES */
/*---------------------------------------------*/
.page-id-73 .et_pb_column_4_4 {
	margin-top: -64px;
}

/*---------------------------------------------*/
/* SITE MATRIX */
/*---------------------------------------------*/
.site-matrix .et_pb_column_1_3 {
	width: 180px;
    margin-right: 0;
}
.site-matrix .et_pb_column_2_3 {
    width: 83%;
    overflow-x: auto;
}
.site-matrix .et_pb_column_2_3 img {
    width: 1523px;
    max-width: none;
    margin-bottom: 0;
}

/*-----------------------------------------------------------------------------------------------------*/
/* MEDIA QUERIES */
/*-----------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 1170px) {
	#et-top-navigation ul li a {
		font-size: 15px;
		padding: 0 8px !important;
	}	
}
@media only screen and (max-width: 1100px) {
	.site-matrix .et_pb_column_2_3 {
		width: 74%;
	}
}

@media only screen and (max-width: 1015px) {
	#et-top-navigation ul li a {
		font-size: 14px;
	}	
}

@media only screen and (max-width: 980px) {
	#top-header .container, .et_pb_row, #main-footer .container {
		width: 98%;
	}
	#logo {
		max-height: none;
	}
	#main-header #et_mobile_nav_menu {
		margin-top: -14px;
	}
	#et_mobile_nav_menu .mobile_menu_bar:before {
		color: #fff !important;
		font-size: 40px;
	}
	#et_mobile_nav_menu ul {
		background: #01baf3;
		padding: 0;
		width: 250px;
		top: 83px;
		right: 5px;
		left: auto;
		border-top: 0;
	}
	#et_mobile_nav_menu ul li, #et_mobile_nav_menu ul li a {
		width: 100%;
		-moz-box-sizing: border-box; 
		-webkit-box-sizing: border-box; 
		box-sizing: border-box;
	}
	#et_mobile_nav_menu ul li a {
		background: #01baf3;
		border-bottom: 0;
	}
	#et_mobile_nav_menu ul li ul {
		background: #01baf3;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
	.et_pb_section {
		background-position: center 100%;
	}
	#titlebox {
		margin-top: 0;
	}
	.et_pb_blurb {
		max-width: 320px;
		margin: 0 auto;
	}
	.footer-widget #nav_menu-2, .footer-widget #nav_menu-3, .footer-widget #nav_menu-4 {
		width: 33% !important;
		float: left;
	}
	
}

@media only screen and (max-width: 768px) {
	#main-footer .footer-widget, #main-footer .footer-widget + .footer-widget, #main-footer .footer-widget + .footer-widget + .footer-widget, #main-footer .footer-widget.last, .footer-widget #nav_menu-2, .footer-widget #nav_menu-3, .footer-widget #nav_menu-4 {
		width: 100% !important;
		text-align: center;
	}
	#et-secondary-menu .et-social-icons {
		margin-right: 0;
	}
	.site-matrix .et_pb_column_1_3 {
	    width: 130px;
	}
	.site-matrix .et_pb_column_2_3 {
	    width: 70%;
	}
	.site-matrix .et_pb_column_2_3 img {
		width: 1102px;
	}
}

@media only screen and (max-width: 480px) {
	#main-header .container #logo-container #logo {
		width: 230px;
		min-width: 230px;
	}
	#main-header .container #et-top-navigation {
		background: url(images/menu-bg-2.png) 0 32px no-repeat;
	}
	#et_mobile_nav_menu ul {
		top: 65px;
	}
	.site-matrix .et_pb_column_2_3 {
	    width: 55%;
	}
}
.post { background-color: #fafafa;
    	  filter:alpha(opacity=85);
  	  opacity:.85;
	  padding: 5px 10px 10px 10px;
 }

.post h2 {
	margin-bottom: 0;
	margin-top: 5px;
}

.et_pb_post {
	margin-bottom: 30px;
}
.margintopten {
	margin-top: 10px !important;
	}

div.et_pb_column:nth-child(3) > div:nth-child(1) > div:nth-child(1) > p:nth-child(2){ background-color: #fafafa;
    	  filter:alpha(opacity=85);
  	  opacity:.85;
	  padding: 10px 10px 10px 10px;
	  line-height: 1.5;
 }
.imgmap-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close {
	color: #000000 !important;
}


@media only screen and (min-width: 768px) {
	.map-wrap {
		display: block;
	}
	.territory-wrap {
		position: relative;
	}
	.territory-wrap .map-wrap {
		line-height: 1;
  		font-size: 0;
	}
	.tags-wrap h2 {
		line-height: 1;
  		padding: 0;
	}
	.territory-wrap ul {
		margin: 0;
		padding: 0 !important;
	}
	.territory-wrap li.tag {
		position: absolute;
		list-style: none;
		margin: 0 !important;
		padding: 0 !important;
	}
	.territory-wrap li.tag .icon {
		width: 25px;
		height: auto;
		-webkit-transition: all .3s ease-in;
  		transition: all .3s ease-in;
	}
	.territory-wrap li.tag.active .icon, .territory-wrap li.tag:hover .icon {
	  -webkit-transform: scale(1.5);
	  -moz-transform:    scale(1.5);
	  -ms-transform:     scale(1.5);
	  -o-transform:      scale(1.5);
	  transform:         scale(1.5);
	}
	.territory-wrap li.tag .description {
  		background: #fff;
	  	width: 300px;
	  	padding: 5px 20px 20px 20px;
	  	visibility: hidden;
	  	opacity: 0;
	  	position: absolute;
	  	left: 50%;
	  	margin-left: -150px;
	  	top: 50px;
	  	-moz-box-sizing: border-box; 
		-webkit-box-sizing: border-box; 
		box-sizing: border-box;
		-webkit-transition: all .5s ease-in;
  		transition: all .5s ease-in;
	}
	.territory-wrap li.tag.active .description {
		visibility: visible;
		opacity: 1;
		z-index: 9;
		-webkit-box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  		box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
	}
	.tags-wrap ul li .description .close-button {
		text-align: right;
	  	position: relative;
	  	top: 0;
	  	right: -10px;
	  	font-weight: 700;
	  	font-size: 20px;
	  	line-height: 1;
	}
	.territory-wrap li.tag .description h3:after, .territory-wrap li.tag:hover .description h3:after {
		opacity: 0;
	}
}

@media only screen and (min-width: 980px) {
	.territory-wrap li.tag .description {
		width: 400px;
	  	left: 60px;
	  	top: -35px;
	  	margin-left: 0;
	}
}