/* Remove white bars from the side when viewing on mobile */
#body {
  padding: 0;
  background-attachment: fixed !important;
  background-size: cover !important;
  background-origin: initial !important;
  background-clip: initial !important;
  background-position: 50% 0 !important;
  background-repeat: no-repeat !important;
}

/* Set the default line height so that IE doesnt mess things up */
* {
  line-height: 1.2em;
}
/*Styling needed for fancy Lists*/
.fancy-list {
  list-style-type: none;
}
.fancy-bullet+li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.fancy-bullet {
  vertical-align: middle;
  margin-right: 5px;
  margin-left: -30px;
}
/* Return option on top left */
#exit {
  position: fixed;
  padding: 15px;
  top: 20px;
  color: #ff8888;
  background-color: #ffffff;
  cursor: pointer;
  border-width: 4px 4px 4px 0;
  border-style: solid;
  border-color: #000000;
  border-radius: 0 8px 8px 0;
}
#exit .material-icons {
  vertical-align:middle;
}
/* Make row backgrounds full width */
.container-fluid {
  position: relative;
}
.row-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -100;
}
.ui-draggable {
  display: block;
  width:100%;
}
[id^="button"] {
  text-align:center;
  line-height: 1.2em;
}
/* Make forms span their entire container */
#lcform {
  width: 100%;
}
/* Add make all form items display as blocks so that centering works */
#lcform *:not(.required):not([type="checkbox"]) {
  display: block;
}

#lcform p {
  display: inline-block;
  width: 100%;
}

.countdown-wrapper {
  text-align: center;
  width: 100%;
  display: block;
}
.countdown-wrapper .timing {
  display: inline-block;
  float: left;
  margin: 5px;
  width: calc( 25% - 10px );
  min-width: 50px;
}
.countdown-wrapper .counter {
  display: block;
  text-align: center;
  width: 100%;
  line-height: 40px;
  font-size: 20px;
  color: #ffffff;
  background-color: #016699;
}
.countdown-wrapper .label {
  width: 100%;
  font-weight: initial;
  padding: 0;
  text-shadow: none;
}

.partition-background {
  position: absolute !important;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: -1;
}
.partition-background img {
  width: 100%;
}

[id^="image"][id$="wrapper"] {
  /* width: 100%; */
  display: inline-block;
}

.partition-wrapper {
  position: relative !important;
  display: flex;
}

.partition {
	overflow: hidden;}
.partition-column__1_2 {
  /* min-width: 200px; */
  width: 50% !important;
  float: left;}
.partition-column__1_3 {
  /* min-width: 133px; */
  width: 33% !important;
  float: left;}
.partition-column__2_3 {
  /* min-width: 267px; */
  width: 66% !important;
  float: left;}
@media screen and (max-width: 400px) {
    .partition-column__1_2, .partition-column__1_3, .partition-column__2_3 {
        width: 100% !important; }}

/* Make sure that the min-height applied while editding the rows is not       */
/* applied while rendering the page                                           */
.pane {
  min-height:1px !important;
}
.pane > * {
  clear: both !important;
}

.genooInlineBlock p.genooPadding {
  display: none;
}

.partition-handle {
  display: none;
}

.countdown-wrapper .label {
  font-weight: initial;
  padding: 0;
  text-shadow: none;
  width: 100%;
  display: inline-block;
}

.label, .badge {
  display: inline-block;
  padding: 2px 4px;
  font-size: 11.844px;
  font-weight: bold;
  line-height: 14px;
  color: #ffffff;
  vertical-align: baseline;
  white-space: nowrap;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #999999;
}

.genooGenrated .genooTitle {
  display: none;
}

.genooPop .grecaptcha-badge {
  display: none;
}

[data-button-text] a {
  display: none;
}

[data-button-text]::before {
  content: attr(data-button-text);
}

.click-and-drag-top-option,
.click-and-drag-bottom-option,
.click-and-drag-option  {
  display: none;
}

/* For consistant styling of the first page button on 2-step forms */
body label.gn-btn {
    display: inline-block;
    padding: 6px 12px;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    border-radius: 4px;
}

/* Center always center image CTAs */
.genooWidgetButton {
  margin-left: auto;
  margin-right: auto;
}

/* One Page Checkout Integration */
.wcopc #customer_details > .col-1 {
  width: 100%;
}
.wcopc #customer_details > .col-2 {
  display: none;
}

.partition {
    float: left;
    margin-right: -100%;
    width: 100%;
}
.partition-background img {
    max-width: 100%;
}

.row:before, .row:after { display: inline-block; }

html body #buttongenooctaShortcode1,
html body #buttongenooctaShortcode2,
html body #buttongenooctaShortcode3,
html body #buttongenooctaShortcode4,
html body #buttongenooctaShortcode5,
html body #buttongenooctaShortcode6{
    display: inline-block !important;
}

[style*="left:50%"].form-button-submit {
    display: block !important;
}

[data-form-id="123"]::before {
    content: 'Edit this landing page to set up this form.';
    color: rgb(255,50,50);
    font-weight: bold;
    font-size: 38px;
    line-height: 1.2em;
}
[data-form-id="123"] * { display: none; }

.overlay {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
  z-index: 400;
  padding: 12px;
}
.overlay .popup {
  position: relative;
  width: 400px;
  overflow: hidden auto;
  max-height: calc( 100% - 80px );
  max-width: 100%;
  background: #ffffff;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  padding: 40px;
  box-sizing: border-box;
}
.popup[data-rounded="true"]{
    border-radius: 20px;
}
.popup form {
    margin-bottom: 0;
}
.overlay .popup * {
  line-height: 1.2em
}

.close-popup {
    position: absolute;
    top: 8px;
    right: 8px;
    display: block;
    width: 40px;
    height: 40px;
    background: #111;
    color: #ffffff;
}
.close-popup:hover {
    background: #f22;
    cursor: pointer;
}
.close-popup::before {
    content: 'X';
    line-height: 40px;
    text-align: center;
    display: block;
    font-family: arial, sans-serif;

}

.tox-tinymce {
    height: calc( 100% + 20px ) !important;
}

[data-rounded="true"] .close-popup { border-radius: 20px; }
[data-rounded="false"] .close-popup { top:0; right: 0; }

html body [id^="button"],
html body [id^="button"] a,
html body [onclick]:not([onclick=""]),
html body [id^="button"]:hover,
html body [onclick]:not([onclick=""]):hover {
  cursor: pointer !important;
}
.container a {
  display: inherit;
  overflow: auto;
}
