:root {
    --calculatorShownDisplay: none;
    --calculatorShown: 0;
    --initializing: 1;
    --sponsorImageRight: calc(-101vw);
}

@font-face {
    font-family: 'montserratregular';
    src: url('../assets/fonts/montserrat-regular-webfont.woff2') format('woff2'),
         url('../assets/fonts/montserrat-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

html, body{
    margin: 0;
    padding: 0;
    height: 100vh;
    height: calc((var(--vh, 1vh) * 100));
    width: 100%;
}
body {
    font-family: 'montserratregular', Arial, Helvetica, sans-serif;
    font-size: 12pt;
    background-color: rgba(255,255,255,1);
    overflow-y: hidden;
    overflow-y: var(--contentOverflowY);
    overflow-x: hidden;
    min-height: 100%;
    cursor: default;
    user-select: none;
}

.forceHardwareAcceleration{
	-webkit-transform: translate3d(0, 0, 0);
	-webkit-backface-visibility: hidden;
	-webkit-perspective: 1000;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
	perspective: 1000;
}

.logo{
    transition: all 0.5s, margin 0.5ms;
    width: 110%;
    grid-row-start: 1;
    grid-row-end: 1;
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--logoTop);
}

#logoSVG{
    opacity: .2;
    opacity: calc(.2 + (var(--calculatorShown) * .8) * (1 - var(--initializing)));
    transition: all 0.5s;
    color: rgb(46, 50, 84);
}

.headerLabel {
    padding-top: 2%;
    padding-bottom: 1%;
    font-weight: bold;
    font-size: 2em;
    color: rgb(77, 184, 158);
}

.content {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: var(--contentBottom);
    left: 0;
    overflow-y: hidden;
    overflow-y: var(--contentOverflowY);
    overflow-x: hidden;
    background-color: rgba(255,255,255,1);
    font-size: calc(var(--calculatorContentWidth) * 0.04);
/* Force hardware rendering for transitions */
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
	-webkit-perspective: 1000;
    -moz-transform: translate3d(0, 0, 0);
    -moz-backface-visibility: hidden;
	-moz-perspective: 1000;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
	perspective: 1000;
}

.topBanner {
    height: 50px;
    height: var(--bannerHeight);
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 1;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

.autocomplete {
    position: relative;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}

.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
}

.sponsorImage {
    height: 96%;
    top: 4%;
    position: absolute;
    right: var(--sponsorImageRight);
    width: var(--sponsorImageWidth);
    transition: all 0.4s;
    display: block;
    /* display: var(--landingShownDisplay); */
}

.sponsorImage img{
    max-height: 100%;
    max-width: 100%;
}

@media (orientation: landscape){
    .sponsorImage img{
        min-height: 100%;
    }
}

@media (orientation: portrait){
    .sponsorImage img{
        min-width: 100%;
    }
}

.rightColumn {
    display:grid;
    position: absolute;
    width: 80%;
    width: var(--rightColumnWidth);
    height: 100%;
    transition: all 0.5s;
    left: var(--rightColumnLeft);
}

.stateSelectorMainContainer{
    width: 85%;
    margin-left: 15%;
    grid-row-start: 2;
    grid-row-end: 2;
    transition: all 0.5s ease;
    font-size: 100%;
    opacity: calc(1 * (1 - var(--calculatorShown)) * (1 - var(--initializing)));
    display: block;
    display: var(--landingShownDisplay);
}

.stateSelectorContainer{
    width: 100%;
    height: 20%;
    float: right;
    z-index: 1;
}

.stateSelectorInput{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    color: rgba(112,112,112,1);
    padding-left: 8%;
    font-weight: bold;
    font-size: 1em;
    letter-spacing: .02em;
    width: 100%;
    height: 100%;
    float: left;
    border: none;
    border-bottom: 1px solid gray;
    border-radius: 0px;
    z-index: 2;
    cursor: pointer;
}

