/* ---------------------------- */
/*         HOME PAGE            */
/* ---------------------------- */

p.home-slogan {
    margin-top: 1em;
    margin-left: 0%;
    margin-right: 0%;
    font-size: 140%;
    font-weight: 400;
    color: #555753;
    text-align: center;
    font-style: italic;
}

div.background-break {
    width: 150%;
    background-color: #eeeeec;
    margin-left: -25%;
    margin-right: -25%;
    margin-top: 1em;
    height: 3em;
}

p.blob-title {
    font-size: 140%;
    color: #555753;
    margin-top: 0em;
    padding-top: 0.5em;
    margin-bottom: 0em;
    padding-bottom: 0em;
}

ul.action-list {
    margin-top: 0em;
    padding-top: 0em;
    margin-bottom: 0em;
    padding-bottom: 1em;
    color: #555753;
    list-style-type: none;
}

ul.action-list > li {
    padding-top: 0.5em;
}

ul.action-list > li > i:first-child {
    color: #888a85;
    margin-right: 0.6em;
}

ul.action-list > li > a:last-child {
    margin-top: 0em;
    margin-bottom: 0em;
    padding-top: 0.1em;
    padding-bottom: 0.1em;
    float: right;
}

ul.action-list > li > a:last-child > i {
    padding-right: 0.51em;
}

p.home-different {
    margin-top: 1em;
    margin-left: 0%;
    margin-right: 0%;
    font-size: 140%;
    font-weight: 300;
    color: #555753;
    text-align: left;
}

p.home-big-bullet {
    margin: 0em;
    margin-right: 1em;
    margin-bottom: 3em;
    padding: 0em;
    float: left;
}

p.home-big-text {
    margin: 0em;
    padding: 0em;
    font-size: 125%;
    font-weight: 400;
    color: #729fcf;
}

