/*!
 * Author  : Antony RAVENACH - FREELANCE WEB - www.widea.fr
 * Version : 1.2 (20/03/17)
 */

/*
 * TABLE OF CONTENTS
 *
 * 01 - Fonts
 * 02 - Global
 * 03 - Pages
 * 04 - Media Queries
 *
 */

/* ----------------------------------- */
/*  01 - Fonts                         */
/* ----------------------------------- */
@font-face {
    font-family: 'mailing';
    src:    url('../fonts/mailing.eot?vzoyfs');
    src:    url('../fonts/mailing.eot?vzoyfs#iefix') format('embedded-opentype'),
        url('../fonts/mailing.ttf?vzoyfs') format('truetype'),
        url('../fonts/mailing.woff?vzoyfs') format('woff'),
        url('../fonts/mailing.svg?vzoyfs#mailing') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'mailing' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: middle;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-pencil:before {
    content: "\e900";
}
.icon-file-text2:before {
    content: "\e901";
}
.icon-database:before {
    content: "\e902";
}
.icon-download2:before {
    content: "\e903";
}
.icon-download3:before {
    content: "\e904";
}
.icon-eye:before {
    content: "\e905";
}


/* ----------------------------------- */
/*  02 - Global                        */
/* ----------------------------------- */
html {
    font-size: 62.5%;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    width: 100%;
    height: 100%;
}
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.3rem;
    line-height: 150%;
    color: #212121;
    background-color: #f5f7f8;
    *zoom: 1;
    width: 100%;
    height: 100%;
}
*, *:after, *:before {
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: #212121;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    outline: none;
}
    a:hover, .selected {
        color: #d55113;
    }
    .selected {
        font-weight: 600;
    }
p {
    margin: 1rem 0 0 0;
}

header {
    height: 58px;
    width: 100%;
    background-color: #FCFCFC;
    display: table;
    vertical-align: middle;
    position: fixed;
    z-index: 1000;
    /* padding-left: 160px; */
    padding: 10px 20px 10px 180px;
    /*    border-bottom: 1px solid #edf0f5;*/
}
.header-wrapper {
    max-width: 1080px;
}

main {
    display: table;
    width: 100%;
    height: 100%;
    max-width: 1280px;
}
aside {
    font-size: 1.2rem;
    width: 160px;
    height: 100%;
    vertical-align: top;
    display: table-cell;
    background-color: #30353e;
    position: fixed;
    z-index: 4000;
}
    aside nav a {
        color: #aeb2b7;
        text-align: center;
        display: block;
        padding: 10px;
        border-bottom: 1px solid #393e48;
        position: relative;
    }
    aside nav a:first-child {
        border-top: 1px solid #393e48;
    }
    aside nav a:hover {
        background-color: #393e48;
        color: #CCC;
    }
    aside nav a.selected {
        background-color: #22262d;
        color: #28b8f7;
    }
    aside nav a.selected:after {
        content: '';
        display: block;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 9px;
        border-color: transparent #f5f7f8 transparent transparent;
        position: absolute;
        right: 0;
        top: 15px
    }
    aside nav a.apercu {
        font-size: 1.3rem;
        width: 100px;
        font-weight: 600;
        border: 2px solid #FFF;
        background-color: #FFF;
        color: #30353e;
        text-transform: uppercase;
        margin: 0 auto;
        margin-top: 30px;
        padding: 6px 0;
    }
    aside nav a:hover.apercu {
        border: 2px solid #FFF;
        background-color: #30353e;
        color: #FFF;
    }
aside img:hover {
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    opacity: 0.65;
}
#main-container {
    padding-left: 160px;
    padding-top: 59px;
    position: relative;
    width: 100%;
/*    display: table-cell;*/
}
#copyright {
    bottom: 0;
    position: absolute;
    color: #FFF;
    width: 100%;
    text-align: center;
    padding: 20px;
    font-size: 1rem;
    line-height: 100%;
}

