﻿        body {
            -webkit-font-smoothing: antialiased;
            box-sizing: border-box;
        }



        /* 100vh allows last question to scroll properly */
        .buildit {
            position: relative;
        }

        .back-text {
            font-weight: 500;
            font-size: 24px;
            text-align: start;
            color: darkgray;
            text-transform: uppercase;
            cursor: pointer;
        }

        .buildit-questions {
            position: relative;
            display: inline-block;
            width: 50%;
            margin-bottom: 100vh;
        }

        #buildit-questions-top.buildit-questions {
            margin-bottom: 50px;
        }

        .question-section {
            position: relative;
            font-family: "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, Helvetica, Verdana, sans-serif;
            background-color:  #f2f2f1;
            margin-top: 15px;
            margin-bottom: 15px;
            display: block;
        }

        .question-text {
            font-weight: 500;
            font-size: 24px;
            text-align: start;
            padding-left: 10px;
            padding-right: 10px;
            color: #54392d;
            text-transform: uppercase;
        }

        .option-section {
            position: relative;
            min-height: 1px;
            padding-left: 40px;
            padding-right: 10px;

        }

        .tile-option {
            background-color: white;
            display: inline-block;
            position: relative;
            margin-left: 10px;
            margin-right: 10px;
            margin-top: 10px;
            margin-bottom: 10px;
            border: 1px solid black;
            padding-bottom: 100px;
            width: 28%; 
        }
        
        .option-info {
            position: absolute;
            left: 0;
            right: 0;
            margin: 0 auto;
            text-align: center;
            top: 70%;
            padding: 0 5px;
            z-index: 3;
        }
        
        .option-text {
            font-size: 14px;
            color: black;
            text-transform: uppercase;
            letter-spacing: -.5px;
            font-family: TradeGothicLTCom Bold;
        }

        .option-text h4 {
            font-family: "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, Helvetica, Verdana, sans-serif;
            font-weight: 500;
            font-size: 18px;
            text-align: center;
            margin: 0;
            line-height: 1.22;
        }


        .answer-tile-text-active {
            color:  white;
        }

        .price-active {
            color:  yellow;
        }

        .option-price-adder {
            font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
            font-size: 16px;
            text-align: center;
        }

        .option-rank {          
            text-align: center;
            font-size: 14px;
        }

        .option-pct {          
            text-align: center;
            font-size: 14px;
        }

        .prev-question {
            position: absolute;
            right: 10px;
            top: 6px;
        }

        .tile-check {
            position: absolute;
            text-align: center;
            background-size: 60px 60px;
            width: 60px;
            height: 60px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);

        }

        .tile-disabled {
            background-color: #ccccca;
            opacity: .5;
            z-index: 2;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            margin: auto;
            position: absolute;
            display: none;
        }

        .disabled {
            display: block;
        }

        .tile-image-div {        
            width: auto;
            display: block;
            margin: auto;
            max-width: 100%;
            height: 200px;
        }
		
		.tile-image {
			height: 100%;
			width: 100%;
			object-fit: contain;
		}

        .tile-selected {
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            margin: auto;
            position: absolute;
            background: linear-gradient(transparent,#594734);
            opacity: .75;
        }

        .product-image-section .tile-selected {
            opacity: .25;
        }

        .option-selectable {
            height: 52px;
            margin: 1px;
            width: 15%;
            padding-bottom: 0px;
        }

        .option-selectable.long-text {
            height: 76px;
            margin: 1px;
            width: 28%;
            padding-bottom: 0px;
        }

        .option-selectable .option-info {
            top: 10px;
        }

        .option-selectable .answer-tile-text-active {
            color: black;
        }

        .tile-selectable {

        }

        .tile-selectable .ui-selecting { background: #FECA40; }
        .tile-selectable .ui-selected { background: #F39814; color: white; }
        .tile-selectable { list-style-type: none; margin: 0; padding: 0; width: 60%; height: 70%;}
        .tile-selectable li { margin: 3px; padding: 0.4em; font-size: 1.4em; height: 18px; }
  









        .question-container {
            background-color: #f2f2f1;
        }

        .question-closed {
            margin-left: auto;
            margin-right: auto;
            height: 125px;
            margin-top: 15px;
            text-align: center;
            text-transform: uppercase;
            margin-bottom: 15px;
        }

        .question-closed-text {
            font-size: 24px;
            color: #d1d1cf;
            padding-top: 50px;
            display: block;
        }

        .question-closed .question-text {
            font-size: 24px;
            color: #d1d1cf;
            padding-top: 50px;
            display: block;
        }

        .question-closed .option-section {
            display: none;
        }

.btn-question-next {
    position: absolute;
    bottom: 10px;
    right: 10px;
    text-align: center;
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
    padding: 5px;
    border: 0;
    color: #fff;
    background-color: #a59e9e;
}


        .buildit-product {
            top: 20px;
            position: sticky!important;
            position: -webkit-sticky;
            display: inline-block;
            vertical-align: top;
            height: 100%;
            width: 300px;
            padding-left: 0!important;
            padding-right: 0!important;
            margin-top: 15px;
            margin-left: 40px;
            border: 1px solid black;
            font-family: "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, Helvetica, Verdana, sans-serif;
        }

        .hide-elements {
            display: none;
        }

        .product-image-section {
            position: relative;
            z-index: 3;
        }

        .product-image-section .tile-image {
            height: 300px;
            width: 100%;
            object-fit: contain;
            overflow: hidden;
        }

        .product-choices {
            max-height: 35vh;
            overflow-y: auto;
            border: 4px solid transparent;
            padding-left: 10px;
            padding-right: 10px;
        }

        .product-choice {
            position: relative;
            display: block;
            padding-bottom: 10px;
        }

        .product-choice-hdr {
            font-size: 16px;
            font-weight: bold;
            color: #c08b15;
            cursor: pointer;
            text-transform: uppercase;
        }

        .product-choice-text {
            font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
            font-size: 16px;
            line-height: 1.42857;
            color: #54392d;
        }

        .product-price {
            color: darkgreen;
            font-size: 30px;
            font-weight: bold;
            text-align: center;
        }

        .product-match-results {
            background-color: beige;
            color: black;
            font-size: 12px;

        }

        .btn-buynow {
            width: 100%;
            text-align: center;
            font-size: 16px;
            line-height: 1;
            text-transform: uppercase;
            padding: 5px;
            border: 0;
            color: #fff;
            background-color: #54392d;
        }

        .btn-quote {
            font-size: 16px;
            font-weight: bold;
            width: 100%;
            border-top: 1px dashed #d1d1cf;
            color: #c08b15;
            padding: 5px 0;
            text-align: center;
            text-transform: uppercase;
        }

        .product-sku {
            font-size: 12px;
            font-style: italic;
            text-align: center;
        }

        .product-matches {
            text-align: center;
            font-weight: 700;
        }

        #showPct {
            position: absolute;
            left: 25px;
        }

        #showRank {
            position: absolute;
            right: 25px;
        }

        .ui-progressbar {
            position: relative;
        }
        
        .progress-label {
            position: absolute;
            left: 0;
            right: 0;
            font-weight: bold;
            text-shadow: 1px 1px 0 #fff;
            text-align: center;
            font-size: 16px;
            font-family: "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, Helvetica, Verdana, sans-serif;
        }


        #products-grid-dialog {
            width: 50vw;
        }

        .product-list {
            position: relative;
        }

        .product-list-hdr {
            font-size: 24px;
            color: maroon;
        }

        .product-list-item {
            position: relative;
            display: inline-block;
            width: 18%;
            border: 1px solid lightgray;
            vertical-align: top;
            height: 200px;
            margin-bottom: 10px;
            margin-left: 10px;
            overflow: hidden;
        }
    
        .product-list-item-image {
           
        }

        .product-list-item-sku-desc {
            overflow: hidden;
            max-height: 106px;
        }

        .product-list-item-desc {
            font-size: 12px;
            margin-left: 5px;
            margin-right: 5px;
        }

        .product-list-item-sku {
            font-size: 12px;
            font-style: italic;
            text-align: center;
            margin: 5px;
        }

        .product-list-item-price {
            position: absolute;
            color: darkgreen;
            font-size: 14px;
            font-weight: bold;
            text-align: center;
            bottom: 0px;
            left: 0px;
            right: 0px;
        }

        .product-list-page-control {
            font-family: helvetica-neue,Helvetica Neue,Helvetica,Arial,sans-serif;
            font-size: 1.0rem;
        }

        .product-list-item-img {
            height: 75px;
            width: 100%;
            object-fit: contain;
            overflow: hidden;
        }

        nav {
            text-align: center;
        }

        .product-list-page-wrapper {
            list-style: none;
            margin: 1em auto 1em;
            color: #3e7697;
            width: auto;
            max-width: none;
            border-radius: 2em;
            border: 1px solid #ccc;
            padding: 0px;
            overflow: hidden;
            display: inline-block;
        }

        .product-list-page-item:first-of-type .product-list-page-link {
            border-radius: 2em 0 0 2em;
        }

        .product-list-page-item:last-of-type .product-list-page-link {
            border-radius: 0 2em 2em 0;
        }

        .product-list-page-item {
            margin: 0;
            float: left;
            border-right: 1px solid #ccc;
        }

        .product-list-page-link {
            user-select: none;
            font-size: 1.0rem;
            float: left;
            border-radius: 0;
            padding: 8px 20px;
            vertical-align: middle;
        }

        a.product-list-active-page {
             background-color: #1b7e14;
            border-color: #1b7e14;
            color: #fff;
            font-weight: 700;
            pointer-events: none;
        }

        .product-list-item-back {
            position: absolute;
            top: 0px;
            bottom: 0px;
            left: 0px;
            right: 0px;
            background: linear-gradient(transparent,#2d6c0c);
            opacity: 0.25;
        }



        .tooltip-templates { display:none }

        #qdialog label,p {
            display: block;
            font-size: 14pt;
        }

        #qdialog input {
            font-size: 14pt;
            margin-bottom: 12px;
            width: 95%;
            padding: .4em;
        }

        .tooltip-table {
            padding: 2px;
            
        }

        .tooltip-image {
            height:  50px;
            width: auto;
        }







.pagination {
/*    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 10px;
    background-color: #fff;
    border-radius: 40px;
    box-shadow: 0 5px 25px 0 rgba(0, 0, 0, 0.5);
    */
margin:0;
padding: 10px;
width:auto;
}

.pagination li {
    display: inline-block;
    list-style: none;
}

.pagination li a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: #fff;
    text-align: center;
    text-decoration: none;
    color: #252525;
    border-radius: 4px;
    margin: 5px;
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.pagination li a:hover, .pagination li a.active {
    color: #fff;
    background-color: #1b7e14;
}

.pagination li:first-child a {
    border-radius: 40px 0 0 40px;
}

.pagination li:last-child a {
    border-radius: 0 40px 40px 0;
}
			