@import url(https://fonts.googleapis.com/css?family=Ubuntu);
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body {
    font-family: "Open Sans", Verdana, sans-serif;
	background: url('cloud-background.png');
	background-repeat: repeat-x;
	margin: 0;
}

#page-description {
	font-size: 13px;
	height: 100px;
	max-width: 450px;
	color:#474747;
	margin-top: 5px;
	margin-left: 5px;
}

h1 span {
	text-shadow: none;
	color: #909090;
	font-size: 16px;
	font-weight: normal;
} 

h1:first-letter {
    font-size: 32px;
}

h2 {
	font-weight: 400;
	color: #3F4C6B;
}

h3 {
	font-size: 13px;
	color: #dd191d;
	font-family: 'Arial', sans-serif;
}

a {
    color: #4e6cef;
    text-decoration: none;
    transition-property: color;
    transition-duration: 0.2s;
}
a:hover {
    color: #7cb342;
    text-decoration: underline;
}

a img {
    border: 0;
}

fieldset {
    margin-top: 4px;
    margin-bottom: 4px;
    border: 1px solid #3f4c6b;
}

label {
    color: #7cb342;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    height: 32px;
    border: 1px solid #a0a0a0;
    border-radius: 5px;
    box-shadow: 0px 2px 2px #eee inset;
}

input[type="text"]:focus,
input[type="password"]:focus {
    height: , 32px;
    border: 1px solid #5677fc;
    box-shadow: 0px 2px 3px #d0d9ff;
    outline: none;
}

input[type="file"] {
    height: 32px;
    max-width: 430px;
    border: 1px solid #36393d;
}

input[type="submit"]:hover {
    box-shadow: 0 3px 3px #d4d4d4, inset 0 -3px 6px #44ac35;
}

input[type="submit"]:focus {
    outline: 0;
}

input[type="submit"]:active {
    box-shadow: 0 3px 3px #d4d4d4;
    outline: 0;
}

.texte {
    max-width: 600px;
    margin-top: 48px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
}

.texte h1 {
    color: #01579b;
    text-shadow: 1px 1px 3px #b8b8b8;
    font-family: Ubuntu, sans-serif;
}
.texte h2 {
    color: #4c4c4c;
    font-family: Ubuntu, sans-serif;
    margin-left: 24px;
}
.texte h3 {
    font-family: Ubuntu, sans-serif;
}

.small-text {
	font-size: 0.9em;
}

.simple-list {
	list-style: none;
	padding-left: 0;
}

.simple-list li {
	line-height: 24px;
}

.red-text {
	color: #e51c23;
}

.bold {
	font-weight: bold;
}

.default-btn {
    margin-top: 0;
    display: block;
    width: 126px;
    height: 40px;
    background-color: #5abb4a;
    border: 0;
    font-size: 15px;
    color: #fff;
    border-radius: 6px;
    box-shadow: 0 3px 3px #d4d4d4, inset 0 -1px 2px #44ac35;
    letter-spacing: 2px;
    transition: all 0.5s linear;
}

.connexion-btn {
    cursor: pointer;
    background-color: #4794bd;
    box-shadow: 0px 3px 3px #d4d4d4, inset 0px -1px 2px #367eac;
}

@media (min-height: 825px) {
	#herbe {
		height: 39px;
		width: 100%;
		position: fixed;
		bottom: 0;
		left: 0;
		background-image: url(herbe.png);
		background-repeat: repeat-x;
		z-index: -1;
	}
}

#copyright {
    color: #a4a4a4;
    font-size: 0.75em;
    margin-top: 10px;
    text-align: center;
}



/*
	Menu principal
*/
#menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
    margin-top: 38px;
    justify-content: center;
}

#menu a {
	display: inline-block;
    height: 32px;
    line-height: 32px;
    margin-right: 32px;
    color: #4e6cef;
    text-decoration: none;
    font-size: 14px;
	text-align: center;
}

#menu a:hover {
    color: #7cb342;
}

@media (max-width: 768px) {
  #menu {
    flex-direction: column;
    align-items: center;
	margin-bottom: 24px;
  }

  #menu a {
    width: auto;
	margin-right: 0;
  }
}

#login-menu {
	text-align:center;
	font-size: 13px;
}


/*
	Menu utilisateur
*/

#user-menu {
	padding: 0;
	background-color: #f9f9f9;
	border: 1px solid #c9c9c9;
	border-bottom: 1px solid #b7b7b7;
	border-radius: 3px;
	box-shadow: 0px 1px 1px rgba(231, 231, 231, 1);
}

.um-link {
    position: relative;
    display: inline-block;
	height: 44px;
    margin: 0;
	padding-right: 20px;
    padding-left: 8px;
    line-height: 44px;
    text-align: right;
    font-size: 14px;
    color: #828282;
}

.um-link:hover {
    text-decoration: none;
    background-color: #f1f1f1;
    color: #828282;
}

.uml-profil {
	width: 75px;
}

.uml-landscape {
	width: 100px;
}

.uml-histogram {
	width: 88px;
}

.uml-arrow {
	width: 88px;
}

