/*### QuickQuery ###*/
form.zp-form, .submit{
    position: relative;
}
.zpform-field-submit{
    position: relative;

}
.zpform-field-submit > *{
    vertical-align: top;
}
.zpform-loading .zpform-field-submit:after{
    position: absolute;
    content: '';
    right: 3px; top: 3px;
    width: 35px;
    height: 35px;
    background: url(../Images/ajaxloader.svg) no-repeat center center;
    background-size: contain;
    z-index: 100;
}
/******************/
/* Blocks */
/******************/
.zpform-fieldblock{
    position: relative;
    padding: 20px;
    border: 1px solid #aaa;
    margin-bottom: 20px;
}
.zpform-fieldblock-label{
    font-weight: bold;
    margin-bottom: 20px;
}
.zpform-left, .zpform-right{
    float: left;
    width: 47%;
}
.zpform-left{
    margin-right: 6%;
}
/******************/
/*Fields */
/******************/
.zpform-field{
    margin-bottom: 20px;
    position: relative;
}
.zpform-field .zpform-field{
    margin-bottom: 0px;
}
.zpform-field:after{
    display: block;
    content: '';
    clear: both;
}
.zpform-field input,
.zpform-field textarea,
.zpform-field select{
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 40px;
    padding: 0 10px;
    font-family: inherit;
    font-size: inherit;
}

.zpform-field input[type="checkbox"],
.zpform-field input[type="radio"]{
    width: 20px;
    min-height: 40px;
    float: left;
    padding: 0px; margin: 0px;
}
.zpform-field input[type="submit"]{
    cursor: pointer;
}
.zpform-field textarea{
    height: 100px;
    padding: 10px;
}

.zpform-field > label,
.zpform-field-checkoption > label{
    display: block;
    width: 28%; margin-right: 2%;
    float: left;
    line-height: 40px;
}
.zpform-field > label + input,
.zpform-field > label + select{
    float: left;
    width: 70%;
}
.zpform-field-small{
    width: 32%;
    margin-right: 2%;
    float: left;
}
.zpform-field-big{
    width: 66%;
    float: left;
}
.zpform-field-big label{
    width: 18%;
    margin-left: 0%;
}
.zpform-field-big label + input{
    width: 80%;
}
.zpform-field-checkoption{
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; 
}

.zpform-field-checkoption:after{
    display: block;
    content: '';
    clear: both;
}
.zpform-field-checkoption label{
    width: 80%;
    margin-left: 10px;
    cursor: pointer;
}
.zpform-field-checkoption:hover{
    background: #eee;
    margin-left: -5px;
    padding-left: 5px;
}
@media(max-width:850px){
    .zpform-left,.zpform-right{
        float: none;
        margin-right: 0px;
        width: auto;
    }


}
@media(max-width:640px){
    .zpform-field label{
        float: none;
        width: auto;
    }
    .zpform-field > label + input,
    .zpform-field > label + select{
        float: none;
        width: 100%;
    }
    .zpform-field-small, .zpform-field-big{
         /*float: none;*/
    }
    .zpform-field-checkoption input{
        float: left;
    }
    .zpform-field-checkoption label{
            width: 80%;
            float: left;
    }
}



/******************/
/* Errors */
/******************/

.zpform-error, .zpform-upload-errors > *{
    color: red;
    border: 1px solid red;
    padding: 10px;
    margin-bottom: 10px;
    background: 	#FFEFD5;
    /*font-size: 13px;*/
}

.zpform .typo3-messages{
    margin-left:0px;
    padding-left:0px;
    border: 1px solid red;
    padding: 10px;
    margin-bottom: 20px;
}
.zpform .typo3-messages li{
    color: red;
    /*font-size: 13px;*/
    list-style-type:none;
}

/******************/
/*Multifile Upload */
/******************/
.zpform-upload{
    position: relative;
}
.MultiFile-wrap{
    position: relative;
    /*width: 60%;*/
}
.MultiFile-wrap input{
    opacity: 0;
    height: 0px;
    position: absolute;
}

.MultiFile-list{
    padding:  20px 10px;
    border: 1px solid #aaa;

    box-sizing: border-box;
}
.MultiFile-list > .MultiFile-label{
    border-bottom:  1px solid #ccc;
    padding: 7px;
    font-size: 14px;
    display: block;

    padding-left: 30px;
    background: url(../Icons/file.png) no-repeat 5px center;
    background-size: 20px;
}
.MultiFile-list > .MultiFile-label:first-child{
    border-top: 1px solid #ccc; 
}
.MultiFile-label > *{
    /*float: left;*/
}
.zpform-upload-placeholder{
    color: #888;
}
.multifile-button{
    background: #eee;
    padding: 9px;
    border: 1px solid #aaa;
    /*box-shadow: 0 0 1px #000;*/
    font-size: 14px;
    cursor: pointer;
    /*width: 40%;*/
    position: relative;
    top: -1px; right: 0px;
    box-sizing: border-box;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; 

}
.multifile-button:hover{
    border: 1px solid #555;
}

.MultiFile-label .MultiFile-remove{
    float: right;
    font-weight: bold;
    position: relative;
    z-index: 100;
}
.MultiFile-label:after{
    content: '';
    clear: both;
    display: block;
}
/******************/


