/* --------------------------------*/
/* MISC */
/* --------------------------------*/
:root {
	accent-color:  #0000ff;
}

html {
  scroll-behavior: smooth;
}
.bg-eggshell {
  background-color:#fffefd;
}
/* --------------------------------*/
/* TYPOGRAPHY */
/* --------------------------------*/

.tac {
    text-align:center;
}
.tar {
  text-align:right;
}
.fwb {
    font-weight:bold;
}
.fsi {
    font-style:italic;
}
.smaller {
  font-size:.7em;
}

/* center table */
.center-table {
  margin: 0 auto;
}


/* --------------------------------*/
/* HOME PAGE SPECIFIC */
/* --------------------------------*/
/* row containers */

.row-container-a, .row-container-b {
  max-width:1150px;
  margin: 1em auto;
  overflow:hidden;
  background:rgb(241, 241, 242);
  border-radius:10px;
}
.row-container-b {
  display:flex;
  justify-content: stretch;
}
/* lead story stuff - lead news */
.lead-story {
  padding:1em;
  overflow:hidden;
  width:75%;
}
.lead-story-photo {
  width:40%;
  float:left;
  padding:0 1em 0 0;
}
.lead-story-photo img {
  width:100%;
}
/* featured image up in lead story area */
.lead-image {
  width:25%;
  float:left;
  padding:1em;
}
.lead-image img {
  width:100%;
}
.lead_photo {
  float: right;
  padding: 0 1em;
  width: 30%;
}
.lead_photo img {
  width:100%;
}
.box-item{
  width:100%;
  padding:1em;
  border:solid thin #ccc;
  border-radius:5px;
}
/* random photobank stuff */

.random-album-pix {
  display:flex;
  flex-wrap:wrap;
}
.random-album-pix ul {
  list-style:none;
  display:inline;
}
.random-album-pic {
  width:25%;
  list-style:none;
}
.random-album-pic img {
  width:100%;
  object-fit:cover;
  max-height:200px;
}
/* --------------------------------*/
/* LANDING PAGE STYLING */
/* --------------------------------*/

.landing {
  background:url('img/stickybg.jpg');
  height:60px;
}
.srlogo {
  position:absolute;
  height:150px;
  left:10%;
  top:1%;
}

.srlogo a:link {
  border:none;
}
.main-content {
  width:90%;
  margin-left:auto;
  margin-right:auto;
  margin-bottom:20px;
  overflow:hidden;
  padding:0px;
}
.main-content a:visited {
  color:#0b7ef1;
}
.sidebar {
width:15%;
float:left;
margin-left:5%;
margin-right:3em;
padding:60px 0px;
font-size:.8em;
}
.content-col {
  width:75%;
  float:left;
  overflow:hidden;
}
.content-col a:link {
  color:#0000ff;
}
.content-col a:visited {
  color:#0000ff !important;
}
/* full column */

.content-col-full {
  width:100%;
  float:left;
  overflow:hidden;
}
.content-col-full a:link {
  color:#0000ff;
}
.content-col-full a:visited {
  color:#0000ff !important;
}
.sidebar a:visited {
  color:#0000ff !important;
}
.news-story {
  border:solid thin #d2f7f6;
  border-radius:10px;
  overflow:hidden;
  padding;1em;
  margin-bottom:1em;
  box-shadow:
      0 1px 1px hsl(0deg 0% 0% / 0.075),
      0 2px 2px hsl(0deg 0% 0% / 0.075),
      0 4px 4px hsl(0deg 0% 0% / 0.075),
      0 8px 8px hsl(0deg 0% 0% / 0.075),
      0 16px 16px hsl(0deg 0% 0% / 0.075)
    ;
}
.news-text {
  width:73%;
  padding:1em;
  float:left;
}
.news-photo {
  width:18%;
  float:left;
  padding-right:1em;
}
.news-photo-all {
  width:18%;
  float:left;
  padding:1em;
}
.news-photo-all img {
  float:left;
  border-radius:10px;
  width:100%;
}

/*
.news-story a:visited, .teaser-link a:link, a:visited {
  color:#0000ff !important;
}
*/
.teaser-link {
  font-size:.80em;
  font-style:italic;
  float:right;
  width:30%;
  text-align:right;

}
/* recipes styling */

.recipe-cols {
  width:30%;
  float:left;
  margin: 0 10px;
  border-right:solid thin blue;
}
.recipe-cols-last {
  width:30%;
  float:left;
  margin: 0 10px;
}
#dishes, #ing, #lifestyle {
  display:none;
}
.showdish a {
  color:#000 !important;
  text-decoration:none;
  cursor:pointer;
}
/* news page */

