/*
Theme Name: Love Party
Author: Mike Burns

dark blue: #202833;
yellowish: #f9c189;
grey outline: #a0a0a0;
*/

@import url('https://fonts.googleapis.com/css?family=Lato');
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

* {
  font-family: 'Lato', sans-serif;
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}
.page-width {
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
  box-sizing: border-box;
  position: relative;
}
html.home, body.home {
  height: 100%;
}
body.home {
  background-image: url(./img/invitation-bg-wide.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
}
main {
  padding-bottom: 175px;
}

.hidden {
  display: none;
}
input[type=text], input[type=password], input[type=email], input[type=number] {
  height: 45px;
  border: 1px solid #a0a0a0;
  font-size: 1.2em;
  line-height: 1.2em;
  padding: 0 10px;
}
textarea, input, button { outline: none; }
button {
  background: #a0a0a0;
  color: #444;
  border: 0;
  outline: 0;
  height: 45px;
  line-height: 45px;
  padding: 0 20px;
  margin-left: 10px;
  margin-right: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}
button:hover {
  background: #444;
  color: #a0a0a0;
}
button[data-name] {
  height: 55px;
  line-height: 55px;
  padding: 0 25px;
}
button[data-name].selected {
  background: #202833;
  color: #f9c189;
}
label, label * {
  cursor: pointer;
}
.checkbox, .radio {
  display: block;
  margin: 10px 0;
}
.checkbox > input,
.radio > input {
  opacity: 0;
  position: absolute;
}
.checkbox > span:before,
.radio > span:before {
  color: transparent;
  content: '\2713';
  margin-right: 10px;
  width: 25px;
  border: 1px solid #a0a0a0;
  display: inline-block;
}
.radio > span:before {
  content: '\25cf';
  border-radius: 100%;
}
.checkbox > input:checked + span:before,
.radio > input:checked + span:before {
  color: #333;
}
textarea {
  width: 100%;
  display: block;
  margin: auto;
  height: 75px;
  max-width: 500px;
}

header {
  background-image: url(./img/invitation-bg-wide.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 20%;
  text-align: center;
  background-blend-mode: luminosity, normal;
  cursor: pointer;
}
header h1 {
  color: #f9c189;
  margin: 30px 0;
  display: inline-block;
  background: #202833;
  padding: 10px 30px;
  font-size: 2.5em;
  text-transform: uppercase;
  text-shadow: 0 0 25px #f9f2c0;
}
header ul.menu {
  background: #202833;
  width: 100%;
}
header ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
header ul.menu > li {
  display: inline-block;
  position: relative;
}
header ul.menu li > a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  color: #f9c189;
  background: #202833;
  text-decoration: none;
  font-weight: bold;
}
header ul.menu li > a > img {
  display: inline-block;
  margin-left: 15px;
}
header ul.menu li > a:hover,
header ul.menu > li.current_page_item > a {
  background: #f9c189;
  color: #202833;
}
header ul.sub-menu {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 500;
  white-space: nowrap;
}
header ul.sub-menu > li {
  display: block;
  text-align: left;
}
header ul.sub-menu > li > a {
  display: block;
  text-align: left;
  padding-right: 45px;
}
header ul.sub-menu img {
  display: inline-block;
  margin-right: 15px;
}
header ul.menu > li:hover > ul.sub-menu {
  display: block;
}
#home-center {
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #f9c189;
  background: #202833;
  box-shadow: 0 0 50px 25px #202833;
}
#home-center input[name=code] {
  background: #202833;
  font-size: 2.2em;
  color: #f9c189;
  text-transform: uppercase;
  text-align: center;
  border: 1px solid #f9c189;
  outline: 0;
  margin-bottom: 15px;
}
#home-center input[name=code]:active,
#home-center input[name=code]:focus {
  border-color: transparent;
}
#home-center button {
  border: 2px solid #f9c189;
  background: #202833;
  color: #f9c189;
  font-size: 1.2em;
  line-height: 1.2em;
  padding: 5px 15px;
  font-weight: bold;
}
.autocomplete {
  position: relative;
}
.autocomplete > input {
  width: 100%;
  box-sizing: border-box;
}
.autocomplete > ul{
  width: calc(100% - 2px);
  list-style: none;
  margin: -2px 0 0 0;
  padding: 0;
  position: absolute;
  top: 46px;
  left: 0;
  display: block;
  display: none;
  background: #fff;
  border-color: #a0a0a0;
  border-style: solid;
  border-top-width: 0;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  max-height: 180px;
  overflow: auto;
}
.autocomplete ul > li {
  height: 45px;
  line-height: 45px;
  font-size: 1.2em;
  padding: 0 10px;
  cursor: pointer;
}
.autocomplete ul > li:hover,
.autocomplete ul > li.current {
  background: #4286f4;
  color: #fff;
}
#loveparty-login {
  max-width: 600px;
  margin: auto;
}
#logged-in-area {
  position: absolute;
  top: 0;
  right: 0;
  padding: 15px 0;
  z-index: 100;
}
#logged-in-area h1 {
  margin: 0;
  font-size: 1.25em;
}
.swiper-button {
  position: fixed;
  top: calc(50% + 22px);
}
.swiper-button-disabled {
  display: none;
}
.swiper-slide {
  padding: 0 0 30px 0;
}
.swiper-slide > .content {
  text-align: center;
}
@media (max-width: 1305px) {
  .swiper-slide > .content {
    max-width: auto;
  }
}
.swiper-slide p {
  font-size: 21px;
  line-height: 24px;
}
.swiper-slide ul {
  list-style: none;
  margin: 15px 0;
  padding: 0;
}
.swiper-slide ul > li {
  display: block;
  height: 47px;
  margin: 0 0 15px 0;
}
.swiper-slide ul > li > div {
  display: inline-flex;
}
.swiper-slide ul > li button {
  height: 47px;
  line-height: 47px;
  margin: 0;
}
.swiper-slide.results ul > li {
  margin: 5px 0;
  height: auto;
}
.swiper-slide button.next {
  margin-top: 45px;
  display: none;
}

