/* =========================================================================
   1. Global
   ========================================================================= */
   * {
    scrollbar-width: thin;
    scrollbar-color: #aaa #f1f1f1;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ================================
   2. HTML & Body
   ================================ */
html, body {
    height: 100vh;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url(image/wallpaper.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    font-family: "Segoe IU","Noto Sans";
    font-size: 14px;
    margin: 0;
    overflow: hidden;
}

html, body, .main {
    height: 100%;
}

.main {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ================================
   3. Desktop Icons
   ================================ */
.icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 40px);
    z-index: 1;
}

.desktop-icon {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    height: 70px;
    text-align: center;
    cursor: pointer;
    color: white;
    font-family: "Segoe IU","Noto Sans";
    font-size: 11px;
    text-shadow: 1px 1px 2px black;
    padding: 5px;
    border-radius: 2px;
    border: 1px solid transparent;
}

.desktop-icon:hover {
    background-color: rgba(132, 224, 240, 0.2);
    outline: 1px solid rgba(111,187,200,0.2);
}

.desktop-icon:active {
    background-color: rgba(132, 224, 240, 0.3);
    outline: 1px solid rgba(111,187,200,0.3);
}

.desktop-icon img {
    width: 42px;
    height: 42px;
    display: block;
    margin: 0 auto 6px;
    filter: drop-shadow(black 1px 0px 0px) drop-shadow(black -1px 0px 0px) drop-shadow(black 0px 1px 0px) drop-shadow(black 0px -1px 0px) drop-shadow(rgba(0, 0, 0, 0.8) 2px 2px 4px);
}

.desktop-icon span {
    color: white;
    text-shadow: 1px 1px 2px black;
    font-size: 11px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    width: 100%;
    display: block;
    line-height: 1.2;
    padding: 0 2px;
}

.desktop-icon.selected {
    background-color: rgba(132, 224, 240, 0.4);
    border: 1px dotted rgba(255, 255, 255, 0.7);
    outline: 1px solid rgba(111,187,200,0.3);
}

/* ================================
   4. Window Styling
   ================================ */
.window {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 50%;
    height: 70%;
    min-width: 250px;
    min-height: 200px;
    padding: 0 5px 2px 5px;
    border-radius: 6px;
    box-shadow: 2px 3px 5px black,
         inset -1px -1px 0px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px) saturate(130%);
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    border: 1px solid rgba(236,242,249,0.7);
    outline: rgba(28, 49, 39,0.5) solid 1px;
    position: absolute;
    left: 20%;
    top: 10%;
    cursor: default;
    overflow: hidden;
    background-image: url('image/post-385423-0-61567900-1390053212.png'); 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed; 
    resize: both;
}

.window.active-window {
    box-shadow: 3px 4px 8px black,
         inset -2px -2px 0px rgba(71,209,241,0.8);
    border: 1px solid rgba(236,242,249,0.9);
  }
  
  .window:not(.active-window) .btn {
    box-shadow: none;
    background-image: none;
    background: transparent;
    border: 1px solid rgb(255,255,255,0.4);
  }

/* ================================
   5. Window Topbar
   ================================ */
#topbar {
    display: flex;
    justify-content: space-between;
}

#left {
    padding-left: 1px;
    margin-top: 3px;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: center;
}

#left p {
    text-shadow: 0px 0px 8px white;
    margin: 0 0 2px 0;
}

#left img {
    width: 16px;
    height: 16px;
    padding-right: 3px;
}

/* ================================
   6. Window Controls (Buttons)
   ================================ */
.buttons {
    display: flex;
    justify-self: center;
    height: 18.5px;
    border-radius: 0 0 5px 5px;
    outline: rgb(255,255,255,0.75) solid 1px;
    margin-right: 1px;
}

.border {
    border: 1px solid #232c37;
    height: 18px;
    margin-top: 0;
    padding-top: 0;
    border-style: none solid solid solid;
    display: flex;
}

