﻿.refer_friend .column_left {
    width: 58%;
}

.refer_friend .column_right {
    width: 36%;
}

@media (max-width: 992px) {
    .refer_friend .column_left {
        width: 100%;
    }

    .refer_friend .column_right {
        width: 100%;
    }

    .leave-review .column_left {
        margin-bottom: 30px;
    }
}

.refer_friend table {
    margin: 25px auto 35px;
}

.refer_friend table .rating a {
    font-size: 50px;
}

.refer_friend textarea {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.add_referal {
    position: relative;
}

.rating-bad .add_referal {
    padding-bottom: 0px;
}

.rating-good .add_referal {
    padding-bottom: 18px;
}

/* !!!!!!!!!!!! RATING !!!!!!!!!!!!!! */
.rating-container {
    width: 400px;
    font-family: Arial, sans-serif;
    line-height: 1.2;
    font-size: 13px;
}

.subtext {
    font-size: 12px;
    margin-top: 10px;
}

.rating {
    text-align: center;
    font-size: 36px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.rating a {
    text-decoration: none;
    color: #FDD017;
    direction: ltr;
    position: relative;
    width: 1.1em;
}

.rating a:hover {
    color: #FDD017 !important;
}

.rating a:hover, .rating a:hover ~ a {
    color: #fdd017;
}

.rating {
    direction: ltr;
}

.rating_star {
    height: 50px;
    position: relative;
    width: auto !important;
    padding: 0 8px;
}

.rating_star span {
    position: absolute;
    left: 8px;
    top: 0px;
}

.rating:not(:hover) .rating_star.selectedRating ~ .rating_star .full_star {
    display: none;
}

.rating_star:hover ~ .rating_star .full_star {
    display: none;
}
.empty_star {
    position: static !important;
}

/* !!!!!!!!!!!! RATING !!!!!!!!!!!!!! */
.slogan-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 10px 0 13px;
    max-width: 400px;
}

.slogan-block .slogan-photo {
    margin-right: 15px;
    width: 125px;
    height: auto;
    background: #fff;
    padding: 2px;
}

.slogan-block p {
    font-size: 14px;
    line-height: 17px;
    margin: 0;
}

.slogan-block p.name {
    font-weight: bold;
    color: #fff;
    font-size: 16px;
}

.slogan-block .phone {
    margin: 5px 0 15px;
    display: block;
    color: #fff;
    text-decoration: underline;
}

.slogan-block .phone:hover, .slogan-block .phone:focus {
    color: #c7f0fc;
    text-decoration: none;
}

.slogan-block .phone:active {
    color: #fff;
    text-decoration: underline;
}

.slogan-block .quote-text {
    position: relative;
    font-size: 14px;
    line-height: 1.5;
}

.slogan-block .quote-text:before {
    content: "";
    display: inline-block;
    background: url(../Images/quote-l.png) no-repeat;
    width: 16px;
    height: 16px;
    position: relative;
    margin-right: 8px;
}

.slogan-block .quote-text:after {
    content: "";
    display: inline-block;
    background: url(../Images/quote-r.png) no-repeat;
    width: 17px;
    height: 17px;
    position: relative;
    bottom: -2px;
    vertical-align: bottom;
    margin-left: 8px;
}

.slogan-block.-second {
    margin-top: -15px;
    position: relative;
}

.slogan-block.-second .slogan-photo-wrapper {
    position: relative;
    margin-right: 25px;
}

.slogan-block.-second .slogan-photo-wrapper img {
    margin: 0;
    display: block;
    background: #436C86;
    padding: 4px;
    position: relative;
}

.slogan-block.-second .quote-text {
    margin-bottom: 15px;
    position: relative;
    font-size: 16px;
    width: 180px;
}

.slogan-block.-second .quote-text span {
    position: relative;
}

.slogan-block.-second .quote-text:before {
    position: absolute;
    width: 40px;
    height: 40px;
    top: -10px;
    left: -10px;
}

.slogan-block.-second .quote-text:after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -10px;
    right: 0;
}

