:root {
	--blue-dark: #C5D2DA;
	--blue-light: #EEF3F6;

	--yellow-dark: #f3e256;
	--yellow-light: #fef4ac;
}

body {
	margin: 0px;
    background: linear-gradient(168deg,rgba(41, 46, 50, 1) 0%, rgba(14, 41, 84, 1) 50%, rgba(43, 10, 38, 1) 100%);;
    background-attachment: fixed;
    overflow-y: scroll;
}

body > div {
    display: flex;
    justify-content: center;

    & #boyfriend {
        width: 930px;
    }

    & #team_container {
        margin-left: 1.5em;
        width: 770px;
    }
}

.cardlogos {
    float: right;
}

#toprowcontainer {
	width: 930px;
    position: relative;

    & .toprow {
        background-image: linear-gradient(to bottom, #8a909b, #737983 62%, #606060 62% 66%, #c5d2d9 66%, #bbc3ce);
        border-bottom-left-radius: 1.5em;
        border-bottom-right-radius: 1.5em;
        height: 89px;
        width: 930px;
        position: relative;

        & #logo {
            cursor: pointer;
            position: relative;
            top: 15px;
            left: 28px
        }

        & #newsticker {
            position: absolute;
            top: 5px;
            left: 700px;
            width: 161px;
            height: 47px;
            border-left: 1px solid #c4c4c43f;
            border-right: 1px solid #c4c4c43f;
            background:
                radial-gradient(ellipse at left center, #e9e9e946 0%, transparent 50%),
                radial-gradient(ellipse at right center, #e9e9e946 0%, transparent 50%);

            & #ticker {
                font-family: verdana, sans-serif;
                font-size: xx-small;
                color: #e1e1e1;
                padding: 2px;
                z-index: 2;
                position: absolute;
                top: 0px;
                left: 3px;
                width: 150px;
                overflow: hidden;
                height: 41px;

                & .date {
                    text-decoration: none;
                    color: #e1e1e1
                }

                & .title {
                    text-decoration: none;
                    font-weight: bold;
                    color: #e1e1e1
                }
            }

            & #link {
                position: absolute;
                right: 5px;
                top: 35px;
                z-index: 10;

                & a {
                    font-size: xx-small;
                    color: #e1e1e1;
                    text-decoration: none;
                }
            }
        }
    }

    & #menu {
        & a {
            text-decoration: none;
        }

        & #menu_default {
            display: block;
        }

        & #menu_logged_in {
            display: none;
        }

        & ul {
            position: absolute;
            z-index: 8000;
            top: 55px;
            left: 0px;
            margin: 0px;
            padding: 0px 0px 0px 10px;
            list-style: none;
            
            & li {
                list-style-type: none;
                float: left;
                position: relative;
                text-decoration: none;
                padding: 12px 0px 20px 0px;
                font-family: verdana, sans-serif;
                font-size: 11px;
                height: 10px;

                &:hover {
                    background-image: linear-gradient(to top, rgba(0,0,0,0) 38px, white 38px);
                }

                &:hover ul {
                    display: block;
                }

                & a {
                    padding: 10px 16px 10px 16px;
                }

                & ul {
                    position: absolute;
                    display: none;
                    top: 22px;
                    left: 0px;

                    & li {
                        list-style-type: none;
                        float: none;
                        overflow: hidden;
                        width: 120px;
                        height: 18px;
                        padding: 8px 3px 3px 0px;
                        margin: 0px;
                        border-width: 0px 3px 3px 3px;
                        border-style: solid;
                        border-color: white;
                        background-color: var(--blue-light);
                        left: -10px;
                        top: 12px;
                        position: relative;
                        white-space: nowrap;

                        & a {
                            padding: 8px 100px 8px 17px;
                        }

                        :hover:first-child {
                            background-color: var(--blue-dark);
                        }

                        & input {
                            background-color: white ! important;
                        }
                    }

                }


                & .search {
                    height: 60px;
                    border: 2px solid white;
                    width: 175px;
                    padding: 0px;
                    margin: 0px;
                    overflow: visible;

                    & > div {
                        padding: 1em;

                        &> div {
                            display: flex;
                        }

                        &> div:nth-child(2) {
                            padding: 2px 0 0 3px;
                        }
                    }
                }

            }


        }

        & #logins_saved {
            li {
                padding: 5px 8px 10px 0px;
                text-align: left;
            }

            div {
                font-size: xx-small;
                padding: 0px 0px 0px 17px;
                font-weight: bold;
                font-family: verdana, sans-serif;
            }
        }
    }

    & #topmenu_right {
        position: absolute;
        top: 58px;
        left: 734px;
        width: 175px;
        color: white;
        font-size: x-small;
        padding: 3px 0px 0px 0px;
        text-align: right;
        z-index: 8000;
        height: 30px;
        display: none;

        & #abonnementsboks {
            height: 40px;
            position: absolute;
            top: 29px;
            left: 20px;
            border: 2px solid white;
            display: none;
            z-index: 9999;
            text-align: left;
            padding: 1em;
            width: 150px;
            color: white;
            background-color: #979DA9;
        }        
    }

    & #topmenu_right:hover #abonnementsboks {
        display: block;
        z-index: 8000;
    }

    & .expire {
        text-decoration: none;
        color: white;
        font-weight: bold;
    }

    & .active {
        text-decoration: none;
        color: white;
    }

    & .expired {
        text-decoration: none;
        color: #9B0000;
        font-weight: bold;
    }


}

#content_container {
    text-align: left;
    margin-top: 1.5em;
	width: 930px;
    display: flex;

    /* Indholdsrammen der holder på selve hovedframen */
    & .content {
        width: 770px;

        & #if_content, #if_menu, #if_ad, #if_profile_content, #if_profile_menu {
            background-color: white;
            overflow: hidden;
            width: 770px;
        }

        & #if_profile_content, #if_profile_menu {
            box-sizing: border-box;
        }

        & #if_ad img {
            float: left;
        }

        & #if_bottom {
            height: 26px;
            width: 770px;
            line-height: 26px;
            text-align: center;
            background-image: linear-gradient(to bottom, #b2bfc6, #d2d7d9);
            border-bottom-left-radius: 1.5em;
            border-bottom-right-radius: 1.5em;
        }

    }
}