.stateSelectorInput:focus{
    outline: none;
}

.stateSelectorContainer:after{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: absolute;
    height: 100%;
    width: 20%;
    right: 0;
    content: ' ';
    background: url(../assets/images/arrowThick.png) 45% 51% / 73% no-repeat;
    border-left: 1px solid gray;
    z-index: -1;
}

.stateSelectorArrow{
    background-color: transparent;
    border-bottom: 1px solid gray;
    border-top: none;
    border-right: none;
    padding-left: 2px;
    padding-bottom: 4px;
    padding-top: 11px;
    max-width:26px;
    float: left;
}

.stateSubmitButtonContainer{
    position: relative;
    width: 80%;
    min-width: 130px;
    margin-left: 4%;
}

#stateSubmitButton{
    background-color: rgba(194,123,14,23);
    border-radius: 50px;
    color: white;
    font-weight: bold;
    font-size: 0.9em;
    margin-top:10%;
    margin-left: 20%;
    margin-left: var(--stateSubmitButtonMarginLeft);
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.recipeButtonContainer{
    position: relative;
    width: 80%;
    min-width: 130px;
    margin-left: 4%;
}

#recipeButton{
    background-color: rgba(194,123,14,23);
    border-radius: 50px;
    color: white;
    font-weight: bold;
    font-size: 0.9em;
    margin-top:10%;
    margin-left: 20%;
    margin-left: var(--stateSubmitButtonMarginLeft);
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.calculatorContent{
    display: none;
    display: var(--calculatorShownDisplay);
    width: var(--calculatorContentWidth);
    height: var(--calculatorContentHeight);
    transition: all 0.4s;
    background-color: rgb(45, 51, 81);
    position: absolute;
    border-radius: 22px;
    filter: drop-shadow(2px -8px 6px rgba(0, 0, 0, 0.161));
    overflow: hidden;
    margin-left: var(--calculatorMarginLeft);
    top: 115px;
    top: var(--calculatorContentTop);
}
.calculatorBackground{
    width: 100%;
    height:100%;
    position:absolute;
}
.volumeButtonContent{
    display: flex;
    justify-content: center;
    flex-direction: column;
    position:relative;
    width:100%;
    height:60%;
    top:5%;
}

.volumeButtonRow{
    display:flex;
    flex-direction: row;
    justify-content: center;
    height:33%;
    width: 95%;
    margin: auto;
}

.volumeButtonColumn{
    width: 30%;
    height: 100%;
    margin:auto;
    overflow: visible;
}

.volumeButton{
    position: relative;
    width: 100%;
    height: 65%;
    margin: auto;
    cursor: pointer;
}

.volumeButtonSVG{
    background-color: rgba(75,84,118,1);
    filter: drop-shadow(-0.1em 0.5em 0.6em rgba(0, 0, 0, 0.161)); 
    border-radius: 0.2em;
    position: absolute;
    overflow: visible;
    left: 0px;
    top: 0px;
    opacity: 0.9;
    width: 100%;
    height: 100%;
}

.volumeButtonLabel{
    width: 80%;
    height: 80%;
    text-align: center;
    position: relative;
    overflow: visible;
    white-space: nowrap;
    font-style: normal;
    font-weight: bold;
    color: rgba(255,255,255,1);
    letter-spacing: 0.05em;
    padding-top: 8%;
    padding-left: 10%;
}

.volumeButtonLabelLine{
    height: 50%;
    width: 100%;
}

.volumeButtonMLSpan{
    font-weight: normal;
    font-style: normal;
}

.volumeButtonLeftSVG{
    position: absolute;
    background-color: rgba(239,177,64,1);
    left: 0px;
    width: 3%;
    height:100%;
    border-radius: 0.2em 0em 0em 0.2em;
}

.listPriceLeftSVG{
    position: relative;
    width: 2%;
    height: 100%;
    float: left;
}

