.inputs {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
          justify-content: space-between;
  grid-gap: 1rem;
  gap: 1rem;
}

.checkbox {
  font-size: 12px;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  display: block;
  width: 100%;
  box-shadow: none;
  border: thin solid lightgray;
}

input.btn {
  padding: 5px 10px;
  font: 300 14px/20px "Open Sans", Helvetica, Arial, sans-serif;
}

.alert {
  text-align: center;
  color: crimson;
}

.btn {
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid transparent;
  background-color: #3276b1;
  color: white;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  white-space: nowrap;
}

.validation-errors {
  font-size: 10px;
  margin: 0 0 0 2em;
  padding: 0;
  list-style-type: square;
  color: red;
}

@media (min-width: 600px) {
  #list-builder {
    width: 500px;
  }

  #list-builder .login-social .block,
  #list-builder .login-email .block {
    width: 50%;
  }

  #list-builder .login-social .block.left,
  #list-builder .login-email .block.left {
    text-align: right;
  }

  #list-builder .login-social .block.right,
  #list-builder .login-email .block.right {
    text-align: left;
  }
}

#list-builder .login-social,
#list-builder .login-email {
  padding-bottom: 10px;
}

#list-builder .login-social .block,
#list-builder .login-email .block {
  padding: 0 5px;
  text-align: center;
}

#list-builder .login-social .prompt,
#list-builder .login-email .prompt {
  text-align: center;
}

#list-builder .login-social .block {
  min-height: 40px;
}

#list-builder .block input {
  box-sizing: border-box;
}

#list-builder .login-continue {
  float: right;
  padding: 0 5px;
}

#list-builder .login-continue input {
  margin: 0;
}

#list-builder header {
  margin: 0;
}

#list-builder header h2 {
  margin: 0;
  font: 300 24px/30px "Open Sans", Helvetica, Arial, sans-serif;
  text-align: center;
  color: black;
}

body {
  margin: 0;
  padding: 0;
  background: #fff;
  font: 300 15px/20px "Open Sans", Helvetica, Arial, sans-serif;
}

header {
  margin: 10px;
}

header h1 {
  font: 300 28px/32px "Open Sans", Helvetica, Arial, sans-serif;
}

.subdomain-events-index h1,
.subdomain-events-show h1 {
  text-align: center;
}

.gallery-logo {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.gallery-logo img {
  max-width: 100%;
}

.gallery-menu {
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  font-weight: bold;
  font-size: 13px;
  text-transform: uppercase;
  padding: 10px 100px;
}

.gallery-menu ul {
  display: inline-block;
}

.gallery-menu ul li {
  float: left;
  display: block;
}

.gallery-menu ul li:before {
  content: "|";
  opacity: 0.1;
  color: #000;
}

.gallery-menu ul li:first-child:before {
  content: "";
}

.gallery-menu ul a {
  padding: 5px 10px;
}

.gallery-menu ul,
.gallery-menu li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.gallery-menu a {
  text-decoration: none;
}

.gallery-photos {
  width: 1050px;
  margin: 0 auto;
}

.gallery-photos .gallery-item {
  float: left;
  padding: 5px 5px;
}

.gallery-photos .gallery-item a {
  display: block;
}

.gallery-photos .gallery-item-image img {
  width: 200px;
  display: block;
}

.gallery-photos .gallery-item-info {
  width: 198px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top: none;
  padding: 10px 0;
}

.gallery-photos .gallery-item-info h3,
.gallery-photos .gallery-item-info h4 {
  font-size: 13px;
  margin: 0;
  padding: 0 5px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.gallery-photos .gallery-item-info h3 a,
.gallery-photos .gallery-item-info h4 a {
  text-decoration: none;
}

.gallery-photos .gallery-item-info h4 {
  padding-top: 5px;
  font-weight: normal;
}

.download-link {
  float: right;
  text-decoration: none;
}

.share-links iframe {
  max-width: 200px;
}

.video-wrap {
  display: table-row;
}

@media only screen and (max-width: 420px) {
  /* Smartphone view: 1 tile */
  .gallery-photos {
    width: 210px;
  }

  .gallery-menu {
    padding: 10px;
  }

  .gallery-menu ul li {
    float: none;
    display: block;
  }

  .gallery-menu ul li:before {
    content: "";
  }
}

@media only screen and (max-width: 630px) and (min-width: 421px) {
  /* Tablet view: 2 tiles */
  .gallery-photos {
    width: 420px;
  }

  .gallery-menu {
    padding: 10px;
  }

  .gallery-menu ul li {
    float: none;
    display: block;
  }

  .gallery-menu ul li:before {
    content: "";
  }
}

@media only screen and (max-width: 840px) and (min-width: 631px) {
  /* Tablet view: 3 tiles */
  .gallery-photos {
    width: 630px;
  }
}

@media only screen and (max-width: 1050px) and (min-width: 841px) {
  /* Small desktop / ipad view: 4 tiles */
  .gallery-photos {
    width: 840px;
  }
}

#opt-in {
  max-width: 340px;
  padding: 0;
  margin: 1em auto 1ex auto;
  border: 1px solid #eee;
  border-width: 1px 0;
}

#opt-in .checkbox {
  font-size: 14px;
}

.password-form {
  margin: 10px auto;
  width: 400px;
}

.password-form fieldset {
  border: none;
}

.pagination {
  cursor: default;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
          justify-content: center;
}

.pagination a,
.pagination span,
.pagination em {
  padding: 0.2em 0.5em;
  display: block;
  float: left;
  margin-right: 1px;
}

.pagination .disabled {
  color: #999999;
}

.pagination .current {
  font-style: normal;
  font-weight: bold;
  background: #2e6ab1;
  color: white;
}

.pagination a {
  text-decoration: none;
  color: #105cb6;
}

.pagination a:hover,
.pagination a:focus {
  color: #000033;
}

.pagination .page_info {
  background: #2e6ab1;
  color: white;
  padding: 0.4em 0.6em;
  width: 22em;
  margin-bottom: 0.3em;
  text-align: center;
}

.pagination .page_info b {
  color: #000033;
  background: #6aa6ed;
  padding: 0.1em 0.25em;
}

.pagination:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
