.fancybox-type-inline .fancybox-skin{
    padding-right: 0 !important;
    border-radius: 0 !important;
}
.popup-form{
    width: 660px;
    font-family: Geometria, "PT Sans", Arial, sans-serif;
    padding-right: 15px;
}
.popup-form h2{
    text-align: center;
    padding: 20px 0 40px 0;
    font-size: 32px;
    font-weight: 600;
    margin: 0;
}
.pf-item{
    display: table-row;
}
.pf-item-title,
.pf-item-field{
    display: table-cell;
    padding-bottom: 14px;
}
.pf-item-title{
    font-size: 20px;
    font-weight: 500;
    padding: 14px 20px 0 0;
    white-space: nowrap;
    vertical-align: top;
}
.starrequired{
    color: red;
}
.pf-item-field{
    width: 70%;
}
.pf-item-field input[type='text'],
.pf-item-field input[type='tel'],
.pf-item-field input[type='email'],
.pf-item-field textarea
{
    border-radius: 0;
    background-color: #e4e4e4;
    border: 1px #bebebe solid;
    font-size: 20px;
    line-height: 30px;
    color: black;
    padding: 15px;
    display: block;
    width: 100%;
}
.pf-item-field textarea{
    max-height: 120px;
}
.pf-item-field input[type='text']::placeholder,
.pf-item-field input[type='tel']::placeholder
.pf-item-field input[type='email']::placeholder{
    color: #b3afaf;
}
.pf-item-field input[type='text']:hover,
.pf-item-field input[type='tel']:hover,
.pf-item-field input[type='email']:hover,
.pf-item-field textarea:hover,
.pf-item-field input[type='text']:active,
.pf-item-field input[type='tel']:active,
.pf-item-field input[type='email']:active,
.pf-item-field textarea:active,
.pf-item-field input[type='text']:focus,
.pf-item-field input[type='tel']:focus,
.pf-item-field input[type='email']:focus,
.pf-item-field textarea:focus,
.pf-item-field input.has-value,
.pf-item-field textarea.has-value,
.pf-item-field label.has-value
{
    background-color: #fff;
}

.pf-item-submit input[type='submit']{
    display: block;
    width: 100%;
    border: none;
    cursor: pointer;
    background: red!important;
    box-shadow: inset 0 0 5px 2px #00000040;
    text-transform: uppercase;
    text-align: center;
    color: white;
    height: 57px;
    line-height: 54px;
    padding: 3px 15px 0 15px;
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}
.pf-inputfile{
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.pf-inputfile + label {
    border-radius: 0;
    border: 1px #bebebe solid;
    font-size: 20px;
    line-height: 30px;
    color: black;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 60px;
    margin: 0;
    cursor: pointer;
    background: #e4e4e4 url('/local/templates/aspro_next/images/inputfile.png') 95% center no-repeat;
    padding: 15px 50px 15px 15px;
    overflow: hidden;
}
.pf-inputfile + label > span{
    height: 30px;
    overflow: hidden;
    display: inline-block;
}
.pf-inputfile:focus + label,
.pf-inputfile + label:hover {
    background-color: white;
}
.notetext{
    padding: 40px;
    text-align: center;
    font-size: 20px;
    display: block;
}
.pf-items-bottom{
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    padding: 16px 20px 30px 20px;
}
@media (max-width:768px){
    .popup-form,
    .pf-item,
    .pf-item-title,
    .pf-item-field{
        width: 100%;
        display: block;
    }
    .pf-item-title{
        padding: 0 0 5px 0;
    }
}
@media (max-width:400px){
    .pf-item-title,
    .pf-item-field{
       font-size: 16px;
    }
    .pf-item-field input[type='text'],
    .pf-item-field input[type='tel'],
    .pf-item-field input[type='email'],
    .pf-item-field textarea,
    .pf-inputfile + label{
        font-size: 16px;
        padding: 7px 5px 5px 5px;
        line-height: 25px;
    }
    .pf-inputfile + label{
        height: 40px;
    }
    .popup-form h2{
        font-size: 24px;
        padding: 10px 0 20px 0;
    }
}