/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: rgba(0, 0, 0, 0.99);
    text-shadow: none;
    color: white;
}

::selection {
    opacity: 100%;
    background: rgba(0, 0, 0, 0.99);
    text-shadow: none;
    color:white;
}


/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

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

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

html, body {
    margin: 0;
    padding: 0;
    color: black;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: StanhopeRR-Medium;
    font-weight: normal;
    font-style: normal;
}

em {
    font-family: StanhopeRR-MediumItalic;
    font-weight: normal;
    font-style: normal;
}

a {
    outline: none !important;
    color: black;
    text-decoration: none;
  
}

h1 a, nav a {
  display: inline-block;
    line-height: 32px;
        white-space:nowrap;

}

h1 a:hover, nav a:hover {
border-bottom: 3px solid black;
}

.item-link:hover {
    text-decoration: none;
}

.item-link:hover .underliner {
/*    text-decoration: underline;*/
    box-shadow: inset 0 -1px 0 black;
}

.nowrap {
    white-space: nowrap;
}

.nowrap:last-child .comma {
    display: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    font-style: normal;
    margin: 0;
}

h1, nav {
    font-size: 51px;
    line-height: 48px;
    letter-spacing: -1px;
}

h1 {
    margin: 30px 54px 0 30px;
}

nav {
    margin: 0 54px 24px 30px;
}

h2, h5 {
    font-size: 26px;
    line-height: 26px;
}

h5 {
    margin-bottom:26px;
    padding-left: 26px;
}

h6, h6 p {
    font-size: 13px;
    line-height: 15px;
}


h3 {
    margin-top: 3px;
    font-size: 18px;
    line-height: 21px;
}

h4 {
    font-size: 18px;
    line-height: 21px;
    margin-bottom: 21px;
}

p a, h3 a {
    text-decoration: none;
    box-shadow: inset 0 -1px 0 black;
}

p a:hover, h3 a:hover {
    text-decoration: none;
    box-shadow: none;
}



.active {
    /*text-decoration: underline;*/
    border-bottom: 3px solid black;
    
}

p {
    font-size: 18px;
    line-height: 21px;
    margin: 0;
    margin-bottom: 21px;
    -webkit-hyphens: auto;
      -moz-hyphens: auto;
      -ms-hyphens: auto;
      hyphens: auto;
}


.content {
    font-size: 0;
    margin: 0 42px 42px 18px;
}

.column {
    width: 33.333%;
    display: inline-block;
    vertical-align: top;
    padding: 0 12px;
}

.column-2up {
    width: 50%;
    display: inline-block;
    vertical-align: top;
    padding: 0 12px;
}

.column-double {
    width: 66.666%;
    display: inline-block;
    vertical-align: top;
    padding: 0 12px;
}

.lefty {
    float: left;
}

.righty {
    float: left;
}

.past-talks {
    width: 66.666%;
    display: inline-block;
    vertical-align: top;
    padding:0;
}

.past-header {
    padding: 0 38px;
}

.item {
    margin-bottom: 36px;
}

.img-wrap {
    text-align: center;
    margin: 0 24px 12px 24px;
}

.img-wrap img {
    max-width: 100%;
    max-height: 300px;
}

.slide-outer {
    text-align: center;
}

.slide-outer img {
    max-width: 100%;
    max-height: 480px;
}

.stamp {
    position: fixed;
}


.close {
    background:url('../img/btn_close_hard.png') no-repeat center center;
    background-size: 30px 30px;
    width: 30px;
    height: 30px;
    position: fixed;
    cursor: pointer;
    top:50%;
    margin-top: -15px;
    right: 15px;
    z-index: 1000;
    display: none;
}

.up {
    background:url('../img/up.png') no-repeat center center;
    background-size: 30px 35px;
    width: 30px;
    height: 35px;
    position: fixed;
    cursor: pointer;
    top:15px;
    right: 15px;
    z-index: 1000;
    display: none;
}

.slideshow-wrap {
    margin-bottom: 12px;
    position: relative;
}

.inside-left {
    width: 50%;
    padding-right: 12px;
    display: inline-block;
    vertical-align: top;
}

.inside-right {
    width: 50%;
    padding-left: 12px;
    display: inline-block;
    vertical-align: top;
}

button {
        width: 50%;
    height: 100%;
    position: absolute;
        cursor: pointer;
    line-height: 0;
font-size: 0;
cursor: pointer;
color: transparent;
border: none;
outline: none;
background: none;

}

.slide-next {

    top:0;
    right:0;

}

.slide-prev {
    top:0;
    left:0;

    
}


form {
    display: inline !important;
    border-spacing: 0px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background-color: transparent;
    line-height: 48px;
    font-size: 51px;
    outline: none !important;

}


input[type="text"] {
    border-spacing: 0px !important;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    background-color: transparent;

    outline: none !important;
    color: black;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;

    font-family: StanhopeRR-Medium;

    font-size: 51px;
    line-height: 48px;
    letter-spacing: -1px;
    font-weight: normal;
    font-style: normal;
    display: inline !important;
    width: 151px;
    margin-top: -5px;
    margin-bottom: -5px;
}



input[type="text"]::-webkit-input-placeholder {
    color: black;
    line-height: normal;

}

input[type="text"]:hover::-webkit-input-placeholder {
            line-height: normal;
        background-image: url(../img/underline.png);
        background-repeat: repeat-x;
        background-position: 0 45px;

}