/* Container for hele statusbaren */
#status {
    & .top {
        background-image: linear-gradient(to bottom, #8a909b, #737983);
        border-top-right-radius: 1.5em;
        width: 160px;
        font-weight: bold;
        color: white;
        text-align: center;
        height: 2em;
        padding: 1em 0 0 0;
    }

    & .header {
        font-weight: bold;
        color: white;
        text-align: center;
        height: 2em;
        padding: 1em 0 0 0;
        width: 160px;
        background-image: linear-gradient(to bottom, #8a909b, #737983);
    }

    & .heading {
        padding: 0 0 0 30px;
        font-weight: bold;
        color: white;
        text-decoration: none;

    }

    & .status_main {
        display: none;
        padding: 0 1em 1em 1em;
        color: white;
        width: 160px;
        background-color: #979DA9;
        box-sizing: border-box;

        & #chat_ny_besked {
            display: none;
            padding: 12px 0px 0px 0px;

            & a {
                color: #FFFFFF;
                text-decoration: none;
                font-weight: bold;

                & img {
                    margin: 0px 4px 0px 0px;
                }
            }
        }

        & #postikon {
            display: none;
            padding: 1em 0px 0px 0px;
            
            & a {
                color: #FFFFFF;
                text-decoration: none;
                font-weight: bold;
                line-height: 1.8em;

                & img {
                    margin: 0px 4px 3px 6px;
                }
            }
        }

        #events_outer_container {
            display: none;

            & .events_container_link a, .events_container_link {
                color: white;
                font-size: 8px;
                text-decoration: none;
            }

            & .events_container_tekst a {
                text-decoration: none;
                font-size: xx-small;
                color: white;
                font-weight: bold;
            }
        }
    }

    & #item_chat {
        display: none;
        
        & .chat {
            padding: 0 1em 1em 1em;
            color: white;
            width: 160px;
            height: 2em;
            position: relative;
            background-color: #979DA9;
            border-bottom: 1px solid #737983;
            box-sizing: border-box;
        }
    
        & #status_chat_header {
            display: flex;
            justify-content: space-between;

            & > div {
                padding: 0.4em 0 0.2em 0;

                & > a {
                    text-decoration: none;
                    color: white;
                }
            }
        }

        & #status_chat_content {
            font-size: 9px;
            height: 125px;
            overflow: hidden;
            padding: 1.5em 1em 1em 1em;
            color: white;
            width: 160px;
            background-color: #979DA9;
            box-sizing: border-box;

            text-decoration: none ! important;
        }
    }

    & .bottom {
        background-color: #979DA9;
        border-bottom-right-radius: 1.5em;
        width: 160px;
        height: 1.5em;
    }
}




#team_menu, #team {
    background-color: white;
    overflow: hidden;
    width: 770px;
}

/* Factboks på profiler */
#fact_container {
	width: 100%;
	margin: 0.5em 0 0 0;
	display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 0.5em;
}

#fact_container > div {
	padding: 0.5em;
	background-color: var(--blue-light);
	border-radius: 3px;
}

#fact_container div div:nth-child(2) {
	font-weight: bold;
}

#modal_picture_folders {
    & .container {
        display: flex;
        flex-wrap: wrap;
        max-height: 20em;
        overflow: auto;

        & div {
            flex-grow: 2;
            padding: 1em 1.5em 1em 1.5em;
            margin: 0.3em;
        }
    }
}

#modal_picture_edit {
    & .grid25 {
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: repeat(auto-fit, 33%);
    }

    & .grid5050 {
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: repeat(auto-fit, 50%);
        margin-bottom: 3em;
        
        & div:nth-child(2) {
            text-align: center;
        }
    }

    & #edit_gallery_item {
        margin: 1em;
    }

    & .edit_image_container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 80px;
    }

    & .edit_image_container div {
        align-content: center;
        text-align: center;
    }

    & .edit_image_container div img {
        max-width: 100%;
        max-height: 100%;
        border: 5px solid white;
        border-radius: 5px;
    }

    & input[type=radio] {
        display: none;
    }

    & .highlight {
        border: 5px solid rgb(15, 112, 168) ! important;
    }

    & .highlight_bold {
        font-weight: bold ! important;
    }

    & label {
        font-weight: normal;
    }

    & label img {
        cursor: pointer;
    }
}

.section_pictures {
    & #show_inbox {
        background-color: var(--blue-light);
        padding: 2em;
        margin: 2em 0 2em 0;

        & h1 {
            margin: 0 0 0.5em 0.3em;
        }
    }

    & #show_kategorier {
        background-color: var(--blue-light);
        padding: 2em;
        margin: 2em 0 0 0;
        display: none;

        & h1 {
            margin: 0 0 0.5em 0.3em;
        }

        & .edit {
            display: none;
            float: right;
        }

        & .container {
            display: flex;
            flex-wrap: wrap;
            max-height: 20em;
            overflow: auto;

            & div {
                flex-grow: 2;
                padding: 1em 1.5em 1em 1.5em;
                margin: 0.3em;
                cursor: pointer;
            }
        }
    }

    & #show_inbox {
        display: none;

        & .gallery_container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);

            & .gallery_picture_container_frame {
                margin: 0.5em;
                position: relative;
                aspect-ratio: 1;
                text-align: center;
                background-repeat: no-repeat;
                background-size: cover;
                background-position: center;
                cursor: pointer;
                border-radius: 1em;
                border: 1px solid var(--blue-dark);
                overflow: hidden;

                & .details {
                    display: none;
                    border-radius: 1em;
                    background-color: white;
                    opacity: 90%;
                    margin: 1em;
                    padding: 0.5em;

                    & .date {
                        font-size: xx-small;
                        font-weight: bold;
                    }

                    & .text {
                        font-size: x-small;
                    }

                    & .mediatype {
                        font-weight: bold;
                    }

                    & .pic_hidden {
                        color: red;
                        font-weight: bold;
                    }


                    & .inbox {
                        margin: 1em 0 0 0;

                        &:hover + div {
                            display: grid;
                        }

                        & > div {
                            margin: auto 0.5em auto 0;
                        }

                        & > div:nth-child(odd) {
                            font-weight: bold;
                            text-align: left;
                        }

                        & > div:nth-child(even) {
                            text-align: right;
                        }
                    }

                }

                &:hover .details {
                    display: block;
                }

                &:hover .gallery_picture_edit {
                    display: block;
                }

                & .gallery_picture_edit {
                    position: absolute;
                    bottom: 0px;
                    display: none;
                    text-align: center;
                    background-color: white;
                    width: 100%;

                    & div, a {
                        display: inline-block;
                        padding: 0.5em;
                    }

                }
            }
        }
    }

    & #picture_container {
        & .gallery_header {
            padding: 1em;
            margin: 1em 0 1em 0;
            font-weight: bold;
            color: #636363;
            background-color: var(--blue-dark);
        }

        & .gallery_header_light {
            padding: 1em;
            margin: 1em 0 1em 0;
            font-weight: bold;
            color: #636363;
            background-color: var(--blue-light);
        }

        & .gallery_container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);

            & .gallery_picture_container_frame {
                margin: 0.5em;
                position: relative;
                aspect-ratio: 1;
                text-align: center;
                background-repeat: no-repeat;
                background-size: cover;
                background-position: center;
                cursor: pointer;
                border-radius: 1em;
                border: 1px solid var(--blue-dark);
                overflow: hidden;

                & .details {
                    display: none;
                    border-radius: 1em;
                    background-color: white;
                    opacity: 90%;
                    margin: 1em;
                    padding: 0.5em;

                    & .date {
                        font-size: xx-small;
                        font-weight: bold;
                    }

                    & .text {
                        font-size: x-small;
                    }

                    & .mediatype {
                        font-weight: bold;
                    }

                    & .movebox {
                        margin: 0;
                        padding: 0;
                    }

                    & .pic_hidden {
                        color: red;
                        font-weight: bold;
                    }
                }

                &:hover .details {
                    display: block;
                }

                &:hover .gallery_picture_edit {
                    display: block;
                }

                & .gallery_picture_edit {
                    position: absolute;
                    bottom: 0px;
                    display: none;
                    text-align: center;
                    background-color: white;
                    width: 100%;

                    & div, a {
                        display: inline-block;
                        padding: 0.5em;
                    }
                }
            }
        }
    }

    & #show_nopictures {
        margin: 3em 3em 5em 0em;
        display: none;
    }

    & #show_private {
        display: none;
    }

    & #show_report {
        display: none;
    }

    & #show_upload {
        display: none;
    }

    & #show_upload_box {
        display: none;
    }

    & #show_additional {
        display: none;
    }


}

