/* ==========================================================================
   Base styles
   ========================================================================== */

html {
    background: #fff;
    color: #222;
    font-size: 1em;
    line-height: 1.5;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}
body {
    overflow-x: hidden;
    font-size: 15px;
}
*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}
::selection {
    background: #b3d4fc;
    text-shadow: none;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #888;
    margin: 0;
    padding: 0;
}
@media screen and (min-width: 768px) {
    .hr-margin-top hr {
        margin-top: 1rem;
    }
    .hr-margin-bottom hr {
        margin-bottom: 1rem;
    }
}
audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
    max-width: 100%;
}
img {
    height: auto;
    vertical-align: top;
}
img ~ .fa {
    display: none;
}
/* text */

a {
    text-decoration: none;
}
a .fa.fa-external-link {
    font-size: 80%;
}
strong {
    font-weight: 700;
}
h1,
h2,
h3,
h4,
h5,
p,
ul,
ol {
    margin: 0;
}
p:empty,
br {
    display: none;
}
h1,
h2,
h3,
h4,
h5 {
    line-height: 1.25;
}
/* form */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
textarea {
    resize: vertical;
}
/* nav */

nav ul,
nav ol,
nav li,
nav a {
    margin: 0;
    padding: 0;
}
nav ul,
nav ol {
    display: block;
    list-style: none;
}
nav li {
    display: inline-block;
    vertical-align: top;
}
nav a {
    display: block;
}
/* ==========================================================================
   Container
   ========================================================================== */

.container {
    padding: 1rem 1rem 0 1rem !important;
    margin: 0 auto !important;
}
@media screen and (min-width: 1024px) {
    .container {
        max-width: 75%;
    }
}
@media screen and (min-width: 1440px) {
    .container {
        width: calc(1048px + 2rem);
    }
}
.container.no-padding-top {
	padding-top: 0 !important;
}
/* ==========================================================================
   Site styles
   ========================================================================== */

.site {
    left: 0;
    -webkit-transition: left .2s ease;
    -o-transition: left .2s ease;
    transition: left .2s ease;
    position: relative;
    z-index: 2;
    background: #efefef;
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, .75);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .75);
}
@media screen and (max-width: 1023px) {
    .menu .site {
        left: -300px;
    }
}
/* header */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(0, 0, 0, 0.5);
    -webkit-transition: background .2s ease, left .2s ease;
    -o-transition: background .2s ease, left .2s ease;
    transition: background .2s ease, left .2s ease;
    z-index: 3;
}
@media screen and (max-width: 1023px) {
    .menu .site-header {
        left: -300px;
    }
}
.down .site-header {
    background: rgba(17, 17, 17, 1);
}
@media screen and (max-width: 768px) {
    .site-header {
        background: rgba(17, 17, 17, 1);
    }
}
.site-header,
.site-header a {
    color: #fff;
}
/* site title */

.site-title {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.5rem;
}
.site-title a {
    display: block;
    line-height: 80px;
    padding: 0 1rem;
}
.site-title a:hover {
    text-decoration: underline;
}
/* content */

.site-content {
    margin-top: 80px;
}
/* admin bar */

.admin-bar .site-header {
    top: 32px;
}
.admin-bar .site-content {
    margin-top: 112px;
}
@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
    .admin-bar .site-content {
        margin-top: 126px;
    }
}
/* footer */

.site-footer {
    background: #111;
    padding: 1rem 0;
}
.site-footer,
.site-footer a {
    color: #fff;
}
/* site info */

.site-info {
    text-align: center;
    font-size: 80%;
    text-transform: uppercase;
}
.site-info a:hover {
    text-decoration: underline;
}
/* ==========================================================================
   Main Navigation
   ========================================================================== */
/* header */

