#referral {
    position: absolute;
    z-index: 3;

    top: 0;
    left: 0;

    width: 100%;
}
#referral .ref {
    position: relative;

    margin: 0 auto;

    width: 780px;
    height: 550px;

    background: #ecf0f1;

    overflow: hidden;

    box-shadow: 0 0 5px black;
}
#referral .ref .area_head {
    position: relative;

    margin: 5px;

    width: calc(100% - 2*5px - 2*12px);
    height: 40px;

    padding: 0 12px;

    border-radius: 8px;

    font: 21px/38px 'titilliumWebSemiBold';
    color: black;

    text-align: left;

    background: #999999;
}
#referral .ref .close {
    float: right;
    margin-right: -1px;
    margin-top: 1px;
    width: 36px;
    height: 36px;
    background: url("../images/new/warClicks/wc_splosno/sp_2_close_min.png") -36px 0;
}
#referral .ref .close:hover {
    background-position-y: -36px;
    /*cursor: url("../images/cursorPointer.ico") 11 1, pointer;*/
}
#referral .ref .tab {
    display: inline-block;

    height: 32px;

    padding: 0 8px;

    margin: 4px 24px;

    border-radius: 8px;

    font: 21px/32px 'titilliumWebSemiBold';
    color: black;

    background: #4bada4;
}
#referral .ref .tab:hover:not(.selected):not(.disabled) {
    /*box-shadow: 1px 1px 0 black, -1px 1px 0 black, 1px -1px 0 black, -1px -1px 0 black;*/
    filter: brightness(130%);
    /*cursor: url("../images/cursorPointer.ico") 11 1, pointer;*/
}
#referral .ref .tab.disabled {
    color: #c2b49b;

    background: #96876b;

    box-shadow: none;
}
#referral .ref .tab.selected {
    color: lightgray;
    box-shadow: none;
}
#referral .ref .divider {
    height: 5px;

    margin: 4px 0;

    background: #999999;
}

#referral .ref .ref_content {
    width: 100%;
    height: calc(100% - 105px);

/*    border: 1px dashed white;
    box-sizing: border-box;*/
}

#referral .ref .text_a {
    padding: 0px 16px;

    font: 14px/16px 'titilliumWebRegular';
    color: black;

    text-align: justify;
}
#referral .ref .text_b {
     padding: 4px 16px;

     font: 14px/16px 'titilliumWebSemiBold';
     color: black;

     text-align: justify;
}
#referral .ref .text_c {
    padding: 8px 16px;

    font: 12px/16px 'titilliumWebRegular';
    color: black;

    text-align: justify;
}

#referral .ref .link {
    position: relative;
    display: inline-block;

    margin: 5px;

    padding: 0px 16px 8px 7px;

    border-radius: 12px;

    font: 19px/30px 'titilliumWebSemiBold';
    color: white;

    text-align: left;

    background: #f7931e;
    margin-left: 13px;
}

#referral .ref .link input {
    position: relative;
    float: right;

    margin-bottom: 4px;

    width: 400px;

    padding: 2px 8px;

    font: 16px/24px 'titilliumWebBold';
    color: black;

    background: white;

    border: none;
}

#referral .ref .link input:first-of-type {
    margin-top: 7px;
}


