/* 
    Created on : 29 mars 2016, 17:15:20
    Author     : Kalgonium
*/

@font-face {
	font-family: myFrutiger;
	src: url(fonts/FrutigerLTPro-Condensed.ttf)
}
html{
    --main-bg-color: #dadada;
    --main-font: 'myFrutiger';
    --main-text-color: rgb(56, 70, 83);
    --main-text-color-faded: rgba(56, 70, 83, 0.46);
}

html, body{
    margin:0;
    padding:0;
}
body{
    background-color: var(--main-bg-color);
    overflow-x:hidden;
    font-family: var(--main-font);
    min-width:410px;
}

button{
    font-family: var(--main-font);
}
input{
    font-family: var(--main-font);
}
header{
	width:100%;
	margin-left:0;
	margin-right:0;
	padding:0 0 0 0;
	left:0;
	top:0;
	height:7em;
	background-color:white;
    z-index:4;
}
#headerContainer{
    height:100%;
    margin: 0 auto;
}

@media all and (max-width: 999px) and (min-width: 100px) {
    header{
        position:absolute;
    }
    .menuCall{
        display:block;
        position: absolute;
        left:300px;
        color:white;
        background-color:#384653;
        border-top: none;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid #8b8b8b;
        padding-left:20px;
    }
    .menuHidden{
        left:-310px;
    }
    .menuShown{
        left:0px;
    }
    .menuCall i{
        font-size: 3em;
    }
    .mainNormal{
        top: 7em;
    }
    .mainLow{
        top: 5em;
    }
    #headerContainer{
        width:100%;
        text-align:center;
    }
    #mainUl{
        width:100%;
    }
    nav {
        width: 300px;
        margin-left:0;
        box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.45);
        transition:0.3s;
    }
    nav li{
        display:block;
    }
    footer p{
        width: 100%;
    }
    #champRecherche{
        position: relative;
        top:1em;
        display:block;
        margin-right:1.2em;
        margin-bottom:2em;
        margin-left:1em;
        font-size:1.2em;
        width:60%;
    }
    .listNews{
        position: absolute;
        width:100%;
        vertical-align: bottom;
    }

    .listNews li{
        display: inline-block;
        vertical-align: top;
    }
    .listNews li ul{
        display: inline-block;
    }
    .listNews li ul li{
        display: inline-block;
    }
    .standardView .newsThumb, .standardView .newsShort{
        display:none;
    }
    .news{
        width:100%;
        top:5em;
    }
    #rechercheGlobale{
        top:4.2em;
        left:30%;
        width:70%;
        max-width:500px;
    }
    #sectionsTitle{
        color:white;
        margin-top:0.5em;
    }
    .ovpm_popup{
        margin-top:-20em;
        margin-left: auto;
        margin-right: auto;
    }
}

@media all and (min-width: 1000px){
    header{
        position:fixed;
    }
    .menuCall{
        display:none;
    }
    .mainNormal{
        top: 8.8em;
    }
    .mainLow{
        top: 8em;
    }
    #headerContainer, #mainUl{
        width:60%;
        min-width: 1000px;
    }
    nav{
        margin-top: -1em;
        margin-left:auto;
        margin-right:0;
    }
    nav li{
        display:inline-block;
    }
    #ovpm_connect{
        float:right;
    }
    footer p{
        width:90%;
        min-width:800px;
    }
    #champRecherche{
        position: absolute;
        left:45%;
        top:-2.5em;
        display:inline-block;
        margin-left:5em;
        font-size:1.5em;
        box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.45);
    }
    .listNews{
        width:20%;
        vertical-align: top;
    }
    .news{
        width:70%;
    }
    #rechercheGlobale{
        top:4.2em;
        left:45%;
    }
    #sectionsTitle{
        color:white;
        margin-top:2em;
    }
    .ovpm_popup{
        margin: 0 auto;
    }
}

#sectionsTitle{
    margin-left:0;
}

#logoHELHa{
	height:100%;
	display:inline;
	margin: 0px 0px 0px 0px;
	position:relative;
}
#headerContainer h1{
	display:inline;
	vertical-align:60%;
	color:var(--main-text-color);
	font-weight:bold;
	font-size:3.5em;
	margin: 0px 0px 0px 0px;
}
#headerContainer a{
    border: none;
    text-decoration: none;
    color:var(--main-text-color);
}
#headerContainer a:visited{
    color:var(--main-text-color);
}
#champRecherche{
    background-color:var(--main-bg-color);
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 1px solid #8b8b8b;
    transition: box-shadow 0.3s;
}

.centeredText{
    text-align: center;
}

#champRecherche:hover{
	box-shadow: 0px 5px 5px 0px rgba(70,140,160,0.45);
}

nav{
	background-color:var(--main-text-color);
	position:relative;
	z-index:3;
}
#mainUl{
	padding-left:0vw;
	margin: 0 auto;
	color:white;
	text-transform:uppercase;
}

nav li{
    background-color: var(--main-text-color);
	padding-top:0.8em;
	padding-right:1.2em;
	padding-bottom:0.8em;
	padding-left:1.2em;
	margin: 0;
    transition: background-color 0.2s;
}