.one {
    border-radius: 0 0 0 7px;
    margin-right: -1px;
}

.three {
    border-radius: 0 0 7px 0;
    margin-left: -1px;
}

.btn {
    border: 1px solid rgb(255,255,255,0.75);
    box-shadow:
        inset 0px 11px 8px -10px rgb(255,255,255,0.4),
        inset 0px -11px 8px -10px rgb(255,255,255,0.75);
    padding: 0;
    margin-top: 0;
}

.close {
    border-radius: 0 0 4px 0;
    width: 50px;
    background-image: linear-gradient(#dea8a0 45%,#bc4837 50%);
}

.max {
    width: 30px;
    background-image: linear-gradient(#b5cae5 45%,#7595bb 50%);
    padding: 0;
}

.mini {
    width: 30px;
    border-radius: 0 0 0 4px;
    background-image: linear-gradient(#b5cae5 45%,#7595bb 50%);
}

.close:hover,
.max:hover,
.mini:hover {
    filter: contrast(120%);
    cursor: pointer;
}

.btn:active {
    filter: brightness(90%);
}

.max:hover,
.mini:hover {
    background-image: linear-gradient(#b5cae5 45%,#2a78a6 50%);
    box-shadow: 0px 0px 10px 0px #2c949e;
}

.close:hover {
    box-shadow: 0px 0px 20px 0px rgba(255, 0, 0, 0.8);
}

/* ================================
   7. Window Content
   ================================ */
.content {
    background-color: #f0f0f0;
    margin: 3px;
    align-self: center;
    border: 1px solid #484848;
    outline: #d3e0f0 solid 1px;
    padding: 2px 5px 0 5px;
    flex: 1 1 auto;
    overflow-y: scroll;
    min-height: 0;
    width: 100%;
    box-sizing: border-box;
}

.content p {
    margin: 0;
    padding: 20px;
}

.content img {
    max-width: 80%;
    height: auto;
    display: block;
}

.top_content{
    height: 30px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 10px 3px 0 0;
}

.path_b{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 70px;
    height: 35px;
    position: relative;
    margin:0 4px 0 0;
    background-image: url(image/TRAVEL_BG1.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size:contain;

    /* border:1px solid black; */
}

.path_b img{
 margin:0 1px 0 2px;
 width: 24px;
 height: 24px;

 /* border:1px solid black; */
}

.nav_buttons{
   display: flex;
   flex-direction: row;
}

.rec_vis{
    /* border:1px solid black; */

    width: 50px;
    height: 19px;
    padding: 0;
    margin:0;
}


.path_b img:hover{
    filter: contrast(130%);
}


.top_content .path{
    width: 70%;
    min-width: 100px;
    background-color: white;
}

.top_content input{
 width: 30%;
 margin: 0 1px 0 5px;
 overflow-x: hidden;
 opacity: 80%;
 background-image: url(image/Search_blue.png);
 background-repeat: no-repeat;
 background-position: right;
 background-size:contain;
}


/* ================================
   8. Section Styling
   ================================ */
#section {
    background-color: #dadada;
    border: 1px solid #484848;
    outline: #d3e0f0 solid 1px;
    margin: 5px;
}

#section img {
    width: 670px;
    margin: 20px;
    border: 1px solid #ecf2f9;
    outline: #1c3127 solid 1px;
}

/* ================================
   9. Info Box
   ================================ */
.info {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.info img {
    width: 60px;
    padding: 20px 0 20px 20px;
}

/* ================================
   10. Taskbar & Footer
   ================================ */
footer {
    position: static;
    margin: 0;
    z-index: 1001;
    width: 100%;
    height: 35px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    background: linear-gradient(
        to bottom,
        rgba(140, 141, 141, 0.80) 5%,
        rgba(69, 70, 71, 0.80) 40%,
        rgba(25, 27, 29, 0.80) 55%
      );
    border: 1px rgba(240, 240, 228, 0.7);
    border-style: solid none none none;
    outline:1px solid rgba(25, 27, 29, 0.7);
    backdrop-filter: blur(2px) saturate(120%);
}

footer #vista_start {
    height: 140%;
    margin: 0;
    transform: translateY(-7px);
    padding-left: 3px;
}

footer #vista_start:hover {
    filter: contrast(120%);
    filter: brightness(120%);
}

/* ================================
   11. Taskbar Items
   ================================ */
#t_programs {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 10px;
    height: 100%;
    overflow: hidden;
}

#icon {
    display: flex;
    justify-content: start;
    align-items: center;
    align-content: center;
    text-align: center;
    width: 180px;
    height: 30px;
    color: white;
    font-family: "Segoe IU","Noto Sans";
    border: 1px solid rgb(255,255,255,0.4);
    border-radius: 5px;
    outline: rgb(50,50,50,0.75) solid 1px;
    transition: 0.1s ease-in-out;
    box-shadow:
        inset 0px 11px 8px -10px rgb(255,255,255,0.3),
        inset 0px -11px 8px -10px rgb(255,255,255,0.3);
}