.slogan-block.-second .slogan-photo-sign .name {
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 1;
}

.slogan-block.-second .slogan-photo-sign .phone {
    margin-bottom: 0;
    font-size: 12px;
}

.slogan-block.-second.-fast-thing .quote-text:before {
    position: static;
}

.slogan-block.-second.-fast-thing .quote-text:after {
    bottom: -17px;
}

.slogan-block.-second.-fast-thing .quote-text {
    width: auto;
}

.social-list-block .social-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.social-list-block .social-list .social-item {
    margin-right: 10px;
}

.social-list-block .social-list .social-item a:hover {
    opacity: 0.8;
}

.social-list-block .social-list .social-item a:active {
    opacity: 1;
}

.social-list-block .social-list .social-item a img {
    background: #fff;
    max-width: 50px;
}

.social-list-block.-leave-review .social-list li {
    margin: 0 16px 0 6px;
}

.rating-bad {
    display: block;
}

.rating-good {
    display: none;
}

.slogan-block-wrapper {
    display: none;
}

.text-success {
    color: #50BE55;
    margin: 10px 0;
}
.text-error {
    color: rgb(239, 28, 33);
    margin: 10px 0;
}

.social-block-bad {
    margin-top: 5px;
}

.social-block-bad h3 {
    margin-bottom: 8px;
}

.social-block-bad.-two-cols {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.social-block-bad.-two-cols img {
    margin: 5px 15px 0 0;
    height: 125px;
    background: #436C86;
    padding: 4px;
}

.page-rp-thank-you .column_left {
    width: 55%;
}

.page-rp-thank-you .column_right {
    width: 45%;
}

.case-link {
    display: block;
    margin-top: 15px;
    color: #fff;
    text-decoration: underline;
}

.case-link:hover {
    text-decoration: none;
    color: #c7f0fc;
}

.notification-screen {
    position: fixed;
    font-size: 18px;
    padding: 12px 25px;
    line-height: 18px;
    top: 20px;
    right: 150px;
    background: #666;
    border: 1px solid #000;
    color: #fff;
    z-index: 999;
}

.notification-screen .ico-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #fff;
    width: 10px;
    height: 10px;
    cursor: pointer;
}

.notification-screen.-success {
    border-color: #50BE55;
    color: #50BE55;
    background-color: rgba(0, 0, 0, 0.8);
}

.notification-screen.-success .ico-close {
    background-color: #50BE55;
}

.referals-list {
    position: relative;
}

.referals-list .addPerson {
    bottom: 10px;
    text-decoration: none;
}

.referals-list .addPerson .icon {
    font-weight: bold;
    font-size: 21px;
    line-height: 16px;
    vertical-align: bottom;
}

.referals-list .addPerson:hover span, .referals-list .addPerson:focus span {
    text-decoration: underline;
}

.referals-list .addPerson:hover span.icon, .referals-list .addPerson:focus span.icon {
    text-decoration: none;
}

.referals-list .removePerson {
    position: relative;
    bottom: 8px;
    text-decoration: none;
}

.referals-list .removePerson .icon {
    font-weight: bold;
    font-size: 21px;
    line-height: 16px;
    vertical-align: bottom;
}

.referals-list .removePerson:hover span, .referals-list .removePerson:focus span {
    text-decoration: underline;
}

.referals-list .removePerson:hover span.icon, .referals-list .removePerson:focus span.icon {
    text-decoration: none;
}

.referals-list .referral {
    margin-top: 4px;
}

.referals-list .referral.add-referral {
    margin-top: 0px;
}

.ico-clip {
    content: "";
    display: inline-block;
    -webkit-mask-size: cover;
    mask-size: cover;
    background-color: #666;
    -webkit-mask-image: url(../Images/ico-clip.svg);
    mask-image: url(../Images/ico-clip.svg);
    width: 17px;
    height: 17px;
    position: relative;
    bottom: -2px;
    vertical-align: bottom;
}

