/*
	Theme Name: Yukon River Quest
	Theme URI: https://www.yukonriverquest.com/
	Description: Yukon River Quest Divi 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");
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700);

/* Typographical Elements
--------------------------------------------- */

body {
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	font-size: 15px;
	color: #666666 !important;
}
p {
	line-height: 1.8em;
	padding-bottom: 10px;
}
.entry-content p {
	margin-bottom: 15px;
}
.entry-content a {
	/*color: #0787A1;*/
	color: #2278a9;
}
blockquote,
blockquote::before {
	color: #666666;
}
blockquote {
	margin: 24px 40px;
	margin: 2.4rem 4rem;
	border: none;
}
blockquote::before {
	content: "\201C";
	display: block;
	color: #ccc;
	font-size: 30px;
	font-size: 3rem;
	height: 0;
	left: -20px;
	position: relative;
	top: 0;
}
.entry-content ul {
	margin-left: 20px;
}
.entry-content ol {
	list-style-position: outside;
	margin-left: 40px;
}

/* Headings
--------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
	color: #ff8822 !important;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	font-weight: bold;
	line-height: 1.2;
	margin: 0 0 16px;
	margin: 0 0 1.6rem;
}
h1 { font-size: 38px; }
h2 { font-size: 34px; }
h3 { font-size: 30px; }
h4 { font-size: 26px; }
h5 { font-size: 22px; }
h6 { font-size: 18px; }

/* 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
---------------------------------------------------------------------------------------------------- */
body {
	overflow-x: hidden;
}
#main-header, #main-content, .et_pb_section, .et_pb_blog_grid .et_pb_post {
	background-color: transparent !important;
}

/* Header
--------------------------------------------- */
#main-header {
	padding-top: 0;	
}
#main-header .container {
	width: 100%;
}
#main-header #logo {
    max-height: 50%;
	width:60%;
    position: relative;
    top: 0px;
}
/* Secondary Menu
--------------------------------------------- */





/*#top-header {*/
/*	background-color: #0787a1 !important;*/
/*	border-bottom: 1px solid #fff;*/
/*	-webkit-box-shadow:inset 0 -8px 20px 0 rgba(0,0,0,.2);*/
/*	box-shadow:inset 0 -8px 20px 0 rgba(0,0,0,.2);*/
/*}*/
#top-header {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#20376a+0,088fc7+100 */
    background: #20376a; /* Old browsers */
    background: -moz-linear-gradient(top, #20376a 0%, #088fc7 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #20376a 0%,#088fc7 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #20376a 0%,#088fc7 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#20376a', endColorstr='#088fc7',GradientType=0 ); /* IE6-9 */
    -webkit-box-shadow:inset 0 -8px 20px 0 rgba(0,0,0,.2);
    box-shadow:inset 0 -8px 20px 0 rgba(0,0,0,.2);
    padding-top: 3px;
}
#top-header .container {
	padding-top: 5px;
}
#top-header #et-secondary-menu {
	padding-bottom: 5px;
}
#top-header #et-secondary-menu ul li {
	margin-right: 5px;
}
#top-header #et-secondary-menu ul li:last-child {
	margin-right: 0;
}
#top-header #et-secondary-menu ul li a {
	color: #fff;
	padding: 5px;
	display: block;
}
#top-header #et-secondary-menu ul li a:hover, #top-header #et-secondary-menu ul li.current-menu-item a {
	color: #FF8822  !important;
	
}





/* Primary Menu
--------------------------------------------- */
/*remove this comment to back the old menu*//*.et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation {
    padding-top: 0px;
}
	  
#et-top-navigation ul li {
	padding-right: 0;
}
#et-top-navigation ul li a {
    color: #666666;
    font-size: 19px;
    font-weight: 600 !important;
    padding-top: 20px;
    padding-bottom: 20px !important;
    padding-left: 10px;
    padding-right: 10px;
}	

#top-menu .menu-item-has-children > a:first-child::after, .fullwidth-menu .menu-item-has-children > a:first-child::after, #et-secondary-nav .menu-item-has-children > a:first-child::after{
	content:" 5" !important;
	top: 20px !important;
}
	
#et-top-navigation ul li.menu-item-has-children ul li a:after {
	content: ' ' !important;
}
#et-top-navigation ul li.current-menu-ancestor a {
	color: #0787A1;
}
#et-top-navigation ul li ul {
	padding: 0;
	border-top: 0;
	top: 40px;
	left: 10px;
	-webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.4);
	box-shadow: 0 0 10px 0 rgba(0,0,0,.4);
}
#et-top-navigation ul li ul li {
	width: 100%
}

#et-top-navigation ul li ul li a {
    width: 100%;
    color: #666 !important;
    font-size: 14px;
    padding: 10px 15px !important;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}	

*//*remove this comment to back the old menu*/
	
