

/* Global */
html, body{
    width:100%;
    margin:0;
    background-image: url('../img/bk.jpg');
        background-repeat:no-repeat;
        background-position:center;
        background-size:cover;
    background-attachment: fixed;
    font-family: Tahoma;
    color:whitesmoke;
}

body{
    display: flex;
  flex-direction: column;
  min-height: 100vh;
}

::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #000; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #1b4840; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #2f7c6f; 
}
#page-container{
         width:100%;
    margin:0;
    font-family: Tahoma;
    color:whitesmoke;  
}

header{
   display:flex;
 
    align-content: center;
    color: white;
    background-color: black;
    
}
nav{
    text-align: center;
    color: white;
    background-color: #222;
    border-top-color: grey;
    border-top-width: 3px;
    border-top-style: groove;
    height: 50px;
    display: flex;
    justify-content: center;
    flex-flow: nowrap;
    
}

footer{
    width:100%;
    height:250px;
    background-color:black;
    margin-top:30px;
    display:flex;
    align-content:center;
    
}

nav a{
    
    font-size: 25px;
    text-decoration: none;
    color: white;
    line-height: 44px;
   margin-left:auto;
   margin-right:auto;
}
    
nav a:hover{
  background-color: #267c6c94;
}

    .user-menu {
            position: relative;
            display: inline-block;
            margin-top:auto;
            margin-bottom:auto;
        }

        .menu-items {
            display: none;
            position: absolute;
            background-color: #f9f9f9;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
            z-index: 1;
            right:0;
        }

        .menu-items a {
            color: black;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
        }

        .menu-items a:hover {
            background-color: #f1f1f1;
        }

        .user-menu:hover .menu-items {
            display: block;
        }

        .user-icon {
            font-size: 24px;
            cursor: pointer;
        }
        
        #user-buttons{
                margin-top: auto;
    margin-bottom: auto;
    margin-right: 20px;
        }
        
.login input{
    display:block;
    margin-bottom:20px;
    width:60%;
    line-height:50px;
    margin-left:auto;
    margin-right:auto;
    
}
.uIcon{
padding:12px;    
}

.uIcon:hover::before{
 transform: scale(1.1);
    box-shadow: 0 0 15px #267c6c;
    padding: 12px;
    border-radius: 24px;
    
  
}

.uIcon:hover{

    color: #267c6c;
    box-shadow: 0 0 5px #267c6c;
    text-shadow: 0 0 5px #267c6c;
    padding: 12px 3px 12px 3px;
    border-radius: 30px;
}

#logo{
margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
    margin-top: auto;
   
}

#menu{
margin-left:20px;
    margin-top:20px;
    font-size: 40px;
    
}

#settings{
    font-size: 30px;
    margin-top: 24px;
    margin-bottom: auto;
        margin-right: 20px;
   

}

#about{
display: flex;
    flex-flow: row;
    justify-content: center;
    flex-wrap: wrap;
    gap:2%;  
}

#main {
  width:95%;
    margin-left:auto;
    margin-right:auto;
        background-repeat:repeat;
  min-height: 574px;
    flex:1;

}

#alert-container {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #229f6b85;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 9999;
  }

#main-container{
   background: rgb(0 0 0 / 50%);
border-radius: 16px;
box-shadow: 0 6px 20px rgb(0 0 0 / 40%);
backdrop-filter: blur(10.2px);
-webkit-backdrop-filter: blur(10.2px);
border: 1px solid rgba(10, 245, 255, 0.3);
  
     transition: margin-left .5s;
  padding: 20px;
  margin-top:30px;
  margin-bottom:50px;
    display: flex;
    flex-flow: column;
    min-height: 50vh;
}

.sub-main{
   background: rgb(0 0 0 / 50%);
border-radius: 16px;
box-shadow: 0 6px 20px rgb(0 0 0 / 40%);
backdrop-filter: blur(10.2px);
-webkit-backdrop-filter: blur(10.2px);
border: 1px solid rgba(10, 245, 255, 0.3);
  
     transition: margin-left .5s;
  padding: 20px;
  margin-top:30px;
  margin-bottom:50px;
    display: flex;
    flex-flow: column;
    min-height: 50vh;
}


#main-content{
    display: flex;
    flex-flow: row;
    justify-content: center;
    flex-wrap: wrap;
    gap:2%;
     margin-bottom: 30px;
   
}

