/*
 * Basic Table Demo CSS.
 */

@import url(http://fonts.googleapis.com/css?family=Lato:400,700|Montserrat:400,700);

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #e4ebeb;
  color: #636363;
  font-family: 'Lato', sans-serif;
  line-height: 1.5;
}

#page {
  padding: 50px 100px;
}

@media only screen and (max-width: 568px) {
  #page {
    padding: 50px 30px;
  }
}

h1,
h2,
h3,
h4,
h5 {
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif;
  font-weight: normal;
}

h1 {
  color: #5b8e8d;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.75em;
  text-transform: uppercase;
}

@media only screen and (max-width: 568px) {
  h1 {
    font-size: 2.25rem;
  }
}

h2 {
  color: #82bcba;
  font-size: 1.75rem;
  margin-bottom: 0.75em;
  margin-top: 2em;
}

h3 {
  color: #82bcba;
  font-size: 1.25rem;
  margin-bottom: 0.75em;
  margin-top: 2em;
}

a,
a:visited,
a:active {
  color: #5b8e8d;
  text-decoration: none;
}

a:hover {
  color: #53bcba;
}

a.btn {
  background: #82bcba;
  border-radius: 5px;
  color: #ffffff;
  display: inline-block;
  margin: 0.5em 5px;
  padding: 15px 20px;
  text-align: center;
  width: 250px;
}

@media only screen and (max-width: 968px) {
  a.btn {
    width: 100%;
  }
}

a:hover.btn {
  background: #5b8e8d;
}

p {
  font-size: 1.125rem;
  margin-bottom: 1.5em;
  word-break: break-word;
}

p.center {
  text-align: center;
}

p.credits {
  font-size: .8125rem;
  margin-top: 6em;
}

@media only screen and (max-width: 568px) {
  .phone-block {
    display: block;
  }

  .phone-hide {
    display: none;
  }
}

code {
  background: #c6d8d8;
  border-radius: 5px;
  color: #3d6969;
  display: block;
  font-size: .875rem;
  margin: 2em 0;
  padding: 15px;
  position: relative;
}

code:after {
  bottom: 3px;
  color: #e4ebeb;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  position: absolute;
  right: 10px;
  text-transform: uppercase;
}

code.html:after {
  content: 'html';
}

code.css:after {
  content: 'css';
}

code.js:after {
  content: 'js';
}

code.settings {
  background: #f0f6f6;
  display: inline-block;
  margin: 0 0 0.5em;
  padding: 5px;
  vertical-align: middle;
}

h3.code {
  color: #636363;
  display: inline-block;
  height: 32px;
  margin: 1em 0.5em 1em 0;
  vertical-align: middle;
}

/*
 * Sample table
 */
.sample-table-wrapper {
  margin-top: 3em;
  text-align: center;
}

.sample-table-wrapper:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.sample-table {
  display: inline-block;
  margin: 0 40px;
  position: relative;
  width: 180px;
}

table.sample-before,
table.sample-after {
  width: 100%;
}

table.sample-before:after {
  content: 'TO';
  font-size: 1.5rem;
  font-weight: bold;
  margin: -18px 0 0;
  opacity: 0.2;
  position: absolute;
  right: -58px;
  top: 50%;
}

@media only screen and (max-width: 767px) {
  .sample-table {
    display: block;
    margin: 40px auto;
    width: 200px;
  }

  .sample-table:last-of-type {
    margin-bottom: 0;
  }

  table.sample-before:after {
    bottom: -40px;
    margin: 0 -16px 0 0;
    right: 50%;
    top: auto;
  }
}

table.sample-before td,
table.sample-after td {
  background: white;
  border: 1px solid #e4ebeb;
  height: 20px;
  padding: 0;
}

table.sample-before td {
  height: 47px;
}

table.sample-after td {
  height: 15px;
}

table.sample-before tr:nth-of-type(3) td,
table.sample-after tr td {
  background: #ffffff;
}

table.sample-before tr:nth-of-type(2) td,
table.sample-after tr:nth-of-type(3n-1) td {
  background: #cadde1;
}

table.sample-before tr:nth-of-type(1) td,
table.sample-after tr:nth-of-type(3n-2) td {
  background: #56a2cf;
}
