@font-face {
  font-family: 'Black Script Inline';
  src: url('../font/BlackScript-Inline.otf')  format('opentype'); /* Safari, Android, iOS */
  font-weight: 400;
}

html,
body {
  height: 100%;
}

.font-bsi{ font-family: 'Black Script Inline', serif; color: #c7132e; }
.valentines{ 
  font-size: 250px; 
  line-height: .5; 
  /*transform: rotate(-4deg);
  -webkit-transform: rotate(-4deg);
  -moz-transform: rotate(-4deg);
  -ms-transform: rotate(-4deg);
  -o-transform: rotate(-4deg);*/
  margin-bottom: 0; 
  z-index: 200;
}

.sub-valentines{ 
  font-size: 120px;
  transform: rotate(-4deg);
  padding-left: 30px;
  padding-top: 20px;
  line-height: 0.5;
  z-index: 200;
}

#page-content {
  flex: 1 0 auto;
}

#sticky-footer {
  flex-shrink: none;
}
#sticky-footer p { margin-bottom: 0; line-height: 0.75; font-weight: 300; }
#sticky-footer small{ font-size: 12px; font-weight: 400 !important; }

.legal{
  display: inline; width: auto; height: 40px; float: left; margin-right: 20px;
}

.white-bg {
  width: 100%;
  background-color: rgba(238, 238, 238, 0.8);
  padding: 20px;
}

.hidden { display: none; }

.icon-share { width: auto; height: 80px; margin-right: 10px; margin-bottom: 0px; }

.link { font-weight: 500; color: inherit; border-bottom: 3px solid #ff8cbc; transition: all 0.25s linear; position: relative; }
.link:before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #61a3ff;
  position: absolute;
  left: 0;
  bottom: -3px; /* this is to match where the border is */
  transform-origin: left; 
  transform: scale(0);
  transition: 0.25s linear;
}
.link:hover { color: inherit; text-decoration: none; }
.link:hover:before { transform: scale(1); }


/* Other Classes for Page Styling */

body {
  background-color: #f1eeee;
  /*background-image: url(../images/background2.jpg);*/
  background-image: url(../images/background4.jpg);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: cover;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  overflow-x:hidden;
}
h1, h2, h3 { font-weight: 500; }
h1 { font-size: 2em; }
.lead {font-weight: 500; }
.mb40 { margin-bottom: 40px; }

/* */
.button {
    background-color: #f32f46;
    /*border: 1px solid black;*/
    color: #000;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 10px;
    font-size: 1.2em;
}
.button:hover { 
  text-decoration: none;
  color: #000;
}

.form-group {
  position: relative;
}
.custom-control-input.is-valid~.custom-control-label, .was-validated .custom-control-input:valid~.custom-control-label {
  color: #4c4d50;
  /*border: 1px solid red;*/
}

.form-control.is-invalid, .was-validated .form-control:invalid, .form-control.is-valid, .was-validated .form-control:valid{
  background-image: none;
}

#checkbox-error.invalid-tooltip{ top: 20px; }

.invalid-tooltip{ font-size: 10px; padding: .1rem .2rem; line-height: 1; }


label { font-weight: 500; margin-bottom: 0; }
input.box:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, .form-control:focus {
  box-shadow: none;
  outline: none;
  border-color: #252525;
}