#main-content iframe{
    width:99%;
    height:500px;
}

.news-section{
width:100%;
     border-top: #ccc4 1px solid;
     border-bottom: #ccc4 1px solid;
    background: rgba(98, 98, 98, .75);
    background: linear-gradient(184deg, rgba(98, 98, 98, .45) 0%, rgba(0, 0, 0, .75) 73%);
    margin-top: 25px;
    margin-bottom:25px;
}

.title{
    margin-left:50px;
}

#login-container{
    
     background: rgb(0 0 0 / 24%);
border-radius: 16px;
box-shadow: 0 6px 20px rgb(0 0 0 / 40%);
backdrop-filter: blur(10.2px);
-webkit-backdrop-filter: blur(10.2px);
border: 1px solid rgba(10, 245, 255, 0.3);
    
     transition: margin-left .5s;
  width:50%;
  margin-top:30px;
   
margin-left:auto;
    margin-right:auto;
    width: 60%;
    text-align:center;
    height:500px;
}

.center-box{
    margin-top:20px;
    padding-top:20px;
    display: flex;
    gap:1%;
width:95%;
    margin-left:auto;
    flex-wrap:wrap;
    align-content: center;
}

.quarter{
   
    width:23%;
    
    margin-bottom: 10px;
}

.half{
    
    width:48%;
    
    margin-bottom: 10px;
}

.tripcolumns{
       display: flex;
    flex-flow: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3%;
}
    


.third{

    width:30%;
   margin-bottom: 10px;
    padding-top: 5px;
}

.store-third{

    width:30%;
   margin-bottom: 10px;
    margin-left:20px;
    margin-top: 30px
}

.thumb{
   width:90%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
}

.main-thumb{
   width:90%;
    margin-left: 5%;
    margin-right: auto;
    border-radius: 16px; 
}

.store-thumb{
     width: 150px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;

}

.content-cell{
    display:flex;
    flex-flow:column;
    padding-top:5px;
    margin-bottom:10px;
}

.store-section{
    width:90%;
     border: #ccc4 1px solid;
    background: rgba(98, 98, 98, .75);
    background: linear-gradient(184deg, rgba(98, 98, 98, .45) 0%, rgba(0, 0, 0, .75) 73%);
    border-radius: 23px;
    display: flex;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:30px;
    gap:2%;
    overflow-x: scroll;
    white-space:nowrap;
    margin-bottom:25px;
}
.affil-section{
    width:90%;
  
    display: flex;
    margin-left:auto;
    margin-right:auto;
    gap:2%;
   margin-top:20px;
    white-space:nowrap;
}

#srcList{
          display: flex;
    margin-left: auto;
    margin-right: auto;
    /* gap: 20px; */
    cursor: pointer;
    font-size: 20pt;
    background: linear-gradient(45deg, black, transparent);
    padding: 10px;
    border-radius: 12px;
    width:80%;
}

#srcList label{
    margin-left:auto;
    margin-right:auto;
    cursor: pointer;
}

#video-block{
    width: 80%;
    margin-left: auto;
    margin-right: auto;

}
/*---------profile-----------------*/
#prof-head{
 width: 100%;
    display: flex;   
}

#avatar-container{
 width: 30%;   
}

#avatar-container img{
    width:50%;
}

#nametag{
    display:block;
}

#bio{
  margin-top:50px;
  border-top:1px solid white;
  padding-top:50px;
}

/* -------------------------------Comments------------*/
#comSec{
    width:75%;
    margin-left:auto;
    margin-right:auto;
    border-left:#afafaf 2px groove;
    border-right:#afafaf 2px groove;
    border-top:#afafaf 2px groove;
    border-radius:20px;
    background-color: #111c;
    min-height:50px;
}

#com-post{
    margin:auto;
    width:75%;
    display:flex;
}

.c-textbox{
       height: 150px;
    width: 75%;
    margin-left: auto;
    margin-right:auto;
    margin-bottom: 20px;
    background-color: #111c;
    border: 2px groove white;
    border-radius: 20px;
    color: white;
    padding: 10px;
}

.comment-container{
    border-bottom:#afafaf 2px groove;
        border-radius: 20px;
}

.com-head{
    display:flex;
    flex-flow:row;
    margin-top:20px;
    margin-left:20px;
    gap:20px;
}