p.home-big-bullet > i:first-child {
    color: #ffffff;
    background: #729fcf;
    border-color: #729fcf;
    border-width: 1px;
    border-style: solid;
    border-radius: 50%;
    vertical-align: middle;
    padding-top: 0.65em;
    padding-bottom: 0.65em;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

ul.home-starred {
    list-style-type: none;
    margin: 0em;
    margin-left: 4.5em;
    padding: 0em;
    text-align: left;
}

p.home-starred {
    margin: 0em;
    padding: 0em;
    color: #888a85;
    text-align: left;
}

p.home-starred > i:first-child {
    color: #729fcf;
    padding-right: 0.4em;
}

/* ---------------------------- */
/*      RELEASE NOTES           */
/* ---------------------------- */

ol.release-notes > li {
    margin-bottom: 1em;
}

/* ---------------------------- */
/*      POPUP NOTES             */
/* ---------------------------- */

button.popup-note {
    border: none;
    position: relative;
    top: -0.3em;
    padding: 0;
    font-size: 18px;
    color: #2c34a0;
    background-color: transparent;
}

button.popup-note:hover {
    color: #ff6600;
}

button.popup-note:focus {
    color: #ff6600;
}

div.popup-note {
    display: none;
    position: absolute;
    bottom: 2em;
    right: -8em;
    width: 20em;
    text-align: left;
    padding: 0.5em;
    border: 0.05em solid white;
    font-size: 16px;
    font-weight: 400;
    color: white;
    background-color: #729fcf;
    z-index: 3;
}

div.popup-note > p:first-child {
    margin-top: 0;
}

div.popup-note > p {
    margin-bottom: 0;
}

/* Copied from font-awesome/css/all.css to avoid putting font-awesome classes on
   each popup-note button and to avoid changing the font of the html button text
*/
button.popup-note::before {
    /* Use !important to stop browser extensions that change fonts */
    font-family: 'Font Awesome 5 Free' !important;
    speak: none;
    font-style: normal;
    font-weight: 900;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button.popup-note + span {
    position: relative;
}

/* ---------------------------- */
/*      FORM WITH BORDER        */
/* ---------------------------- */
form {
    border: 3px solid #f1f1f1;
    width: 100%;
    max-width: 30em;
}
/* Avatar image inside form */
.imgcontainer {
    text-align: center;
    margin: 1.5em 0em 0.5em 0em;
}
img.avatar {
    width: 40%;
    border-radius: 50%;
    border: 3px solid #f1f1f1;
}
.container {
    padding: 1em;
}

/* ---------------------------- */
/*         INPUT FIELDS         */
/* ---------------------------- */
input[type='text'],
input[type='password'],
input[type='email'],
input[type='name'] {
    font-family: 'PT Mono';
    font-size: 100%;
    font-weight: 400;
    color: #3465a4;
    width: 65%;
    padding: 0.5em 1.5em;
    margin: 0.5em 0em;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

label {
    font-size: 100%;
}

/* The "Forgot password" text */
span.psw {
    float: right;
    padding-top: 16px;
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }
    .cancelbtn {
        width: 100%;
    }
}

/* ---------------------------- */
/*         ADMIN TABLE          */
/* ---------------------------- */
div.account-table table {
    width: 100%;
}

div.account-table table div.user-details textarea {
    width: 100%;
    height: 3em;
}

/* ---------------------------- */
/*        GENERAL BUTTON        */
/* ---------------------------- */
.button {
    margin: 1em;
    padding: 0.5em;
    color: #555753;
    background-color: #fefefe;
    border-color: #d2d2d1;
    border-style: solid;
    border-bottom-color: #b0b0b0;
    border-right-color: #b0b0b0;
    border-width: 1px;
    border-radius: 5px;

    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 100%;
    cursor: pointer;
}
.button:hover {
    background-color: #fffbe3;
}
.button:active {
    background-color: #d5e1f0;
}

/* ---------------------------- */
/*         BLUE BUTTON          */
/* ---------------------------- */
.bluebtn {
    background-color: #729fcf;
    color: #ffffff;
    font-weight: bold;
    font-size: 100%;
}
.bluebtn:hover {
    background-color: #4379c2;
}
.bluebtn:active {
    background-color: #3465a4;
}

.lightbluebtn {
    background-color: #b1cae4;
    color: #ffffff;
    font-weight: bold;
    font-size: 100%;
}
.lightbluebtn:hover {
    background-color: #729fcf;
}
.lightbluebtn:active {
    background-color: #4379c2;
}

/* ---------------------------- */
/*        GREEN BUTTON          */
/* ---------------------------- */
.greenbtn {
    background-color: #4e9a06;
    color: #ffffff;
    font-size: 100%;
}
.greenbtn:hover {
    background-color: #58ae07;
}
.greenbtn:active {
    background-color: #428205;
}

/* ---------------------------- */
/*          RED BUTTON          */
/* ---------------------------- */
.redbtn {
    background-color: #f44336;
    color: #ffffff;
    font-size: 100%;
}
.redbtn:hover {
    background-color: #cc0000;
}
.redbtn:active {
    background-color: #a40000;
}
.redbtn:disabled {
    background-color: #999;
}

/* ---------------------------- */
/*         DARK BUTTON          */
/* ---------------------------- */
.darkbtn {
    background-color: #444444;
    color: #ffffff;
    border-color: #00000000;
    font-weight: bold;
    font-size: 100%;
}
.darkbtn:hover {
    background-color: #333333;
    border-color: #00000000;
}
.darkbtn:active {
    background-color: #2e3436;
    border-color: #00000000;
}

/* ---------------------------- */
/*       SPECIAL BUTTONS        */
/* ---------------------------- */
.thin {
    margin-top: 0em;
    margin-bottom: 0em;
    padding-top: 0em;
    padding-bottom: 0em;
}

/* ---------------------------- */
/*       MENU OVERRIDES         */
/* ---------------------------- */
#menu.embeetle-menu {
    width: 20em;
}
body.embeetle #canvas.menu-sidebar,
body.embeetle #debug {
    padding-left: 20em;
}
body.embeetle #menu-header {
    padding-left: 21em;
}

/* ---------------------------- */
/*       MISCELLANEOUS          */
/* ---------------------------- */

.nav-pencil {
    width: 6em;
}

.codeBx {
    font-family: Inconsolata, monospace;
    background-color: #fafafa;
    border: 1px solid lightgrey;
    border-radius: 2px;
    padding: 2px;
    margin: 0px;
}

.code {
    font-family: Inconsolata, monospace;
}

pre {
    counter-reset: line;
    font-family: Inconsolata, monospace;
    font-weight: normal;
    background-color: #fafafa;
    border: 1px solid lightgrey;
    border-radius: 2px;
    padding: 2px;
    margin: 0px;
    /*min-width: 75% !important; */
}