.thumb_link {
	text-decoration: none;
}

.thumb_link:hover {
	text-decoration: underline;
}

.thumb_comment_box {
	padding: 10px;
	margin: 4px;
	width: 450px;
	overflow: hidden;
	position: relative;
}

.thumb_comment_box_remove {
	position: absolute;
	top: 0px;
	right: 0px;
	padding: 1px 5px 0px 0px;
}

.thumb_textarea {
	border-style: none;
	overflow: hidden;
	width: 450px;
	font-family: verdana, sans-serif;
}

#qsort_filter_display {
    display: flex;
    justify-content: space-between;
    margin: 18px 0px 18px 0px;
}



.qsort_optionbox {
    background-color: #c5d2d9;
    border-radius: 12px;
    position: relative;
    padding: 0px 10px 0px 5px;
}

.qsort_optionbox div {
    float: left;
}

.qsort_optionbox div:nth-child(2) {
    padding: 5px;
}

.qsort_optionbox:hover .qsort_optionbox_options {
	display: block;
}

.qsort_optionbox_options {
	display: none;
	text-align: left;
	padding: 10px;
	position: absolute;
	border: 3px solid #c5d2d9;
    border-radius: 12px;
	z-index: 9999;
	left: 10px;
	top: 30px;
	white-space: nowrap;
}

.qsort_optionbox_options a {
	text-decoration: none;
}

.qsort_optionbox_options a:hover {
	text-decoration: underline;
}

.qsort_direction, .qsort_direction_selected {
    border: 1px solid gray;
    border-radius: 50%;
    width: 1.2em;
    height: 1.2em;
    display: inline-block;
    font-size: 0.9em;
    text-align: center;
    line-height: 110%;
    margin-left: 0.5em;
}

.qsort_direction_selected {
    background-color: white;
}


/* Punktlister */
ol li {
	margin: 5px;
}

/* Payment */
.buyknap {
	width: 40px;
	background-color: white;
	font-size: xx-small;
}

/*
	Anmeld-funktioner
*/
.report_container {
	background: url(/static/static/themes/1/profil/home/anmeld.gif), var(--blue-dark);
    background-repeat: no-repeat;
    background-blend-mode: color-burn;
    padding: 45px 10px 15px 10px;
    border-radius: 15px;
}

.report_container a {
	text-decoration: none;
	color: gray;
	font-size: xx-small;
    text-shadow: 1px 1px silver;
}

.report-box {
 	background: url(/static/static/themes/1/profil/home/anmeld.gif), var(--blue-dark);
    background-repeat: no-repeat;
    background-blend-mode: color-burn;
    height: 35px;
    margin: 2em;
    border-radius: 1em;
    padding: 1em 1em 1em 6em;
    line-height: 3em;
    vertical-align: middle;

}

.hidden {
	display: none;
}

.clear {
	clear: both;
}

.fright {
    float: right;
}

.menu_sub {
	background-color: #292e32;
	height: 31px;

    & ul {
        list-style: none;
        margin: 0px;
        padding: 0px;
        height: 31px;
        display: table;
        table-layout: fixed;
        width: 770px;
        position: absolute;

        & li:first-child {
            border-top-left-radius: 15px;
        }

        & li {
            height: 31px;
            padding: 0px 5px 0px 5px;
            background-color: #c0cad3;
            border-right: 1px solid white;
            display: table-cell;
            line-height: 20px;
            position: relative;

            & .count {
                background-color: #e2e8eb;
                border-radius: 8px;
                padding: 1px 7px 2px 7px;
                font-weight: bold;
                float: left;
                text-align: center;
                line-height: 13px;
                margin: 8px 0px 0px 5px;
            }

            & .text {
                margin: 6px 0px 0px 0px;
                text-align: center;
            }
        }
    }

    & .selected {
        background-color: white;
    }

}


.chat_line a, .chat_line a:active {
	font-weight: bold;
	text-decoration: none;
}

.chat_line:nth-child(even) {
	background-color: var(--blue-light);
}

.chat_line div:nth-child(1) {
	padding: 5px;
	float: left;
	word-wrap: break-word;
	width: 135px;
}

.chat_line div:nth-child(2) {
	padding: 5px;
	float: left;
	width: 555px;
	word-wrap: break-word;
}

.chat_line .single {
	width: 690px ! important;
}

#item_navn {
	padding-top: 15px;
    text-align: center;
}

#chat_box {
    display: grid;
    grid-template-columns: 5fr 2fr 2fr;
    gap: 0;
    width: 100%;
    padding: 10px;
    height: 75px;
    margin-bottom: 10px;
    box-sizing: border-box;

    input {
        width: 400px;
    }

    & #to_name {
        line-height: 25px;
    }
}



#team_container {
    position: relative;
    top: 106px;
}


.qsort_optionbox_options {
	background-color: var(--blue-light);
}

.ll {
	overflow:hidden;
    white-space: nowrap;
    cursor: pointer;
}

td, div{
	font-family : Verdana,serif;
	font-size : 8pt;
}

.priv {
	Color: #A23A16;
}

.menupunkt {
	height: 31px;
	text-align: center;
	border-right: 1px solid #FFFFFF;
	cursor: pointer;
}

.innerdiv {
    padding: 1.5em 2em 1.5em 2em;
}

.mailheader, .ui-dialog-titlebar, .lounge-tree > .category {
	background-color: var(--blue-dark);
	height: 20px;
	color: #636363;
	padding: 4px;
}

.m1, .m2, .m3 {
	line-height: 15px;
	padding: 4px;
}

.m1 {
	background-color: var(--blue-light);
}

.m2 {
	background-color: #FFFFFF;
}

.m3 {
	background-color: #DAA1A1;
}

h1 {
	font-size : 16px;
	margin: 0px;
	font-weight: bold;
}

form {
	margin: 0px;
}

.tl {
	font-family: verdana, sans-serif;
	font-size: 10px;
	text-decoration: none;
}

h1, h2, p, td, .lister, .fb {
	font-family : Verdana, sans-serif;
}

td, .lister, h2, p {
	font-size : 8pt;
}

h1, h2 {
	font-weight : bold;
}

hr {
 height: 1px; width: 100%;
}

a, hr, .fb a, .fb a:hover, .fb a:active, .fb a:link {
	color: black;
}

.lister {
	border : 1px solid Black;
}

.status_search {
	border: 1px solid #737983;
	width: 115px;
	position: relative;
	float: left;
}

img[user] {
	margin-right: 3px;
	vertical-align: middle;
}

.div_head {
	clear: both;
	float: left;
	width: 45%;
	padding: 8px 3px 3px 3px;
}

.div_element {
	float: left;
	padding: 3px;
}

.div_infoboks, .div_errorboks {
	clear: both;
	font-style: italic;
}

.div_infoboks {
	color: gray;
	padding: 3px 10px 15px 10px;
	margin: 0px 0px 0px 45%;
}

.div_errorboks, div[data-error] {
	color: red;
	margin: 0px;
	max-width: 350px;
}

