html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/************ CUSTOM - CSS **************/
.stepper-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;

    @media (max-width: 768px) {
        font-size:12px;
    }
}

.stepper-item::before {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 40px;
    left: -50%;
    z-index: 2;
}

.stepper-item::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 40px;
    left: 50%;
    z-index: 2;
}

.stepper-item .step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
    margin-bottom: 6px;
}

    .stepper-item .step-counter.current-element {
        border-color: #00313a;
        border-style: solid;
        border-width: 3px;
    }

.stepper-item.active {
    font-weight: bold;
}

    .stepper-item.completed .step-counter {
        background-color: #00313a;
        color: white;
    }

    .stepper-item.completed::after {
        position: absolute;
        content: "";
        border-bottom: 2px solid #00313a;
        width: 100%;
        top: 40px;
        left: 50%;
        z-index: 3;
    }

.stepper-item:first-child::before {
    content: none;
}

.stepper-item:last-child::after {
    content: none;
}

/* STYLE THE HTML ELEMENTS (INCLUDES RESETS FOR THE DEFAULT FIELDSET AND LEGEND STYLES) */
body, html {
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    background-color: #eee;
    font-family: "Lato",sans-serif;
}

fieldset {
    margin: 0;
    padding: 2rem;
    box-sizing: border-box;
    display: block;
    border: none;
    border: solid 1px #ccc;
    min-width: 0;
    background-color: #fff;
}

    fieldset legend {
        margin: 0 0 1.5rem;
        padding: 0;
        width: 100%;
        float: left;
        display: table;
        font-size: 1.5rem;
        line-height: 140%;
        font-weight: 600;
        color: #333;
    }

    fieldset legend + * {
        clear: both;
    }

body:not(:-moz-handler-blocked) fieldset {
    display: table-cell;
}

/************************** TOGGLE STYLING *****************************/
.toggle {
    margin: 0 0 1.5rem;
    box-sizing: border-box;
    font-size: 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: stretch;
}

    .toggle input {
        width: 0;
        height: 0;
        position: absolute;
        left: -9999px;
    }

        .toggle input + label {
            margin: 0;
            padding: 0.75rem 2rem;
            box-sizing: border-box;
            position: relative;
            display: inline-block;
            border: solid 1px #ddd;
            background-color: #fff;
            font-size: 1rem;
            line-height: 140%;
            font-weight: 600;
            text-align: center;
            box-shadow: 0 0 0 rgba(255, 255, 255, 0);
            transition: border-color 0.15s ease-out, color 0.25s ease-out, background-color 0.15s ease-out, box-shadow 0.15s ease-out;
            /* ADD THESE PROPERTIES TO SWITCH FROM AUTO WIDTH TO FULL WIDTH */
            /*flex: 0 0 50%;
	         display: flex;
	         justify-content: center;
	         align-items: center;
	        */
            /* ----- */
        }

            .toggle input + label:first-of-type {
                border-radius: 6px 0 0 6px;
                border-right: none;
            }

            .toggle input + label:last-of-type {
                border-radius: 0 6px 6px 0;
                border-left: none;
            }

        .toggle input:hover + label {
            border-color: #213140;
        }

        .toggle input:checked + label {
            background-color: #1ABC9C;
            color: #fff;
            box-shadow: 0 0 10px rgba(26, 188, 156, .5);
            border-color: #1ABC9C;
            z-index: 1;
        }

        .toggle input:focus + label {
            /*outline: dotted 1px #ccc;*/
            outline-offset: 0.45rem;
        }

@media (max-width: 800px) {
    .toggle input + label {
        padding: 0.75rem 0.25rem;
        flex: 0 0 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/******************* STYLING FOR THE STATUS HELPER TEXT *******************/
.status {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

    .status span {
        font-weight: 600;
        color: #b6985a;
    }

        .status span:first-of-type {
            display: inline;
        }

        .status span:last-of-type {
            display: none;
        }

@media (max-width: 800px) {
    .status span:first-of-type {
        display: none;
    }

    .status span:last-of-type {
        display: inline;
    }
}

* {
    box-sizing: border-box;
}

/* Create two equal columns that floats next to each other */
.column {
    float: left;
    width: 50%;
    padding: 10px;
    
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        width: 100%;
    }
}

/************  RANGE SLIDER  ************/
.range-slider {
    margin: 0 0 0 0;
}

.range-slider {
    width: 100%;
}

.range-slider__range {
    -webkit-appearance: none;
    width: calc(100% - (73px));
    height: 10px;
    border-radius: 5px;
    background: #d7dcdf;
    outline: none;
    padding: 0;
    margin: 0;
}

    .range-slider__range::-webkit-slider-thumb {
        appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #2c3e50;
        cursor: pointer;
        transition: background 0.15s ease-in-out;
    }

        .range-slider__range::-webkit-slider-thumb:hover {
            background: #1abc9c;
        }

    .range-slider__range:active::-webkit-slider-thumb {
        background: #1abc9c;
    }

    .range-slider__range::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border: 0;
        border-radius: 50%;
        background: #2c3e50;
        cursor: pointer;
        transition: background 0.15s ease-in-out;
    }

        .range-slider__range::-moz-range-thumb:hover {
            background: #1abc9c;
        }

    .range-slider__range:active::-moz-range-thumb {
        background: #1abc9c;
    }

    .range-slider__range:focus::-webkit-slider-thumb {
        box-shadow: 0 0 0 3px #fff, 0 0 0 6px #1abc9c;
    }

.range-slider__value {
    display: inline-block;
    position: relative;
    width: 60px;
    color: #fff;
    line-height: 20px;
    text-align: center;
    border-radius: 3px;
    background: #2c3e50;
    padding: 5px 10px;
    margin-left: 8px;
}

    .range-slider__value:after {
        position: absolute;
        top: 8px;
        left: -7px;
        width: 0;
        height: 0;
        border-top: 7px solid transparent;
        border-right: 7px solid #2c3e50;
        border-bottom: 7px solid transparent;
        content: '';
    }

::-moz-range-track {
    background: #d7dcdf;
    border: 0;
}

input::-moz-focus-inner, input::-moz-focus-outer {
    border: 0;
}

/************  FOOTER NAV  ************/
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

    .footer-nav a {
        color: #fff;
        text-decoration: none;
    }

.header-image {
    padding: 230px 0;
    background-image: url('../img/fan-coil-range-mobile-header.jpg');
    background-size: cover;
    background-position: center;    
}

.overlay {
    position: absolute;
    top: 66px;
    left: 0;
    width: 100%;
    height: 460px;
    background-color: rgba(0, 0, 0, 0.4);
}