*{
    font-family: "Roboto", sans-serif;
    font-weight: normal;
}

html{
    background-color: #0C151C;
}

body{
    padding-bottom: 200px;
    font-size: 15px;
    color: #FFF;
    max-width: 1256px;
    margin: auto;
    background-color: #0c151c;
}

header {
    background: url("/images/header.jpg") center no-repeat;
}

header > h1 > img {
    float: left;
}

header > h1 {
    text-align: center;
    line-height: 150px;
    margin: 0;
    padding: 0 20px;
    font-size: 25pt;
}

main {
    padding: 30px 0;
}

.section, .ensemble_div{
    margin-bottom:30px;
}

.section > h2 {
    background-image: url("/images/header_title.jpg");
    background-size: 100%;
    background-position: center;
    padding: 15px 50px;
    margin-bottom: 0;
}

.section > h2 + div {
    border: 3px #FFF solid;
    padding: 30px;
    background-color: #434243;
}

.sectioncourriel {
    text-align: center;
    width: 60%;
    margin: auto;
    background-color: #434243;
    padding: 25px;
}

.sectioncourriel > p {
    margin-bottom: 10px;
}

a{
    cursor:pointer;
    color:black;
    text-decoration:none;
}

.tools{
    position:fixed;
    right:20px;
    width:0px;
    height:48px;
    line-height:48px;
    padding:10px;
    padding-left:58px;
    background-repeat:no-repeat;
    background-position:10px 10px;
    background-color:#EEE;
    overflow:hidden;
    font-size:1.5em;
    transition: all 0.4s;
}
.tools span{
    margin-left:10px;
}
.tools:hover{
    background-color: #E8D898;
}
#clear_session:hover {
    width: 300px;
}
#save_session:hover {
    width: 340px;
}
#bouton_retour:hover {
    width: 100px;
}
#clear_session{
    background-image:url("/images/clear_session.png");
    top:20px;
}
#save_session{
    background-image:url("/images/save_session.png");
    top:98px;
}
#bouton_retour{
    background-image:url("/images/retour.png");
    display:none;
    top:176px;
}

input, textarea{
    font-size:1em;
}

input[type="button"] {
    padding-top:4px;
    padding-bottom:4px;
    padding-left:12px;
    padding-right:12px;
    margin-top:10px;
    background-color: #EEE;
    transition: all 0.3s;
    border: none;
    font-size: 14pt;
    cursor: pointer;
}

.button_box{
    text-align:center;
}

.icone{
    color: #000;
    width: calc(20% - 4% - 20px);
    background-color: lightgray;
    margin: 20px 1.5% !important;
    text-align: center;
    padding: 10px;
    padding-left: 60px;
    background-repeat: no-repeat;
    background-position: 10px center;
    height: 70px;
    vertical-align: top;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s;
    border: double black 3px;
}

.iconephoto {
    background-color: #EEE;
    margin: 20px 2% !important;
    display: inline-block;
    vertical-align: bottom;
    transition: all 0.3s;
    padding: 5px;
    cursor: pointer;
    position: relative;
}

.iconephoto > span {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    bottom: 10px;
}

.iconephoto > span::before,
.iconephoto > span::after {
    color: transparent;
    transition: color 0.3s;
}

.iconephoto > span::before {
    content: "- ";
}

.iconephoto > span::after {
    content: " -";
}

input.coul_photo:checked + label > span::before,
input.coul_photo:checked + label > span::after {
    color: #FFF;
}

.pose{
    width:19%;
    background-color:#EEE;
    margin:5px;
    float:left;
    text-align:center;
    padding-bottom:5px;
    margin-left:3%;
    margin-right:3%;
    cursor:pointer;
    font-size: 21px;
    transition: all 0.3s;
}
.pose img{
    width:80%;
    margin:10px 10%;
}

.posegr{
    width:44%;
    background-color:#EEE;
    margin:5px;
    float:left;
    text-align:center;
    padding-bottom:5px;
    margin-left:3%;
    margin-right:3%;
    font-size: 21px;
    cursor: pointer;
    transition: all 0.3s;
}
.posegr img{
    width:80%;
    margin:10px 10%;
}

