body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0px;
    padding: 0px;
}

body * {
    box-sizing: border-box;
}

body, input, textarea, select, button, .tox {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 14px;
    line-height: 24px;
}

a {
    color: #4fa679;
}

a:hover {
    color: #70c79a;
}

.main-wrapper {
    flex: 1;
}

.header {
    position: relative;
    text-align: center;
    margin-top: 30px;
}

.ps-in .header {
    max-width: 1200px;
    margin: auto;
    margin-top: 30px;
    padding: 0px 20px;
    text-align: left;
}

.logo {
    width: 45%;
    height: auto;
    max-width: 280px;
    user-select: none;
}

.ps-in .logo {
    width: 200px;
}

.menubar {
    position: absolute;
    right: 20px;
    text-align: right;
    top: 50%;
    transform: translateY(-50%);
}

.menubar ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    user-select: none;
}

.menubar ul li {
    display: inline-block;
    margin-left: 7px;
}

.menubar ul li a {
    text-decoration: none;
}

.menubar ul.menu-user {
    margin-top: 10px;
}

.menubar ul.menu-user li {
    margin-left: 5px;
}

.menu-launcher {
    font-size: 32px;
    color: #4fa679;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
}

.menubar-resp {
    display: none;
    padding: 20px;
    background-color: #f7f7f7;
    text-align: right;
    user-select: none;
    margin: auto;
    width: 95%;
}

.menubar-resp ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.menubar-resp ul li a {
    text-decoration: none;
}

.menubar-resp ul.menu-user {
    margin-top: 20px;
}

.menubar-resp  ul.menu-user li {
    display: inline-block;
    margin-left: 7px;
}

.menubar-resp ul.menu-user li a {
    font-size: 14px;
}

@media screen and (max-width: 800px) {

    .ps-in .logo {
        width: 160px;
    }

    .menubar {
        display: none;
    }

    .menu-launcher {
        display: inline-block;
    }

}

.page-box {
    background-color: #f6f6f6;
    background-color: #ffffff;
    padding: 20px;
    margin: auto;
    margin-top: 20px;
    max-width: 1200px;
    width: 95%;
}

.sidebar {
    width: 200px;
    float: left;
}

.side-container {
    margin-left: 260px;
}

.sidebar ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.sidebar ul li {
    margin-bottom: 3px;
}

.sidebar ul li a {
    display: block;
    padding: 5px;
    color: #4fa679;
    font-weight: bold;
    text-decoration: none;
}

.sidebar ul li a:hover, .sidebar ul li a.active {
    text-decoration: none;
    background-color: #ffffff;
    color: #444444;
    border-radius: 5px;
}



.sign-box {
    background-color: #f6f6f6;
    padding: 20px;
    margin: auto;
    margin-top: 20px;
    width: 100%;
    max-width: 540px;
}

.sign-link {
    margin-left: 10px;
}

.footer {
    margin-top: 30px;
    color: #777777;
    text-align: center;
    font-size: 14px;
    padding: 0px 20px 20px 20px;
}

