/*

Kirby Starterkit

Author: Bastian Allgeier / Sascha Lack
URL:    http://getkirby.com
Email:  support@getkirby.com

*/


/* Source Sans Pro
-------------------------------------------------- */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: url(../fonts/sourcesanspro-300.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/sourcesanspro-600.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400-italic.woff) format('woff');
}


/* Reset
-------------------------------------------------- */
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}


/* Pix
-------------------------------------------------- */
img {
  display: block;
  max-width: 100%;
}


/* Links
-------------------------------------------------- */
a {
  color: #000;
  text-decoration: none;
  transition: color .3s, background .3s, border .3s;
}


/* Clearfix
-------------------------------------------------- */
.cf:after {
  content: "";
  display: table;
  clear: both;
}


/* Site
-------------------------------------------------- */
html {
  height: 101%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0 auto;
  font-size: 1.25em;
  line-height: 1.5em;
  padding: 1.5em;
}


/* Header
-------------------------------------------------- */
.header {
}
.logo {
  display: block;
  margin-bottom: 1.5em;
}
.logo img {
  width: 2em;
}


/* Navigation
-------------------------------------------------- */
.menu a {
  display: block;
  color: #222;
}
.menu a:hover {
  color: red;
  text-decoration: none;
}
.menu .active {
  color: red;
}
.menu li {
  list-style: none;
}
.menu > li {
  position: relative;
}
.menu > li > a {
  padding: .35em 0;
}

.submenu {
  position: absolute;
  z-index: 1;
  display: none;
  left: 1em;
}
.submenu:before {
  position: absolute;
  z-index: -1;
  content: '';
  top: -0.4em;
  left: 1rem;
  border-top: .3em solid transparent;
  border-bottom: 0.3em solid #ccc;
  border-left: .3em solid transparent;
  border-right: .3em solid transparent;
}
.submenu li {
}
.submenu a {
  padding: .25rem .5rem;
  font-size: .9em;
  font-weight: 300;
  color: #fff;
  white-space: nowrap;
}
.submenu a:hover {
  color: #fff;
}

@media screen and (min-width: 40em) {
  body {
  }
  .logo {
    float: left;
  }
  .menu {
    float: right;
    margin-right: -1em;
  }
  .menu > li {
    float: left;
  }
  .menu > li > a {
    padding: .35em 1em;
    border: 0;
  }
  .menu > li:hover .submenu {
    display: block;
  }
}


/* Headings
-------------------------------------------------- */
h1 {
  font-size: 2em;
  line-height: 1.25em;
  font-weight: 400;
}
h2 {
  font-size: 2em;
  line-height: 1.25em;
  font-weight: 300;
}
h3 {
  font-weight: 400;
}
h4 {
  font-size: 1.125em;
  font-weight: 600;
  margin-bottom: .5em;
}
h1 a, h2 a, h3 a, h4 a {
  border: 0 !important;
  color: white;
}



/* Main
-------------------------------------------------- */
.main {
  padding-bottom: 1.5em;
  border-bottom: 2px solid red;
}
.main hr {
  margin: 3em 0;
  height: 2px;
  background: #ddd;
}
.main p,
.main figure,
.main ul,
.main ol {
  margin-bottom: 1.5em;
}
.main a {
  border-bottom: 2px solid #ddd;
}
.main a:hover {
  border-color: #222;
}

/* Text blocks */
.text ul,
.text ol {
  margin-left: 1em;
}

/* Project meta
-------------------------------------------------- */
.meta {
  margin-bottom: 1.5em;
}
.meta li {
  float: left;
  list-style: none;
  margin-right: 2em;
  color: red;
}
.meta li b {
  font-weight: 400;
  color: #000;
  padding-right: .25em;
}


/* Project teaser
-------------------------------------------------- */
.teaser {
  list-style: none;
}
.teaser li {
  margin-bottom: 1.5em;
  list-style: none;
}
@media screen and (min-width: 50em) {
  .teaser li {
    float: left;
    width: 30%;
    margin-left: 5%;
  }
  .teaser li:first-child {
    margin-left: 0;
  }
}


/* Next/Prev nav
-------------------------------------------------- */
.nextprev {
  padding: 1em 0;
}
.nextprev a {
  border: 0;
}
.nextprev .prev {
  float: left;
}
.nextprev .next {
  float: right;
}


