#of-tos-popup-container {
    display: none;
    font-family: 'Open Sans', sans-serif, 'Arial', sans-serif;
    line-height: 18px;
}
#of-tos-popup-container .of-popup-overlay {
    background: #000;
    opacity: 0.7;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99998;
}
#of-tos-popup-container .of-tos-popup {
    width: 625px;
    height: 500px;
    position: fixed;
    z-index: 99999;
    top: 100px;
    left: 0;
    right: 0;
    background: #fff;
    margin: 0 auto;
    box-shadow: 0 0 15px 2px #323232;
    border-radius: 3px;
    box-sizing: content-box;
}
#of-tos-popup-container .of-popup-tos-close {
    width: 8px;
    height: 8px;
    position: absolute;
    top: 20px;
    right: 20px;
}
#of-tos-popup-container .of-popup-tos-close:before {
    content: '';
    border: 1px solid #636a76;
    width: 11px;
    transform: rotate(45deg);
    position: absolute;
}
#of-tos-popup-container .of-popup-tos-close:after {
    content: '';
    border: 1px solid #636a76;
    width: 11px;
    transform: rotate(-45deg);
    position: absolute;
}
#of-tos-popup-container .of-tabs {
    width: auto;
    height: auto;
    margin: 30px 0 0 30px;
    position: relative;
    z-index: 10;
    float: none;
    display: block;
    padding: 0;
    box-sizing: content-box;
    background: none;
    color: #333333;
    font-family: 'Open Sans', sans-serif, 'Arial', sans-serif;
}
#of-tos-popup-container .of-tabs .of-tab-item {
    width: auto;
    height: auto;
    display: inline-block;
    text-transform: uppercase;
    border: 1px solid #e3e3e3;
    padding: 5px 10px;
    cursor: pointer;
    background: #fff;
    list-style: none;
    float: none;
    line-height: 18px;
    text-align: center;
    font-family: 'Open Sans', sans-serif, 'Arial', sans-serif;
}
#of-tos-popup-container .of-tabs .of-tab-item.of-tab-active {
    color: #3399cc;
    border-left: 1px solid #e3e3e3;
    border-top: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
    border-bottom: 1px solid #fff;
}
#of-tos-popup-container .of-tos-contents {
    border: 1px solid #e3e3e3;
    width: 523px;
    height: 368px;
    overflow-y: scroll;
    margin: -1px 0 0 30px;
    padding: 20px;
    text-align: justify;
    color: #1c1c1c;
    position: relative;
    z-index: 9;
    box-sizing: content-box;
}
#of-tos-popup-container .hostname {
    text-align: center;
}
::-webkit-scrollbar {
    width: 7px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #e3e3e3;
}
::-webkit-scrollbar-thumb:hover {
    background: #dddbdb;
}
::-webkit-scrollbar-thumb:active {
    background: #c1c1c1;
}
#of-tos-popup-container .of-tos-contents p {
    line-height: 20px !important;
    background: none;
    color: #1c1c1c;
    text-align: justify;
}
#of-tos-popup-container .of-tos-text-part {
    display: none;
}
#of-tos-popup-container .of-tos-text-part.of-content-active {
    display: block;
}
#of-tos-popup-container .of-tos-text-part a {
    color: #1c1c1c;
    text-decoration: underline;
}
#of-tos-popup-container .of-tos-text-part h2 {
    text-align: center;
}
#of-tos-popup-container .of-tos-text-part h1 {
    text-align: center;
    color: #000;
    margin: 15px 0;
    font-size: 18px;
    line-height: 24px;
}
#of-tos-popup-container .of-tos-text-part h2,
#of-tos-popup-container .of-tos-text-part h3 {
    color: #000;
    font-size: 14px;
    float: none;
    line-height: 14px;
    background: none;
    text-shadow: none;
    text-indent: 0;
}
@media (max-width: 768px) {
    #of-tos-popup-container .of-tos-popup {
        width: 100%;
        height: 400px;
        top: 50%;
        transform: translateY(-50%);
        border-radius:0;
    }
    #of-tos-popup-container .of-tos-contents {
        width: auto;
        height: 268px;
        margin-left: 0;
    }
    #of-tos-popup-container .of-tabs {
        margin-left: 0;
    }
    #of-tos-popup-container .of-tabs .of-tab-item {
        font-size: 12px;
    }
}