* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
}

h1 {
  font-size: 3.5em;
}

h2 {
  font-size: 2.4em;
  margin-bottom: .5em;
  font-weight: 500;
  margin-top: .5em;
}

h3 {
  font-size: 1.75em;
  font-weight: 500;
  margin-bottom: .5em;
  margin-top: .5em;
}

h4 {
  font-size: 1.33em;
  margin-top: .75em;
  font-weight: 500;
}

h5 {
  font-size: 1.2em;
  margin-top: .5em;
}

p {
  margin-top: 1em;
  line-height: 1.3;
}

ul,
ol {
  margin: 1em 1em 1em 2em;
}

ul li {
  line-height: 1.5;
}

ol li {
  margin: 0 0 1em 0;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--main-text-color);
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

header {
  background: rgba(255, 255, 255, 1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1;
}

header #main-nav-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--main-border-color);
}

a {
  color: var(--main-link-color);
  text-decoration: none;
}

header a {
  font-weight: 100;
  color: inherit;
}

a.more {
  background: var(--main-trans-green);
  margin-top: 1em;
}

/* FONT AWESOME FONT FOR :before :after */
a.more:after,
.full-section.merops-why ul li:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  margin-left: .25em;
  font-size: 75%;
}

a.lnk-btn:hover {
  filter: brightness(105%);
}

a.lnk-btn {
  padding: .5em 1em;
  border-radius: var(--main-border-radius);
  width: max-content;
  transition: filter 0.5s;
  outline: none;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

a.chev:after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  margin-left: .25em;
  font-size: 75%;
  content: "\f054";
}

/* buy/request btn */
a.important-btn {
  background: var(--main-merops-green);
  color: #fff;
}

a.important-invert-btn {
  background: #fff;
  color: var(--main-link-color);
  border: 2px solid var(--main-link-color);
}

a.grey {
  background: rgba(0, 0, 0, 0.05);
  color: #828282;
}

table {
  border-collapse: collapse;
  margin: 1em 0;
  width: 100%;
}

table th {
  font-weight: 500;
}

table th button {
  background: none;
  color: inherit;
  padding: 0;
  margin: 0;
}

table th,
table td {
  text-align: left;
  border-bottom: 1px solid var(--main-border-color);
  padding: .5em;
  vertical-align: top;
}

table.rulesSettings th {
  background: #f2f2f2;
  color: #313131;
}

table.rulesSettings th,
table.rulesSettings td {
  border-bottom: 1px solid rgb(237, 237, 237);
  padding: 0.5em;
  border-right: 1px solid rgb(237, 237, 237);
}

table.rulesSettings th:nth-of-type(even),
table.rulesSettings td:nth-of-type(even) {
  border-right: 0;
}

table.rulesSettings {
  border-collapse: collapse;
  background: rgba(242, 242, 242, 0.1);
  color: #535353;
  width: 100%;
  margin-bottom: 3em;
}

table td.module {
  border-right: 0;
}

ins {
  color: green;
  ;
}

del {
  color: red;
}

#cookie-alert {
  background: #2b2b2b;
  color: rgba(255, 255, 255, 0.75);
  padding: 2em;
  font-size: .8em;
  position: fixed;
  bottom: 0;
  width: 100%;
  display: none;
  box-sizing: border-box;
  z-index: 9;
}

#cookie-alert .cls-btn {
  position: absolute;
  top: .5em;
  right: 1em;
  background: none;
  border: 0;
  line-height: 1;
  font-size: 1.5em;
  color: #fff;
  outline: none;
  cursor: pointer;
}

/*This should be calculated on the fly really, based on the height of the header*/
#head-nudge {
  height: 90px;
}

.section-alt-green .full-section:nth-of-type(odd) {
  background: var(--main-light-green);
}

.section-flip-sides .full-section.xTwo:nth-of-type(odd) .container {
  flex-direction: row-reverse;
}

.full-section {
  padding: 5em 0;
  overflow: hidden;
}

/*This is temporary while I sort out new layout stuff*/
.full-section.xTwo+h2 {
  padding: 1em 0 0 1em;
}

.full-section.less-pad {
  padding: 3em 0;
}

.full-section.automatic-editing-modules {
  background: var(--main-light-grey) !important;
}

.full-section.automatic-markup-add-on {
  background: var(--main-light-grey) !important;
}

.full-section.xTwo .merops-inner-wrap .item:nth-of-type(even) {
  text-align: center;
}

/*
* Currently using '.alt' for ones with no imgs. 
* Also these may never have imgs.
* '.alt' could have a better name.
*/

