body {
    /*font-family: 'Open Sans' !important;*/
    font-family: 'Calibri' !important;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    color: #2d3e50;
    /*background: #eee;*/
    background: #BCA998; /* F9F9F9 / fdfaf5 */
}

main {
    flex: 1 0 auto;
    padding-top: 0.5rem;
	padding-bottom: 70px;
    /* margin-bottom: 70px; */
	
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center bottom;
	background-size: 100% 100%;
	
	/* Fallback */
	background-color: rgb(236,214,190,0.1) !important;
    background-image: url('../images/default-bg.91ce80be.svg');

    /* CSS gradients */
	background-image: moz-linear-gradient(0deg, rgb(236,214,190,0.7), rgb(251,241,231,1)), url('../images/default-bg.91ce80be.svg');
	background-image: -webkit-gradient(0deg, rgb(236,214,190,0.7), rgb(251,241,231,1)), url('../images/default-bg.91ce80be.svg');
	background-image: linear-gradient(0deg, rgb(236,214,190,0.7), rgb(251,241,231,1)), url('../images/default-bg.91ce80be.svg');

    /* IE */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ECD6BE', endColorstr='#FBF1E7', GradientType=0);
}

.sidenav {
	background-color: rgb(236,214,190) !important;
}

.margin-center {
    margin: 0 auto;
}

.ediary-btn {
    background: #ff9100;
    color: #fff;
    border-radius: 5px;
    /*display: block;*/
    margin-bottom: 10px;
}

.dot {
    height: 100%;
    display: block;
    vertical-align: bottom;
    line-height: 66px;
    font-size: 30px;
    text-align: center;
}

.ediary-input {
    background-color: #fff !important;
    border: 2px solid #1987CB !important;
    color: #707070 !important;
    outline: none !important;
    height: 39px !important;
    border-radius: 9px !important;
    margin-top: 7px !important;
    box-shadow: none !important;
    text-indent: 5px;
}


#nav {
    box-shadow: none;
    -webkit-box-shadow: none;
    margin-top: 0.5rem /* skal måske fjernes? */
}

nav a {
    /*color: #2d3e50 !important;*/
    color: #00B5F0 !important;
}

nav a.dropdown-trigger {
    color: #2d3e50 !important;
    font-size: 1.2rem;
    font-weight: 600;
}

nav a.sidenav-trigger {
    color: #2d3e50 !important;
}

#lang-options a {
    font-size: 1.2rem;
}

#lang-options {
    /*height: 100% !important;*/
}

.hidedtrow {
    display: none;
}

.ediary-orange {
    background: #ff9100;
}

.ediary-orange-text {
    color: #ff9100 !important;
}


.page-footer {
    /*background-color: #E3E3E3;*/
    /*color: #2d3e50;*/
    background-color: #ab9a89;
    color: #2d3e50;
}

#header {
    background: #ab9a89; /* F9F9F9 */
    box-shadow: none;
    -webkit-box-shadow: none;
}

#footer .footer-logo-div .site-name {
    display: block;
    font-size: 1.2rem;
}

#footer a {
	color: #000;
}

.pageNorm {
    text-decoration: none;
}

.pageSel {
    font-weight: bold;
    text-decoration: underline;
}

