html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 18rem;  /* MainFooter.height + desired margin */
}

.MainHeader {
    background-color: #f5f5f5;
}

.MainFooter {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 14rem;
    /*line-height: 14rem;*/
    background-color: #f5f5f5;
    color: #343a40;
}


.Inconsolata {
    font-family: 'Inconsolata';
}

.MainContent {
    /*margin-top: 3rem;*/
}


.MainContent h1 {
    margin-top: 3rem;
    margin-bottom: 1rem;
}


.gravatarImage {
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.gravatarImageSmall {
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* =========================== */
/*  Ajax calls animation       */
/* CSS loading spinner with a semi-transparent background          */
/* =========================== */

#loading-background {
    position:fixed;
    /*    width:100%; */
    left:-160px;right:0;top:-160px;bottom:0;        /* 160px is the size of the spinner */
    background-color: rgba(255,255,255,0.7);
    z-index:9999;
    display:none;
}

@-webkit-keyframes spin {
    from {-webkit-transform:rotate(0deg);}
    to {-webkit-transform:rotate(360deg);}
}

@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

#loading-background::after {
    content:'';
    display:block;
    position:absolute;
    width:160px;height:160px;       /* 160px is the size of the spinner */
    left:50%;top:35%;
    border-style:solid;
    border-color:black;
    border-top-color:transparent;
    border-width: 12px;
    border-radius:50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

/* =========================== */
/* To make style depend on the current breakpoint */
/* =========================== */
/* xs */
@media (max-width:575px) {
    html {
        font-size: 85%;
    }
}
/* sm */
@media (min-width:576px) {
    html {
        font-size: 90%;
    }
}
/* md */
@media (min-width:768px) {
    html {
        font-size: 95%;
    }
}
/* lg */
@media (min-width:992px) {
    html {
        font-size: 100%;
    }
}
/* xl */
@media (min-width:1200px) {
    html {
        font-size: 100%;
    }
}