.icone.cat_ind{ background-image:url("/images/photo.png"); }
.icone.cat_ens{ background-image:url("/images/photos.png"); }
.icone.cat_cd{ background-image:url("/images/CD.png"); }
.icone.cat_mail{ background-image:url("/images/email.png"); }
.icone.cat_cal{ background-image:url("/images/cat_cal.png"); }
.icone.cat_grp{ background-image:url("/images/cat_grp.png"); }
.icone.cat_cop{ background-image:url("/images/cat_cop.png"); }
.icone.cat_ret{ background-image:url("/images/cat_ret.png"); }

.icone.page_1_10x13{ background-image:url("/images/page_1_10x13.png"); }
.icone.page_1_11x14{ background-image:url("/images/page_1_11x14.png"); }
.icone.page_1_16x20{ background-image:url("/images/page_1_16x20.png"); padding-left:100px; height:100px; }
.icone.page_1_5x7{ background-image:url("/images/page_1_5x7.png"); }
.icone.page_1_5x7_2_2x3_4_1x2{ background-image:url("/images/page_1_5x7_2_2x3_4_1x2.png"); }
.icone.page_1_5x7_2_4x5{ background-image:url("/images/page_1_5x7_2_4x5.png"); }
.icone.page_1_5x7_4_2x3{ background-image:url("/images/page_1_5x7_4_2x3.png"); }
.icone.page_1_8x10{ background-image:url("/images/page_1_8x10.png"); }
.icone.page_16_1x2{ background-image:url("/images/page_16_1x2.png"); }
.icone.page_2_4x5{ background-image:url("/images/page_2_4x5.png"); }
.icone.page_2_4x5_4_2x3{ background-image:url("/images/page_2_4x5_4_2x3.png"); }
.icone.page_2_4x5_8_1x2{ background-image:url("/images/page_2_4x5_8_1x2.png"); }
.icone.page_2_5x7{ background-image:url("/images/page_2_5x7.png"); }
.icone.page_2_8x10{ background-image:url("/images/page_2_8x10.png"); }
.icone.page_4_2x3{ background-image:url("/images/page_4_2x3_2.png"); }
.icone.page_4_4x5{ background-image:url("/images/page_4_4x5.png"); }
.icone.page_8_2x3{ background-image:url("/images/page_8_2x3.png"); }

#categories .icone, #formats .icone{
    cursor:pointer;
}

#categories .icone, #formats .icone{
    cursor:pointer;
}
#categories .icone:hover, #formats .icone:hover, .ensemble:hover .icone, .pose:hover, .posegr:hover, input[type="button"]:hover, .iconephoto:hover, input.coul_photo:checked + label {
    background-color: #00728B;
    color: #FFF;
    border-color: lightgrey;
}

.ensemble {
    width: 95%;
    margin: 5px;
    margin-left: 0.5%;
    margin-right: 0.5%;
    float: left;
    padding: 10px;
    cursor: pointer;
    border: 2px solid white;
    transition: all 0.3s;
}

#copains .ensemble{
    width:66%;
    background-color:#E8E8E8;
    margin:5px;
    margin-left:0.5%;
    margin-right:0.5%;
    float:left;
    padding:10px;
    cursor:pointer;
    border-radius:8px;
    border:2px solid black;
}

.ensemble .icone, .ensemble_div .icone{
    width: 91px;
    font-size: 12pt;
}

.ensemble:hover{
    border-color: #00728B;
    background-color: #555;
}

#categories .icone, #formats .icone{
    margin-left:1.5%;
    margin-right:1.5%;
}

.droite{
    float:right;
}

.remove{
    font-weight:bold;
    color:red;
}

#resume table{
    width:80%;
    margin:auto;
    border-collapse:collapse;
    margin-bottom:30px;
}

#resume td{
    border-bottom:1px solid #666666;
}

#retouches textarea{
    height:50px;
    width:250px;
    vertical-align:top;
}