.card-image, .card.large {
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

.card.small .card-image+.card-content, .card.medium .card-image+.card-content, .card.large .card-image+.card-content {
    max-height: 50%;
}

.card.small .card-image, .card.medium .card-image, .card.large .card-image {
    max-height: 50%;
    overflow: hidden;
}

.std-link {
    color: #2282C1;
    text-decoration: underline;
    text-underline-position: under;
}

.responsive-table-container {
    overflow-x: auto;
}


.side_bar{
    /*padding-right: 20px;*/
    /*margin-left: -12px;*/
    /*position: sticky;*/
    top: 0;
    height: 100vh;
    overflow-y: scroll;
}
.side_bar::-webkit-scrollbar {
    width: 6px;
}

/* Track */
.side_bar::-webkit-scrollbar-track {
    box-shadow: inset 0 0 2px grey;
    border-radius: 10px;
}

/* Handle */
.side_bar::-webkit-scrollbar-thumb {
    background: rgba(25, 135, 203, 0.3);
    border-radius: 10px;
}

/* Handle on hover */
.side_bar::-webkit-scrollbar-thumb:hover {
    background: #1987CB;
}

.hover-text {
    cursor: help;
    border-bottom: 1px dotted #397d75;
}

.mt0 {
    margin-top: 0;
}

.mt1 {
    margin-top: 1rem;
}

.mt2 {
    margin-top: 2rem;
}

.mt4 {
    margin-top: 4rem;
}

.mb1 {
    margin-bottom: 1rem;
}

.mb2 {
    margin-bottom: 2rem;
}

.mb4 {
    margin-bottom: 4rem;
}



strong {
    font-weight: 600;
}

.friend {
    background-color: #ccc;
    text-align: center;
    padding: 10px;
    margin-bottom: 15px;
}

.piechart-outer-container {
    min-height: 200px !important;
    height: 100%;
}

.piechart-inner-container {
    min-height: 200px;
    height: 100%;
    width: 100%;
    max-width: 100%;
    margin: 0 auto !important;
}

.styled-separator {
    border: 0;
    height: 1px;
    /*background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));*/
    background-image: linear-gradient(to right, rgba(25, 135, 203, 0), rgba(23, 135, 203, 0.75), rgba(25, 135, 203, 0));
}

.ediary-separator {
    border: 0;
    height: 1px;
    /*background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));*/
    background: #70707080;
}

.ediary-separator-grey {
    border: 0;
    height: 1px;
    /*background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));*/
    background: #EEE1D8;
}


img {
    border: 0px;
}

img {
    vertical-align: middle;
}



.status-icon-stack {
    width: 1em;
    height: 1em;
    line-height: 1em;
}

.fa-stack {
    position: relative;
    display: inline-block;
    width: 2em;
    height: 2em;
    line-height: 2em;
    vertical-align: middle;
}

.fa-pulse {
    animation: 2s linear 0s infinite normal none running burst;
}


.dropdown-content {
    min-width: 140px;
}


.on-top {
    position: absolute;
    font-size: 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -80%);
}

.img-container {
    position: relative;
}

.fa {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    font-stretch: normal;
    line-height: 1;
    font-family: FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    transform: translate(0px, 0px);
}

.frontpage-icon-col, .frontpage-icon-col i {
    text-align: center;
    /*font-size: 120px;*/
    font-size: 8rem;
    vertical-align: middle;
}

@media all and (max-width: 600px) {
    .frontpage-icon-col, .frontpage-icon-col i {
        font-size: 4rem;
    }
}

.frontpage-menu {
    margin-top: 2rem;
}

/* from 0px and up to 600px */
@media all and (max-width: 600px) {
    .s-center {
        text-align: center;
    }
}

@media all and (min-width: 600px) and (max-width: 992px) {
    .m-center {
        text-align: center;
    }
}

/* from 0px and up to 600px */
@media all and (max-width: 600px) {
    .s-right {
        float: right;
    }
}

/* from 600px and up to 992px */
@media all and (min-width: 600px) and (max-width: 992px) {
    .m-right {
        float: right;
    }
}

/* from 992px and up to 1200px */
@media all and (min-width: 992px) and (max-width: 1200px) {
    .l-right {
        float: right;
    }
}

/* from 1200px and up*/
@media all and (min-width: 1200px) {
    .xl-right {
        float: right;
    }
}

/* from 600px and up */
@media all and (min-width: 600px) {
    .m-up-right {
        float: right;
    }
}

/* from 600px and up */
@media all and (max-width: 992px) {
    .s-to-m-center {
        text-align: center;
    }
}

@media all and (max-width: 992px) {
    .s-to-m-margin-auto {
        margin: 0 auto;
    }
}

@media all and (min-width: 992px) {
    .l-up-right {
        float: right;
    }
}

@media all and (max-width: 600px) {
    .s-margin-b-20px {
        margin-bottom: 20px !important;
    }
}

@media all and (max-width: 600px) {
    .s-margin-t-20px {
        margin-top: 20px !important;
    }
}

@media all and (max-width: 992px) {
    .m-margin-t-20px {
        margin-top: 20px !important;
    }
}

@media all and (max-width: 1200px) {
    .l-margin-t-20px {
        margin-top: 20px !important;
    }
}

@media all and (min-width: 600px) {
    .hide-on-med-and-up {
        display: none;
    }
}

/* from 600px and up */
@media all and (min-width: 992px) {
    .hide-on-large-and-up {
        display: none;
    }
}

@media all and (min-width: 601px) {
    .frontpage-menu {
        margin-top: 4rem;
    }
}



