@media(max-width:576px) {
    .enq-form {
        width: 500px
    }
}

/*------------- Form ---------------*/
.enq-form {
    position: fixed;
    font-family: 'Roboto', sans-serif;
    z-index: 9999;
    width: 280px;
    background: #FFF;
    left: -285px;
    top: 60%;
    transition: all .8s cubic-bezier(0.43, 1.07, 0.66, 1.15) .2s;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%);
    cursor: pointer;
}

.enq-form:hover {
    left: 0px;
}

.formrotate {
    transform: rotate(90deg);
    position: absolute;
    z-index: 555;
    right: -137px;
    top: 88px;
    width: 80%;

}

.enq-form .user-icon {
    position: absolute;
    top: -40px;
    right: -140px;
    display: block;
    width: 50px;
    height: 50px;
    margin: 20px auto 15px;
    border-radius: 100%;
    /*background: #353E91;*/
    background: darkgreen;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    color: #fff;
    box-shadow: 0px 2px 4px 0px #00000094;
}

.enq-form .title {
    background: darkgreen;
    padding: 12px 18px !important;
    color: #fff !important;
    border-radius: 10px 10px 0 0;
    font-size: 20px !important;
    font-weight: 500;
    margin: 0;
}

.enq-form p.message {
    position: relative;
    color: #000;
    font-size: 16px;
    padding-left: 12px;
    font-weight: 600;
    margin: 10px 5px;
    padding-bottom: 8px;
}

.enq-form p.message::before {
    content: "";
    position: absolute;
    height: 3px;
    width: 60px;
    background: darkgreen;
    bottom: 0px;
    border-radius: 5px;
    left: 15px;
}

.enq-form button {
    display: block;
    margin: 12px auto;
    height: 54px;
    width: 54px;
    border-radius: 50%;
    cursor: pointer;
    transition: all .4s ease;
    color: #fff !important;
    border: none;
    background: darkgreen;
    font-size: 22px;
    margin-bottom: 0;
    outline: none;
}

.enq-form select {
    -webkit-appearance: none;
    appearance: none;
    background: #fff;
}

.enq-form button:hover {
    background: #FF1A7D;
    box-shadow: 1px 1px 3px #000;
}

.enq-form .group {
    position: relative;
    margin-bottom: 7px;
}

.enq-form form {
    width: 96%;
    margin: 10px auto;
    padding: 8px;
    box-sizing: border-box;
}

.enq-form input,
.enq-form select {
    font-size: 14px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    box-sizing: border-box;
    border-bottom: 1px solid #757575b0;
}


.enq-form input:focus,
.enq-form select:focus {
    outline: none;
    border-bottom: none;
}

.enq-form input:focus~label,
.enq-form select:focus~label {
    display: none !important;
}

.enq-form input:valid~label,
.enq-form select:valid~label {
    display: none !important;
}



.enq-form label {
    color: #999;
    font-size: 14px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
    letter-spacing: 1px;
}

.enq-form .bar {
    position: relative;
    display: block;
    width: 100%;
}

.enq-form .bar:before,
.enq-form .bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #5264AE;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.enq-form .bar:before {
    left: 50%;
}

.enq-form .bar:after {
    right: 50%;
}

.enq-form input:focus~.bar:before,
.enq-form input:focus~.bar:after {
    width: 50%;
}

.enq-form select:focus~.bar:before,
.enq-form select:focus~.bar:after {
    width: 50%;
}

.enq-form .highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

.enq-form input:focus~.highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}

.enq-form select:focus~.highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}

@-webkit-keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}

@-moz-keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}

@keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}