/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #4A4A4A;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

a:link, a:visited {
  color: #444;
}


/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* #Font-Face
================================================== */
/*  This is the proper syntax for an @font-face file
    Just create a "fonts" folder at the root,
    copy your FontName into code below and remove
    comment brackets */

/*  @font-face {
      font-family: 'FontName';
      src: url('../fonts/FontName.eot');
      src: url('../fonts/FontName.eot?iefix') format('eot'),
           url('../fonts/FontName.woff') format('woff'),
           url('../fonts/FontName.ttf') format('truetype'),
           url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
      font-weight: normal;
      font-style: normal; }
*/

.corbel-bolditalic { 
  font-family: Corbel-BoldItalic;
  /*font-weight: normal;
  font-style: normal;*/
}
.corbel { 
  font-family: Corbel;
  /*font-weight: normal;
  font-style: normal;*/
}
.corbel-bold { 
  font-family: Corbel-Bold;
  /*font-weight: normal;
  font-style: normal;*/
}
.corbel-italic { 
  font-family: Corbel-Italic;
  /*font-weight: normal;
  font-style: normal;*/
}


/* ==========================================================================
   Headers
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  line-height: 1.2em;
}

h1 {
  margin-top: 1.5em;
  margin-bottom: .5em;
}

h1:first-child {
  margin-top: 0;
}

h2 {
  margin-top: 1.5em;
  margin-bottom: .5em;
}

h3, h4, h5, h6 {
  margin-top: 1.5em;
}

h2 + h3 {
  margin-top: 0;
}


/* ==========================================================================
   Site navigation
   ========================================================================== */

section.header {
  background: #4A4A4A;
  color: #fff;
  padding-top: 20px;
  padding-bottom: 20px;
}

section.header {
  border-bottom: 5px solid #FC5E16;
}

.mainnav, .mainnav > li {
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-weight: 300;
}

.mainnav {
  font-size: 20px;
  line-height: 22px;
  margin-top: 12px;
}

.mainnav > li {
  position: relative;
  display: inline-block;
  margin-right: 40px;
}

.mainnav li a {
  text-decoration: none;
  display: inline-block;
}

.mainnav > li > a {
  color: #C8C8C8;
  padding-bottom: 10px;
}

.mainnav > li > a:hover,
.mainnav > li:hover > a {
  padding-bottom: 8px;
  color: #fff;
  border-bottom: 2px solid #fff;
}

.mainnav > li.current > a {
  padding-bottom: 8px;
  color: #fff;
  border-bottom: 2px solid #E90101;
}

.row > .div {
    background: yellow;
}

/* NAV WRAPPER */
 
.navigation-wrapper {
  padding-right: 150px;
}



/* SECONDARY NAV */

.secondary-nav, .secondary-nav li {
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-weight: 300;
}

.secondary-nav li a {
  text-decoration: none;
  display: inline-block;
}

.secondary-nav > li > a {
  color: #C8C8C8;
  padding-bottom: 2px;
}

.secondary-nav > li > a:hover,
.secondary-nav > li:hover > a {
  padding-bottom: 1px;
  color: #fff;
  border-bottom: 1px solid #fff;
}

.secondary-nav {
  position: absolute;
  right: 0px;
  top: 0px;
}

li.with-divider {
  border-left: 3px solid #FF0101;
  padding-left: 15px;
}

/* LOGO */

.logo {
    position: relative;
}

.logo-label {
  font-size: 26px;
  margin-left: 10px;
  margin-top: 16px;
}

.etk-logo {
  width: 60px;
  height: auto;
  float: left;
}

.logo a {
  color: #fff;
  text-decoration: none;
}

.header .logo {
}


/* ==========================================================================
   Container Styles
   ========================================================================== */

body {
    font-family: "myriad-pro", Roboto, Arial, Bitstream Vera Sans, Arial, Verdana, sans-serif, Helvetica;
   background: #F7F4F4
    /* background: #fff;*/
}

input,
textarea,
select {
    font-family: "myriad-pro", Roboto, Arial, Bitstream Vera Sans, Arial, Verdana, sans-serif, Helvetica;
}


.wrap {
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
}

section.footer, section.main {
	padding: 20px 0px;
}

section.main {
	padding-bottom: 30px;
}

section.with-card {
  padding-top: 40px;
  padding-bottom: 40px;
}

div.rows {
	padding-right: 2rem;
  	padding-left: 2rem;
}

section.footer {
 text-align: center;
 border-top: 5px solid #FC5E16;
  background: #4A4A4A;
	color: #ffffff;
  padding: 30px 0;
}

