/* brand color: #54badc */

/* Base -------------------------------------------------- */

*, *::before, *::after {
  box-sizing: border-box;
}

html, body,
ul, ol, dl, dt, dd, li,
p {
  margin: 0;
  padding: 0;
  list-style: none;
}

body {
  font: 14px/1.5 sans-serif;
  color: #444;
}

a {
  color: #54badc;
}

a:visited {
  color: #2388a9;
}


/* UI components -------------------------------------------------- */

.btn {
  display: inline-block;
  background-color: #54badc;
  text-decoration: none;
  color: #fff;
  padding: 0.7em 1em;
  text-transform: uppercase;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1;
  border: none;
  cursor: pointer;
}

.btn:visited {
  color: #fff;
}

.text-field {
  font-size: 13px;
  padding: 0.6em 1em;
  line-height: 1;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.text-field:focus {
  outline: none;
  border-color: #54badc;
}


/* Layout -------------------------------------------------- */

.page-wrap {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 1em;
}


/* Grid system -------------------------------------------------- */

.row {
  overflow: hidden;
  font-size: 0;
  line-height: 0;
}

.row--centered {
  text-align: center;
}

.row--justified {
  text-align: justify;
  text-justify: distribute; /* IE hack */
}

.row--justified:after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 1px;
}

.row--middled .col {
  vertical-align: middle;
}

.row--middled:after {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.col {
  font-size: 14px;
  line-height: 1.5;
  display: inline-block;
  text-align: left;
  vertical-align: top;
}

.col--100 {
  width: 100%;
}

.col--sidebar {
  float: right;
}


/* Masthead -------------------------------------------------- */

.masthead {
  padding: 0.7em;
  font-size: 12px;
  text-align: right;
  color: #fff;
  background: #000;
}

.masthead ul {
  display: inline-block;
}

.masthead li {
  display: inline-block;
  margin-left: 1em;
}

.masthead a {
  color: #888;
  text-decoration: none;
}


/* Branding -------------------------------------------------- */

.branding {
  padding: 1em 0;
  background-color: #1e85bb;
  background-image: linear-gradient(0deg, #2691c2, #1e85bb);
  margin-bottom: 1em;
}

.logo img {
  display: block;
}


/* Content -------------------------------------------------- */

.content .headline {
  font-size: 1.5em;
  font-weight: 400;
  color: #54badc;
}

.letter {
  max-width: 40em;
  margin: 5em auto;
}

.letter p {
  margin-bottom: 1em;
}


/* Screencast form -------------------------------------------------- */

.find-screencasts-form {
  margin: 1em;
}


/* Videos list -------------------------------------------------- */

.videos-list li {
  padding: 0.5em 1em;
  border-bottom: 1px solid #ddd;
}

.videos-list li:first-child {
  border-top: 1px solid #ddd;
}

.videos-list li:nth-child(odd) {
  background-color: #fafafa;
}

.videos-list li:hover {
  background-color: #f0f0f0;
}

.video__actions a {
  display: inline-block;
  margin-left: 0.4em;
  padding-left: 0.4em;
}

.video__actions a:not(:first-child) {
  border-left: 1px solid #ddd;
}