ul.footer-links {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

ul.footer-links li {
    display: inline-block;
    margin: 0px 7px;
}

.credits {
    margin-top: 10px;
    font-size: 12px;
}

.success {
    display: none;
}

.form-wrapper {
    display: flex;
    align-items: flex-start;
}

.form-sidebar {
    width: 200px;
    margin-left: 20px;
    margin-top: 15px;
    padding: 20px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e4e4e4;
}

.form-sidebar .btn {
    width: 100%;
    margin-bottom: 10px;
}

.title-panel-left {
    float: left;
    width: 30%;
}

.title-panel-left h2, .title-panel-left h3 {
    margin: 0px;
    margin-top: 7px;
}

.title-panel-right {
    float: right;
    width: 60%;
    text-align: right;
}

@media screen and (max-width: 800px) {

    .title-panel-left, .title-panel-right {
        float: none;
        width: 100%;
    }

    .title-panel-right {
        text-align: left;
        margin-top: 20px;
    }

}

.search-results {
    margin-top: 20px;
}

.tbl-wrapper {
    overflow: auto;
}

.tbl {
    width: 100%;
    border: 0px;
}

.tbl-head td {
    font-weight: bold;
}

.tbl td {
    padding: 5px;
    vertical-align: top;
}

.tbl-row:nth-child(even) {
    background-color: #ffffff;
}

.small {
    font-size: 14px;
    color: #777777;
}

.nf {
    width: 100%;
    max-width: 400px;
    margin: auto;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.nf-code {
    font-size: 48px;
    font-weight: bold;
    color: #e4e4e4;
}

.nf-title {
    font-weight: bold;
    font-size: 24px;
    margin-top: 30px;
}

.nf-info {
    margin-top: 30px;
}

.user-info, .conversation-info, .story-info {
    border: 1px solid #e4e4e4;
    margin-bottom: 10px;
    cursor: pointer;
}

.su-results, .sc-results, .ss-results {
    margin-top: 20px;
    padding-right: 20px;
    max-height: 400px;
    overflow: auto;
}

.su-item, .sc-item, .ss-item {
    cursor: pointer;
    border: 1px solid #e4e4e4;
    border-radius: 3px;
    margin-bottom: 10px;
    padding: 10px;
}

.su-item:hover, .sc-item:hover, .ss-item:hover {
    background-color: #fafafa;
}

.su-item-picture {
    float: left;
    width: 100px;
}

.su-item-info {
    margin-left: 100px;
}

.badge-right {
    text-align: right;
}

.user-badge {
    display: inline-flex;
    align-items: center;
    white-space: no-wrap;
}

.user-badge-content {
    margin-left: 10px;
    line-height: 20px;
}

.user-badge-nickname {
    font-size: 14px;
    font-weight: bold;
}

.user-badge-info {
    margin-top: 5px;
    font-size: 12px;
    color: #777777;
}

.story-wrapper {
    margin-top: 40px;
}

.story-location-wrapper {
    margin-top: 40px;
}

.set-location-map {
    height: 400px;
}

.story-location-map {
    height: 300px;
}

.story-location-info {
    font-style: italic;
    text-align: center;
    margin-top: 10px;
}

.form-left {
    float: left;
    width: 49%;
}

.form-right {
    float: right;
    width: 49%;
}

@media screen and (max-width: 800px) {

    .form-left, .form-right {
        float: none;
        width: 100%;
    }

    .badge-right {
        text-align: left;
        margin-bottom: 40px;
    }

}

.inner-wrapper {
    background-color: #ffffff;
    padding: 10px;
}

.cookies-notice {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    padding: 20px;
    background-color: rgba(79, 166, 121, 0.9);
    background-color: rgba(100, 100, 100, 0.9);
    text-align: center;
    color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    z-index: 10000;
}

.cookies-notice a, .cookies-notice a:hover {
    color: #ffffff;
}

.preview-wrapper {
    width: 100%;
    max-width: 900px;
    margin: auto;
}

img.picture {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 20px auto;
}

.video-wrapper {
    max-width: 560px;
    max-height: 315px;
    margin: 20px auto;
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    width: 100%;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.qr-code canvas {
    cursor: pointer;
}

.story-items {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}

.story-item {
    width: 49%;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 3px;
    margin-bottom: 20px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.story-item-picture {
    position: relative;
    cursor: pointer;
}

.story-item-picture img {
    display: block;
    width: 100%;
    height: auto;
}

.story-item-title-wrapper {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    padding: 10px;
}

.story-item-title {
    font-weight: bold;
}

.story-item-date {
    color: #444444;
}

.story-item-location {
    font-style: italic;
    text-align: center;
    font-size: 14px;
    color: #777777;
    margin-top: 10px;
}

.story-item-toolbar {
    text-align: center;
    margin-top: 10px;
    color: #777777;
    user-select:none;
}

.story-item-toolbar ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.story-item-toolbar ul li {
    display: inline-block;
    margin: 0px 3px;
}

.story-item-toolbar ul li i {
    font-size: 16px;
}

.story-item-portal-content {
    text-align: center;
    cursor: pointer;
}

.story-item-num-views {
    font-size: 14px;
}

@media screen and (max-width: 760px) {

    .story-item {
        width: 100%;
    }
    
}

ul.map-filters {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

ul.map-filters li {
    display: inline-block;
    margin-right: 5px;
}

ul.map-filters li a {
    display: block;
    background-color: #e4e4e4 !important;
    padding: 7px 15px;
    text-align: center; 
    border-radius: 15px;
    text-decoration: none;
}

ul.map-filters li a:hover {
    background-color: #dcdcdc !important;
    color: #4fa679 !important;
}

ul.map-filters li a.active {
    background-color: #4fa679 !important;
    color: #ffffff !important; 
}

.my-map {
    height: 600px;
    margin-top: 20px;
}

.icon-up {
    display: none;
    position: fixed;
    right: 5px;
    bottom: 30px;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
}

.grecaptcha-badge {
    bottom: 80px !important;
}

.gallery-manager-item {
    float: left;
    width: 220px;
    border: 1px solid #e4e4e4;
    border-radius: 3px;
    background-color: #ffffff;
    padding: 10px;
    box-sizing: border-box;
    margin-right: 15px;
    margin-bottom: 15px;
}

.gallery-manager-item-checked {
    background-color: #f6f6f6;
}

.gallery-manager-item-handle {
    height: 25px;
    cursor: move;
}

.gallery-manager-item-image img {
    width: 100%;
    height: auto;
}

.gallery-manager-item-title {
    height: 25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    color: #777777;
    font-size: 14px;
    line-height: 25px;
}

.gallery-manager-item-icons {
    text-align: right;
}

.gallery-manager-item-icons .icon {
    font-size: 16px;
    margin-left: 5px;
}

.gallery-manager-item-cb {
    float: left;
}

.gallery-items {
    margin-top: 30px;
    text-align: center;
}

.gallery-item {
    width: 216px;
    display: inline-block;
    margin-left: 12px;
    margin-right: 12px;
    margin-bottom: 24px;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
}

.portal-wrapper {
    width: 95%;
    max-width: 1200px;
    margin: auto;
    margin-top: 5px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.portal-column {
    width: 24%;
    background-color: #ffffff;
    padding: 5px;
    box-sizing: border-box;
    margin-bottom: 20px;
    align-self: stretch;
}

.portal-column h2 {
    font-size: 16px;
    margin: 20px 0px;
}

.portal-column-title-wrapper {
    display: flex;
    align-items: center;
}

.portal-column-title {
    flex: 1;
}

@media screen and (max-width: 1200px) {

    .portal-column {
        width: 49%;
    }
    
}

@media screen and (max-width: 640px) {

    .portal-column {
        width: 100%;
    }
    
}

.card {
    background-color: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    margin: 0px 0px 20px 0px;
    padding: 0px;
    overflow: hidden;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.portal-item .story-item-title {
    margin-top: 5px;
    padding: 0px 10px;
    text-align: left;
}

.portal-item .story-item-date {
    padding: 0px 10px;
    font-size: 12px;
    text-align: left;
}

.portal-item .story-item-toolbar {
    padding: 0px 10px;
    margin-bottom: 10px;
    font-size: 12px; 
    display: flex;
}

.portal-item .story-item-toolbar ul {
    flex: 1;
    text-align: right;
}

.portal-item .story-item-toolbar .icon {
    font-size: 14px; 
    color: #777777;
}

.portal-stories .story-item {
    width: 100%;
}

.portal-column-footer {
    margin-top: 20px;
}

.portal-column-footer a {
    background-color: #f6f6f6;
    border-radius: 4px;
    padding: 15px;
    text-align: center;
    color: #000000;
    text-decoration: none;
    display: block;

}

.friend-item {
    padding: 10px;
    text-align: center;
    line-height: 14px;
}

.friend-item-picture img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: block;
    margin: auto;
}

.friend-item-nickname {
    font-weight: bold;
    margin-top: 6px;
}

.friend-item-info {
    color: #777777;
    font-size: 12px;
    margin-top: 5px;
}

.message-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 15px;
}

.message-item-picture {
    width: 50px;
}

.message-item-picture img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: block;
}

.message-item-no-picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: orange;
    color: #ffffff;
    text-align: center;
    line-height: 50px;
    font-family: Arial, sans-serif;
    font-size: 26px;
    font-weight: bold;
    user-select: none;
}

.message-item-content {
    flex: 1;
    line-height: 20px;
}

.message-item-nickname {
    font-weight: bold;
}

.message-item-unread {
    font-size: 14px;
    color: red;
    margin-left: 7px;
}

.message-item-date {
    font-size: 12px;
}

.message-item-story-title, .message-item-conversation-title {
    color: #777777;
    font-size: 12px;
}

.messages-list {
    margin-top: 20px;
}

.message-header-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 10px;
}

.message-header-wrapper .message-header {
    flex: 1;
}

@media screen and (max-width: 640px) {

    .message-header-wrapper {
        display: block;
    }
  
}

.conversation-message {
    margin-bottom: 20px;
    background-color: #ffffff;
    border: 1px solid #e4e4e4;
    padding: 20px;
}

.message-list-item {
    padding: 20px;
}

.message-header {
    margin-bottom: 10px;
}

.message-nickname {
    font-weight: bold;
}

.message-date {
    margin-left: 20px;
}

.messages-unread {
    color: red;
    
}

ul.simple-list {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.dialog-label-wrapper {
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
}

.dialog-label-content {
    flex: 1;
}

.dialog-label-content .lbl {
    margin-bottom: 0px;
}

@media screen and (max-width: 600px) {

    .dialog-label-wrapper {
        display: block;
    }
  
}

.clear {
    clear: both;
}