#et-top-navigation ul li ul li a:hover, #et-top-navigation ul li ul li.current-menu-item a {
	/*background: #0787a1;*/
	background: #2278a9;
	color: #fff !important;
	font-weight: 600;
}
#et-top-navigation ul li.menu-item-has-children ul li a {
	content: none !important;
}

#top-menu li li {
    padding: 0px;
    margin: 0;
}

/* Slides
--------------------------------------------- */
.et_pb_slider .et_pb_slide .et_pb_slide_description h2 {
	font-weight: bold;
	padding: 0;
	margin: 0;
	text-shadow: 2px 2px 6px rgba(0, 0, 0, .8);
}
.et_pb_slider .et_pb_slide .et_pb_slide_description .et_pb_slide_content {
	padding: 0;
}

/* Content - Divi
--------------------------------------------- */
.et_pb_section {
	padding: 0;
}
.et_pb_fullwidth_header h1 {
	text-shadow: 2px 2px 6px rgba(0, 0, 0, .8);
}

/* Content - Blurb
--------------------------------------------- */
.et_pb_blurb {
	/*background: #0787a1;*/
	background: #2278a9;
	-webkit-box-shadow: 2px 2px 8px 0 rgba(0,0,0,.4);
	box-shadow: 2px 2px 8px 0 rgba(0,0,0,.4);
}
.et_pb_blurb .et_pb_main_blurb_image {
	line-height: 1;
	margin-bottom: 0;
}
.et_pb_blurb .et_pb_blurb_content h4, .et_pb_blurb .et_pb_blurb_content h4 a {
	font-size: 18px;
	color: #fff !important;
	padding: 10px;
}

/* Content - Posts
--------------------------------------------- */
.et_pb_blog_grid {
	margin-right: 0 !important;
	height: auto !important;
}
.et_pb_blog_grid .et_pb_post {
	position: relative !important;
	width: 30% !important;
	margin-right: 5% !important;
	left: auto !important;
	top: auto !important;
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
	-webkit-transition: none !important;
	-moz-transition: none !important;
	-o-transition: none !important;
	-ms-transition: none !important;
	transition: none !important;
	transform: none !important;
}
.et_pb_blog_grid .et_pb_post:last-child {
	margin-right: 0 !important;
}
.et_pb_post h2 {
	margin-top: 0;
}

/* Footer
--------------------------------------------- */
#footer-bottom {
	padding: 0;
	background: transparent;
}
#main-footer {
	/*background-color: #0787a1 !important;*/
	border-top: 3px solid #FF8822;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#088fc7+0,20376a+100 */
    background: #088fc7; /* Old browsers */
    background: -moz-linear-gradient(top, #088fc7 0%, #20376a 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #088fc7 0%,#20376a 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #088fc7 0%,#20376a 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#088fc7', endColorstr='#20376a',GradientType=0 ); /* IE6-9 */
}
#main-footer #footer-widgets {
	padding-top: 20px;
}
#footer-widgets .footer-widget {
	width: 100% !important;
	margin: 0;
}
#footer-widgets .footer-widget .fwidget {
	width: 32%;
	margin-right: 2%;
	margin-bottom: 0;
}
#footer-widgets .footer-widget #text-4 {
	background: url(images/logo-footer-20.png) right center no-repeat;
	background-size: 100px;
	margin-right: 0;
}
#footer-widgets .footer-widget .fwidget h4 {
	color: #FF8822 !important;
	font-size: 16px;
	margin: 0;
}
#footer-widgets .footer-widget .fwidget p {
	font-size: 14px;
	line-height: 1.5;
}
#footer-widgets .footer-widget .fwidget .et-social-icons {
	float: none;
}
#footer-widgets .footer-widget .fwidget .et-social-icons li {
	display: block;
	margin: 0;
	padding: 0;
}
#footer-widgets .footer-widget .fwidget .et-social-icons li:before {
	border-width: 0;
}
#footer-widgets .footer-widget .fwidget .et-social-icons li a {
	font-size: 14px;
	line-height: 1;
}
#footer-widgets .footer-widget .fwidget .et-social-icons li a:hover {
	color: #FF8822;
}
#footer-widgets .footer-widget .fwidget .et-social-icons li a:before {
	margin-right: 5px;
}
#footer-widgets .footer-widget .fwidget .et-social-icons li.et-social-email a:before {
	font-family: 'ETmodules';
	font-weight: normal;
	font-size: 15px;
	content: "\e010";
	margin-right: 4px;
}
.air-north-sponsor img {
    background-color: #FFF;
    padding: 5px;
}

