﻿

.fancy {
    height: 100%;
}

.fancy-form {
    padding: 40px 20px;
    margin: 0 auto;
    width: 550px;
    -webkit-transform: skew(-16deg);
    transform: skew(-16deg);
 //   box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.3);
    height: 100%;
    background-image: url(../images/boxes/black40.png);
    margin-left: 207px;
    left: 0px;
    position: relative;
}

.fancy-form__title {
}

.fancy-form__title svg{
    width:160px;
    }

#contactInfo p{
    color:#E0E0E0;
    font-size: 14px;
    margin-bottom: -11px;
}


#contactInfo span{
    color:#A5A5A5;
    margin-left: -30px;
    opacity:0;
    }

.fancy-form__wrapper {
    -webkit-transform: skew(16deg);
    transform: skew(16deg);
    width: 300px;
    margin: 0 auto;
}

.fancy-input {
    position: relative;
    display: block;
    border: 0px;
    left: -9px;
}

.fancy-input__input {
    background: transparent;
    border: none;
    height: 40px;
    width: 100%;
    display: block;
    font-size: 1.45em;
    padding: 4px 0px;
    color: #8d8d8d;
    margin: 0;
    outline: none;
    border: none;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    font-family: inherit;
    float: left;
    position: relative;
    top: 64px;
}

    .fancy-input__input:focus ~ .fancy-input__line:after, .fancy-input__input:active ~ .fancy-input__line:after, .fancy-input__input.active ~ .fancy-input__line:after {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    .fancy-input__input:focus ~ label, .fancy-input__input:active ~ label, .fancy-input__input.active ~ label {
        -webkit-transform: translate(0px, -20px);
        transform: translate(0px, -20px);
        font-size: 1em;
        opacity: 1;
        color: #256785;
    }

    .fancy-input__input:focus ~ .svgDots, .fancy-input__input:active ~ .svgDots, .fancy-input__input.active ~ .svgDots {
        -webkit-transform: translate(0px, -20px);
        transform: translate(0px, -20px);
        opacity: 1;
    }


.fancy-input__line {
    background: #ccc;
    position: relative;
    height: 2px;
    border: none;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    float: left;
    width: 100%;
    top: 31px;
    clear:both;
}

    .fancy-input__line:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #256785;
        -webkit-transform: scale(0);
        transform: scale(0);
        -webkit-transition: all 0.5s ease;
        transition: all 0.5s ease;
        -webkit-transform-origin: center left;
        transform-origin: center left;
    }

.fancy-input_error_line {
    background: #e92626;
    border: none;
    float: left;
    width: 0px;
    -webkit-transform-origin: center left;
    transform-origin: center left;
    height: 3px;
    position: absolute;
    top: 104px;
}


.fancy-input__label {
    position: relative;
    top: 4px;
    left: 0px;
    font-size: 1.3em;
    pointer-events: none;
    opacity: 0.5;
    -webkit-transition: all 0.3s ease;
    transition: all 0.2s ease;
    color: #8d8d8d;
    float: left;
    height: 20px;
}

.fancy-input__button {
    display: block;
    background: none;
    border: none;
    color: #fffcff;
    width: 60%;
    padding: 15px 0;
    margin: 40px 0 0 0;
    font-size: 1.2em;
    outline: none;
    cursor: pointer;
    opacity: .4;
    -webkit-transition: all 2.2s ease;
    transition: all 2.2s ease;
    top: 30px;
    position: relative;
}

    .fancy-input__button:hover {
        opacity: 1;
    }


.svgDots {
    float: left;
    margin-left: 12px;
    position: relative;
    top: 5px;
    width: 100px;
    opacity: 0;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
}

    .svgDots svg {
        width: 9px;
        overflow: visible;
    }

.fancy-msg__input {
    font-size: 15px;
    overflow: hidden;
}

.fancy-input_msg_label {
    position: absolute;
    top: 59px;
    left: 9px;
}

.msgDots {
    left: 103px;
    position: absolute;
    top: 61px;
}

.msgline {
    top: 51px;
}

textarea {
    resize: none;
}

#sendMsg{

    float: left;
    position: relative;
    top: 80px;
    cursor: pointer;
}

#sendMsg svg{
    width: 100px;
    overflow: visible;
    position: relative;
}

#contactInfo {
    margin-top: 16px;
    position: relative;
    float: left;
     margin-bottom: -17px;
}