.frontpage-icon-col i {
    cursor: pointer;
}

.frontpage-icon-col h5 {
    color: #2d3e50;
}

.fa-pulse {
    animation: burst 2s infinite linear;
}

@keyframes burst {
    0% {
        opacity: 1
    }

    50% {
        transform: scale(1);
        opacity: 1
    }

    to {
        transform: scale(1.5);
        opacity: 0
    }
}

.fa-stack-1x,
.fa-stack-2x {
    position: absolute;
    left: 0px;
    width: 100%;
    text-align: center;
}

.ediary-submit-btn {
    background-color: #ff9100 !important;
    border: 2px solid #ff9100 !important;
    color: #fff !important;
    outline: none !important;
    height: 43px !important;
    /*width: 100% !important;*/
    border-radius: 9px !important;
    margin-top: 5px !important;
	padding: 1px 10px;
    text-transform: uppercase !important;
    cursor: pointer !important;
    /*font-weight: 500 !important;*/
}

.fa-stack-1x {
    line-height: inherit;
}

.sort-by-container {
    display: inline-block;
    min-width: 110px;
    margin-right: 10px;
}

.btn-dark {
    background: #2d3e50;
}

.btn-dark:hover {
    background: #2d343c;
    transition: all .2s;
}

.grid-settings {
    vertical-align: sub;
    margin-right: 10px;
    cursor: pointer;
    color: #2d3e50;
}


#footer a.tooltipped i {
    /*color: #2f3b3e !important;*/
}


/* diary entry  */

.diary-entry {
    background: #fff;
    border: 1px solid #EEE1D8;
    border-radius: 4px;
    height: 133px;
    /*max-width: 262px;*/
    cursor: pointer;
    /*margin-right: 15px;*/
    margin-bottom: 15px;
}

.diary-entry:hover {
    box-shadow: 0 8px 16px 0 rgba(113, 106, 106, 0.2);
}

.diary-footer .footer-container {
    position: absolute;
    width: 92%;
    margin-top: 14px;
}

.back-button {
    background: #ad9191;
    color: #fff;
}

.category-box {
    width: 52px !important;
    height: 27px !important;
    /*display: block;*/
    display: table;
    text-align: center;

    color: #fff;
    background: #4286F4;
    /*border: 1px solid #4286F4;*/
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    /*font-family: 'Segoe UI';*/
    font-family: 'Calibri';
    /*margin-left: 10px;*/
    margin-right: 10px;
    /*min-width: fit-content;*/
    padding-right: 5px;
    padding-left: 5px;
	line-height: 27px;
	white-space: nowrap;
}

.diary-body p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 44px;
}

.footer-span.image-count {
    color: #BABABA;
    padding-right: 2px;
}

.diary-footer {
    position: relative;
}

.diary-footer .footer-span {
    width: 49%;
    display: inline-block;
}

.diary-entry p {
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
}

.input-field>label:not(.label-icon):not(.active) {
    -webkit-transform: translateY(-14px) scale(0.8);
    transform: translateY(-14px) scale(0.8);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}

select.browser-default {
    background: transparent;
    border: none;
    border-bottom: 1px solid #9e9e9e;
    outline: none;
    padding: 0;
    user-select: none;
}

.diary-date-title {
    /*border-bottom: 1px solid #EEE1D8;*/
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    color: #111314;
    font-weight: 600;
}



.diary-body {
    padding-top: 5px !important;
    color: #111314;
    font-weight: 600;
}

/* settings, faq */

.settings-option, .faq-option {
    max-width: 452px;
    height: 40px;
    background: #EEEEEE;
    border: 1px solid #EEEEEE;
    border-radius: 12px;
    margin: 0 auto;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all .2s ease-in-out;
}

.input-field>label:not(.label-icon):not(.active) {
    -webkit-transform: translateY(-14px) scale(0.8);
    transform: translateY(-14px) scale(0.8);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}

.settings-option p, .faq-option p {
    margin-left: 15px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 40px;
    text-transform: uppercase;
}

.settings-option:hover, .faq-option:hover {
    /*box-shadow: 0 8px 16px 0 rgba(113, 106, 106, 0.2);*/
    background: #ff9100ad;
    color: #fff;
    transition: all .2s ease-in-out;
}

.settings-option i, .faq-option i {
    line-height: 40px;
    font-size: 35px;
}

/* diary editor */

