.form-partner {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background: #f8faf7;
    border: 1px solid #e6ede4;
    border-radius: 16px;
}

.form-partner .box-heading span {
    font-size: 24px;
    font-weight: 700;
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

.form-partner .form-subtitle {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.form-partner .form-group {
    margin-bottom: 18px;
}

.form-partner .form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    font-size: 14px;
    transition: 0.2s;
}

.form-partner input.form-control {
    height: 48px;
}

.form-partner .form-control:focus {
    border-color: #5FAF7A;
    outline: none;
    box-shadow: 0 0 0 2px rgba(95,175,122,0.15);
}

.form-partner .btn-submit {
    width: 100%;
    padding: 14px;
    background: #2f5d3a;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.form-partner .btn-submit:hover {
    background: #3d7a4d;
}

.form-partner .form-agree {
    font-size: 13px;
    margin-top: 10px;
}

.form-partner .form-agree a {
    color: #2f5d3a;
    text-decoration: underline;
}

.form-partner .partner-error {
    font-size: 12px;
    color: #d9534f;
    margin-bottom: 10px;
}

/* recall-specific styles */
#recall.form-partner {
    margin: 2px auto;
}
#recall .form-group label {
    font-size: 16px;
    margin: 6px 0;
}

#recall .buttons {
    clear: both;
    font-size: 14px;
}

#recall .alert.alert-danger{
    margin-bottom: 30px;
}

#recall .form-group {
    position: relative;
    margin-bottom: 42px;
}

#recall .form-group label.la-title {
    position: absolute;
    top: -22px;
    left: -1px;
    background: #fff;
    margin: 10px;
    padding: 0 10px;
    font-size: 14px;
    color: #555555;
}

#recall .alert-success {
    background-color: transparent;
    background-image: none;
    border: 1px solid #b4d5bb;
    border-radius: 10px;
    color: #000;
    margin: 20px 0px;
}

#recall .box-heading-recall {
    text-align: center;
    font-weight: bold;
    font-size: 22px;
}

#recall .form-control {
    height: 46px;
}

#recall {
    display: none;
}

body .fancybox-opened {
    overflow: initial !important;
}

#form-recall {
    width: 100%;
    max-width: 420px;
    margin: 45px auto 10px auto;
}

.tool-error {
    background: #DB504D;
    padding: 2px 8px;
    border: 1px solid #920F0F;
    position: absolute;
    color: #fff;
    font-size: 12px;
    top: -32px;
}

.tool-error:after {
    content: '';
    left: 24px;
    bottom: -20px;
    border: 10px solid transparent;
    border-top: 10px solid #920F0F;
    position: absolute;
}

.tool-error-input {
    box-shadow: 0 0 6px rgba(255, 0, 0, 0.9);
}

#recall-block-phone {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 100000;
    max-width: 100px;
}

#recall-block-phone img {
    height: 100%;
    width: 100%;
}

#recall-block-phone a {
    border-radius: 50%;
    transform: scale(1);
    animation: pulse-blue 2s infinite;
    border-color: #1d76bf;
    overflow: hidden;
    outline: none;
    height: 100%;
    width: 100%;
    display: block;
    background: #fff;
}

@keyframes pulse-blue {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(52, 172, 224, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(52, 172, 224, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(52, 172, 224, 0);
    }
}

@media (max-width: 460px) {
    #recall-block-phone {
        bottom: 10px;
        left: 10px;
        max-width: 40px;
    }

    #recall {
        margin-bottom: 10px;
    }

    #recall .form-group {
        margin-bottom: 24px;
    }

    #recall .box-heading-recall {
        font-size: 16px;
    }

    #form-recall {
        margin: 32px auto 10px auto;
    }

    #recall .buttons {
        padding: 8px;
    }
}