
body 
{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  padding-top: 150px;
}

.loginform {
    border: 3px solid #f1f1f1;
    max-width: 50%;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.mainbox {
    display: flex;
    max-width: 90%;
    margin: auto;
}


img {
    display:block;
    float:none;
    margin-left:auto;
    margin-right:auto;
    max-width:80%;
  }
table {
    border-spacing: 0px;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}
table td {
    border: 1px solid rgba(0,0,0,.1);
    height: 32px;
    padding: 5px;
}

table th {
    background-color: #555;
    color: #fff;
    font-weight: 300;
    height: 32px;
    padding: 5px 14px 5px 12px;
}

.header   
{ 
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  background: #333333;
  color: white;
  align-content: center;
  font-size: 32px;
  font-size: 5vw;
  font-size: min(max(16px, 4vw), 32px);
  font-weight: 900;
  align-items: center;
  padding:  10px;
}
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
}
.sticky + .content {
}
.headertext   
{ 
  display: flex;
  flex-direction: row;
  background: #333333;
  color: white;
  justify-content: space-evenly;
  align-content: center;
  font-size: larger;
}
.flex-wrapper {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
}
.facebookcolor  { color: #3b5999; }
.twittercolor   { color: #00acee; }
.pinterestcolor { color: #ca2127; }
.linkedincolor  { color: #0077b5; }
.whatsappcolor  { color: #3fbb50; }
.emailcolor     { color: #888888; }
.redditcolor    { color: #ED001C; }
.instagramcolor { color: #9b6954; }

.content 
{
  padding: 16px; 
}
.main   
{ 
  display: flex;
  flex-direction: column;
  align-content: center;

}
.blogbox
{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.blog
{
  display: flex;
  flex-direction: column;
  padding: 20px;
  align-items: center;
  font-family: Arial, sans-serif;

}
.blogtext
{
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  margin-right: 20px;
  font-family: Arial, sans-serif;
}
.summarytext
{
  display: flex;
  flex-direction: column;
  padding-left: 5px;
  font-family: Arial, sans-serif;
}
.blogimage
{
  display: flex;
  flex-direction: row;
}
.footer   
{ 
  display: flex;
  flex-direction: column;
  align-content: space-between;
  align-items: center;
  font-family: Arial, sans-serif;
  background: #DDDDDD;
  justify-content: space-evenly;
}
.tags
{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.taganchor
{
    text-decoration: none !important;
}
.tag
{
  display: flex;
  flex-direction: row;
  padding-right: 5px;
  font-size: small;
}


.crop {
  min-width: 60px; 
  height:300px; 
  object-fit: contain;
}
.crop2 {
  min-width: 60px; 
  object-fit: cover;
  width: 100%;
  height: 230px;
  border-radius: 5px 5px 0 0;
}


/***************************************************************************/

/* Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Add an active class to highlight the current page */
.active {
  background-color: #04AA6D;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.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;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:click .dropdown-content {
  display: block;
}

/************************************************************************************************/

.topnav .search-container {
  float: right;
}

.topnav input[type=text] {
  padding: 6px;
  margin-top: 8px;
  font-size: 17px;
  border: none;
}

.topnav .search-container button {
  float: right;
  padding: 6px 10px;
  margin-top: 8px;
  margin-right: 16px;
  background: #ddd;
  font-size: 17px;
  border: none;
  cursor: pointer;
}



/************************************************************************************************/




/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 810px) {
  .topnav .search-container {
    display: none;
  }
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 810px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
/*
  .topnav .search-container {
    float: none;
    display: block;
    text-align: left;
  }
*/
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
.topnav.responsive .search-container {
    display: flex;
    width: 100%;
    text-align: left;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
}
  .topnav input[type=text] {
    padding: 6px;
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 17px;
    border: none;
  }
}




.show {display: block;}

/*****************************************************************/


.displaycard {
  display: block;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 40%;
  max-width: 300px;
  min-width: 300px;
  border-radius: 5px;
  margin:  10px;
}

.displaycard:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.displayimg {
  border-radius: 5px 5px 0 0;
}

.displaycontainer {
  padding: 2px 16px;
}
.displaycard a:link {color:#1877F2;}         /* Unvisited link  */
.displaycard a:visited {color:#1877F2;}      /* Visited link    */
.displaycard a:hover {color:#1877F2;}       /* Mouse over link */
.displaycard a:active {color:#1877F2;}      /* Selected link   */


#card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  height: 55vh;
  width: 80%;
  margin: 2px;
  border-radius: 3px;
  transition: all 200ms ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-actions {
  margin: 8px;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fa-usericon
{
  color: #bdbdbd;
}


/*  TREE VIEW FOR COMMENTS */

.fish
{
    padding: 0px 3px 3px;
    border-radius: 5px;
    margin: -9px;
}

.treeHTML 
{
  line-height: normal;
  #background-color: #C7C7C7;
}
.treeHTML commentbase
{
  padding: 0px;
}

.treeHTML p
{
  margin: 2px;
  background-color: #E5E5E5;
  border-radius: 5px;
  padding: 5px;
  border-width: 1px;
  border-style: solid;
}
.treeHTML details 
{
  display: block;
}
.treeHTML div 
{
  position: relative;
  margin: 0 0 0 .5em;
  padding: 0 0 0 1em;
  max-width: 370;
}
.treeHTML div:before 
{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1.1em;
  height: .5em;
}

.commentdiv 
{
    background-color: lightgray;
    border: solid;
    border-width: 1px;
    border-radius: 10px;
}


.treeHTML summary 
{
  display: block;
  position: absolute;
  left: -.5em;
  top: 0em;
  text-align: center;
  cursor: pointer;
}

.treeHTML summary::-webkit-details-marker 
{
  display: none
}
.treeHTML summary:last-child
{
  display: none
}
.treeHTML details[open] summary 
{
  outline: none;
}

.treeHTML summary:before 
{
  font-family: "Font Awesome 6 Free";
  content: "\f0da";
  display: inline-block;
  padding-right: 3px;
  vertical-align: middle;
  font-weight: 900;
}
.treeHTML details[open] > summary:before 
{
  font-family: "Font Awesome 6 Free";
  content: "\f0d7";
  display: inline-block;
  padding-right: 3px;
  vertical-align: middle;
  font-weight: 900;
}

.blogwords
{
  font-size: 16px;
  background-color: #EEEEEE;
}

.comment-form textarea 
{
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    margin-top: 1px;
    margin-bottom: 5px;
}
.d-none 
{
    display: none;
}
.replytext
{
  margin-top: 0px;
}
/*  TREE VIEW FOR COMMENTS */