.usrImg{
    height:50px;
    border-radius:10px;
}

.com-text{
    width:75%;
    margin-left:40px;
}

.delCom{
    margin-left:20px;
    margin-right: 20px;
    cursor:pointer;
}

.editCom{
    margin-left:auto;
}

.editbutton{
    width:200px;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:20px;
    margin-top:20px;
    height:50px;
    font-size:15pt;
   background-color:#306260;
    border-style: groove;
    border-color:white;
    font-family:Tahoma;
    color:white;
    border-radius:20px;
}

#edit-com{
    display:flex;
    flex-flow:column;
}

.ctrl-button{
          height: 45px;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    background: rgb(0 0 0 / 50%);
    background: linear-gradient(194deg, rgb(107 177 142 / 45%) 0%, rgb(25 26 26 / 75%) 73%);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgb(0 0 0 / 40%);
    color: white;
    font-size: 14pt;

}

/* -------------------------------social feed------------*/
.feed-container{
    max-height:75vh;
    overflow-y:scroll;
    overflow-x:clip;
     background-color:black;
    border-color:white;
    border-style:solid;
    border-width:1px;
    text-align:left;
   
   
}
.feed-item{
 margin-right: auto;
    display: flex;
    width: 90%;
    margin-left: auto;
    margin-bottom: 20px;
    border-bottom: 1px inset white;
    padding-bottom: 15px;
}

.ico{
    width: 25%;
    align-items: flex-start;
    display: flex;
}

.ico img{
    height:60px;
    border-radius: 20px;
}
.feed-text{
    margin-left:50px;
    width:75%;
}

.feed-button{
    width: 50%;
    height: 50px;
    font-size: 20pt;
    background-color:black;
    color:white;
    border-radius: 10px;
}

.act{
    background-color:#2f7c6f;
    color:black;
}

#public{
display:block;    
}

#private{
    display:none;
}

.feed-post{
    width:100%;
    background-color:black;
    display:flex;
    flex-flow:column;
}

#pub-post{
display:flex;    
}

#priv-post{
    display:flex;
}


.feedpost-button{
    width:50%;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:20px;
    margin-top:20px;
    height:50px;
}
.post-text{
 height:100px;
 width:100%;
 color:white;
 background-color:black;
 border-color:white;
}

#member-post{
  width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;  
}

.mem-header{
       display: flex;
    border-bottom: 1px solid;
    height: 100px; 
}

.mem-name{
     margin-left: 20px;
    margin-top: 50px;   
}

.check-container{
  margin-top: 20px;
    border-bottom: 1px solid;
    padding-bottom: 20px;  
        display: flex;
    flex-flow: column;
}

.check-date{
  margin-bottom: 20px;  
}

#replys{
    
}

#rep-controls{
        display: flex;
    flex-flow: column;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}

#response{
        height: 200px;
    margin-bottom: 25px;
    border-color: white;
    background-color: black;
}

#rep-button{
        height: 50px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

#msg-popup{
 max-height:55vh;
 overflow:scroll;
}

.follow{
    height: 20px;
    margin-top: 50px;
    margin-left: 50px;
}

.edit-box{
      height: 200px;
    margin-bottom: 25px;
    border-color: white;
    background-color: black;
    width:90%;
    color:white;
}

#uptext{
    background-color:black;
    color:white;
    width:200px;
    margin-left:auto;
    margin-right:auto;
    height:40px;
}

/*------------------------CHAT---------------------------------*/

#chat-container{
   height:600px; 
   width:75%;
      display: flex;
    flex-flow: column;
    background: rgb(0 0 0 / 50%);
    background: linear-gradient(194deg, rgb(107 177 142 / 45%) 0%, rgb(25 26 26 / 75%) 73%);
    border-radius: 16px;
    margin-left:auto;
    margin-right:auto;
}
#chat-box{
    width:100%;
     overflow-y:scroll;
    overflow-x: clip;
    height:88%;
    
}

.chat-row{
    display:flex;
    flex-flow:column;
    width:90%;
    margin:auto;
    border-bottom:#ccc 1px solid;
}

#chat-text{
          width: 98%;
    height: 10%;
    background-color: #00000061;
    color: white;
    border-radius: 16px;
    margin: auto;
    padding:10px;
}
.chat-button{
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top:15px;
    height: 60px;
    font-size: 20pt;
     background: linear-gradient(194deg, rgb(107 177 142 / 45%) 0%, rgb(25 26 26 / 75%) 73%);
     color:white;
     border-radius:10px;
}

