@font-face {
    font-family: 'twcentmt';
    src: url('../fonts/twcentmt.eot');
    src: local('twcentmt'), url('../fonts/twcentmt.woff') format('woff'), url('../fonts/twcentmt.ttf') format('truetype');
}

body {
    font-family: twcentmt, sans-serif;
    font-size: 18px;
    position: relative;
}

/*********************************************
 * REVEAL STYLES
 *********************************************/
::selection {
    color: #fff;
    background: #98bdef;
    text-shadow: none; }

::-moz-selection {
    color: #fff;
    background: #98bdef;
    text-shadow: none; }

.reveal .slides > section,
.reveal .slides > section > section {
    line-height: 1.3;
    font-weight: inherit; }


.reveal a {
    color: #286090;
    text-decoration: none;
    -webkit-transition: color .15s ease;
    -moz-transition: color .15s ease;
    transition: color .15s ease;
}

.reveal ol,
.reveal dl,
.reveal ul {
    display: inline-block;
    text-align: left;
    margin: 0 0 0 1em; }

.reveal ol {
    list-style-type: decimal; }

.reveal ul {
    list-style-type: square; }

.reveal ul ul {
    list-style-type: square; }

.reveal ul ul ul {
    list-style-type: circle; }

.reveal ul li{
    list-style-type: square;
}

.reveal ul ul li {
    font-size: 0.9em;
    padding-bottom: 0;
    color: #666;
}

.reveal ul ul,
.reveal ul ol,
.reveal ol ol,
.reveal ol ul {
    display: block;
    margin-left: 40px; }


.reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5 {
    color: #286090;
}

.reveal h1 {
    font-size: 2em;
    padding-bottom: 30px;
}

.reveal h2 {
    font-size: 1.7em;
    padding: 15px;
    font-weight: normal; 
 }

.reveal h3 {
    font-size: 1.5em; }

.reveal h4 {
    font-size: 1em; }

.reveal h1 {
    text-shadow: none; }

.reveal p {
    margin: 20px 0;
    line-height: 1.3;
}

.reveal h2 a {
    color: #337ab7;
}

.reveal h2 a:hover {
    text-decoration: underline;
    text-decoration-style: dashed;
}

/*********************************************
 * NAVBAR
 *********************************************/

.clearfix:before,
.clearfix:after {
    display: table;
    line-height: 0;
    content: "";
}
.clearfix:after {
    clear: both;
}
header{
    width: 90%;
    height: auto;
    padding-right: 5%;
    padding-left: 5%;

    background: rgba(255, 255, 255, 0.95);
    border-bottom: solid 1px #ebebeb;
    box-shadow: 0 1px 10px #F0F0F0;
}
.header-left,
.header-right{
    position: relative;
    color: #286090;
    float: left;
}
.header-left{
    width: 30%;
    padding-top: 25px;
}
.header-right label{
    position: absolute;
    top: -3.7em;
    right: 0;
    cursor: pointer;
}
.header-right span{
    position: relative;
    width: 2em;
    height: 2em;
    background: rgba(255,255,255,.3);
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.header-right span:hover{
    background: rgba(255,255,255,.6);
}
.header-right span:before,
.header-right span:after{
    content: '';
    position: absolute;
    width: 2em;
    height: .5em;
    top: 4px;
    left: 0;
    background: #4078b2;
}
.header-right span:after{
    top: 14px;
}
.header-right{
    width: 70%;
    height: 100%;
    text-align: right;
}
#open{
    display: none;
}
h1{
    font-weight: 300;
    line-height: 40px;
}
a{
    text-decoration: none;
    color: #337ab7;
}

nav {
    vertical-align: middle;
}

