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

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

body {
    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;
}



body {
    font: 16px/26px Helvetica Neue, Helvetica, Arial;
    -webkit-font-smoothing: antialiased;
}

.wrapper {
    width: 100%;
		padding:0 20px;
		max-width:1024px;
		-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
}

.header-container,
.footer-container,
.main aside {
    background: #434a52;
}

.title {
    color: white;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}


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


@media only screen and (max-width : 760px) {
#header{
	background-repeat: no-repeat;
	background-position: center center;
}
}

html,body{
	height:100%;
	width:100%;
	color:#000;
}

body{
	position:relative;
	z-index:1;
	color:#000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color:#000;
/*	background: url(../img/bg-1.jpg) no-repeat center center fixed;  */
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
h1, h2, h3{
	margin:0;
	font-weight:200;
}
h2{
	margin-top:35px;
	font-size:1.7em;
	font-weight:700;
	line-height:1.2em;
}
.main-contents h2 strong{
	color:#ee3624;
}
h3{
	margin-top:10px;
	font-size:1.2em;
	font-weight:bold;
	line-height:1.4em;
	text-transform: uppercase;
}
h4{
	margin-top:10px;
	margin-bottom: 0;
	font-size:1.0em;
	font-weight:500;
	line-height:1.0em;
	text-transform: uppercase;

}



#header{
	position:fixed;
	width:400px;
	height:100%;
	padding:80px 50px;
		-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
}
#header h1{
	display:none;
}

#header h2{
	color:#fff;
	bottom:80px;
	position:absolute;
	font-size:2em;
}



img#logo{
	width:100%;
	max-width:30px;
	display:inline;
	position: absolute;
	margin:0;
}

nav#header-nav {
	position:fixed;
	margin:0;
	padding:9px 0 2px 50px;
	width:100%;
	z-index:100;
	background:rgba(0,0,0,0.5);
	transition: all 0.5s ease;
}

nav ul {
	float: left;
    margin:-3px 95px 8px 45px;
    padding:0;
/*
		border-bottom:1px dotted #fff;
		display:inline-block;
*/
}
nav ul li{
	float:left;
	margin-left:0;
	margin-right:20px;
	color: #FFF;
}
nav ul li:first-child{
	margin-left:15px;
}
nav a {
    display: block;
    padding:0 0 5px 0;
/*     text-align: center; */
    text-decoration: none;
    font-weight: 500;
		font-size:0.8em;
		text-transform:uppercase;

    color: white;
		text-decoration:none;
		margin-bottom:-1px;
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
	color:#d6d6d6;
    text-decoration: none;
}

nav .active a{
	border-bottom:1px solid #ff2b06;
}


#main{
	position:relative;
	margin:0;
/* 	padding:0 50px 0 50px; */
	height:100%;
	z-index:10;
}
#main-header{
	position: fixed;
	margin:50px 0 0;
	padding:0px 50px;
	overflow:auto;
	width:calc(100% - 100px);
	height:calc(100% - 97px);
	background:rgba(255,255,255,0.8);
}
#main-header h1{
	color:#707070;
	font-weight:800;
	font-size:3.5em;
	line-height:0.9em;
}

.info {
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
	line-height: 20px;
	list-style-type: none;
  font-size: 0.85em;
}

.info strong{
	color: #315b3d;
	display: block;
	font-style: normal;
	font-variant: small-caps;
	text-transform: lowercase;
	font-weight: 700;
}

.info li{
  padding: 0 0 7px 0;
}

#main-header a{
	color:#222;
	text-decoration:none;
	border-bottom: 1px dashed #222;

}
#main a:hover{
	color: #7A0002;
}
#contents-left{
	position: relative;
	padding: 80px 13px 0 13px;
	width: 25%;
/* 	left: 8.33333%; */
	right: auto;
	float: left;
}
#contents-right{
	position: relative;
	padding: 60px 13px 0 13px;
	width: 66.66667%;
	float: left;
}
#foot-note{
  font-size:0.8em;
  padding: 5px 0 0 0;
  color:#444;
  line-height: 130%;
}

