/**
 * @file Base CSS file
 */

@import url('../fonts.css');

html, body {
	margin: 0; padding: 0;
	min-height: 100%;
	font-size: 12px;
	box-sizing: border-box;
}

html {
	padding: 0 0 0 0;
	position: relative;
}

body {
	background: #00adef;
	font-family: "HelveticaNeueLT Std", "Verdana", "Arial", sans-serif;
	padding-bottom: 80px;
}

body.BlueTC.popup {
	background: url('images/white_tex_background.png') repeat #e8e8e8;
}


img {
	border: none;
}

html, body, input, button, textarea, pre label, h1, h2, h3, h4, h5, h6 {
	font-family: "HelveticaNeueLT Std", "Verdana", "Arial", sans-serif;
}

html template, html \:template {
	display: none;
	visibility: hidden;
}

/**
 * Universal classes
 */

/* Centered element */
.centered {
	margin-left: auto; margin-right: auto;
}

/* Specific width element */
.width {
	/*min-width: 1000px;
	width: 80%;
	max-width: 1500px;*/
	width: 1000px; /* Debug minimal */
}

.min-width {
	min-width: 1000px;
}

/* White textured background */
.white_tex_background {
	background: url('images/white_tex_background.png') repeat #e8e8e8;
}

/* Simple column in container */

.floatContainer, .columnContainer {
	overflow: auto;
}

.column {
	float: left;
}

.padded {
	padding: 20px;
}

.nopad {
	padding: 0 !important;
}

.nomargin {
	margin: 0 !important;
}

/* invisible (javascript data structure) */
.invisible, .js_struct, .template {
	display: none;
}

/* Relative element for absolute positionning */
.relative {
	position: relative;
}

.block {
	display: block !important;
}


/***
 * Element layouts
 */

/**
 * Titles
 */
.BlueTC h1 {
	margin: 15px 0 5px 0; padding: 0;
	font-size: 17px; font-weight: bold; color: #4d4d4d;
}
	h1 img {
		vertical-align: middle; margin-top: -3px; margin-left: 10px;
	}

.BlueTC h2 {
	margin: 15px 0 5px 0; padding: 0;
	font-size: 16px; font-weight: bold; color: #008cb6;
}
	.BlueTC #footer h2 {
		margin: 15px 0 5px 0; padding: 0;
		font-size: 16px !important; font-weight: bold; color: #008cb6 !important;
	}

/** Deep header, for use in popups/sections */
.BlueTC h4 {
	margin: 10px 5px 5px 5px;
	font-size: 12px; font-weight: normal; color: #4e4e4e;
}


.BlueTC p {
	text-align: justify; line-height: 130%;
}

/**
 * Links
 */
.BlueTC a {
	color: #008cb6; text-decoration: underline;
}
	.BlueTC a:hover {
		color: #009ccc;
	}

/* HR bars */
.BlueTC hr {
	display: block;
	border: none;  height: 1px;
	background: #dbdbdb;
}



/**
 * Page Layout
 */

/* Header */
div#header {
	position: relative; z-index: 50;
	height: 75px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.75);
	background: white;
}

	div#header_center {
		height: 75px;
		background-repeat: no-repeat;
		background-position: center left;
	}

	div#logo-container {
		position: relative;
		display: block; overflow: hidden; margin: auto; height: 75px; line-height: 75px;
	}
		div#logo-container a.editLogoNag {
			position: absolute;
			top: 9px; right: 9px;
			width: 63px; height: 57px;
			background: url('images/header_editLogo_en.png') 0 0 no-repeat;
		}

			body.locale-fr_CA div#logo-container a.editLogoNag,
			body.locale-fr_FR div#logo-container a.editLogoNag {
				background-image: url('images/header_editLogo_fr.png');
			}

			div#logo-container a.editLogoNag:hover {
				background-position: right 0;
			}

		div#logo-container a.home {
			display: inline-block; text-decoration: none; color: #727272; max-height: 100%; line-height: 100%;
			overflow: hidden; text-overflow: ellipsis; vertical-align: middle;
			font-family: "HelveticaNeueLT Std Cn"; font-size: 28px; font-weight: bold;
		}
			div#logo-container a.home.text {
				max-height: 60px; padding: 4px 0;
			}

		div#logo-container img {
			max-width: 100%; max-height: 75px;
		}

	#account_control_box {
		float: right; overflow: visible; height: 75px; line-height: 75px; white-space: nowrap;
	}
		#account_control_box > * {
			line-height: 100%;
			display: inline-block; vertical-align: middle;
		}


	#account_control_box a.link {
		margin: 5px 10px;
		font-size: 12px; font-weight: bold; text-align: left; color: #678e99;
		text-transform: uppercase; text-decoration: none;

		border: transparent 1px solid;

		display: inline-block; height: 20px; padding: 8px 8px 0 8px; vertical-align: middle;
	}
		#account_control_box a.link:hover {
			border: #b7b7b7 1px solid !important; border-radius: 5px 5px 5px 5px;
			box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
			background: white;
		}

