/*Temporary hack to prevent H1 top margins from sometimes being misinterpreted as 0 by Firefox. Based on wet-boew/GCWeb#1015. Built-into WET 4.0.19+.*/
@media screen {
	h1 {
		margin-top: 1.25em !important;
	}
}

/*Temporary change to dfn style*/
dfn {font-style:inherit;}

/*Temporary hack for placeholder links in reports and publications CPT's "Continue reading" list...*/
.panel-default li a:not([href]) {
	color: #333;
	text-decoration: none;
}
/*Temporary carousel focus style*/
.wb-tabs.carousel-s2 div[role="tabpanel"] a:focus{text-decoration:underline;}

/*Temporary default table styles*/
table:not(.table), .tbl-default-tmp {
	border: 1px solid #ddd;
	margin-bottom: 20px;
	width: 100%;
}

table:not(.table) th, .tbl-default-tmp th {
	background-color: #ccc;
	border: 1px solid #ddd;
	color: #000;
	font-weight: normal;
	padding: 8px;
}

table:not(.table) th a, .tbl-default-tmp th a { color: #000; }
table:not(.table) th a:hover, table:not(.table) th a:focus, .tbl-default-tmp th a:hover, .tbl-default-tmp th a:focus {
	color: #000;
	text-decoration: none;
}

table:not(.table) td, .tbl-default-tmp td {
	border: 1px solid #ddd;
	padding: 8px;
}

table:not(.table) caption, .tbl-default-tmp caption {
	font-weight: bold;
}

@media print {
	table:not(.table) th, .tbl-default-tmp th {
		font-weight: bold;
	}
}


/*INSTITUTIONAL PROFILE BEGINS*/
@media (max-width:767px){.clr-lft-xs{clear:left;}}
@media (min-width:768px) and (max-width:991px){.clr-lft-sm{clear:left;}}
@media (min-width:992px) and (max-width:1199px){.clr-lft-md{clear:left;}}
@media (min-width:1200px){.clr-lft-lg{clear:left;}}

/*Spacing between feeds items*/
.ip-feeds .feed-active li:not(:last-child) {margin-bottom: 15px;}

/*Stay connected */
.ip-sty-cnnctd li a {display: table-row;}
.ip-sty-cnnctd img {display: table-cell; margin-right: .75em;}
.ip-sty-cnnctd a[href^="https://www.flickr.com/"] img {height: 1.55em; margin-left: .6em;}
.ip-sty-cnnctd a[href^="https://twitter.com/"] img {height: 1.1em; position: relative; top: -.1em; margin-left: .82em;}
.ip-sty-cnnctd a[href^="https://www.youtube.com/"] img {height: 1.5em; margin-left: .05em;}
.ip-sty-cnnctd li a > span {display: table-cell; vertical-align: middle;}
.ip-sty-cnnctd li a > span:first-child {display: block; margin-left: 2.9em;}

/*INSTITUTIONAL PROFILE ENDS*/


/*APPRENTICESHIP BEGINS*/

/*Set 2 line minimum height for "What people are saying" sub-headings */
@media (min-width:992px) {.ap-md-mnht-2 {min-height: 2.2em;}}

/*APPRENTICESHIP ENDS*/

/*		Fix table class for th - Remove when version 4.0.21+ is implemented	*/
body {
	font-weight: inherit !important;
}

/*Prevent details/summary arrows from disappearing in Firefox 47+ (WET <=4.0.21 issue - Remove when version 4.0.22+ is implemented).*/
html:not(.no-details) details summary {
	display: list-item !important;
}

/*Youth BEGINS*/
.yth-ttl {
	font-size:250%;
	text-align:center;
}
.yth-txt {
	font-size:150%;
	text-align:center;
}
.yth-txt a.btn {
	font-size:125%;
}
.yth-txt ul.yth-connected {
	margin-left:5%;
	width:90%;
}
.yth-bg-1 {
	background-image: url(/National_Library/20160526010038oe_/http://www.esdc.gc.ca/assets/portfolio/images/jeunesse-youth/bg1-dark.png);
	background-color: #757572;
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 100%;
	min-height: 400px;
}
.yth-bg-2 {
	background-image: url(/National_Library/20160526010038oe_/http://www.esdc.gc.ca/assets/portfolio/images/jeunesse-youth/bg2-dark.png);
	background-color: #2F456E;
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: 100%;
	min-height: 400px;
}
.yth-overlay{
	text-align:center;
	padding:50px 10px 10px 10px;               
}
.yth-overlay-txt {
	font-size:200%;
	color:#FFF;
}
.yth-overlay-txt h2{
	font-size:200%;
	margin-bottom:50px;
}
.yth-bg-2 .yth-overlay-txt h2{
	font-size:150%;
}

.yth-overlay-txt a.btn {
	font-size:70%;
} 
.yth-icons a {
	display:inline-block;	
}
.yth-icons img {
    max-width:100%;
} 			
.yth-btn-yt {
	background-color: #C00;
	margin-bottom:10px;
}
.yth-btn-tw {
	background-color: #179;/*#4AC;*/
	margin-bottom:10px;
}
.yth-btn-fb {
	background-color: #269;/*#48B;*/
	margin-bottom:10px;
}
a.btn-default.yth-btn-yt:hover,a.btn-default.yth-btn-yt:active,a.btn-default.yth-btn-yt:focus,a.btn-default.yth-btn-yt.hover,a.btn-default.yth-btn-yt.active,a.btn-default.yth-btn-yt.focus {
	background-color: #900;
}
a.btn-default.yth-btn-tw:hover,a.btn-default.yth-btn-tw:active,a.btn-default.yth-btn-tw:focus,a.btn-default.yth-btn-tw.hover,a.btn-default.yth-btn-tw.active,a.btn-default.yth-btn-tw.focus {
	background-color: #068;
}
a.btn-default.yth-btn-fb:hover,a.btn-default.yth-btn-fb:active,a.btn-default.yth-btn-fb:focus,a.btn-default.yth-btn-fb.hover,a.btn-default.yth-btn-fb.active,a.btn-default.yth-btn-fb.focus {
	background-color: #047;
} 
a.btn-default.yth-btn-yt, a.btn-default.yth-btn-tw, a.btn-default.yth-btn-fb {
	color:#FFF;
	width:100%;							
}
/*Youth ENDS*/