input[type="text"]:hover  {
        background-image: url(../img/underline.png);
        background-repeat: repeat-x;
        background-position: 0 45px;
                color: rgba(0,0,0,.99);

}

.ff input[type="text"]:hover  {
        background-position: 0 42px;

}

input[type="text"]:focus::-webkit-input-placeholder {
    color: white;
        background-image: url(../img/underline.png);
        background-repeat: repeat-x;
        background-position: 0 45px;    text-decoration-color: black;
}

input[type="text"]:focus {
        background-image: url(../img/underline.png);
        background-repeat: repeat-x;
        background-position: 0 45px;

}

.ff input[type="text"]:focus {
        background-position: 0 42px;

}

:-moz-placeholder { /* Firefox 18- */
   color: black;  
   opacity: 1;
}

::-moz-placeholder {  /* Firefox 19+ */
   color: black; 
      opacity: 1;
 
}

:-ms-input-placeholder {  
   color: black;  
      opacity: 1;

}


input[type="text"]::-moz-input-placeholder {
    color: black;
            display: inline-block !important;

}

input[type="text"]:focus::-moz-input-placeholder {
    color: white;
        background-image: url(../img/underline.png);
        background-repeat: repeat-x;
        background-position: 0 42px;    -moz-text-decoration-color: black;
            display: inline-block !important;

}

input[type="text"]:focus:moz-placeholder {
    color: white;
        background-image: url(../img/underline.png);
        background-repeat: repeat-x;
        background-position: 0 42px;    -moz-text-decoration-color: black;
            display: inline-block !important;

}
input[type="text"]:focus::-moz-placeholder {
    color: white;
        background-image: url(../img/underline.png);
        background-repeat: repeat-x;
        background-position: 0 42px;    -moz-text-decoration-color: black;
            display: inline-block !important;

}




.slick-prev, .slick-next {
    display: none;
}
.slide-next:hover {
        background:url('../img/arr_right.png') no-repeat right 6px center;
    background-size: 20px 30px;
}
.slide-prev:hover {
        background:url('../img/arr_left.png') no-repeat 6px center;
    background-size: 20px 30px;
}





.slick-slide img {
 display: inline-block; 
}

.appended {
    display: none;
}



.debug {
    position: fixed;
    bottom: 0;
    right:0;
    padding: 20px;
    font-size: 20px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    padding: 20px;
    background-color: yellow; 
    display: none;
}

.jump {
    width:13px;
    height: 13px;
    position: relative;
    top:-1px;
    left:-2px;
}

.audiobtn {
    width:14px;
    height: 19px;
    position: relative;
    top:-4px;
    left:-2px;
    cursor:pointer;
}

.videobtn {
    width:15px;
    height: 18px;
    position: relative;
    top:-2px;
    left:-2px;
    cursor:pointer;
}

.bps {
    display: none;
}

@media only screen and (max-width: 668px) {


    .column, .column-double, .column-2up, .past-talks {
        width: 100%;
    }



    .bph {
        display: none;
    }
    .bps {
        display: block;
    }
    .content {
        margin: 0 30px 6px 6px;
    }
    h1 {
        margin: 18px 42px 0 18px;
    }
    nav {
        margin: 0 42px 24px 18px;
    }
    
    h1, nav {
        font-size: 36px;
        line-height: 35px;
    }

form {
  font-size: 36px;
        line-height: 35px;
}


input[type="text"] {
  font-size: 36px;
        line-height: 35px;
    width: 105px;
}


    .close {
        right: 10px;

        -ms-transform: scale(.8); /* IE 9 */
    -webkit-transform: scale(.8); /* Chrome, Safari, Opera */
            transform: scale(.8);

    }
    .up {
        right: 10px;
        top:10px;
        -ms-transform: scale(.8); /* IE 9 */
    -webkit-transform: scale(.8); /* Chrome, Safari, Opera */
            transform: scale(.8);
    }
    .inside-left, .inside-right {
        width: 100%;
        padding: 0;
    }

    .slide-next {
        background:url('../img/arr_right.png') no-repeat right 6px center;
    background-size: 20px 30px;
}
.slide-prev {
        background:url('../img/arr_left.png') no-repeat 6px center;
    background-size: 20px 30px;
}

h1 a, nav a {
line-height: 24px;
}


}


@media only screen and (min-width: 1200px) {
   .runningtext {
    -webkit-column-count: 2; 
    -moz-column-count: 2; 
    column-count: 2;
    -webkit-column-gap: 24px; 
    -moz-column-gap: 24px; 
    column-gap: 24px;
   }

   .smalltext {
    -webkit-column-count: 1; 
    -moz-column-count: 1; 
    column-count: 1;
    width: 50%;
    padding-right:12px;
   }
}


.webcam {
    position: fixed;
    top:50%;
    left:50%;
    overflow: hidden;
}

video {
        width:100%;
    height:220px;
    background-color: black;
    margin: 3px 0;
}


#audioplayer{
    width: 100%;
    height: 16px;
    position: relative;

}

#timeline{
    width: 100%;
    height: 2px;
    background: black;
    position: absolute;
    top:7px;
}
#playhead{
    width: 16px;
    height: 16px;
    position: absolute;
    top:-7px;
    cursor: pointer;
}

#marker {
  width: 2px;
  height: 16px;
  background: black;
  margin-left:7px;
}

.countdown {
    text-align: right;
}

.audiozone {
    display: none;
}

.searcher {
    white-space:nowrap;
}



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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

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

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    /*
     * 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;
    }
}