input[type="text"], input[type="password"] {
	border: 1px solid gray;
	padding: 3px;
	border-radius: 3px;
}

.infoboks {
	clear: both;
	border: 1px solid gray;
	padding: 15px;
	margin: 15px 0px 15px 0px;
}

h1 {
	margin: 15px 0px 15px 0px;
}

h2 {
	font-size: small;
	clear: both;
}

select {
	padding: 3px;
	border-style: solid;
	border-width: 1px;
	border-color: gray;
	border-radius: 6px;
}

#area_dk, #area_other {
	text-decoration: none;
}

.buyknap {
	width: 40px;
	background-color: white;
	font-size: xx-small;
}

.punkt_container {
	margin: 15px;
	width: 40%;
	float: left;
	height: 50px;
}

h2 {
	clear: both;
}

.pr {
	color: #FCFCFC;
	line-height: 17px;
}

.status_profilnavn {
	color: #FFFFFF;
	text-decoration: none;
	font-weight: bold;
	font-size: 16px;
}

.status_kampagnelink {
	color: #FCFCFC;
}

td, .lister, h2, p, div {
	font-size : 8pt;
	font-family: verdana, sans-serif;
}

.lister {
	border : 1px solid Black;
}

#team_bar {
    padding: 1.5em 1em 1em 1em;
    color: white;
    width: 160px;
    background-color: #979DA9;
    box-sizing: border-box;
}

#team_bar .arrow {
	clear: both;
	float: left;
	padding: 3px 6px 0px 0px;
}

#team_bar .item {
	float: left;
	padding: 3px 0px;
}

#team_bar .item_other {
	clear: both;
	padding: 0px 0px 0px 20px;
}

#team_bar .item a, #team_bar .item_other a {
	color: white;
	text-decoration: none;
	font-weight: normal;
}

#team_bar .team_header {
	clear: both;
	font-weight: bold;
	padding: 5px 0px 0px 20px;
}

#team bar #intet_at_validere {
	display: none;
	color: white;
	font-weight: bold;
	padding-bottom: 15px;
}

#team_bar .id_input {
	clear: both;
	padding: 10px 0px 0px 20px;
	font-weight: bold;
}

#team_bar input {
	font-size: 10px;
	border: 1px solid black;
}

#profile_txt {
	width: 727px;
	overflow:hidden;
	font-size: 10pt;
	font-family: verdana, sans_serif;
	padding: 30px 0px 10px 0px;
	clear: both;
}

#pager {
    float: right;
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;

    .left {
        background-color: var(--blue-light);
        border-top-left-radius: 50%;
        border-bottom-left-radius: 50%;
        height: 25px;

    }


    .list {
        background-color: var(--blue-light);
        padding-left: 3px;
        padding-right: 3px;
        height: 25px;
        line-height: 25px;
        text-align: center;
        cursor: pointer;
    }

    .right {
        text-align: left;
        background-color: var(--blue-light);
        border-top-right-radius: 50%;
        border-bottom-right-radius: 50%;
        height: 25px;
    }

    & > div {
        & > div {
            background-color: var(--blue-dark);
            border-radius: 50%;
            height: 25px;
            width: 25px;
            line-height: 23px;
            padding-left: 0.4em;
            box-sizing: border-box;

            letter-spacing: -30%;
            font-size: 1rem;
            color: rgb(63, 63, 63);
            font-family: monospace;
            cursor: pointer;
        }
    }
}

#mail_settings {
	float: right;
	width: 300px;
}

#mail_lines > div {
	clear: both;
	height: 20px;
	padding: 5px;
}

#mail_lines > div:nth-child(odd) {
	background-color: var(--blue-light);
}

#mail_lines .mail_unread > div {
    font-weight: bold;
}

.mail_options span {
    background-color:gray;
    cursor: pointer;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    padding: 3px;
    text-decoration: none;
    font-size: xx-small;
}

#mail_lines .mail_link {
	cursor: pointer;
}

#mail_lines .mail_icon {
	width: 35px;
	float: left;
	margin: 4px 0px 0px 8px;
    padding-right: 5px;
    text-align: right;
}

#mail_lines .mail_username {
	width: 225px;
	float: left;
	line-height: 20px;
	margin: 2px 0px;
}

#mail_lines .mail_status {
	width: 140px;
	float: left;
	margin-top: 5px;
    position: relative;
}

#mail_lines .mail_status div {
    position: absolute;
    top: 0;
    left: 0;
}

#mail_lines .mail_date {
	float: left;
	line-height: 20px;
	margin-left: 40px;
	padding-right: 20px;
}

#mail_lines .mail_options {
	float: right;
	margin-right: 9px;
	line-height: 20px;
}

#mail_delete_selected {
	float: right;
	padding-top: 15px;
}

#mail_read .mail_header {
    background-color: var(--blue-dark);
	color: #636363;
    display: grid;
    grid-template-columns: 80px auto 150px;
    margin-top: 10px;
}

#mail_read .mail_header div {
    align-content: center;
}

#mail_read .mail_header div:nth-child(1) {
    text-align: center;
    border-right: 2px solid white;
    padding: 4px;
}

#mail_read .mail_header div:nth-child(2) {
    padding-left: 15px;
}

#mail_read .mail_header div:nth-child(3) {
    padding-right: 15px;
    text-align: right;
}


#mail_read .mail_body {
    display: grid;
    grid-template-columns: 80px auto;
}

#mail_read .mail_body div:nth-child(2) {
    background-color: var(--blue-light);
    padding: 8px 0px 8px 15px;
}

#mail_read .mail_attachment .header {
    display: grid;
    width: 100%;
    grid-template-columns: 80px auto 80px 80px;
    font-weight: bold;
}

#mail_read .mail_attachment .attachment {
    display: grid;
    margin: 0px;
    width: 100%;
    grid-template-columns: 80px auto 80px 80px;
}

#mail_read .attachment div:not(:nth-child(1)), #mail_read .header div:not(:nth-child(1)) {
    background-color: var(--blue-light);
    padding: 4px 4px 4px 15px;
}

#mail_read .attachment div:nth-child(3), #mail_read .header div:nth-child(3) {
    text-align: right;
}

@keyframes highlight {
  0%   {background-color:#939da3; }
  25%   {background-color:#939da3; }
  100% {background-color:#c5d2da; }
}

#mail_read .highlight {
  animation-name: highlight;
  animation-duration: 4s;
}



.btn_normal {
    background-color: #c5d2d9;
    border-radius: 12px;
    padding: 0px 15px 0px 5px;
    cursor: pointer;
    display: inline-block;
    clear: both;
}

.btn_big {
    background-color: #979da8;
    border-radius: 12px;
    cursor: pointer;
    display: inline-block;
    clear: both;

    font-size: 13px;
    color: white;
    font-weight: bold;
    padding: 0 1em 0 0;
    height: 23px;
    min-width: 100px;

    & span:nth-child(2) {
        vertical-align: top;
        line-height: 1.8em;
    }

    & .arrow {
        margin: 2px 0.5em 2px 2px;
        height: 18px;
        width: 18px;
        text-indent: 0.1em;

        border: 1px solid white;
        color: #636363;
        background-color: white;
        border-radius: 50%;
        display: inline-block;
        font-size: 16px;
        font-weight: bold;
        line-height: 1.1em;
    }


}

.left_arrow {
    margin: 5px;
    height: 12px;
    width: 12px;
    text-indent: 0.05em;
    border: 1px solid white;
    color: #636363;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    font-size: 12px;
    line-height: 0.95em;
}

.knap {
    padding: 8px 15px 8px 15px;
    border: 1px solid black;
    border-radius: 3px;
    background-color: silver;
    color: black;
    text-decoration: none;
    min-width: 50px;
}

#lounges_sub_container {
	width: 100%;
	margin: 5px;
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
}

#lounges_sub_container>div {
	width: 22%;
	margin: 0px 3px 3px 0px;
	padding: 8px;
	background-color: var(--blue-light);
	border-radius: 3px;
}

