/* =========================
        openvisconf.com
========================== */

html {
  box-sizing: border-box;
}

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

body {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  color: #555A6E;
  background: #FFF;
  margin: 0;
  letter-spacing: .01em;
  background: #f4f4f4;
}

img {
  vertical-align: middle;
  max-width: 100%;
}

ul {
  list-style: none;
  padding: 0;
}

p {
  font-family: 'PT Sans', sans-serif;
  line-height: 1.5em;
  text-align: left;
}

h1, h2, h3 {
  text-transform: uppercase;
}

h1 {
  letter-spacing: .15em;
  font-size: 1.8em;
  margin: 0;
  text-shadow: -4px 3px 0 rgba(0,0,0,.15);
}

h2 {
    letter-spacing: 3px;
}

a {
  color: #3ab18b;
  text-decoration: none;
}

a, input[type="submit"], .tito-submit, button.expand, #notification {
  transition: all 0.2s ease;
}

a:hover, a.button:hover, .button:hover input[type="submit"], .white-text a:hover {
  color: #F8555B;
}

.active a {
  color: #4deebb;
  border-top: 5px solid #4deebb;
}

textarea {
  resize: vertical;
}

::selection {
  background: rgba(53, 55, 62, 0.9);
  color: #fff;
}

.background-img {
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.overlay {
  background:transparent;
  position:relative;
  width:100%;
  height:550px; /* iframe height */
  top:550px;  /* iframe height */
  margin-top:-550px;  /* iframe height */
}

.block {
  max-width: 980px;
  margin: auto;
  text-align: center;
  padding: 2em 1em;
}

.block, header, section {
  overflow: auto;
}

.button {
  position: relative;
  font-size: 1.2em;
  text-transform: uppercase;
  line-height: 45px;
  margin: .5em 1.5em;
  display: inline-block;
  width: 70%;
}


.button:before, .button:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 45px;
  border-top: 2px solid rgba(182, 180, 180,.5);
  border-bottom: 2px solid rgba(182, 180, 180,.5);
}

.button:before {
  border-left: 2px solid rgba(182, 180, 180,.5);
  left: -25px;
}

.button:after {
  border-right: 2px solid rgba(182, 180, 180,.5);
  right: -25px;
  top: 0;
}

.small {
  font-size: .8em;
}

.white-text {
  color: white;
}

.white-text a {
  color: #4deebb;
}

.white-text .title span.title-span {
  background: #3A3C43;
}

.strike {
  position: relative;
}

.strike:after, .strike:before {
  content: '';
  position: absolute;
  height: 1px;
  width: 109%;
  background: #ff4b5c;
  left: -2px;
  top: .6em;
}

.strike:after {
  transform:rotate(14deg);
  -ms-transform:rotate(14deg); /* IE 9 */
  -webkit-transform:rotate(14deg); /* Opera, Chrome, and Safari */
}

.strike:before {
  transform:rotate(-14deg);
  -ms-transform:rotate(-14deg); /* IE 9 */
  -webkit-transform:rotate(-14deg); /* Opera, Chrome, and Safari */
}

.title {
  position: relative;
  background: url("../img/slash-pattern.svg") repeat-x 0;
}

.title span.title-span {
  background-image: url(../img/white-bg.gif);
  padding: 0 .3em;
}

.cookie_box_close {
  position: relative;
}

a:hover #notification {
  color: white;
  opacity: 0;
}

#notification {
  display: none;
  background: #F8555B;
  position: absolute;
  height: 25px;
  width: 25px;
  line-height: 25px;
  top: 1.4em;
  right: -1em;
  padding-left: 2px;
  border-radius: 2px;
  text-shadow: 0px 1px 0px #BD484C;
}

#notification:before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 7px solid #F8555B;
  left: -6px;
  top: 5px;
}

.party-sponsor {
  margin: -6px 0 0 7px;
}

.mcgraw {
  color: #F8555B;
}

.party {
  text-align: left;
}

.party .speaker-name:hover {
  color: white;
  cursor: inherit;
}

/* =======================
            NAV
======================= */

nav {
  background: #35373e;
  text-transform: uppercase;
}

nav .block {
  padding: 0;
  overflow: hidden;
}

/* Dropdown menu */

nav ul {
  display: none;
  line-height: 1.5em;
  margin: 0;
  font-size: .8em;
  font-weight: 600;
}

