body[class*='affiliate'] .btn-affiliate-register {
    font-family: Kanit, sans-serif;
    font-size: 21px;
    text-transform: uppercase;
}

body[class*='affiliate'] .feature-page {
    background: #4b82bc;
    background: -moz-linear-gradient(top, #4b82bc 0%, #4b82bc 45%, #ea676b 100%);
    background: -webkit-linear-gradient(top, #4b82bc 0%,#4b82bc 45%,#ea676b 100%);
    background: linear-gradient(to bottom, #4b82bc 0%,#4b82bc 45%,#ea676b 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4b82bc', endColorstr='#ea676b',GradientType=0 );
    position: relative;
    color: #fff;
}

body[class*='affiliate'] .feature-page:before {
    content: "";
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    position: absolute;
    z-index: -1;
    background: transparent url("../../../img/affiliate/affiliate-elm-feature-bg.png") no-repeat center;
    animation: bgSize 1s ease-out 0s infinite alternate;
    -o-animation: bgSize 1s ease-out 0s infinite alternate;
    -moz-animation: bgSize 1s ease-out 0s infinite alternate;
    -webkit-animation: bgSize 1s ease-out 0s infinite alternate;
}

body[class*='affiliate'] .feature-content .profit {
    display: inline-block;
}

@keyframes bgSize {
    from {
        background-size: 60%;
    }
    to {
        background-size: 63%;
    }
}

@-webkit-keyframes bgSize {
    from {
        background-size: 60%;
    }
    to {
        background-size: 63%;
    }
}

@-moz-keyframes bgSize {
    from {
        background-size: 60%;
    }
    to {
        background-size: 63%;
    }
}

.affiliate .affiliate-step,
.affiliate .feature-page .profit {
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
}


body[class*='affiliate'] .feature-content > * {
    font-family: Quicksand, sans-serif;
}

body[class*='affiliate'] .affiliate-intro {
    padding: 20px 0px;
}

body[class*='affiliate'] .feature-content .profit,
body[class*='affiliate'] .feature-content h1 {
    font-size: 42px;
}
body[class*='affiliate'] .feature-content h2 {
    font-size: 38px;
}

.affiliate-intro .region-content {
    display: flex;
}

.affiliate-intro .region-content .affiliate-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.affiliate-intro .region-content .affiliate-step .img-thumbnail {
    border: none;
    padding: 0px;
}
.affiliate-intro .region-content .affiliate-step:not(.step-4):before {
    content: "\f178";
    font-family: FontAwesome;
    color: #929292;
    font-size: 3em;
    position: absolute;
    top: 14px;
    right: 0px;
}

body[class*='affiliate'] .region-wrap {
    overflow: hidden;
}

body[class*='affiliate'] .region-wrap:not(.feature-page) h2 {
    text-transform: uppercase;
    margin: 40px 0;
}

body[class*='affiliate'] .region-wrap h2 > span {
    text-transform: none;
}

.affiliate-price-table {
    background-image: url("../../../img/affiliate/aff-price-table-bg.png");
    background-position: top center;
    background-size: cover;
    min-height: 450px;
}

.affiliate-price-table .group-wrap {
    justify-content: center;
    flex-wrap: wrap;
    flex-flow: row;
    margin-bottom: 35px;
}
.affiliate-price-table .group-item {
    padding: 20px 10px;
    margin: 0px 5px;
    box-shadow: 0px 2px 10px 0px rgba(0,0,0, .15);
    -moz-box-shadow: 0px 2px 10px 0px rgba(0,0,0, .15);
    -webkit-box-shadow: 0px 2px 10px 0px rgba(0,0,0, .15);
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    background-color: #fff;
    flex: 1;
    text-align: center;
}

.affiliate-price-table .profit-percent {
    height: 100px;
    width: 100px;
    display: inline-flex;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    font-size: 2.1em;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #db3333;
}

.affiliate-price-table .profit-money .profit-item {
    display: block;
    padding: 2px 0;
    border-bottom: 1px dashed #e2e2e2;
}

.affiliate-call-to-action {
    padding: 20px 0px;
    background-color: #478ed8;
    text-align: center;
}

.region-wrap .row > *[class*=col] {
    margin-bottom: 30px;
}

.affiliate-benefit {
    background: transparent url("../../../img/affiliate/aff-benefit.png") no-repeat center top / cover;
    min-height: 450px;
}

/*-------------------------- Affiliate manager -----------------------*/
.affiliate-manager .affiliates-commissions .link-req-withdrawal {
    padding: 8px;
    text-align: center;
    border: 1px solid #e2e2e2;
    background-color: #f2f2f2;
}
.affiliate-manager .campaign-list a:hover img {
    opacity: .85;
    filter: alpha(opacity=85);
}

.affiliate-manager .sidebar .service-list > li {
    border-bottom: 1px solid #e2e2e2;
    padding: 0px;
}

.affiliate-manager .sidebar .service-list > li > a {
    display: block;
    padding: 8px 10px;
    color: #727272;
    font-size: 16px;
    position: relative;
}

.affiliate-manager .sidebar .service-list > li > a:hover,
.affiliate-manager .sidebar .service-list > li > a.active {
    background-color: #4894df;
    color: #fff;
}
.affiliate-manager .affiliates-link .banner-previews {
    border: 1px solid #e2e2e2;
    box-shadow: 0 3px 8px 0px rgba(0,0,0,.15);
    -moz-box-shadow: 0 3px 8px 0px rgba(0,0,0,.15);
    -webkit-box-shadow: 0 3px 8px 0px rgba(0,0,0,.15);
}

/*---------- Resource grant --------------*/


@media screen and (min-width: 1024px){
    body[class*='affiliate'] .feature-page {
        min-height: 500px;
    }
    body[class*='affiliate'] .feature-content {
        position: absolute;
        left: 0px;
        right: 0px;
        top: 12%;
    }
    .affiliate-manager .sidebar .service-list > li > a.active:before {
        content: "";
        border-width: 10px;
        border-style: solid;
        border-color: transparent transparent transparent #4894df;
        position: absolute;
        right: -20px;
    }
}

@media screen and (max-width: 1024px){
    body[class*='affiliate'] .feature-page:before {
        display: none;
    }
    body[class*='affiliate'] .feature-page {
        padding-bottom: 35px;
    }
}

@media screen and (max-width: 768px) {
    .affiliate-price-table .group-wrap {
        flex-flow: wrap;
    }
    .affiliate-price-table .group-item {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 667px) {
    body[class*='affiliate'] .feature-page {
        min-height: 298px;
    }
    body[class*='affiliate'] .feature-content {
        top: 24px;
    }
    body[class*='affiliate'] .feature-content .profit, body[class*='affiliate'] .feature-content h1 {
        font-size: 35px;
    }
}

@media screen and (max-width: 480px) {
    body[class*='affiliate'] .feature-content .profit, body[class*='affiliate'] .feature-content h1 {
        font-size: 24px;
    }
    .affiliate-intro .region-content {
        flex-flow: column;
    }
    .affiliate-intro .region-content .affiliate-step:not(.step-4) {
        margin-bottom: 48px;
    }
    .affiliate-intro .region-content .affiliate-step:not(.step-4):before {
        content: "\f175";
        top: inherit;
        right: inherit;
        bottom: -50px;
        margin-left: -8px;
        left: 50%;
    }
}