.chat-head{
    height: 50px;
    display: flex;
    flex-flow: row;
    gap: 5%;
    margin-bottom: 15px;
    margin-top: 10px;
}

.chat-head img{
    height:100%;
   border-radius:10px;
}


/*-----------------------------ADMIN-------------------------------*/

#admin-container{
    
     background: rgb(0 0 0 / 24%);
border-radius: 16px;
box-shadow: 0 6px 20px rgb(0 0 0 / 40%);
backdrop-filter: blur(10.2px);
-webkit-backdrop-filter: blur(10.2px);
border: 1px solid rgba(10, 245, 255, 0.3);
    
     transition: margin-left .5s;
  width:50%;
  margin-top:30px;
   
margin-left:auto;
    margin-right:auto;
    width: 60%;
    text-align:center;
   
}


#admin-panel{
    background: rgb(0 0 0 / 24%);
border-radius: 16px;
box-shadow: 0 6px 20px rgb(0 0 0 / 40%);
backdrop-filter: blur(10.2px);
-webkit-backdrop-filter: blur(10.2px);
border: 1px solid rgba(10, 245, 255, 0.3);
  
     transition: margin-left .5s;
  padding: 20px;
  margin-top:30px;
    display: flex;
    flex-flow: row;
    min-height: 50vh;
}

#edit-panel{
    background: rgb(0 0 0 / 24%);
border-radius: 16px;
box-shadow: 0 6px 20px rgb(0 0 0 / 40%);
backdrop-filter: blur(10.2px);
-webkit-backdrop-filter: blur(10.2px);
border: 1px solid rgba(10, 245, 255, 0.3);
  
     transition: margin-left .5s;
  padding: 20px;
  margin-top:30px;
    display: flex;
    flex-flow: column;
    min-height: 50vh;
}

.pending{
    width:25%;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

#recent{
    display:flex;
    flex-flow:row;
    text-align:center;
    flex-wrap:wrap;
}

.panel-item{
    width:75%;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.ui-button{
        width: 100px;
       line-height: 35px;
}
.role-select{
       margin-bottom: 22px;
    width: 25%;
    margin-left: 20%;
    height: 40px;
}

.center-box{
    margin-top:20px;
    padding-top:20px;
    display: flex;
    gap:1%;
width:95%;
    margin-left:auto;
    flex-wrap:wrap;
    align-content: center;
}

.gallery-cell{
        width: 30%;
    padding-top: 5px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-container{
   display:flex;
    flex-flow: row;
    flex-wrap:wrap;
    margin-top:25px;
}

/* Article Pages */

#article-form{
   display: flex;
    flex-flow: column;
    width:90%;
    margin-left:auto;
    margin-right:auto;
}

#artimg{
    max-width: 415px;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
}

