
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v16/mem8YaGs126MiZpBA-UFVZ0b.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

div {
  box-sizing: border-box;
}

div.calc-holder
{
  width:60%;
  height:400px;
}
body {
  background: #f3f5f7;
  background-size: 100% auto;
  width: 100vw;
  overflow-x: hidden;
  font-size: 16px;
  font-family: Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;
  color: #535456;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

body, html {
  position: relative;
  height: 100%;
}


a {
  color: #7cbb43;
}

p.content
{
  text-align: center;
}
#cboxLoadedContent {
  border: 0;
  background-color: transparent;
}

.modal-colorbox-close{
  background-color: transparent;
  border:0 !important;
  background-image: none;
  padding: 5px;
  width: 35px;
  height: 35px;
  opacity: 1;
  display: inline-block;
  vertical-align: right;
  position: relative;
  right: 0px;
  background-size: 45px 100%;
  background-repeat: no-repeat;
  background-position: right;
}

.modal-colorbox-close .line:nth-child(2){
  opacity: 0;
}
.modal-colorbox-close-div{position:absolute;right:4px;top:0;}
.modal-colorbox-close-div .modal-colorbox-close {
  position:relative;
}
.modal-colorbox-close-div .modal-colorbox-close .line {
  width: var(--main-paddingx2);
  max-width: 28px;
  height: 2px;
  background-color: #ecf0f1;
  display: block;
  margin: 6px auto;
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.modal-colorbox-close .line:nth-child(1){
  -webkit-transform: translateY(7px) rotate(45deg);
  -ms-transform: translateY(7px) rotate(45deg);
  -o-transform: translateY(7px) rotate(45deg);
  transform: translateY(7px) rotate(45deg);
}

.modal-colorbox-close .line:nth-child(3){
  -webkit-transform: translateY(-9px) rotate(-45deg);
  -ms-transform: translateY(-9px) rotate(-45deg);
  -o-transform: translateY(-9px) rotate(-45deg);
  transform: translateY(-9px) rotate(-45deg);
}


.md-trigger-calculator{
  top: 10px;
  line-height: 45px;
  color: #fff;
  background-color: #7cbb43;
  height: 45px;
  width: 45px;
  background-image: url(../images/calc_icon.svg);
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center;

}

button
{
  outline: none;
  cursor: pointer;
}

/* MODAL CALCULATOR */
html.fixed,
body.fixed{
  overflow:hidden;
  -webkit-overflow-scrolling:touch;
  position:relative;
}
#modal-calculator{
  background-color: #f3f5f7;
  position: relative;
}
#modal-calculator .inner-wrapper{
  padding-left: 30px;
  padding-right: 30px;
}
#modal-calculator .modal-header {
  background-color: #8ab855;
  color: #ffffff;
  padding-top: 25px;
  padding-bottom: 25px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
}
#modal-calculator .modal-scrollable {
  max-height: 80vh;
  overflow-y: auto;
  padding-top: 90px;
  padding-bottom: 100px;
}
#modal-calculator p{
  margin: 0;
}
#modal-calculator .modal-header p {
  font-size: 21px;
  line-height: 21px;
  word-break: break-all;
}
#modal-calculator .modal-header .modal-colorbox-close-div {
  right: 25px;
  top: 25px;
}
#modal-calculator .modal-header p span {
  font-size: 41px;
  line-height: 41px;
}
#modal-calculator .modal-intro {
  background-color: #f3f5f7;
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: center;
}
#modal-calculator .modal-intro p {
  font-size: 13px;
  line-height: auto;
  color: #666666;
}
#modal-calculator .modal-content {
  background-color: #ffffff;
}
#modal-calculator .modal-content .calculator-section {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 30px;
  border-bottom: 1px solid #f3f5f7;
}
#modal-calculator .modal-content .calculator-section {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 30px;
  border-bottom: 1px solid #f3f5f7;
}
#modal-calculator .modal-content .calculator-section .section-error {
  color: red;
  font-size: 13px;
  padding: 34px 0 0;
  font-weight: bold;
}
#modal-calculator .modal-content .calculator-section h4 {
  font-size: 15px;
  line-height: 15px;
  color: #1c3625;
}
#modal-calculator .modal-content .calculator-section select {
  width: 100%;
  margin-bottom: 15px;
}
#modal-calculator .modal-content .calculator-section input {
  text-align: center;
  padding: 0;
}
#modal-calculator .modal-content .calculator-section input.form-error {
  /* background-color: #ff9393; */
}
#modal-calculator .modal-content .calculator-section-rectangle .col,
#modal-calculator .modal-content .calculator-section-triangle .col {
  float: left;
  width: 43%;
}
#modal-calculator .modal-content .calculator-section-rectangle .col.divider,
#modal-calculator .modal-content .calculator-section-triangle .col.divider {
  width: 14%;
  text-align: center;
  line-height: 45px;
  color: #a8bac2;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
}
#modal-calculator .modal-footer {
  background-color: #f3f5f7;
  padding-top: 30px;
  padding-bottom: 30px;
  position: fixed;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 10;
}
#modal-calculator .modal-footer .trigger-add-section {
  background-color: #ffffff;
  color: #8ab855;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 45px;
  display: block;
  text-align: center;
  font-weight: 700;
  letter-spacing: .2em;
  text-decoration: none;
}
#modal-calculator .modal-templates {
  display: none;
}

@media screen and (max-width: 767px) {
  /* #modal-calculator .modal-scrollable {
    padding-bottom: 140px;
  } */
  /* #modal-calculator .modal-footer {
    bottom: 40px;
  } */
}
@media screen and (max-width: 410px) {
  #modal-calculator {
    /* #modal-calculator .modal-scrollable { */
    height: 100vh;
    max-height: 100vh;
  }
  #modal-calculator .modal-scrollable {
    padding-bottom: 0;
    max-height: 70vh;
  }
  #modal-calculator .modal-footer {
    position: relative;
  }
}


/* FORMS */


input, textarea {
  height:45px;
  line-height: 45px;
  border:none;
  text-transform: uppercase;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.2em;
  background-color: #f3f5f7;
  color: #535456;
  padding-left: 20px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0px;
}

textarea {
  height:135px;
  padding: 20px;
  line-height: 1.8em;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0em;
  font-size: 1em;
}

textarea::placeholder {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.75em;
}

input::placeholder, textarea::placeholder {
  color: #a8bac2;
}


select {
  height:45px;
  line-height: 45px;
  border:none;
  text-transform: uppercase;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.2em;
  background-color: #7cbb43;
  color: #fff;
  padding-left: 20px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0px;
  margin:10px 0;

  background-size: 45px 45px;
  background-repeat: no-repeat;
  background-position: right center;
  background-image: url(../images/icn-arrow.png);
}

textarea, select {
  -webkit-appearance: none;
}



:root {
  --main-padding: 4vw;
  --main-paddingx2: 8vw;
  --main-paddingx3: 24vw;
}

@media screen and (min-width: 415px) {

  /*MAIN VARIABLES*/
  :root {
    --main-padding: 16px;
    --main-paddingx2: 32px;
    --main-paddingx3: 94px;
  }
}

.clear:after {
  clear: both;
  display: block;
  content: "";
}