/* Footer
-------------------------------------------------- */
.footer {
  padding: 0 0 1em 0;
  font-size: .8em;
}
.copyright {
  float: left;
}
.colophon {
  float: right;
}
.colophon a b {
  color: red;
  padding-left: .25em;
}

ul li.latest a{
  text-transform: lowercase;
}

body{
  max-width: 48em;
  padding: 0;
}

#nav{
  border: none;
}

#nav ul li{
  margin-right: 41px;
}

#nav ul li:last-child{
  margin-right: 0;
}

.menu > li > a{
  padding: .35em 0em;
}


/* SW
-------------------------------------------------- */

#findus{
}
#sidebar {
    width: 240px;
    height: 100%;
    display: block;
    position: absolute;
    right: 0;
    background: #c9c9c9;
}

#sidebar div {
  padding:15px;
  float:left;
  width: 100%;
}

#sidebar h3{
  font-size: 1em;
}

#sidebar p a{
  color: white;
}

main{
  min-width: 960px;
}

main#home{
  position: relative;
}

main#home #main{
  border-top: 3px solid #545454;
}

main#standard, main#grid, main#latest{
  margin-top: 1.5rem;
  position: relative;
  padding-bottom: 1.5rem;
}


nav.breadcrumb{
    margin-bottom: 0;
}

nav.breadcrumb ul{
    display: inline-block;
    padding: 0 !important;
    margin: 0;
}

nav.breadcrumb ul li{
    display: inline-block;
    margin-right: .25rem;
    text-transform: uppercase;
}
nav.breadcrumb span{
    display: inline-block;
    font-size: 18px;
}
#main nav.breadcrumb ul li a{
    color: red;
    font-size: 18px;
    font-family: 'ITCFranklinGothicW01-Dm 812677';
}
nav.breadcrumb ul li:first-child a:before{
    display: none;
}
nav.breadcrumb ul li a:before{
    content: '>';
    color: #545454;
}

body.Home nav.header{
    border-bottom: 0;
}

nav.header{
    border-top: 3px solid #545454;
    clear:both;
    margin-bottom: 4px;
    padding-bottom: 4px;
    height: 2.5rem;
    border-bottom: 3px solid #545454;
}

nav.header ul{
    clear: both;
    display: block;
    width: 960px;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    float: left;
    overflow: visible;
}

nav.header ul li{
    display: block;
    position: relative;
    float: left;
    margin-right: 28px;
    text-align: center;
}

html[data-useragent*='AppleWebKit'] nav.header>ul>li, html[data-useragent*='MSIE'] nav.header>ul>li, html[data-useragent*='Firefox'] nav.header>ul>li {
    margin-right:34px;
}

nav.header ul li:last-of-type{
    margin-right:0 !important;
}

nav.header ul ul{
    z-index:1000;
    position: absolute;
    width:100%;
    width: auto;
    left: -999em;
    text-align:left;
    margin-left: 0px;
    padding-top:4px;
}

nav.header ul ul ul{
    left:-999em;
}

  nav.header > ul > li:hover > ul {
    left: 0;
    background-image:url('assets/images/nav_arrow.png');
    background-repeat:no-repeat;
    background-position-x:1em;
  }

  nav.header ul ul li:hover ul {
    position: absolute;
    left: 100%;
    top:0px;
    padding-top:0;
    background-image: none !important;
    border-left: 1px solid #FFF;
  }

  nav.header ul ul ul a
  {
    white-space: normal;
    line-height: 0.9;
    width:auto;
    min-width:160px;
    max-width:240px !important;
  }

  nav.header li li
  {
    background-color:#CCC;
    float:none;
    display:block;
    text-align:left;
    white-space: nowrap;
    margin:0;
  }

  nav.header li li li
  {
    width:auto;
    min-width:160px;
    max-width:240px !important;
  }

  nav.header ul li a
  {
    text-decoration:none;
    text-transform:uppercase;
    color: #4e4e4e;
    font-size:18px;
    display:block;
    padding-top: 7px;
  }

  nav.header ul li a:hover, nav.header ul li.active ul li a:hover
  {
    color:#e41b23;
  }

  nav.header ul li ul li.last {
    padding-bottom:7px;
  }

#slider{
  margin: 1rem 0;
}

.caseBoxWrapper{
  width: 740px;
}
.caseBoxWrapper span a:after{
  content: "\003e";
  margin-left: 5px;
}


main a, main p a{
color: #1c4d8f;
}

ul#lightSlider{
    height: 23rem !important;
}