.form-control.is-invalid, .was-validated .form-control:invalid { border-color: #252525; }
.form-control.is-valid, .was-validated .form-control:valid{ border-color: #252525; box-shadow: none; }
.form-control.is-valid:focus, .was-validated .form-control:valid:focus { border-color: #252525; box-shadow: none; }
.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label { color: #000; }
.form-group{ margin-bottom: 15px; }

span.red{ 
  background-color: rgba(220,53,69,.9);
  font-size: 10px;
  padding: .10rem .20rem;
  color: #fff;
  border-radius: .25rem;
}
.select2-container{
  width: 100% !important;
}
.select2-container .select2-selection--single{
  height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
}

.select2-container--default .select2-selection--single{
  border:1px solid #252525 !important;
  border-radius: 0.25em;
}

.select2-container--default .select2-selection--single:focus{
  outline: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
  color: #303030;
}

.select2-container .select2-selection--single .select2-selection__rendered{
  padding-left: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow{
  top: .375rem;
}

.select2-container--default .select2-selection--multiple, .form-control{ border: 1px solid #252525; }

.white-bg{ width: 640px; }

input[type="submit"]{
  color: #ffffff;
  border-radius: 50px;
  padding: 10px 30px;
  background: #c7132e;
  text-transform: uppercase;
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 3px;
  text-decoration: none;
  border: none;
  margin-top: 30px;
}
input[type="submit"]:focus{ outline: none; }

/* */
.outerboard{ 
  /*border: 1px solid #ccc; */
  width: 640px; 
  height: 640px; 
  margin-bottom: 20px;
  position: relative;
  background: url(../images/messagebox.jpg) left top no-repeat; 
}
.board {
  width:100%;
  min-height: 218px;
  /*float:left;*/
  margin-right:20px;
  /*background: url(../images/box-left-title.png) left top no-repeat;*/
  /*margin-bottom: 20px;*/
  /*border: 5px solid #fff;
  border-bottom: 40px solid #fff;*/
  /*background: url(../images/pattern-bg2.jpg) repeat;*/
  /*background: url(../images/box-logo-emboss.jpg) center center no-repeat;*/
  /*-webkit-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.3);
  box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.3);*/
}
#preview {
  min-height:218px;
  /*background-color:#FFC;*/
  padding:10px 20px;
  font-size:12px;
  color:#999;
  /*border:1px solid #FF9;*/
}
#Displaytitle {
  font-size:30px;
  /*color:#000;*/
  color: #000;
  margin-top:255px;
  font-weight: 700;
  /*font-family: 'Gochi Hand', cursive;*/
  font-family: 'Patrick Hand', cursive;
  letter-spacing: 1px;
  word-wrap:break-word;
  text-align: center;
}

/* */

#agegate {
  display: none;
  position: fixed;
  z-index: 99999;
  width: 100%;
  height: 100%;
  /*background: transparent url(../images/transparant-background.png) repeat;*/
  background-color: rgba(0, 0, 0, 0.8);
  padding-bottom: 0px;
  margin: 0;
}
/*body.agegate-open{
  overflow: hidden;
  position: fixed;
  width: 100%;
}*/
#agegate_msg {
  position: relative;
  z-index: 9999;
  display: block;
  width: 300px;
  height: 324px;
  background-size: 300px 324px;
  background-image: url(../images/consent-box.png);
  background-repeat: no-repeat;
  background-position: left top;
  margin: 150px auto 0;
  text-align: center;
}
#agegate a#agegate_button {
  display: block;
  width: 136px;
  height:36px;
  margin: 0 auto;
  position: relative;
  top: 180px;
  /*-webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  transition: all 0.1s linear;*/
  background-size: 136px 36px;
  background-image: url(../images/button-enter.png);
  background-repeat: no-repeat;
  background-position: left top;
  text-indent: -9999px;
}
/*#agegate a:link,
#agegate a:visited {
  color: #3d8709;
  text-decoration: none;
}*/
#agegate a#agegate_button:hover{
/*#agegate a:active */
  /*color: #990000;
  text-decoration: none;*/
  /*top: 277px;*/
  /*-webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;*/
  /*background-position: right top !important;*/
  /*text-indent: -9999px;*/
}

#top-text{
  /*position: absolute; top:0; right: 600px; padding-right: 150px;*/
  position: absolute;
  left: 40px;
  padding-right: 150px;
}
.bottle-hover{ width: auto; height: 700px; float: left; }

.cloud1{
  position: absolute;
  top: 140px;
  left: -250px;
  width: 244px;
  height: 170px;
  -webkit-animation: moveclouds 20s 5s linear infinite;
  -moz-animation: moveclouds 20s 5s linear infinite;
  -o-animation: moveclouds 20s 5s linear infinite;
  animation: moveclouds 20s 5s linear infinite;
  background-size: 244px 170px;
  background-image: url(../images/cloud1.png);
  display: block;
}

