/* foundation reset-y stuff*/
body, h1, h2, h3, h4, button, .button {
  font-family: 'Source Sans Pro', sans-serif;
}
body {
  background-attachment: fixed;
  background-repeat: no-repeat;
  height: 100%;
}
button, .button {
  background: #0073ff;
  outline: none;
  width: 100%;
}
button:hover, button:focus, .button:hover, .button:focus {
  background: #0073ff;
}
button:active, .button:active {
  background: #0053ad;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.4;
  font-weight: 700;
}
h1 small, h2 small {
  display: block;
  line-height: 1.4;
  margin-top: -.4rem;
  font-weight: 400;
  font-size: .8em;
  color: rgb(148, 159, 166);
}
h2 {
  font-size: 2.3125rem;
  line-height: 1.4;
  font-weight: 700;
}

/* like foundation's .row, but not responsive */
.fsm-row {
  width: 960px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
  max-width: 62.5em;
}
.fsm-row:before, .fsm-row:after {
  content: " ";
  display: table;
}
.fsm-row:after {
  clear: both;
}

/* -- nav */
.fsm-header {
  border-bottom: 8px solid rgba(0,0,0,.1);
  overflow: visible;
  height: 68px;
}
.fsm-nav-item:first-child {
  border-left: 4px solid #fff;
}
.fsm-nav-item {
  text-align: center;
  height: 68px;
  border-right: 4px solid #fff;
  padding: 0 0 8px;
}
.fsm-nav-item.fsm-nav-active a {
  border-bottom: 8px solid #0073ff;
  height: 68px;
}
.fsm-nav-highlight {
  background: #fafafa;
}
.fsm-nav-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  color: #000;
  font-weight: 600;
}
.fsm-nav-item span {
  position: absolute;
  width: 100%;
  display: block;
  bottom: 12px;
}
.fsm-nav-logo img {
  height: 30px;
}

/* -- dark */
.fsm-dark {
  background-color: #000;
  color: #fff;
}
.fsm-dark .fsm-nav-highlight {
  background: rgba(255,255,255,.1);
}
.fsm-dark .fsm-header {
  border-bottom: 2px solid #fff;
  height: 65px;
  margin-bottom: 3px;
}
.fsm-dark .fsm-nav-item {
  border: 0;
  height: 72px;
}
.fsm-dark .fsm-nav-item.fsm-nav-active a {
  border-color: #fff;
}
.fsm-dark .fsm-nav-item a {
  color: #fff;
  font-weight: 700;
}
.fsm-dark .fsm-nav-item span {
  bottom: 16px;
}
.fsm-dark .fsm-nav-item.fsm-nav-active span {
  bottom: 12px;
}

/* -- hp */
.fsm-style-hp {
  background-size: cover;
/*  background-image: url('/img/hpbg-opt.jpg');*/
  background-image: linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,0)), url('/img/pad.png');
}
.fsm-promobox {
  margin-top: 10%;
  margin-bottom: 10%;
  background: #fff;
  color: #000;
  padding: 0;
}
.fsm-promobox h2 {
  text-align: center;
  padding-right: 20px;
  padding-left: 20px;
  padding-top: 20px;
}
.fsm-promobox p {
  padding-right: 40px;
  padding-left: 40px;
  text-align: justify;
  color: rgba(0,0,0,.7);
  line-height: 1.2;
  font-weight: 600;
  font-size: .9rem;
}
.fsm-promobox .button {
  margin-bottom: 0;
}

/* -- general stylings */
.fsm-content {
  margin-top: 50px;
  min-height: 100%;
  min-height: calc(100% - 68px); /* height of header */
  min-height: -webkit-calc(100% - 68px);
}

.fsm-sidebar-section {
  margin-bottom: 2rem;
}
.fsm-sidebar-section:first-child {
  margin-top: 3.85rem;
}
.fsm-sidebar-section h3 {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: .5rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(0,0,0,.2);

}
.fsm-sidebar-section p {
  margin-bottom: .5em;
}

/* -- timekeeper */