.newsimg img{
  width:80%;
}
/* ***********  */
/* photos start */
/* ***********  */

/* single photo display stuff */

/* have to use important because the containing img rule dictates imgages to be at least 150px or something close */
.photo-icons {
  width:16px !important;
  height:16px !important;
}
.current-photo-box {
  width:90%;
  margin:0 auto;
  overflow:hidden;
}
.prev-photo, .next-photo {
  width:25%;
  vertical-align: middle;
  font-size:3em;
}
.prev-photo {
  float:left;
}
.next-photo {
  float:right;
}
.prev-photo a:link {
  text-decoration:none;

}
.next-photo a:link {
  text-decoration:none;

}
.current-photo {
  width:50%;
  float:left;
}
.large-photo img {
  width:100%;
}
.photocellcontainer {
  display:table;
  width:100%;
  min-height:300px;
}
.photorow {

}
.photocell {
  float: left;
  width: 15%;
  padding: 1em;
  margin-bottom: 1em;
  margin-right: 1em;
  border: solid thin #290db2;
  border-radius: 10px;
/*   min-height: 275px; */
  text-align: center;
}

  .photocell img a {
    border: none; }
  .photocell img {
    max-width: 100%;
/*    max-height: 100%;  */
}
/* new photo styling with flex */
.list {
  display:flex;
  flex-wrap:wrap;
}
.list-item {
  display:flex;
  padding: 0.5em;
  width:100%;
  float:left;
}
.list-content {
   display: flex;
   flex-direction: column;
   background-color: #fff;
   padding: 1em;
   width: 100%;
}
.list-content p {
  flex: 1 0 auto;
}
/* end of new photo flex rules that don't quite work

/* let's try this with grid */
/* First the Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 1.5rem;
  justify-items: center;
  margin: 0;
  padding: 0;
}

/* The Picture Frame */
.gallery-frame {
  padding: .5rem;
  font-size: 1.2rem;
  text-align: center;
  border:solid thin rgb(186, 185, 197);
  border-radius:5px;
  color: #2e2c2c;
}

/* The Images */
.gallery-img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  transition: opacity 0.25s ease-in-out;
}

.gallery-img:hover {
  opacity: .7;
}


 try some table behavior*/

 .table {
   display:table;
 }
 .tr {
   display:table-row;
 }
 .td {
   display:table-cell;
   padding:1em;
  }
  .td img {
    border-radius:10px;
  }
.caption {
  font-size: .8em;
  font-style: italic; }

.photonav {
  clear: both;
  text-align: right; }

.morealbums {
  display:none;
}
/* photos end */

/* humor stuff */
.humoritemlist {

  padding-left:1em;
  padding-right:1em;
  font-size:.8em;

}
.humorcatlabel {
  background: rgb(2,0,36);
  background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 0%, rgba(0,212,255,1) 100%);
  color:#fff;
  padding-left:1em !important;
  border-radius:5px;
}
.showhumorlinks {
  min-width:100%;
  cursor:pointer;
  border-radius:px;
}
.col-2h {
  width:46%;
  float:left;
  margin-right:2em;
}
/* humor stuff end */

/* DVD Page  old */

/* old */
.moviecell {
  width: 10%;
  float: left;
  border: solid thin blue;
  margin-left: 5px;
  min-height: 300px;
  margin-bottom: 5px;
  border-radius: 15px;
  position: relative;
}
.pad {
  padding:.2em;
}
/* end old */ 

/* use for new */
.arrow {
  border-color: transparent #FFFFFF transparent transparent;
  border-style: solid;
  border-width: 10px 22px 10px 10px;
  height: 0;
  left: -32px;
  position: absolute;
  top: 34px;
}
/* where is this used */

.dvdspecialfeatures {
  margin-top:4em;
}
/* use for new */
.dvdsearch {
  width:25%;
  float:left;
}
.dvdpagination {
  width:70%;
  float:right;
}
/* old */
.moviecell li {
  list-style: none;
  display: inline; }

.moviecell_title {
  position: absolute;
  top: 0px;
  left: 0px;
  background: #006 !important;
  width: 100%;
  border-radius: 15px 15px 0 0 !important;
  height: 50px;
  font-size:.8em;
  color:#fff;
}
.covercell {
  -moz-border-radius: 15px;
  border-radius: 15px;
  position: relative;
  margin-top: 80px;
  z-index: 1; }

.covercell p {
  text-align: center; }

