/***********
 * Layout 
 ***********/


body {
  font-family: 'OpenSansRegular', Helvetica, Arial, sans-serif;
}

html,body { height: 100%; }

#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -196px;
}
.push, footer {
  height: 196px;
}

#container {
  background-color: #fff; 
  margin: 0 auto;
}

.container { 
  margin: 0 auto;
  padding: 0 1em;
  max-width: 1140px;
}

.container.thin {
  max-width: 900px;
}

article img {
  max-width:100%;
}

/********************
 * General  Styles
 ********************/

.hidden { display: none; }
.clearfix { clear: both; }
.light { font-family: 'OpenSansLight', Helvetica, Arial, sans-serif; }
.red { color: #be4a4a; }
.green { color: #64902a; }
.clearfix { clear: both; }

.buttons { margin-top: 20px; }

.button {
  display: inline-block;
  margin: 20px;
  margin-top: 15px;
  text-decoration: none;
  line-height: 62px;
  width: 275px;
  height: 66px;
  text-align: center;
}
.button-download {
  color: white;
  background-color: #212121;
  background-image: url(/assets/body/buttons/download-abf12e45dcdee0890bc250ca5ca75279.png);
  font-family: 'OpenSansLight', Helvetica, Arial, sans-serif;
}
.button-download .arrow { 
  padding-left: 5px; 
}
.button-info {
  font-family: 'OpenSansSemibold', Helvetica, Arial, sans-serif;
  background-image: url(/assets/body/buttons/get_info-0fe63240b4e707b512b131f3cec8f5ae.png);
  color: #333;
}
.button-info .arrow {
  padding-left: 5px;
}

.button:hover {
  opacity: 0.85;
}


/**********
 * Navbar 
 **********/

.bar-wrap {
  width: 100%;
  background-color: #171717;
}

.bar {
  position: relative;
  margin: 0 auto;
}
.bar ul {
  float: right;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bar li {
  float: left;
}
.bar li a {
  text-decoration: none;
  line-height: 50px;
  display: block;
  float: none;
  padding: 10px 15px;
  color: #cecece;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 12px;
}
.bar li a:hover { text-decoration: underline; }
.bar li a.facebook, 
.bar li a.twitter {
  display: block;
  width: 42px;
  height: 34px;
  margin-top: 14px;
  margin-left: 8px;
  padding: 0;
  text-indent: -9000px;
  background-image: url(/assets/header/social_icons-febb2cfd5a3799117432657757ae6e0d.png);
  
}
.bar li a.twitter {
  background-position: 42px 0;
}
.bar .notice {
  font-size: 14px;
  margin-left: 58px;
  padding: 15px 0 0 0;
  float: left;
  color: #cecece;
}

/**********
 * Header 
 **********/

.main-head {
  background-color: #171717;
}
.header-graphics {
  overflow: visible;
  z-index: 10;
  position: relative;
}
#raven-logo {
  float: left;
  width: 17%;
  max-width: 154px;
  margin-right: 1em;
}
#raven-logo img { width: 100%; }
#text-logo, #text-logo img { display: block; }
.header-graphics a { text-decoration: none; }

#telephone {
  background-color: #696969;
  background-image: url(/assets/header/header-80f10c337317ec04d2e8fa2ef863af16.png);
  background-repeat: no-repeat;
  position: relative;
  width: 100%;
  background-size: auto 100%;   /* cover */
  background-position: right;
  height: 480px;
  padding-top: 160px;
  box-sizing: border-box;
}
#telephone .text {
  margin-top: 0;  /* if this is not here, messes up bar size above. */
  margin: 0 auto;
}
#telephone .tagline1 {
  padding: 0 0px 0 70px;
  margin-top: 30px;
  color: white;
  font-size: 48px;
  font-family: 'BitterRegular', serif;
  padding-top: 20px;
}
#telephone .tagline2 {
  padding: 0 0px 0 70px;
  margin: 10px auto;
  color: #eee;
  font-size: 22px;
  font-family: 'OpenSansLight', Helvetica, Arial, sans-serif;
  padding-bottom: 20px;
}
#telephone .tagline2 strong {
  font-weight: normal;
  font-family: 'OpenSansSemibold', Helvetica, Arial, sans-serif;
}