nav ul li, nav label {
  border-bottom: 1px solid #464952;
  margin: 0 -3px;
}

nav a {
  color: white;
  letter-spacing: 4px;
  display: block;
  padding: 16px 2em;
}

nav label {
  cursor: pointer;
  -webkit-user-select: none;
  display: block;
  min-height: 3.5em;
}

nav label:after {
  background-image: url("../img/menu-more.png");
  content: '';
  position: absolute;
  right: .5em;
  top: .5em;
  font-size: 1.8em;
  width: 23px;
  height: 19px;
}

nav input[type=checkbox] {
  position: absolute;
  top: -9999px;
  left: -9999px;
}

nav input[type=checkbox]:checked ~ ul {
  display:block;
}

.f-nav {
  position: fixed;
  width: 100%;
  z-index: 2;
  top: 0;
}

.margin-top {
  margin-top: 3.2em;
}


/* =======================
         HOME
======================= */

header {
  background-image: url(../img/header-bg.jpg);
}

#home .block {
  padding: 1em;
}

#home .logo {
  margin-bottom: 1em;
}

#home .logo .graphic {
  width: 25%;
  margin: auto;
}

#home .logo, #home .when-where {
  font-weight: 100;
}

#home .logo .name {
  font-size: 2em;
  letter-spacing: .15em;
  font-weight: 600;
}

#home .logo .conf {
  font-size: 1em;
  letter-spacing: .39em;
  position: relative;
}

#home .when-where {
  font-size: 1.5em;
  text-transform: uppercase;
}

#home .when-where-wrapper {
  display: inline-block;
  border-top: 2px solid rgba(245,245,245,.5);
  border-bottom: 2px solid rgba(245,245,245,.5);
  margin-bottom: .5em;
}

#home .when-where .date {
  display: inline-block;
  padding: .5em 1em .5em 0;
}

/* =======================
          ABOUT
======================= */

.social {
  margin-top: 4em;
}

.about-images {
  overflow: hidden;
  position: relative;
  height: 200px;
}

.about-images-wrapper {
  position: absolute;
}

.about-images .img {
  float: left;
}

.about-images .two, .three, .four {
  display: none;
}


/* =========================
          Speakers
========================== */

#speakers {
  background-color: #3a3c43;
}

#speakers .keynote .speaker-talk, #speakers .not.speaker .speaker-name {
  cursor: inherit;
}

#speakers .not.speaker:hover .speaker-name {
  color: white;
}

#speakers .title span, #speakers .title {
  background: none;
}

#speakers .speaker {
  overflow: auto;
  position: relative;
  margin-bottom: 1.5em;
  font-size: 1.2em;
}

.speaker-name {
  color: white;
  font-weight: 100;
  cursor: pointer;
}

.speaker-talk {
  color: #4deebb;
  font-weight: 100;
  margin: 0 0 .5em 0;
  cursor: pointer;
}

.speaker-talk:hover, .speaker.expanded_talk .speaker-talk, .speaker-name:hover, .expanded_bio .speaker-name{
  color: #F8555B;
}

.speaker_bio, .talk_abstract {
  display: none;
  clear: both;
}

.speaker.expanded_bio .speaker_bio, .speaker.expanded_talk .talk_abstract {
  display: block;
}

#speakers .button {
  font-size: 1em;
  letter-spacing: 0;
}

#speakers .button:before, #speakers .button:after {
  width: 8px;
  height: 35px;
  top: 5px;
}

.speaker-entity h3 {
  text-align: left;
  margin: 0;
}

.day-title {
  padding: 1em 0;
  text-align: center;
  font-size: 1.5em;
}

.day-title {
  margin-top: 2em;
}

.speaker-entity img.speaker-pic, .party img.cyclorama {
  display: none;
}

.time {
  text-align: left;
  opacity: .4;
}

/* =========================
          Tickets
========================== */