.main-navigation .menu {
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;
    margin-right: 0.5rem;
    display: none;
}
.main-navigation a {
    line-height: 80px;
    text-transform: uppercase;
    font-size: 80%;
    padding: 0 0.5rem;
    position: relative;
}
.main-navigation .menu > li:last-child > a {
    margin-left: calc(.5rem + 2px);
    padding-left: 1rem;
}
.main-navigation a:before {
    display: none;
    position: absolute;
    bottom: 1.5rem;
    left: .5rem;
    width: calc(100% - 1rem);
    height: 2px;
    background: #fff;
    content: "";
    z-index: 1;
}
.main-navigation .menu > li:last-child > a:before {
    display: block;
    top: 37.5%;
    bottom: auto;
    left: -2px;
    width: 2px;
    height: 25%;
}
.main-navigation li:not(.current-menu-item) a:hover:before,
.main-navigation li:not(.current-menu-item) a:active:before,
.main-navigation li.current-menu-item a:before,
.single-speaking .main-navigation a[href*="/talks/"]:before,
.single-post .main-navigation a[href*="/topics-publications/"]:before,
.tag .main-navigation a[href*="/topics-publications/"]:before,
.category .main-navigation a[href*="/topics-publications/"]:before {
    display: block;
}
.menu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: auto;
    z-index: 2;
    background: #fff;
    color: #000;
    border: 0;
    padding: 0;
    display: block;
    line-height: 80px;
    text-align: center;
    cursor: pointer;
    border-radius: 0;
    font-size: 1.5rem;
}
.menu .menu-toggle .fa-bars:before {
    content: "\f053";
}
/* about */

.about-navigation {
    position: absolute;
    top: 80px;
    right: 0;
    padding: 0 0.5rem;
    background: #444;
    -webkit-transition: background .2s ease, left .2s ease;
    -o-transition: background .2s ease, left .2s ease;
    transition: background .2s ease, left .2s ease;
    z-index: 2;
    display: none;
}
.about-navigation a {
    line-height: 2;
    font-size: 80%;
    padding: 0 0.5rem;
}
.about-navigation a:hover,
.about-navigation li.current-menu-item > a {
    text-decoration: underline;
}
/* mobile */

.mobile-navigation {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    -webkit-transition: right .2s ease;
    -o-transition: right .2s ease;
    transition: right .2s ease;
    height: 100%;
    background: #333;
    z-index: 1;
}
@media screen and (max-width: 1023px) {
    .menu .mobile-navigation {
        right: 0px;
    }
}
.mobile-navigation .menu {
    padding: 0.5rem 0;
}
.mobile-navigation li {
    display: block;
}
.mobile-navigation a {
    display: block;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    color: #efefef;
}
.mobile-navigation a:hover {
	text-decoration: underline;
}
.mobile-navigation li:nth-of-type(8) a,
.mobile-navigation li:nth-of-type(8) ~ li a {
	font-size: 80%;
	font-style: italic;
	text-transform: none;
}
/* admin bar */

.admin-bar .mobile-navigation .menu {
    margin-top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .mobile-navigation .menu {
        margin-top: 46px;
    }
}
/* respond */

@media screen and (min-width: 1024px) {
    .main-navigation .menu,
    .about-navigation {
        display: block;
    }
    .menu-toggle,
    .mobile-navigation {
        display: none;
    }
}
/* ==========================================================================
   Page styles
   ========================================================================== */
/* header */

.page-header {
    height: 25vw;
    margin-top: -80px;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    background-color: #000;
}
@media screen and (max-width: 768px) {
    .page-header {
        height: 56.25vw;
        margin-top: 0;
    }
}
.page-title {
    height: 100%;
    position: relative;
}
.page-title > span {
    color: #fff;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.5rem;
    display: inline-block;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, .5);
}
@media screen and (min-width: 1024px) {
    body:not(.page-template-page-gallery) .page-content {
        padding: 1rem 0;
    }
}
/* formatting */

.page-content a {
    text-decoration: underline;
    color: inherit;
}
.page-content a:hover {
    text-decoration: none;
}
.page-content p,
.page-content ul,
.page-content ol {
    margin-bottom: 1rem;
}
.page-content ul li,
.page-content ol li {
    list-style-position: inside;
}
.page-content h2:not(.entry-title),
.page-content h3,
.page-content h4,
.page-content h5 {
    margin-bottom: 1rem;
}
.page-content .alignleft,
.page-content .alignright {
    max-width: 100%;
}
.page-content .alignleft {
    margin-right: 1rem;
    float: left;
}
.page-content .alignright {
    margin-left: 1rem;
    float: right;
}
.page-content .wp-caption-text {
    font-style: italic;
}
.page-content wp-caption {
    font-size: 14px;
}
/* entry meta / entry footer */