@media screen and (max-width: 1100px) {
  #telephone .darken {
    background-color: rgba(0,0,0,0.5);
    box-shadow: 0 0 10px #000;
  }
}

.solutions {
  color: white;
  position: relative;
  text-align: center;
}
.solutions p {
  display: inline-block;
  font-size: 28px;
  color: #ddd;
  font-family: 'BitterRegular', serif;
/*  font-family: 'Merriweather', serif; */
  text-align: center;
}

/**********
 * Body 
 **********/

#blog {
  margin: 0 auto 100px;
  min-height: 431px;
  max-width: 760px;
}

#unregister .arrow,
#about .arrow,
#blog .arrow {
  float: left;
  width: 53px;
  height: 20px;
  background: url(/assets/body/black_down_arrow-d4ae964aca08d864a39969a4298c43b3.png) no-repeat;
}

#unregister h2,
#about h2,
#blog #title h2 {
  margin: 0px;
  padding-top: 20px;
  color: #aaa;
  font-size: 46px;
  font-weight: normal;
  font-family: 'OpenSansLight', Helvetica, Arial, sans-serif;
  line-height: normal;
}

#blog article.snippet {
  padding-top: 20px;
}

#blog h2 {
  color: #555;
  font-size: 30px;
  font-weight: normal;
  font-family: 'BitterRegular', serif;
  margin: 0;
  padding: 0;
  padding-top: 15px;
  padding-bottom: 10px;
  line-height: 105%;
/*  line-height: 28px;*/
}

#blog article.snippet h2 {
  padding:0;
}

#blog h2 a {
  text-decoration: none;
/*  color: #333;*/
  color: inherit;
}

#blog h2 a:hover {
  color: #666;
}

#blog h3.date {
  font-family: 'OpenSansLight', Helvetica, Arial, sans-serif;
  font-size: 12px;
  color: #aaa;
  margin: 0px;
  padding: 0px;
}

#blog article {
  font: 100%/1.5em 'Nobile';
  font-weight: normal;
/*  margin-left: 200px;*/
}

#blog p a {
  text-decoration: none;
  color: #888;
}

#blog p a:hover {
  color: #333;
}


#blog ul a {
  text-decoration: none;
  color: #888;
}

#blog ul a:hover {
  color: #333;
}

#blog article img.nice {
  max-width: 100%;
  padding: 6px; 
  box-shadow: 0px 0px 5px #888; 
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
}

#blog article img.nice-left {
  max-width: 100%;
  padding: 6px; 
  box-shadow: 0px 0px 5px #888; 
  display: block;
  margin-right: 20px;
  margin-bottom: 40px;
  float: left;
  clear: both;
}

#blog article img.nice-up {
  padding: 6px;
  box-shadow: 0px 0px 5px #888; 
  display: block;
  margin-bottom: 30px;
  float: left;
  margin-right: 30px;
}


#blog blockquote {
  margin: 1em 40px;
  position: relative;
  text-align: justify;
}

#blog blockquote:before {
  display: block;
  content: "\201C";
  font-size: 80px;
  position: absolute;
  left: -40px;
  top: 20px;
  color: #7a7a7a;
}

ul.social-buttons{
    float: left;
    list-style: none;
    margin: 15px 0 30px 0;
    padding: 0;
}

ul.social-buttons li{
    display: block;
    float: left;
    margin-right: 10px;
}

#main {
  clear: both;
  background-image: url(/assets/body/black_down_arrow-d4ae964aca08d864a39969a4298c43b3.png);
  background-repeat: no-repeat;
  background-position: center 0;
}

#main article { 
  clear: both;
  padding: 60px 0 40px 0;
}
#main article h2 {
  color: #333;
  font-size: 36px;
  text-align: center;
  font-weight: normal;
  font-family: 'BitterRegular', serif;
}
#unregister h3,
#main article h3 {
  color: #555;
  text-align: center;
  font-weight: normal;
  font-family: 'OpenSansLight', Helvetica, Arial, sans-serif;
  font-size: 22px;
/*  padding: 0px 110px 30px;*/
  padding-bottom: 30px;
}
#main article h3 strong {
  font-weight: normal;
  font-family: 'OpenSansSemibold', Helvetica, Arial, sans-serif;
}

