.affiliate_container {
    max-width: 1260px;
    min-height: 70vh;
    margin: 0 auto;
    padding: 0 5px;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Fira Sans, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.affiliate_header {
    display: flex;
    align-items: center;

    margin-bottom: 30px;
}
.affiliate_back {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    background: none;
    margin: 0 15px 0 5px;
}
.affiliate_back svg {
    width: 100%;
    height: 100%;
    transition: .3s;
}
.affiliate_back:hover svg,
.affiliate_back:focus svg {
    transform: translateX(-5px);
    filter: invert(84%) sepia(29%) saturate(676%) hue-rotate(1deg) brightness(106%) contrast(106%);
}
.affiliate_title {
    font-size: 1.5rem;
    line-height: 31px;
    font-weight: 400;
}
.affiliate_main {
    display: flex;

}
.affiliate_sidebar {
    border-bottom: solid #E4E4E4 1px;
    margin-right: 65px;
}
.sidebar_logo-container {
    width: 255px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;

}
.sidebar_logo {
    max-width: 255px;
    max-height: 152px;
}
.sidebar_rates {
    margin: 12px 0;
}
.sidebar_title {
    font-size: 1rem;
    line-height: 24px;
    font-weight: 700;
    display: block;
}
.sidebar_list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar_desc {
    word-break: break-word;
}
.sidebar_persent {
    width: 70px;
    text-align: center;
    font-weight: 700;
    height: 30px;
    background-color: #f9f9f9;
    border-radius: 4px;
    white-space: nowrap;
}

.sidebar_sub {
    border-radius: .35rem;
    background-color: #FFF376;
    min-width: 100%;
    padding: 8px 0;
    margin-top: 10px;

    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;

    transition: .3s;
}
.sidebar_sub a {
    width: 100%;
    height: 100%;
}
.sidebar_sub:hover,
.sidebar_sub:focus {
    transform: translateY(-5px);
}

.affiliate_info {
    display: flex;
    align-items: center;
    
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: solid #E4E4E4 1px;
}
.affiliate_url {
    margin-right: 18px;
}
.affiliate_url a{
    outline: none;
    text-decoration: none;
    color: #55a8fd;
}
.tags_list {
    font-size: 13px;
    color: #797979;
    display: flex;
    align-items: center;
}
.tags_elem {
    margin-right: 5px;
}
.tags_elem a:hover, .tags_elem a:focus {
    text-decoration: underline;
}
.affiliate_tabs {
    margin-bottom: 20px;

    border-radius: 4px;
    background: #f5f5f5;
    overflow: hidden;
}
.tabs_btn {
    background-color: transparent;
    border: none;
    outline: none;
    padding: 10px 24px;
    margin: 0;

    transition: .4s;
}
.btn_active {
    background-color: #FFF376;
}
.tabs_btn:hover, .tabs_btn:focus {
    background-color: #FFF376;
}
.tabs_content {
    display: none;
}
.tabs_active {
    display: block;
}
.tab_title {
    font-weight: 700;
    margin-bottom: 8px;

}
.tab_desc {
    font-size: .813rem;
}

/* mini post */

.affiliate_mini {
    border: 1px #E4E4E4 solid;
    border-radius: 4px;
    margin-bottom: 1rem;

    min-width: 803px;
}
.mini_content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mini_logo-container {
    background: fff;
    height: 98px;
    margin-right: 1rem;
    overflow: hidden;
}
.mini_logo {
    max-width: 98px;
    min-width: 98px;
}
.mini_info {
    display: flex;
    align-items: center;
}
.mini_title {
    font-size: .87rem;
    line-height: 17px;
    font-weight: 700;
}
.mini_title a:hover, .mini_title a:focus {
    text-decoration: underline;
}
.mini_desc {
    font-size: 13px;
    color: #797979;
    display: flex;
    align-items: center;
    width: 100%;

    border-top: 1px #E4E4E4 solid;
    padding: 8px 16px !important;
    word-wrap: normal;
}
.mini_url {
    font-size: .75rem;
    color: #3a79bd;
}
.mini_url:hover, .mini_url:focus {
    text-decoration: underline;
}
.mini_reward {
    font-size: .81rem;
    line-height: 20px;
    font-weight: 400;
    padding: 0 8px 0 8px;
    background-color: #F7F7F7;

    display: flex;
    place-items: center;
    height: 98px;
}

/* Notification tab */

.event {
    display: flex;
    padding: 16px 0 12px;
}
.event_date {
    margin-right: 15px;
}
.date {
    font-size: .75rem;
    line-height: 16px;
    color: #9ca8b3;
}
.event_content {
}
.event_title {
    font-size: .875rem;
    line-height: 18px;
    margin-bottom: 2px;
    font-weight: 400;
}
.event_desc {
    font-size: .75rem;
    line-height: 16px;
    color: #000;
}
.event_url {
    font-size: .75rem;
    line-height: 16px;
    color: #55a8fd;
}

/* Trafic types tab */
.trafic {
    display: flex;
}
.trafic_title-container {
    margin-right: 20px;
}
.trafic_title{ 
    font-size: 1rem;
    line-height: 24px;
    font-weight: 700;
}
.trafic_content {
    flex: 1 1 auto;
}
.trafic_list {
    display: flex;
    flex-wrap: wrap;
}
.trafic_elem {
    margin: 4px 0;
    padding: 3px 10px 3px 28px;

    font-size: .875rem;
    line-height: 18px;
    position: relative;

    max-width: 33.3333%;
    flex: 0 0 33.3333%;
}
.trafic_elem:before {
    content: ' ';
    width: 12px;
    height: 9px;
    top: 8px;
    left: 10px;
    background: url('../images/positive.svg');
    background-size: 100% 100%;
    position: absolute;
}

/* filter */
.filter_container {
    display: flex;
    margin-bottom: 30px;
}
.filter_content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    position: relative;
}
.filter_content svg {
    position: absolute;
    left: calc(100% - 10px);
    top: calc(50% - 3px);

    transition: .3s;
}
.filter_title {
    font-size: 1rem;
    font-weight: 600;
    margin-right: 69px;
}
.filter {
    background-color: #FFF376;
    padding: 10px;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;


    user-select: none;
}
.filter_btn {
    font-size: 1rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Fira Sans, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

    background-color: #FFF376;
    padding: 10px;
    border-radius: 4px;
}
.filter_list {
    background-color: #fff;
    list-style: none;
    position: absolute;
    top: 100%;
    left: -1px;
    right: -1px;
    z-index: 1;
    max-height: 200px;
    overflow: scroll;
    overflow-x: hidden;
    
    transition: .3s;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
}
.filter_active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.filter_content .filter_active{
    transform: rotate(180deg);
}
.filter_elem {
    padding: 10px;
    transition: .3s;
}
.filter_elem:hover, .filter_elem:focus {
    background-color: #FFF376;
}

.online_shops {
    display: none;
}
.online_shops-active {
    display: block;
}

#rcl-office p {
    line-height: initial !important;
}