/*
////////////////////////////////////////////////////////////
// 
//   namesuppressed Frontpage Stylesheet 3.0.0
//   22nd October 2025
//   by Kohan "SyneRyder" Ikin
//   www.namesuppressed.com/syneryder
//   syneryder@namesuppressed.com
//
//   Stylesheet designed for the main index page of the
//   namesuppressed website. Tweaked to be responsive and
//   display better on mobile browsers (added flex grid).
//
////////////////////////////////////////////////////////////
*/



/***********************************************************
  General layout definitions
***********************************************************/

#maincontent {
  padding: 0px;
  border:  0px;
  color:        #000000;
  width:        776px;
  margin-left:  auto;
  margin-right: auto;
  border-collapse: collapse;
  background-color: #ffffff;
  background-image: url("gfx/texture.gif");
  border-style: none;
  text-align: left;
}

#textcontent {
  padding-left: 7%;
  padding-right: 7%;
}

h2 { margin-top: 0px; padding-top: 0px; margin-bottom: 4px; font-size: 24px; letter-spacing: -1.3px; }



/***********************************************************
  Hero Block
***********************************************************/

.heroes {
  margin: 0px;
  padding: 10px;
  color: #cfcfcf;
  text-shadow: 0px 0px 2px black;
  height: 280px;
  vertical-align: middle;
}

.cafe {
	background-color: #4e2720;
	background-image: url("gfx/hero-bg-800px-280px-cafe.jpg");
	background-size: cover;
}

.heroes h2 {
  color: #ffffff;
  text-shadow: 1px 1px 3px black;
  font-size:   36px;
  line-height: 38px;
  text-align:  center;
}

.heroes a {
  color: #ffffff;
  text-decoration: none;
}

@media screen and (max-width: 800px) {
  .heroes {
    height: auto;
    padding: 15px;
  }

  .heroes img {
    float: none !important;
    display: block;
    margin: 0 auto 15px auto !important;
    max-width: 100%;
    height: auto;
  }
}



/***********************************************************
  News Alert - possibly unused now?
***********************************************************/

.newsalert {
	margin: 0px;
	padding: 2px;
	height: 42px;
	background-color: #bb0000;
}

.newsalert a {
	color: #cccccc;
}



/***********************************************************
  Banner - possibly unused now?
***********************************************************/

#banner {
  margin: 10px;
  padding: 4px;
  color: #eedddd;
  background-color: #773333;
  background-image: url("gfx/redback.gif");
  border: 1px solid #000000;
}

#banner .left {
  padding-right:  5px;
  padding-bottom: 5px;
}

#banner a {
  color: #ffffff;
  font-weight: bold;
}



/***********************************************************
  Feedback form
***********************************************************/

fieldset {
  border:  0px;
}

fieldset label {
  font-size:   .8em;
  font-weight: bold;
}

fieldset input, fieldset textarea {
  display:          block;
  margin-bottom:    8px;
  width:            300px;
}

fieldset .feedback input, fieldset .feedback textarea {
  color:            #000000;
  background-color: #F9F9F9;
}




/***********************************************************
  Search form
***********************************************************/

#searchform {
  color:          #000000;
  background:     #CCCCCC;
  border-top:     1px solid black;
  border-bottom:  1px solid black;
  padding-top:    7px;
  padding-bottom: 7px;
  text-align:     center;
  font-size:      16px;
  margin-bottom:  20px;
}

#searchform input.text {
  color: #000000;
  background-color: #ffffdd;
  font-weight: bold;
}

#searchform input:focus {
  color: #000000;
  background-color: #ffffee;
}



/***********************************************************
  Responsive Design Quad Navigation Grid / Links Panel
***********************************************************/

.nav-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  clear: both;
}

.nav-grid-item {
  display: inline-block; /* For old non-flex browsers, eg NetSurf. Flex overrides. */
  flex: 1 1 180px;  /* Changed from 0 0 180px - this allows growth */
  max-width: 180px; /* Keep them from getting too wide */
  padding: 5px;
  text-align: center;
}

.nav-grid-item h2 {
  text-align: center;
}

.nav-grid-item h2 a {
  color: #000000;
}

.nav-grid-item h2 a:hover {
  color: #ff0000;
}

.nav-grid-item-content {
  /*background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 4px; */
  padding: 4px;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
}


/* Fill screen of mobile phones & tablets */
@media screen and (max-width: 800px) {
  #maincontent {
    width: 100%;
    max-width: 776px;
  }
}

/* Mobile - single column Product-Block */
@media screen and (max-width: 480px) {
  .nav-grid-item {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 15px 5px;
  }

  .nav-grid-item-content {
    font-size: 17px;
    line-height: 19px;
  }
}

/* Tablet - two columns Product-Block */
@media screen and (min-width: 481px) and (max-width: 799px) {
  .nav-grid-item {
    flex: 1 1 45%;
    max-width: 48%;
  }
}