#icon img {
    padding-left: 7px;
    padding-right: 3px;
    height: 30px;
    align-self: center;
}

#icon p {
    padding: 0;
    margin: 0;
    font-size: 13px;
}

#icon.hidden-border {
    outline: none;
    border: 1px solid transparent;
}

#icon:hover {
    background-color: rgb(255,255,255,0.1);
    transition: 0.1s ease-in-out;
}

.taskbar-item {
    display: flex;
    align-items: center;
    justify-self: start;
    height: 27px;
    padding: 0 0 0 4px;
    width: 150px;
    margin-right: 7px;
    border-radius: 3px;
    cursor: pointer;
    background: rgba(255,255,255,0.05);
    border:1px solid rgba(0, 0, 0, 0.3);
    outline:1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0px 0px 1px 0px rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.taskbar-item.active {
    background: rgba(0, 0, 0, 0.5);
    border:1px solid rgba(0, 0, 0, 0.3);
    outline:1px solid rgba(255, 255, 255, 0.3);
}

.taskbar-item:active {
    background: rgba(0, 0, 0, 0.5);
    border:1px solid rgba(0, 0, 0, 0.3);
    outline:1px solid rgba(255, 255, 255, 0.3);
}

.taskbar-item.active:hover, .taskbar-item:hover {
   box-shadow: 0px 0px 1px 0px rgba(255, 255, 255, 0.3),
   inset 0px -10px 15px -8px rgba(105, 217, 251, 0.9);
}

.taskbar-item img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.taskbar-item p {
    color: white;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.taskbar-clock {
    font-family: "Segoe IU","Noto Sans";
    font-size: 14px;
    color: white;
    transform: translateX(-30px);
    text-align: center;
    align-self: center;
    font-size: 12px;
}

/* ================================
   12. Start Menu
   ================================ */
#start_menu {
    height: 550px;
    width: 400px;
    background: linear-gradient(
        to bottom,
        rgba(92, 92, 92, 0.8),
        rgba(0, 0, 0, 0.8) 95%
    );
    position: absolute;
    left: 0;
    bottom: 36px;
    border-radius: 6px 6px 3px 3px;
    border: 1px solid rgba(156, 156, 156,0.9);
    outline: 1px solid rgb(0,0,0,0.4);
    display: flex;
    box-shadow: 2px 5px 5px black;
    display: none;
    backdrop-filter: blur(5px) saturate(150%);
    z-index: 1000;
}

#start_left {
    width: 65%;
}

#start_right {
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#start_programs {
    background-color: white;
    width: 95%;
    height: 92%;
    margin: 7px;
    border-radius: 4px;
    border: 1px solid #424242;
    outline: 1px solid #979797;
}