.tag-line{
        line-height: 25px;
    margin-bottom: 10px;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.artinput{
      line-height: 25px;
    margin-bottom: 10px;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.topline{
   margin-left: auto;
    margin-right: auto; 
    margin-bottom:20px;
}

.live{
    display: flex;
   
}

.live h3{
    display: inline-block;
    margin-left: 10px;
}


.badge-container{
    width: 80%;
    margin-left: auto;
    margin-right: auto;

}

.badge-row{
        display: flex;
    flex-flow: row;
 
    gap: 20%;
    margin-bottom:30px;
}

.badge-row h3{
     width:20%;   
         margin-top: auto;
    margin-bottom: auto;
}

.badge-row img{
      width:10%;
}

.badge-row input{
        width:10%;
        height:30px;
            margin-top: auto;
    margin-bottom: auto;
}

#add-src{
        width: 250px;
    height: 30px;
    background: linear-gradient(45deg, black, #1b372199);
    color: white;
    margin-left: auto;
     margin-right: auto;
      margin-top: 20px;
       margin-bottom: 20px;
}
/*-------------------------------*/
.login-button{
    width:6%;
    height:50px;
    color:white;
    background-color:#306260;
    border-style: groove;
    border-color:white;
    font-family:Tahoma;
    margin-right:20px;
    margin-top:13px;
        border-top-left-radius: 12px;
    border-bottom-right-radius: 12px;
    
}

.logout-button{
   width: 100%;
    height: 35px;
    color: white;
    background-color: #306260;
    border-style: groove;
    border-color: white;
    font-family: Tahoma;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 12px;
    margin-left: auto;
    margin-right: auto;
  
    
}

.logout-form{
   width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.article-block{
width: 90%;
    display: flex;
    flex-flow: column;
}

/* navigation */
.sidenav {
  height: 100%; 
  width: 0; 
  position: fixed; 
  z-index: 1; 
  top: 0; 
  left: 0;
  background-color: #000c; 
  backdrop-filter:blur(15px);
  overflow-x: hidden;
  padding-top: 60px; 
  transition: 0.5s; 
    box-shadow: 5px 10px 8px #267c6c94;
     transition: transform 250ms;
}


.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
    background-color: #267c6c94;
    transform: translateY(-10px);
}


.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}


.navbar {
  background-color: #333;
    width: 100%;
    display: flex;
}

.nav-links{
    margin-left:auto;
    margin-right:auto;
    display:flex;
}

.nav-links a{
  font-size: 20px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 20px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.nav-links a:hover, .dropdown:hover .dropbtn {
  background-color: #267c6c94;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/*---------------------STORE-----------------*/
.cart-icon{
        margin-top: auto;
    margin-bottom: auto;
    margin-right: auto;
    font-size: 20pt;
}

.store-cell{
    display:flex;
    flex-flow:column;
    padding-top:5px;
    margin-bottom:10px;
    width:20%;
}
.side-cell{
    display:flex;
    flex-flow:column;
    padding-top:5px;
    margin-bottom:10px;
    width:100%;
}
#item-list{
    width: 50%;
    margin-left: auto;
}

#store-container{
    display:flex;
    width:90%;
    margin-left:auto;
    margin-right:auto;
    flex-wrap: wrap;
}

#store-menu{
      margin-left: auto;
    margin-right: auto;
       padding-bottom: 2px;
    background: #000A;
    backdrop-filter: blur(11px);
    width: 100%;
    margin-top: -16px;
    
}

#store-nav{
 width:fit-content;   
     margin-left: auto;
    margin-right: auto;
    margin-bottom:20px;
}

    /* Flexbox for top-level categories */
    #store-nav > ul {
        display: flex;  /* Set the top-level categories to be displayed in a row */
        
        color:White;
        gap: 15px;  
        
    }
    
    ul {
        list-style-type: none;
        padding-left: 0;  /* Remove default padding for the lists */
    }
    ul a{
        text-decoration:none;
        color:white;
    }

    ul.submenu {
        display: none;  /* Submenus are hidden by default */
        padding-left: 20px;  /* Keep indentation for subcategories */
        color:white;
    }

    /* Flexbox containers for categories */
    .category-container {
        display: flex;
        align-items: center;
        padding: 10px;
        transition: background-color 0.2s ease;
    }

    .category-container:hover {
        background-color: #777;
    }

    /* Style for arrow */
    .arrow {
        margin-right: 10px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .category-container.open .arrow {
        transform: rotate(90deg);  /* Rotate the arrow when the submenu is open */
    }

    /* Style for category links */
    .store-link {
        text-decoration: none;
        color: white;
        font-size: 16px;
    }

    .store-link:hover {
        text-decoration: underline;
    }
    
    .store-block{
        display:flex;
        width:100%;
    }
    
    .split{
        width:40%;
        margin-left:auto;
        margin-right:auto;
    }
    
    .split img{
        width:80%;
    }
    
    .price-container{
    margin-left: auto;
    width: 50%;
    height: 250px;
    border: solid 1px rgb(15, 130, 130);
    padding: 10px;
    border-radius: 41px;
    display: flex;
    flex-flow: column;
    }

#cart-container{
   width: 98%;
    display: flex;
    flex-flow: column; 
}

.cart-row{
        display: flex;
    gap: 12px;
    margin-bottom:30px;

}

.cart-row img{
    width:65%;
}

.cart-item{
    width:20%;
    margin:auto;
}

.store-button{
        width: 20%;
    margin-left: auto;
    margin-right: auto;
    height: 45px;
    background: linear-gradient(3deg, black, #fff5);
    border-radius: 12px;
    color: white;

}

#paymentSection{
    display:flex;
    flex-flow:column;
    width:80%;
    margin-left:auto;
    margin-right:auto;
}