/* Page Specific - Home
--------------------------------------------- */
.home-news-header, .home-news-header h1 {
	margin: 0;
}

/*.events-row ul {*/
/*    list-style-type: none !important;*/
/*}*/
.twenty-anniversary-logo-banner .et_pb_slide {
    padding: 12% 0;
}
.flag-language-rules img {
    width: 20%;
}
.home-page-call-to-actions .et_pb_blurb_description {
    display: none;
}

/* Page Specific - 20th Anniversary Stories page
--------------------------------------------- */
.race-stories-1999-2018 .et_pb_toggle_title {
    margin-bottom: 0;
}
.race-stories-1999-2018 a {
    text-decoration: underline;
}


/* Page Specific - 20th Anniversary Events pages */
.event-highlights-row h3 {
    margin: 0;
    padding: 0;
}
.event-highlights-row hr {
    margin: 22px 0;
}
.twentyth-events-landing-page .et_pb_blurb_description {
    display: none;
}
.twentyth-events-landing-page .et_pb_blurb_container {
    /*min-height: 62px;*/
}

@media (min-width: 981px) {

}

/*
Media Queries
---------------------------------------------------------------------------------------------------- */
@media only screen and (max-width: 1265px) and (min-width: 981px) {

#main-header #logo {
    /*max-height: 125%;*/
    max-height: 160%;
    position: relative;
    /*top: -15px;*/
    top: -30px;    
	}
}

@media only screen and (min-width: 981px) {
    /* making footer stick to the bottom of the page */
    /*.page-id-5762 #main-footer {*/
    /*   position: absolute;*/
    /*    width: 100%;*/
    /*    bottom: 0; */
    /*}*/
    /*.page-id-5731 #main-footer {*/
    /*   position: absolute;*/
    /*    width: 100%;*/
    /*    bottom: 0; */
    /*}*/
    .events-row .et_pb_blurb .et_pb_blurb_content h4 a {
        padding: 0 0 10px 0;
    }
    .events-row .et_pb_blurb_container {
        min-height: 62px;
    }
    /*.page-id-5718 .et_pb_gutters3 .et_pb_column_1_3 {*/
    /*    margin-top: -7px;*/
    /*}    */
}

@media only screen and (min-width: 1160px) {
    /* Content - 20th Anniversary
    --------------------------------------------- */
    .whitehorse-start-link .et_pb_module_header a {
        line-height: 42px;
    }    
}

