/* Copyright (C) Bull SAS - 2019 */
/**** Global *****/

html {
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	font-size: 15px;
}

* {
	box-sizing: border-box;
}

body {
	background-color: #fcfcfc;
	margin: 0;
	overflow-y: overlay;
}

@media all and (max-width: 900px) {
	body {
		overflow-y: visible;
	}
}

input:focus, select:focus, button:focus, textarea:focus {
	outline: none;
}

strong, b {
	font-weight: 400;
}

a {
	text-decoration: none;
	color: #0066A1;
	font-weight: 400;
}

a:visited {
	color: #0066A1;
}

a:hover {
	color: #003D61;
}

section {
	width: 100%;
	max-width: 820px;
	padding: 0 20px;
	margin: 30px auto;
  -webkit-animation-name: example; /* Safari 4.0 - 8.0 */
  -webkit-animation-duration: 4s; /* Safari 4.0 - 8.0 */
  animation-name: example;
  animation-duration: 4s;
}

h2 {
	display: flex;
	flex: 1;
	justify-content: center;
	align-self: center;
	font-size: 1.2em;
	font-weight: 700;
	font-family: 'Open Sans';
}

.content {
	width: 100%;
	margin: 10px 0;
	padding: 3px 15px;
	background-color: #fff;
	border: solid #cbcbcb 1px;
	border-radius: 4px;
	box-shadow: 0 1px 0 0 #bcbcbc;
}

.content .header {
	display: flex;
	margin: 8px 0 15px 0;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
}

.content .header .date {
	font-style: italic;
	display: flex;
	flex: 1;
	justify-content: flex-start;
	align-items: baseline;
}

.content .header .date i {
	margin: 0 5px 0 0;
}

.content h3 {
	display: flex;
	flex: 1;
	justify-content: center;
	align-items: center;
	font-size: 1.1em;
	font-weight: 700;
	margin: 0;
	text-align: center;
}

.content .tag {
	display: flex;
	flex: 1;
	justify-content: flex-end;
}

.content .body {
	margin: 8px 0;
	text-align: justify;
}

.content .body p, .content .body ul {
	display: block;
	margin: 0;
}

.content .body br {
	display: block;
	margin: 0 0 10px 0;
	content:"";
}

.warning {
	color: #c0392b;
	font-weight: 400;
}

.warning b {
	font-weight: 700;
}

.code {
	font-family: 'Roboto Slab', Consolas, serif;
	margin: 10px 0;
	padding: 3px;
	background-color: #eeeeee;
	border-radius: 4px;
	white-space: pre;
}

/***** Header ******/
header {
	width: 100%;
	color : #ffffff;
	background-color: #0066A1;
	padding: 10px 20px;
	margin: 0 0 20px 0;
	box-shadow: 0 1px 0 0 #003D61;
}

header a {
	color: inherit;
}

header a:visited {
	color: inherit;
}

header a:hover {
	color: inherit;
}

header img {
	width: 120px;
	flex: 1;
	position: absolute;
	top: 30px;
	left: 30px;
}

header h1 {
	text-align: center;
	font-weight: 300;
	font-family: 'Open Sans';
}

header h2 {
	color: #ff4040;
	font-size: 25px;
}

@media all and (max-width: 840px) {

	header a {
		display: flex;
		align-items: center;
	}

	header img {
		position: static;
		max-width: 120px;
		max-height: 40px;
		min-width: 120px;
		min-height: 40px;
		margin: 8px 40px 10px 10px;
	}

	header h1 {
		display: flex;
	}
}

@media all and (max-width: 470px) {

	header h1 {
		font-size: 20px;
		font-weight: 400;
	}
}


/******* Menu *******/

nav {
	margin: 10px auto;
	font-size: 16px;
	max-width: 820px;
}

nav a {
	display: block;
	font-weight: 300;
	text-decoration: none;
	color: inherit;
}

nav a:visited {
	color: inherit;
}

nav a:hover {
	color: inherit;
}

nav ul {
	margin: 0 20px;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

nav li {
	flex: 1;
	list-style-type: none;
	background-color: #fff;
	padding: 4px 7px;
	border: 1px solid #cbcbcb;
	border-right: none;
	box-shadow: 0 1px 0 0 #bcbcbc;
	cursor: pointer;
	text-align: center;
}

nav li:first-child {
	border-radius: 4px 0 0 4px;
}

nav li:last-child {
	border-radius: 0 4px 4px 0;
	border-right: 1px solid #cbcbcb;
}

nav i {
	float: left;
	margin: 4px;
	width: 0px;
	font-size: 16px;
}

nav span {
	font-size: 15px;
}

.navSelected {
	background-color: #04659E;
	border: solid #005181 1px;
	box-shadow: 0 1px 0 0 #003D61;
	color: #fff;
}

nav li.navSelected + li{
	border-left: none;
}

nav li:last-child.navSelected {
	border: solid #005181 1px;
}


/******* Search ***********/

.search {
	margin: 20px auto;
}

/* Options */

.search .label{
	margin: 0 10px 0 0;
}

.search .options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.search .options .checkbox {
	display: flex;
}

@media all and (min-width: 1400px), all and (max-width: 790px) {
	.search .slider {
		flex-direction: column;
	}

	.search .slider .labelVersion,  .search .slider .sliderBar {
		display: block;
		width: 100%;
		margin: 5px 0;
	}

	.search .date, .search .types {
		min-width: 100%;
	}

	.search .options .date .label{
		display: block;
		min-width: 100%;
	}

	.search .options .date {
		flex-wrap: wrap;
	}

	.search .options .checkbox {
		max-width: 50%;
		display: inline-block;
	}

	.search .date input {
		flex: 1;
	}
}

/* Search bar */

.search .searchBar {
	display: flex;
	margin: 30px 0 20px 0;
}

.search .searchBar #searchPkg {
	display: flex;
	flex: 1;
	margin: 0;
	padding: 5px 15px;
	background-color: #fff;
	border-top: solid #cbcbcb 1px;
	border-bottom: solid #cbcbcb 1px;
	border-left: solid #cbcbcb 1px;
	border-right: none;
	border-radius: 4px 0 0 4px;
	box-shadow: 0 1px 0 0 #bcbcbc;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
}