.firsthundred h3{
    background-color: #5f398a;
    color: white;
    padding: .5rem;
    margin-bottom: 1rem;
}
.firsthundred .left{
  width: 50%;
  float: left;
}
.firsthundred .right{
  width: 50%;
  float: left;
}

#newsLegal{
    background: white;
    border: 1px solid #DDD;
    padding: 1rem;
    vertical-align: top;
    width: 48%;
    margin-right: .7rem;
    display: inline-block;
}
#newsLegal ul{
  margin: 0;
  padding: 0;
}

#newsLegal ul li{
  text-transform: uppercase;
  list-style: none;
  padding: 0;
}
#newsLegal ul li:before{
  content: "\2013";
}

#newsTweet{
    padding: 1rem;
    background: white;
    border: 1px solid #DDD;
    margin-bottom: 2rem;
    width: 48%;
    margin-left: .7rem;
    display: inline-block;
}

#newsTweet UL{
    font-size: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.blogPost__snippet{
    border-top: 1px dotted #5f398a;
    margin-bottom: 2rem;
}
.blogPost__snippet p{
    margin: 0;
}
.blogPost__snippet span{
    text-align: right;
    width: 100%;
    display: block;
}
#prevNext{
    background-color: white;
    width: 100%;
    display: block;
    clear: both;
    padding: 1rem;
    margin-bottom: 1rem;
}
#prevNext .prev{
  float: left;
}
#prevNext .next{
  float: right;
}
#prevNext a.social{
    width: 32%;
    display: inline-block;
    text-align: center;
    color: #545454;
}

#news a{
  display: inline-block;
}

.morelink{
  text-transform: uppercase;
  font-family: 'ITCFranklinGothicW01-Dm 812677';
  margin-bottom: 12px;
}


#fileSearch input{
    padding: 1rem;
    font-size: 1rem;
    width: 27%;
    border: 1px solid #eee;
    margin-left: .75rem;
    color: white;
    font-weight: bold;
    background: #e41b23;
}

#fileSearch input[type="search"]{
    background: white;
    padding: 1rem;
    width: 70%;
    margin: 0;
    box-shadow: inset 0 0 12px -5px #999;
    color: #4e4e4e;
    font-weight: normal;
}
#fileSearch input:disabled{
    color: #981217;
}

#fileSearch form{
    background: white;
    margin: 2rem 0 0 0;
    padding: 1rem;
}


#fileSearch p.noresults{
  display: none;
}
ul#resultslist {
  margin: 0;
  padding: 0;
}
ul#resultslist li {
  padding: 1rem;
  border-bottom: 1px solid #C9C9CA;
  margin: 0;
  list-style-type: none;
}
#resultslist li:nth-child(even), ul#siteSearch li:nth-child(even){
  background: #fefefe;
}
#resultslist li:nth-child(odd), ul#siteSearch li:nth-child(odd) {
  background: #EFEFEF;
}
#fileSearch .pagination{
  padding: 1rem 0;
}
#fileSearch .pagination .prev{
  float: left;
}
#fileSearch .pagination .next{
  float: right;
}

#main h3.pdf,
#main h3.doc {
  padding-left: 2.5rem;
  margin-left: 0;
  position: relative;
}

h3.pdf:before, h3.doc:before{
  width: 35px;
  display: block;
  position: absolute;
  z-index: 9999;
  display: inline-block;
  left: 0;
}

h3.doc:before{
  content:url('../images/doc_icon.png');
}

h3.pdf:before{
  content:url('../images/pdf_icon.png');
}

form#searchform input[type="submit"] {
  position: absolute;
  right: 7.45rem;
  padding: .35rem;
  top: .21rem;
}

ul#siteSearch{
  list-style: none;
  padding: 0;
  margin: 0;
}

ul#siteSearch li{
  padding: 1rem;
}

.policypaperlist {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.policypaperlist h3 {
  padding-bottom: 0;
}

.policypaperlist li {
  border-bottom: 1px solid #C9C9CA;
}

a.current {
	font-weight: bold;
}

/* news and blog */
.pagination {
  border-top: 3px solid #545454;
	clear: both;
	margin-bottom: 4px;
	padding-bottom: 4px;
  text-align: center;
  color: #888;
}
.pagination li {
  display: inline-block;
  padding: 4px 8px;
  font-family:'ITCFranklinGothicW01-Dm 812677';
}
.pagination .active {
  color: #888;
}