@media only screen and (max-width: 1100px) and (min-width: 981px) {
	#main-header .container, #main-footer .container {
		width: 100%;
		padding-left: 10px;
		padding-right: 10px;
		-moz-box-sizing: border-box; 
		-webkit-box-sizing: border-box; 
		box-sizing: border-box;
	}
	#et-top-navigation ul li a {
		font-size: 18px;
		padding: 10px 5px;
	}
    #top-menu .menu-item-has-children > a:first-child::after, .fullwidth-menu .menu-item-has-children > a:first-child::after, #et-secondary-nav .menu-item-has-children > a:first-child::after {
        top: 12px !important;
    }
}
@media only screen and (max-width: 980px) {
    .whitehorse-start-link .et_pb_module_header a {
        line-height: 1;
    }
	#main-header .container, .et_pb_row, #main-footer .container {
		width: 100%;
		padding-left: 10px;
		padding-right: 10px;
		-moz-box-sizing: border-box; 
		-webkit-box-sizing: border-box; 
		box-sizing: border-box;
	}
	#main-header #logo {
		top: 0;
	}
	.et_pb_row {
		padding-left: 20px;
		padding-right: 20px;
	}
	#main-header #et_mobile_nav_menu {
		margin-top: 40px;
	}
	#main-header #et_mobile_nav_menu .mobile_menu_bar:before {
		font-size: 38px;
		font-weight: bold;
		color: #0787A1 !important;
	}
	#main-header #et_mobile_nav_menu ul.et_mobile_menu {
		padding: 0;
		left: auto;
		right: 10px;
		width: 220px;
		border-top: 0;
	}
	#main-header #et_mobile_nav_menu ul.et_mobile_menu li a {
		border-bottom: none;
		padding-top: 10px;
		padding-bottom: 10px !important;
	}
	#main-header #et_mobile_nav_menu ul.et_mobile_menu li a:hover,
	#main-header #et_mobile_nav_menu ul.et_mobile_menu li.menu-item-has-children a {
		background-color: #fff;
	}
	#main-header #et_mobile_nav_menu ul.et_mobile_menu li a:hover,
	#main-header #et_mobile_nav_menu ul.et_mobile_menu li.menu-item-has-children a:hover {
		color: #333;
	}
	#main-header #et_mobile_nav_menu ul.et_mobile_menu li ul {
		-webkit-box-shadow: none;
		box-shadow: none;
	}
	#main-header #et_mobile_nav_menu ul.et_mobile_menu li ul li {
		-moz-box-sizing: border-box; 
		-webkit-box-sizing: border-box; 
		box-sizing: border-box;
	}
	#main-header #et_mobile_nav_menu ul.et_mobile_menu li.menu-item-has-children ul li a:hover,
	#main-header #et_mobile_nav_menu ul.et_mobile_menu li.menu-item-has-children ul li.current-menu-item a {
		background: #0787A1;
	}
	.et_pb_blurb {
		max-width: 360px;
		margin: 0 auto;
	}
	#footer-widgets .footer-widget .fwidget h4, #footer-widgets .footer-widget .fwidget p {
		text-align: center;
	}
	#footer-widgets .footer-widget #text-4 {
		background: url(images/logo-footer.png) center bottom no-repeat;
		background-size: 100px;
		padding-bottom: 120px;
	}
    .twentyth-anniversary-stories-page h3 {
        text-align: center !important;
    }
    .flag-language-rules img {
        width: 100%;
    }
    #main-header #logo {
        margin: -94px auto 0 auto;
        display: block;
    }
    #et-top-navigation ul li a {
        font-size: 17px;
    }
    .page-id-5718 .twentyth-anniversary-banner {
        display: none !important;
    }
}
@media only screen and (max-width: 768px) {
	#main-header {
		padding-bottom: 0;
	}
	#main-header .logo_container {
		left: 0;
	}
	#main-header #logo {
		margin-top: 10px;
		width: 280px;
		left: 50%;
		margin-left: -140px;
		position: absolute;
		max-width: none;
		max-height: none;
	}
	#et-top-navigation {
		width: 100%;
		padding-left: 0 !important;
	}
	#main-header #et_mobile_nav_menu {
		float: none;
		text-align: center;
		margin-top: 80px;
	}
	#main-header #et_mobile_nav_menu .mobile_menu_bar {
		padding-bottom: 10px;
	}
	#main-header #et_mobile_nav_menu ul.et_mobile_menu {
		right: auto;
		left: 50%;
		margin-left: -110px;
	}
	#main-header #et_mobile_nav_menu ul.et_mobile_menu li ul li {
		padding-left: 0;
	}
	.et_pb_blog_grid .et_pb_post {
		width: 100% !important;
		margin-right: 0 !important;
	}
	#footer-widgets .footer-widget .fwidget {
		width: 100%;
		margin-right: 0;
	}
	
		
	/*_:-moz-tree-row(hover), #main-header #et_mobile_nav_menu ul.et_mobile_menu {
		top: 121px;
	}
	_:-ms-input-placeholder, :root #main-header #et_mobile_nav_menu ul.et_mobile_menu {
		top: 121px;
	}*/
}
@media only screen and (max-width: 767px) {
	#footer-widgets .footer-widget {
		margin-bottom: 0;
		padding-bottom: 30px;
	}
	/* adding padding to home page banner */
	.home .et_pb_fullwidth_slider_0 .et_pb_slide_description {
        padding-top: 40%;
        padding-bottom: 40%;
    }
    .home .et_pb_fullwidth_section .et_pb_slide_description .et-hide-mobile {
        display: block !important;
    }
	
	/*Lautaro's Try*/
	
	.et_mobile_menu {
		text-align:left;
		
	}
	
	.et_mobile_menu li {
	border-bottom: 1px solid #666666;
		
	}
	
	.et_mobile_menu li.last {
	border-bottom: none;	
	
	}
	
	.menu-item-8476 {
		text-align:left;
	}
	.menu-item-8476 .sub-menu {
		text-align: center;
	}
	.menu-item-8476 .sub-menu ul {
		padding-left:0;
	}
	.menu-item-8476 .sub-menu :last-child {
		border-bottom:none;
	}
	.menu-item-899 {
		text-align:left;
	}
	.menu-item-899 .sub-menu {
		text-align: center;
		padding-left:0;
	}
	.menu-item-899 .sub-menu :last-child {
		border-bottom:none;
	}

	
	
	#main-header .et_mobile_menu li ul, .et_pb_fullwidth_menu .et_mobile_menu li ul, .et_pb_menu .et_mobile_menu li ul {
    visibility: visible!important;
    display: block!important;
    padding-left: 0px;
	}
	
.phone a, .phone a:link, .phone a:visited, .phone a:hover, .phone a:active, .phone a:focus {
  /* link styles go here, e.g.: */  
  	/*text-decoration: none;
  	color: white;*/
	}
}