input[type="text"], select {
    border: 1px white solid;
    color: white;
    background-color: #434243;
    padding: 10px;
    margin: 5px 0;
    transition: background-color 0.3s;
}

#courrielid {
    width: 250px;
    margin: 10px 0;
}

#infopersonnelles label {
    display: inline-block;
}

input[type="text"]:hover, input[type="text"]:focus, select:hover {
    background-color: #555;
}

#ensemble .icone, .ensemble_div .icone {
    width: 100px;
    margin: 10px !important;
    padding: 70px 0 0;
    height: auto;
    background-position: center 10px;
    background-color: transparent;
}

.rdiv {
    background-color: #EEE;
    color: #000;
    margin: 20px 0;
}

.selposediv {
    float: right;
    padding: 10px;
}

.rdiv .coldiv1, .rdiv .coldiv2 {
    display: inline-block;
    vertical-align: top;
}

.rdiv .coldiv1 {
    width: 80%;
}

.rdiv .coldiv2 {
    width: 20%;
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"] + label {
    font-size: 1.2em;
    margin-right: 20px;
    position: relative;
    padding-left: 25px;
}

input[type="checkbox"] + label::before {
    content: "\2713";
    border: 1px solid black;
    background-color: white;
    width: 19px;
    height: 19px;
    position: absolute;
    top: 0;
    left: 0;
    color: transparent;
    font-size: 14pt;
    line-height: 13pt;
    font-weight: bold;
    transition: all 0.2s;
}

input[type="checkbox"]:checked + label::before {
    color: #4D8D1D;
    font-size: 21pt;
}

.checkbox_after_label{
    padding-left:0px !important;
    padding-right: 25px !important;
}
.checkbox_after_label::before{
    left: auto !important;
    right: 0px !important;
}

.select_pose {
    font-size: 13pt;
}

strong {
    font-weight: bold !important;
}

#retouches input[type="radio"] {
    display: none;
}

#retouches input[type="radio"] + label {
    position: relative;
    padding-left: 25px;
    margin: 0 10px;
}

#retouches input[type="radio"] + label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: #EEE;
}

#retouches input[type="radio"] + label::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 100%;
    background-color: #4D8D1D;
    opacity: 0;
    transition: all 0.2s;
}

#retouches input[type="radio"]:checked + label::after {
    opacity: 1;
}

.resume_note {
    background-color: #EEE;
    color: #000;
    max-width: 700px;
    margin: 30px auto 10px;
    padding: 30px;
    text-align: center;
    text-transform: uppercase;
    border: double black 3px;
}

#confirm-comm button,
#resume_table button {
    background-color: #d3d3d3;
    border: 1px double black;
    padding: 8px 10px;
    transition: all 0.3s;
    cursor: pointer;
}

#resume_table button::before {
    content: "";
    height: 17px;
    width: 17px;
    background-image: url("/images/corbeille.png");
    background-size: auto 17px;
    display: inline-block;
    margin-right: 3px;
    vertical-align: middle;
}

#confirm-comm button:hover,
#resume_table button:hover {
    background-color: #00728B;
    border-color: lightgray;
    color: white;
}

#confirm-comm {
    display: none;
    padding: 35px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #434243;
    box-sizing: border-box;
    overflow-y: scroll;
}

#confirm-comm button {
    margin-bottom: 35px;
}

#confirm-comm h2 {
    margin-top: 0;
    margin-bottom: 35px;
}

#confirm-comm .cc-pose {
    margin-bottom: 40px;
}

#confirm-comm .cc-pose-titre {
    font-size: 2em;
    border-top: 1px solid white;
    border-bottom: 1px dotted white;
    margin-bottom: 15px;
}

#confirm-comm .cc-pose-cont {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#confirm-comm .cc-pose-cont .cc-pose-img {
    width: 200px;
}

#confirm-comm .cc-pose-cont .cc-pose-txt {
    width: calc(100% - 200px);
}

#confirm-comm .cc-pose-cont .cc-pose-img img {
    width: 180px;
    height: auto;
}
