html,
button,
input,
select,
textarea {
  color: #222;
}
body {
  font-family: 'Averia Sans Libre', sans-serif;
  font-size: 12pt;
  line-height: 1.4;
}
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
}
/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */
img {
  vertical-align: middle;
}
/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical;
}
/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */
.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
a {
  text-decoration: none;
}
ul,
ol {
  padding: 0;
  margin: 0;
}
.radius {
  border-radius: 2px;
}
.text-overflow {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.small-text {
  font-size: 12px;
  font-family: "Averia Sans Libre", sans-serif;
  font-style: normal;
}
.body-text {
  font-size: 16px;
  font-family: "Averia Sans Libre", sans-serif;
  font-style: normal;
}
.medium-text {
  font-size: 18px;
  font-family: "Averia Sans Libre", sans-serif;
  font-style: normal;
}
.large-text {
  font-size: 36px;
  font-family: "Averia Sans Libre", sans-serif;
  font-style: normal;
}
/* Media Query Breakpoints */
body {
  background-color: #ffffff;
}
.border-box {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.content-width {
  width: 800px;
  margin: 0 auto;
}
.font {
  font-family: "Averia Sans Libre", sans-serif;
  font-style: normal;
}
.font-stylish {
  font-family: "Secular One", sans-serif;
  font-style: normal;
  font-weight: 400;
}
.link-button {
  display: block;
  padding: 7px 15px;
  background-color: #f5f5f5;
  color: #262626;
  font-weight: 600;
  text-transform: uppercase;
}
/* Main Header
---------------- */
header.main {
  background: #292929 url(/images/ck1_porto_bridge.jpg) no-repeat 50% 50%;
  background-size: cover;
  position: relative;
  padding: 5px 0;
}
header.main .content-wrap {
  width: 800px;
  margin: 0 auto;
  padding-top: 90px;
  padding-bottom: 90px;
  text-shadow: 0 0 1px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.3);

}
header.main .content-wrap h1 {
  font-family: "Secular One", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 90px;
  color: #FFF;
  text-align: right;
  margin: 0;
}
header.main .content-wrap h1 span {
  /* color: #f0a31d; */
  color: #ffffff;
}
header.main .content-wrap h2 {
  font-family: "Secular One", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 22px;
  padding-right: 10px;
  color: #FFF;
  text-align: right;
  margin: 0;
}
header.main .content-wrap h3 {
  font-family: "Secular One", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  padding-left: 20px;
  color: #FFF;
  text-align: left;
  margin: 0;
  position: relative;
  top: 20px;
}
header.main.collapsed {
  margin-bottom: 80px;
}
header.main.collapsed .icon a {
  left: 0px;
  top: 4px;
}
@media (min-width: 1080px) {
  header.main.collapsed {
    margin-bottom: 80px;
  }
  header.main.collapsed .icon a {
    left: -220px;
    top: 4px;
  }
}
/* Main Nav
-------------------- */
div.main .content-wrap {
  width: 800px;
  margin: 0 auto;
  position: relative;
}
nav.main {
  left: 0;
  margin-bottom: 40px;
  margin-top: 40px;
  float: left;
  width: 100%;
  background-color: #f5f5f5;
}
nav.main ul.global-nav {
  display: block;
  font-size: 13px;
  font-family: "Averia Sans Libre", sans-serif;
  font-style: normal;
  margin-bottom: 20px;
}
nav.main ul.global-nav li {
  float: left;
  margin-right: 1px;
}
nav.main ul.global-nav li a {
  display: block;
  padding: 7px 15px;
  background-color: #f5f5f5;
  color: #262626;
  font-weight: 600;
  text-transform: uppercase;
}
nav.menu h2 {
  text-align: right;
  margin-top: 40px;
}
nav.menu h3 {
  text-align: right;
  margin-top: 40px;
}

nav.menu img {
	width: 125px;
}

nav.main ul.global-nav .here a {
  background-color: #007ea8;
  color: #FFF;
}
@media (min-width: 1080px) {
  nav.main {
    display: block;
    width: 160px;
    position: absolute;
    left: -220px;
    top: 40px;
    float: none;
    width: auto;
    background-color: transparent;
  }
  nav.main ul.global-nav li {
    float: none;
    margin-right: 0px;
    margin-bottom: 1px;
  }
}
nav {
  float: left;
  width: 160px;
  font-family: "Secular One", sans-serif;
  padding: 40px 40px 40px 0;
  font-style: normal;
  font-weight: 400;
}
nav.menu a {
  font-family: "Averia Sans Libre", sans-serif;
}

nav.menu ul {
  padding-top: 0px;
  font-size: 16px;
}
nav.menu ul li {
  padding: 3px 0;
  text-align: right;
}
nav.menu ul li.active {
  font-family: "Secular One", sans-serif;
  color: rgba(0, 126, 168, 1);
  border-right: 2px solid rgba(0, 126, 168, 0.3);
  padding: 2px;
}
nav.menu ul li a {
  color: #262626;
}
nav.menu ul li {
  color: #A0A0A0;
}
nav.menu ul li a:hover {
  color: #f0a31d;
}

/* Entries
------------------ */
article.content {
  padding: 40px 0;
  min-height: 500px;
  padding-left: 200px;
  margin-bottom: 10px;
}
article.content h1 {
  font-family: "Secular One", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #262626;
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
  border-top: 1px solid #e5e5e5;
  padding: 10px 0;
}
article.content h2 {
  font-family: "Secular One", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #f0a31d;
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
}
article.content p.intro {
  font-size: 24px;
  color: #2f6780;
  font-family: "Secular One", sans-serif;
  font-style: normal;
  font-weight: 400;
}
article.content a {
  color: #007ea8;
}
article.content p.entry-details {
  font-size: 16px;
  font-family: "Averia Sans Libre", sans-serif;
  font-style: normal;
  color: #b3b3b3;
  margin-top: 0;
}
article.content p.entry-details a {
  color: #b3b3b3;
}
article.content p.entry-details :hover {
  color: #8c8c8c;
}
article.content p.entry-summary {
  padding-bottom: 30px;
}
article.content p,
article.content ul,ol {
  font-size: 16px;
  font-family: "Averia Sans Libre", sans-serif;
  font-style: normal;
}
article.content ul,ol {
  color: #f0a31d;
  margin-left: 20px;
}
article.content ul,ol p {
  font-size: 16px;
  font-family:  "Averia Sans Libre", sans-serif;
  font-style: normal;
  color: #262626;
}
article.content footer {
  margin-top: 30px;
  border-top: 1px solid #e5e5e5;
  padding-top: 6px;
}
article.content footer .button {
  float: left;
  background-color: #e5e5e5;
  display: block;
  padding: 7px 15px;
  background-color: #f5f5f5;
  color: #262626;
  font-weight: 600;
  text-transform: uppercase;
  margin-right: 5px;
}
article.content footer .button:hover {
  background-color: #007ea8;
  color: #FFF;
}
article.content footer .share {
  float: right;
}

/* Footer
--------------------- */

footer.main .content-wrap {
  width: 800px;
  margin: 0 auto;
  position: relative;
}

div.thumbnails {
	background-color: white;
	padding: 20px;
}

div.thumbnails img {max-width:160px; max-height:80px; margin:0 10px 10px 0; 
  border-radius:2px; vertical-align: middle;}
div.thumbnails img.last {margin-right:0;}

footer.main {
  /* background-color: #1b1b1b;*/
  /*background-color: white;*/
  background-color: rgb(37, 145, 181);;
  border-top: thin solid #ccc;
  line-height: 1.8em;
  color: #999999;
  padding-top: 30px;
  padding-bottom: 30px;
  clear: both;
}
footer.main a {
  color: #bababa;
}
footer.main a:hover {
  color: #007ea8;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Image replacement
 */
.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  /* IE 6/7 fallback */

  *text-indent: -9999px;
}
.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}
/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */
.hidden {
  display: none !important;
  visibility: hidden;
}
/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}
/*
 * Hide visually and from screenreaders, but maintain layout
 */
.invisible {
  visibility: hidden;
}
/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */

  display: table;
  /* 2 */

}
.clearfix:after {
  clear: both;
}
/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clearfix {
  *zoom: 1;
}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}
@media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}
/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
@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;
  }
}