#lounges_sub_container div div:nth-child(1) {
    font-weight: bold;
    margin-bottom: 3px;
}

#lounge_joinpart {
    margin: 1em;
}

#lounge_admin {
    padding: 12px;
    border-left: 1px solid var(--blue-light);
    border-bottom: 1px solid var(--blue-light);
    border-right: 1px solid var(--blue-light);
    display: none;
}

.lounges_suggest_next {
    float: right;
    padding: 2em;
}

#debat_header {
    clear: both;
    margin-top: 3em;
}

#mail_announce {
    position: relative;
    height: 50px;
}

#mail_ikke_mere, #mail_wait {
    position: absolute;
    top: 0;
    left: 0;
    margin: 30px;
    width: 90%;
    text-align: center;
    font-size: medium;
    font-weight: bold;
    display: none;
}

#mail_presence {
    margin-left: 90px;
    display: none;
}

#mail_presence > span {
    font-size: small;
    font-weight: bold;
}
#mail_presence > span {
    background: linear-gradient(to right, #6666ff, #0099ff , #00ff00, #ff3399, #6666ff);
    background-clip: text;
    color: transparent;
    animation: rainbow_animation 4s ease-in-out infinite;
    background-size: 400% 100%;
}

@keyframes rainbow_animation {
    0%,100% {
        background-position: 0 0;
    }

    50% {
        background-position: 100% 0;
    }
}

.validation_highlight {
    background-color: #0efc06;
}

.validation_box {
    padding: 8px;
    width: 4em;
    text-align: center;
}


.table {
	padding: 10px;
	border-radius: 3px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10px, 1fr));
	grid-template-rows: auto;
}

.table[header] {
	background-color: var(--blue-dark) ! important;
}

.table .right {
	text-align: right;
}

.table:nth-child(even) {
	background-color: var(--blue-light);
}

.form input, .form textarea {
	box-sizing: border-box;
	width: 100%;
}

.form p {
	margin: 10px 0px 0px 0px;
	padding: 0;
	font-weight: bold;
}

.form .submit {
	margin: 20px 0px 20px 10px;
}

.lounges_teasers>div {
	margin: 20px 0px 0px 0px;
	float: left;
	min-width: 300px;
	width: 50%;
	box-sizing: border-box;
}

.lounges_teasers>div:first-child {
	padding-right: 10px;
}

.lounges_teasers>div>div[header] {
	padding: 10px;
	border-radius: 3px;
	background-color: var(--blue-dark) ! important;
}

.mail_icon, .mail_username, .mail_status, .mail_date {
	cursor: pointer;
}

/* Dot til lounges f.eks. */
.member_dot {
    margin: 0px 5px 0px 0px;
    height: 6px;
    width: 6px;
    border: 1px solid #989da8;
    border-radius: 50%;
    display: inline-block;
}

.member_dot.active {
    background-color: #989da8;
}


.status_online {
	color: #FCFCFC;
	padding: 1em;
	text-align: center;
	background-color: #A3ABBA;
	width: 160px;
    box-sizing: border-box;

    & .visits_container {
        padding-bottom: 1em;
        display: none;
        
        & > div {
            position: relative;
            height: 2em;

            & > div {
                font-size: 16px;
                font-weight: bold;
                width: 100%;
                text-align: center;
                position: absolute;
                top: 0;
                left: 0;
            }
        }
    }

    & .online_container {
        margin-top: 1em;
        padding-bottom: 1em;
        
        & > div {
            position: relative;
            height: 2em;

            & > div {
                font-size: 16px;
                font-weight: bold;
                width: 100%;
                text-align: center;
                position: absolute;
                top: 0;
                left: 0;
            }
        }
    }

    & .profiles_container {
        padding-bottom: 1em;
        
        & > div {
            position: relative;
            height: 2em;

            & > div {
                font-size: 16px;
                font-weight: bold;
                width: 100%;
                text-align: center;
                position: absolute;
                top: 0;
                left: 0;
            }
        }

        & .disclaimer {
            font-size: 8px;
            text-align: center;
            margin: 5px 10% 0px 10%;
        }
    }
}

#text_emoticons {
    display: flex ! important;
    flex-wrap: wrap;
    width: 100%;
}

#text_emoticons > div {
    min-width: 10%;
    text-align: center;
    padding: 5px;
    flex: 1 1 auto;
    margin: auto;
}



/* Noter */
.notes-grid {
    display: grid;
    gap: 20px;
    padding: 8px;
}

.note-card {
    display: grid;
    grid-template-columns: 125px 1fr;
    gap: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.note-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.note-card {
    & .highlight {
        background-color: pink ! important;
    }
}

.note-image {
    padding: 10px;
    text-align: center;
}

.note-content {
    padding: 10px;
}

.note-header {
    display: grid;
    grid-template-columns: 250px auto;
    align-items: center;
    padding: 10px;
    background-color: var(--blue-dark);
}

.note-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    font-size: 0.9em;
    color: #666;
    padding: 10px;
    background-color: var(--blue-light);
}

.note-text {
    padding: 10px;
    border-radius: 4px;
    position: relative;
    white-space: nowrap;    
}

.note-actions {
    position: absolute;
    top: 5px;
    right: 5px;
}







#infiload_announce {
    position: relative;
    height: 50px;
}

#infiload_ikke_mere, #infiload_wait {
    position: absolute;
    top: 0;
    left: 0;
    margin: 30px;
    width: 90%;
    text-align: center;
    font-size: medium;
    font-weight: bold;
    display: none;
}



/* Forum */
.thread-line {
    margin-bottom: 0.8em;
    display: grid;
    grid-template-areas:
        "dot title created_by created_at"
        ". lounge updated_by updated_at";
    grid-template-columns: 1fr 20fr 10fr 6fr;
}

.thread-line div:nth-child(-n + 4) {
    padding: 0.5rem;
    min-height: 1rem;
}

.thread-line div:nth-child(n+5):nth-child(-n+7) {
    margin-bottom: 0.2rem;
    padding: 0.5rem;
}

.thread-line-dot {
    grid-area: dot;
    padding-left: 1.2em ! important;
    padding-right: 0 ! important;
}

.thread-line-title {
    grid-area: title;
    font-weight: bold;
    cursor: pointer;
}

.thread-line-creator {
    grid-area: created_by;
}

.thread-line-date {
    grid-area: created_at;
}

.thread-line-lounge {
    grid-area: lounge;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thread-line-updater {
    grid-area: updated_by;
    color: gray;
}

.thread-line-updated {
    grid-area: updated_at;
    color: gray;
}




#thread_closed {
    padding: 3em;
    font-weight: bold;
}

