/* Solving https://github.com/jonkemp/inline-css/issues/8 would make things nicer. */

/*
 * =====================================
 * 1. Common styles for general table things.
 * =====================================
 */
img {
  max-width: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
}

tr{
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 22px;
}

.main{
  /* @todo gulp-inline-css can't use width in percentages */
  /* This style property fucks up the width on OS X, needs to be *JUST* attribute ->
     width:100%; */
  /* @todo gulp-inline-css doesn't parse background-color -> bgcolor */
  background-color: #ffffff;
}

.rbcc{
  /*
   * rbcc -> reset - border - cellspacing - cellpading
   *
   * Resets table attributes.
   */
  border:0;
  cellpadding:0;
  cellspacing:0;
}

.sp{
  /* sp -> space, Separator tr */
  /* @todo gulp-inline-css doesn't add height attrs */
  height: 30px;
}

.spd{
  /* spd -> space - double, Separator tr */
  /* @todo gulp-inline-css doesn't add height attrs */
  height: 60px;
}

.gray-hr{
  border-bottom:1px solid #E4E4E4;
  border-top:none;
  margin-bottom:20px;
  margin-top:20px;
}

a{
  text-decoration: none;
  color: #0fade1;
}

/*
 * =================
 * 2. Content styles.
 * ==================
 */
.main__welcome{
  color: #000;
  padding: 10px 30px 0 30px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 22px;
}

.main__content{
  color: #000;
  padding: 10px 30px 0 30px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
}


/*
 * ================
 * 3. Footer styles.
 * ================
 */
.footer{
  /* @todo gulp-inline-css doesn't parse background-color -> bgcolor */
  background-color: #303030;
  padding: 20px 30px 0px 30px;
  color: #f5f5f5;
  border-top: 8px solid #585858;
}

.footer a{
  color: #f5f5f5;
}

.footer--simple{
  padding-bottom: 20px;
  /* @todo gulp-inline-css doesn't parse background-color -> bgcolor */
  background-color: #FFFFFF;
}

.footer--simple tr td{
  color: #888;
}

.footer__main{
  /* @todo gulp-inline-css can't use width in percentages */
  /* This style property fucks up the width on OS X, needs to be *JUST* attribute ->
     width:100%; */
}

.footer__main__signature{
  font-size: 14px;
  color: #f5f5f5;
  /* @todo gulp-inline-css doesn't parse align */
  align:left;
}

.footer__main__col1{
  /* @todo gulp-inline-css can't use width in percentages */
  width:70%;
  margin-bottom:40px;
  /* @todo gulp-inline-css doesn't parse align */
  align:left;
}

.footer__main__col1__td{
  color: #9E9E9E;
  /* @todo gulp-inline-css doesn't parse align */
  align:left;
  padding-top: 15px;
}

.footer__main__col1__td > span{
  font-size:18px;
  margin-bottom:5px;
}

.footer__main a > span{
  /* Revert apple blue-link style. */
  color: #f5f5f5!important;
  text-decoration:none!important;
}

.footer__main__col2{
  /* @todo gulp-inline-css can't use width in percentages */
  width:30%;
  /* @todo gulp-inline-css doesn't parse align */
  align:right;
}

.footer__main__col2__td{
  font-size: 14px;
  color: #f5f5f5;
  /* @todo gulp-inline-css doesn't parse align */
  align:right;
}

.footer__main__col2__td__img{
  border: 0;
  padding-left:20px;
  max-width: 100%;
  max-height:65px;
  height: auto;
}