/*body {*/
/*    margin: 0; !* Removes default margin *!*/
/*    padding: 0; !* Removes default padding *!*/
/*    font-family: Arial, sans-serif; !* Sets default font family *!*/
/*    background-color: lightsteelblue;*/
/*    color: sienna; !* Default text color for readability *!*/
/*    line-height: 1.3; !* Improves text readability *!*/
/*    background-image: url(https://nilssvihus.com/system-images/background-01.gif);*/
/*}*/
:root {
    --primary-color: blue;
    --background-color: white;
    --nav-and-foot-background-color: #ace9f0;
    --nav-and-foot-text-color: black;
    --nav-and-foot-text-hover-color: #feb47b;
    --nav-and-foot-text-active-color: #feb47b;
    --nav-and-foot-text-font-size: 14px;
    --nav-and-foot-text-font-weight: bold;
    --nav-and-foot-text-font-family: Arial, sans-serif;
    --nav-and-foot-text-line-height: 1.3;
    --nav-and-foot-text-padding: 10px;
    --nav-and-foot-text-margin: 0;
    --nav-and-foot-text-border-radius: 4px;
    --explorer-background-color: violet;
    --explorer-image-background-color: cadetblue;
    --album-box-background-color: #ccc ;
    --explorer-image-box-border-color: black;
    --explorer-image-box-border-width: 1px;
    --explorer-image-box-border-style: solid;
    --explorer-image-box-border-radius: 4px;
    --explorer-image-box-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --explorer-image-box-padding: 10px;
    --explorer-image-box-margin: 10px;
    --container-background-color: #ebeddb;
    --container-border-color: #ccc;
    --container-border-width: 1px;
    --container-border-style: solid;
    --container-border-radius: 4px;
    --container-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --container-padding: 10px;
    --container-margin: 10px;
    --container-max-width: 1200px;
    --container-min-width: 320px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    /*overflow: hidden;  Prevents body scrolling
    background: url(http://localhost/image-store/system-images/saftergodt.png);*/
    background-color:  var(--container-background-color);
    font-family: Arial, sans-serif;
}
.board-wrapper {
    float: left;
    background-color: yellow;
}
.new-container {
    /*display: flex;*/
    /*flex-direction: column;*/
    float: left;
    background: var(--container-background-color);
    overflow-y: auto;
}
.fixed-line {
    position: fixed;
    bottom: 50px;
    left: 0;
    width: 100%;
    height: 35px;

    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
}
.image-thumb-mini {
    height: 35px;
    width: 35px;
    margin: 0 2px;
    padding: 0;
    float: left;
    cursor: pointer;
    display: none;
}
.centered-image {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fixed-top-center {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -10%);
}
.fixed-bot-center {
    position: fixed;
    bottom: 20%;
    left: 50%;
    text-align: center;
    align-content: center;
    font-size: 16px;
    color: #575757;
    font-weight: bold;
    font-style: italic;
    transform: translate(-50%, -20%);
}

.new-top, .new-foot {
    background: var(--explorer-background-color);
    color: white;
    text-align: center;
    padding: 0;
    position: fixed;
    width: 100%;
}
#hover-text {
    position: fixed;
    background: #ced4da;
    color: black;
    padding: 5px 10px;
    border-radius: 5px;
    width: 154px;
    font-size: 14px;
    white-space: normal;         /* Allow text to wrap */
    overflow-wrap: break-word;   /* Break long words if necessary */
    display: none;
    z-index: 1000;
}

.new-top {
    top: 0;
    z-index: 1000; /* Ensures it's above other elements */
}

.new-foot {
    bottom: 0;
    color: var(--nav-and-foot-text-color);
    background-color: var(--nav-and-foot-background-color);
}

