/**************************************************************************/
/**************************************************************************/
/*****************                                 ************************/
/*****************        UBUNTU CSS THEME         ************************/
/*****************      Started on 18/11/2015      ************************/
/*****************                                 ************************/
/**************************************************************************/
/**************************************************************************/

@import url(https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic,700italic);

@media screen and (orientation:portrait) {
   body{
		background: url("../images/ubuntu_desktop_portrait.jpg");
	}
}

@media screen and (orientation:landscape) {
	body{
		background: url("../images/ubuntu_desktop.jpg"); 
	}
}

body{
	width: auto;
	height: 100vh;
	/*min-width: 620px;
	max-width: 1920px;*/
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: left top;
	background-repeat: no-repeat;
	font-family: Ubuntu, sans-serif;
	color: #b0b0b0;
	overflow: hidden;
}

figure{
	text-align: center;
	display: flex;
	justify-content: center;
    align-items: center;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

figcaption{
	font-size: 12px;
	display: flex;
	justify-content: center;
    align-items: center;
}

/**************************************************************************/
/**************************************************************************/
/******************      CSS DE LA BARRE DE TACHE     *********************/
/**************************************************************************/
/**************************************************************************/

.taskbar{
	position: relative;
	background-image: url("../images/taskbar.jpg");
	background-repeat: repeat-x;
	/*width: auto;*/
	height: 23px;
	font-weight: bold;
	z-index: 99;
}

.taskbar_title{
	position: absolute;
	top: 0px;
	left: 10px;
}

#date{
	position: absolute;
	top: 0px;
	left: 43%;
	font-weight: bold;
}

#clock{
	position: absolute;
	top: 0px;
	right: 35px;
	font-weight: bold;
}

.settings{
	position: absolute;
	top: 2px;
	right: 10px;
}

.settings:hover{
	cursor: pointer;
}


/**************************************************************************/
/**************************************************************************/
/********************      CSS DU MENU DE GAUCHE    ***********************/
/**************************************************************************/
/**************************************************************************/

.left_dock{
	position: absolute;
	height: 100%;
	width: 75px;
	top: 0px;
	left: 0px;
	background-color: rgba(0,0,0,0.3);
	-moz-box-shadow: 1px 1px 2px 0px #402740;
	-webkit-box-shadow: 1px 1px 2px 0px #402740;
	-o-box-shadow: 1px 1px 2px 0px #402740;
	box-shadow: 1px 1px 2px 0px #402740;
	z-index: 90;
}

.left_dock ul{
	padding: 8px;
}

.left_dock li{
	position: relative;
	width: 60px;
	height: 60px;
	-moz-box-shadow: inset -1px -2px 1px 1px #402740;
	-webkit-box-shadow: inset -1px -2px 1px 1px #402740;
	-o-box-shadow: inset -1px -2px 1px 1px #402740;
	box-shadow: inset -1px -2px 1px 1px #402740;
	margin-top: 10px;
	border-radius: 5px;
	list-style-type: none;
	opacity: 0.8;
}

.left_dock li:hover{
	opacity: 1;
	cursor: pointer;
}

.left_dock .personal_folder{
	background: url("/icons/folder_web_projects.png") no-repeat;
	background-color: rgba(243,132,33,0.3);
	background-size: 100%;
	background-position: -1px 6px;
	margin-top: 24px;
}

.left_dock .about_me{
	background: url("/icons/about_me.png") no-repeat;
	background-color: rgba(128,128,128,0.3);
	background-size: 100%;
	background-position: 0 2px;
}

.left_dock .contact{
	background: url("/icons/contact.png") no-repeat;
	background-color: rgba(230,230,230,0.3);
	background-size: 85%;
	background-position: 4px 8px;
}

.left_dock .credits{
	background: url("/icons/credits.png") no-repeat;
	background-color: rgba(110,203,222,0.3);
	background-size: 80%;
	background-position: 6px 4px;
}


/**************************************************************************/
/**************************************************************************/
/**********************       CSS DE L'EXPLORER    ************************/
/**************************************************************************/
/**************************************************************************/
/*
/*	-->	content												//tous sauf taskbar et dock
/*		|
/*		|	-->	explorer
/*				|
/*				|	-->	title_bar							//barre de titre
/*				|	-->	window_navigation					//barre de navigation
/*						|
/*						|	-->	explorateur					//explorateur de gauche 
/*						|	-->	window_explorer			//fenetre
/*
/***************************************************************************/

.content_1{
	position: absolute;
	left: 75px;
	top: 23px;
	/*min-width: 620px;*/
	height: 100%;
	width: 100%;
}