nav li:hover{
	background-color:#2e3a45;
	cursor:pointer;
}

#menu_sections ul{
    position:absolute;
    display:none;
    width:auto;
    background-color:var(--main-text-color);
    margin-top:0.8em;
    padding-left:0;
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.45);
}

#menu_sections:hover ul{
    display:block;
}

nav li ul li{
    display:block;
    font-size:0.8em;
    padding-top:1vh;
    padding-right:1vw;
    padding-bottom:1vh;
    padding-left:1vw;
}

nav a{
    text-decoration: none;
    color:white;
}

nav a:visited{
    text-decoration: none;
    color:white;
}

nav a:hover{
    text-decoration: none;
    color:white;
}

.inactive{
    background-color:#2e3a45;
    cursor:default;
}

footer{
    clear:both;
    position:relative;
    background-color: var(--main-text-color);
    color:var(--main-bg-color);
    font-size: small;
    width:100%;
    top:6em;
    min-height:5em;
    padding-top:0.5em;
    padding-bottom:0.5em;
}

footer p{
    margin: 5px auto;
    text-align:center;
}

footer a{
    color:var(--main-bg-color);
    text-decoration: underline;
}

footer a:visited{
    color:var(--main-bg-color);
}

#ovpm_backdrop{
    width:100vw;
    height:100vh;
    position:absolute;
    top: 0px;
    left: 0px;
    background-color: rgba(0,0,0,0.6);
    z-index:5;
    opacity: 0;
    transition: 0.5s;
}

iframe img{
    height:100%;
    width:100%;
}

#ovpm_dispDocument{
	max-width:85vw;
	max-height:85vh;
	background-color:white;
	box-shadow: 5px 5px 5px #000000;
	border: 1px solid black;
	margin-left:auto;
	margin-right:auto;
	position:relative;
	top:5vh;
}
#ovpm_dispDocument div{
	height:3%;
	width:100%;
	position:relative;
	top:-3%;
}
#ovpm_dispDocument iframe{
	height:100%;
	width:100%;
	border:none;
	position:relative;
	top:-3%;
	z-index:6;
}
.ovpm_popup {
    border-radius: 5px;
    display: none;
    min-width: 400px;
    width:25vw;
    box-shadow: 0px 10px 10px rgba(0,0,0,0.2);
    background-color:white;
    padding: 20px;
    position:relative;
    text-align:center;
    top: -1000px;
    transition:0.5s;
    z-index:6;
}
#ovpm_mailPreviewPopUp {
    border-radius: 5px;
    display: none;
    min-width: 800px;
    max-width: 60%;
    /*width:25vw;*/
    height: 500px;
    overflow:auto;
}
#callBugReport{
    text-align: right;
}
#ovpm_changePasswd {
        min-width: 400px;
	width: 35vw;
}

.ovpm_popup h2 {
        margin: 0 auto 1em auto;
	font-size:2em;
	font-weight:bold;
}

.ovpm_popup input {
	width:60%;
	height: 2em;
	color:var(--main-text-color);
	font-weight:bold;
	font-size:1em;
	background-color:var(--main-bg-color);
	border: none;
	border-radius: 5px 5px 5px 5px;
	text-align: center;
        margin: 0 auto 20px;
}

.ovpm_popup input:focus {
	border: 2px solid var(--main-text-color);
	border-radius: 5px 5px 5px 5px;
}

.confirmPopup{
    margin-top:20px;
	width:100%;
}

.confirmPopup td{
	width:50%;
	text-align:center;
}

.ovpm_popup button{
	width:70%;
	height:2.5em;
}

.ovpm_popup .validation{
	background-color:var(--main-text-color);
	color: white;
	text-transform:uppercase;
	border:none;
}

.ovpm_popup .validation:disabled{
    background-color:var(--main-bg-color);
}

.ovpm_popup .annuler{
	background-color:var(--main-bg-color);
	color: var(--main-text-color);
	text-transform:uppercase;
	border:none;
}

.ovpm_popup .validation:hover{
	border: 1px solid var(--main-bg-color);
        cursor: pointer;
}

.ovpm_popup .annuler:hover{
	border: 1px solid var(--main-text-color);
        cursor: pointer;
}

.error{
    color:red;
}

.retourRecherche{
    width:500px;
    max-height:600px;
    overflow-y: auto;
    overflow-x: hidden;
    position:absolute;
    z-index:4;
    box-shadow: 0px 5px 5px 2px rgba(0,0,0,0.45);
}

.retourRechercheEnt{
    width:600px;
    max-height:600px;
    overflow-y: auto;
    overflow-x: hidden;
    position:absolute;
    z-index:4;
}

.retourRecherche .selected, .retourRecherche .unselected{
    padding:0.2em 1em;
}

.retourRecherche ul, .retourRechercheEnt ul{
    background-color:white;
    width:100%;
    padding:0;
    margin:0;
}

.retourRecherche li, .retourRechercheEnt li{
    list-style: none;
    padding:0.3em;
}

.text{
    padding-left:0.3em;
}

.retourRecherche table, .retourRechercheEnt table{
    width:100%;
    border-collapse: collapse;
}

