html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* End reset styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;900&display=swap');
:root {
  --primary-color: #086d38;
  --border-radius: 8px;
  --hover-color: #000;
  --input-border:  #e7e7e7;
}
body {
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
h1,h2,h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
}
.selection-hints {
    position: relative;
    overflow: hidden;
}
.selection-hints dt {
    display:none;
}
.selection-hints dd {
    position:absolute;
    opacity: 0;
    transition:opacity ease .5s;
}
.selection-hints dd.active {
    opacity: 1;
    position: relative;
}
.selection-hints p {
    font-size: 12px;
    color: #ff0000;
}
.signfix-calc-title {
    max-width:1200px;
    width:90%;
    margin:0 auto;
    padding:10px 0;
    font-size:30px;
    color:var(--primary-color);
    font-weight: bold;
}
.signfix-calc-inputs, .signfix-calc-annotations, .signfix-calc-results {
    background-color: #eee;
    position: relative;
    display:flex;
    flex-flow:column nowrap;
    padding:20px;
}
.two-fields {
    display:flex;
    justify-content:space-between;
    align-items: flex-end;
    margin-top: 10px;
    width:100%;
}
.sq-info {
    display:flex;
    width:100%;
    background-color: #fff;
    padding:20px;
    margin:20px 0;
}
.sq-info em {
    font-weight: bold;
    margin-left: 10px;
    color:var(--primary-color);
}
.two-fields fieldset {
    flex:0 0 48%;

}
.two-fields fieldset:first-of-type {
    margin-right:20px;
}
.signfix-calc-inputs fieldset {
    flex-flow:column nowrap;
    margin-bottom: 0;
    padding:0;
}

.signfix-calc-inputs fieldset:not(.hidden) {
    display:flex;
}

.signfix-calc-inputs fieldset.posts-conditional {
    display:none;
}
.posts-conditional label {
    margin-right: 20px;
}

.signfix-calc-inputs form fieldset:not(:first-of-type) {
    margin-top: 10px;
}
.signfix-calc-inputs form h2 {
    margin-top: 20px;
    font-weight:normal;
    font-size:24px;
}
.signfix-calc-annotations {
    padding:0;
    display:flex;
    background-color: transparent;
}
.signfix-calc-annotations figure {
    position: absolute;
    display:flex;
    height: 100%;
    opacity: 0;
    transition:opacity ease-in-out .5s;
    justify-content: flex-start;
    align-items: flex-start;
    flex-flow:column nowrap;
    border:1px solid var(--input-border);
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.popup-zoom {
    position: absolute;
    bottom:0px;
    right:0px;
    background-color:var(--input-border);
    padding:8px;
    display:flex;
    flex-flow:column nowrap;
    z-index: 99;
    transition:all ease .5s;
    width:43px;
    height: 43px;
    /* box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; */
}
.popup-zoom:active, .popup-close:active{
    position:absolute;
    top: unset;
}
.popup-close:active{
    top:10px;
}
.popup-zoom:hover {
    transform: scale(1.3);
    transform-origin: bottom right;
}
.signfix-calc-annotations figure.active {
    opacity: 1;
}
.signfix-calc-annotations figure img {
   width:auto;
   height: 100%;
 

   display: flex;
   object-fit: contain;
   object-position: center;
}
.signfix-calc-annotations figure.popup img {
    cursor: pointer;
}
.signfix-calc-annotations figure figcaption {
    position: absolute;
    bottom: 0px;
    display:flex;
    padding:10px;
    background-color: #f7f7f7;
    backdrop-filter: blur(4px);
    width:100%;
   
}

/*
* input stylings
*/
form {
    display:flex;
    flex-flow:column nowrap;
    width:100%;
    justify-content: flex-start;
    align-items: flex-start;
}
form fieldset {
    width:100%;
    display:inline-flex;
    margin-bottom: 10px;
}
label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}
input:not([type=radio]),input:not([type=checkbox]), select {
    padding:10px 20px;
    appearance: none;
    border:1px solid #e7e7e7;
    border-radius: var(--border-radius);
    min-height: 38px;
    transition:all ease .5s;
}
input.on-error:not([type=radio]),input.on-error:not([type=checkbox]), select.on-error {
    border-color:red;
}
select {
    background-image: url('../images/dropdown-arrow-green.svg');
    background-repeat: no-repeat;
    background-position: 96% center;
    background-size: 11px;
}
button[type="submit"] {
    background-color: var(--primary-color);
    color:#fff;
    appearance: none;
    border:none;
    display:inline-flex;
    justify-content: flex-start;
    align-items: center;
    padding:10px 30px;
    border-radius: var(--border-radius);
    cursor:pointer;
    transition:all ease .5s;
    font-weight: 900;
    font-size:16px;
    max-width: fit-content;
    margin-top: 10px;
}
button[type="submit"][disabled] {
    pointer-events: none;
    cursor: not-allowed;
    user-select: none;
    background-color: var(--input-border);
    color:#ccc;
}

