/* Background color is #fee9dc or rgb(254,233,220)*/

/* Setting background so larger-than-1600px browsers have black sidebars rather
   than white */
body {
  background-color: #000000;
}

#main {
  background-color: #fee9dc;
}

.index-title {
    padding: 0 2%;
}

.menu-small {
  margin-left: 2em;
}
.genbody {
  padding: 0 2em 2em;
}
.general-title {
  padding: 0 2%;
}

/* Highlight links better inside general pages and news posts */
.genbody a {
  border-bottom: 2px solid #000;
}
.newsbody a {
  border-bottom: 2px solid #000;
}

/*****
 * HOME PAGE
*****/
  /* Adjustments for News layout on homepage */
  #home_news_listing {
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 2em;
    padding-bottom: 1em;
    background-color: #fee9dc;
  }
  #home_news_listing hr {
    height:5px;
    background-color: #000000;
    border-style: none;
  }

  /* Get news scroll and logo scaling for size, but not too big or too small */
  .tft-news-icon {
    max-width: 100%;
    min-width: 25px;
    height: auto;
    padding: 3% 5% 3% 0;
  }
  .tft-news-logo {
    max-width: 15vw;
    min-width: 90px;
    height: auto;
  }
  /* Different logo paddings at smaller sizes to keep them from overlapping */
  @media screen and (max-width: 1024px) {
    .tft-news-icon {
      padding: 8% 8% 3% 0;
    }
    .tft-news-logo {
      padding-left: 2%;
    }
  }
  @media screen and (max-width: 568px) {
    .tft-news-logo {
      padding-left: 5%;
    }
  }

  /*****
   * NEWS INDEXES
  *****/

  #news_listing {
    background-color: #fee9dc;
  }
}
/*.news-item-block {
    line-height: 0;
    margin: .5em .8em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    color: black;
}*/
  .news-item-row {
    border: solid 1px black;
    border-radius: 5px;
    background-color: #efefef;
    margin: 0.5em 1.5em;
    padding: 0.75%;
    width: 100%;
    display: flex;
  }
  .news-item-row a {
    border-bottom-style: none;
  }
    .datebox-row {
      font-weight: bold;
      align-items: baseline;
      text-align: center;
      padding: .5em .5em .5em .25em;
      line-height: 1.2;
      font-size: 120%;
    }
    .overlay-row {
      padding: .5em;
    }
      .headline-row {
        font-size: 120%;
        font-weight: bold;
        line-height: 1.0;
        padding-bottom: .3em;
      }
      .byline-row {
        font-size: 85%;
        line-height: 0.8;
      }
      .newsbody-row {
        line-height: 1.25;
      }
      .full-link {
        border-bottom-style: solid;
        font-size: 80%;
        font-weight: normal;
        color: blue;
      }
      .tags-row {
        line-height: 1.25em;
      }

/*****
 * News Items
*****/
  .byline {
    margin-top: -1.2em;
    font-size: .85em;
  }
/*****
 * TAGS (overrides from main.css definitions)
*****/
  .tag-badge {
    background-color: #ddd;
    padding: 0 .5em;
    margin: 0 1px;
    line-height: 1.5em;
    font-size: 0.8em;
    border-radius: 5px;
    box-shadow: 1px 1px 2px 0 #777;
  }

  /******
  * Image Alignments
  *******/
  .align_left {
    float: left;
    margin: 0 1em 0.5em 0;
    position: relative;
    top: 0.5em;
    max-width: 50%;
  }

  .align_right {
    float: right;
    margin: 0 0 0.5em 1em;
    max-width: 50%;
  }

  .align_center {
    display: block;
    margin: 1em auto;
    position: relative;
    top: 0.5em;
  }

  /******
  * Product Indexes
  ******/
  #category_description {
    padding: 0 2em 2em;
  }