.cloud2{
  position: absolute;
  top: 50%;
  width: 214px;
  height: 121px;
  -webkit-animation: moveclouds 18s linear infinite;
  -moz-animation: moveclouds 18s linear infinite;
  -o-animation: moveclouds 18s linear infinite;
  animation: moveclouds 18s linear infinite;
  background-size: 214px 121px;
  background-image: url(../images/cloud2.png);
  display: block;
}

.cloud3{
  position: absolute;
  top: 60%;
  width: 225px;
  height: 135px;
  -webkit-animation: moveclouds 15s linear infinite;
  -moz-animation: moveclouds 15s linear infinite;
  -o-animation: moveclouds 15s linear infinite;
  animation: moveclouds 15s linear infinite;
  background-size: 225px 135px;
  background-image: url(../images/cloud3.png);
  display: block;
}

@-webkit-keyframes moveclouds {
  0% {margin-right: 0px;}
  100% {margin-left: 110vw;}
}
@-moz-keyframes moveclouds {
  0% {margin-right: 0px;}
  100% {margin-left: 110vw;}
}
@-o-keyframes moveclouds {
  0% {margin-right: 0px;}
  100% {margin-left: 110vw;}
}

.hotairballoon {
    position: absolute;
    left: 50%;
    /*-webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    transform: scale(0.6);
    opacity: 0.5;*/
    -webkit-animation: moveballoon 150s linear infinite, sideWays 5s ease-in-out infinite alternate;
    -moz-animation: moveballoon 150s linear infinite, sideWays 5s ease-in-out infinite alternate;
    -o-animation: moveballoon 150s linear infinite, sideWays 5s ease-in-out infinite alternate;
    background-image: url(../images/hotairballoon.png);
    background-size: 327px 415px;
    width: 327px;
    height: 415px;
    display: block;
}

@-webkit-keyframes moveballoon { 
    0% { 
        top: calc(100vh - 415px);
    }
    100% { 
        top: -500px;
    }
}

@-webkit-keyframes sideWays { 
    0% { 
        margin-left:0px;
    }
    100% { 
        margin-left:30px;
    }
}

@-moz-keyframes moveballoon {     
    0% { 
        top: calc(100vh - 415px);
    }

    100% { 
        top: -500px;
    }
}

@-moz-keyframes sideWays {
    0% {
        margin-left:0px;
    }
    100% {
        margin-left:30px;
    }
}
@-o-keyframes moveballoon {
    0% { 
        top: calc(100vh - 415px);
    }
    100% { 
        top: -500px;
    }
}

@-o-keyframes sideWays {
    0% {
        margin-left:0px;
    }
    100% {
        margin-left:30px;
    }
}

@media (min-width: 2000px) {
  /*html, body { height: 100%; }*/
}


@media (max-width: 2000px) {
  #top-text{ right: 400px; }
  .valentines{ font-size: 170px; }
  .sub-valentines { font-size: 120px; padding-top: 10px; }
  .bottle-hover{ width: auto; height: 500px; float: left; }
  .wide { width: 620px !important; }
  .wideform{ width: 460px; }
  .white-bg { width: 460px; }
  .outerboard { 
    width: 460px;
    height: 460px;
    background-size: contain; 
  }
  #Displaytitle{ margin-top: 45%; font-size: 20px; }

  label { font-size: 13px; }
  .form-control, .select2-container .select2-selection--single { 
    height: calc(1.5em + .35rem + 2px);
    padding: .175rem .75rem;
  }
  .select2-container--default .select2-selection--single .select2-selection__arrow { top: .175rem; }
  input[type="submit"] { margin-top: 10px; font-size: 13px; }
  .icon-share { height: 80px; }
  p.lead.thanks { font-size: 1rem; font-family: 'Poppins', sans-serif !important; padding-left: 25px; padding-right: 25px; }
}

@media (min-width: 1280px) and (max-width: 1680px) {
  
}

