/* ==========================================================================
   RESET
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
  text-decoration: none;
}

img,
input,
label {
  vertical-align: middle;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  line-height: 1em;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}
[hidden] {
  display: none;
}
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
html,
button,
input,
textarea {
  font-family: sans-serif;
}
body {
  margin: 0;
}
a:focus {
  outline: thin dotted;
}
a:hover,
a:active {
  outline: 0;
}
abbr[title] {
  border-bottom: 1px dotted;
}
b,
strong {
  font-weight: bold;
}
blockquote {
  margin: 1em 40px;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
small {
  font-size: 85%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
dd {
  margin: 0 0 0 40px;
}
nav ul,
nav ol {
  list-style: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
}
img {
  border: 0;
  -ms-interpolation-mode: bicubic;
  vertical-align: middle;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 0;
}

button,
input,
textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}

button,
input {
  line-height: normal;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
  *overflow: visible;
}
button[disabled],
input[disabled] {
  cursor: default;
}
input[type="checkbox"],
input[type="radio"] {
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  *width: 13px;
  *height: 13px;
}
input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -ms-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}
input:invalid,
textarea:invalid {
  background-color: #f0dddd;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
td {
  vertical-align: middle;
}
.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: black;
  padding: 0.2em 0;
}
header:after,
footer:after,
section:after,
hgroup:after,
aside:after,
figure:after,
div:after,
ol:after,
li:after,
form:after,
ul:after,
dl:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}
hr {
  display: none;
}
.clear {
  clear: both;
}

/* ==========================================================================
   MAIN LAYOUT
   ========================================================================== */
.wrapper {
  margin: 35px auto;
  width: 960px;
  position: relative;
}
.content {
  padding: 5px 5px;
}
.content section {
  padding-top: 10px;
}

/* ==========================================================================
   BASIC STYLES
   ========================================================================== */