.page-content .entry-meta,
.page-content .entry-footer {
    margin-bottom: 1rem;
    font-style: italic;
}
/* navigation */

.page-content-navigation nav {
    border-top: 1px solid #bbb;
    padding: 1rem 0;
    margin-bottom: 0;
    color: #000;
    text-align: center;
}
.page-content-navigation a {
    text-decoration: none;
}
.page-content-navigation .current,
.page-content-navigation a {
    padding: 0.5rem 1rem;
    display: inline-block;
    color: #000;
}
.page-content-navigation .current,
.page-content-navigation a:not(.prev):not(.next) {
    background: transparent;
    border: 1px solid #222;
    border-radius: 0;
    margin: 0 5px;
}
.page-content-navigation a:not(.prev):not(.next):hover {
    background: #222;
    color: #fff;
}
.page-content-navigation .current {
    background: #222;
    border: 1px solid #222;
    color: #fff;
}
.page-content-navigation a.prev,
.page-content-navigation a.next {
    padding: 1rem 5px;
}
.page-content-navigation .pagination .screen-reader-text {
    display: none;
}
.page-content-navigation .post-navigation .nav-previous,
.page-content-navigation .post-navigation .nav-next {
    display: inline-block;
    max-width: 50%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}
/* sidebar right */

.sidebar-right > .panel-grid-cell:nth-of-type(2) {
    padding-left: 1rem;
}
.sidebar-right > .panel-grid-cell:nth-of-type(2) .widget {
    background: #ddd;
    padding: 1rem;
    margin-bottom: 1rem !important;
    color: #000;
}
.sidebar-right > .panel-grid-cell:nth-of-type(2) .widget a {
    color: inherit;
    text-decoration: underline;
}
.sidebar-right > .panel-grid-cell:nth-of-type(2) .widget a:hover {
    text-decoration: none;
}
.sidebar-right > .panel-grid-cell:nth-of-type(2) .widget-title {
    margin-bottom: 0 !important;
}
/* ==========================================================================
   Hero styles
   ========================================================================== */

.hero {
    height: 56.25vw;
    background: #000;
    margin-top: -80px;
    position: relative;
}
.hero ~ .page .page-header {
    display: none;
}
@media screen and (max-width: 768px) {
    .hero {
        margin-top: 0;
    }
}
.hero:before {
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -2rem;
    height: 2rem;
    background: #ffffff;
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#efefef));
    background: -webkit-linear-gradient(top, #ffffff 0%, #efefef 100%);
    background: -o-linear-gradient(top, #ffffff 0%, #efefef 100%);
    background: linear-gradient(to bottom, #ffffff 0%, #efefef 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#efefef', GradientType=0);
    width: 4rem;
    z-index: 1;
    content: "\f078";
    color: #303030;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    line-height: 2rem;
}
/* ==========================================================================
   Bio
   ========================================================================== */

.home .bio .alignleft,
.home .bio .alignleft img {
    width: 300px !important;
}
@media screen and (max-width: 567px) {
    .bio .alignleft,
    .bio .alignleft img,
    .home .bio .alignleft,
    .home .bio .alignleft img {
        margin-right: 0 !important;
        float: none !important;
        width: 100% !important;
    }
}
/* ==========================================================================
   Video container
   ========================================================================== */

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* ==========================================================================
   Entries
   ========================================================================== */

.hentry:not(:first-child) {
    border-top: 1px solid #bbb;
    padding-top: 1rem;
}
.hentry .featured-image {
    margin-bottom: 1rem;
}
.hentry .entry-title a {
    text-decoration: none;
}
.hentry .entry-title a:hover {
    text-decoration: underline;
}
.hentry .entry-title .fa {
    font-size: 0.8rem;
}
.hentry .entry-content {
    display: table;
}
.hentry .entry-content img {
    vertical-align: top;
}
.hentry .entry-content img,
.hentry .entry-content .wp-caption {
    max-width: 33.33333%;
    margin-bottom: 1rem;
}
.hentry .entry-content .wp-caption img {
    max-width: 100%;
    margin-bottom: 0;
}
.hentry.type-news {
	margin: 0 auto 1rem auto;
	padding: 1rem 1rem 0 1rem !important;
	border: 0 !important;
    -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, .33);
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, .33);
}
.hentry.type-news .featured-image {
    padding: 2rem;
}
@media screen and (min-width: 768px) {
    .touts {
        -webkit-column-count: 3;
        -webkit-column-gap: 1rem;
        -moz-column-count: 3;
        -moz-column-gap: 1rem;
        column-count: 3;
        column-gap: 1rem;
    }
    .touts .hentry {
        border-top: 0;
        padding-top: 0;
        -webkit-column-break-inside: avoid;
        break-inside: avoid;
    }
    .hentry:not(.type-tout) .featured-image,
    .search-results .type-tout .featured-image {
        float: left;
        width: calc(33.33333% - 0.5rem);
        margin-right: 1rem;
    }
}
/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery {
    background: #000;
}
.gallery figure,
.gallery figure * {
    margin: 0;
    padding: 0;
    border: 0;
}
.gallery figure {
    display: block;
    width: 33.33333%;
    float: left;
}
.gallery figure a {
    position: relative;
}
.gallery figure img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}
.gallery figure figcaption {
    display: none;
}
/* ==========================================================================
   Contact Form 7
   ========================================================================== */