.checkpoint {
  color: #555;
  background-image: url(/assets/body/checkmark-d964e51f7c0222f4ea5386eb4bd969bf.png);
  background-repeat: no-repeat;
  padding-left: 100px;
  margin-top: 20px;
  min-height: 79px;
}
.checkpoint h4 { 
  font-size: 22px;
  font-weight: normal;
  margin: 0;
}
.checkpoint h4 strong { 
  font-weight: normal;
  font-family: 'OpenSansSemibold', Helvetica, Arial, sans-serif;
}
.checkpoint p {
  margin: 5px 0;
  font-size: 16px;
}

#privacy .illustration {
  display: block;
  margin: auto;
}

@media screen and (min-width: 40.5em) {
  #privacy .illustration {
    float: right;
    padding-left: 50px;
  }
}

.striped {
  background-image: url(/assets/body/texture-8ab0989a0a2f32d7359bf1a0186e5884.png);
  background-color: #eee;
  border-top: 1px dashed #ddd;
  border-bottom: 1px dashed #ddd;
}
#encrypted_texts .striped { 
  background-image: url(/assets/body/texture_light-0aa498bf1a012a14f002982b0518703e.png);
  background-color: #fafafa;
}

ul.features {
  list-style: none;
  color: #555;
  padding: 1em 0;
}

ul.features li {
  display: block;
  padding: 12px 0;
}

ul.features li a {
  text-decoration: none;
  color: inherit;
  opacity: 0.7;
  vertical-align: middle;
}

ul.features li a.active {
  opacity: 1;
}

#encrypted_voice, #support {
  background-color: #faf9f9;
  position: relative;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

@media screen and (min-width: 40.5em) {
  #encrypted_voice .carousel-frame {
    float: left;
    margin-right: 50px;
  }
  #encrypted_texts .carousel-frame {
    float: right;
    margin-left: 50px;
  }
}

#bottom {
  padding-top: 50px;
  height: 75px;
  background-color: #222;
  text-align: center;
  color: #fff;
  font-size: 25px;
  background-image: url(/assets/body/white_down_arrow-a0b1e9f16f49372e30bdde30ad66054a.png);
  background-repeat: no-repeat;
  background-position: center -1px;
}

#twitter-widget-0 { vertical-align: middle; }

/**** code blocks ****/

code, tt {
  margin: 0 2px;
  padding: 0 5px;
  white-space: nowrap;
  border: 1px solid #eaeaea;
  background-color: #f8f8f8;
  border-radius: 3px; }
 
pre code {
  margin: 0;
  padding: 0;
  white-space: pre;
  border: none;
  background: transparent; }
 
.highlight pre {
  background-color: #f8f8f8;
  border: 1px solid #cccccc;
  font-size: 13px;
  line-height: 19px;
  overflow: auto;
  padding: 6px 10px;
  border-radius: 3px; }
 
pre {
  background-color: #f8f8f8;
  border: 1px solid #cccccc;
  font-size: 13px;
  line-height: 19px;
  overflow: auto;
  padding: 6px 10px;
  border-radius: 3px; }
  pre code, pre tt {
    background-color: transparent;
    border: none; }


/***********
 * Carousel 
 ***********/

.carousel-container {
  max-width: 900px;
  margin: 0 auto;
}

.carousel-frame { 
  background-repeat: no-repeat;
  /* default to a RedPhone phone image */
  background-image: url(/assets/body/full_device-3af0d91fd7bcbd2f341fbc3052e1edc1.png);
  padding: 94px 57px;
  width: 258px; /* width of the screenshots */
  height: 414px;
  background-position: center;
  margin: -5px auto 2em auto;
}
.carousel { margin-bottom: 0; overflow: hidden; }
.carousel { margin-top: 12px; }
.carousel .item { overflow: hidden; }
a.carousel-control { text-decoration: none; }

/*********
 * Icons
 *********/

i.icon {
  background-image: url(/assets/body/icons-eb6840100ef28a0488e59803585451c8.png);
  background-repeat: no-repeat;
  display: inline-block;
  width: 30px; 
  height: 30px;
  float: left;
  margin-right: 1em;
}

/* red icons -- 30px wide */
i.icon.dial {
  background-position: -170px 0;
}
i.icon.cell-arrow {
  background-position: -140px 0;
}
i.icon.ring {
  background-position: -110px 0;
}
i.icon.cycle {
  background-position: -80px 0;
}

