/* COLORS

  /* POP-UP
  ========================================== */

  @font-face {
    font-family: "Bebaskai";
    src: url(../font/BEBASKAI.TTF);
  }

  .pop-up {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) scale(0.9);
    -moz-transform: translate(-50%, -50%) scale(0.9);
    -ms-transform: translate(-50%, -50%) scale(0.9);
    -o-transform: translate(-50%, -50%) scale(0.9);
    transform: translate(-50%, -50%) scale(0.9);
    overflow-y: auto;
    box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.4);
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    z-index: 10;
    background-color: #ffffff;
    width: 100%;
    height: 100%;
  }

  @media (min-width: 768px) {
    .pop-up {
      width: calc(100% - 40px);
      height: auto;
      max-width: 928px;
    }
  }
  .pop-up .content {
    width: 100%;
    overflow: hidden;
    text-align: center;
    position: relative;
    min-height: 100vh;
    padding: 0 !important;
  }
  @media (min-width: 768px) {
    .pop-up .content {
      min-height: inherit;
    }
  }

  @media (min-width: 568px) {
    
  }
  @media (min-width: 768px) {
    .pop-up .content .container {
      max-width: 100%;
      display: flex;
    }
  }
  .pop-up .content .close {
    position: absolute;
    top: 20px;
    right: 20px;
    letter-spacing: 0.05rem;
    color: #333;
    z-index: 9;
    opacity: 0.6;
    text-shadow: none;
  }
  .pop-up .content .close i {
    font-size: 1.4em;
  }
  .pop-up .content h4{
    clear: both;
    margin: 30px 0;
    text-align: left;
  }
  .pop-up .content .title h2 {
    text-align: center;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: 0.05rem;
    padding-top: 50px;
    margin-bottom: 30px;
    font-family: "Bebaskai";
    color: #808080;
    line-height: 1.2em;
  }
  .pop-up .content p{
    color: #808080;
    font-size: 14px;
  }
  .pop-up .content img {
    display: inline-block;
    opacity: 0;
    -webkit-transform: translateX(60px);
    -moz-transform: translateX(60px);
    -ms-transform: translateX(60px);
    -o-transform: translateX(60px);
    transform: translateX(60px);
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    -webkit-backface-visibility: hidden;
  }
  .pop-up .content a{
    color: #808080;
    font-size: 13px;
    text-decoration: none;
  }
  .pop-up .content .subscribe{
    padding: 0 20px;
  }
  .pop-up .content .subscribe form input[type=email],
  .pop-up .content .subscribe form input[type=text],
  .pop-up .content .subscribe form input[type=submit]  {
    font-family: "Bebaskai";
    width: 100%;
    padding: 15px 0px;
    text-align: left;
    font-family: inherit;
    letter-spacing: 0.05rem;
    outline: 0;
    margin-top: 10px;
    text-indent: 20px;
  }
  .pop-up .content .subscribe form input[type=text],
    .pop-up .content .subscribe form input[type=email] {
      margin-bottom: 5px;
    border: 1px solid #bec1c5;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
  }
  @media (min-width: 768px) {
    .pop-up .content .subscribe form input[type=text] ,
      .pop-up .content .subscribe form input[type=email] {
        margin-bottom: 0px;
    }
  }
  .pop-up .content .subscribe form input[type=email]:focus,
    .pop-up .content .subscribe form input[type=text]:focus {
      border-color: #3e4146;
  }
  .pop-up .content .subscribe form input[type=submit] {
    background-color: #f58634;
    color: #ffffff;
    border: 1px solid #f58634;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    width: 100%;
    border-radius: 5px;
  }

  .pop-up .content .subscribe form input[type=submit]:hover {
    cursor: pointer;
    background-color: #f39148;
    border-color: #f39148;
  }
  .pop-up.open {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) scale(1);
    -moz-transform: translate(-50%, -50%) scale(1);
    -ms-transform: translate(-50%, -50%) scale(1);
    -o-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
  }
  .pop-up.open img {
    opacity: 1;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
    -webkit-transition-delay: 0.3s;
    -moz-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    transition-delay: 0.3s;
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
    transform: translateX(0px);
  }
  .thank-text{
    padding-top: 20px
  }
  .pop-up .pright{
    position: relative;
  }

  .overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.3); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
  }

@media only screen and (max-width: 600px) {

  .pop-up .content .container h2{
    padding: 50px 30px 0 30px;
  }

  .pop-up .content .subscribe form input[type=email],
  .pop-up .content .subscribe form input[type=submit]  {
    margin-top: 10px;
  }
}