.retourRecherche tr, .retourRechercheEnt tr{
    width:100%;
}

.retourRecherche li:hover, .retourRechercheEnt li:hover, .selectedRechercheElement{
    background-color: var(--main-bg-color);
    cursor:pointer;
}

.retourRecherche td, .retourRechercheEnt td{
    color: var(--main-text-color);
    font-size: larger;
}

#rechercheGlobale{
    transition: scrollTop 0.3s;
    position: absolute;
}

.tdImg{
    height:50px;
    width:50px;
}

.tdProjetImg{
    width:15%;
	background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.rechImgProf{
    width:60px;
    height:60px;
	background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    border-radius: 50%;
}

.tdBlocSection{
    width:15%;
    text-align: center;
}

.tdNom{
    width:70%;
    text-align: left;
}

.tdNomEnt{
    width:30%;
}

.tdAdresse{
    width:70%;
}
#ovpm_submain {
	width: 100%;
	margin: 20px auto;
}

.ovpm_button, .ovpm_button_low {
	background-color:var(--main-bg-color);
	color: var(--main-text-color);
	text-transform:uppercase;
	border:none;
	padding: 10px;
    transition: 0.3s;
}

.ovpm_button {
	margin: 20px;
}

.ovpm_button_low {
        width: 2.5em;
}

.ovpm_button:hover, .ovpm_button_low:hover {
    background-color:var(--main-text-color);
    color: white;
    cursor: pointer;
}

.ovpm_button:disabled, .ovpm_button_low:disabled {
    background-color:var(--main-text-color);
    color: white;
    cursor: default;
}

#ovpm_nextPage {
    float: right;
}

.ovpm_alert {
	background: #F5F5F5;
	width: 60%;
	margin: 20px auto;
	padding: 20px;
}

.ovpm_clickableText:hover{
    cursor: pointer;
}
.clickableUnderline{
    border-bottom: 2px solid white;
    transition: 0.3s;
}
.ovpm_clickableText:hover .clickableUnderline{
    border-bottom: 2px solid #2e3a45;
}

label, fieldset{
    color:var(--main-text-color);
}

.moreInfo{
    border-bottom: 1px solid var(--main-text-color);
    transition: 0.3s;
}

.moreInfo:hover{
    cursor: pointer;
    border-bottom: 1px solid rgba(70,140,160,0.45);
}

.image_couverture, .previs_img_couverture, .image_profil, .previs_img_profil{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.image_couverture{
    height: 6em;
    min-width: 10em;
    width:100%;
    margin: 0 auto;
    background-color:white;
    position:relative;
}

.previs_img_couverture, .previs_img_profil, .previs_img_couverture:after, .previs_img_profil:after{
    width:100%;
    height:100%;
}

.previs_img_couverture:after, .previs_img_profil:after{
    content: '\A';
    position: absolute;
    top:0; 
    left:0;
    background:rgba(0,0,0,0);
    opacity: 1;
    transition: all 0.2s;
}

.previs_img_couverture:hover:after, .previs_img_profil:hover:after{
    background-color: rgba(255,255,255,0.3);
    cursor:pointer;
}

.image_profil, .previs_img_profil, .previs_img_profil:after, .deleteImage{
    border-radius: 50%;
}

.image_profil{
    width: 6em;
    height: 6em;
    margin-left: auto;
    margin-right: auto;
    border: 4px solid #2e3a45;
    position:relative;
}

.deleteImage{
    background-color: red;
    color: white;
    font-weight: bold;
    border: 2px solid var(--main-text-color);
    position:absolute;
    top: -0.2em;
    right:-0.2em;
    width:1.2em;
    height:1.2em;
    transition: 0.3s;
}
.deleteImage:hover{
    cursor:pointer;
    background-color: white;
    color:red;
}
.clickableBlock{
    background-color:white;
    transition: 0.3s;
}
.clickableBlock:hover{
    background-color: #dadada;
    cursor: pointer;
}
.news{
    position:relative;
    display:inline-block;
}
.news img{
    max-width:90%;
    width:auto;
    height:auto;
}
.listNews{
    display: inline-block;
    margin-right:9%;
    list-style: none;
    padding:0;
}
.listNews ul{
    list-style: none;
    padding-left:1em;
}
.selectNews, .newsAcc{
    padding:10px;
    background-color: white;
    transition:0.2s;
}
.selectNews:hover, .newsAcc:hover{
    background-color: var(--main-bg-color);
    cursor: pointer;
}
.selectNews h4, .newsAcc h4{
    margin-top:0;
    margin-bottom: 0.3em;
}
.newsAcc{
    width: 128px;
    display:inline-block;
    margin-left:1em;
    vertical-align: top;
}
.newsThumb{
    height: 4em;
    width: 100%;
    background-position: 50%;
    background-size: cover;
    background-repeat: no-repeat;
}
.listNewsLabel{
    transition:0.2s;
}
.listNewsLabel:hover{
    cursor: pointer;
    color:black;
}
h3{
    color:var(--main-text-color);
    margin-left:3em;
    margin-bottom: 0.5em;
    text-transform: uppercase;
    margin-top:2em;
}