html {
  height: 100%;
  padding: 0;
  margin: 0;
}

body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-size: 10pt;
  background: #13265D;
  color: #fff;
}

a {
  color: #fff;
  transition: color ease-in-out 200ms;
}

a:hover {
  color: #ccf;
}

h1, h2, h3, h4, h5, h6 {
  text-transform: uppercase;
}

hr {
  opacity: 0.3;
}

#container {
  height: 100%;
}

.row-container,
.col-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-direction: normal;
  -webkit-box-orient: horizontal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.col-container {
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.panel {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-align-self: auto;
  -ms-flex-item-align: auto;
  align-self: auto;
}

#about {
  padding: 2em;
  text-align: center;
  background: #fff;
  overflow: auto;
}

#about article {
  padding: 1em;
  color: #6D6C69;
}

#content {
  flex: 1.75;
  overflow: auto;
}

.logo {
  max-width: 100%;
  height: auto;
}

#highlights {
  background: #1d367d;
}

#news footer {
  text-align: center;
  padding: 2em;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 10%;
}

.slider .slide img {
  max-width: 80%;
  max-height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.slider .links {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  z-index: 1000;
  padding: 5%;
}

.slider .link {
  float: left;
  clear: left;
  margin-top: 1em;
}

.link {
  font-weight: 700;
  background-color: rgba(29, 54, 125, 0.75);
  padding: 10px;
  border-radius: 20px;
  text-decoration: none;
  color: #fff;
  transition: background-color ease-in-out 200ms;
  text-transform: uppercase;
  display: inline-block;
}

.link:hover {
  background-color: rgb(37, 94, 141);
  color: #fff;
}

#highlights {
  padding: 20px;
}

#news article {
  padding: 20px;
  background: #182d69;
}

#news footer {
  text-transform: uppercase;
  font-weight: bold;
  background-color: #253b79;
}

.product-list {
  padding: 0;
  margin: 0;
  list-style: none;
  overflow: auto;
  overflow-y: overlay;
  width: 100%;
}

.product-list > li {
  margin: 0;
  display: block;
}

.product-list > li > a {
  display: block;
  min-height: 200px;
  position: relative;
  color: #fff;
  text-decoration: none;
  filter: sepia(40%);
  transition: filter ease-in-out 400ms;
  background-size: cover;
}

.product-list > li > a:hover {
  filter: sepia(0%);
}

.product-list > li > a > img {
  max-width: 40%;
  max-height: 80%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto 20px;
}

.product-list > li > a > span {
  font-size: 12px;
  /*text-shadow: 0px 0px 3px #000;*/
  padding: 20px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: 0;
  background: -moz-linear-gradient(left, rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.75) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 30%,rgba(0,0,0,0.75) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 30%,rgba(0,0,0,0.75) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  overflow: auto;
}

.product-list > li > a > span p {
  margin: 0;
}

.social {
  margin-top: 1em;
}

.social i {
  font-weight: normal;
  font-size: 250%;
}

.social a+a {
  margin-left: 0.4em;
}

.content-container {
  transition: opacity ease-in-out 400ms;
}

.list {
  flex-wrap: wrap;
}

.list > * {
  min-width: 100%;
  box-sizing: border-box;
}

.news-page header {
  display: table;
  text-align: center;
  text-shadow: 0 0 3px #000;
  min-height: 100px;
  height: 100px;
  width: 100%;
  margin-top: 20px;
  background: -moz-linear-gradient(top, #182d69 0%, #1d367d 100%);
  background: -webkit-linear-gradient(top, #182d69 0%,#1d367d 100%);
  background: linear-gradient(to bottom, #182d69 0%,#1d367d 100%);
  background-size: cover;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#182d69', endColorstr='#1d367d',GradientType=0 );
}

.news-page footer {
  padding: 20px;
}

.news-page footer span {
  float: right;
  font-style: italic;
  line-height: 35px;
}

.news-page header h1 {
  display: table-cell;
  vertical-align: middle;
}

.news-page article {
  padding: 20px;
}

.news-page article img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 640px){
  html, body, #container {
    height: auto;
  }
  .row-container,
  .col-container,
  .panel {
    display: block;
  }

  .not-home #about {
    overflow:hidden;
    height: 2em;
  }

  .not-home #about img{
    max-height: 2em;
    position: absolute;
    top: 0.5em;
    left: 0.5em;
  }

  .not-home #about article {
    display: none;
  }

  .slider {
    min-height: 540px;
  }
}
  
@media (max-width: 768px){
  #content {
    overflow: auto;
  }

  #content section.row-container {
    flex-direction: column;
  }

  .product-list > li > a {
    text-align: center;
    min-height: auto;
  }

  .product-list > li > a > span {
    background: rgba(0,0,0,.3);
    display: block;
    position: initial;
    padding: 20px;
    text-align: left;
  }
  .product-list > li > a > img {
    position: initial;
    margin: 20px auto;
  }
}
  
@media (hover: none) {
  .product-list > li > a {
    filter: sepia(0%);
  }
}