.message {
  margin: 25px 0;
  text-align: center;
  font-size: 21px;
  line-height: 24px;
}

.post-thumbnail {
  height: calc(100vh - 178px);
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  position: relative;
}
.post-thumbnail > .scroll-down {
  display: block;
  height: 75px;
  width: 75px;
  position: absolute;
  bottom: 15px;
  left: 50%;
  margin-left: -37.5px;
  color: #fff;
  text-shadow: 0 0 30px #202833;
  font-size: 75px;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
}

.page-width > p {
  font-size: 1.1em;
  font-weight: 100;
  line-height: 1.8em;
}

table td {
  vertical-align: top;
  padding-right: 10px;
  padding-bottom: 10px;
}
table td:last-child {
  padding-right: 0;
}

#logged-in-area + p {
  max-width: 800px;
}
@media (max-width: 900px) {
  #logged-in-area {
    left: 15px;
    width: calc(100% - 30px);
    text-align: center;
  }
  #logged-in-area + p {
    max-width: 100%;
  }
  body.has-login.logged-in main > .page-width > h1 {
    margin-top: 100px;
  }
  body.has-login.logged-in #logged-in-area {
    margin-top: -100px;
  }
}

/* photo gallery */
.photo-view {
  text-align: center;
  width: 100%;
}
.photo-view > div {
  display: inline-block;
  vertical-align: top;
  width: 33%;
  padding-bottom: 30px;
}
@media all and (max-width: 1000px) {
  .photo-view {
    display: block;
  }
  .photo-view > div {
    display: block;
    vertical-align: top;
    width: auto;
  }
}

/* gallery override */
#bwg_container1_0 #bwg_container2_0 .tablenav-pages_0,
#bwg_container1_1 #bwg_container2_1 .tablenav-pages_1,
#bwg_container1_2 #bwg_container2_2 .tablenav-pages_2 {
  display: none!important;
}
.bwg_close_btn.fa.fa-times {
  font-size: 35px;
}
.bwg_ctrl_btn_container > i:last-child {
  display: none!important;
}