/* Main navigation tabs above the page */
div#main_tabs {
	margin-top: 15px;
}
	div#main_tabs > a {
		position: relative;	display: inline-block; z-index: 3;

		margin: 0 2px 0 0; padding: 5px 8px 0 8px;
		min-width: 110px; height: 33px; line-height: 33px;

		box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
		border-radius: 4px 4px 0 0;

		font-size: 12px; font-weight: bold; color: #4d4d4d; text-align: center;
		text-decoration: none; text-shadow: rgba(255, 255, 255, 0.75)  0 0.1em 2px;
		text-transform: uppercase;

		background: url('images/tab_background.png') repeat-x;
	}
		div#main_tabs > a > span.count {
			position: absolute; right: -8px; top: -8px;
			display: inline-block; width: 27px; height: 29px;
			background: url('images/tab_count.png') no-repeat 4px 6px;

			font-size: 12px; font-weight: bold; color: white; text-align: center;
		}

		div#main_tabs > a > span.icon {
			display: inline-block; width: 20px; height: 20px;
			background-position: 0 0; vertical-align: middle; margin-top: -5px;
		}
			div#main_tabs > a:hover > span.icon, div#main_tabs > a.active > span.icon {
				background-position: 0 100%;
			}

		div#main_tabs > a:hover, div#main_tabs > a.active {
			z-index: 5;
			box-shadow: none;
			background: white; color: #177195;
		}


/* Main page containers */
div#main_page_container {
	min-height: 500px;
}

	div#main_page_container > div > div.toolbar {
		overflow: auto;
	}


/** Center part, where the content is (mostly) */
div.content_container {
	position: relative; overflow: hidden; z-index: 4;
	border-radius: 0 2px 2px 2px;
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
	background: white;
	/*min-height: 600px;*/
}

	.content_container div#underTabs {
		padding: 10px;
		border-radius: 0 2px 2px 2px;
		box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
		background: white;
		min-height: 600px;
	}


.small_body {
	margin-left: auto; margin-right: auto;
	width: 600px;
	border-radius: 6px !important;
}

/** Left Side bar (resizes the center part) */
div#left_side_bar {
	float: left;
	margin: 10px 10px 0 0;
}


/** Right side bar (resizes the center part) */
div#right_side_bar {
	float: right;
	margin: 10px 0 0 10px;
}



/* Footer */
div#footer {
	position: absolute; left: 0; right: 0; bottom: 0;
	margin-top: 20px;
	height: 60px;
	color: #676767;
	border-top: white 1px solid;
	text-shadow: 0 0.1em rgba(255, 255, 255, 0.75);
}

	#footer h2 {
		padding: 10px 0px;
	}



	div#footer .copyright {
		color: #9a9a9a; font-weight: bold;
	}

	#footer ul {
		list-style-type: none; padding: 0; margin: 0;
	}

		#footer ul li {
			padding: 0; margin: 5px 0;
		}
			#footer ul li, #footer ul li a {
				color: #676767; text-decoration: none;
			}





/** NOTIFICATIONS **/
div#notifications {
	overflow: hidden;
	border-radius: 0 0 3px 3px;
}
div#notifications > div.notification {
	/*margin-top: 10px; */
	background: url('images/notification_bg.png') repeat-x #fcc95b;
	padding: 10px;
	padding-bottom: 3px;
}

div.notification {
	color: #555555;
	line-height: 15px;
	vertical-align: middle;
}

span.notifTitle {
	font-weight: bold;
}

div.notifContent {
	margin: 0 25px 2px 0;
}

div.notifContent > .notifTitle+p {
	display: inline-block; margin: 0;
}

span.notifTitle:before {
	content: url('images/notification_i.png');
	vertical-align: middle;
}

span.notifTitle:after{
	content: ': ';
	/*margin-right: 10px;*/
}

div a.picto.notifClose{
	color: #b58943;
	float: right;
	cursor: pointer;
}
/*
div.notification.info {
	background: #dbf6b1;
	border: #5c7f26 2px solid;
}

div.notification.warning {
	background: #fdf5c9;
	border: #a58c33 2px solid;
}

div.notification.error {
	background: #ad1a1a;
	border: #a95252 2px solid;
	color: white;
*/