#start_programs hr {
    width: 90%;
    opacity: 20%;
}

#s_program {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 2px;
    height: 33px;
    font-size: 12px;
    margin: 3px;
    border: 1px solid transparent;
}

#s_program img {
    height: 30px;
    width: auto;
    padding-right: 5px;
}

#s_program:hover {
    border: 1px solid transparent;
    outline: 1px solid rgba(158,226,253,0.4);
    border-radius: 2px;
    background-image: linear-gradient(rgba(72, 180, 220, 0.1),rgba(72, 180, 220, 0.3));
}

#start_search {
    padding-left: 7px;
}

#start_search input {
    width: 96%;
    font-style: italic;
    height: 14px;
    font-family: "Segoe IU","Noto Sans";
    outline: 1px solid rgba(255,255,255,0.4);
    border: 1px solid rgba(0,0,0,0.6);
    border-radius: 1px;
    align-self: center; 
    background-image: url(image/Search_blue.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size:contain;
}

#start_icon {
    height: 70px;
    width: 70px; 
    display: flex;
    justify-content: center;
    position: absolute;
    top: -35px;
}

#start_icon img {
    height: 50px;
    width: 50px; 
    align-self: center;
}

#s_border {
    position: absolute;
    transform: translateY(-3px);
}

#s_border:hover {
    cursor: pointer;
}

#s_border img {
    height: 75px;
    width: 75px; 
}

#start_list {
    height: 80%;
    width: 93%;
    margin-bottom: 35px;
}

#start_list p {
    margin: 5px 0 5px 0;
    color: white;
    font-size: 11px;
    padding-left: 3px;
    border: 1px solid transparent;
    height: 30px;
    align-items: center;
    display: flex;
}

#start_list p:hover {
    border: 1px solid rgba(161, 165, 150, 0.7);
    outline: 1px solid #1e2019;
    border-radius: 2px;
    box-shadow:
        inset 0px -11px 8px -6px rgba(193, 193, 193, 0.4),
        inset 0px 11px 8px -6px rgba(193, 193, 193, 0.4),
        0px 0px 3px rgba(193, 193, 193, 0.5);
    background: linear-gradient(
        to bottom,
        rgba(69, 70, 71, 0.4) 50%,
        rgba(25, 27, 29, 0.4) 50%
    );
}

#start_list hr {
    margin: 1px;
    border: 1px solid;
    border-color: black black grey black;
    opacity: 40%;
}

#power_buttons {
    display: flex;
    flex-direction: row;
    align-self: flex-start;
    position: absolute;
    bottom: 7px;
    right: 7px;
}

/* ================================
   13. Context menu
   ================================ */
   .context-menu {
    position: absolute;
    background: #f0f0f0;
    border: 1px solid #f5f5f5;
    outline: 1px solid #979797;
    box-shadow: 3px 3px 2px rgba(0, 0, 0, 0.5);
    padding: 2px;
    z-index: 3000;
    width: 200px;
    height: 137px;
  }
  
  .menu-item {
    padding: 2px 0 2px 0;
    cursor: pointer;
    font-size: 12px;
    color: #000;
    padding-left:30px;
  }
  
  .menu-item:hover {
    outline: 1px solid rgba(158,226,253,0.4);
    border-radius: 2px;
    background-image: linear-gradient(rgba(72, 180, 220, 0.1),rgba(72, 180, 220, 0.3));
  }

  .context-menu hr {
    width: 85%;
    opacity: 70%;
    margin: 5px 0 5px 25px;
    clear: both;
  }


/* ================================
   14. Utility Classes
   ================================ */
.zminimalizowane {
    visibility: hidden;
}

.hidden-border {
    border: none !important;
    outline: none !important; 
    box-shadow: none !important;
}

a:link {
    color: blue;
}

a:visited {
    color: green;
}

a:hover {
    filter: brightness(150%);
}

.content p, input, textarea, .selectable {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