.fsm-subnav {
  border-bottom: 1px solid rgba(0,0,0,.1);
  margin-bottom: 50px;
}
.fsm-subnav-item {
  position: relative;
}
.fsm-subnav-item a {
  display: block;
  width: 100%;
  height: 100%;
  padding-bottom: 10px;
}
.fsm-subnav-img {
  width: 75%;
  height: 89px;
  margin: 0 auto;
  display: block;
  position: relative;
}
.fsm-subnav-img img {
  width: 100%;
  position: absolute;
  bottom: 0;
}
.fsm-subnav-supertext, .fsm-subnav-primtext {
  display: block;
  margin-top: 20px;
  text-align: center;
  color: rgba(0,0,0,.5);
}
.fsm-subnav-supertext {
  position: absolute;
  top: 77px;
  width: 130px; /* TODO fix for responsive */
  font-size: .7rem;
}
.fsm-subnav-primtext {
  font-weight: 600;
  font-size: .9rem;
}

.fsm-style-timekeeper h1 {
  text-align: center;
}

.fsm-fbx {
  margin-top: 50px;
  padding-bottom: 50px;
  position: relative;
  border-bottom: 1px solid rgba(148, 159, 166, .5);
}

.fsm-fbx.fsm-with-side-image {
  padding-bottom: 10px;
}

.fsm-fbx:last-child {
  border-bottom: 0;
}

.fsm-fbx-side-image {
  position: static;
}
.fsm-fbx-side-image img {
  width: 40%;
  position: absolute;
  bottom: 0;
}
.fsm-fbx-right-image img {
  right: 0.9375em;
}
.fsm-fbx-left-image img {
  left: 0.9375em;
}
.fsm-fbx .button {
  width: 50%;
  margin: 0 auto;
  display: block;
  border-radius: 5px;
  background: rgba(0,0,0,0);
  color: #0073ff;
  border: 1px solid;
}
.fsm-fbx .button:active {
  background: #0073ff;
  color: #fff;
}

/* footer */

.fsm-footer {
  margin-top: 50px;
  background: rgba(0,0,0,.2);
  position: relative;
  padding: 3rem 0 1rem;
}
.fsm-footer h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
}
.fsm-footer ul {
  padding: 0;
  margin: 0;
}
.fsm-footer li {
  list-style-type: none;
}
.fsm-footer a {
  color: inherit;
}
.fsm-footer a:hover {
  text-decoration: underline;
}
.fsm-footer img {
  width: 224px;
  position: absolute;
  top: -3rem;
  right: 0;
}

.fsm-dark .fsm-footer {
  background: #000;
  color: #fff;
}
.fsm-dark .fsm-footer h3 {
  color: #aaa;
}

/* posts */
.fsm-post-cat a {
  padding: 2px .5em;
  color: #fff;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 600;
  border-radius: 5px;
  margin-right: 1em;
  background: #000;
}
.fsm-post-date {
  color: rgba(0,0,0,.5);
  width: 15%;
  display: block;
  float: left;
}
.fsm-post-cat-ceo-blog a {
  background: #0082ba;
}
.fsm-post-cat-whitepapers a {
  background: #008800;
}
.fsm-post-cat-press-releases a {
  background: #bd0000;
}
.fsm-post-cat-datasheets a {
  background: #323645;
}
.fsm-posts .fsm-post {
  margin-bottom: 2rem;
}
.fsm-posts .fsm-post h2 {
  font-size: 1.4rem;
  line-height: 1;
  margin: 0;
  padding: 0 0 .2em;
}
.fsm-posts .fsm-post h2 a {
  color: rgba(34, 34, 34, .2);
  text-decoration: underline;
}
.fsm-posts .fsm-post h2 a span {
  color: rgb(34, 34, 34);
}
.fsm-post-excerpt {
  color: rgba(0,0,0,.9);
}
.fsm-post-excerpt-readmore {
/*  color: rgba(0,0,0,.5);
  margin: -3px 3px;
  padding: 3px 1em; 
  background: rgba(0,0,0,.1);
*/  text-transform: capitalize;
}
.fsm-post-meta {
  overflow: hidden;
  padding: 5px 0;
  margin-top: -5px;
}

.fsm-sidebar-section .fsm-post-cat a {
  margin-bottom: 5px;
  padding: 5px;
  width: auto;
  display: block;
}

.fsm-ctoa {
  margin-top: 50px;
}