.btn, #msg {
    border-radius: 3px;
    background-color: #26b1c1;
    color: #FFF;
    text-transform: uppercase;
    height: 38px;
    line-height: 38px;
    padding: 0 24px;
    display: inline-block;
    text-align: center;
    font-weight: 600;
}
    .btn:hover {
        color: #FFF;
        background-color: #26b1c1;
    }
    #msg {
        background-color: #62cb31;
        float: right;
    }
.msg {
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}
.error {
    background-color: #d55113;
    color: #FFF;
}

/* ----------------------------------- */
/*  03 - Pages                         */
/* ----------------------------------- */
.container {
    overflow: hidden;
    padding: 20px;
}
.content {
    background-color: #FFF;
    padding: 12px;
    margin-bottom: 20px;
}
table {
    width: 100%;
}

.title {
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #212121;
    line-height: 100%;
    background-color: #f0f0f0;
    padding: 10px 12px;
    border-bottom: 1px solid #FFF;
    position: relative;
}
.collapse-button {
    cursor: pointer;
    position: absolute;
    font-size: 24px;
    line-height: 100%;
    font-weight: 300;
    z-index: 100;
    right: 0;
    top: 0;
    background-color: #aeb2b7;
    color: #FFF;
    padding: 4px 0;
    height: 35px;
    width: 35px;
    text-align: center;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}
.collapse-button:hover {
    background-color: #8c94a4;
}
.date-article {
    padding: 10px 0 2px 0;
    font-weight: 600;
    color: #d55113;
}
.date-article:first-child {
    padding-top: 0;
}
.article {
    padding: 0 0 4px 28px;
    color: #8c94a4;
}
    .article:last-child {
        padding-bottom: 0;
    }
    .article a {
        color: #212121;
    }
.source {
    font-size: 1.2rem;
    color:  #8c94a4;
    padding-left: 6px;
}

#revisions {
    display: none;
}


/* Form */
form {
    overflow: hidden;
}
input, textarea {
    font-size: 1.3rem;
    line-height: 100%;
    padding: 10px 12px;
    border: 0;
    display: block;
    outline: none;
    width: 100%;
    margin-bottom: 20px;
    background-color: #FFF;
    border-radius: 3px;
    border: 1px solid #FFF;
}

input[type=file] {
    font-size: 1.2rem;
    width: 460px;
    float: left;
    border-radius: 3px 0 0 3px;
    border-right: 0;
}
input[type=submit] {
    font-size: 1.4rem;
    font-weight: 600;
    width: 140px;
    padding: 14px 0;
    color: #FFF;
    background-color: #28b8f7;
    float: left;
    border: 0;
    border-radius: 0 3px 3px 0;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}
    input[type=submit]:hover {
        background-color: #26B1C1;
    }



label {
    display: block;
    font-size: 1.2rem;
    line-height: 100%;
    color: #aeb2b7;
    padding: 0 0 5px 0;
}



#info {
    display: none;
    overflow: hidden;
    margin-bottom: 20px;
    line-height: 130%;
    padding: 12px 14px;
    border-radius: 3px;
    border: 1px solid #26B1C1;
    background-color: rgba(38, 177, 193, .10);
}

/*
button {
    outline: none;
    border-radius: 3px;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    text-transform: uppercase;
    font-weight: 600;
}
    button:hover {
        background-color: #26B1C1;
    }
*/


/*
#upload {
    width: 140px;
    color: #FFF;
    background-color: #26B1C1;
    float: left;
    border: 0;
    border-radius: 0 3px 3px 0;
    vertical-align: middle;
    color: #FFF;
    border: none;
    outline: none;
    font-size: 1.3rem;
    line-height: 100%;
    height: 42px;
}
*/


/* Table */
#archives td {
    padding: 5px 0;
}
#archives tbody tr:nth-child(even) {
    background-color: #efefef;
}
#archives tbody tr:hover {
    background-color: #aeb2b7;
}
.nl-courante {
    background-color: #62cb31;
}

/* Aperçu */
#destinataire-apercu aside, #destinataire-apercu header, #destinataire-apercu time {
    display: none;
}
#destinataire-apercu main, #destinataire-apercu #main-container {
    padding: 0;
    margin: 0 auto;
    width: 650px;
}
#destinataire-apercu main {
    width: 650px;
}