.ico-close {
    content: "";
    display: inline-block;
    background: url(../Images/ico-cross.png) no-repeat;
    background-size: cover;
    width: 15px;
    height: 15px;
    position: relative;
    bottom: -2px;
    vertical-align: bottom;
}

.ico-arrow {
    content: "";
    display: inline-block;
    background: url(../Images/arrow-share.png) no-repeat;
    background-size: cover;
    width: 40px;
    height: 110px;
    position: relative;
    bottom: -2px;
    vertical-align: bottom;
}

.share-referral {
    border-radius: 3px;
    padding: 15px;
}

.share-referral .sr-header {
    position: relative;
    margin-bottom: 15px;
}

.share-referral .sr-header .sr-close {
    position: absolute;
    top: 1px;
    right: 0;
}

.share-referral .sr-header .sr-close i {
    background-color: #fff;
}

.share-referral .sr-body {
    position: relative;
    margin: 5px 0;
}

.share-referral .sr-body textarea {
    font-size: 16px;
    padding: 5px;
}

.share-referral .sr-body .sr-img {
    margin: 5px 0;
    position: relative;
    min-height: 40px;
}

.share-referral .sr-body .sr-img img {
    max-width: 100%;
    max-height: auto;
    width: 100%;
    height: auto;
}

.share-referral .sr-body .sr-img .sr-img-clip {
    position: absolute;
    top: 5px;
    left: 10px;
}

.share-referral .sr-body .sr-img .sr-img-clip i {
    width: 15px;
    height: 15px;
    margin-top: -5px;
}

.share-referral .sr-body .sr-img .sr-img-close {
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    position: absolute;
    top: 0;
    right: 0;
    line-height: 32px;
}

.share-referral .sr-body .sr-img .sr-img-close i {
    width: 13px;
    height: 13px;
    margin-top: -5px;
}

.share-referral .sr-body .sr-img .sr-img-clip,
.share-referral .sr-body .sr-img .sr-img-close {
    padding: 4px;
    height: 40px;
    width: 40px;
    text-align: center;
    cursor: pointer;
}

.share-referral .sr-body .sr-img .sr-img-clip:hover, .share-referral .sr-body .sr-img .sr-img-clip:focus,
.share-referral .sr-body .sr-img .sr-img-close:hover,
.share-referral .sr-body .sr-img .sr-img-close:focus {
    opacity: 0.8 !important;
}

.share-referral .sr-body .sr-img .sr-img-clip i,
.share-referral .sr-body .sr-img .sr-img-close i {
    vertical-align: middle;
}

