/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/******************************************/

body {
    font-family: Georgia, "Times New Roman", serif;
    text-align: center;
    color: #eee;
}

h2 {
    font-size: 2em;
    margin: 1em .5em;
    text-shadow: 0 0 1px;
    font-weight: bold;
    text-transform: uppercase;
}

b {
    font-weight: bold;
}

/** Header **/
#header {
    background: #3A71AE;
    background-image: -webkit-linear-gradient(top, #1e62a0), #4b7ab6);
    background-image: -moz-linear-gradient(top, #1e62a0), #4b7ab6);
    background-image: -ms-linear-gradient(top, #1e62a0), #4b7ab6);
    background-image: -o-linear-gradient(top, #1e62a0), #4b7ab6);
    background-image: linear-gradient(to bottom, #1e62a0, #4b7ab6);

    font-family: "Krona One", sans-serif;

    height: 103px;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#header li {
    display: inline-block;
}

#header a {
    text-decoration: none;
    color: #fff;
    font-size: 0.813em;
}

#header a.active,
#header a:hover {
    text-decoration: underline;
}

#header ul {
    padding-top: 40px;
    width: 800px;
    margin: 0 auto;
    white-space: nowrap;
}

#header li {
    display: inline-block;
    float: left;
}

#header li.l {
    width: 20%;
}

#header li.r {
    width: 18%;
}

#header li.social {
    float: right;
    width: 5%;
    margin-top: -2px;
}

#logo {
    width: 142px;
    margin-top: -14px;
    margin-top: 40px;
}

#logo img {
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}

/** Hero **/
#hero {
    padding-top: 180px;
    width: 600px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

#hero .date {
    font-size: 68px;
    color: #d3dde7;
    font-weight: bold;
    margin: 5px 0 20px;
}

#hero .desc {
    font-size: 16px;
    color: #0b3e71;
    line-height: 140%;
    padding: 0 100px;
    margin-top: 2em;
}

.desc p {
    margin-bottom: .25em;
}

/** Quotes Slider **/

#quotes {
    margin: 2em auto 0;
    white-space: nowrap;
    position: relative;
    left: 0;
    -webkit-transition: left .6s;
    -moz-transition: left .6s;
    transition: left .6s;
}

#quotes li {
    display: inline-block;
    width: 100%;
}

/** Quotes Navigation **/
#quote-nav a {
    position: absolute;
    display: block;
    height: 157px;
    width: 30px;
    padding-top: 100px;
    z-index: 999;
    -webkit-transition: all .6s;
    -moz-transition: all .6s;
    transition: all .6s;
    background: #fff;
    opacity: .8;
}

#quote-nav a:hover {
    padding-left: 25px;
    padding-right: 25px;
}

#quote-nav .prev {
    left: 0;
    padding-left: 50px;
}

#quote-nav .next {
    right: 0;
    padding-right: 50px;
}

/** Keynote **/
#keynote {
    margin-top: 5em;
    padding: 2em 0;
    background: #404863 url(graphics/keynote-bg.png);
    box-shadow: 0 -5px 35px 5px rgba(64, 72, 99, .5), inset 0 0 60px 60px rgba(64, 72, 99, .6);
}

#keynote a {
    color: #eef;
}

#keynote p {
    margin: 1em auto;
    line-height: 1.4em;
    font-size: 1.2em;
    width: 600px;
}

#keynote h2 {
    text-shadow: 0 0 2px #003A73, 0 0 4px #003A73;
}

/** Sessions **/
#videos {
    background: url(graphics/sessions-bg.png);
    background-attachment: fixed;
    color: #369;
    margin: 0;
    padding: 1em 0;
}

#videos a {
    color: #336699;
}

#videos h2 {
    color: #fff;
    padding-bottom: .5em;
    border-bottom: 1px solid #fff;
    text-shadow: 0 0 2px #003A73, 0 0 4px #003A73, 0 0 2px #000;
}

