
.raf-right .button.button,
#invite-button-container button.form-button.button {
    height: 24px;
    background-color: #d67a01;
    border-radius: 5px;
}

.raf-right .button.button span,
#invite-button-container button.form-button.button span {
    padding: 2px;
    font-size: 14px;
    font-weight: 800;
}

@media only screen and (max-width: 767px) {
    #referafriend {
        left: 43%;
    }
}

#referafriend {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9999;
    width: 350px;
    margin: -300px 0 0 -150px;
    /*background-color: #fff;*/
}

#referafriend[id] { /* IE6 and below Can't See This */
    position: fixed;
}

/*#referafriend h3 {margin-bottom: 20px;}*/
#referafriend h4 {
    padding: 4px 0;
}

#referafriend .group-select {
    margin: 0;
}

#referafriend-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
    background-color: #000;
    -moz-opacity: 0.3;
    opacity: .30;
    filter: alpha(opacity=30);
}

#referafriend-overlay[id] { /* IE6 and below Can't See This */
    position: fixed;
}

#referafriend.done #rafLoadMessage {
    display: none;
}

#referafriend.done #rafContent {
    display: block;
}

#referafriend.loading #rafContent {
    display: none;
}

#referafriend.loading #rafLoadMessage {
    font-size: 1.1em;
    font-weight: bold;
    color: #000;
    display: block;
    background-color: #fff;
    width: 130px;
    padding: 10px;
    margin: 250px 0 0 110px;
}

#referafriend.loading #rafLoadMessage img {
    margin: auto auto 10px;
}

.awraf-email-heading {
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

.referafriend-please-wait {
    padding-right: 7px;
    display: inline-block;
}

.referafriend-please-wait img {
    max-width: 24px;
    float: left;
    margin-right: 5px;
}

#raf-invite .group-select {
    border: 1px solid #bbafa0;
    padding: 22px 25px 12px 25px;
    background: #fbfaf6;
}

#raf-invite .group-select li .input-box .input-text, #raf-invite .group-select li .input-box textarea {
    width: 275px;
}

#raf-invite .button-set {
    border-top: 1px solid #E4E4E4;
    clear: both;
    margin-top: 4em;
    padding-top: 8px;
    text-align: right;
}

.form-button-alt#referafriend-button {
    background-color: #618499;
    border: 1px solid #406A83;
    padding: 0 10px;
}

.form-button-alt#referafriend-button span {
    background: none;
    border: none;
}

#referafriend-form span.required {
    color: #EB340A;
}

#referafriend-form .form-list label {
    text-align: left;
    width: auto;
}

#referafriend-form .form-list textarea {
    float: none;
}

.aw-raf-broadcastlink, #aw-raf-broadcastlink {
    padding: 10px;
    height: 20px;
    width: 100%;
    max-width: 100%;
    border: none;
    font-size: 13px;
    resize: none;
}

.aw-raf-broadcastlink-label {

    display: block;
    font-size: 12px;
    font-weight: bold;
}

.aw-raf-manual-share-block {
    margin-top: 15px;
    width: 90%;
}

#widget {
    width: 100px !important;
    height: 100px !important;
}

.awraf-social-share {
    height: 40px;
}

.awraf-social-share a {
    display: block;
    width: 40px;
    height: 40px;
    float: left;
    border: none;
}

.raf-linkedin-share {
    background: url('../images/aw_raf/LinkedIn.png') no-repeat;
    background-size: 40px;
    margin-top: 2px;
}

.raf-twitter-share {
    background: url('../images/aw_raf/Twitter.png') no-repeat;
    background-size: 40px;
}

.raf-facebook-share {
    background: url('../images/aw_raf/Facebook.png') no-repeat;
    background-size: 40px;
    margin-left: 12px;
    margin-right: 12px;
}

.raf-delicious-share {
    background: url('/skin/frontend/base/default/images/aw_raf/share.jpg') no-repeat -264px -32px;
}

.awraf-balance-item {
    font-size: 13px;
}

.aw-raf-table-wrapper {
    overflow-y: hidden;
    overflow-x: auto;
}

#referred-friends-table {
    font-size: 13px;
}

/* field set specific styles */
.aw-raf-statistics .fieldset {
    border: 1px solid #bbafa0;
    background: #fbfaf6;
    padding: 22px 25px 12px 33px;
    margin: 28px 0;
}

.aw-raf-statistics .fieldset h2.legend {
    float: left;
    font-weight: bold;
    font-size: 13px;
    border: 1px solid #f19900;
    background: #f9f3e3;
    color: #e76200;
    margin: -33px 0 0 -10px;
    padding: 0 8px;
    position: relative;
}

.awraf-discount-coupon-form-100 .button {
    float: none !important;
    margin: 5px 0 0 0 !important;
}


.awraf-discount-coupon-form-100 .raf-maximum-discount {

    display: block;
    clear: both;
    margin-bottom: 2px !important;

}

.awraf-discount-coupon-form-100 .buttons-set {

    margin-top: 0 !important;
}

.raf-popup {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(152, 151, 151, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
}

.raf-popup.active {
    visibility: visible;
    opacity: 1;
    z-index: 9999;
}

body.modal-open {
    overflow: hidden;
}

.raf-content {
    position: relative;
    background-color: #fefefe;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 15% auto;
    padding: 0;
    border: 5px solid #333333;
    border-radius: 10px;
    width: 40%;
    max-width: 900px;
    height: auto;
    cursor: pointer;
}

.raf-image {
    width: 100%;
    height: auto;
    display: block;
}

@media only screen and (max-width: 767px) {
    .raf-content {
        border: 2px solid #333333;
        width: 90%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .raf-content {
        width: 80%;
    }
}

.close-raf-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 20px;
    font-weight: 700;
    z-index: 99999;
}