.explorer_1{
	position: absolute;
	background-color: white;
	height: 75vh;
	min-height: 320px;
	min-width: 240px;
	width: 60%;
	top: 80px;
	left: 100px;
	z-index: 80;
	border-radius: 10px;
	-moz-box-shadow: 1px 1px 1px 1px #563C56;
	-webkit-box-shadow: 1px 1px 1px 1px #563C56;
	-o-box-shadow: 1px 1px 1px 1px #563C56;
	box-shadow: 1px 1px 1px 1px #563C56;
}

.title_bar_1, .title_bar_2{
	width: 100%;
	height: 30px;
	background: url(/images/taskbar.jpg);
	background-size: 100% 30px;
	background-repeat: no-repeat;
	border-radius: 6px 6px 0 0;
}

.window_buttons_1, .window_buttons_2{
	position: absolute;
	width: 58px;
	height: 22px;
	left: 4px;
	top: 4px;
	display: inline-block;
}

.window_close_button_1, .window_minimize_button_1, .window_expand_button_1,
.window_close_button_2, .window_minimize_button_2, .window_expand_button_2{
	position: absolute;
	width: 15px;
	height: 15px;
	background-size: 100%;
	background-repeat: no-repeat;
	opacity: 0.5;
	display: inline-block;
	top: 4px;
}

.window_close_button_1, .window_close_button_2{
	background: url(/icons/window_close_button.png);
	left: 4px;
}

.window_minimize_button_1, .window_minimize_button_2{
	background: url(/icons/window_minimize_button.png);
	left: 23px;
}

.window_expand_button_1, .window_expand_button_2{
	background: url(/icons/window_expand_button.png);
	left: 42px;
}

.window_close_button_1:hover, .window_minimize_button_1:hover,
.window_close_button_2:hover, .window_minimize_button_2:hover{
	opacity: 1;
	cursor: pointer;
}

.window_title_1, .window_title_2{
	position: absolute;
	left: 70px;
	top: 4px;
	font-weight: bold;
}

.window_navigation_1{
	width: 100%;
	height: 40px;
	position: absolute;
	background: url(/images/taskbar.jpg);
	background-size: 100% 40px;
	background-repeat: no-repeat;
}

.window_prev_button_1, .window_next_button_1{
	position: absolute;
	width: 32px;
	height: 32px;
	top: 3px;
	opacity: 0.3;
}

.window_prev_button_1{
	background: url(/icons/window_prev_button.png);
	border-radius: 3px 0px 0px 3px;
	left: 4px;
}

.window_separator{
	position: absolute;
	left: 36px;
	width: 1px;
	height: 32px;
	top: 3px;
	border-left: 1px solid #303030;
}

.window_next_button_1{
	background: url(/icons/window_next_button.png);
	left: 37px;
	border-radius: 0px 3px 3px 0px;
}

.window_navigation_path_1{
	margin-top: 9px;
	margin-left: 60px;
}

.window_navigation_path_1 img{
	position: absolute;
	top: 12px;
	left: 88px;
	opacity: 0.7;
}

.window_navigation_path_1 img:hover, .window_navigation_path_1 span:hover{
	cursor: pointer;
	opacity: 1;
}

.window_navigation_path_1 span{
	background: #303030;
	border-radius: 5px;
	height: 34px;
	font-weight: bold;
	padding: 8px;
	padding-left: 28px;
	margin-left: 20px;
	opacity: 0.7;
}

.explorateur_1, .explorateur_2{
	position: relative;
	width: 180px;
	margin-top: 40px;
	height: 100%;
	background: #e0e0e0;
	border-right: 1px #b0b0b0 solid;
	color: #505050;
	font-weight: bold;
	padding: 10px;
	float: left;
	border-radius: 0 0 0 10px;
}

.explorateur_1 ul{
	font-weight: normal;
	list-style-type: none;
	padding-left: 0px;
}

.explorateur_1 li{
	padding-left: 10px;
	cursor: pointer;
}

.explorateur_1 li:hover{
	background-color: #ff6a00;
}

.window_explorer_1{
	position: absolute;
	height: 100%;
	width: 100%;
	margin-top: 40px;
	margin-left: 180px;
	color: black;
	overflow-y : hidden;
	box-shadow: 1px 1px 1px 1px #563C56;
	border-radius: 0 0 10px 0;
	justify-content: left;
}

.window_explorer_1 ul{
	margin : 0;
	padding: 10px;
	height: 100%;
}

.window_explorer_1 li{
	display: inline-block;
	width: 80px;
	height: auto;
	padding: 10px;
	list-style-type: none;
	vertical-align: top;
}

.window_explorer_1 li:hover{
	cursor: pointer;
}

.window_explorer_1 figcaption{
	display: flex;
	justify-content: center;
    align-items: center;
}

.content_2, .content_4, .content_5{
	position: absolute;
	left: 75px;
	top: 23px;
	/*min-width: 620px;*/
	height: 100%;
	width: 100%;
	display: flex;
	justify-content: center;
    align-items: center;
}