section.gray {
  background: #e5e5e5;
}

section.tan {
  background: #F7F4F4;
}

.row > div {
    margin-bottom: 1em;
}

.double-bottom-margin > div {
  margin-bottom: 2em;
}

/* ==========================================================================
   Image helpers
   ========================================================================== */

svg.mark {
	width: 150px;
}


/* ==========================================================================
   Cards
   ========================================================================== */

.card {
    padding: 40px;
    border: 1px solid #ccc;
    border-bottom-width: 2px;
    background: #fff;
}

.card + .card {
    margin-top: 1.5em;
}

.tighter-card {
    padding: 20px;
}


/*.card > *:first-child {
  margin-top: 0;
}*/



/* ==========================================================================
   Items
   ========================================================================== */

.item {
    padding: 20px 30px;
    border: 1px solid #ccc;
    background: #fff;
    font-weight: 300;
}

.item h3 {
  margin: 0 0 5px 0;
  font-weight: 400;
}

.item p {
  margin: 0 0 5px 0;
}

.item p:last-child {
  margin-bottom: 0;
}

span.meta {
  display: block;
}

.col-xs-0 {
  flex: 0 0 100px;
  text-align: center;
}

.type-icon {
  max-width: 100%;
}

.col-xs-0  .w {
  padding: 0 10px 0 0;
}

.items .col-md-4 {
  flex-shrink: 0;
}

p.action {
  margin-top: 10px;
}

a.button {
  padding: 6px 8px;
  color: #04ABFB;
  border: 1px solid #04abfb;
  border-radius: 4px;
  background: #fff;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  text-transform: uppercase;
}

a.button:hover {
  color: #fff;
  background: #04abfb;
}



/* ==========================================================================
   Card Inset Headers
========================================================================== */


.inset-header {
    background: #E90101;
    color: #fff;
    padding: 20px 40px;
    margin: -40px -40px 40px -40px;
 }



.inset-header.subheader {
   padding: 15px 40px;
   background: #e5e5e5;
   color: #444;
    margin: -40px -40px 30px -40px;
    font-size: 1em;
    border-bottom: 1px solid #ccc;
}

 .item .inset-header.subheader {
    padding: 15px 30px;
    margin: -20px -30px 20px -30px;
    border-bottom: 1px solid #ccc;
 }

.inset-header.no-padding {
  padding: 0;
}

.inset-header *:first-child {
  margin-top: 0;
}

.inset-header *:last-child {
  margin-bottom: 0;
}

.inset-header .logo {
    float: right;
    margin-top: 5px;
}

.inset-header .remove-padding .pad {
    margin-left: -2rem;
    margin-right: -2rem;
}

h1 + div.meta {
  margin-top: .5em;
}

div.meta span {
  display: block;
  font-size: 14px;
  font-weight: 300;
}

.under-logo {
    padding-left: 36px;
    margin-top: 25px;
    font-size: 13px;
    font-weight: 300;
}

 .inset-header.smaller-headers h1 {
    font-size: 1.5em;
  }

 .inset-header.smaller-headers h1.sub-title {
    font-size: 70%;
  }

/* ==========================================================================
   Release list
========================================================================== */

h3.release-name {
  display: inline-block;
  margin: 0 0 0 0;
}

.release {
  margin-bottom: 10px;
  padding-bottom: 15px;
  border-bottom: 1px solid #cccccc;
}

.release:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0px;
}

.release-meta {
  float: left;
  padding: 10px 20px 0 0;
  width: 25%;
  box-sizing: border-box;
}

.release-date {
  display: block;
  font-size: 90%;
}

.jump {
  margin-top: 5px;
  display: block;
  font-size: 90%;
}

.release-downloads {
  float: left;
  display: inline-block;
  margin-top: 10px;
  font-size: 90%;
  width: 75%;
  box-sizing: border-box;
  font-weight: 400;
}

.release-downloads a {
  margin-right: 4px;
  margin-bottom: 4px;
}

.release-downloads a:last-child {
  margin-right: 0;
}

.release-downloads a:hover {
  text-decoration: none;
}

.downloads-list {

}

.notes-list {
  margin-top: 5px;
  padding-left: 2px;
}

/* ==========================================================================
  Callouts
 ========================================================================== */

div.callout {
    padding: 20px;
    background: #F5F2F2;
    border: 1px solid #ccc;
    font-size: 14px;
    font-weight: 300;
}

div.as-card {
   border: 1px solid #ccc;
    border-bottom-width: 2px;
}

