#sub-form {
    left: 20px;
    bottom: 20px;
    position: sticky;
    z-index: 99;
    text-align: center;
    /*height: 541px;*/
    width: 360px;
    padding: 40px 20px 20px;
    font-family: "Merriweather";
    background-color: #F4F4F4;
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.25);
}

#sub-form form{
    text-align: left;
    width: 100%;
}

#sub-form input,  #sub-form   .submit{
    width: 100%;
    margin-bottom: 20px;
    font-size: 13px;
    height:48px;
    padding:16px 15px 16px;
    outline: none;
    background-color: #F4F4F4;
    border: 1px solid #000000;
}

#sub-form   input[type="checkbox"]{
    height: 14px;
    width: 14px;
    -webkit-appearance: none;
    appearance: none;
    background:  #E5E5E5;
    border: unset;
    margin-right: 8px;
    padding: unset;

}

#sub-form   input[type="checkbox"]:checked{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3e%3crect width='14' height='14' fill='%23D0021B'/%3e%3cpath d='M3 7.60004L6.03245 10L11 4' stroke='white'/%3e%3c/svg%3e");
}

#sub-form   input[type="submit"] ,  #sub-form   .submit{
    height: 48px;
    color: white;
    font-size: 13px;
    background-color: #D0021B;
    padding: unset;
    border: unset;
    margin-top: 10px;
    margin-bottom: unset;
}

#sub-form  .starrequired{
    display: none;
}

#sub-form h3{
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 400;
    line-height: 122%;
    margin-bottom: 30px;
}

#sub-form  label{
    max-width: 93%;
    display: block;
    font-size: 8px;
    line-height: 9px;
    color: #A6A6A6;
}

#sub-form  .checkbox-wrapper{
    display: flex;
    margin-bottom: 20px;
}

#sub-form  .form-bottom{
    max-width: 100%;
    text-align: center;
    padding-top: 2px;
}

#sub-form  .error{
    color: #D0021B;
    line-height: 18px;
}
#sub-form  .form-name{
    height: 16px;
    font-size: 13px;
    margin-bottom: 8px;
}

.fancybox__backdrop {
    background: #1B1B1B !important;
    opacity: 0.8 !important;
}

#sub-form   .submit{
    display: block;
    height: 48px;
    font-size: 13px;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
    display: flex;
}

#sub-form .success-result {
    font-size: 13px;
    margin-bottom: 20px;
    height: 600px;
    align-items: center;
    justify-content: center;
    display: flex;
    height: 213px;
}
#sub-form .close {
    position: absolute;
    top: 14px;
    right: 14px;
    cursor: pointer;
}

@media (max-width: 768px) {

    #sub-form {
        width: 410px;
        padding: 40px 20px 40px;
    }
    #sub-form h3{
        margin-bottom: 30px;
        font-size: 20px;
    }

    #sub-form  .checkbox-wrapper{
        margin-bottom: 15px;
    }

    #sub-form   input[type="submit"], #sub-form   .submit{
        margin-top: 15px;
    }
    #sub-form .success-result {
       margin-bottom: 15px;
    }
}