#thread_subscribe {
    height: 30px;
    display: grid;
    grid-template-columns: 1fr 14fr;
	background-color: var(--blue-dark);
	color: #636363;
	padding: 0.5em;
    
    & div:nth-child(1) {
        text-align: center;
        padding-top: 0.5em;
    }

    & div:nth-child(2) {
        padding-top: 0.25em;
    }
}

.forum-post {
    margin-bottom: 0.8em;
    margin-top: 0.2em;
    display: grid;
    grid-template-areas:
        "date icon username thumbs number"
        "admin content content content content"
        ". footer footer footer footer";
    grid-template-columns: 3fr 1fr 17fr 3fr 1fr;
}

.forum-post div:nth-child(-n+5) {
    align-items: center;
    padding: 0.5rem;
    min-height: 1rem;
    line-height: 1.2rem;
}

.forum-post div:nth-child(n+6):nth-child(-n+7) {
    margin-bottom: 0.2rem;
    padding: 0.5rem;
}

.forum-post div:nth-child(n+8) {
    margin-bottom: 0.2rem;
    padding: 0.5rem;
}

.forum-post-date {
    grid-area: date;
    text-align: center;
    line-height: 1em ! important;
}

.forum-post-icon {
    grid-area: icon;
    text-align: right;
    padding-left: 2em ! important;
}

.forum-post-username {
    grid-area: username;
    font-weight: bold;
    padding-left: 0 ! important;
}

.forum-post-actions {
    grid-area: thumbs;
}

.forum-post-actions a {
    display: inline-block;
}

.forum-post-actions img {
    margin: 3px;
}

.forum-post-number {
    grid-area: number;
    text-align: right;
    font-weight: bold;
}

.forum-post-hover-info {
    position: relative;
}

.forum-post-admin {
    grid-area: admin;
    padding: 0.2em 0 0 0 ! important;
    text-align: center;
}

.forum-post-admin p {
    margin: 0;
    padding: 0;
}

.forum-post-content {
    grid-area: content;
    padding: 2em ! important;
    white-space: pre-line;
}

.forum-post-likes {
    grid-area: footer;
    text-align: right;
    color: #666;
}

#forum_report a {
    text-decoration: none;
    font-size: xx-small;
}



.lounges-grid {
    display: grid;
    grid-template-columns: 1fr 4fr;
    margin: 0.3em;
}

.lounges-left {
    text-align: right;
    padding: 1em;
    font-weight: bold;
    color: black;
}

.lounges-right {
    padding: 0.8em;
    background-color: var(--blue-light);
}

.lounges-right-line {
    border-top: 1px solid var(--blue-dark);
    padding: 0.9em 1em 1em 1em;
}

.lounges-right-line a {
    padding: 0.3em
}

.lounge-tree {
    border: 1px solid var(--blue-dark);
    list-style: none;
    margin: 0;
    padding: 0 0 2em 0;
}

.lounge-tree ul {
    list-style: none;
    margin: 1.5em;
    padding: 0;
}

.lounge-tree .category {
    padding: 1em 0.5em 0.5em 1em;
    margin-bottom: 1.5em;
    font-weight: bold;
    color: black;
}

.lounge-tree .subcategory {
    font-weight: bold;
    color: black;
    margin: 1.5em 0em 0.5em 0em;
}

.lounge-tree .lounge {
    margin-left: 2em;
    line-height: 1.2em;
}

#lounges_intro {
    margin: 3em;
}

#lounges_common {
    margin: 1em 0em 1em 0em;
    padding: 1em;
    text-align: right;
}

#int1, #int2, #int4, #int5, #int6 {
    font-size: large;
    cursor: pointer;
    opacity: 40%;
    &:hover {
        opacity: 100%;
    }
}

.int_opacity {
    opacity: 100%;
}


#list_info_container {
    border: 1px solid var(--blue-dark);
    padding: 1em;
    position: absolute;
    background-color: white;
    z-index: 9999;

    display: grid;
    grid-template-areas:
        "picture inter_title visit_title write_title"
        "picture inter visit write"
        "picture notes_title notes_title notes_title"
        "picture notes notes notes";
    
    grid-template-columns: auto 1fr 1fr 1fr;
}

#list_info_container div {
    padding: 0.4rem;
    width: 1fr;
}

#list_info_container .picture {
    grid-area: picture;
    padding: 0 ! important;
    max-width: 1fr;
}

#list_info_container .picture img {
    border: 1px solid black;
    max-width: 128px;
    max-height: 100%;
}

#list_info_container .write_title {
    grid-area: write_title;
    font-weight: bold;
    background-color: var(--blue-light);
}

#list_info_container .visit_title {
    grid-area: visit_title;
    font-weight: bold;
    background-color: var(--blue-light);
}

#list_info_container .inter_title {
    grid-area: inter_title;
    font-weight: bold;
    background-color: var(--blue-light);
}

#list_info_container .inter span {
    font-size: large;
    opacity: 40%;
    cursor: pointer;

    &[selected] {
        opacity: 100%;
    }

    &:hover {
        opacity: 100%;
    }
}

#list_info_container .write {
    grid-area: write;
}

#list_info_container .visit {
    grid-area: visit;
}

#list_info_container .inter {
    grid-area: inter;
}

#list_info_container .notes_title {
    grid-area: notes_title;
    background-color: var(--blue-light);
    font-weight: bold;
}

#list_info_container .notes {
    grid-area: notes;
    white-space: nowrap;
}

.list_grid {
    display: grid;
    grid-template-columns: auto 5fr 18fr 5fr 10fr 10fr 10fr auto 8fr;
    grid-template-rows: repeat(auto, 3fr);

    & .highlight {
        background-color: pink ! important;
    }

    & > div {
        padding: 1em;
        cursor: pointer;
    }

    & .date {
    }

    & .icon {
        text-align: right;
        padding-right: 0 ! important;
    }

    & .username {
    }

    & .age {
        text-wrap: nowrap;
        text-align: right;
    }

    & .gender:not([header]) {
        font-size: xx-small;
    }

    & .target {
    }

    & .area {
    }

    & .add2 {
    }

    & .add {
        
    }
}

.list_grid>div:nth-child(18n+1),
.list_grid>div:nth-child(18n+2),
.list_grid>div:nth-child(18n+3),
.list_grid>div:nth-child(18n+4),
.list_grid>div:nth-child(18n+5),
.list_grid>div:nth-child(18n+6),
.list_grid>div:nth-child(18n+7),
.list_grid>div:nth-child(18n+8),
.list_grid>div:nth-child(18n+9) {
  background-color: var(--blue-light);
}

.list_grid > div[header] {
	background-color: var(--blue-dark) ! important;
    margin-bottom: 0.4em;
    font-weight: bold;
    text-wrap: nowrap;
}

.list_grid .right {
	text-align: right;
}