.ticket {
  background: #3a3c43;
  padding: 1em;
  margin-top: 2em;
  overflow: auto;
  position: relative;
  background:
    linear-gradient(135deg, transparent 20px, #3a3c43 0) top left,
    linear-gradient(225deg, transparent 20px, #3a3c43 0) top right,
    linear-gradient(315deg, transparent 20px, #3a3c43 0) bottom right,
    linear-gradient(45deg, transparent 20px, #3a3c43 0) bottom left;
  background-size: 51% 51%;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(circle at 0 0, rgba(204,0,0,0) 30px, #3a3c43 30px),
    radial-gradient(circle at 100% 0, rgba(204,0,0,0) 30px, #3a3c43 30px),
    radial-gradient(circle at 100% 100%, rgba(204,0,0,0) 30px, #3a3c43 30px),
    radial-gradient(circle at 0 100%, rgba(204,0,0,0) 30px, #3a3c43 30px);
}

.ticket .graphic {
  width: 25%;
  margin: auto;
}

.ticket .logo .conf {
  margin-left: 9px;
  letter-spacing: 4px;
}

.ticket .logo .name {
  font-size: 1.8em;
  font-weight: 600;
  letter-spacing: 3px;
  line-height: 1;
}

.ticket .presented-by {
  margin-top: .5em;
}

/* TITO Form  */

.tito-submit-wrapper {
  padding: 1.5em 0 .5em;
}

.ticket .header {
  border-bottom: 2px dashed rgba(182, 180, 180,.5);
  padding-bottom: 1em;
}

.tito-submit {
  background: #4deebb;
  padding: .5em 1em;
  border: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #3A3C43;
  font-weight: 600;
  font-size: 1.2em;
  border-radius: 5px;
}

.tito-badge-link {
  font-size: 0.8em;
  opacity: .2;
}

.tito-ticket-quantity-field {
  width: 2em;
  text-align: center;
}

.tito-ticket em {
  font-style: normal;
}

.tito-ticket-upcoming-explanation, .tito-ticket-upcoming-separator {
  display: none;
}

/* These next two rules can be removed once early bird tickets go on sale */
.tito-ticket-status-upcoming:first-child .tito-ticket-upcoming-price:after {
  content: " - On sale: Mar 16, 2015 at 12pm ET";
}

.tito-ticket-list {
  margin: 0;
}

li.tito-ticket.row {
  clear: both;
  border-bottom: 2px dashed rgba(182, 180, 180,.5);
  padding: 1em 0;
}

.tito-ticket-price-quantity, .tito-ticket-price-quantity-wrapper {
  text-align: right;
}

.tito-ticket-price, .tito-ticket-quantity {
  display: inline-block;
}

.tito-ticket-quantity input {
  width: 2em;
  border: none;
  color: black;
}

.tito-ticket-name-wrapper {
  float: left;
}

.tito-ticket-status-upcoming .tito-ticket-name-wrapper, .tito-ticket-status-upcoming .tito-ticket-price-quantity-wrapper {
  opacity: .3;
}

.ticket-details .select_ticket {
  float: right;
}

.ticket .when, .ticket .where {
  display: inline-block;
  margin: .5em .5em 0 0;
}

.tito-ticket-name-wrapper .tito-tickets-remaining {
  font-size: 10px;
  float: right;
  margin-top: 1em;
  background: rgba(245, 245, 245, .5);
  padding: 2px 5px;
  position: relative;
  top: -4px;
  margin-left: 10px;
}

/* =========================
            VENUE
========================== */

#venue {
  background: #3a3c43;
}

#venue .header {
  background-image: url(../img/venue.jpg);
}

#venue a:hover {
  background: rgba(53, 55, 62, 0.9);
  color: #fff;
  padding: 0 .5em;
}

#venue a.button:hover:before, #venue a.button:hover:after {
  border: none;
}

/* =========================
          Who we are
========================== */

#about-bocoup h2 {
  margin-top: 2em;
}

/* =========================
            HOTELS
========================== */

#hotels {
  background: #3a3c43;
}

#hotels h1 {
  margin-bottom: 1em;
}

#hotels h2 {
  margin-bottom: 0;
  font-size: 1em;
}

#hotels p {
  margin: .2em 0;
}

#hotels .hotels-list {
  text-align: center
}

#hotels li {
  margin-bottom: 2em;
  text-align: left;
}

/* =========================
      Getting Around
========================== */

#directions h2, #directions p {
  margin-bottom: 1.5em;
}

#directions .bold {
    color: #4deebb;
}

.lyft {
  float: left;
  margin: 0 1em 1em 0;
}


/* =========================
          SPONSORS
========================== */

.sponsor-logos {
  margin: 1em 0;
}

.sponsor-logos img {
  padding: 2em;
}


/* ========================
        COC
=========================== */

#code-of-conduct {
  background-color: #3a3c43;
}