.explorer_2, .explorer_4, .explorer_5{
	width: 60%;
	height: 70%;
	min-height: 0px;
	min-width: 0px;
	display : flex;
	flex-direction: column;
	justify-content: center;
	background: rgba(20,20,20,0.4);
	border-radius: 10px 10px;
	-moz-box-shadow: 2px 2px 2px 2px #563C56;
	-webkit-box-shadow: 2px 2px 2px 2px #563C56;
	-o-box-shadow: 2px 2px 2px 2px #563C56;
	box-shadow: 2px 2px 2px 2px #563C56;
	text-align: center;
	padding: 30px;
}

.explorer_4 p{
	margin-top : 10px;
}

.explorer_5{
	justify-content: unset;
}

.explorer_5 p{
	margin-top : 10px;
}

.contact_logo, .ubuntu_logo_credits{
	position : relative;
	margin : 0 auto;
}


/**************************************************************************/
/**************************************************************************/
/***************      CSS DU FORMULAIRE DE CONTACT     ********************/
/**************************************************************************/
/**************************************************************************/

#formulaire_contact{
	width: 100%;
	height: 100%;
	display: flex;
	text-align: center;
	justify-content: center;
}

#formulaire_contact form{
	margin-top: 30px;
}

#formulaire_contact #nom, #formulaire_contact #mail, #formulaire_contact #sujet, #formulaire_contact textarea, #formulaire_contact input[name="captcha"]{
	margin-top: 5px;
	background: rgba(40,40,40,0.2);
	border: 2px solid rgba(40,40,40,0.2);
	border-radius: 5px 5px;
	padding: 5px;
	-moz-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2) inset, 0px 1px 0px 0px rgba(255, 255, 255, 0.2);
	-webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2) inset, 0px 1px 0px 0px rgba(255, 255, 255, 0.2);
	-o-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2) inset, 0px 1px 0px 0px rgba(255, 255, 255, 0.2);
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2) inset, 0px 1px 0px 0px rgba(255, 255, 255, 0.2);
}

#formulaire_contact #nom:focus, #formulaire_contact #mail:focus, #formulaire_contact #sujet:focus, #formulaire_contact textarea:focus, #formulaire_contact input[name="captcha"]:focus{
	border: 2px solid white;
	background: rgba(150,150,150,0.4);
	transition: border .5s, background .5s;
}

#formulaire_contact #nom{
	width: 35%;
	height: 30px;
}

#formulaire_contact #mail{
	width: 35%;
	height: 30px;
	margin-left: 8%;
}

#formulaire_contact #sujet{
	width: 90%;
	height: 30px;
	margin-top: 10px;
}

#formulaire_contact textarea{
	width: 90%;
	resize: none;
	height: 25%;
}

#formulaire_contact input[name="captcha"]{
	width: 50%;
	height: 30px;
	margin-top: 10px;
}

#formulaire_contact .captcha{
	margin-top: -2px;
	margin-left: 5px;
}

#formulaire_contact button{
	color: #808080;
	width: 80px;
	height: 30px;
	margin-top: 10px;
	text-align: center;
	border: 2px solid #505050;
	background: rgba(40,40,40,0.3);
	border-radius: 5px 5px;
}

#formulaire_contact button:hover{
	border: 2px solid white;
	background: rgba(255,255,255,0.5);
	color: white;
	transition: all .5s;
}

#formulaire_contact .validate{
	width: 15px;
	height: 15px;
	top: 4px;
	margin-left: 5px;
}

#formulaire_contact .validation_text{
	margin-top: 10px;
	
}

/**************************************************************************/
/**************************************************************************/
/**************************      CSS Mobile     ***************************/
/**************************************************************************/
/**************************************************************************/

@media screen and ((max-width:768px) or (max-height : 640px)){
	
	.left_dock {
        flex-direction: row;
        justify-content: space-around;
    }
	
	.content_1 figcaption{
		font-size: 14px;
	}
	
	.content_1 ul{
		padding: 0px;
		height: 100%;
	}
	
	.content_1 li{
		display: inline-block;
		width: 100px;
		height: auto;
		list-style-type: none;
		padding: 16px;
		vertical-align: top;
		font-weight: bold;
	}
	
	.content_1 li:hover{
		cursor: pointer;
		background-color: rgba(256,106,0,0.5);
	}
	
	.content_2, .content_4, .content_5{
		position: absolute;
		display : flex;
		justify-content: center;
		align-items: center;
		height: 100%;
		width: 100%;
	}
	
	.explorer_2, .explorer_4, .explorer_5{
		width: 100%;
		height: 100%;
		margin: 0;
		display : flex;
		justify-content: center;
		align-items: center;
	}
	
	#formulaire_contact{
		width: 100%;
		height: auto;
		display: flex;
		text-align: center;
		align-items: center;
		justify-content: center;
	}
}