/* ==========================================================================
  HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
  ========================================================================== */

html,
button,
input,
select,
textarea {
  color: #222;
}

body {
  background-color: #fbfbfb;
  font-size: 1em;
  line-height: 1.4;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

img {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}


/* ==========================================================================
  Author's custom styles
  ========================================================================== */

html, body {
  height: 100%;
}

body > #wrap {
  background: url(../img/bg-left.png) no-repeat left bottom,
              url(../img/bg-right.png) no-repeat right 160px;
  min-height: 100%;
  position: relative;
}

#content {
  padding-bottom: 76px;
}

a, a:link, a:visited, a:hover {
  color: #195c6b;
  text-decoration: underline;
}

a:hover {
  color: #6899a3;
  text-decoration: none;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.text-center {
  text-align: center;
}

p {
  font-family: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
}

h1, h2, h3, h4 {
  font-family: "CamboRegular";
}

h2 {
  font-size: 1.2em;
}

.btn {
  background: #003e57;
  display: inline-block;
  padding: 4px 14px;
  margin-bottom: 0;
  font-family: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #333;
  text-align: center;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  vertical-align: middle;
  cursor: pointer;
  background-color: whiteSmoke;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#E6E6E6));
  background-image: -webkit-linear-gradient(top, white, #E6E6E6);
  background-image: -o-linear-gradient(top, white, #E6E6E6);
  background-image: linear-gradient(to bottom, white, #E6E6E6);
  background-image: -moz-linear-gradient(top, white, #E6E6E6);
  background-repeat: repeat-x;
  border: 1px solid #BBB;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border-color: #E6E6E6 #E6E6E6 #BFBFBF;
  border-bottom-color: #A2A2A2;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  filter: progid:dximagetransform.microsoft.gradient(enabled=false);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

a.btn:link, a.btn:visited, a.btn:hover {
  text-decoration: none;
}

em {
  font-style: normal;
  font-weight: bold;
  color: #777;
}

.center {
  width: 768px;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}

header {
  height: 110px;
  background: #fcfcfc;
  border-bottom: 1px solid #DEDEDE;
  -webkit-box-shadow: inset 0 10px 60px rgba(0, 62, 87, 0.10);
     -moz-box-shadow: inset 0 10px 60px rgba(0, 62, 87, 0.10);
          box-shadow: inset 0 10px 60px rgba(0, 62, 87, 0.10);
}

nav {
  height: 110px;
}

nav ul {
  border-right: 1px solid #ededed;
  padding-left: 0;
  overflow: hidden;
  white-space: nowrap;
}

nav li {
  border-left: 1px solid #ededed;
  display: inline-block;
  height: 110px;
  margin: 0;
  padding: 0;
  vertical-align: bottom;
  -webkit-transition: all .2s ease;
     -moz-transition: all .2s ease;
          transition: all .2s ease;
}

nav li a:link, nav li a:visited {
  color: #003e57;
  display: inline-block;
  font-family: "CamboRegular";
  font-size: 16px;
  height: 110px;
  vertical-align: bottom;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  padding: 52px 11px 0;
}

nav li:nth-child(2) a:link, nav li:nth-child(6) a:link {
  padding-top: 74px;
}

nav li:hover {
  background: rgba(255, 255, 255, 0.23);
}

nav li a:hover {
  color: #4091a1;
}

nav li.brand {
  margin: 0;
}

nav li.brand a:link, nav li.brand a:visited {
  padding: 0 13px;
  width: 165px;
  background: url(../img/rocha_brand-v.png) no-repeat center;
  border-radius: 0;
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
  text-indent: -9000px;
}

nav li.active {
  background: rgba(255, 255, 255, 0.53);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
}

nav li.active a {
  color: #6899a3;
}

.headline, .modal h3 {
  background: #fcfcfc;
  border-top: 2px solid #6899a3;
  border-bottom: 1px solid #eee;
}

.headline.home {
  background: url(../img/bg-highlight3.png) repeat #6899a3;
  border: none;
  -webkit-box-shadow: inset 0 0 30px rgba(0, 62, 87, 0.76);
     -moz-box-shadow: inset 0 0 30px rgba(0, 62, 87, 0.76);
          box-shadow: inset 0 0 30px rgba(0, 62, 87, 0.76);
}

.headline .center {
  padding: .2em;
}

.headline.home .center {
  padding: 2em;
}

.headline h1 {
  color: #003e57;
}

.headline .images {
  width: 300px;
  height: 195px;
  background: #DEDEDE;
  border: 10px solid #fff;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .4);
     -moz-box-shadow: 0 0 8px rgba(0, 0, 0, .4);
          box-shadow: 0 0 8px rgba(0, 0, 0, .4);
  float: left;
}

.headline .highlights {
  float: right;
  width: 400px;
  overflow: hidden;
}

h1, .modal h3 {
  font-family: "CamboRegular";
  font-size: 1.8em;
  margin: .1em 0 0;
}

.modal h3 {
  padding: 10px;
  font-size: 1.3em;
}

.modal-header .close {
  font-size: 3em;
  height: 40px;
  margin: 2px 10px 0 10px;
}

.highlights h1, .highlights p {
  color: white;
  font-size: 2.3em;
  margin: 0;
  text-shadow: 2px 0 2px rgba(0, 0, 0, .5);
}

.highlights p {
  font-family: "CrimsonRoman";
  font-size: 1.2em;
  margin: .2em 0 .5em;
}

.highlights a.btn {
  display: inline-block;
  margin: 1em 0;
  font-weight: bold;
}

.sections {
  overflow: hidden;
}

.sections .center {
  border-right: 1px solid #EDEDED;
  overflow: hidden;
}

section {
  width: 30.2%;
  float: left;
  padding: 0 1.5%;
  border-left: 1px solid #EDEDED;
}

section p {
  font-size: .8em;
}

section h2 {
  margin: .4em 0;
}

section h2 a:link, section h2 a:visited {
  text-decoration: none;
}

.article-title {
  margin-left: 223px;
}

#section-content {
  position: relative;
  height: 100%;
}

.video-box {
  background: url(../img/video-thumbnail.jpg) no-repeat center;
  background-size: 100% 100%;
  border: 10px solid #fff;
  cursor: pointer;
  margin: 0 auto 20px;
  width: 400px;
  height: 250px;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .4);
     -moz-box-shadow: 0 0 8px rgba(0, 0, 0, .4);
          box-shadow: 0 0 8px rgba(0, 0, 0, .4);
}

.video-box a:link, .video-box a:visited {
  background: rgba(0, 0, 0, .7) url(../img/icon-play-hover.png) no-repeat center;
  color: #FFF;
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 370px;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  -webkit-transition: all .2s ease-out;
     -moz-transition: all .2s ease-out;
          transition: all .2s ease-out;
}

.video-box a:hover {
  background: rgba(0, 0, 0, .9) url(../img/icon-play.png) no-repeat center;
}

.article {
  width: 570px;
  float: right;
  background: white;
  -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
     -moz-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
          box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
}

.article p, .article .block, .alert {
  margin: 10px 25px 20px;
}

.alert {
  text-align: center;
}

form {
  margin-top: 20px;
}

.article h2 {
  background: white;
  border: 1px solid #EEE;
  border-width: 2px 1px 1px;
  font-size: 1.4em;
  padding: 5px 0 5px 25px;
}

.article h3 {
  margin: 0 0 0 25px;
}

.article ul, .article ol {
  margin-left: 10px;
}

.article ul li {
  list-style-type: circle;
  list-style-position: inside;
}

.article ol li {
  list-style-position: inside;
}

.block {
  background: #fcfcfc;
  border: 1px solid #eee;
  padding: 10px;
  overflow: hidden;
}

.block-text h3, .block-text p {
  margin: 0;
  font-family: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
  font-size: .9em;
  line-height: 1.25em;
}

footer {
  position: absolute;
  bottom: 0;
  height: 75px;
  width: 100%;
  background: #fcfcfc;
  border-top: 1px solid #dedede;
}

footer p {
  color: #777;
  font-size: .8em;
  margin: 14px 0 0 193px;
  text-align: center;
}

.gradient {
  background-color: #ecf0f2;
  background-image: -moz-linear-gradient(top, #ecf0f2, white);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ecf0f2), to(white));
  background-image: -webkit-linear-gradient(top, #ecf0f2, white);
  background-image: -o-linear-gradient(top, #ecf0f2, white);
  background-image: linear-gradient(to bottom, #ecf0f2, white);
  background-repeat: repeat-x;
  filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(#ecf0f2),argb(white))); // IE9 and down
}



/* CSS HACKS =/ */

* html nav li.brand a:link, nav li.brand a:visited {
  background: url(../img/rocha_brand-v.jpg) no-repeat center;
}

* html nav li.brand.active {
  background: none;
}

* html section {
  width: 30%;
  padding: 0 1%;
}



/* ==========================================================================
  Media Queries
  ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
    only screen and (min-resolution: 144dpi) {

}

/* ==========================================================================
  Helper classes
  ========================================================================== */

.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  *text-indent: -9999px;
}

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 100%;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

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

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

/* ==========================================================================
  Print styles
  ========================================================================== */

@media print {
  * {
    background: transparent !important;
    color: #000 !important; /* Black prints faster: h5bp.com/s */
    box-shadow:none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links for images, or javascript/internal links
   */

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group; /* h5bp.com/t */
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}