.profil-icn {
    font-size: 16px;
    top: 1.4em;
    border-radius: 0.7em 0.7em 0 0;
    background: #4382ea;
    width: 1.5em;
    height: 0.8em;
    position: absolute;
}
.profil-icn::before {
    position: absolute;
    content: "";
    top: -0.9em;
    left: 0.38em;
    width: 0.8em;
    height: 0.85em;
    border-radius: 50%;
    background: #e1c03a;
}
.landscape-icn {
    position: absolute;
    width: 2.2em;
    height: 1.5em;
    top: 0.7em;
    background: #2fc436;
    border: solid 0.2em #2fc436;
    overflow: hidden;
}
.landscape-icn:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: solid 1.2em #fff;
    border-left: solid 0.6em transparent;
    border-right: solid 0.6em transparent;
}
.landscape-icn:after {
    content: "";
    position: absolute;
    left: 0.1em;
    top: 0.1em;
    width: 0.8em;
    height: 0.8em;
    background: transparent;
    border-radius: 50%;
    -webkit-box-shadow: inset 0.4em -0.2em 0 #fff;
    -moz-box-shadow: inset 0.4em -0.2em 0 #fff;
    box-shadow: inset 0.4em -0.2em 0 #fff;
}

.histogram-icn {
    position: absolute;
    top: -0.7em;
    height: 4em;
    overflow-y: hidden;
    background: transparent;
    font-size: 10px;
}

.histogram-icn:before {
    content: "";
    display: block;
    width: 0;
    height: 3em;
    box-shadow: 1em 3.5em 0 0.3em #4382ea, 1.7em 3em 0 0.3em #e1c03a, 2.4em 2.1em 0 0.3em #2fc436, 3.1em 2.5em 0 0.3em #ea2525;
}

.histogram-icn:after {
    content: "";
    display: block;
    position: relative;
    margin-top: 0.9em;
    width: 4em;
    height: 0.1em;
    background: #2c2c2c;
}

.arrowleft-icn {
    position: absolute;
    top: 1.4em;
    left: 1.7em;
    background: #7b7b7b;
    font-size: 12px;
    width: 0.8em;
    height: 0.8em;
}

.arrowleft-icn::before {
    bottom: -0.6em;
    right: 0.8em;
    position: absolute;
    border-right: 1em solid #7b7b7b;
    border-top: 1em solid rgba(44, 44, 44, 0);
    border-bottom: 1em solid rgba(44, 44, 44, 0);
    content: "";
}



/*
	Accueil
*/

#logo {
	width: 80%;
    max-width: 400px;
    height: 119px;
    margin-left: auto;
    margin-right: auto;
	margin-top: 132px;
    background-image: url(logo-001.png);
	background-size: contain;
	background-repeat: no-repeat;
}

#host-form {
	width: 80%;
    max-width: 430px;
    margin-top: 48px;
    margin-left: auto;
    margin-right: auto;
}

div.fileinputs {
    position: relative;
    height: 32px;
}

input.file {
    overflow: hidden;
	width: 100%;
    height: 32px;
    position: relative;
    text-align: right;
    opacity: 0;
    z-index: 2;
    margin-bottom: 0;
}

div.fakefile {
    position: absolute;
	width: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    height: 32px;
}

div.fakefile input {
	width: 100%;
    height: 32px;
    background-image: url(input-file.png);
	background-size: contain;
    background-repeat: no-repeat;
    border: 0;
    margin-bottom: 0;
}

.hostimg {
    display: block;
    margin-top: 24px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}



/*
	Liste des images
*/

.month {
	margin-top: 32px;
	text-align: center;
}

.thumbnail {
	width: 128px;
	height: 96px;
	margin-left: 24px;
	border-radius: 3px;
}


/*
	Voir une image
*/

#viewer-top-bar {
	box-sizing: border-box;
	position: sticky;
	top: 0;
	left: 0;
	
	margin: 0;
	
	height: 50px;
	background-color: #B3E5FC;
	z-index: 100;
	
	border-bottom: 1px solid #81D4FA;
}

#viewer-top-bar img {
	margin-top: 5px;
	margin-left: 16px;
}

#image-view {
	max-width: 800px;
	text-align: center;
	margin-top: 50px;
	margin-bottom: 30px;
	margin-left: auto;
	margin-right: auto;
	min-height: 100px;
}

#image-view-img {
	max-width: 100%;
	height: auto;
}

#image-infos {
	text-align: center;
	margin-bottom: 30px;
}

#image-infos span {
	margin-right: 32px;
}

#user-actions {
	margin-left: auto;
	margin-right: auto;
}

#share {
	text-align: center;
}

.share-content {
	margin-bottom: 25px;
}

.share-title {
	margin-bottom: 10px;
}

.share-content input {
	width: 95%;
	max-width: 500px;
}



/*
    Formulaire de connexion
*/

#login_form fieldset {
    margin-top: 32px;
    margin-bottom: 15px;
    padding-left: 32px;
    padding-top: 20px;
    padding-bottom: 25px;
    border: 1px solid #474747;
    border-radius: 6px;
}

#login_form input[type="email"] {
    margin-bottom: 20px;
}



/*
    Formulaire d'enregistrement
*/

#registration_form input {
    display: block;
}

#registration_form input[type="text"], [type="email"], [type="password"] {
    width: 95%;
    max-width: 420px;
}

#registration_form button[type="submit"] {
    margin-top: 15px;
    cursor: pointer;
}

#registration_form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
}