#email{
    width:"300px";
    margin-left:auto;
    margin-right:auto;
}

#order-container{
    display:flex;
    gap:20%;
}

/* Community Page */

#forum-container{
    min-width: 100%;
    display: flex;
    flex-flow: row;
    justify-content: center;
    gap:2%;
    
    
}

#forum-nav{
    
}

#forum-menu{
    height:fit-content;
    border: #ccc4 1px solid;
    margin-left: auto;
    margin-right: auto;
    background: rgba(98, 98, 98, .75);
    background: linear-gradient(184deg, rgba(98, 98, 98, .45) 0%, rgba(0, 0, 0, .75) 73%);
    border-radius: 23px;
    display: flex;
    flex-flow: column;
    padding-bottom:15px;
    margin-bottom:25px;
}

#forum-menu a{
    
    margin-left:20%;
    margin-top:20px;
    font-size:25px;
    
}

#topics-container{
  width: 100%;
  height:fit-content;
     border: #ccc4 1px solid;
    background: rgba(98, 98, 98, .75);
    background: linear-gradient(184deg, rgba(98, 98, 98, .45) 0%, rgba(0, 0, 0, .75) 73%);
    border-radius: 23px;
    display: flex;
    flex-flow: column;
}


#side-stats{
     width: 100%;
    margin-left: auto;
    margin-right: auto;
    border: #ccc4 1px solid;
    background: rgba(98, 98, 98, .75);
    background: linear-gradient(184deg, rgba(98, 98, 98, .45) 0%, rgba(0, 0, 0, .75) 73%);
    border-radius: 23px;
    margin-bottom: 25px;
    height: 45px;
    font-size: 15pt;
    color:grey;
}

#online-box{
     width:100%;
   border: #ccc4 1px solid;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    background: rgba(98, 98, 98, .75);
    background: linear-gradient(184deg, rgba(98, 98, 98, .45) 0%, rgba(0, 0, 0, .75) 73%);
    border-radius: 23px;
}


.topics-header th:first-child { border-top-left-radius: 23px; }
.topics-header th:last-child { border-top-right-radius: 23px; }


.topics-header{
     border-top-left-radius:23px;
    border-top-right-radius:23px;
    width:100%;
   background: rgb(2,0,36);
background: linear-gradient(0deg, rgba(2,0,36,.5) 0%, rgba(14,88,58,.5) 70%, rgba(5,133,110,.5) 100%);
padding-top:10px;
    padding-bottom:10px;
   
}
.topic-line{
    width:100%;
    text-align: center;
  
}

.topic-line a{
    text-decoration: none;
    color: white;
  
}

.head-label{
    line-height: 50px;
}
.topics-table{
        border-collapse: collapse;
}

.topics-table tr{

    
}

.topics-table tr:last-child{
   border-bottom: none;  
}

.message-container{
 background-color:black;
    border-color:white;
    border-style:solid;
    border-width:1px;
    border-radius:30px;
}

.sub{
text-align: center;    
}

.topictext{
        width: 80%;
    display: flex;
    flex-flow: column;
   margin-bottom:20px;
    margin-top:25px;
    word-break: break-word;
    margin-left: 10%;
}

.reactions{
        display: flex;
    gap: 5%;
    border-top:1px white solid;
     border-bottom:1px white solid;
    
}


.reply{
    cursor: pointer;
}

.arrow {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  height:5px;
  width:5px;
    margin-top: auto;
    margin-bottom: auto;
    cursor:pointer;
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}


.slide-down{
    display:inline-table;
}

.slide-down table{
 width:98%;
 margin-left:2%;
  border-left:1px white dotted;

}

.sub-slide-down{
   display:none;
}

.sub-slide-down table{
  
    width:98%;
   
    
}



/* Messages */

#friend-list{
  border:2px groove #333;  
    width:15%;
}

.fname{
    
}

#recent-messages{
display: flex;
    width:80%;
 border-left: 1px solid #333;
    border-right: 1px solid #333;
    justify-content: center;
    flex-flow:column;
}

.msg{
border-bottom:1px;
border-bottom-color: #cccccc7a;
    border-bottom-style:solid;
margin-bottom:20px;    
}

.msg-box{
display: flex;
    flex-flow: wrap;
    width:95%;
    border-top:1px solid #333;
    padding-bottom: 25px;
    padding-left: 20px; 
    cursor: pointer;
}