.backButton{
    display: none;
    display: var(--calculatorShownDisplay);
    position: absolute;
    top:calc(var(--calculatorContentTop) - (var(--calculatorContentWidth) * 0.03));
    top: calc(var(--calculatorContentTop) - 0.3em);
    height: calc(var(--calculatorContentWidth) * 0.08);
    width: calc(var(--calculatorContentWidth) * 0.4);
    z-index: 1;
    transition: all 0.4s;
    margin-left: var(--calculatorMarginLeft);
    cursor: pointer;
}

.backButtonLabel{
    position:absolute;
    left: 22%;
    top:26%;
    font-weight: bolder;
    color: rgba(255,255,255,1);
}

.backButtonArrow{
    position:absolute;
    color: rgba(255,255,255,1);
    width: 15%;
    height: 90%;
    left: 2%;
    top: 5%;
    transform: rotate(180deg);
}

.backButtonSVG{
    position: absolute;
    border-radius: 0em 0.5em 0.5em 0em;
    height:100%;
    width: 100%;
}

.listPriceContent{
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: calc(var(--calculatorContentHeight) * 0.07);
    margin-top: 14%;
}

.listPriceInputContainer{
    width: 94.5%;
    margin: auto;
    background-color: rgb(250, 250, 250);
    border-radius: 0.3em;
    overflow: hidden;
}

.listPriceInput{
    position: relative;
    float: left;
    width: 87%;
    height:100%;
    background-color: transparent;
    border: none;
    padding-left: 2%;
    font-size: inherit;
    font-weight: bold;
    color: rgba(47,60,92,1);
    z-index: 1;
}

.priceTag{
    position:absolute;
    top: 17%;
    right:5%;
    height: 65%;
    transform: matrix(1,0,0,1,0,0);
}

.totalContent{
    opacity: 0;
    opacity: calc(var(--modalShown) * 0.996);
    z-index: 2;
    position: absolute;
    overflow: hidden;
    width: 84%;
    width: var(--totalContentWidth);
    height: var(--totalContentHeight);
    top: 200px;
    top: var(--totalContentTop);
    left: 8%;
    left: var(--totalContentLeft);
    display: none;
    display: var(--modalDisplay);
    background-color: rgba(46,50,84,.9);
    background-color: var(--totalContentColor);
    border-radius: 8px;
    transition: all 0.5s;
}

.modalNotificationContainer{
    display: block;
    display: var(--notificationModalDisplay);
    position: absolute;
    top: 30%;
    top: var(--notificationModalTop);
    left: 30%;
    width: 45%;
    max-height: var(--notificationModalMaxHeight);
    backdrop-filter: blur(5px);
    background-color: rgba(255,255,255,0.8);
    border: 0.1em solid rgba(46, 50, 84, 0.2);
    border-radius: 0.2em;
    overflow: hidden;
    transition: all 0.15s;
    z-index: 10;
}
@media only screen and (max-width: 525px){
    .modalNotificationContainer{
        left: 15%;
        width: 70%;
    }
}
@media only screen and (max-width: 725px){
    .modalNotificationContainer{
        left: 20%;
        width: 60%;
    }
}

.modalNotificationContainer:before{
    position: absolute;
    top: 0;
    left: 0;
    width: 10%;
    height: 100%;
    background-color: rgba(239,177,64,1);
    content: ' ';
}

.modalNotificationScrollDiv{
    width: 100%;
    height: 100%;
    width: var(--notificationModalWidth);
    height: auto;
    max-height: var(--notificationModalMaxHeight);
    overflow-y: scroll;
    overflow-x: hidden;
}

.modalNotification{
    width: 82%;
    height: 90%;
    padding: 0% 0% 0% 15%;
    text-align: left;
    color: rgba(112,112,112,0.8);
}

.modalNotification a{
    padding-bottom: 1em;
}

.modalNotificationButtonDiv{
    display: flex;
    width: 90%;
    flex-direction: row;
}