/* green icons -- 20px wide */
i.heart, i.speech, i.alert, i.cell {
  width: 21px;
  left: -15px;
}

i.icon.heart {
  width: 20px;
}

i.icon.speech {
  background-position: -20px;
}

i.icon.alert {
  background-position: -41px;
}

i.icon.cell {
  background-position: -62px;
}

.rss {
  float: right;
  margin: 1em;
  opacity: 0.5;
}

.documentation {
  margin: auto;
  padding-bottom: 30px;
  width: 720px;
}

#support {
  text-align: center;
  margin-bottom: 7em;
}

.sponsor {
  text-align: center;
}
.sponsor img {
  max-width: 200px;
  padding: 5px;
}

/* ABOUT shame */

@media screen and (min-width: 320px) {
  .posi {
    color:#2ecc71;
  }
  .about .posi a {
    color:#2ecc71;
  }

  .about {
  margin-top: 20px;
  width:100%;
  position:relative;
  overflow: auto;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding:0 20px 80px 20px;
  }
  .about a {
    text-decoration: none;
    color: #888;
  }
  .about strong {
    font-family: Helvetica, sans-serif;
    font-size:0.8em;
  }
  .bios {
    margin-top:40px;
    position:relative;
    overflow:auto;
  }
  .bio {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-bottom:15px;
    border-bottom:1px solid whitesmoke;
    margin-bottom:20px;
    font-size: 14px;
    line-height: 21px;
  }
  .bio img {
    height:100px;
    width:100px;
    border-radius: 100px;
  }
  .bio h3 {
    margin-bottom:10px;
  }
  .bio h3 a {
    text-decoration: none;
    color:black;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 15px;
  }
}

@media screen and (min-width: 680px) {
  .about {
    padding:0 10vw 80px 10vw;
  }

  .bio {
    width:40%;
    float:left;
    margin-right:10%;
    min-height:460px;
  }
}
@media screen and (min-width: 822px) {
  .about {
    padding:0 18vw 80px 18vw;
  }
  .bio {
    min-height:440px;
    margin-bottom:40px;
  }
}

@media screen and (min-width: 1200px) {
  .about {
    padding:0 20vw 80px 20vw;
  }
  .org {
    overflow:auto;
    position: relative;
    width:100%;
  }
  .org p {
    width:40%;
    float:left;
    margin-right:10%;
  }
  .bio {
    width:23.333%;
    float:left;
    margin-right:10%;
    height:530px;
  }
}

@media screen and (min-width: 1441px) {
  .about {
    padding:0 18vw 80px 18vw;
  }
  .bio {
    width:23.333%;
    float:left;
    margin-right:10%;
    height:380px;
  }
}

#unregister {
  padding-bottom: 5em;
}
@media screen and (min-width: 750px) {
  #unregister .container.thin {
    width: 70%;
  }
}
@media screen and (min-width: 1000px) {
  #unregister .info {
    width: 49%;
    float: left;
    margin-right: 3em;
  }
  #unregister .form {
    float: left;
  }
}

#step1, #step2 {
  text-align: center;
  margin: 1em 0 2em;
}

#unregister .narrow {
  box-sizing: border-box;
  margin: 0 auto 5px;
  width: 275px;
  max-width: 100%;
}

#step1 fieldset,
#step2 fieldset {
  border: none;
  padding: 0;
}

#code,
#number {
  text-align: center;
  box-sizing: border-box;
  padding: 5px;
  width: 100%;
}

#number.success {
  background-color: #ccffcc;
}

#regionCode {
  font-size: .7em;
  width: 100%;
  margin-bottom: 5px;
  box-sizing: border-box;
}

#request-voice,
#request-sms {
  box-sizing: border-box;
}

#request-sms {
  width: 57%;
  float: right;
}

#request-voice {
  width: 40%;
  float: left;
}

#verify-code {
  box-sizing: border-box;
  width: 100%;
}

#error,
#success {
  color: white;
  font-weight: bold;
  padding: 0.5em;
  text-align: center;
}
#error   { background-color: #f44336; }
#error:before {
  content: '\26a0';
  padding-right: 0.5em;
}
#success {
  margin-top: 1em;
  background-color: #0f9d58;
}