button:hover,button:focus {
    background-color: var(--hover-color);
}

form button[type=submit] {
    position: relative;
    padding:10px 30px 10px 16px;
    text-align: left;

}
form button[type=submit]:after {
    position: absolute;
    width:12px;
    height: 12px;
    content:'';
    background-image:url('../images/chevron-right.svg');
    background-repeat: no-repeat;
    background-size:contain;
    right:10px;
    filter:invert();
    transition:right ease .5s;
}
form button:hover:after, form button:focus:after {
    right:8px;
}
.slection-hints, .selection-hints dd {
    font-size: 12px;
    line-height: 16px;
}
.selection-hints dd.active {
    font-size: 12px;
    line-height: 16px;
    margin-top: 10px;
    position: relative;
    padding-left: 24px;
    min-height: 25px;
    display: inline-flex;
    justify-content: flex-start;
    /* align-items: center; */
}

.selection-hints dd.active {
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
}

.selection-hints dd.active span {
    display: flex;
    clear: both;
    width: 100%;
    flex-flow: column wrap;
}
.selection-hints dd.active:after {
    content:'';
    width: 16px;
    height: 16px;
    background-image: url('../images/info-icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 3px;
    top: 5px;
}
.notes {
    margin-top: 20px;
    margin-top: 20px;
    background-color: #fff;
    display: inline-flex;
    padding: 16px;
    font-size: 14px;
    line-height: 20px;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
}
input[type=number] {
    appearance: none;
}
.legend-m {
    position: relative;
    z-index: 1;
    width:100%;
}
.legend-m input[type="number"] {
    width:100%;
}
.legend-m:after {
    content:'m';
    width:40px;
    height: 100%;
    position: absolute;
    top:0;
    right:0;
    z-index: 2;
    background-color:#fff;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    border:1px solid var(--input-border);
    display:flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    font-size: 12px;
    font-weight: 400;
}
.result-form {
    display:flex;
    margin:20px auto;
}
.result-form fieldset {
    display:flex;
    flex-flow:column nowrap;
    flex:0 0 100%;
}

/*
input styling ends here
*/
.calc-title {
    color:var(--primary-color);
    font-size:28px;
    margin-bottom: 10px;
    line-height: 2.625rem;
}
p {
    font-size:16px;
    color:var(--text-color);
}
/* media query related rules - breakpoints */
.signfix-calc {
    display: grid;
    grid-gap:20px;
    max-width:1200px;
    width:90%;
    margin:0 auto;
    margin-top: 242px;
}

.signfix-calc-annotations {
    position: fixed;
    width:100%;
    min-height: 235px;
    order:-1;
    top:52px;
    left:0;
    justify-content:center;
    align-items: center;
    z-index: 99;
}
.signfix-calc-results {
    display:flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding:40px;
}
.signfix-calc-results .before-calc h2{
    padding-bottom: 1.5rem;
    font-size: 26px;
}

@media screen and (min-width:768px) {
    .signfix-calc {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows :minmax(100px, auto) auto max-content fit-content(300px);
        max-width:1200px;
        margin-top: 0;
    }
    .signfix-calc-inputs {
        grid-column: 1 / 1;
        grid-row: 1 / 3;
        min-width: 380px;
    }
    .signfix-calc-annotations {
        position: relative;
        grid-column: 2 / 5;
        min-height: 385px;
        height: 385px;
        order:unset;
        width:auto;
        top:0;
        z-index: 2;
        justify-content:flex-start;
        align-items: flex-start;
    }
    .signfix-calc-results {
        grid-column: 2 / 5;
    }
    .result-form {
        flex-flow:row wrap;
        justify-content: space-between;
    }
    .result-form fieldset {
        flex:0 0 48%;
    }
}
.popup-window {
    position: fixed;
    background-color: rgba(0,0,0,.8);
    backdrop-filter: blur(4px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width:1px;
    height: 1px;
    display:flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition:all ease .5s;
    z-index: -1;
}
.popup-window.active {
    width:100%;
    height: 100%;
    opacity: 1;
    z-index: 999;
}
.popup-window .container {
    background-color: #fff;
    width:90%;
    height: 0px;
    position: relative;
    display:flex;
    margin:0 auto;
    opacity: 0;
    transition: all ease .5s .5s;
    max-height: 90%;
}
.popup-window.active .container {
    height: fit-content;
    opacity: 1;
}
.popup-window .container img {
    width:100%;
    height: auto;
    object-fit: contain;
}
.popup-close {
    position: absolute;
    right:10px;
    top:10px;
    text-decoration: none;
    color:var(--primary-color);
    border:1px solid var(--primary-color);
    display:inline-flex;
    padding:10px 18px;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius);
}

#SignfixCalc {
    margin-bottom: 50px;
}