nav>a{
    position: relative;
    display: inline-block;
    height: 50px;
    font-size: 20px;
    padding: 35px 10px 0 10px;
    text-align: center;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

nav > a:hover,
nav > a:focus {
    text-decoration: none;
    background-color: #eee;
    color: #23527c;

}


.hidden-desktop{
    display: none;
}

.logo {
    font-size: 3em;
    word-spacing: 0.5em;
    font-weight: 900;
    line-height: 40px;
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
    .box{
        width: 49%;
        margin-bottom: 5%;
    }

    ul li:nth-child(3) .box{
        clear: both;
    }

    ul li:nth-child(2n) .box{
        margin-right: 0;
        clear: right;
    }
}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
    nav>a{
        padding: 0 0.5em;
        font-size: 16px;
    }
    .header-left,
    .header-right{
        width: 100%;
        text-align: center;
    }
}

/* Landscape phones and down */
@media (max-width: 480px) {
    nav{
        height: 0;
        overflow: hidden;
        -webkit-transition: all .3s ease;
        transition: all .3s ease;
    }
    input[type="checkbox"]:checked + nav{
        height: 205px;
    }
    nav>a{
        padding: 0 0.5em;
        display: block;
        border-bottom: solid 1px rgba(255,255,255,.1);
    }
    .header-left,
    .header-right{
        width: 100%;
        text-align: center;
    }
    .hidden-desktop{
        display: block;
    }
}


/*********************************************
 * OTHER STYLES
 *********************************************/


.very-large {
    font-size: 2em;
    padding: 0px 50px;
    word-spacing: 0.5em;
}

.large a {
    font-size: 1.5em;
    padding: 0px 20px;
    word-spacing: 0.3em;
}

.double-line-space {
    line-height: 2.5em;
}

a.large-button {
    display: block;
    min-width: 115px;
    min-height: 25px;
    border-color: #4E9CAF;
    border-style: solid;
    border-width : 1px 1px 1px 1px;
    padding: 10px;
    text-align: center;
    font-weight: bold; 
    margin: 2em;
}

.lead {
    font-size: 1.5em;
}

.col-left {
    float:left;
}
.col-right {
    padding-left : 20px;
    float:left;
}

.img-container {
    width: 100%;
    padding-bottom: 20px;
}

.img-container img {
    margin: auto;
}

.anchor {
    display: block;
    position: relative;
    top: -115px;
    visibility: hidden;
}

footer {
    padding-top: 30px;
    padding-bottom: 30px;
}

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}
.text-bottom {
    vertical-align: bottom !important;
}
#home .footer {
    color: white;
    margin: 25%;
}

#home em {
    color: white;
}

.left {
  left:-8.33%;
  text-align: left;
  float: left;
  width:50%;
  z-index:-10;
}

.right {
  left:35.25%;
  top: 75px;
  float: right;
  z-index:-10;
  width:50%;
}

.right .text-box {
    margin-left: 30px;
}

.left-onethird {
  left:-8.33%;
  text-align: left;
  float: left;
  width:33%;
  z-index:-10;
}

.right-twothird {
  left:35%;
  float: right;
  text-align: right;
  z-index:-10;
  width:65%;
}

.left-60pct {
  left:-8.33%;
  text-align: left;
  float: left;
  width:55%;
  z-index:-10;
}

.right-40pct {
  left:65%;
  float: right;
  text-align: right;
  z-index:-10;
  width:40%;
}

.hiero {
        color: #2E4C6B;
        word-spacing: 2em;
}

ul.overview li {
    padding: 15px;
    font-size: 1.3em;
}

img.full {
    height: 60vh;
    max-width: 100%;
}

img.width-full {
    width: 95%;
    max-width: 95%;
}

div.left-onethird.box {
    font-style: italic;
}

/* SPECIFIC TO THIS WEB SITE */

#home h1, #home h2, #home a, #home .footer, #home p{
    color: white !important;
    padding-bottom: 50px;
}

p.profile {
    color: #666;
    padding: 0px;
    margin: 0px;
}

.box p {
    margin-top: 0px;
    margin-left: 5px;
    margin-right: 5px;
}

.reveal h3 a {
    text-decoration: underline;
}

div.comment {
    background-color: #efefef;
    margin-top: 2em;
    padding-left: 30px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 15px;
    color: #333;
    font-style: italic;
    margin: 2em;
}

.comment p {
    margin: 5px;
}