.ql-editor{
    min-height:200px;
}

#uploaded-images {
    min-width: 100%;
    margin-top: 2rem;
    /*min-height: 400px;*/
    max-height: 400px;
}

#uploaded-images img {
    width: 100%;
    max-height: 110px;
    min-height: 110px;
    object-fit: scale-down;
}

#uploaded-images .image-container {
    padding: 10px;
}

footer .row {
    margin: 0;
}

.footer-icon {
    /*font-size: 30px;*/
    font-size: 35px !important;
    line-height: 28px !important;
}

footer .my-account-anchor {
    min-width: 56px;
    min-height: 56px;
}

footer ul li {
    float: left;
    padding: 0;
}

footer ul a {
    transition: background-color .3s;
    font-size: 1rem;
    color: #fff;
    display: block;
    /*padding: 0 15px;*/
    cursor: pointer;
}

.page-footer {
    padding-top: 10px;
    padding-bottom: 10px;
}

.footer-icon-col {
    height: 56px;
}

/* groups */

.group-container h6 {
    font-weight: 600;
}

.group-container {
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #fff;
    position: relative;
    overflow: hidden;
    background: #333;
    cursor: pointer;
}

.group-container:hover {
    box-shadow: 0 8px 16px 0 rgba(113, 106, 106, 0.2);
}

.groups-container {
    padding-left: 10px;
    padding-right: 10px;
}

.g-content > * {
    position: relative;
    z-index: 2;
}

@media all and (max-width: 600px) {
    #header a img {
        width: 160px;
        height: 40px;
    }
}

.footer-fixed  {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 500; /* 999999 */
}

.footer-fixed footer {
    padding-top: 10px;
}

.child-margin-auto > div {
    margin: 0 auto !important;
}


div.material-tooltip {
    z-index: 999999 !important;
}

/*

CSS til standard kategorier
Hvis brugeren ikke har valgt nogen kategori, så er ID'et -1, "Other", "Andet"

*/
.category--1 {
    background: #E8B495;
    border: 1px solid #E8B495;
}

.category-1 {
    background: #4E686E;
    border: 1px solid #4E686E;
}

.category-2 {
    background: #5C8194;
    border: 1px solid #5C8194;
}

.category-3 {
    background: #ABD0EB;
    border: 1px solid #ABD0EB;
}

.category-4 {
    background: #7599C5;
    border: 1px solid #7599C5;
}

.category-5 {
    background: #4A9F97;
    border: 1px solid #4A9F97;
}
/* CSS til standard kategorier slut */

/* Fonts til Quill (WYSIWYG editor til dagbøger) */

/* For at fikse font dropdown overflow */

.ql-snow .ql-picker.ql-font .ql-picker-label::before,
.ql-snow .ql-picker.ql-font .ql-picker-item::before
{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 85%;
}

/* Fiks slut */

/* Set droplist names - -item is the currently selected font, -label is the font's appearance in the droplist*/
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value='']::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value='']::before
{
    content: 'Default';
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value='times']::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value='times']::before
{
    content: 'Times New Roman';
    font-family: 'Times New Roman';
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value='arial']::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value='arial']::before
{
    content: 'Arial';
    font-family: 'Arial';
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value='calibri']::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value='calibri']::before
{
    content: 'Calibri';
    font-family: 'Calibri';
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value='helvetica']::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value='helvetica']::before
{
    content: 'Helvetica';
    font-family: 'Helvetica';
}

/****************************************************
Set the font-family content used for the HTML content.
*****************************************************/
.ql-font-arial {
    font-family: 'Arial';
}

.ql-font-times {
    font-family: 'Times New Roman';
}

.ql-font-calibri {
    font-family: 'Calibri';
}

.ql-font-helvetica {
    font-family: 'Helvetica';
}

/* Fonts end */

.input-field>label {
	font-size: 18px !important;
	color: #000 !important;
}

.datepicker-controls .select-month input {
	width: 80px;
}

.calendar_icon {
	background-image: url('../images/calendar.1cf5e57a.svg');
	background-repeat: no-repeat;
	background-position: right center;
	width: 32px;
	height: 32px;
	background-size: 32px 32px;
	display: inline-block;
}

.input-field input[type=search]:focus:not(.browser-default) {
    background-color: initial;
    border-bottom: 1px solid #9e9e9e;
    /*-webkit-box-shadow: none;*/
    /*box-shadow: none;*/
    color: initial;
}