/* =========================
          FOOTER
========================== */

footer {
  background: #3a3c43;
}

footer input {
  letter-spacing: 3px;
}

footer input[type="email"] {
  border: none;
  padding: .5em;
  width: 17em;
  text-align: center;
  color: black;
}

footer input[type="submit"] {
  background: none;
  border: none;
  text-transform: uppercase;
  color: #4deebb;
}

.newsletter {
  margin-bottom: 3em;
}

.mini-footer {
  background: #3ab18b;
  color: #383838;
}

.mini-footer .block {
  padding: 0 2em;
}

.mini-footer .presented-by {
  font-size: 1.2em;
}

.mini-footer  img {
  max-width: 180px;
  margin-bottom: 0.5em;
  margin-left: .5em;
}

.mini-footer p, footer p {
  text-align: center;
}

/* =========================
            News
========================== */

.news h4.post-date {
  line-height: 1;
  margin: .5em 0 2em;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 4px;
  color: #979DB1;
}

.news h3 {
  text-align: left;
}

.news .button {
  text-align: center;
}

.news h5 {
  text-align: left;
  font-style: italic;
}

.news ol {
  text-align: left;
  font-family: 'PT Sans', sans-serif;
}

.news ul.bulleted-list {
  text-align: left;
  font-family: 'PT Sans', sans-serif;
  list-style: circle inside none;
}

.news ul.bulleted-list li {
  margin-top: 0.8em;
}

.news .post-link {
  color: #555A6E;
}
.news .post-link:hover {
  color: #F8555B;
}

