/* Body
-------------------------------------------------- */

@font-face {
  font-family: 'rosettaicons';
  src: url('../font/rosetta-icons-Regular.eot'); /* IE9 Compat Modes */
  src: url('../font/rosetta-icons-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../font/rosetta-icons-Regular.woff') format('woff'), /* Modern Browsers */
       url('../font/rosetta-icons-Regular.ttf')  format('truetype'); /* Safari, Android, iOS */

  font-style: normal;
  font-weight: normal;
}

body {
  margin: 0;
  padding: 60px 20px;
  font: 14px/18px "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #fff;
  background-color: transparent;
}
html {
  background-color: #3a92c8;
  background: radial-gradient(circle, #6BB1DB, #3A92C8);/* IE6-8 fallback on horizontal gradient */
  background-repeat: no-repeat;
  background-attachment: fixed;
  *background-image: none; /* Reset for IE7 to avoid mixed content warnings */
}
ol, ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Links
------------------------- */
a { color: #0084b4; text-decoration: none; outline: 0; }
a:hover, a:focus { text-decoration: underline; }
p a { line-height: inherit; }

/* Forms and buttons
------------------------- */
/* reset font and size */
.btn,
input[type=text] {
  font: 13px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Text inputs */
input[type=text] {
  display: inline-block;
  width: 210px;
  padding: 4px; /* make fields 30px tall, add 10px to width for easier sizing */
  margin: 0;
  outline: none;
  background-color: #fff;
  border: 1px solid #ccc;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.075);
     -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.075);
          box-shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.075);
  -webkit-transition: .2s linear background;
     -moz-transition: .2s linear background;
          transition: .2s linear background;
}
input[type=text]:focus {
  outline: 0;
  color: #333;
  border-color: #56b4ef; /* Not a user color preference */
  -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 0 8px rgba(82,168,236,.6);
     -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 0 8px rgba(82,168,236,.6);
          box-shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 0 8px rgba(82,168,236,.6);
}

/* Buttons */
.btn {
  position: relative;
  display: inline-block;
  overflow: visible; /* Removes odd padding for IE7 */
  padding: 5px 10px;
  font-size: 13px;
  line-height: 18px;
  color: #333;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
  background-color: #ccc;
  background-repeat: no-repeat;
  border: 1px solid #ccc;
  cursor: pointer;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  border-radius: 0 \0; /* Remove border-radius from buttons for IE9 */
  -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.25);
     -moz-box-shadow: 0 1px 0 rgba(255,255,255,.25);
          box-shadow: 0 1px 0 rgba(255,255,255,.25);
  background-color: #dddddd;
  background-repeat: repeat-x;
  background-image: -khtml-gradient(linear, left top, left bottom, from(#ffffff), to(#dddddd));
  background-image: -moz-linear-gradient(#ffffff, #dddddd);
  background-image: -ms-linear-gradient(#ffffff, #dddddd); /* IE 10+ - ha! */
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #dddddd));
  background-image: -webkit-linear-gradient(#ffffff, #dddddd);
  background-image: -o-linear-gradient(#ffffff, #dddddd);
  background-image: linear-gradient(#ffffff, #dddddd);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dddddd'); /* IE6-9 */
}
/* Default hover */
.btn:hover {
  text-decoration: none;
  background-color: #d8d8d8;
  background-image: -khtml-gradient(linear, left top, left bottom, from(#f8f8f8), to(#d8d8d8));
  background-image: -moz-linear-gradient(#f8f8f8, #d8d8d8);
  background-image: -ms-linear-gradient(#f8f8f8, #d8d8d8);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #d8d8d8));
  background-image: -webkit-linear-gradient(#f8f8f8, #d8d8d8);
  background-image: -o-linear-gradient(#f8f8f8, #d8d8d8);
  background-image: linear-gradient(#f8f8f8, #d8d8d8);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* Remove IE gradient so dropdown is visible */
  border-color: #bbb;
}
/* Active button state */
.btn:active {
  -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0 .1), 0 1px 2px rgba(0,0,0,.05);
     -moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.05);
          box-shadow: inset 0 3px 7px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.05);
}


/* Top navigation
-------------------------------------------------- */

.Icon:before {
  font-family: "rosettaicons";
}

.Icon--bird:before { content: "\f179"; }

.Icon--bird {
  color: #55acee;
  margin-top: 14px;
  font-size: 21px;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.container {
  position: relative;
  margin: 0 auto;
  width: auto;
  max-width: 1190px;
}

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: 46px;
  border-bottom: 1px solid #e8e8e8;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: none;
  box-shadow: none;
}

.topbar .pull-right {
  margin: 14px 30px 0 0;
  float: right;
  text-align: left;
}

.global-nav-inner {
  background: #fff;
  height: 46px;
}
.global-nav {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  height: 46px;
}


/* Global Nav Menu
-------------------------------------------------- */
.nav {
  display: inline-block;
}

.nav > li {
  color: #66757f;
}

.nav > li > a,
.nav > li > button {
  color: inherit;
  display: block; /* make the whole link area clickable */
  font-size: 13px;
  font-weight: 500;
  height: 46px;
  padding: 0 14px 0 4px;
  text-shadow: none;
}

#global-actions > li {
  height: 46px;
  overflow: hidden;
}

.nav > li .Icon {
  float: left;
  margin: 11px 0 0 10px;
  width: 23px;  /* prevent jumping when icon font loads */
  height: 23px;
}


/*  Robots, Whales, & Moan Cones
-------------------------------------------------- */
/* wrapper */
.canvas {
  display: block;
}
/* whale, robot, cone */
.illustration {
  position: relative;
  display: block;
  margin: 0 auto;
  max-width: 200px;
}
/* fixed waves */
.whale-water {
  background: transparent url(whale_water.png) repeat-x bottom left;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  height: 50px;
}

/* Heading, body, links
------------------------- */
.body-content {
  max-width: 865px;
  margin: 0 auto;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
}
h1,
p {
  position: relative;
  z-index: 10;
  text-align: center;
  text-rendering: optimizeLegibility;
}
h1 {
  margin: 30px 0 0;
  font-size: 40px;
  font-weight: 200;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
p,
label {
  margin: 10px 0 20px;
  font-size: 18px;
  font-weight: 300;
  line-height: 25px;
  color: #e0eff6;
}
p a {
  font-weight: bold;
  color: #fff;
}


/* 404 search form */
.search-404 {
  margin-bottom: 20px;
  text-align: center;
}
.search-404 .btn,
.search-404 input[type=text] {
  padding: 9px;
  font-size: 18px;
  vertical-align: middle;
  border-color: #949697;
}
.search-404 .btn {
  padding: 10px 14px;
  *padding: 7px 14px 6px;
  line-height: 20px;
}
.search-404 input[type=text] {
  width: 410px;
  -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.25);
     -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.25);
          box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.25);
}
.search-404 input[type=text]:focus {
  -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 0 10px rgba(255,255,255,.75);
     -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 0 10px rgba(255,255,255,.75);
          box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 0 10px rgba(255,255,255,.75);
}

/* Footer links */
.footer {
  margin: 0 10%;
  text-align: center;
  font-size: 11px;
}
.footer ul {
  margin-bottom: 5px;
}
.footer li {
  display: inline;
  margin: 0 5px;
  line-height: 20px;
}
.footer li,
.footer a {
  color: #E4F0F5;
}
.footer a:hover {
  color: #fff;
}


/* Responsive layout
-------------------------------------------------- */

@media screen and (max-width: 480px) {
  h1 {
    font-size: 30px;
  }
  /* Move waves down on smartphones */
  .whale-water {
    margin-bottom: -10px;
  }
  /* punt button to below search field */
  .search-404 input[type=text] {
    display: block;
    width: 90%;
    margin: 0 auto 10px;
  }
  /* widen search button */
  .search-404 .btn {
    padding-left: 19px;
    padding-right: 19px;
  }
}

/* For screens larger than the minimum dimensions, bump up the illustration size and fix to bottom of screen */
@media screen and (min-width: 640px) and (min-height: 700px) {
  .canvas {
    position: absolute;
    right: 0;
    bottom: 10%;
    left: 0;
  }
  .illustration {
    max-width: 50%;
  }
}

@media screen and (min-width: 640px) {
  body {
    padding: 60px;
  }
}