.share-referral .sr-body .sr-img .sr-img-arrows {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 114px;
    width: 40px;
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.share-referral .sr-body .sr-img .sr-img-arrows.-left {
    left: 10px;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.share-referral .sr-body .sr-img .sr-img-arrows.-right {
    right: 10px;
}

.share-referral .sr-body .sr-img .sr-img-arrows:hover {
    opacity: 0.8 !important;
}

.share-referral .sr-body .sr-img .sr-img-arrows:active {
    opacity: 1 !important;
}

.share-referral .sr-body .sr-img.no-image .sr-img-arrows {
    display: none;
}

.share-referral .sr-body .sr-img:hover .sr-img-close {
    opacity: 1;
}

.share-referral .sr-body .sr-img:hover .sr-img-arrows {
    opacity: 1;
}

.share-referral .btn {
    margin: 3px 0px 0px 0px;
}

/* TABS */
ul.simle-tabs {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

ul.simle-tabs li {
    background: none;
    color: #222;
    display: inline-block;
    padding: 5px;
    cursor: pointer;
    border: 1px solid transparent;
}

ul.simle-tabs li.current {
    border: 1px solid #7da6c0;
    background-color: #7DA6C0;
    border-bottom: none;
    color: #222;
    border-radius: 3px 3px 0 0;
}

.tab-content {
    display: none;
    border: 1px solid #7da6c0;
    background-color: #7DA6C0;
    margin: -1px 0 15px;
}

.tab-content input {
    height: 34px;
    font-size: 16px;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    margin-bottom: 5px;
}

.tab-content.current {
    display: inherit;
}

@media (max-width: 992px) {
    .body_notification {
        margin: -10px -15px 10px;
    }

    .refer_friend .column_left {
        width: 100%;
    }

    .refer_friend .column_right {
        width: 100%;
    }

    .social-list-block {
        padding: 0 4.4% 0 0;
    }
    .slogan-block.-second {
        max-width: 310px;
    }
}

@media (max-width: 768px) {
    .input-buttons-row {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .input-buttons-row.-sm-3 .input-buttons-label {
        width: 33.33%;
    }

    .input-buttons-row.-sm-3:nth-child(4n +3) {
        border-left: 1px solid #7da6c0 !important;
    }

    .input-buttons-row .input-buttons-label:first-of-type {
        border-left: none;
    }

    .error .input-buttons-row.-sm-3 .input-buttons-label:nth-child(3n +3) {
        border-right-color: #EF1C21 !important;
    }

    .error .input-buttons-row.-sm-3 .input-buttons-label:nth-child(3n +1) {
        border-left: 1px solid #EF1C21 !important;
    }

    .question-item-row {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .question-item-col {
        margin-bottom: 15px;
        width: 100%;
    }

    .body_notification .-list li {
        width: auto !important;
    }

    .slogan-block.-second .quote-text {
        font-size: 14px;
        width: 155px;
    }

    .slogan-block .slogan-photo {
        width: 110px;
    }

    .social-list-block {
        padding: 0;
    }
}

@media (max-width: 500px) {
    .default-tooltip.-title-tooltip {
        white-space: normal;
    }

    .input-buttons-row.-xs-2 .input-buttons-label {
        width: 50%;
    }

    .error .input-buttons-row.-xs-2 .input-buttons-label:nth-child(2n) {
        border-right-color: #EF1C21 !important;
    }

    .error .input-buttons-row.-xs-2 .input-buttons-label:nth-child(2n+1), .error .input-buttons-row.-xs-2 .input-buttons-label:nth-child(1) {
        border-left: 1px solid #EF1C21 !important;
    }

    .error .input-buttons-row.-xs-2 .input-buttons-label:nth-child(3) {
        border-right-color: #7da6c0 !important;
    }

    .error .input-buttons-row.-xs-2 .input-buttons-label:nth-child(4) {
        border-left: none !important;
    }

    .social-block-bad.-two-cols {
        display: block;
    }

    .social-list-block .social-list .social-item a img {
        max-width: 38px;
    }
}

#divSocialListBlock {
    margin-bottom: 30px;
}

#divSocialListBlock .no-image-selected, #divSocialListBlock .slideshow-container {
    display: none;
    padding-bottom: 66%;
}

#divSocialListBlock .no-image-selected.selected, #divSocialListBlock .slideshow-container.selected {
    display: block;
}

#divSocialListBlock .no-image-selected img, #divSocialListBlock .slideshow-container img {
    height: 100%;
    position: absolute;
}

#divSocialListBlock .slide {
    display: none;
}

#divSocialListBlock .slide.active {
    display: block;
}

#divSocialListBlock .error_message {
    color: rgb(239, 28, 33);
    font-size: 14px;
    margin: 1px 0px 7px 0px;
}

#divSocialListBlock .success input {
    border-color: rgb(125, 166, 192) !important;
}

#divSocialListBlock #email-tab .share-referral-thank-you {
    display: none;
    height: 364px;
    line-height: 364px;
    text-align: center;
}

#divSocialListBlock #email-tab .share-referral-thank-you h4 {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

#divSocialListBlock #email-tab.thank-you .share-referral {
    display: none;
}

#divSocialListBlock #email-tab.thank-you .share-referral-thank-you {
    display: block;
}

.-mb-30 {
    margin-bottom: 30px;
}

.page-rp-thank-you {
    min-height: inherit;
}

.case-review-textarea {
    padding-top: 8px;
}
.hide{
    display:none;
}