.m-textbox{
        height: 250px;
    width: 75%;
    margin-left: 12.5%;
    margin-bottom: 20px;
    background-color: black;
    border: 2px groove white;
    border-radius: 20px;
    color: white;
    padding: 10px;
}

.usr-img {
   width: 7%;
    
    margin-top: 12px;
        margin-left: 20px;
}

.usr-name {
    width: 80%;
    object-fit: scale-down;
}

.usr-img img{
       
        border-radius: 50%;
    width: 100%;
}

.msg-text{
width:100%;  
margin-left: 7%;
}


/* Text Editor */
.rte-container {
  background-color: #000;
  width: 80%;
  padding: 50px 30px;
 color:white;
  margin-left: auto;
    margin-right: auto;
  border-radius: 10px;
  box-shadow: 0 25px 50px rgba(7, 20, 35, 0.2);
}
.options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}
.rte-container button {
  height: 28px;
  width: 28px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  border: none;
  background-color: #000;
  outline: none;
  color: #fff;
}
.rte-container select {
  padding: 7px;
  border: 1px solid #fff;
  border-radius: 3px;
}
.options label,
.options select {
  font-family: "Poppins", sans-serif;
}
.input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rte-container input[type="color"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  width: 40px;
  height: 28px;
  border: none;
  cursor: pointer;
}
.rte-container input[type="color"]::-webkit-color-swatch {
  border-radius: 15px;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #020929;
}
.rte-container input[type="color"]::-moz-color-swatch {
  border-radius: 15px;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #020929;
}
#text-input {
  margin-top: 10px;
  border: 1px solid #dddddd;
  padding: 20px;
  height: 50vh;
    overflow-y:scroll;
}
.active {
  background-color: #ccc;
}

.postbutton{

    color: #fff;
    height:50px;
    line-height: normal;
    width:175px;
    text-shadow: none;
    display: block;
    text-align: center;
    align-items:center;
    cursor: default;
    box-sizing: border-box;
    background: linear-gradient(0deg, rgba(2,0,36,1) 0%, rgba(14,88,58,1) 70%, rgba(5,133,110,1) 100%);
    margin: 0em;
    padding: 1px 6px;
    border-width: 2px;
    border-style: outset;
    border-color: #fff;
   margin-left: auto;
    margin-right:auto;
}

.postbutton:active{
    border-style: inset;
}

/* The Modal */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
}


.modal-content {
  background-color: #000;
  margin: 5% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 80%; 
  border-radius:20px;
}


.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/*---------------------------MOD--------------------------*/

.flag-container{
    border: #ccc4 1px solid;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    background: rgba(98,98,98, .75);
background: linear-gradient(184deg, rgba(98,98,98,.45) 0%, rgba(0,0,0,.75) 73%);
    border-radius: 23px;
}

.flag-head{
    display:flex;
    flex-flow:row;
    gap:10%;
    padding-left:10px;
    border-bottom:1px #fff4 solid;
    padding-right:15px;
}

.flag-controls{
    display:flex;
    flex-flow:row;
    gap:25px;
    margin-top:auto;
    margin-bottom:auto;
    margin-left:auto;
}

.flag-body{
    display:flex;
    flex-flow:column;
    padding-left:10px;
}

.flag-usr{
    display:flex;
    flex-flow:row;
    gap:10%;
    margin-top:auto;
    margin-bottom:auto;
}

.flag-usr-controls{
     display:flex;
    flex-flow:row;
    margin-top:auto;
    margin-bottom:auto;
    gap:25px;
}

.flag-menu{
    width:30%;
    display:flex;
    flex-flow:row;
    gap:10%;
    margin-left:auto;
    margin-right:auto;
}

.pctrl, .fctrl, .uctrl{
    cursor:pointer;
}

/*-----------------MISC----------------*/

#modSearch{
    width:50%;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:50px;
}

.results{
          line-height: 35px;
    width: 95%;
    display: inline-block;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 1px;
    padding-left: 3%;
    border-radius: 10px;
}

.result span{
    margin-top:auto;
    margin-bottom:auto;
    margin-left:1%;
}

.results:hover{
    color:white;
     background: rgba(0, 0, 0, .75);
    background: linear-gradient(184deg, rgba(0, 0, 0, .45) 0%, rgba(98, 98, 98, .75) 73%);
}