/* use for new */
/* white box contains synopsis of movies */
.white_box {
  display: none;
  position: absolute;
  top: -30px;
  left: 143px;
  width: 175px;
  z-index: 5;
  color:#000;
}
.white_content {
  font-size: 10px;
  background: #fff;
  width: 200px;
  padding: 16px;
  border: 0;
  background-color: white;
  z-index: 5;
  margin-top: 20px;
  border-radius: 10px;
  overflow: auto;
  /*height: 40%;*/
  box-shadow: 0px 0px 15px black;
}
/* old */
.moviecell h4 {
  text-align: center;
  color: #fff;
  margin-top: 7px; }

/* DVD Page End */

/* recipes page stuff */

.imgcredit {
  font-size:.6em;
}
/* ********************** */
/*  DIVS WE HIDE          /*
/* ********************** */

.recipe-description {
  display:none;
}

/* ********************** */
/*       LAYOUTS          */
/* ********************** */

/* One column page no sidebar */
.onecolcontainer {
  width:90%;
  margin-left:auto;
  margin-right:auto;
}
/* 3 column layout */
.col-3 {
  width:30%;
  float:left;
  border-right:#b2b6f2;
}
.col-3-3 {
  width:30%;
  float:left;
}

/* 2 columns */
.col-2 {
  width:50%;
  float:left;
  border-right:#b2b6f2;
}
.col-2 li {
  width:50%;
  float:left;
  border-right:#b2b6f2;
}

.col-2-2 {
  width:50%;
  float:left;
}

.flex-cols {
  display:flex;
  justify-content: space-evenly;
  flex-wrap:wrap;
  /* flex-direction:column;
  height:300px; */
  width:100%;
  list-style:none;
}
.flex-cols>* {
  flex: 1 1 20px;
}
.clips  {
  padding-right:1em;
  width:20%;
  min-width:200px;
}
.linklist {
  list-style:none;
}
/* admin manaager */
.loginbox {
  width:25%;
  margin-left:auto;
  margin-right:auto;
  border:solid thin blue;
  border-radius:10px;
  overflow:hidden;
  padding:1em;
}

.textfield-small {
  width:3em;
}
.abstract {
  background: #c8cfce;
  padding: 1em;
  border-radius: 5px;
}
.photo-med {
  max-width:30%;
}
.photo-right {
  float: right;
}
.photo-left {
  float: left;
}
.photo-left, .photo-rigyht {
  padding:  0 1em;
}
.photo-right img, .photo-left img {
  max-width: 350px;
}
.photo-album-content {
  display: grid;
  display: grid;
  grid: auto auto / auto auto auto auto/
}
.photo-album-content-grid {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-items: stretch;
}
/* ***************** */
/* reusable features */
/* ***************** */



/* ***************** */
/* flex containers etc */
/* ***************** */

.col-2-flex
{
  display:flex;
  justify-content:space-evenly;
  flex-wrap:wrap;
}
.col-2-flex p {
  width:45%;
}
.pagination-links {
  width:50%;
  font-size:.8em;
  padding-top:2em;
  word-spacing:1em;
  margin: 0 auto;
}
/*
.pagination-links a:link, a:visited {
  color:#0000ff;
}
*/
.bigplus {
  font-size:1.5em;
  cursor:pointer;
  vertical-align:center;
}

.hidden {
  display:none;
}
.adminfeatures {
  width:30%;
  position:absolute;
  top:25%;
  right:5%;
  text-align:right;
}
.adminedititems {
  width:10%;
  float:left;
  overflow:hidden;
  padding:0em; 1em;
  float:right;
}
.manageitem {
  float:left;
  padding: 0 1em;
}
.ui-datepicker-calendar {
  background:#fff;
}
#ulwindow {
  display:none;
  position:absolute;
  top:10%;
  left:30%;
  background:#fff;
  padding:1em;
}
#closeulwindow {
  width:10%;
  float:right;
  font-size:2em;
  cursor:pointer;
}

/* blackout div */
#curtain {
  position:absolute;
  display:none;
  left:0;
  top:0;
  right:0;
  bottom:0;
  background-color: rgba(0, 0, 0, 0.3);
  width:100%;
  height:100%;
}
/* secret admin login and */
.secret {
  position: absolute;
  top: 0;
  right: 0;
  width: 3em;
  height: 3em;
  z-index:999999;
}
.secret img, .secretlogout img {
  width: 100%;
}
.secret a:link, a:visited {
  border: none;
}
.secretlogout a:link, a:visited {
  border: none;
}
.secretlogout {
  position: absolute;
  top: 0;
  left: 0;
  width: 3em;
  height: 3em;
}

/* -------tiny photo grid for home page using flex ------- */

.tinyphotogrid {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  padding:0px;
}
.tinyphoto {
  min-height:auto;
  width:45%;
}
.tinyphoto img{
  width:100px;
  height:100px;
  object-fit:cover;
 }