/*
	POPUP SETTINGS
==============================================================================*/
.BN-live .BN-popup-wrap {
  margin: auto;
  padding: 3rem 0; }

.BN-live .BN-popup-body {
  z-index: 9999999999;
  text-align: left; }

/*BN-live*/
.BN-popup {
  margin: auto;
  max-width: 800px;
  position: relative;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #fff;
  /*BN-close*/ }
  .BN-popup h3 {
    font-size: 40px;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1; }
  .BN-popup p {
    font-size: 16px;
    color: #666;
    margin: 0 0 15px 0; }
  .BN-popup button {
    font-size: 20px; }
  .BN-popup form label {
    color: #666; }
  .BN-popup .BN-close {
    position: absolute;
    z-index: 9999999998;
    right: -15px;
    top: -15px;
    border-radius: 15px;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1); }
    .BN-popup .BN-close a {
      display: block;
      width: 30px;
      height: 30px;
      border-radius: 15px;
      background: #fff;
      text-align: center;
      text-decoration: none;
      font-weight: bold;
      color: #555;
      -webkit-transition: -webkit-transform 0.4s ease-in-out;
      transition: transform 0.4s ease-in-out; }
    .BN-popup .BN-close a:hover {
      -webkit-transform: rotate(180deg);
      transform: rotate(180deg); }

/*BN-popup*/
/*========
POPUP TEMPLATES (apply these to .BN-popup)
========*/
/*Popup Simple*/
.BN-popup.BN-simple .BN-tint {
  display: flex; }

.BN-popup.BN-simple .BN-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0 40px 40px;
  background-image: none !important;
  display: none; }

.BN-popup.BN-simple .BN-image img {
  max-width: 100%;
  height: auto; }

.BN-popup.BN-simple .BN-text {
  flex: 2;
  display: flex;
  align-items: center; }

.BN-popup.BN-simple .BN-text-contents {
  margin: 40px;
  align-self: center; }

.BN-popup.BN-simple .BN-form-wrap {
  width: calc(100% + 20px);
  margin-left: -10px; }

.BN-popup.BN-simple .BN-form-wrap button {
  width: 100%; }

/*Popup Simple*/
/*Popup Simple with Thumb*/
.BN-popup.BN-simple.BN-thumb .BN-image {
  display: flex; }

/*Popup Half*/
.BN-popup.BN-half {
  background-image: none !important; }
  .BN-popup.BN-half .BN-tint {
    display: flex; }
  .BN-popup.BN-half .BN-image {
    flex: 1;
    display: flex;
    background-image: url("https://beacon.by/assets/leadcapture/i/abstract.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
    align-items: center;
    padding: 40px; }
  .BN-popup.BN-half .BN-image img {
    max-width: 100%;
    height: auto;
    display: none !important; }
  .BN-popup.BN-half .BN-text {
    flex: 2;
    display: flex; }
  .BN-popup.BN-half .BN-text-contents {
    margin: 40px;
    align-self: center; }
  .BN-popup.BN-half .BN-form-wrap {
    width: calc(100% + 20px);
    margin-left: -10px; }
  .BN-popup.BN-half .BN-form-wrap button {
    width: 100%; }

/*Popup Half*/
/*Popup Half with Thumb*/
.BN-popup.BN-half.BN-thumb .BN-image img {
  display: flex !important; }

@media (max-width: 500px) {
  .BN-popup.BN-simple .BN-text-contents {
    margin: 20px 25px 25px 25px; }
  .BN-popup.BN-half .BN-text-contents {
    margin: 20px 25px 25px 25px; } }

@media (max-width: 449px) {
  .BN-popup.BN-simple .BN-tint,
  .BN-popup.BN-half .BN-tint {
    flex-direction: column; }
  .BN-popup.BN-simple .BN-image {
    flex-basis: auto;
    padding: 20px 0 0 0; }
  .BN-popup.BN-simple .BN-image img {
    max-width: 50%; }
  .BN-popup.BN-simple .BN-text {
    flex-basis: auto;
    text-align: left; }
  .BN-popup.BN-simple .BN-text-contents {
    margin: 20px 25px 25px 25px; }
  .BN-popup.BN-half .BN-image {
    flex-basis: auto;
    background-position: top center; }
  .BN-popup.BN-half .BN-image img {
    max-width: 50%; }
  .BN-popup.BN-half .BN-text {
    flex-basis: auto;
    text-align: left; }
  .BN-popup.BN-half .BN-text-contents {
    margin: 20px 25px 25px 25px; } }