div.callout-header {
  
   font-weight: 300;
   padding: 15px 20px;
   margin: -20px -20px 20px -20px;
   background: #384c5f;
   color: #fff;
   border-bottom: 1px solid #ccc;
}

 /*color: #fff;*/
/* blue: 1663a9 */

div.callout-header * {
  margin: 0;
}

div.callout-content *:first-child {
  margin-top: 0;
}


div.callout-content *:last-child {
  margin-bottom: 0;
}


/* ==========================================================================
   Filter
========================================================================== */


select.nice {
    border: 0;
    opacity: 0;
    height: 100%;
  }

.nice-select {
  border-color: #ccc;
}

.nice-select span.current {
  text-transform: uppercase;
}

.filters {
  margin-bottom: 1rem;
}

/* ==========================================================================
   Heroes
========================================================================== */

.hero {
  text-align: center;
  color: #4A4A4A;
  padding: 0;
  font-weight: 300;
}

.hero .column {
  float: left;
  height: 300px;
}

.hero .primary-column {
  background-color: #E90101;
  color: #fff;
}

.hero .primary-column h1 {
  margin: 0 0 10px 0;
  font-weight: 400;
}


.hero .primary-column h2 {
  margin: 0 0 5px 0;
  font-size: 16px;
  line-height: 1.4em;
}

.hero-column {
  padding: 40px;
  max-width: 600px;
  box-sizing: border-box;
}

.primary-column .hero-column {
  float: right;
}


/* ==========================================================================
   Inputs
========================================================================== */

div.input-with-inline-button {
  position: relative;
  width: 100%;
}

div.input-with-inline-button input {
  background: rgba(255,255,255,.8);
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ccc;
  color: #333333;
  border-radius: 2px;
  font-family: "myriad-pro", Roboto, Arial, Bitstream Vera Sans, Arial, Verdana, sans-serif, Helvetica;
  text-transform: uppercase;
  padding-right: 70px;
}

div.input-with-inline-button .submit {
  position: absolute;
  font-style: normal;
  right: 20px;
  top: 13px;
  cursor: pointer;
}

div.input-with-inline-button .magnify {
  width: 35px;
  height: 35px;
}

div.input-with-inline-button .magnify path {
   fill: #FF0101;
}

div.input-with-inline-button::-ms-clear {
    display: none;
    width : 0;
    height: 0;
}

/* ==========================================================================
   Primary area styles
========================================================================== */

.primary li {
	margin-bottom: 10px;
}

.sub-title {
	font-size: 85%;
	text-transform: uppercase;
	margin-top: -1em;
}

span.note {
	display: inline-block;
	border: 1px solid #e5e5e5;
	padding: 2px 8px;
	background: #e5e5e5;
}

pre {
	padding: 0px;
}

div.example {
	background: #f2e8d7;
	border: 1px solid #eccd97;
	margin: 20px 0;
	padding: 0px 10px;
}

div.component-example {
	padding: 20px;
	border: 1px solid #e5e5e5;
}

.main img {
	max-width: 100%;
	height: auto;
	margin-bottom: 20px;
}

.header p, .footer p {
	margin: 0;
	line-height: 1;
	font-size: 13px;
}


/* ==========================================================================
   Tables
========================================================================== */

table.general {
	font-size: 16px;
	border-left: 1px solid #ccc;
	border-top: 1px solid #ccc;
	margin-bottom: 20px;
}

table.fixed-width {
	table-layout: fixed;
}