/*
* suitable products temp styling
*/
.suitable-products {
    display:flex;
    flex-flow:row wrap;
    margin-top:20px !important;
}
.suitable-products li {
    flex:0 0 100%;
    background-color: #fff;
    border:1px solid var(--input-border);
    padding:16px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}
.suitable-products li h4 {
    opacity: .4;
}
.suitable-products li .item-code {
    font-weight: 900;
    color:var(--primary-color);
    font-size:24px;
}
.suitable-products li .note {
    font-size: 12px;
    margin-top: 10px;
}
.suitable-products li .warning {
    color:red;
    font-size: 12px;
    margin-top: 10px;
    font-style: italic;
}



@media screen and (min-width:768px) {
    .suitable-products {
        justify-content: space-between;
    }
    .suitable-products li {
        flex:0 0 48%;
    }
    /* .before-calc {
        max-width: 70%;
    } */
}

/*
loader
*/
.calc-loader {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .calc-loader div {
    display: inline-block;
    position: absolute;
    left: 8px;
    width: 16px;
    background: var(--primary-color);
    opacity: .3;
    animation: calc-loader 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
  }
  .calc-loader div:nth-child(1) {
    left: 8px;
    animation-delay: -0.24s;
  }
  .calc-loader div:nth-child(2) {
    left: 32px;
    animation-delay: -0.12s;
  }
  .calc-loader div:nth-child(3) {
    left: 56px;
    animation-delay: 0;
  }
  @keyframes calc-loader {
    0% {
      top: 8px;
      height: 64px;
    }
    50%, 100% {
      top: 24px;
      height: 32px;
    }
  }
  
/* awesomplete */
/* #SignLocation {
    font: 20px Arial, sans-serif;
    border: 1px solid #666;
    border-radius: 7px;
    padding:10px;
  } */

  #SignLocation::-webkit-calendar-picker-indicator {
    display: none;
  }
  .awesomplete [hidden] {
    display: none;
}

.awesomplete .visually-hidden {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}

.awesomplete {
    display: inline-block;
    position: relative;
}

.awesomplete > input {
    display: block;
    width: 100%;
}

.awesomplete > ul {
    position: absolute;
    left: 0;
    z-index: 1;
    min-width: 100%;
    box-sizing: border-box;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
}

.awesomplete > ul:empty {
    display: none;
}