.full-section.xTwo.merops-panel {
  padding: 3em 0 5em;
  background-color: var(--main-light-green);
}

.full-section.xTwo.thrix-panel {
  background-color: #fff;
}

.shabash-home .full-section.xTwo {
  font-size: 110%;
}



.full-section.xTwo.alt {
  padding: 2em 0;
}

.full-section.xTwo.price-plans {
  padding: 2em 0;
}

.full-section.xTwo.price-plans .container {
  flex-direction: column-reverse;
}

.full-section.xTwo.price-plans .container .item.text {
  text-align: center;
}

.full-section.xTwo.price-plans .container .item.text h1 {
  font-size: 3em;
  font-weight: 500;
}

.full-section.xTwo.price-plans .container .item.image {
  max-width: 96px;
}

.full-section.xTwo.sm {
  font-size: 85%;
  padding: 1em 0;
  background-color: var(--main-light-green);
}

.full-section.xTwo .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.full-section.xTwo .container.merops {
  flex-direction: row;
}

.sm-img-left .full-section.xTwo .container {
  align-items: flex-start;
}

.sm-img-left .full-section.xTwo .container {
  flex-direction: row-reverse;
}

.first-sect-rev .full-section.xTwo:first-of-type .container {
  flex-direction: row-reverse;
}

.full-section.xTwo.sm .container {
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.full-section.xTwo.alt .container {
  justify-content: flex-start;
}

.full-section.xTwo.sm .container .item.text {
  max-width: 450px;
  width: 100%;
  margin-left: 4em;
}

.full-section.xTwo.sm .container .item.image {
  max-width: 128px;
  width: 100%;
}


.full-section.xTwo.alt:nth-of-type(odd) .container {
  flex-direction: row;
}

.full-section.xTwo.alt .container .item {
  flex-basis: auto;
}

.full-section.xTwo .container .item {
  flex-basis: 50%;
}

.full-section.xTwo .container .item.text {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.full-section.xTwo .container .item.text h1+p {
  color: var(--main-medium-grey);
  font-size: 1.75em;
  font-weight: 400;
  margin-bottom: .5em;
}

.full-section.xTwo .container.item.text ul {
  color: var(--main-medium-grey);
}

.full-section.xTwo .container .item.text a.more {
  display: block;
  font-size: 1.2em;
  margin-top: 2em;
}

.full-section.xTwo .container .item.image {
  max-width: 333px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.full-section.xTwo .container .item.image img {
  max-width: 100%;
  width: 100%;
}

.full-section.xTwo:nth-of-type(even) .container .item.image img {
  max-width: 100%;
}

.full-section.xTwo.merops .container .item.image img {
  max-width: 50%;
  width: 100%;
}

.full-section.xTwo .container p {
  margin: 1em 0 0 0;
}

.full-section.xTwo .container p,
.full-section.xTwo .container ul {
  font-size: 1.25em;
  color: var(--main-medium-grey);
}

.full-section h2 {
  margin: 0;
}

.max-width-pad {
  max-width: var(--main-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 22px;
  box-sizing: border-box;
}

.max-width-pad.extra {
  max-width: var(--main-max-width-extra);
}

.dialog {
  max-width: 400px;
}

.dialog[data-dialog-name="mailing-list"] {
  text-align: center;
  border: 1px solid #eee;
  border-radius: 1em;
  padding: 1em;
}

.dialog[data-dialog-name="mailing-list"] .intro {
  font-size: 1.5em;
}

@media screen and (max-width: 780px) {
  .max-width-pad {
    padding: 0 16px;
  }

  .full-section.xTwo .item {
    flex-basis: 50%;
  }

  .full-section.xTwo .item.text {
    max-width: initial;
  }

  .full-section.xTwo.sm .container .item.text {
    max-width: initial;
    text-align: center;
    margin-left: 0;
  }


  .full-section.xTwo .item.text h2 {
    margin-top: 1em;
  }

  .full-section.xTwo .container,
  .full-section.xTwo:nth-of-type(odd) .container {
    flex-direction: column-reverse !important;
  }

  footer .link-groups {
    flex-direction: column;
  }

}

@media screen and (max-width: 550px) {
  .full-section {
    padding: 3em 0;
  }

  .full-section.xTwo .container .item.image {
    padding: 24px;
  }

  .sm-img-left .full-section.xTwo .container .item.image {
    padding: 0;
  }
}


@media screen and (max-width: 265px) {
  body {
    word-break: break-all;
  }

}