/* 
    Created on : 31 mars 2016, 13:35:03
    Author     : Kalgonium
*/

#image_couverture{
    position:relative;
    top:8em;
    height:9em;
    min-height: 200px;
    width:100%;
    margin: 0 auto;
    background-color:white;
    /*background-image: url("../images/ECONOMIQUE_MONTIGNIES_SUR_SAMBRE.jpg");*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

#previs_img_couverture{
    width:100%;
    height:100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
#previs_img_couverture:after {
    content: '\A';
    position: absolute;
    width: 100%; 
    height:100%;
    top:0; 
    left:0;
    background:rgba(0,0,0,0.5);
    opacity: 1;
    transition: all 0.2s;
}
#previs_img_couverture:hover:after{
    background-color: rgba(255,255,255,0.3);
    cursor:pointer;
}

#image_profil{
    border-radius: 50% 50% 50% 50%;
    border: 4px solid #2e3a45;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#previs_img_profil{
    width:100%;
    height:100%;
    border-radius: 50% 50% 50% 50%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media all and (max-width: 999px) and (min-width: 100px) {
    #image_couverture{
        top:7em;
        height:6em;
        /*min-height: 200px;*/
    }
    #image_profil{
        width: 7em;
        height: 7em;
        margin-top: -4em;
        margin-left:1em;
        margin-right:1em;
        float:left;
    }
    #nom_etudiant{
        text-align: left;
    }
    #section_etudiant{
        text-align:left;
    }
    #abort_modif_profil{

    }
    #abort_modif_profil{
        top: 100px;
    }
}

@media all and (min-width: 1000px){
    #image_couverture{
        top:8em;
        height:9em;
        min-height: 200px;
    }
    #image_profil{
        width: 9em;
        height: 9em;
        margin-top: -9em;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.5em;
    }
    #nom_etudiant{

    }
    #section_etudiant{

    }
    #abort_modif_profil{
        top: 50px;
    }
}

#divCorps_ifr:hover{
    cursor:text;
}
#overlay_profil {
    width: 100%; 
    height:100%;
    border-radius: 50% 50% 50% 50%;
    top:0; 
    left:0;
    background:rgba(0,0,0,0.3);
    opacity: 1;
    transition: all 0.2s;
}

#previs_img_profil:hover #overlay_profil{
    background-color: rgba(255,255,255,0.4);
    cursor:pointer;
}

.desc_projet{
    margin-left: 2em;
    margin-right:2em;
}

#nom_etudiant{
    font-weight:bold;
    display:block;
    font-size: larger;
}

#section_etudiant{
    font-size: smaller;
    display:block;
    margin-bottom:1.5em;
}

.pNormal{
    margin-left:3vw;
    margin-top:0;
}

.desc_projet img{
    max-width:100%;
    width:auto;
    height:auto;
    /*margin:10px 10px 10px 10px;*/
}

button{
    /*font-family: myFrutiger;*/
    color:white;
    font-size:1em;
    background-color:#384653;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #8b8b8b;
}

label.small{
    display: block;
    width: 150px;
    float: left;
}
#modifCV, #supprimerCV, #telechargerCV{
    position:absolute;
    right:0;
    box-shadow: -2px 2px 6px 0px rgba(0,0,0,0.75);
    color:black;
    background-color: #dadada;
    display:none;
}
#modifCV:hover, #supprimerCV:hover, #telechargerCV:hover{
    color:white;
    background-color: #384653;
    cursor:pointer;
}
#supprimerCV{
    top:3%;
}
#telechargerCV{
    top:6%;
}
#modifCV{
    top:9%;
}

#affichpdf{
    overflow:hidden;
}

#pdfContainer:hover button{
    display:block;
}

#save_modif_profil{
     position:absolute;
    background-color: #dadada;
    color: #384653;
    padding:5px;
    right: 30px;
}
#abort_modif_profil{
    position:relative;
    background-color: #dadada;
    color: #384653;
    padding:5px;
}

#modif_profil,
#buttonChangePasswd,
#save_modif_profil,
#abort_modif_profil {
    position:absolute;
    right: 20px;
    background-color: #dadada;
    color: #384653;
    padding:5px;
}

#modif_profil:hover,
#buttonChangePasswd:hover,
#save_modif_profil:hover,
#abort_modif_profil:hover{
    background-color: #384653;
    color:white;
}

#buttonChangePasswd{
    top: 50px;
}

.selectorCollab{
    position:relative;
    top:0;
    display:inline-block;
    background-color:#384653;
   /* border-radius: 0.5em;*/
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
    /*font-family: myFrutiger;*/
    color:white;
    height:50px;
    vertical-align:middle;
    border:none;
    transition: 0.2s;
    margin-right: 10px;
    margin-bottom: 10px;
}

.collabs{
    padding:10px;
}

.selectorCollab span{
    display: inline-block;
    padding-left: 0.5em;
    padding-right:0.5em;
    padding-bottom:7%;
    margin-top:7%;
    vertical-align:top;
}

.selectorCollab img{
    position:relative;
    top:0;
    left:0;
    height:100%;
}

.selectorCollab:hover{
    top:-0.5em;
    cursor:pointer;
}

.listCollabs{
    display: inline-block;
    margin-right: 5px;
}

/* FOR NOW JUST HARDCODED*/
.collabDelete{
    position: relative;
    bottom: 16px;
    height: 47px;
    left: 7px;
    display:inline-block;
    background-color: red;
    /*font-family: myFrutiger;*/
    color:white;
    vertical-align: middle;
}

.collabDelete:hover{
    cursor:pointer;
}

.collabDelete:hover span{
    transform:scale(1.3,1.3);
    cursor:pointer;
}

#divCorps{
    border: 1px dotted #dadada;
    min-height: 200px;
    width: 90%;
    margin: 0 auto;
    padding: 5px;
}


.tableCommandes{
    width:90%;
    margin-bottom:10px;
}

.tableCommandes td{
    width:33%;
    /*font-family: myFrutiger;*/
    color: #384653;
}

button:disabled{
    background-color:#dadada;
    color: #384653;
}

.boutonModifProjet{
    position:absolute;
    top:0px;
    display:none;
    width:20%;
}

.inputTitreText{
    font-size : large;
    margin-bottom : 5px;
}



#modif_photo_profil,#modif_photo_couverture{
    opacity: 0;
    position: absolute;
}