h2,
h3,
h4 {
  font-size: 3em;
  font-weight: normal;
  margin-bottom: .8em;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 4em;
}
h4 {
  font-size: 3em;
}
p {
  font-size: 1.6em;
  line-height: 1.6em;
  margin-bottom: 1.4em;
}
.photo {
  max-width: 100%;
  position: relative;
  top: -1px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
nav {
  padding: 1px 0;
  position: relative;
  width: 100%;
  z-index: 10;
}
.nav-item {
  float: right;
  display: inline-block;
  margin-right: 15px;
}
.nav-link {
  font-size: 1.4em;
}
.home {
  float: left;
  color: #e7e7e7;
  font-family: cursive;
  font-size: 4.5em;
  font-weight: bolder;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  padding: 200px 0 80px;
  text-align: center;
}
.logo-name {
  margin-bottom: 0;
  font-size: 10em;
  letter-spacing: -0.04em;
}
.tagline {
  margin-bottom: 50px;
  font-size: 2em;
  letter-spacing: -0.02em;
}
.call-action-area .call-action-link,
.btn {
  position: relative;
  top: -5px;
  cursor: pointer;
  display: inline-block;
  padding: 15px 30px;
  font-size: 2em;
  line-height: 1em;
  vertical-align: center;
  letter-spacing: -0.02em;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.call-action-area .call-action-link:hover,
.call-action-area .call-action-link:focus,
.btn:hover,
.btn:focus {
  top: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 10px 0 10px;
  text-align: center;
  font-size: 8px;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  padding: 10px 10px 10px 10px;
  margin: 0;
}

/* ==========================================================================
   MEMBER
   ========================================================================== */
.members-item {
  position: relative;
  min-height: 120px;
  padding-left: 180px;
  margin-bottom: 5px;
  border-bottom: 1px dashed #e7e7e7;
}
.member-photo {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100px;
  height: 100px;
}
.members-name {
  font-size: 1.6em;
}
.members-item p {
  font-size: 1.4em;
}

/* ==========================================================================
   EVENTS
   ========================================================================== */
.events-tbl {
  padding: 20px;
}
.events-tbl table {
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 1em;
}
.events-tbl td,
.events-tbl th {
  position: relative;
  padding: 20px 30px;
  font-size: 4em;
  line-height: 8em;
  text-align: left;
}
.events-tbl th {
  padding: 5px 30px;
  color: #2b2b2b;
  font-size: 2em;
  font-weight: bolder;
}

.event-date,
.event-venue {
  valign: top;
  width: 165px;
  line-height: 30px;
  font-size: 18px;
  font-weight: bolder;
  color: #000000;
}

.event-name {
  valign: top;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  font-family: cursive;
  font-weight: bolder;
  color: #000000;
}

.event-description {
  valign: top;
  line-height: 20px;
  font-size: 14px;
  font-style: italic;
  color: #000000;
}

/* ==========================================================================
   SPONSORS
   ========================================================================== */
.sponsor-item,
.partner-item {
  display: inline-block;
  margin: 0 30px 30px 0;
}
.sponsor-link,
.partner-link {
  display: block;
  width: 150px;
  height: 150px;
  text-align: center;
  vertical-align: middle;
  line-height: 150px;
}

/* ==========================================================================
   TRACKS
   ========================================================================== */
.track-item {
  display: inline-block;
  margin: 0 10px 10px 0;
}
.track-link {
  font-size: 16px;
  display: block;
  width: 600px;
  height: 50px;
  text-align: left;
  vertical-align: middle;
  line-height: 50px;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

form {
  margin: 0 auto 30px;
  padding: 0 10px;
}
form input, form textarea {
  border: 2px solid #e7e7e7;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 16px; 
}
form input:focus, form textarea:focus {
  outline: none;
  border-color: #e7e7e7;
}
form textarea {
  height: 14em;
  resize: none;
}
form .submit-wrap {
  text-align: left;
}
form [type="submit"] {
  background: #2302be;
  color: white;
  font-size: 18px;
  text-transform: uppercase;
  width: 25%;
}
form [type="submit"]:hover {
  background: #e1c285;
}
form .contact-info-group label {
  width: 50%;
  float: left;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
form .contact-message-group label {
  width: 100%;
  float: left;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
form .contact-info-group label:nth-child(1) {
  padding-right: 20px;
}
form .contact-info-group label:nth-child(2) {
  padding-left: 20px;
}
form label {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
}
form label span {
  display: block;
  margin-bottom: 10px;
}

form select {
  color: #777;
  font-size: 16px;
  font-weight: bold;
}


@media (max-width: 541px) {
  form .contact-info-group label {
    width: 100%;
  }
  form .contact-info-group label:nth-child(1) {
    padding: 0;
  }
  form .contact-info-group label:nth-child(2) {
    padding: 0;
  }
  form [type="submit"] {
    width: 100%;
  }
}
.form-success {
  background: #e5eaee;
  text-align: center;
}
.form-success p {
  font-size: 18px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 1024px) {
  .wrapper {
    width: 100%;
    padding: 0 20px;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .about {
    margin: 0;
  }
}
@media only screen and (min-width: 320px) and (max-width: 800px) {
  /* event */
  .events-tbl {
    padding: 1px;
  }
  .events-tbl td,
  .events-tbl th {
    padding: 10px;
  }
  .events-tbl th {
    padding: 10px;
    font-size: 1.8em;
  }
  .events-tbl .member-photo {
    width: 40px;
    height: 40px;
    margin-right: 5px;
  }
  .events-tbl .event-venue {
    width: 120px;
  }
  .events-tbl td.event-venue {
    font-size: 14px;
    line-height: 1.2em;
  }
  .events-tbl .event-date {
    width: 60px;
    padding: 10px 0 10px 5px;
    text-align: left;
  }
  .events-tbl td.event-description {
    font-size: 12px;
  }
  /* partners */
  .sponsor-item,
  .partner-item {
    margin: 0 5px 10px 0;
  }
  .sponsor-link,
  .partner-link {
    width: 95px;
    height: 95px;
    line-height: 95px;
  }
  /* contact */
  .control-group-name,
  .control-group-email {
    clear: both;
    width: 100%;
    float: none;
    margin-right: 0;
  }
  .form .btn {
    margin-bottom: 50px;
  }
}
@media only screen and (max-width: 480px) {
  /* nav */
  nav {
    display: none;
  }
  .header {
    padding: 100px 0;
  }
  .logo-name {
    font-size: 4em;
  }
  .tagline {
    margin-bottom: 15px;
    font-size: 1.4em;
  }
  h2,
  h3,
  h4 {
    font-size: 3em;
  }
  h3 {
    font-size: 2em;
  }
  h4 {
    font-size: 1.8em;
  }
  p {
    font-size: 1.4em;
  }
  /* content */
  .content {
    padding: 0;
  }
  .content section {
    padding-top: 150px;
  }
  /* members */
  .members-item {
    min-height: 70px;
    padding-left: 70px;
  }
  .member-photo {
    width: 50px;
    height: 50px;
  }
  .members-bio {
    display: none;
  }
}
@media only screen and (max-width: 321px) {
  .logo-name {
    font-size: 4em;
    margin-bottom: .4em;
  }
  .events-tbl .event-description {
    display: none;
  }
  .events-tbl .event-venue {
    width: auto;
  }
  /* partners */
  .sponsor-item,
  .partner-item {
    margin: 0 12px 15px 0;
  }
  .sponsor-link {
    width: 115px;
    height: 115px;
    line-height: 115px;
  }
}

/* =============================================================================
   MAIN LAYOUT
   ========================================================================== */
html {
  background: #F6F6F6;
  font: normal normal 10px/1.2em helvetica, arial, sans-serif;
  color: #777;
}

/* =============================================================================
   BASIC STYLES
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #2b2b2b;
}

/* =============================================================================
   NAVIGATION
   ========================================================================== */
nav {
  background: #2b2b2b;
}
.nav-link {
  color: #e7e7e7;
}
.nav-link:active,
.nav-link:hover,
.nav-link:focus,
.nav-link.current {
  color: #fff;
}

/* =============================================================================
   HEADER
   ========================================================================== */
.header {
  background-image: url('../img/cover.png');
  background-color: #2b2b2b;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}
.logo-link,
.tagline {
  color: #fff;
  text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.3);
}
.tagline {
  font-weight: normal;
}
.call-action-area .call-action-link,
.btn {
  background-color: #fddd52;
  background-image: -moz-linear-gradient(top, #fddd52 30%, #f0a303 150%);
  background-image: -webkit-linear-gradient(top, #fddd52 30%, #f0a303 150%);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fddd52', endColorstr='#f0a303');
  background-image: linear-gradient(top, #fddd52 30%, #f0a303 150%);
  color: #2b2b2b;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.4), inset 0 -2px 3px 0 #cc7f0a, inset 0 1px 0 0 #fff9b1;
  border-radius: 40px;
}

/* =============================================================================
   CONTENT
   ========================================================================== */
.content a {
  color: #2302be;
}
.content a:hover,
.content a:focus {
  color: #493d83;
  text-decoration: underline;
}

/* =============================================================================
   ABOUT
   ========================================================================== */
.about {
  border: 1px solid #e7e7e7;
  background: #fff;
  border-radius: 4px;
}

/* =============================================================================
   MEMBER
   ========================================================================== */
.member-photo .photo {
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.07);
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.members-item:hover .member-photo .photo {
  box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.3);
}

/* =============================================================================
   EVENTS
   ========================================================================== */
.events-tbl {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15);
}
.events-tbl table {
  background: #fff;
}
.events-tbl td,
.events-tbl th {
  border-bottom: 1px solid #e7e7e7;
}
.events-tbl tbody tr:nth-child(2n+1) {
  background: #f6f6f6;
}
.events-tbl th {
  color: #2b2b2b;
}
.events-tbl .member-photo .photo {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.events-tbl tbody tr:hover {
  background: #fffde1;
}

/* =============================================================================
   SPONSORS
   ========================================================================== */
.sponsor-link {
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15);
}
.sponsor-link:hover,
.sponsor-link:focus {
  border-color: #f0a303;
}

/* =============================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 1024px) {
  .header {
    background-size: auto 100%;
  }
}

@media only screen and (max-width: 480px) {
  .member-photo .photo {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.07);
  }
  .header {
    display: none;
  }
}