.modalNotification button{
    background-color: rgba(239,177,64,1);
    color: rgba(255,255,255,1);
    width: 40%;
    height: 2em;
    margin: auto;
    border: none;
    border-radius: 0.3em;
    font-size: 1.5em;
    font-weight: bolder;
}

.modalNotification h1, .modalNotification h2, .modalNotification h3{
    color: rgba(239,177,64,1);
}

.modalNotification h4{
    color: rgba(112,112,112,0.8);
    font-weight: bold;
    margin-bottom: -1em;
}

.modalClose{
    display: none;
    display: var(--modalCloseDisplay);
    width: 1em;
    height: 1em;
    position: absolute;
    right: 1.5em;
    top: 1em;
    border-radius: 50%;
    text-align: center;
    background-color: rgba(239,177,64,1);
    color: rgba(255,255,255,1);
}

.modalClose:before{
    content: 'x';
    position: absolute;
    left: 26%;
    top: -16%;
}

/* Width */
::-webkit-scrollbar {
    width: 8px;
}
  
/* Track */
::-webkit-scrollbar-track {
    border-radius: 6px;
    background-color: rgba(112,112,112,0.2);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgba(239,177,64,1); 
    border-radius: 6px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgba(209,147,34,1); 
}

.circleDiv{
    border-radius: 50%;
    background-color: rgb(255,255,255);
    position: relative;
    height: auto;
    top: 40%;
    left: 50%;
    z-index: -1;
}

.totalOuterRing{
    width: 0;
    height: 0;
    margin: 0;
    opacity: .05;
    transition: all 0.5s;
}

.totalMiddleRing{
    width: 0;
    height: 0;
    margin: 0;
    opacity: .1;
    transition: all 0.5s;
}

.totalInnerRing{
    width: 0;
    height: 0;
    margin: 0;
    opacity: .6;
    transition: all 0.5s;
}

.totalInnerCircle{
    width: 0;
    height: 0;
    margin: 0;
    opacity: 1;
    transition: all 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: var(--totalInnerCircleBorder);
}

.totalLabel{
    position: absolute;
    top: 10%;
    display: flex;
    display: var(--totalFormFlexDisplay);
    justify-content: center;
    font-size: 0em;
    font-size: calc(var(--totalFormVisible) * 1.3em);
    font-weight: bolder;
    color: rgba(239,177,64,1);
    opacity: 0;
    opacity: calc(var(--totalFormVisible) * 1);
    transition: all 0.5s;
}

.centerLabel{
    position: absolute;
    top: 35%;
    display: flex;
    display: var(--totalFormFlexDisplay);
    justify-content: center;
    font-size: 0em;
    font-size: calc(var(--totalFormShown) * 2em);
    font-weight: bolder;
    color: rgba(46,50,84,1);
    opacity: 0;
    opacity: calc(var(--totalFormShown) * 1);
    transition: all 0.5s;
}

.totalConfirmButton{
    position: relative;
    top: 88%;
    width: 16%;
    margin-left: -8%;
    border: 2px solid transparent;
    border: var(--totalConfirmButtonBorder);
    opacity: 1;
    transition: .45s;
    cursor: pointer;
}

.totalConfirmCheckbox{
    position: absolute;
    width: 30%;
    height: 30%;
    left: 35%;
    top: 37.5%;
    opacity: 0;
    opacity: calc(var(--totalFormVisible) * 1);
    transition: all 0.5s;
    display: none;
    display: var(--totalFormDisplay);
}

.summarySubLabel{
    position: absolute;
    top: 112%;
    display: flex;
    display: var(--modalShownFlexDisplay);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    width: calc(var(--calculatorContentWidth) * 0.84);
    color: rgba(239,177,64,1);
    color: var(--summarySubLabelColor);
    font-size: 0em;
    font-size: calc(var(--modalShown) * 1em);
    font-weight: bolder;
    opacity: 0;
    opacity: calc(var(--modalShown) * 1);
    transition: all 0.5s;
}

