@import "https://cdnjs.cloudflare.com/ajax/libs/flexslider/2.6.3/flexslider.min.css";

html {
  font-size: 17px;
  color: #4d4d4d;
}
body {
  /* font-family: 'Montserrat', sans-serif; */
  font-family: "Gotham SSm A", "Gotham SSm B";
  background: #EDEDED;
}

h2, .uk-h2{
  font-size: 1.5rem;
  font-weight: 300;
}

h3, .uk-h3 {
  font-size: 1.5rem;
  font-weight: 300;
}

.uk-article-content {
  font-size: 14px;
  font-weight: 300;
}

.tm-timeline-body {
  font-size: 14px;
  font-weight: 300;
}

.uk-navbar {
  font-weight: 400;
}
.uk-card-body, p {
  font-weight: 400;
}
.flexslider {
  background: transparent;
  border: 0px solid transparent;
  max-width: 100%;
}
.flexslider .slidewrap {
  opacity: 0.90;
  background: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.flexslider .background {
  /* background: #800000; */
  /* opacity: 0.2; */
  height: 500px;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
  position: relative;
}
.flexslider .slides {
  max-height: 400px;
}

.flexslider .headline{
  /* background: rgba(0,0,0,.4); */
  width: 100%;
  color: white;
  text-transform: capitalize;
  font-size: 1em;
  font-weight: 400;
  text-shadow: 0 1px 0 #000;
  position: absolute;
  bottom: 0;
  padding-top: 10px;
  padding-bottom: 25px;
}

.flexslider .headline .flex-caption-title {
  font-size: 2.22222222em;
  font-weight: 400;
  text-transform: capitalize;
}

.flexslider .headline .flex-caption-title {
  color: white;
}

.flexslider li {
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  max-width: 100%;
  max-height: 100%;
}

.flexslider .slides img {
  margin-left: auto;
	margin-right: auto;
	display: block;
  height: 400px;
  width: auto;
  background-size: cover;
}

.flex-direction-nav a {
  width: inherit;
  height: inherit;
}
.flex-next {
  right: -70px;
  /* font-size: 0; */
}
.flex-direction-nav {
  font-size: 0;
}

.flexslider .slideshow-zoom {
  transition: transform 0.2s;
}

.flexslider .slideshow-zoom:hover {
  transform: scale(1.1);
}

.flex-control-nav {
  bottom: 10px;
}
.flex-control-paging li a.flex-active {
  background: rgba(255, 181, 71, 0.9);
}
.flex-control-paging li a.flex-active:hover {
  background: rgba(255, 181, 71, 0.9);
}
.flex-control-paging li a {
  background: rgba(255, 255, 255, 0.6);
}
.flex-control-paging li a:hover {
  background: rgba(255, 255, 255, 0.5);
}

footer {
  background: -webkit-linear-gradient(top, #403f3f 0, #383737 100%);
}
footer a {
  padding: 15px;
}
footer .shield {
  /* text-indent: -9999em; */
  background: transparent url('https://d3qi0qp55mx5f5.cloudfront.net/shared-resources/i/template/shield.svg') no-repeat center top;
  background-size: cover;
  top: 0;
  max-height: 120px;
  width: 7%;
  margin: 0 auto;
  opacity: 0.6;
}
footer .footer-top-row .shield-logo {
  max-height: 60px;
  width: auto;
  /* top: 30px; */
}
footer .shield-logo-links {
  top: 28px;
}
footer .footer-top-row .efi-logo {
  max-height: 80px;
  width: auto;
  /* top: 30px; */
}
footer .efi-logo-links {
  top: 20px;
}
footer .footer-top-row .maniac-logo {
  max-height: 100px;
  width: auto;
}
.uk-link-muted a {
  color: #d9d9d9;
}
footer .uk-subnav>*>:first-child {
  color: #d9d9d9;
}
footer .uk-subnav>.uk-active>a {
  color: #d9d9d9;
}

footer .uk-subnav {
  margin-top: 0;
  margin-left: 0;
}

footer .footer-top-row {
  border-bottom: 1px solid #1b1b1b;
}
footer .row {
  border-top: 1px solid #4d4d4d;
  padding: 0.5em 0 !important;
}

.sub-hero {
  background: url(/assets/home_banner.png) no-repeat center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  max-width: 100%;
  max-height: 100%;
}

/* .box {
  float: left;
  width: 45%;
  padding: 10px;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
} */

.columns {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	margin: 5px 0;
}

.column {
	flex: 1;
	/* border: 1px solid gray; */
	margin: 2px;
	padding: 10px;
	&:first-child { margin-left: 0; }
	&:last-child { margin-right: 0; }

}

@media screen and (max-width: 980px) {
  .columns .column {
		margin-bottom: 5px;
    flex-basis: 40%;
		&:nth-last-child(2) {
			margin-right: 0;
		}
		&:last-child {
			flex-basis: 100%;
			margin: 0;
		}
	}
}

@media screen and (max-width: 680px) {
	.columns .column {
		flex-basis: 100%;
		margin: 0 0 5px 0;
	}
}