code {
    counter-increment: line;
    font-family: Inconsolata, monospace;
    font-weight: normal;
}
code:before {
    content: counter(line);
    display: inline-block;
    width: 2em; /* Fixed width */
    border-right: 1px solid #ddd;
    padding: 0 0.5em;
    margin-right: 0.5em;
    color: #888;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

pre.txt,
pre.pre {
    font-family: Inconsolata, monospace;
    background-color: inherit;
    border: none;
    font-size: 85%;
    /*overflow-x: auto;  Vertical scrolling becomes very slow! */
}

pre.console {
    /* border: 1px solid #888a85; */
    border: none;
    padding: 0.5em 1em 0.5em 1em;
    color: #ffffff;
    background: #000000;
}

.highl_green {
    background: #c3f4b2;
    margin-bottom: -1.5em;
    padding-bottom: 0px;
}

.highl_green {
    background: #c3f4b2;
    margin-bottom: -1.5em;
    padding-bottom: 0px;
}

/* .def {                         */
/*     border: 1px solid black;   */
/*     border-radius: 0.5em;      */
/*     background-color: #fff8cc; */
/*     padding-left:1em;          */
/*     padding-right:1em;         */
/*     padding-top:0.5em;         */
/*     padding-bottom:0.5em;      */
/*     margin: 0px 0px 0px 0px;   */
/*     max-width:500px;           */
/*     text-align:left;           */
/* }                              */

.def {
    border: 1px solid #c4a000;
    border-radius: 5px;
    background-color: #fefcf1;
    margin-left: 2em;
    margin-right: 2em;
    padding-left: 2em;
    padding-right: 2em;
    text-align: justify;
}

.blockquote {
    page-break-inside: avoid;
    color: #888a85;
    background-color: #ffffff;

    padding-left: 1em;
    padding-right: 2em;
    padding-bottom: 1em;
    padding-top: 1em;

    margin-left: 4em;
    margin-right: 4em;
    margin-bottom: 1em;
    margin-top: 1em;

    border-left: 0.5em solid #eee;
}

/* YELLOW */
.lightyellow {
    color: #fce94f;
}
.yellow {
    color: #edd400;
}
.darkyellow {
    color: #c4a000;
}

/* ORANGE */
.lightorange {
    color: #fcaf3e;
}
.orange {
    color: #f57900;
}
.darkorange {
    color: #ce5c00;
}

/* BROWN */
.lightbrown {
    color: #e9b96e;
}
.brown {
    color: #c17d11;
}
.darkbrown {
    color: #8f5902;
}

/* GREEN */
.lightgreen {
    color: #8ae234;
}
.green {
    color: #73d216;
}
.darkgreen {
    color: #4e9a06;
}

/* BLUE */
.lightblue {
    color: #729fcf;
}
.blue {
    color: #3465a4;
}
.darkblue {
    color: #204a87;
}

/* PURPLE */
.lightpurple {
    color: #ad7fa8;
}
.purple {
    color: #75507b;
}
.darkpurple {
    color: #5c3566;
}
.cpurple {
    color: #800080;
}

/* RED */
.lightred {
    color: #ef2929;
}
.red {
    color: #cc0000;
}
.darkred {
    color: #a40000;
}

/* ALUMINUM */
.lightalu {
    color: #eeeeec;
}
.alu {
    color: #d3d7cf;
}
.darkalu {
    color: #babdb6;
}

/* GREY */
.lightgrey {
    color: #888a85;
}
.grey {
    color: #555753;
}
.darkgrey {
    color: #2e3436;
}

/* GRAY */
.lightgray {
    color: #888a85;
}
.gray {
    color: #555753;
}
.darkgray {
    color: #2e3436;
}

/* ------------------------------------------------- */
/*            C-CODE SYNTAX HIGHLIGHTING             */
/* ------------------------------------------------- */
/* COMMENT */
.cmt {
    color: #008018;
}

/* INCLUDE */
.incl {
    color: #b009d7;
}

/* INCLUDED FILE */
.incl_f {
    color: #a20e17;
}

/* STRING */
.str {
    color: #a20e17;
}

/* SPECIAL CHARACTER */
.s_char {
    color: #cc0000;
}

/* TYPE */
.type {
    color: #2718fb;
}

/* IDENTIFIER */
.id {
    color: #0e147e;
}

/* NUMBER */
.num {
    color: #0b865b;
}

/* FUNCTION */
.func {
    color: #c4a000;
}

/* STRUCT */
.struct {
    color: #3b9f84;
}
.member {
    color: #4e9a06;
}

/* PARAMETER */
.par {
    color: #808000;
}

/* RETURN, BREAK, CONTINUE KEYWORDS */
.ret {
    color: #b009d7;
}

/* CONST KEYWORD */
.const {
    color: #cc0000;
}

/* EXTERN KEYWORD */
.ext {
    color: #b009d7;
}

/* TYPEDEF KEYWORD */
.tdef {
    color: #b009d7;
}

/* VOLATILE KEYWORD */
.vol {
    color: #b009d7;
}

/* VOID KEYWORD */
.void {
    color: #2718fb;
}

/* STATIC, AUTO, ... KEYWORDS */
.stat {
    color: #b009d7;
}

/* IF, ELSE, LOOP KEYWORDS */
.if {
    color: #b009d7;
}

/* ---------------------------- */
/*            BASIC             */
/* ---------------------------- */

p {
    text-align: justify;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6em;
    text-rendering: optimizeLegibility;
    color: #4f4f52;
    background-color: #ffffff;
    margin: 0;
    border: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
}

.text-block {
    background-color: #ffffff;
    max-width: 43em;
    min-width: 18em;
    margin: auto;
    padding-left: 7%;
    padding-right: 7%;
    padding-top: 0;
    padding-bottom: 2em;
    margin-bottom: 3em;
}

h1 {
    text-align: center;
    font-size: 200%;
    font-weight: 400;
    color: #555753;
    line-height: 1.4em;
    padding-top: 1em;
    margin-bottom: 0.5em;
}

h2 {
    text-align: left;
    vertical-align: middle;
    font-size: 150%;
    font-weight: 400;
    background-color: #e8e9e5;
    color: #555753;
    line-height: 1.4em;
    margin-top: 1em;
    margin-bottom: 0em;
    padding-top: 0em;
    padding-bottom: 0em;
    padding-left: 0.5em;
}

h3 {
    text-align: left;
    vertical-align: middle;
    font-size: 125%;
    font-weight: 300;
    background-color: #eeeeec;
    color: #555753;
    display: inline;
    line-height: 1.4em;
    margin-top: 1em;
    margin-bottom: 0em;
    padding-top: 0em;
    padding-bottom: 0em;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

h4 {
    text-align: left;
    vertical-align: middle;
    font-size: 100%;
    font-weight: 700;
    background-color: #ffffff;
    color: #555753;
    display: inline;
    line-height: 1em !important;
    margin-top: 1.5em !important;
    margin-bottom: 0em !important;
    padding-top: 0em !important;
    padding-bottom: 0em !important;
    padding-left: 0em !important;
    padding-right: 0em !important;
}
h4:after {
    content: ' ';
    display: block;
    border-top: 1.5px solid #d0d0d0;
    padding-bottom: 0em !important;
    margin-bottom: 0em !important;
}

div.warning-box {
    max-width: 30em;
    background-color: #edd400;
    padding-top: 0.1em;
    padding-bottom: 0.1em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    margin: 0 auto;
    border: 0.2em solid #c17d11;
}

ul.dashed {
    list-style-type: none;
}
ul.dashed > li:before {
    content: '- ';
    text-indent: -1em;
}

/* ---------------------------- */
/*       FIGURE ZOOM IN         */
/* ---------------------------- */
.zoomIn figure img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}
.zoomIn figure:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.zoom img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}
.zoom:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.superzoom img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}
.superzoom :hover img {
    -webkit-transform: scale(1.6);
    transform: scale(1.6);
}