.sessions {
    width: 800px;
    margin: 0 auto;
    text-align: left;
}

.sessions .title {
    text-decoration: none;
    font-style: italic;
    font-weight: bold;
}

.sessions li {
    padding: 1em 0;
}

.sessions .title:before {
    content: url(graphics/play.png);
    display: inline-block;
    padding-right: .5em;
    vertical-align: -15%;
    -webkit-transition: all .6s;
    -moz-transition: all .6s;
    transition: all .6s;
}

.sessions .active .title:before,
.sessions .title:hover:before {
    -webkit-transform: rotate(90deg);
    -webkit-transform-origin: 40% 50%;
    -moz-transform: rotate(90deg);
    -moz-transform-origin: 40% 50%;
    transform: rotate(90deg);
    transform-origin: 40% 50%;
}

.sessions .title:after {
    content: " - ";
}

.sessions .slides img {
    vertical-align: text-top;
}

.sessions .active {
    border: 1px solid #fff;
    border-right: none;
    border-left: none;
}

.sessions .desc,
.sessions .video {
    height: 0;
    overflow: hidden;
    -webkit-transition: all .6s ease-in;
    -moz-transition: all .6s ease-in;
    transition: all .6s ease-in;
}

.sessions .active .video {
    height: 490px; /* Using a specific height triggers transitions. */
}
.sessions .active .desc {
    height: 100%;
}

.sessions .desc {
    margin: .5em 0 .5em 1.9em;
    font-size: 14px;
}

/** Certificate **/
#certificate {
    margin: 2.5em 0;
    text-align: center;
    position: relative;
}
#certificate a {
    color: #369;
    text-decoration: none;
    font-style: italic;
    font-weight: bold;
    font-size: 1.8em;
    text-shadow: 0 0 4px #fff, 0 0 1px #003A73;
    display: block;
    margin: 0 200px;
}

#certificate a:after {
    content: url(graphics/cert-arrow.png);
    padding-left: .25em;
    vertical-align: -20%;
}

#certificate img {
    position: absolute;
    left: 60px;
    top: -70px;
}

/** Footer **/
#footer {
    background: #126298;
    padding-top: 2em;
    padding-bottom: 4em;
}

#footer h2 {
    text-shadow: 0 0 2px #003A73, 0 0 4px #003A73;
}

#tweets {
    margin-bottom: 6em;
}

#tweets li {
    width: 500px;
    display: inline-block;
    vertical-align: top;
    margin: 1px .5em;
}

#legal li {
    display: inline;
    font-size: 12px;
}

#legal li:not(:first-child):before {
    content: " | ";
}

#legal li:last-child:before {
    content: none;
}

#legal a {
    color: inherit;
}

/** Speakers **/
#speakers {
    padding: 2em 0;
}
#speakers h2 {
    color: #369;
    text-shadow: 0 0 1px #fff, 0 0 2px #003A73;
}

#speakers ul {
    width: 900px;
    margin: 0 auto;
}

#speakers li {
    display: inline-block;
    width: 30%;
    position: relative;
    background-image: url(graphics/stem.png);
    background-repeat: no-repeat;
    background-position: 50% 30%;
    padding-top: 24px;
    margin-bottom: 2em;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    transition: all 1s;
}

#speakers li:hover {
    background-position: 65% -3%;
}


#speakers li img {
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    padding: 2px;
    -webkit-transition: all 1.3s;
    -moz-transition: all 1.3s;
    transition: all 1.3s;
}

#speakers li:hover img {
    background-color: red;
}

#speakers .speaker {
    color: #0b3e71;
    font-style: italic;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

#speakers .bubble {
    display: none;
}

#speakers li:hover .bubble {
    display: block;
    position: absolute;
    padding: 1em;
    font-size: 14px;
    z-index: 100;
    background: #003A73;
    line-height: 1.4em;
    border-radius: 4px;
}