table{
	width:80%;
	font-weight: bold;
}

td{
	padding:5px 10px 5px 25px;
}


#about{
	background:#f5f5f5;
}


#footer{
	position:fixed;
	width: calc(100% - 20px);
	padding:0;
	font-size:1.3em;
	text-align: center;
/* 	background:#dee0e2; */
/* 	margin: 0 -50px; */
	padding:10px;
	color:#666;
	bottom:0;
	background:rgba(0,0,0,0.3);
}

#footer a{
	border-bottom: 1px none #fff
}

img#footer-logo{
	max-height:25px;
	display:inline;
	left: auto;
	right: auto;
/* 	margin-right: 25px; */
}
img#footer-licenceleft{
	max-height:25px;
	display:inline;
	margin-left: 10%;
}
img#footer-licence{
	max-height:25px;
	display:inline;
	margin:0;
}

img#portrait-img{
	width:calc(100% - 50px);
	max-width: 200px;
	min-width: 90px;
	border-radius: calc(100% / 2);
/* 	padding: 0 0 0 50px; */
	display: block;
	margin: 0 auto 0 50px;
}



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

@media only screen and (min-width: 480px) {

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */


/* ============
    WIDE: Menu
   ============ */


/* ============
    WIDE: Main
   ============ */

/*
    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
    }
*/
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }

}


@media only screen and (max-width: 1140px) {
#header{
/* 	width:320px; */
	padding: 90px 40px;
	float: none;
}
nav#header-nav,
#main{
/* 	margin-left:320px; */
}
#main-header h1{
	font-size: 2.8em;
}
#header h2{
	font-size:1.8em;
}
nav ul li{
	margin-left:25px;
}
nav ul li a{
	font-size:0.8em;
}
}
@media only screen and (max-width: 948px) {
#header{
/* 	width:260px; */
	padding: 90px 40px;
}
nav#header-nav,
#main{
/* 	margin-left:260px; */
}
#main-header h1{
	font-size: 2.8em;
}
#header h2{
	font-size:1.4em;
}
nav ul li{
	margin-left:15px;
}
}

@media only screen and (max-width: 870px) {
#header{
/* 	width:260px; */
	padding: 90px 20px;
}
nav#header-nav,
#main{
/* 	margin-left:260px; */
}
nav#header-nav{
	padding-left:30px;
	list-style: none;
}
nav ul li{
	margin-left:20px;
}
#main-header,
.main-contents{
	padding-left:30px;
	width: calc(100% - 50px);
}
#main-header h1{
	font-size: 2.8em;
}
#footer{
	width: calc(100% - 20px);
}

}
@media only screen and (max-width : 760px) {
#header{
	width:100%;
	padding:50px;
	height:400px;
	position:relative;
}
img#logo{
	width:90%;
/* 	max-width:300px; */
}
#header h2{
	position:relative;
	margin:60px 0 0 0;
}
#main{
	margin-left:0;
}
#main-header h1{
	padding-top:100px;
	margin-left:20px;
}
#marketstreet h2{
}
#contents-left{
	position: relative;
	padding: 20px 0 0 0;
	width: calc(100% - 20px);
	right: auto;
	float: left;
}
#contents-left img{
	position: relative;
	margin: 0 auto;
}
#contents-right {
  position: relative;
  padding: 0;
  width: 95%;
  float: none;
}

}
@media only screen and (max-width : 482px) {
#main-header{
	/* margin: 76px 0 0;
	height: calc(100% - 123px); */
}


}
@media only screen and (max-width : 400px) {
.main-contents{
	padding-right:20px;
	padding-left:20px;
}
#speakers .image{
	height:400px;
	overflow:hidden;
	margin-bottom:20px;
}
#speakers img{
	display:block;
	width:100%;
	float:none;
	margin:auto;
}
#speakers .speaker-description{
	width:100%;
	float:none;
	margin:auto;
}
#team img{
	display:block;
	width:80%;
	float:none;
	margin:auto;
}
#team .team-description{
	width:100%;
	float:none;
	margin:auto;
}

}

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

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

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

.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;
    }
}