.new-main {
    flex: 1;
    overflow-y: auto; /* Enables scrolling inside the main section */
    margin-top: 20px; /* Adjust based on .top height */
    margin-bottom: 10px; /* Adjust based on .foot height */
    padding: 15px;
    background: transparent;
}
h1 {
    color: sienna;
}
h2 {
    color: sienna;
}
h3 {
    color: sienna;
}
.site-button {
    width: 160px;
    height: 22px;
    background-color: #007bff;
    margin-left: 5px;
    color: white;
    border: none;
    padding: 3px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#popup-large-button {
    background-image: url(https://nilssvihus.com/image-store/system-images/camera-30-30.png);
    height: 22px;
    width: 22px;
    /*background-image: url('../bloghog-div/layout/btn-images-only.png'); /* Replace with the actual image URL */*/
background-size: cover; /* Ensures the image covers the entire element */
    background-position: center; /* Centers the image within the element */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    margin-top: 12px;
    margin-left: 45px;
    margin-bottom: 5px;
    cursor: pointer;
    display: none;
}
/*#album-grid-button {*/
/*    background-image: url(https://nilssvihus.com/image-store/system-images/btn-images-only.png);*/
/*    height: 22px;*/
/*    width: 22px;*/
/*    !*background-image: url('../bloghog-div/layout/btn-images-only.png'); !* Replace with the actual image URL *!*!*/
/*    background-size: cover; !* Ensures the image covers the entire element *!*/
/*    background-position: center; !* Centers the image within the element *!*/
/*    background-repeat: no-repeat; !* Prevents the image from repeating *!*/
/*    margin-top: 12px;*/
/*    margin-left: 45px;*/
/*    margin-bottom: 5px;*/
/*    cursor: pointer;*/
/*    display: none;*/
/*}*/
.site-button:hover {
    background-color: #0069d9;
}
.site-button:active {
    background-color: #0062cc;
}
.site-button:focus {
    outline: none;
}
.container {
    /*max-width: 1200px;^/
    margin: 0 auto; /* Centers the content */
    padding: 0px;


}
.image-thumb {
    width: 154px;
    height: 154px;
    margin: 0;
    padding: 0;
    float: left;
    cursor: pointer;
}
.image-thumb-container {
    width: 156px;
    height: 156px;
    margin: 6px;
    /*border: 1px solid #ced4da;*/
    /*border-radius: 4px;*/
    /*padding: 3px;*/
    /*margin-right: 10px;*/
    cursor: pointer;
    float: left;
}
.image-thumb-footer {
    width: 156px;
    /*height: 20px;*/
    text-align: center;
    font-size: 14px;
}
.album-box {
    float: left;
    height: 190px;
    width: 154px;
    border: 1px solid white;
    margin: 5px;
    font-size: 12px;
    padding: 2px;
    border-radius: 5px;
    background-color: var(--album-box-background-color);
    box-shadow: 5px 5px 3px 0  rgba(0, 0, 0, 0.75);
    /*justify-content: center;*/
    align-items: center;
    cursor: pointer;
}
.album-box-footer {
    text-align: center;
    align-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #222222;
}

.scrollable-div {
    max-height: 200px; /* Adjust the height as needed */
    overflow-y: auto; /* Enables scrolling for vertical overflow */
    overflow-x: hidden; /* Prevents horizontal scrolling */
    padding: 10px; /* Optional padding */
    border: 1px solid #ccc; /* Optional border to distinguish the div */
    background-color: #fff; /* Optional background color */
}
/**
panels
 */
.sidebar {
    float: left;
    width: 160px;
    max-height: 900px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    background-color: #330616;
    border-right: 1px solid #ccc;
    padding-right:30px;
}
.main-panel {

    /* margin-left: 160px;*/
    height: calc(100% - 35px);
    overflow-y: auto;
    position: relative;
    color: bisque;
    padding: 12px;
}
.fuck-you-ass {
    float:left;
    margin-top: 10px;
    width: 100%;
}
.intro-page {
    width: 538px;
    height: 452px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9); /*  Slightly transparent white */
    border-radius: 10px; /* Adds rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Adds a subtle shadow */
    padding: 20px; /* Optional padding for content inside the box */
    display: flex; /* Allows flexible content alignment */
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
    box-sizing: border-box; /* Ensures padding doesn't affect the width/height */
}
/*.intro-page {*/
/*    height: calc(100% - 35px);*/
/*    width: 100%;*/
/*    display: flex;*/
/*    align-content: center;*/
/*    overflow-y: auto;*/
/*    font-size: 14px;*/
/*    font-style: italic;*/
/*    text-align: center;*/
/*    margin-top: 180px*/
/*}*/
.center-wrapper {
    width: 600px;
    height: 500px;
    position: absolute;
    padding: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.7); /* Light transparency */
    backdrop-filter: blur(5px); /* Blurred effect */
    -webkit-backdrop-filter: blur(5px); /* For Safari support */
    /*background-color: burlywood; !* Optional background color *!*/
    color: black ;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional shadow for styling */
    border: 1px solid #ccc; /* Optional border */
    border-radius: 20px;
    box-sizing: border-box;
    cursor: pointer;
}