@media (max-width: 1680px) {
  #top-text{ right: 380px; }
  .white-bg { width: 410px; }
  .valentines{ font-size: 140px; }
  .sub-valentines { padding-top: 10px; }
  .outerboard { 
    width: 410px;
    height: 410px;
    background-size: contain; 
  }
  #Displaytitle{ margin-top: 45%; font-size: 16px; }
  label { font-size: 13px; }
  input[type="submit"] { margin-top: 10px; font-size: 13px; }
  .icon-share{ height: 80px; }
  .hotairballoon{
    background-size: 250px 317px;
    width: 250px;
    height: 317px;
  }
  p.lead.thanks { font-size: 14px; }
  .thankyou #Displaytitle{ margin-top: 38%; }
}

@media (min-width: 1280px) and (max-width: 1440px), (min-width: 1200px) and (max-height: 900px) {
  body { background-image: url(../images/background4.jpg); }
  .home #top-text { right: 280px; }
  #top-text {  right: 200px; }
  .valentines{ font-size: 150px; }
  .sub-valentines { font-size: 80px; }
  .bottle-hover{ height: 350px; }
  .white-bg, .wideform { width: 600px; }
  .email .white-bg{ width: 440px; }
  h3{ font-size: 1.5rem; }
  .outerboard { 
    width: 300px;
    height: 300px;
    background-size: contain; 
  }
  .col-sm-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}
  .icon-share{ height: 60px; }
}

/*@media (max-width: 1380px) {
  #sticky-footer { background-color: #c7132e; }
}*/

@media (min-width: 1200px) and (max-height: 768px) {
  html, body { height: auto; }
  .thankyou .white-bg, .thankyou .outerboard { margin-bottom: 280px; }
}

@media (max-width: 768px) {
  body { background-image: none; }
  #top-text{ display: none; }
  #bottles, #clouds, .hotairballoon, .bird-container{ display: none !important; }
  .white-bg, .wide { width: 100% !important; }
  .outerboard { 
    width: 100%;
    height: calc(100vw * 1);
    background-size: contain; 
    margin-bottom: 0;
  }
  #Displaytitle{ margin-top: 45%; }
  form{ margin-top: -30px; }
  #sticky-footer{ background: #f1eeee; }
  img.legal { display: block; float: none; }
  .thankyou #Displaytitle{ margin-top: 45%; }
  .mobile-show { display: inline-block !important; }
}

/*@media (min-height: 900px) {
  html, body { height: 100%; }
}
*/


/* --- */

