﻿.dispense-machine {
    margin-top: 68px;
    transform: translateY(-50%);
}

    .dispense-machine .odometer {
        text-align: center;
        font-size: 30px;
        text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
        color: rgba(255, 255, 255, 0.9);
        margin: auto;
        margin-bottom: auto;
        margin-bottom: 15px;
        display: inline-block;
        background: #222;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        border-radius: 2px;
        -moz-box-shadow: inset 0 2px 8px -2px #000;
        -webkit-box-shadow: inset 0 2px 8px -2px #000;
        box-shadow: inset 0 3px 10px -2px #000;
        border: 4px solid #3c3c3c;
        position: relative;
        font-weight: 400;
        text-shadow: -1px 2px 1px #939393, 0 2px 3px #000;
        height: 44px;
    }

        .dispense-machine .odometer::before {
            content: "SALE";
            position: absolute;
            left: -65px;
            font-size: 20px;
            color: black;
            font-weight: bold;
            text-shadow: 0 2px 1px #fefefe, 0 2px 3px #000;
            top: 4px;
        }

        .dispense-machine .odometer::after {
            position: absolute;
            right: -55px;
            font-size: 20px;
            color: black;
            font-weight: bold;
            text-shadow: 0 2px 1px #fefefe, 0 2px 3px #000;
            top: 4px;
            content: "LTR.";
        }

    .dispense-machine .digit {
        display: inline-block;
        height: 1em;
        width: 1em;
        overflow: hidden;
        border-right: 1px solid rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        padding: 0 0.2em;
    }

        .dispense-machine .digit:first-child {
            border-left: none;
        }

    .dispense-machine .digit-container {
        line-height: 1em;
        -webkit-animation: slide infinite linear;
        animation: slide infinite linear;
    }

    .dispense-machine .digit-one {
        -webkit-animation-duration: 1000ms;
        animation-duration: 1000ms;
    }

    .dispense-machine .digit-ten {
        -webkit-animation-duration: 10000ms;
        animation-duration: 10000ms;
    }

    .dispense-machine .digit-hundred {
        -webkit-animation-duration: 100000ms;
        animation-duration: 100000ms;
    }

    .dispense-machine .digit-thousand {
        -webkit-animation-duration: 1000000ms;
        animation-duration: 1000000ms;
    }

    .dispense-machine .digit-ten-thousand {
        -webkit-animation-duration: 10000000ms;
        animation-duration: 10000000ms;
    }

@-webkit-keyframes slide {
    from {
        -webkit-transform: translateY(-10em);
    }

    to {
        -webkit-transform: translateY(0);
    }
}

@keyframes slide {
    from {
        transform: translateY(-10em);
    }

    to {
        transform: translateY(0);
    }
}


.dispense-machine .nozzle-holder.petrol::before {
    content: "PETROL";
    position: absolute;
    top: -40px;
    font-size: 20px;
    font-weight: bold;
    color: #139000;
    left: 3px;
    text-shadow: 0 2px 0px #151515, 0 2px 3px #333;
}

.dispense-machine .pipe-1::before {
    position: absolute;
    width: 113px;
    height: 580px;
    top: -373px;
    left: -150px;
    border: 24px solid #303030;
    border-top-color: rgb(75, 68, 68);
    border-top-style: solid;
    border-top-width: 24px;
    border-top-color: rgb(75, 68, 68);
    border-top-style: solid;
    border-top-width: 24px;
    border-top-color: rgb(75, 68, 68);
    border-top-style: solid;
    border-top-width: 24px;
    border-radius: 68px;
    border-top: 20px solid #303030;
    content: "";
    transform: rotate(3deg);
    z-index: -1;
    background: transparent;
}

.dispense-machine .pipe-1::after {
    position: absolute;
    width: 156px;
    height: 156px;
    top: 54px;
    left: -169px;
    border: 24px solid #303030;
    border-top-color: rgb(75, 68, 68);
    border-top-style: solid;
    border-top-width: 24px;
    border-left-color: rgb(75, 68, 68);
    border-left-style: solid;
    border-left-width: 24px;
    border-top-color: rgb(75, 68, 68);
    border-top-style: solid;
    border-top-width: 24px;
    border-left-color: rgb(75, 68, 68);
    border-left-style: solid;
    border-left-width: 24px;
    border-top-color: rgb(75, 68, 68);
    border-top-style: solid;
    border-top-width: 24px;
    border-left-color: rgb(75, 68, 68);
    border-left-style: solid;
    border-left-width: 24px;
    border-radius: 86px;
    border-left: 20px solid transparent;
    content: "";
    transform: rotate(2deg);
    background: transparent;
    border-top: 20px solid transparent;
    box-shadow: 10px 13px 9px #23212199;
}

.dispense-machine .pipe-2::before {
    position: absolute;
    width: 215px;
    height: 620px;
    top: -390px;
    right: -140px;
    border: 24px solid #303030;
    border-top-color: rgb(75, 68, 68);
    border-top-style: solid;
    border-top-width: 24px;
    border-radius: 106px;
    border-top: 20px solid transparent;
    content: "";
    transform: rotate(-2deg);
    z-index: -1;
    background: transparent;
}

.dispense-machine .pipe-2::after {
    position: absolute;
    width: 121px;
    height: 129px;
    top: 90px;
    right: -143px;
    border: 24px solid #303030;
    border-top-color: rgb(75, 68, 68);
    border-top-style: solid;
    border-top-width: 24px;
    border-right-color: rgb(75, 68, 68);
    border-right-style: solid;
    border-right-width: 24px;
    border-radius: 113px;
    border-right: 20px solid transparent;
    content: "";
    transform: rotate(-50deg);
    background: transparent;
    border-top: 20px solid transparent;
    box-shadow: -15px -3px 9px #23212199;
}

.dispense-machine .nozzle.diesel {
    position: relative;
    top: 86px;
    height: 85px;
    width: 36px;
    background: linear-gradient( #aa3905 37px, #3b0000 100px);
    left: -8px;
    z-index: 2;
    border-radius: 10px 10px 25px 25px;
    border-bottom: 18px solid #aa2805;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    transform: rotate(0deg);
    box-shadow: -11px 10px 9px #23212199;
}



.form-control:focus {
    border: 1px solid #80bf70 !important;
    background-size: 100% 2px, 100% 1px;
    outline: 0 none;
    transition-duration: 0.3s;
}

.text-center {
    font-size: 15px;
    margin-top: 70px;
}

    .text-center p a:hover {
        color: #2cb6cc;
    }

    .text-center p a {
        color: #4dcee2;
    }

.kt-link:hover:after {
    border-bottom: 1px solid #59d3e3 !important;
    opacity: .3;
}
/*.btn-primary {
        color: #fff;
        background-color: #53d2e3 !important;
        border-color: #3dcfe1 !important;
        color: #fff;
    }*/
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #4dcee2 !important;
    border-color: #4cc9dc !important;
}
