// Styles are copyrights Edouard Puginier

@import url('../../bower_components/normalize-css/normalize.css');
@import url('global.less');

html,
body {
	min-width: initial;
}

// 	'##::::'##::::'###::::'####:'##::: ##:
// 	 ###::'###:::'## ##:::. ##:: ###:: ##:
// 	 ####'####::'##:. ##::: ##:: ####: ##:
// 	 ## ### ##:'##:::. ##:: ##:: ## ## ##:
// 	 ##. #: ##: #########:: ##:: ##. ####:
// 	 ##:.:: ##: ##.... ##:: ##:: ##:. ###:
// 	 ##:::: ##: ##:::: ##:'####: ##::. ##:
// 	..:::::..::..:::::..::....::..::::..::

.contentHeader {
	background-color: @colorAppSecond;
	color: white;
	text-align: center;
	min-height: @heightContentHeader;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	& .headerTitle {
		font-weight: 300;
		font-size: 1.5em;
		margin: 0;
		line-height: 40px;
		color: white;
	}
}
// body.home {
// 	& .contentHeader {
// 		background-color: @colorAppMain;
// 	}
// 	& .headerTitle {
// 		color: @colorAppSecond;
// 	}
// }

.content {
	padding: (@heightContentHeader + 24px) 24px 24px 24px;
}
body.home .content {
	padding: (@heightContentHeader) 0 0 0;
}

// 	'##::::'##::'#######::'##::::'##:'########:
// 	 ##:::: ##:'##.... ##: ###::'###: ##.....::
// 	 ##:::: ##: ##:::: ##: ####'####: ##:::::::
// 	 #########: ##:::: ##: ## ### ##: ######:::
// 	 ##.... ##: ##:::: ##: ##. #: ##: ##...::::
// 	 ##:::: ##: ##:::: ##: ##:.:: ##: ##:::::::
// 	 ##:::: ##:. #######:: ##:::: ##: ########:
// 	..:::::..:::.......:::..:::::..::........::