@keyframes beat {
    0% {transform: scale(1) rotate(225deg); box-shadow:0 0 40px #d5093c;}
    50% {transform: scale(1.1) rotate(225deg); box-shadow:0 0 70px #d5093c;}
    100% {transform: scale(1) rotate(225deg); box-shadow:0 0 40px #d5093c;}
}

#chest {
    position:relative;
    width:100px;
    height:100px;
    margin:0 auto;
    transform: rotate(-6deg);
}
.heart {
    position:absolute;
    z-index:2;
    background: -moz-linear-gradient(-90deg, #F50A45 0%, #d5093c 40%);
    background: -webkit-gradient(linear, right 50%, left 50%, color-stop(0%,#F50A45), color-stop(40%,#d5093c));
    background: -webkit-linear-gradient(-90deg, #F50A45 0%,#d5093c 40%);
    background: linear-gradient(-90deg, #F50A45 0%,#d5093c 40%);
    -webkit-animation: beat 0.7s ease 0s infinite normal;
    -moz-animation: beat 0.7s ease 0s infinite normal;
    animation: beat 0.7s ease 0s infinite normal;
}
.heart.center {
    background: -moz-linear-gradient(-45deg, #B80734 0%, #d5093c 40%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#B80734), color-stop(40%,#d5093c));
    background: -webkit-linear-gradient(-45deg, #B80734 0%,#d5093c 40%);
    background: linear-gradient(-45deg, #B80734 0%,#d5093c 40%);
}
.heart.top {
    z-index:3;
}
.side {
    top:20px;
    width:44px;
    height:44px;
    border-radius: 44px;
}
.center {
    width:42px;
    height:42px;
    bottom:20px;
    left:29px;
    font-size:0;
    text-indent:-9999px;
}
.left {
    left:12px;
}
.right {
    right:12px;
}

/*.bottle-hover{ animation: fadein 5s; }*/
/*.shakeit{
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}*/

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}


@-webkit-keyframes bounce {
  0%, 100% {
    -webkit-transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-5px);
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
/*.shakeit {
  -webkit-animation-name: bounce;
  animation-name: bounce;
  -webkit-animation-duration: .5s;
  animation-duration: .5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}*/

.shakeit {
  animation: bounce2 1s ease;
}
@keyframes bounce2 {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-30px);}
  60% {transform: translateY(-15px);}
}

.jiggle {
    -webkit-animation: jiggle 0.2s infinite;
    -moz-animation-duration: 0.2s;
    -moz-animation-name: jiggle;
    -moz-animation-iteration-count: infinite;
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
}

@-moz-keyframes jiggle {
    0% {
        -moz-transform: rotate(-1deg);
    }
    50% {
        -moz-transform: rotate(1deg);
    }
}

@-webkit-keyframes jiggle {
    0% {
        -webkit-transform: rotate(-1deg);
        }
    50% {
        -webkit-transform: rotate(1deg);
    }
}

/* */
.bird {
   /*background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/174479/bird-cells-new.svg);*/
   background-image: url(../images/bird.svg);
   background-size: auto 100%;
   width: 88px;
   height: 125px;
   will-change: background-position;
   animation-name: fly-cycle;
   animation-timing-function: steps(10);
   animation-iteration-count: infinite;
}
 .bird--one {
   animation-duration: 1s;
   animation-delay: -0.5s;
}
 .bird--two {
   animation-duration: 0.9s;
   animation-delay: -0.75s;
}
 .bird--three {
   animation-duration: 1.25s;
   animation-delay: -0.25s;
}
 .bird--four {
   animation-duration: 1.1s;
   animation-delay: -0.5s;
}
 .bird-container {
   position: absolute;
   top: 20%;
   left: -10%;
   transform: scale(0) translateX(-10vw);
   will-change: transform;
   animation-name: fly-right-one;
   animation-timing-function: linear;
   animation-iteration-count: infinite;
}
 .bird-container--one {
   animation-duration: 15s;
   animation-delay: 0;
}
 .bird-container--two {
   animation-duration: 16s;
   animation-delay: 1s;
}
 .bird-container--three {
   animation-duration: 14.6s;
   animation-delay: 9.5s;
}
 .bird-container--four {
   animation-duration: 16s;
   animation-delay: 10.25s;
}
 @keyframes fly-cycle {
   100% {
     background-position: -900px 0;
  }
}
 @keyframes fly-right-one {
   0% {
     transform: scale(0.3) translateX(-10vw);
  }
   10% {
     transform: translateY(2vh) translateX(10vw) scale(0.4);
  }
   20% {
     transform: translateY(0vh) translateX(30vw) scale(0.5);
  }
   30% {
     transform: translateY(4vh) translateX(50vw) scale(0.6);
  }
   40% {
     transform: translateY(2vh) translateX(70vw) scale(0.6);
  }
   50% {
     transform: translateY(0vh) translateX(90vw) scale(0.6);
  }
   60% {
     transform: translateY(0vh) translateX(110vw) scale(0.6);
  }
   100% {
     transform: translateY(0vh) translateX(110vw) scale(0.6);
  }
}
 @keyframes fly-right-two {
   0% {
     transform: translateY(-2vh) translateX(-10vw) scale(0.5);
  }
   10% {
     transform: translateY(0vh) translateX(10vw) scale(0.4);
  }
   20% {
     transform: translateY(-4vh) translateX(30vw) scale(0.6);
  }
   30% {
     transform: translateY(1vh) translateX(50vw) scale(0.45);
  }
   40% {
     transform: translateY(-2.5vh) translateX(70vw) scale(0.5);
  }
   50% {
     transform: translateY(0vh) translateX(90vw) scale(0.45);
  }
   51% {
     transform: translateY(0vh) translateX(110vw) scale(0.45);
  }
   100% {
     transform: translateY(0vh) translateX(110vw) scale(0.45);
  }
}
 