.search .searchBar #searchPkg::-webkit-search-cancel-button {
	display: none;
}

.search .searchBar #validate {
	display: flex;
	margin: 0;
	padding: 5px 10px;
	justify-content: center;
	background-color: #04659E;
	border: solid #005181 1px;
	border-radius: 0 4px 4px 0;
	box-shadow: 0 1px 0 0 #003D61;
	font-size: 16px;
	color: #fff;
	cursor: pointer;
	width: 40px;
}

.search #validate:hover {
	background-color: #005181;
}

@media all and (min-width: 1300px) {
	.absoluteNav {
		position: -webkit-sticky;
  		position: sticky;
		top: 10px;
	}

	nav {
		position: absolute;
		left: 10px;
		width: 18%;
	}
}

@media all and (min-width: 1400px) {
	nav, .search {
		position: absolute;
		left: 10px;
		width: 22%;
	}

	.search {
		top: 230px;
		margin: 0;
	}

	.search .searchBar {
		margin: 0;
	}

	.absoluteNav, .absoluteSearch {
		position: -webkit-sticky;
  		position: sticky;
		top: 10px;
	}

	.options {
		margin: 10px 0 0 0;
	}
}

@media all and (min-width: 1300px), all and (max-width: 790px) {

	nav ul {
		flex-direction: column;
	}

	nav li {
		width: 100%;
		text-align: left;
		border: 1px solid #cbcbcb;
		border-bottom: none;
	}

	nav li span {
		margin: 0 0 0 30px;
	}

	nav li:first-child {
		border-radius: 4px 4px 0 0;
	}

	nav li:last-child {
		border-radius: 0 0 4px 4px;
		box-shadow: 0 2px 0 0 #bcbcbc;
	}

	.navSelected {
		border: 1px solid #005181 1px;
	}

	nav li.navSelected + li{
		border: 1px solid #cbcbcb;
		border-top: none;
		border-bottom: none;
	}

	nav li:last-child.navSelected {
		box-shadow: 0 2px 0 0 #005181;
	}
}



/***** Packages search ******/

.pkgs .searchingWait {
	text-align: center;
	font-size: 40px;
	color: #cccccc;
}

.pkgs .AIXversionWrapper {
	display: flex;
	flex: 1;
	justify-content: flex-end;
}

.pkgs .AIXversion, .caption span {
	color: #ffffff;
	text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
	font-weight: 600;
	background-color: #618e4c;
	padding: 3px 8px;
	border-radius: 3px;
	box-shadow: 0 2px 0 0 #40672d;
}

.pkgs .AIXversion.olderAIX, .caption .olderCaption {
	background-color: #e67e22;
	box-shadow: 0 2px 0 0 #d35400;
}

.pkgs .AIXversion.noAIX, .caption .noCaption{
	background-color: #888888;
	box-shadow: 0 2px 0 0 #6a6a6a;
}

.pkgs a {
	color: inherit;
	text-decoration: none;
	font-weight: inherit;
}

.pkgs a:visited {
	color: inherit;
}

.pkgs .pkg .body {
	margin: 8px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.pkgs .pkg p {
	text-align: justify;
}

.pkgs .pkg:hover {
	background-color: #eeeeee;
}

.pkgs .headerPkgs{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.pkgs .headerPkgs b{
	font-weight: 700;
}

.pkgs .caption {
	display: flex;
	text-align: right;
}

.pkgs .caption span {
	margin: 0 0 0 5px;
}

@media all and (max-width: 820px) {
	.pkgs .caption {
		flex-direction: column;
	}

	.pkgs .caption span {
		margin: 5px 0;
		text-align: center;
	}
}

@media all and (max-width: 520px) {
	.pkgs .headerPkgs {
		flex-direction: column;
	}
}


/**** Tables ********/
table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0 10px 0;
}

table th, table td {
	padding: 5px 10px;
	text-align: center;
	border: solid 1px #cbcbcb;
}

table.sortable th, table.sortable td {
	cursor: pointer;
}

table.sortable th:hover {
	background-color: rgba(0,0,0,0.3);
}

table tbody tr:hover {
	background-color: rgba(0,0,0,0.07);
}

table td:first-child {
	padding: 5px 10px;
	text-align: left;
}

table td i {
	width: 15px;
	text-align: center;
	line-height: 20px;
	margin: 0;
}