.main-footer {
    position: absolute; /* Ensures the footer is contained within the parent div */
    bottom: 0; /* Aligns the footer to the bottom of the parent div */
    left: 0;
    height: 45px; /* Sets the height of the footer */
    width: 100%; /* Makes the footer span the full width of the parent div */
    background-color: sienna; /* Matches the footer's background color */
    border-top: 1px solid #ccc; /* Adds a border to separate it from the content */
    color: darkkhaki; /* Ensures the text is readable */
    padding-top: 2px; /* Adds spacing inside the footer */
    padding-bottom: 5px;
    box-sizing: border-box; /* Ensures padding doesn't affect width/height */
    display: flex;
}
#main-footer-info {
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 15px;
    padding: 3px;
    font-size: 15px;
    font-weight: bold;
    color: blue;
}
#main-footer-info:hover {
    color: sienna;
}
#main-footer-album-name {
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 15px;
    padding: 3px;
    font-weight: bold;
    font-size: 15px;
    color:blue;
}
#album-about {
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 15px;
    padding: 3px;
    cursor: pointer;
    color: mediumvioletred;
}
#album-about:hover {
    color: red;
}
#main-footer-album-name:hover {
    color: sienna;
}
#main-footer-album-name-area {}
#main-footer-controls-area {
    float: left;
    height: 28px;
    width: 87%;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 5px;
    padding: 2px;
    text-align: center;
    font-size: 14px;
    color:  var(--nav-and-foot-text-color);
    display: flex;
    justify-content: center;
    background-color: var(--nav-and-foot-background-color);

}
#logo {
    float: right;
    font-size: 12px;
    padding: 7px 7px 0 0;
    font-style: italic;
    color: darkslategray;
}

#my-video {
    width: 80%;   /* Adjust the width to 80% of the window */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%;  /* Prevent it from being too large */
}
#footer-message-area {
    float: left;
    height: 100%;
    margin-left: 10px;
    margin-right: 10px;

    text-align: left;
    font-size: 14px;
    color:  var(--nav-and-foot-text-color);
    display: block;
}
.popup-panel {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: black;
    padding: 2px;
    box-shadow: 10px 10px 5px 0  rgba(0, 0, 0, 0.75);
    cursor: pointer;
    border-radius: 5px;
}
.popup-button {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 30px;
    height: 30px;
    background: cornflowerblue; /* Adjust color as needed */
    display: none;
    cursor: pointer;
    border-radius: 5px;
}
.popup-button-album-add {
    position: absolute;
    top: 2px;
    right: 34px;
    width: 30px;
    height: 30px;
    background: chartreuse;/* Adjust color as needed */
    display: none;
    cursor: pointer;
    border-radius: 5px;
}
.popup-button-image-story {
    position: absolute;
    top: 2px;
    right: 66px;
    width: 30px;
    height: 30px;
    background: #eeeed2; /* Adjust color as needed */
    display: none;
    cursor: pointer;
    border-radius: 5px;
}

.popup-panel:hover .popup-button {
    display: block;
}
.popup-panel:hover .popup-button-album-add {
    display: block;
}
.popup-panel:hover .popup-button-image-story {
    display: block;
}

.popup-tale {
    display: none;
    position: fixed;
    top: 50%;
    right: 50px; /* Stay fixed to the right of the popup-panel */
    transform: translateY(-50%);
    background: black;
    padding: 2px;
    box-shadow: 10px 10px 5px 0 rgba(0, 0, 0, 0.75);
    cursor: pointer;
    border-radius: 5px;
}
.popup-image-story-area {
    width: 100%;
    display: none;
}

.responsive-button {
    display: inline-block;
    padding: 8px 12px; /* Adjust for desired size */
    font-size: 14px;
    font-family: Arial, sans-serif;
    color: white;
    background-color: #007bff; /* Blue background */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease; /* Smooth hover effect */
}

.responsive-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: scale(1.05); /* Slight enlargement on hover */
}

.responsive-button:active {
    background-color: #004095; /* Even darker blue when clicked */
    transform: scale(0.98); /* Slight reduction for click effect */
}

.responsive-button:focus {
    outline: none; /* Remove the default outline */
    box-shadow: 0 0 4px #0056b3; /* Add a focus glow effect */
}

@media (max-width: 768px) {
    .responsive-button {
        font-size: 12px; /* Reduce font size for smaller screens */
        padding: 6px 10px;
    }
}

/**
NAVIGATION
 */
nav {
    position: relative;
    background-color: sienna;
    line-height: 20px;
}
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #ebeddb;

}

nav ul li {
    float: left;
}

nav ul li a {
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav ul li a:hover {
    background-color: white;
}

nav ul li ul {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    z-index: 1;
}

nav ul li ul li {
    float: none;
}

nav ul li ul li a {
    padding: 12px 16px;
}

nav ul li ul li a:hover {
    background-color: #ace9f0;
}

nav ul li:hover ul {
    display: block;
}
footer {
    margin-top: 20px;
    text-align: center;
    padding: 10px 0;
    background-color: #343a40;
    color: white;
    font-size: 0.875rem;
    border-radius: 4px;
}