.latest-news h2 {
  margin-top: 2.5em;
}

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



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

  .button {
    letter-spacing: 3px;
    margin: .5em 1.5em;
  }

  #home .when-where {
    letter-spacing: .2em;
  }

  #home .when-where .date {
    margin-right: 1em;
    border-right: 2px solid rgba(245,245,245,.5);
  }

  #hotels li {
    width: 50%;
    display: inline-block;
    margin-right: -3px;
    vertical-align: top;
    padding: 0 .5em;
  }

}


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

  .block {
    padding: 2em;
  }

  .frame {
    margin: 1em;
    border: 2px solid rgba(245, 245, 245, .5);
  }

  h1 {
    font-size: 2.25em;
  }

  #home .logo .name {
    font-size: 2.2em;
  }

  #home .logo .conf {
    font-size: 1.1em;
  }

  #home .logo .conf:before, #home .logo .conf:after {
    background-repeat: no-repeat;
    padding: 2px;
    font-family: Arial;
    letter-spacing: 0;
    width: 60px;
    display: inline-block;
    height: 54px;
    line-height: 54px;
  }

  #home .logo .conf:before {
    background-image: url("../img/ribbon-left.svg");
    content: "20";
    background-position-x: left;
    text-align: right;
    margin-right: 18px;
  }

  #home .logo .conf:after {
    background-image: url("../img/ribbon.svg");
    content: "15";
    background-position-x: right;
    text-align: left;
    margin-left: 18px;
  }

  #home .when-where-wrapper {
    margin: 1em 0;
    position: relative;
  }

  #home .when-where-wrapper:before {
    content: "";
    position: absolute;
    height: 2px;
    width: 100%;
    top: -28px;
    left: 0;
    background: rgba(245,245,245,.5);
  }

  #home .when-where-wrapper:after {
    content: "";
    position: absolute;
    height: 11px;
    width: 100%;
    top: -20px;
    left: 0;
    background-image: url("../img/slash-pattern.svg");
  }

  .ticket .frame {
    padding: 1em;
    overflow: auto;
  }

}


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

  .button {
    width: initial;
  }

}

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

  .about-images .img {
    width: 50%
  }

  .about-images .img.two {
    display: block;
  }

}

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

  .day-title {
    border-bottom: 10px solid #54575F;
  }

  .time {
    width: 30%;
    text-align: right;
    float: left;
    padding: 1.25em 2em 1.25em 0;
    color: #B4B4B4;
    margin-top: 62px;
    opacity: 1;
  }

  .speaker-entity {
    width: 70%;
    float: right;
    border-left: .5em solid #54575F;
    padding: 1.25em 1.25em 0 2em;
    position: relative;
  }

  .speaker-entity:before {
    content: '';
    position: absolute;
    width: 1.5em;
    height: 1.5em;
    background: #3A3C43;
    left: -1.0em;
    border-radius: 50px;
    border: 5px solid #54575F;
    top: 86px;
  }

  .speaker-entity img.speaker-pic {
    display: block;
    float: left;
    width: 160px;
    margin: 0 1em 1em 0;
  }

  .party img.cyclorama {
    display: block;
  }

  .not.speaker .speaker-entity {
    padding-bottom: 1.25em;
  }

  .not.speaker .speaker-entity:before {
    top: inherit;
  }

  .not.speaker .time {
    margin-top: 0;
  }

  #speakers .speaker {
    margin-bottom: 0;
    font-size: 1em;
  }

  .speaker-entity h3 {
    margin: 0 0 .5em;
  }

}

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

  body {
    font-size: 20px;
    background-image: url(../img/white-bg.gif);
  }

  .block, #home .block {
    padding: 3em 2em;
  }

  .button {
    font-size: 1.1em;
  }

  #home .logo .name {
    font-size: 3em;
  }

  #home .logo .conf {
    font-size: 1.5em;
  }

  .social .subtitle {
    margin-bottom: 2em;
  }

}

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

  nav label {
    display: none;
  }

  nav ul {
    display: block;
    line-height: 2.5em;
  }

  nav ul li {
    display: inline-block;
    vertical-align: top;
    border: none;
  }

  nav a {
    border-top: 5px solid #35373e;
    padding: 1em 1em 1.2em;
  }

  nav a:hover,  #header a.button:hover {
    color: #4deebb;
    border-top: 5px solid #4deebb;
  }

  .ticket {
    margin-top: 3em;
  }

  .margin-top {
    margin-top: 3.8em;
  }

}

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

  .ticket:after, .ticket:before {
    content: "";
    position: absolute;
    background: #3a3c43;
    top: 0px;
    margin: 20px 0;
    bottom: 0px;
  }

  .ticket:after {
    border-right: 5px dashed;
    right: 0;
  }

  .ticket:before {
    border-left: 5px dashed;
    left: 0;
  }

  .ticket .header {
    overflow: auto;
    padding: 0 0 1.5em 1em;
  }

  .ticket .logo {
    float: left;
    width: 300px;
  }

  .ticket .logo .graphic, .ticket .logo .name, .ticket .logo .conf {
    float: left;
  }

  .ticket .logo img {
    width: 100px;
  }

  .ticket .logo .name {
    margin: 0 0 0 9px;
  }

  .ticket .when, .ticket .where {
    display: block;
    margin-top: 0;
  }

  .ticket .when-where {
    float: right;
    font-size: 1.3em;
  }

  .ticket .when {
    letter-spacing: 5px;
    font-weight: 100;
  }

  .ticket .where {
    font-weight: 600;
    letter-spacing: 6px;
  }

  .tito-submit-wrapper {
    float: right
  }

  .tito-submit:hover {
    background: #F8555B;
    color: white;
  }

  .tito-ticket-name-wrapper  {
    font-size: 1.2em;
    letter-spacing: 2px;
  }

  li.tito-ticket.row {
    padding: 1em;
  }

  .tito-ticket-price {
    font-size: 1.5em;
  }

  .tito-ticket-quantity input {
    width: 3em;
    padding: .3em;
    font-size: 1.3em;
  }

  .tito-badge-link {
    margin: 2.5em 0 0 1.5em;
    float: left;
  }

  .about-images {
    height: 250px;
  }

  .ticket .presented-by {
    display: none;
  }

  #hotels li {
    width: 33%;
  }

}

/** Committee members **/
.committee_members {
  width: 100%;
  display: inline-block;
  font-size: 0.7em;
}

.committee_members div {
  display: inline-block;
  float: left;
  width: 16.6%;
  text-align: center;
  margin-bottom: 10px;
}

.committee_members div img {
  margin-bottom: 10px;
}

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

  .block {
    padding: 4em 2em;
  }

  .ticket {
    margin-top: 4em;
  }

   nav a {
    padding: 1em 1.5em 1.2em;
  }

  #speakers .speaker {
    width: 100%;
  }

}

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

  .about-images .img {
    width: 33.333%
  }

  .about-images .img.three {
    display: block;
  }

}

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

  .about-images-wrapper {
    width: 2504px;
  }

  .about-images {
    height: 412px;
  }

  .about-images .img {
    width: 25%
  }

  .about-images .img.four {
    display: block;
  }
}