div.wpcf7 .form-row {
    margin: 0 auto 1rem auto;
}
div.wpcf7 .form-row label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
}
div.wpcf7 .form-row input[type="text"],
div.wpcf7 .form-row input[type="email"],
div.wpcf7 .form-row input[type="tel"],
div.wpcf7 .form-row textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #bbb;
    color: #000;
}
div.wpcf7 .form-row input[type="submit"] {
    padding: 1rem 2rem;
    display: inline-block;
    color: #efefef;
    background: #222;
    border: 1px solid #222;
    border-radius: 0;
    text-transform: uppercase;
    cursor: pointer;
    margin: 0 5px 0 0;
}
div.wpcf7 .form-row input[type="submit"]:hover {
    background: #000;
    border: 1px solid #000;
    color: #fff;
}
div.wpcf7 {
    margin: 0 auto 1rem auto;
    max-width: 640px;
}
div.wpcf7 .form-row-last {
    margin-bottom: 0;
}
div.wpcf7 .form-row label span,
div.wpcf7 span.wpcf7-not-valid-tip {
    color: #b44;
}
div.wpcf7 .form-row-last .ajax-loader {
    margin: 0;
}
div.wpcf7 div.wpcf7-response-output {
    margin: 1rem auto 0 auto;
    padding: 0.5rem;
    text-align: center;
    border: 0;
}
div.wpcf7 div.wpcf7-validation-errors {
    background: #b44;
    color: #000;
}
div.wpcf7 div.wpcf7-mail-sent-ok {
    background: #4b4;
    color: #000;
}
/* ==========================================================================
   Social navigation
   ========================================================================== */

.menu-social-container {
    text-align: center;
    margin-bottom: 1rem;
}
.menu-social-container li a {
    color: #222;
    text-decoration: none;
    margin: 0 0.25em;
    background: #fff;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    overflow: hidden;
    line-height: 2em;
    text-align: center;
    padding: 0;
}
.menu-social-container li:first-child a {
    margin-left: 0;
}
.menu-social-container li:last-child a {
    margin-right: 0;
}
.menu-social-container .fa,
.menu-social-container .fa:before {
    line-height: 1 !important;
    display: inline-block !important;
    vertical-align: baseline !important;
}
.menu-social-container .fa.fa-external-link {
    display: none !important;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden,
.paged .hide-on-paged {
    display: none !important;
}
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}
.invisible {
    visibility: hidden;
}
.clearfix:before,
.clearfix:after,
.hentry:before,
.hentry:after,
.touts:before,
.touts:after {
    content: " ";
    display: table;
}
.clearfix:after,
.hentry:after,
.touts:after {
    clear: both;
}