/* ---------------------------- */
/*          ICON IMAGE          */
/* ---------------------------- */

img.iconimg {
    width: 1.2em;
    padding: 0em;
    margin: 0em;
    vertical-align: middle;
    display: inline;
}

img.iconbtn {
    width: 1.3em;
    padding: 0.05em;
    margin: 0em;
    vertical-align: top;
    display: inline;
    border-color: #d2d2d1;
    border-style: solid;
    border-bottom-color: #b0b0b0;
    border-right-color: #b0b0b0;
    border-width: 1px;
    border-radius: 10%;
}

.icon-linux {
    margin-left: 0.2em;
}

.icon-windows {
    margin-left: 0.3em;
}

/* -------------------------------------------------------- */
/*             C L A S S    V I S I B I L I T Y             */
/* -------------------------------------------------------- */

[class*='-on '],
[class$='-on'] {
    display: none;
}

/* -------------------------------------------------------- */
/*            A N A L Y T I C S                             */
/* -------------------------------------------------------- */
.visit-list,
.page-list {
    overflow-y: auto;
    border: 0.1em solid black;
    line-height: 1.2em;
    background-color: #eeeeec;
    margin: 3%;
    padding-left: 0.5em;
}

.visit-list > table > tr:hover {
    background-color: white;
}

.page-list > table > tr > td:nth-child(1) {
    text-align: right;
}

.session-details p {
    margin: 0;
}

#container {
    position: relative;
    width: 200px;
    height: 200px;
}
#main_image {
    width: 100%;
    height: 100%;
}
#overlay_image {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
}