#uName{
    width:50%;
    line-height:30px;
}

#livesearch{
    border: #ccc4 1px solid;
    width: 24%;
    margin-bottom: 25px;
    background: rgba(98, 98, 98, .75);
    background: linear-gradient(184deg, rgba(98, 98, 98, .45) 0%, rgba(0, 0, 0, .75) 73%);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    position: absolute;
    padding: 5px;
     z-index: 100;
}

.tooltip {
        position: absolute;
        display: none;
        background-color: #333;
        color: #fff;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 14px;
        z-index:20;
    }

#copyright{
  width:50%;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

#contextMenu{
        position: absolute;
    z-index: 100;
    background: rgba(98, 98, 98, .75);
    background: linear-gradient(184deg, rgba(98, 98, 98, .50) 0%, rgba(0, 0, 0, .5) 73%);
    width: 200px;
    border-radius: 15px;
    border: #2f7c6f outset 2px;
    backdrop-filter: blur(5px);
    padding-bottom:25px;
}
#contextMenu ul{
 padding-inline-start:0;   
}

#contextMenu li{
    list-style:none;
 width:100%;
 
}

#contextMenu li p{
  color: white;
    text-decoration: none;
    width: 50%;
    border-bottom: 1px #6f6c6ca6 solid;
    display: block;
    text-align: center;
    line-height: 45px;
    margin-left:auto;
    margin-right:auto;
}

#contextMenu li:hover{
  background-color:#5555;
}
/* screen size adjustments */
@media screen and (max-width: 992px){
    
    .dropdown-content {
  right:0;
}

#logo{

    font-size: .7em;
}
  #main-content{
    order:0;
}

#menu {
    margin-left: 20px;
    margin-top: auto;
    margin-bottom: auto;
    
}

.navbar {
    overflow-x: scroll;
    }

#srcList{
    font-size: 15pt;
    width:98%;
}

#video-block{
    width:100%;
}

#main-content iframe{
    height:250px;
}

    #featured{
       display: grid;
    order: -1;

    }
    .third{
        width:100%;
    }
    
    
    .half{
        width:100%; 
    }
    
    .quarter{
        width:100%
    }
    
    #login-container{
    
    
  width:90%;
  
}

#forum-container{
    min-width: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    gap:2%;
    
    
}


#forum-menu{
    height:fit-content;
    border: #ccc4 1px solid;
    margin-left: auto;
    margin-right: auto;
    background: rgba(98, 98, 98, .75);
    background: linear-gradient(184deg, rgba(98, 98, 98, .45) 0%, rgba(0, 0, 0, .75) 73%);
    border-radius: 23px;
    display: flex;
    flex-flow: row;
    padding-bottom:15px;
    margin-bottom:25px;
}

#forum-menu a{
    
    margin-left:auto;
    margin-right:auto;
    margin-top:20px;
    font-size:25px;
    
}
#online-box{
    display:none;
}


    #chat-container{
    
    width:80%;
    
    
}
    
    .login-button{
    width:15%;
        

}


.logout-form{
    width:100%;
    display: flex;

}

.logout-button{
    width:80%;
    margin-left:auto;
    margin-right:auto;
}
    
    .usr-img {
    width: 15%;

}

.msg-text {
    width: 100%;
    margin-left: 15%;
}

    #friend-list{
  border:2px groove #333;  
    width:25%;
}

#recent-messages{
    width:70%;

}
    nav a {
    font-size: 15px;
    margin-left:10px;
    margin-right:10px;
}

nav{
    overflow-x:scroll;
    overflow-y:hidden;
}

#avatar-container{
 width: 50%;   
}
#avatar-container img{
    width:90%;
}
        
        .store-cell{
            width: 50%;
        }
        
        .store-thumb{ 
     width: 140px;
    
        }
        
        #admin-panel{

    flex-flow: column;
  
}

#recent{

    flex-flow:column;
}

.gallery-container{
    flex-flow:column;
}

.store-block{
        flex-flow:column;
    }
    .split{
        width:100%;
    }
    
    #store-menu{
        overflow-x:scroll;
    }
    
    .price-container{
        width:90%;
    }
        #item-list{
            margin-right: auto;
            width:80%;
        }
        
        #order-container{
    flex-flow:column;
    gap:20px;
}
}
