/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/

/* Custom Stylesheet */
/**
 * Use this file to override Materialize files so you can update
 * the core Materialize files in the future
 *
 * Made By MaterializeCSS.com
 */

/* Font faces. */

@font-face {
    font-family: "BergoniaDB Normal";
    src: url('../fonts/BergoniaDB.ttf');
}

@font-face {
    font-family: "Beauty Initials";
    src: url('../fonts/Beauty Initials.ttf');
}

/* Materialize. */

.icon-block {
    padding: 0 15px;
}

.icon-block .material-icons {
    font-size: inherit;
}

/* Generals. */

body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 100vh;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;

    font-family: "BergoniaDB Normal", "Times New Roman", Times, serif;
    color: #222222;
}

main {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}

h1 {
    font-family: 'Uncial Antiqua', cursive;
    font-size: 2.4rem;
}

h2 {
    font-size: 2.0rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.6rem;
}

h5 {
    font-size: 1.4rem;
}

h6 {
    font-size: 1.2rem;
}

nav .brand-logo {
    font-family: 'Uncial Antiqua', cursive;
    color: initial;
}

nav ul a {
    color: initial;
}

blockquote {
    border-color: #ffe0b2;
    border-radius: 5px;
    font-style: oblique;
    margin: 20px 20px;
}

q {
    font-style: italic;
    quotes : "« " " »" '"' '"';
}

/* Progress bars. */

.progress {
    background-color: #ffe0b2;
}

#progressColor1 {
    background-color: #e65100;
}

#progressColor2 {
    background-color: #f57c00;
}

#progressColor3 {
    background-color: #ff9800;
}

#progressColor4 {
    background-color: #ffb74d /*#99CC99*/;
}

/* Access control list. */
/* Use "Information classée secrète" color */

.acl-b {
    color: #66bb6a;
}

.acl-a {
    color: #3366FF;
}

.acl-s {
    color: #FF6600;
}

.acl-z {
    color: #FF0022;
}

.divider {
    margin-left: 20px;
    margin-right: 20px;
}

.row {
    margin-bottom: 5px;
}

.page-footer {
    padding-top: 5px;
    padding-bottom: 5px;
    color: initial;
}

/* Post-it. */

.postit {
    line-height: 1;
    text-align: center;
    width: 275px;
    margin: 25px;
    /*min-height: 250px;*/
    max-height: 250px;
    padding-top: 10px;
    padding-bottom: 10px;
    /*padding-top: 35px;*/
    position: absolute;
    right: 0;
    border: 1px solid #E8E8E8;
    border-top: /*60px*/ 5px solid #fdfd86;
    font-family: 'Reenie Beanie', cursive;
    font-size: 22px;
    border-bottom-right-radius: /*60px*/5px 5px;
    display:inline-block;
    background: #ffff88; /* Old browsers */ /* FF3.6+ */ /* Chrome,Safari4+ */ /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%); /* Opera 11.10+ */ /* IE10+ */
    background: -o-linear-gradient(315deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%);
    background: linear-gradient(135deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffff88', endColorstr='#ffffc6',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.postit:after {
    content: "";
    position: absolute;
    z-index:-1;
    right:-0px;
    bottom: 20px;
    width: 200px;
    height: 25px;
    background: rgba(0, 0, 0, 0.2);
    -webkit-box-shadow:2px 15px 5px rgba(0, 0, 0, 0.40);
    box-shadow:2px 15px 5px rgba(0, 0, 0, 0.40);
    -webkit-transform: matrix(-1, -0.1, 0, 1, 0, 0);
    -ms-transform: matrix(-1, -0.1, 0, 1, 0, 0);
    transform: matrix(-1, -0.1, 0, 1, 0, 0);
}

/* Pages. */

/*
a {
    color: #039be5;
    color: #1088b7;
    color: #002bb8;
    color: #337ab7;
    color: #0645ad;
    color: #36b;
}
*/

.page-a {
    color: #0645ad;
}

.page-a-non-existent {
    color: #ba0000;
}

.page-a:hover, .page-a-non-existent:hover {
    text-decoration: underline;
}

.page-p {
    text-indent: 2em;
    text-align: justify;
    text-justify: inter-word;
}

.row > p.page-p:first-of-type .page-p-first-word, .small-caps {
    font-variant: small-caps;
}

p.page-p:first-of-type {
    text-indent: 0;
}

.row > p.page-p:first-of-type:first-letter {
    float:left;
    font-size: 6em;
    padding-right: 0.05em;
    font-family: "Beauty Initials", "BergoniaDB Normal", "Times New Roman", Times, serif;
}

.external-link {
    text-indent: 0;
}

.shape {
    shape-image-threshold: 0.5;
    float: left;
}

.shape-circle {
    shape-outside: border-box;
    border-radius: 50%;
    -webkit-clip-path: circle(50%);
    float: left;
}

ul:not(.browser-default) > li.uList {
    list-style-type: disc;
}

li > ul {
    margin-left: 25px;
}

/* Media queries. */

@media only screen and (max-width: 992px) {
    .postit {
        position: relative;
    }

    #title-logo {
        display: none !important;
    }
}