#referral .ref .ref_content.list .header_a {
    float: left;

    margin-left: 50px;

    width: 156px;

    height: 36px;

    background: #999999;

    padding-top: 2px;

    font: 11px/16px 'titilliumWebSemiBold';
    color: black;

    text-align: center;
}
#referral .ref .ref_content.list .header_a .box {
    display: inline-block;

    width: calc(100% - 4px);

    height: 16px;

    margin-top: 2px;

    background: white;
    border-radius: 3px;

    font: 12px/15px 'titilliumWebRegular';
    font-weight: bold;
    color: black;

    text-align: center;
}
#referral .ref .ref_content.list .header_b {
    float: left;

    margin-left: 10px;

    width: 128px;
    height: 36px;

    background: #999999;

    padding-top: 2px;

    font: 12px/16px 'titilliumWebBold';
    color: black;

    text-align: center;
}
#referral .ref .ref_content.list .header_b .box {
    display: inline-block;

    width: calc(100% - 4px);
    /*height: 12px;*/
    height: 16px;

    margin-top: 2px;

    background: lightgray;;
    border-radius: 3px;

    font: 12px/15px 'titilliumWebRegular';
    color: black;

    text-align: center;
}
#referral .ref .ref_content.list .header_b .box .gold{
    margin-top: -2px;
    transform: scale(0.8);
}
#referral .ref .ref_content.list .scroll {
    clear: left;

    height: 414px;


    overflow-y: scroll;

/*    border: 1px dashed white;
    box-sizing: border-box;*/
}
#referral .ref .ref_content.list .vert_divide {
    clear: left;

    height: 5px;

    margin-left: 50px;

    background: #999999;
}
#referral .ref .ref_content.list .scroll .member {
    height: 50px;

/*    border: 1px dashed white;
    box-sizing: border-box;*/
}
#referral .ref .ref_content.list .scroll .member .number {
    float: left;

    width: 50px;
    height: 50px;

    font: 16px/46px 'titilliumWebBold';
    font-weight: bold;
    color: black;

    text-align: center;

    background: #999999;
}
#referral .ref .ref_content.list .scroll .member .username {
    position: relative;
    float: left;

    margin: 6px;

    width: 144px;
    height: 38px;

    border-radius: 8px;

    background: #999999;
}
#referral .ref .ref_content.list .scroll .member .username:hover {
    filter: brightness(130%);
}
#referral .ref .ref_content.list .scroll .member .username span:nth-child(1) {
    position: absolute;

    font: 13px/13px 'titilliumWebRegular';
    color: black;

    text-align: left;

    transform-origin: 63% 110%;
    transform: rotate(-90deg);
}
#referral .ref .ref_content.list .scroll .member .username span:nth-child(2) {
    position: absolute;
    margin-left: 30px;

    width: 144px;

    font: 18px/38px 'titilliumWebSemiBold';
    color: black;

    text-align: left;
}
#referral .ref .ref_content.list .scroll .member .box {
    position: relative;
    float: left;

    margin: 6px 44px 6px 56px;

    width: 38px;
    height: 38px;

    border-radius: 8px;

    background: #4bada4;
}
#referral .ref .ref_content.list .scroll .member .box .star {
    display: inline-block;

    margin: 8px;

    width: 22px;
    height: 22px;

    background: url("../images/warZone/star.png") -22px 0 no-repeat;
}
#referral .ref .ref_content.list .scroll .member .box .star:hover:not(.hollow) {
    cursor: url("../images/cursorPointer.ico") 11 1, pointer;
    filter: brightness(130%);
}
#referral .ref .ref_content.list .scroll .member .box .star.hollow {
    background-position-x: 0;
}
#referral .ref .ref_content.list .scroll .member .box .star.hollow:hover {
    cursor: url("../images/cursorDefault.ico") 11 1, pointer;
}
#referral .ref .collected_text {
    position: absolute;
    z-index: 920;

    opacity: 1;

    font: 48px/48px 'titilliumWebRegular';
    color: black;

    transform: scale(0.1);
}

.marketing {
    -webkit-user-select  : text;
    -khtml-user-select   : text;
    -moz-user-select     : text;
    -ms-user-select      : text;
    -user-select         : text;

    overflow: auto;
    width: 750px;
    position: absolute;

}

.marketing img {
    max-width: 100%;
}

#referral .tweet_ref {
    top: 3px;
}

code {
    display: block;
    margin: 0px 0px;
    padding: 10px 12px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    background: #a39476;
    border-radius: 2px;
    box-sizing: initial;
    border: dashed 1px #448967;
    font: 12px/15px 'titilliumWebRegular';
    color: #3d3d3d;
}