.summarySubLabelTop{
    font-weight: var(--summarySubLabelTopFontWeight);
    font-size: calc(1.3em * var(--contactFormVisible) 1em * (1 - var(--contactFormVisible)));
    padding-bottom: calc(var(--contactFormShown) * 5%);
}

.summarySubLabelMid{
    display: none;
    display: var(--summarySubLabelMidDisplay);
}

.pencilIconDiv{
    position: absolute;
    top: 0;
    padding-top: 34%;
    height: 35%;
    width: 35%;
    transition: all 0.5s;
}

.pencilIcon{
    width: 100%;
    display: none;
    display: var(--contactFormDisplay);
    opacity: calc(var(--contactFormShown) * 1);
    transition: all 0.5s;
}

.menuButton{
    display: block;
    /* display: var(--calculatorShownDisplay); */
    z-index: 2;
    left: -100px;
    left: calc(var(--menuLeft) + ((-100px - var(--menuLeft)) * (1 - var(--calculatorShown))));
    position: absolute;
    transition: all 0.3s;
    top: var(--menuTop);
    height: 0.5em;
    width: 1.5em;
    border-top: 0.2em solid;
    border-bottom: 0.2em solid;
    border-color: rgb(239, 177, 64);
    cursor: pointer;
}

.menuBackDiv{
    height: 1em;
    background-image: url("/assets/images/leftarrow.svg");
    background-repeat: no-repeat;
}

.contactButton{
    position: absolute;
    width: 40%;
    height: 30%;
    top: 35%;
    left: 30%;
    opacity: 0;
    opacity: calc(var(--contactFormShown) * 1);
    display: none;
    display: var(--contactFormDisplay);
    transition: all 0.5s;
}

#modalBlocker{
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 5;
}

.modalLockEngage{
    filter: contrast(200%);
}



/* menu */

.menuContent.hidden{
    left: -70%;
    opacity: 0;
    visibility: hidden;
    transition: left 0.2s, opacity 3s, visibility 3s;
}

.menuContent{
    background-color: rgb(255, 255, 255);
    color: rgba(46,50,84,1);
    padding-top: var(--menuTop);
    font-size: 1.3em;
    height: 100%;
    width: 70%;
    top: 0;
    left: 0;
    z-index: 4;
    position: absolute;
    opacity: 1;
    visibility: visible;
    transition: left 0.2s, opacity 0.1s, visibility 0.1s;
    transition-timing-function: ease-in;
}

.menuList{
    list-style-type: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.menuItem{
    padding: 0.8em 1.5em;
    cursor: pointer;
}

.menuItem:hover{
    background-color: rgb(239, 177, 64);
}

.addToHomeScreenButton {
    position: absolute;
    top: -50px;
    top: var(--addToHomeScreenButtonTop);
    left: 0px;
    width: 100%;
    border: none;
    border-radius: 0em 0em 1em 1em;
    background-color: rgb(239, 177, 64);
    color: white;
    display: none;
    display: var(--addToHomeScreenButtonDisplay);
    transition: all 1s;
    height: 0px;
    height: var(--addToHomeScreenButtonHeight);
    z-index: 10;
    font-weight: bold;
    font-size: 1.2em;
}


.bottomBanner{
    position: absolute;
    top: var(--bannerTop);
    bottom: 0;
    left: 0;
    right: 0;
    /* background-color: rgba(112,112,112,1); */
    /* border: 0.2em solid rgba(50, 50, 50, 0.5); */
    text-align: center;
    line-height: var(--bannerHeight);
    overflow: hidden;
}

.bottomBanner iframe{
    /* box-shadow: inset 0px 0px 5px 1px darkturquoise; */
}




div#amzn-native-ad-0{
    margin-top: -20px !important;
}