.awesomplete > ul {
	border-radius: .3em;
	margin: .2em 0 0;
	background: hsla(0,0%,100%,.9);
	background: linear-gradient(to bottom right, white, hsla(0,0%,100%,.8));
	border: 1px solid rgba(0,0,0,.3);
	box-shadow: .05em .2em .6em rgba(0,0,0,.2);
	text-shadow: none;
}

@supports (transform: scale(0)) {
	.awesomplete > ul {
		transition: .3s cubic-bezier(.4,.2,.5,1.4);
		transform-origin: 1.43em -.43em;
	}
	
	.awesomplete > ul[hidden],
	.awesomplete > ul:empty {
		opacity: 0;
		transform: scale(0);
		display: block;
		transition-timing-function: ease;
	}
}

	/* Pointer */
	.awesomplete > ul:before {
		content: "";
		position: absolute;
		top: -.43em;
		left: 1em;
		width: 0; height: 0;
		padding: .4em;
		background: white;
		border: inherit;
		border-right: 0;
		border-bottom: 0;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}

	.awesomplete > ul > li {
		position: relative;
		padding: .2em .5em;
		cursor: pointer;
	}
	
	.awesomplete > ul > li:hover {
		background: var( --primary-color );
		color: white;
	}
	
	.awesomplete > ul > li[aria-selected="true"] {
		background: var( --primary-color );
		color: white;
	}
	
    .awesomplete mark {
        background: hsl(65, 100%, 50%);
    }

    .awesomplete li:hover mark {
        background: hsl(68, 100%, 41%);
    }

    .awesomplete li[aria-selected="true"] mark {
        background: hsl(86, 100%, 21%);
        color: inherit;
    }
    .hidden {
        display:none;
    }
    .signfix .api-error{
        max-width: 1200px;
        width: 90%;
        margin: 0 auto;
        padding: 10px 0;
    }
    .signfix .api-error h2{
        padding-bottom: 0.5rem;
        color: var( --wp--preset--color--vivid-red );
    }

.accordion {
    width:100%;
    display:flex;
    flex-flow:column nowrap;
    margin-top: 30px;
}
.accordion .border{
    border: 1px solid var( --primary-color );
    border-radius: var( --border-radius );
    padding:10px;
    background-color: #fff;
}
.accordion .border:not(:last-of-type) {
    margin-bottom: 20px;
}
.accordion dt,
.accordion dd {
    padding: 10px;
    display:flex;
    flex-flow:column nowrap;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.accordion dt a,
.accordion dd a {
    display: block;
    color: var(--primary-color);
    font-weight: bold;
}
.accordion dt a {
    padding:0;
    width:100%;
    position: relative;
    display:flex;
    flex-flow:column nowrap;
    justify-content: flex-start;
    align-items: flex-start;
}
.accordion dt a:after {
    content:'';
    position: absolute;
    right:0;
    top:1px;
    border: solid var(--primary-color);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    transition:transform ease .5s;
}
.accordion dt.active a:after {
    transform: rotate(-135deg);
}

.accordion dd {
    border-top: 0;
    font-size: 12px;
}
.accordion ol {
    list-style-type: decimal;
    margin-left: 20px;
}
.accordion li, .accordion p {
    font-size: 12px;
    line-height: 20px;
    padding-right: 20px;
}
.accordion p {
    margin-bottom: 10px;
   
}
.accordion li:not(:last-child) {
   margin-bottom: 8px;
}
.accordion dd:last-of-type {
    /* border-top: 1px solid white; */
    position: relative;
    top: -1px;
}
.accordion dt a{
    text-decoration: none;
}
.before-calc .accordion p{
    font-size: 12px;
}

.signfix-calc-results h2, .signfix-calc-results p {
    line-height: 1.3em;
}
.signfix-calc .footer-notes{
    margin-top: 20px;
    padding: 15px 10px;
    font-size: 10px;
    font-style: italic;
    background-color: #fff;
    color: #6d6e70;
}

.signfix-calc-annotations .foundation_soil_wA_FA_35 img{
    width:100%;
}

h1, h2, h3, h4, h5, h6 {
    color: #086d38;
    font-weight: 500;
}

.selection-hints p {
    font-size: 12px;
    color: #ff0000;
}