.gallery_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 0.5em;
    gap: 1em;

    & > div {
        padding: 1em;
        cursor: pointer;
    }

    & .picture {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        aspect-ratio: 0.8;
        border-radius: 1em;
        border: 1px solid var(--blue-dark);
    }

    & .details {
        border-radius: 1em;
        background-color: white;
        opacity: 90%;
        padding: 0.5em;
    }

    & .details > div:first-child {
        display: grid;
        grid-template-columns: 1fr 5fr;

        &:hover + div {
            display: grid;
        }
    }

    & .details > div:first-child > div {
        margin: auto 0.5em auto 0;
        font-weight: bold;
    }

    & .details > div:nth-child(2) {
        display: none;
        grid-template-columns: 2fr 5fr;
        margin: 1.5em 0em 1em 0em;
    }

    & .date {
    }

    & .icon {
    }

    & .username {
        overflow: hidden;
    }

    & .age_title {
        font-weight: bold;
    }

    & .age {
    }

    & .gender_title {
        font-weight: bold;
    }

    & .gender {
    }

    & .gender_to_title {
        font-weight: bold;
    }

    & .gender_to {
    }

    & .target {
    }

    & .target_title {
        font-weight: bold;
    }

    & .area_title {
        font-weight: bold;
        margin-bottom: 1em;
    }

    & .area {
        margin-bottom: 1em;
    }

    & .add2 {
        grid-column: 1 / 2;
    }

    & .add {
        grid-column: 1 / 2;
    }
}



/* Lister - dagbøger */
.diary-grid {
    display: grid;
    grid-template-columns: 20% auto;

    & .diary-image {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        aspect-ratio: 0.8;
        border-radius: 1em;
        border: 1px solid var(--blue-dark);
        margin: 0.2em;
    }

    & .diary-content {
        margin: 0em 0em 1em 1em;
    }

    & .highlight {
        background-color: pink ! important;
    }

    & .diary-date {
        text-align: center;
    }

    & .diary-username, .diary-date {
        padding: 1em;
        background-color: var(--blue-dark);
        font-weight: bold;
    }

    & .diary-details {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        font-size: 0.9em;
        color: #666;
        padding: 0.8em;
        background-color: var(--blue-light);
    }

    & .diary-text {
        padding: 0.8em;
        white-space: pre-wrap;
    }

    & .diary-link {
        text-align: right;
        padding: 1em;
    }
}


[data-member-link] {
    cursor: pointer;
}




.autosize {
    display: grid;
}

.autosize::after {
    content: attr(data-replicated-value) " ";
    white-space: pre-wrap;
    visibility: hidden;
}

.autosize > textarea {
    resize: none;
    overflow: hidden;
}

.autosize > textarea, .autosize::after {
    box-sizing: border-box;
    width: 100%;
    padding: 2em;
    min-height: 200px;
    background-color: white;
    color: black;
    font-family: verdana, sans-serif;
    font-size: small;
    grid-area: 1 / 1 / 2 / 2;
}

.write_additional {
    padding: 0.5em;

    & a {
        display: inline-block;
        margin: 0.5em;
    }
}



.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-dialog {
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
}





.upload-area {
    margin-bottom: 20px;
}

.upload-input {
    display: none;
}

.upload-drop-zone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-drop-zone:hover,
.upload-drop-zone.drag-over {
    border-color: #4CAF50;
    background-color: #f0f8ff;
}

.upload-queue {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.upload-file {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
}

.upload-file-info {
    display: flex;
    flex-direction: column;
}

.upload-file-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.upload-file-size {
    font-size: 12px;
    color: #666;
}

.upload-progress {
    width: 200px;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.upload-progress-bar {
    height: 100%;
    background: #4CAF50;
    transition: width 0.3s;
}

.upload-file-status {
    font-size: 12px;
    color: #666;
}

.upload-cancel {
    background: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 20px;
}



.member_icon {
    & > div {
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-template-rows: 1fr 1fr;
        background-color: #4d4d4f;
        border-radius: 1em;
        gap: 0;
        align-items: center;
        height: 1.5em;
        width: 3em;

        & div:first-child {
            max-height: 100%;
            margin-left: 0.5em;
            line-height: 1.4em;
            grid-row: 1 / span 2;
        }

        & div:nth-child(2) {
            height: 0.6em;
            line-height: 0.55em;
            font-size: 0.65em;
            text-align: center;
            color: silver;
        }

        & div:nth-child(3) {
            height: 0.75em;
            line-height: 0.55em;
            text-align: center;
            color: silver;
        }
    }
}



.box_blue_outline {
    padding: 12px;
    border: 1px solid var(--blue-light);
    margin-top: 2.5em;

    & >h1:first-child {
         margin-top: 0;
    }
}

.box_blue_background {
    padding: 2em;
    white-space: pre-line;
	line-height: 1.5em;
	background-color: var(--blue-light);
}

.box_outer_blue_gradient {
	background-image: linear-gradient(var(--blue-dark), var(--blue-light));
}

.box_outer_yellow_gradient {
	padding: 1em 2em 1em 2em;
	border: 1px solid black;
    background-image: linear-gradient(var(--yellow-dark), var(--yellow-light));
}




.lists_suggest {
    border: 1px solid var(--blue-dark);
    padding: 1em;
    position: absolute;
    background-color: white ! important;
    z-index: 9999;
}





.search-details-section {
    margin-top: 3px;
}

.search-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border: 1px solid #C5D2DA;
    border-top: none;

    & > div {
        padding: 1em;
    }

}

.search-options {
    padding: 3px 0 0 10px;
}

.search-options label {
    cursor: pointer;
}

.postal-inputs {
    margin-bottom: 2em;
    padding: 5px;

    & input {
        width: 40px;
    }
}


.search-actions-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding-top: 15px;
}

.search-actions-left {
    text-align: left;
}

.search-actions-right {
    text-align: right;
}

.saved-searches-section {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;

    & .header {
        grid-column: 1 / span 2;
        font-weight: bold;
        background-color: var(--blue-dark);
    }

    & > div {
        display: contents;

        & > div {
            padding: 1em;
            text-align: left;
        }
    }

    & :nth-child(even) {
        text-align: right;
    }

}

#search_noresult {
    padding: 3em;
    text-align: center;
    font-weight: bold;
    display: none;
}

.save-search-container {
    width: 100%;
}

.save-search-header {
    padding: 3px 10px;
    background-color: #e0e0e0;
}

.save-search-input {
    padding: 10px;
}

.save-search-input input {
    width: 400px;
}

.save-search-actions {
    text-align: right;
    padding-top: 5px;
}

/* Profilvisning */
.profile {
    & .inter span {
        font-size: large;
        opacity: 40%;
        cursor: pointer;

        &[selected] {
            opacity: 100%;
        }

        &:hover {
            opacity: 100%;
        }
    }

    & #profile_picture {
        & .picture_container {
            padding: 10px;
            height: 225px;
            width: 100%;
            border-radius: 5px;
            background-color: #c5d2da;

            & img {
                max-width: 100%;
                max-height: 100%;
                border-radius: 5px;
            }
        }
    }

    & #profile_chat {
        margin-top: 2em;

        & a {
            font-weight: bold;
            text-decoration: none;
        }
    }

    & #profile_details {
        margin-top: 1em;
    }

    & #profile_lounges {
        & div {
            font-weight: bold;
        }

        & a {
            padding: 0.7em 0.7em 0.7em 0;

            &[data-common='1'] {
                font-weight: bold;
            }
        }
    }

    #profile_report {
        background-color: var(--blue-light);
        display: flex;

        & div:nth-child(2) {
            width: 70%;
            padding: 25px 0px 10px 20px;

            & a {
                text-decoration: none;
                color: gray;
                font-size: xx-small;
            }
        }
    }

    #profile_fav_note {
        padding: 2em;
        display: flex;

        &>div {
            width: 50%;
        }

        & #profile_favorites > div {
            margin: 1em 0 0 0;
            cursor: pointer;

            & img {
                padding: 0 1em 0 0;
            }
        }

        & #profile_notes {
            & textarea {
                width: 100%;
                border: none;
                overflow: auto;
            }
        }
    }

    .admin_profile_cases {
        & .admin-restore {
            padding: 0.5em 1em 1em 1em;

            & p {
                margin: 1em;
            }
        }

        & .admin-note-none {
            padding: 0.5em 1em 1em 1em;
        }

    }

}