.appArea {
	background-image: radial-gradient(50% 124%, #4F9BF3 24%, #205695 100%);
	text-align: center;
	border-bottom: 1px solid @colorAppSecond;
	padding-top: 30px;
	padding-bottom: 38px;
	position: relative;
	& .grid {
		position: absolute;
		width: 100%;
		height: 100%;
		left: 0;
		top: 0;
		background-image: url('../../images/BackgroundGrid.png');
		background-repeat: repeat;
	}
	& h1 {
		font-size: 5em;
		line-height: 1em;
		font-family: "Times New Roman", Georgia, Serif;
		margin: 30px 0 20px 0;
		color: @colorAppMain;
	}
	& h2 {
		font-size: 1.1em;
		font-weight: 200;
		text-transform: uppercase;
		background-color: transparent;
		color: @colorAppMain;
		& span {
			margin-left: 1em;
			font-size: 0.8em;
		}
	}
	& img {
		position: relative;
	}
}

body.home {
	& p {
		font-size: 1.5em;
		font-weight: 400;
		text-align: center;
	}
}

// 	:'######:::'#######::'##::::'##:'##::::'##::'#######::'##::: ##:
// 	'##... ##:'##.... ##: ###::'###: ###::'###:'##.... ##: ###:: ##:
// 	 ##:::..:: ##:::: ##: ####'####: ####'####: ##:::: ##: ####: ##:
// 	 ##::::::: ##:::: ##: ## ### ##: ## ### ##: ##:::: ##: ## ## ##:
// 	 ##::::::: ##:::: ##: ##. #: ##: ##. #: ##: ##:::: ##: ##. ####:
// 	 ##::: ##: ##:::: ##: ##:.:: ##: ##:.:: ##: ##:::: ##: ##:. ###:
// 	. ######::. #######:: ##:::: ##: ##:::: ##:. #######:: ##::. ##:
// 	:......::::.......:::..:::::..::..:::::..:::.......:::..::::..::

img {
	border-radius: 0.5em;
}

h1, h2, h3, h4, h5, h6 {
	color: @colorAppSecond;
}

h1 {
	font-weight: 100;
	font-size: 3em;
}

h2 {
	font-weight: 200;
	font-size: 2em;
	line-height: 1.5em;
	background-color: lighten(@colorAppSecond, 55%);
	text-align: center;
}

h3 {
	font-weight: 400;
	font-size: 1.5em;
}

h4 {
	font-weight: 500;
	font-size: 1em;
}

h5 {
	font-weight: 200;
	font-size: 1em;
}

h6 {
	font-weight: 200;
	font-size: 1em;
}

kbd { // Indicate input that is typically entered via keyboard.
	background-color: white;
	border: 1px solid lighten(black, 80%);
	border-radius: 0.3em;
	padding: 0.2em 0.4em;
	margin-right: 0.2em;
	&:last-child {
		margin-right: 0;
	}
}

var { // For indicating variables.

}

samp { // For indicating blocks sample output from a program.
	background-color: @colorAppMain;
	&.primary {
		color: lighten(@colorPrimary, 60%);
		background-color: @colorPrimary;
	}
	&.success {
		color: darken(@colorSuccess, 10%);
		background-color: lighten(@colorSuccess, 35%);
	}
	&.info {
		color: darken(@colorInfo, 15%);
		background-color: lighten(@colorInfo, 25%);
	}
	&.warning {
		color: darken(@colorWarning, 15%);
		background-color: lighten(@colorWarning, 30%);
	}
	&.danger {
		color: @colorDanger;
		background-color: lighten(@colorDanger, 45%);
	}
}

mark { // For highlighting a run of text due to its relevance in another context.

}

abbr { // For expanded text on long hover of an abbreviation, include the title attribute.
	cursor: help;
	background-color: lighten(@colorAppMain, 40%);
}

code { // Wrap inline snippets of code.
	margin: 1em;
	padding: 0.5em;
	background-color: lighten(@colorAppSecond, 95%);
	border-radius: 0.5em;
	border: 1px solid lighten(black, 80%);
	line-height: 2em;
}

pre { // to wrap multiple lines of code. Be sure to escape any angle brackets in the code for proper rendering.
	margin: 1em 0;
	padding: 1em 1em 1em 4em;
	background-color: lighten(@colorAppSecond, 95%);
	border-radius: 0.5em;
	border: 1px solid lighten(@colorAppSecond, 80%);
	line-height: 1em;
	border: 1px solid lighten(black, 80%);
}

p {

}

ul {
	position: relative;
	& li {
		
	}
}

ol {
	position: relative;
	margin: 1em 0;
	padding: 1em 1em 1em 4em;
	background-color: @colorAppMain;
	border-radius: 0.5em;
	border: 1px solid lighten(@colorAppSecond, 40%);
	counter-reset: li;
	& li {
		list-style: none;
		&::before {
			content: counter(li);
			counter-increment: li;
			position: absolute;
			left: 1em;
			width: 1.4em;
			height: 1.4em;
			line-height: 1.2em;
			background-color: @colorAppSecond;
			text-align: center;
			border: 1px solid @colorAppSecond;
			font-weight: 700;
			border-radius: 0.3em;
			color: @colorAppMain;
		}
	}
}

figure {
	display: inline-block;
	font-family: "Times", serif;
	& figcaption {
		text-align: center;
	}
}

.menu {
	color: black;
	font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
	letter-spacing: 0;
	font-size: 1.1em;
	margin: 0;
	padding: 0;
	& span {
		background-color: white;
		border: 1px solid #c4c4c4;
		border-radius: 0.3em;
		padding: 0.2em 0.7em;
		margin: 0 0.1em;
		&:last-child {
			cursor: pointer;
			color: white;
			background-image: linear-gradient(-179deg, #6288F9 0%, #2261F7 100%);
			border: 1px solid #577FEF;
			border-bottom: 1px solid #0E52EB;
			&::after {
				content: '';
				margin-left: 0;
				color: white;
			}
		}
		&::after {
			.FontAwesome;
			content: '\f04b';
			font-size: 0.8em;
			line-height: 1em;
			color: #404040;
			margin-left: 0.7em;
			top: -0.15em;
			position: relative;
		}
	}
}

.alert {
	padding: 1em;
	border-style: solid;
	border-width: 1px;
	border-radius: 0.5em;
	font-weight: 400;
	&.primary {
		color: lighten(@colorPrimary, 60%);
		border-color: @colorPrimary;
		background-color: @colorPrimary;
	}
	&.success {
		color: darken(@colorSuccess, 10%);
		border-color: @colorSuccess;
		background-color: lighten(@colorSuccess, 45%);
	}
	&.info {
		color: darken(@colorInfo, 15%);
		border-color: @colorInfo;
		background-color: lighten(@colorInfo, 35%);
	}
	&.warning {
		color: darken(@colorWarning, 15%);
		border-color: @colorWarning;
		background-color: lighten(@colorWarning, 40%);
	}
	&.danger {
		color: @colorDanger;
		border-color: @colorDanger;
		background-color: lighten(@colorDanger, 55%);
	}
}

// 	'########::'#######:::'#######::'########:'########:'########::
// 	 ##.....::'##.... ##:'##.... ##:... ##..:: ##.....:: ##.... ##:
// 	 ##::::::: ##:::: ##: ##:::: ##:::: ##:::: ##::::::: ##:::: ##:
// 	 ######::: ##:::: ##: ##:::: ##:::: ##:::: ######::: ########::
// 	 ##...:::: ##:::: ##: ##:::: ##:::: ##:::: ##...:::: ##.. ##:::
// 	 ##::::::: ##:::: ##: ##:::: ##:::: ##:::: ##::::::: ##::. ##::
// 	 ##:::::::. #######::. #######::::: ##:::: ########: ##:::. ##:
// 	..:::::::::.......::::.......::::::..:::::........::..:::::..::

.footer {
	margin-top: 100px;
	padding-bottom: 20px;
	text-align: center;
}

.social {
	color: @colorAppSecond;
	text-decoration: none;
	margin-right: 1em;
	&:last-child {
		margin-right: 0;
	}
	& .fa {
		margin-right: 0.25em;
		font-size: 1.5em;
	}
}