table.general td, table.general th {
	text-align: left;
	vertical-align: top;
	padding: 5px 12px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

table.general th {
  background: #eef5fc;
}

table td p {
    margin: 0;
}

table th p {
  margin: 0;
}

table.general th { 
	font-weight: bold;
}

table.general ul {
	margin-top: 0;
}

.main li ul {
	margin-top: 10px;
}

table.general li {
	margin-bottom: 0;
}

span.role {
	font-style: italic;
}

.cell-role {
	width: 40%;
}

.cell-variable {
	width: 20%;
}

.release-icon {
  width: 20px;
}

/* ==========================================================================
   Navigation
========================================================================== */

.navigation {
	/*border: 1px solid #acd4e3;
	background: #e1f6fe;
	padding: 10px 20px 20px 20px;
	margin-top: 10px;*/
  font-weight: 300;
}

.fixed {
  position: fixed;
}

.navigation ul {
	margin-left: 0;
	padding-left: 0;
	margin-bottom: 0;
	list-style-type: none;
}

.navigation li.header {
	border-bottom: 1px solid #e5e5e5;
	/*border-top: 1px solid #f1f1f1;*/
	padding-top: 10px;
}

.navigation li.header.no-sub {
	padding-bottom: 10px;
}

.navigation li.header:first-child {
	border-top: none;
	padding-top: 0;
}

.navigation li.header:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.navigation li > ul {
	padding: 0px 0px 15px 0px;
  margin-top: 0;
}

.navigation ul li {
	margin: 0;
	padding: 0;
  line-height: 1.2em;
}

.navigation ul li.current > a {
	font-weight: 400;
}

.navigation ul li > a span {
  padding: 3px 3px 3px 0px;
  display: inline-block;
}

.navigation ul li.current > a span {
   border-bottom: 3px solid #E90101;
   padding-bottom: 0;
}

.navigation ul li > a:hover {
	background: #f1f1f1;
}

.navigation ul li a {
	display: block;
	color: #4A4A4A;
	padding: 5px 17px 5px 20px;
	text-decoration: none;
}

.navigation ul li ul li a {
  display: block;
  color: #4A4A4A;
  padding: 5px 27px 5px 30px;
  text-decoration: none;
}

.navigation ul li.future a {
	color: #c3c3c3;
}

.navigation ul li.future a:hover {
	background: none;
}


/* ==========================================================================
   Sitcky footer
   ========================================================================== */

html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
.content {
  flex: 1 0 auto;
}
.footer {
  flex-shrink: 0;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.align-left {
  text-align: left;
}

.align-right {
  text-align: right;
}

.align-center {
  text-align: center;
}

.align-middle {
  vertical-align: middle;
}

.inline-block {
	display: inline-block;
}

.no-padding {
    padding: 0;
}

.floated-right {
    float: right;
    margin-left: 40px;
    margin-bottom: 40px;
}

.floated-left {
    float: left;
    margin-right: 40px;
    margin-bottom: 40px;
}

.relative {
  position: relative;
}

.row.no-inside-margin > div {
  margin-bottom: 0;
} 

.row.smaller-inside-margin > div {
  margin-bottom: .5rem;
} 

.covered {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.vertically-align {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.bg-top-right {
  background-repeat: no-repeat;
  background-position: 100% 20px;
}

/* ==========================================================================
   width helpers
   ========================================================================== */

.width-33p {
  max-width: 33%;
}

.width-50p {
  width: 50%;
  box-sizing: border-box;
}



/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   Media Queries for Responsive Design.
   ========================================================================== */


@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {


  .width-50p {
    width: 100%;
  }

  .hero .fixed-height {
    height: auto;
  }

  .vertically-align {
    transform: none;
  }

  .release-meta {
    float: none;
    width: auto;
  }

  .release-downloads {
    float: none;
    width: auto;
  }

  .release-downloads a {
    margin-bottom: 5px;
  }

  .hero-column {
    max-width: none;
    float: none;
  }

  /* Force table to not be like tables anymore */
  table, thead, tbody, th, td, tr { 
    display: block; 

  }
  
  /* Hide table headers (but not display: none;, for accessibility) */
 /* thead tr { 
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  */
  
  /*
  tr { border: 1px solid #ccc; }
  */

  th {
    width: 100% !important;
    box-sizing: border-box;
  }

  td { 
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee; 
    position: relative;
    padding-left: 50%; 
  }

  td, th { 
    border-right: none;
    border-left: none;
  }
  
  td:before { 
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%; 
    padding-right: 10px; 
    white-space: nowrap;
  }


 
  
}

@media only screen and (max-width: 990px) {
    /* Style adjustments for viewports that meet the condition */

   section.header {
    }

    .mainnav {
        margin-top: 10px;
        font-size: 16px;
    }

    .mainnav > li > a,
    .mainnav > li > a:hover,
    .mainnav > li:hover > a {
      padding-bottom: 3px;
    }

     .mainnav > li.current > a {
      padding-bottom: 3px;
    }

    section.with-card {
      padding-top: 20px;
      padding-bottom: 20px;
    }

    .floated-right, .floated-left {
      margin: 20px 0;
      float: none;
      max-width: 100%;
    }

    .card {
      padding: 20px;
    }

    .card.no-padding {
      padding: 0;
    }

    .card .inset-header, .card .inset-header.subheader {
      margin: -20px -20px 40px -20px;
    }

    .card .inset-header {
      padding: 20px;
    }

    /*
    div.rows {
      padding-right: 1rem;
        padding-left: 1rem;
    }
    */

}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}