#mail_form {
    & #attach_no {
        & a, input {
            line-height: 30px;
            padding: 8px 8px 8px 0px;
        }
    }

    & #mail_sent {

        & div {
            font-weight: bold;
            color: black;
            text-align: center;
            font-size: large;
            padding: 1em;
        }
    }

    & .mail_write {
        display: grid;
        grid-template-columns: 80% auto;

        & div:nth-child(2) {
            margin: 0px 0px 0px auto;
        }

        & .mail_send_button_container {
            background-color: var(--blue-light);
            border-radius: 15px;
            padding: 10px;
            width: 100px;
        }

        & .bliv_her {
            text-align: center;
            display: grid;
            grid-template-columns: auto 20px auto auto;

            & div {
                align-content: center;
                margin-top: 8px;
            }
        }

        & .bliv_her_tip {
            font-size: xx-small;
            text-align: center;
            margin-top: 10px;
        }

        & .mail_send_button {
            width: 100px;
            height: 30px;
            margin-top: 10px;
            padding-top: 17px;
            background-color: var(--blue-dark);
            border-radius: 15px;
            text-align: center;

            & a:link {
                text-decoration: none;
            }
        }

    }

    & #queue {
        margin: 0px 0px 20px 0px;
    }

}



.diary_container {
    & #diary_subscribe {
        background-color: var(--blue-dark);
        padding: 1em;
    }

    & #diary-container {
        & .diary-item {
            & .diary-header {
                padding: 1em;
                background-color: var(--blue-dark);
                display: flex;
                justify-content: space-between;

                & .diary-date {
                    color: black;
                    padding-top: 3px;
                    font-weight: bold;
                }

                & .diary-actions {
                    text-align: right;

                    & a {
                        margin: 0.5em;
                    }
                }
            }

            & .diary-note {
                padding: 1em 2em 1em 2em;
                border-bottom: 1px solid var(--blue-dark);
            }

            & .diary-text {
                word-wrap: break-word;
                padding: 2em;
                background-color: var(--blue-light);
            }

            & .diary-liketext {
                padding: 1em 2em 2em 2em;
            }
        
        }
    }
}




.guestbook_container {
    & #guestbook_subscribe {
        background-color: var(--blue-dark);
        padding: 1em;
    }

    & #guestbook-container {
        & .guestbook-item {
            margin-bottom: 2em;

            & .guestbook-header {
                padding: 1em;
                background-color: var(--blue-dark);
                display: grid;
                grid-template-columns: 1fr 3fr 1fr;

                & .guestbook-date {
                    font-weight: bold;
                }

                & .guestbook-user {
                }

                & .guestbook-actions {
                    text-align: right;

                    & a {
                        margin: 0.5em;
                    }
                }
            }

            & .guestbook-note {
                padding: 1em 2em 1em 2em;
                border-bottom: 1px solid var(--blue-dark);
                white-space: pre-line;
            }

            & .guestbook-text {
                padding: 2em;
                background-color: var(--blue-light);
            }
        }
    }

    & #guestbook-none {
        padding: 2em;
    }
}


.subscription-teaser {
    border: 1px solid var(--blue-dark);
    padding: 0.5em;

    & .subscription-grid {
        display: grid;
        grid-template-columns: 1fr auto auto auto;
        gap: 3px;
        width: 100%;

        & .header {
            background-color: var(--blue-dark);
            padding: 1em;
            font-weight: bold;
        }

        & .subscription-list-container {
            display: contents;
        }

        & .right {
            text-align: right;
        }

        &>div>div {
            background-color: var(--blue-light);
            padding: 0.5em;
        }
    }
}



#invoice_details {
    text-align: right;
    padding: 3em;
}

#payment_order {
    & .payment_order_container {
        display: contents;
    }


    &   div {
        padding: 1em ! important;
    }
}

#payment_submit {
    float: left;
    padding: 3em;

    & > div {
        margin: 0em 0 3em 0;
    }
}


.profiles_former {
    & > div {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        margin-bottom: 2em;
            

        & > div {
            padding: 1em;
            & div:nth-child(1) {
                font-weight: bold;
            }
        }
    }
}

.profile_notes {
    & > div {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        margin-bottom: 2em;

        & > div {
            padding: 1em;
            & div:nth-child(1) {
                font-weight: bold;
            }
        }
    }
}

.admprofile_sidepanel {

    & .profile_sidepanel {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        margin-bottom: 2em;

        & > div {
            padding: 0.4em;
        }

        & .header {
            background-color: var(--blue-dark);
            grid-column: span 3;
            padding: 1em;
            font-weight: bold;
        }

        & .fakelevel > button {
            margin: 0.3em;
            border: 2px solid silver;
        }

        & .funktioner > button {
            margin: 0.3em;
            border: 2px solid silver;
        }

    }

    & .profile_doubles {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        margin-bottom: 2em;

        & > div {
            padding: 0.6em;
        }

        & .m1 {
            font-weight: bold;
        }

        & .header {
            background-color: var(--blue-dark);
            grid-column: span 5;
            padding: 1em;
            font-weight: bold;
            
        }
    
    }
}

.admprofile_birthdays {

    & .profile_birthdays {
        display: grid;
        grid-template-columns: 1fr 3fr 1fr;
        margin-bottom: 2em;

        & > div {
            display: contents;
        }

        & > div > div {
            padding: 0.4em;
        }

        & .header {
            background-color: var(--blue-dark);
            padding: 1em;
            font-weight: bold;
        }

        & .funktioner > button {
            margin: 0.3em;
            border: 2px solid silver;
        }

    }
}

.admprofile_debat {

    & .debat_list {
        display: grid;
        grid-template-columns: 1fr 3fr 1fr;
        margin: 2em 0 2em 0;

        & > div {
            display: contents;
        }

        & div[data-debat='reason'] {
            margin-bottom: 2em;
        }

        & > div > div {
            padding: 0.4em;
        }

        & .header {
            background-color: var(--blue-dark);
            padding: 1em;
            font-weight: bold;
        }

        & .funktioner > button {
            margin: 0.3em;
            border: 2px solid silver;
        }
    }
}


.grid-c2 {
    grid-column: span 2;
}

.grid-c3 {
    grid-column: span 3;
}

.grid-c4 {
    grid-column: span 4;
}

.right {
	text-align: right;
}

[onclick] {
    cursor: pointer;
}


.form-setup {
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap: 1em;
    margin: 2em 0 1em 0;

    & input {
        width: 100%;
    }

    & div:nth-child(odd) {
        font-weight: bold;
    }
}