﻿.contact-form {
    display: block;
    width: calc(100% + 40px);
    margin: 20px -20px;
}

@media screen and (min-width: 768px) {
    .contact-form {
        width: 520px;
        margin: 20px auto;
    }
}

fieldset {
    border: none;
}

.field-row {
    padding-bottom: 12px;
    position: relative;
}

label, input, textarea {
    display: block;
    width: 100%;
    font-size: 12px;
    line-height: 1.5;
    outline: none;
    font-family: arial, helvetica, sans-serif;

}


@media screen and (min-width: 768px) {
    label, input, textarea {
        font-size: 18px;
    }
}   

label {
    color: #58595b;
    margin-bottom: 6px;
}

input {
    height: 38px;
    padding: 0 30px 0 16px;
}

@media screen and (min-width: 768px) {
    input {
        height: 58px;
        padding: 0 52px 0 24px;
    }
}

textarea {
    padding: 8px 30px 8px 16px;
    resize: vertical;
    min-height: 110px;
}

@media screen and (min-width: 768px) {
    textarea {
        padding: 12px 52px 12px 24px;
    }
}  

.message {
    font-size: 11px;
    line-height: 1.5;
    color: #58595b;
    margin-top: 3px;
    transition: opacity 0.2s ease-in-out;




}

@media screen and (min-width: 768px) {
    .message {
        font-size: 15px;
    }
                   }

.message.validation {
    color: #d0021b;
    
}

input, textarea {
    margin-bottom: 2px;
    border: 1px solid #cacaca;
}


figure {
    position: absolute;
    display: block;
    float: right;
    z-index: 1;
    /*padding-right: 18px;*/
    pointer-events: none;
    height: 40px;
    width: 40px;
    top: 23px;
    right: 0px;
    text-align: right;
    /*margin-top: -40px;*/
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

figure svg {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

figure .icon-error {
    width: 13px;
    height: 13px;
    fill: #d0021b;
    /*visibility: hidden;*/
}
figure .icon-valid {
    width: 14px;
    height: 11px;
    fill: #43a047;
    /*visibility: hidden;*/
}

@media screen and (min-width: 768px) {
    figure {
        top: 30px;
        right: 12px;
        height: 60px;
        width: 60px;
    }
    figure .icon-error {
        width: 19.5px;
        height: 19.5px;
    }

    figure .icon-valid {
        width: 21px;
        height: 16.5px;
    }
}

input[type="checkbox"] {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 0px 10px;
    vertical-align: middle;
    
}

.select-list .message, .select-list .message span{
    line-height: 15px;
  
}

.select-list {
    margin-bottom: 10px;
}

.loading {
    padding-top: 50px;
}

.loader {
    width: 50px;
    height: 50px;
    background-image: url(../../content/images/spinner.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-animation: spCircRot 1s infinite linear;
    animation: spCircRot 1s infinite linear;
    margin: 10px auto;
}

.loading-text {
    display: block;
    text-align: center;
    font-weight: bold;
}

@-webkit-keyframes spCircRot {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

@keyframes spCircRot {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}


              