* {
    position: relative;
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
button,
input,
label {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1rem;
    line-height: 1rem;
    font-weight: normal;
}

a {
    color: #172872;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    border-radius: 64px;
    transition: color 0.2s;
}

a:hover {
    color: #5252E7;
}

button {
    border: none;
}

button:focus {
    border: none;
    border-color: transparent;
    outline: none;
}

.mob-show {
    display: none;
}


/* fonts */

.title {
    font-size: 2rem;
    font-weight: 500;
    color: #172872;
}

.sub-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: #172872;
}

.para,
.para p {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 40px;
    color: #172872;
}

.text {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 32px;
    color: #172872;
}


/* button */

.btn {
    display: inline-block;
    line-height: 1.5rem;
    padding: 12px 48px;
    border-radius: 64px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #172872;
}

.btn:focus {
    outline: none;
}

.btn.btn-primary {
    background-color: #172872;
    color: #fff;
    transition: background-color 0.3s;
}

.btn.btn-primary:hover {
    background-color: #5252E7;
    color: #fff;
}

.btn.btn-secondary {
    text-align: center;
    border: #172872 2px solid;
    color: #172872;
    margin: 0 8px;
    background-color: #fff;
    transition: background-color 0.3s, color 0.3s;
}

.btn.btn-secondary:hover {
    background-color: #172872;
    color: #fff;
}

.btn.btn-tertiary {
    border: #ccc 2px solid;
    color: #fff;
    margin: 0 8px;
    background-color: #ccc;
    transition: background-color 0.3s, border 0.3s;
}

.btn.btn-tertiary:hover {
    border: #172872 2px solid;
    background-color: #172872;
    color: #fff;
}

@media (max-width: 768px) {
    .btn.btn-secondary {
        padding: 12px 32px;
        margin: 0 4px;
    }

    a.btn.btn-secondary {
        padding: 10px 32px;
    }

    .prepaid .btn.btn-secondary {
        margin: 8px 4px;
    }
}


/* table */

.table {
    width: 100%;
}

.table th {
    /* width: 25%; */
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #172872;
    line-height: 24px;
    color: #172872;
    font-size: 1.3rem;
    font-weight: 400;
}

.history .table th {
    width: 20%;
}

tbody:before {
    content: "";
    display: block;
    height: 8px;
}

.table td {
    /* width: 25%; */
    padding: 12px;
    font-size: 1.2rem;
    font-weight: 300;
    text-align: center;
    border-bottom: #ccc 1px dashed;
    word-break: break-all;
}

.history .table td {
    width: 20%;
}

td a {
    font-size: 1.2rem;
    font-weight: 300;
}

.table tr:nth-child(even) {
    color: #5252E7;
}


/* pagination */

.pagination {
    margin-top: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.pagination li {
    list-style: none;
    width: 28px;
    height: 28px;
    margin: 0 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.pagination li a {
    cursor: pointer;
    color: #172872;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    font-weight: 400
}

.pagination .page-item.active {
    background-color: #172872;
    border-radius: 50%
}

.pagination .page-item.active span {
    color: white;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    font-weight: 400
}

.pagination .page-item.disabled {
    display: none
}


/* navbar */

.navbar {
    width: 100%;
    height: 64px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.navbar .nav-list {
    margin: 0 24px;
}

.navbar .nav-list .nav-item {
    display: inline-block;
    padding: 0 24px;
    font-weight: normal;
    transition: color 0.2s;
}

.navbar .nav-list .nav-logo {
    display: inline-block;
    width: 140px;
    height: 64px;
    padding: 0 24px;
    background-image: url('/img/logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.navbar .toggle-list {
    display: none;
}

.navbar .toggle-list.active {
    display: flex;
    width: 100%;
    /* height: 300px; */
    background-color: #fff;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: absolute;
    top: 65px;
    padding: 20px 0;
    /* border: #172872 1px solid; */
    margin: 0;
    box-shadow: 0 12px 8px rgba(0, 0, 0, 0.3);
}

.navbar .toggle-list.active .nav-item {
    margin-top: 20px;
    margin-bottom: 20px;
}

.toggle-hide {
    display: none;
}

.navbar .user {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    cursor: pointer;
}

.navbar .user-name {
    font-size: 1rem;
    line-height: 44px;
    color: #172872;
    align-self: stretch;
    cursor: pointer;
}

.navbar .user-name::after {
    content: " ";
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background-image: url(/img/sidebar-toggle-light.png);
    background-repeat: no-repeat;
    background-position: center;
}

.navbar .nav-list .user-name {
    padding-right: 32px;
}

.navbar .user-name.active::after {
    background-image: url(/img/sidebar-toggle-close.png);
}

.navbar .user-img {
    width: 44px;
    height: 44px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

@media (max-width:768px) {

    /* navbar */
    .navbar .nav-list {
        margin: 0 16px;
    }

    .navbar .toggle {
        width: 44px;
        height: 44px;
        cursor: pointer;
    }

    .navbar .toggle.user {
        width: 100%;
    }

    .toggle-hide {
        display: block;
    }

    .navbar .toggle span {
        display: block;
        width: 36px;
        height: 3px;
        background-color: #172872;
        position: absolute;
        left: 4px;
    }

    .navbar .toggle span:nth-child(1) {
        top: 6px;
    }

    .navbar .toggle span:nth-child(2) {
        top: 20px;
    }

    .navbar .toggle span:nth-child(3) {
        top: 34px;
    }

    .navbar .nav-list .nav-item.user-name {
        line-height: 20px;
        text-align: right;
        align-self: center;
        padding-right: 32px;
    }
}


/* header */

.header {
    width: 100%;
    padding: 80px 0 40px 0;
}

.header .header-list .header-img {
    margin: 0 16px 0 -16px;
}

.header .header-list .header-para {
    font-weight: 400;
    line-height: 36px;
    color: #172872;
    margin-top: 160px;
    margin-bottom: 40px;
}


/* section */

.section {
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
}

.center {
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.flex {
    display: flex;
    align-items: center;
}

@media (max-width:768px) {
    .section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* fonts */
    .title {
        font-size: 1.4rem;
    }

    .para {
        font-size: 1rem;
    }
}


/* project */

.project {
    background-color: #F1F7FF;
}

.project .project-list {
    padding: 0 40px;
}

.project .project-list .project-title {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 24px;
}

.project .project-list .project-para {
    padding: 0 12px;
}

@media (max-width:992px) {

    /* header */
    .header .header-list .header-para {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    /* project */
    .project .project-list {
        padding: 0 20px;
    }
}

@media (max-width:768px) {

    /* header */
    .header {
        padding: 80px 0 80px 0;
    }

    .header .header-list .header-img {
        margin: 0;
    }

    /* project */
    .project .project-list {
        padding: 0 20px;
    }
}


/* register */

.register {
    background-color: #ABF0F5;
}

.register .register-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 100px;
}

.register .register-number {
    text-align: center;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 120px;
}

.register .btn {
    display: block;
    margin: 0 auto;
    margin-bottom: 32px;
}

.register .register-para {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 400;
}


/* about */

.about .about-title {
    margin-bottom: 36px;
}

.about .about-para {
    padding-right: 24px;
    margin-bottom: 36px;
}

.about .about-img {
    width: 100%;
}


/* login */

.login-page.section {
    width: 100%;
    margin: 0 auto;
    padding-top: 120px;
}

.tab {
    width: 100%;
    text-align: center;
    border-bottom: 2px solid #ccc;
}

.tab a {
    line-height: 44px;
    color: #333;
    font-size: 18px;
    background-color: white;
    cursor: pointer;
}

.tab.active {
    border-bottom: 2px solid #5252E7;
}

.tab.active a {
    color: #5252E7;
}

.form {
    margin-top: 48px;
    width: 100%;
}

.form .form-item {
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    padding: 12px 16px;
    padding-left: 44px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid #333;
}

.form .form-item:focus {
    outline: #5252E7 auto 1px;
}

.form .form-item.name {
    padding: 12px;
}

.form .form-icon {
    width: 16px;
    height: 16px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 2px;
    left: 16px;
}

.form .form-item.form-btn {
    width: 100%;
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 20px;
    line-height: normal;
    padding: 12px 16px;
    border: none;
    background-color: #172872;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form .form-item.form-btn:hover {
    background-color: #5252E7;
}

.form .form-btn.form-item.other-login {
    display: block;
    background-color: #fff;
    color: #172872;
    border: 2px solid #172872;
}

.form .form-btn.form-item.other-login:hover {
    background-color: #5252E7;
    color: #fff;
    border: 2px solid #5252E7;
}

.form .form-btn.form-item.login-google {
    margin-bottom: 0;
}

.form .form-item.form-btn.form-code {
    margin: 0;
    font-size: 1rem;
}

.form .forgot {
    text-align: center;
    line-height: 40px;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
}

.form .forgot a {
    font-size: 14px;
}

.form .forgot:after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #172872;
    transform: translateY(10px);
}

.form .form-title {
    font-size: 1.2rem;
    margin-top: 12px;
    margin-bottom: 12px;
}

.form .form-text {
    display: block;
    font-size: 14px;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 16px;
}

.form .radio {
    width: 16px;
    height: 16px;
    top: 2px;
}

.radio:checked[type=radio]:before {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    content: " ";
    border: #5252E7 1px solid;
    display: inline-block;
    border-radius: 50%;
}

.radio:checked[type=radio]:after {
    position: absolute;
    width: 10px;
    height: 10px;
    top: 3px;
    left: 3px;
    content: " ";
    background-color: #5252E7;
    display: inline-block;
    border-radius: 50%;
}

.form-check {
    width: 16px;
    height: 16px;
    border: black 1px solid;
    margin-right: 4px;
    margin-left: 16px;
}

.form-check:first-of-type {
    margin-left: 0;
}

form {
    margin-bottom: 0;
}

.form #region.form-item {
    padding-left: 16px;
}

@media (max-width:768px) {
    .form .form-item {
        margin-bottom: 12px;
    }

    .form .form-title {
        margin-top: 8px;
        margin-bottom: 8px;
    }
}


/* main */

h2.title {
    color: #172872;
    border-top: 2px solid #172872;
    border-bottom: 2px solid #172872;
    font-weight: 700;
    padding: 24px;
    text-align: center;
    margin-top: 24px;
    margin-bottom: 40px;
}

.main h2.title.add-list {
    margin-top: 0;
    margin-bottom: 24px;
}

.main .para,
.prepaid .para {
    margin-bottom: 40px;
}

.title.title-NT {
    margin-bottom: 40px;
}

.title .big-number {
    font-size: 4rem;
}

.container .line {
    width: 100%;
    height: 1px;
    background-color: #172872;
    margin-top: 40px;
    margin-bottom: 40px;
}

.container .dashline {
    width: 100%;
    height: 1px;
    border-bottom: 1px #ccc dashed;
    margin-top: 60px;
    margin-bottom: 20px;
}

.main .list .scroll {
    height: 380px;
    overflow-y: auto;
}

.scroll::-webkit-scrollbar {
    width: 6px;
}

.scroll::-webkit-scrollbar-track {
    width: 6px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.1);
}

.scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.chart-row {
    display: flex;
    justify-content: space-around;
}

.tab-chart {
    width: 90%;
    margin: 0 auto;
    margin-top: 20px;
}

.main .campaign-group {
    display: flex;
    justify-content: start;
    align-items: center;
    margin: 10px 0;
}

.main .campaign-group p,
.main .campaign-group a,
.main .campaign-group span {
    font-size: 18px;
    line-height: 24px;
}

.main .campaign-group .campaign-img {
    width: 120px;
    height: 100px;
    /* background: #ccc; */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.main .campaign-group .campaign-content {
    margin-left: 10px;
    width: calc(100% - 130px);
}

.main .campaign-group .campaign-content .campaign-name {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 26px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main .campaign-group a {
    margin-left: 12px;
}

.main .campaign-group a:nth-child(3) {
    margin-left: 0;
}

.main .campaign-group a:after {
    content: '';
    display: block;
    width: 2px;
    height: 18px;
    background-color: black;
    position: absolute;
    bottom: 2px;
    right: -10px;
}

.main .campaign-group a:last-child:after {
    width: 0;
}

.main .campaign-group .campaign-status .running {
    color: mediumseagreen;
}

.main .campaign-group .campaign-status .pending {
    color: royalblue;
}

.main .campaign-group .campaign-status .paused {
    color: darkorange;
}

.main .campaign-group .campaign-status .ended {
    color: dimgray;
}

.main .campaign-group .campaign-status .wrong {
    color: crimson;
}

@media (max-width: 768px) {
    h2.title {
        margin-bottom: 20px;
    }
}

@media (max-width: 420px) {
    .mob-show {
        display: block;
    }

    .main .campaign-group a:nth-child(5):after {
        width: 0;
    }

    .main .campaign-group a:nth-child(7) {
        margin-left: 0;
    }
}

.password .btn {
    margin-top: 24px;
}

@media (max-width: 768px) {
    .profile .form {
        margin-top: 32px;
        width: 100%;
    }
}


/* prepaid */

.form-prepaid label.text {
    color: #111;
    font-size: 1rem;
}

.form .invoice-input {
    margin-top: -8px;
    padding-top: 0;
}

.form .invoice-input .form-item {
    margin-top: 16px;
    margin-bottom: 0;
}


/* add ads */

.add .form .form-item {
    width: 100%;
    margin-top: 8px;
    margin-bottom: 32px;
}

.add .form .flex .form-item {
    width: 75%;
    margin-top: 8px;
    margin-bottom: 8px;
}

.add .form .form-item.time {
    width: 75%;
    margin-top: 8px;
    margin-bottom: 8px;
}

.add-label {
    padding-left: 12px;
    padding-right: 12px;
}

.add-pos {
    margin-bottom: 36px;
}

.add-pos .add-label {
    padding-right: 20px;
}

.add .form .flex select.form-item {
    width: 100px;
    padding-right: 8px;
    padding-left: 8px;
    margin-left: 0;
    margin-right: 12px;
}

.add .add-img {
    width: 160px;
    height: 160px;
    margin-left: 12px;
    background-color: #aaa;
}

.add .flex .btn {
    padding: 12px 36px;
    display: block;
    margin: 16px 20px;
}

.add .CPM .form-item {
    width: 30%;
    /* margin-left: 8px; */
}

.add .radio .CPC {
    margin-top: 8px;
    margin-bottom: 8px;
}

.add .CPM .form-item {
    margin-bottom: 8px;
}

.flex-cpc {
    display: flex;
    align-items: center;
}

.cpccpm input {
    margin-left: 12px;
}

.cpccpm .text {
    color: black;
}

.add .form .cpccpm .flex .form-item {
    width: 50%;
}

.add .form .cpccpm .flex .form-title {
    line-height: 24px;
}

@media (max-width:768px) {
    .add .flex .btn {
        padding: 16px 28px;
        margin: 16px;
    }
}

.add .form .preview-block {
    /* flex-wrap: wrap; */
    /* align-items: flex-start; */
}

.add .form .preview {
    width: 100%;
    height: 100%;
    padding: 10px;
    flex-shrink: 0;
    flex-grow: 0;
    /* flex-basis: 280px; */
    border-radius: 4px;
    border: #172872 1px solid;
    margin: 10px 0;
}

@media (max-width:991px) {
    .add .form .preview {
        width: 100%;
        height: 100%;
    }
}

@media (max-width:767px) {
    .add .form .preview {
        width: 100%;
        height: 100%;
    }
}

@media (max-width:575px) {
    .add .form .preview {
        width: 100%;
        height: 100%;
        margin: 10px auto;
    }
}

.add .form .preview p {
    width: 100%;
    height: 42px;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 20px;
    word-break: break-all;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.add .form .preview .separate {
    display: inline-block;
    margin: 0 8px;
    width: 2px;
    height: 18px;
    transform: translateY(3px);
    background-color: #172872;
}

.add .form .preview .addnew {
    display: block;
    width: 60px;
    height: 60px;
    border: #172872 1px solid;
    border-radius: 50%;
    margin: 120px auto;
    transition: 0.3s all;
}

@media (max-width:991px) {
    .add .form .preview .addnew {
        margin: 90px auto;
    }
}

@media (max-width:767px) {
    .add .form .preview .addnew {
        margin: 100px auto;
    }
}

@media (max-width:575px) {
    .add .form .preview .addnew {
        margin: 120px auto;
    }
}

.add .form .preview .addnew span {
    display: block;
    width: 24px;
    height: 4px;
    background-color: #172872;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.add .form .preview .addnew span:nth-child(1) {
    width: 24px;
    height: 3px;
}

.add .form .preview .addnew span:nth-child(2) {
    width: 3px;
    height: 24px;
}

.add .form .preview .addnew:hover {
    border: #5252E7 1px solid;
    background-color: #5252E7;
}

.add .form .preview .addnew:hover span {
    background-color: #fff;
}

.add-bg {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.add-bg .add-preview {
    padding: 20px;
    background-color: #fff;
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    margin: 0 10px;
}

.add-bg .add-preview .btn-group {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.add-bg .add-preview .btn {
    border: 2px solid #172872;
    margin: 0 10px;
    transition: 0.3s all;
}

@media (max-width:420px) {
    .add-bg .add-preview .btn {
        margin: 0 5px;
        padding: 12px 40px;
    }
}

.add-bg .add-preview .btn:hover {
    background-color: #172872;
    color: #fff;
}

.add .form .add-bg .add-pos .flex {
    flex-wrap: wrap;
}

.add .form .add-bg .add-pos .flex>div {
    flex-shrink: 0;
}

#TurboOn-text,#info-text {
    padding: 4px 8px;
    width: 80px;
    font-size: 14px;
    border: #172872 1px solid;
    border-radius: 4px;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 24px;
    z-index: 2;
}

#TurboOn-text {
    width: 160px;
}


/* adv history */

.text.form-item {
    width: 100%;
    font-size: 1rem;
    line-height: 1.2rem;
    padding: 12px 16px;
    padding-left: 0;
    margin-bottom: 20px;
    color: black;
    border: 1px solid transparent;
}

.text.form-item span {
    color: #5252E7;
}

@media (max-width:768px) {
    .history .period {
        margin-bottom: 8px;
    }

    .history .state {
        margin-bottom: 32px;
    }

    .history .table td {
        font-size: 14px;
        padding: 8px 12px;
    }
}


/* contact */

.contact {
    background-color: #F1F7FF;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer .footer-list {
    padding: 0 8px;
}

.footer .contact-text {
    margin: 0 4px;
}

.footer span.contact-text {
    color: #172872;
}

.footer .contact-icon {
    display: inline-block;
    width: 44px;
    height: 44px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 8px;
}

.copyright {
    background-color: #172872;
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer .footer-logo {
    display: inline-block;
    width: 140px;
    height: 64px;
    padding: 0 24px;
    background-image: url('/img/logo-w.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.footer .copyright .text {
    text-align: right;
    color: #fff;
    font-size: 0.8rem;
    line-height: 28px;
    font-weight: 400;
}

@media (max-width:768px) {

    /* footer */
    .contact,
    .copyright {
        display: block;
        text-align: center;
    }

    .footer .copyright .text {
        text-align: center;
    }

    .footer .contact-icon {
        margin-top: 16px;
    }
}

@media (max-width:768px) {

    /* register */
    .register .register-title {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .register .register-number {
        font-size: 3rem;
        margin-bottom: 60px;
    }

    .register .register-para {
        font-size: 1.2rem;
    }
}

@media (max-width:768px) {
    .hide-sm {
        display: none;
    }
}

.show-sm {
    display: none;
}

@media (max-width:768px) {
    .show-sm {
        display: initial;
    }
}


/* ///////////////////// */


/* button toggle */

.on-off {
    margin-bottom: 1rem;
}

.btn-toggle {
    margin: 0 4rem;
    padding: 0;
    border: none;
    height: 1.5rem;
    width: 3rem;
    border-radius: 1.5rem;
    color: #aaa;
    background: #bdc1c8;
}

.btn-toggle:focus,
.btn-toggle.focus,
.btn-toggle:focus.active,
.btn-toggle.focus.active {
    outline: none;
    border: none;
}

.btn-toggle:before,
.btn-toggle:after {
    line-height: 1.5rem;
    width: 4rem;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    bottom: 0;
    transition: opacity 0.25s;
}

.btn-toggle:before {
    content: "暫停";
    left: -3.6rem;
}

.btn-toggle:after {
    content: "運行";
    right: -3.6rem;
    opacity: 0.5;
}

.btn-toggleDe:before {
    content: "關閉";
}

.btn-toggleDe:after {
    content: "開啟";
}
.btn-toggle>.handle {
    position: absolute;
    top: 0.1875rem;
    left: 0.1875rem;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 1.125rem;
    background: #fff;
    transition: left 0.25s;
}

.btn-toggle.active {
    transition: background-color 0.25s;
}

.btn-toggle.active>.handle {
    left: 1.6875rem;
    transition: left 0.25s;
}

.btn-toggle.active:before {
    opacity: 0.5;
}

.btn-toggle.active:after {
    opacity: 1;
}

.btn-toggle:before,
.btn-toggle:after {
    color: #333;
}

.btn-toggle.active {
    background-color: #5252E7;
}

.hide {
    display: none !important;
}


/* loading */

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: #fefefe;
    position: fixed;
    top: 64px;
    left: 0;
    z-index: 1;
}

.loading .loading-block {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
}

.loading .loading-block .bar {
    width: 6px;
    height: 24px;
    margin: 0 4px;
    background-color: #172872;
    border-radius: 2px;
}

@-webkit-keyframes loading {
    0% {
        transform: scaleY(1);
    }

    30% {
        transform: scaleY(2);
    }

    60% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(1);
    }
}

@keyframes loading {
    0% {
        transform: scaleY(1);
    }

    30% {
        transform: scaleY(2);
    }

    60% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(1);
    }
}

.loading .loading-block .block1 .bar {
    -webkit-animation: loading 2s infinite linear both;
    animation: loading 2s infinite linear both;
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.loading .loading-block .block2 .bar {
    -webkit-animation: loading 2s infinite linear both;
    animation: loading 2s infinite linear both;
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

.loading .loading-block .block3 .bar {
    -webkit-animation: loading 2s infinite linear both;
    animation: loading 2s infinite linear both;
    -webkit-animation-delay: 1.2s;
    animation-delay: 1.2s;
}

.loading .loading-block .block4 .bar {
    -webkit-animation: loading 2s infinite linear both;
    animation: loading 2s infinite linear both;
    -webkit-animation-delay: 1.6s;
    animation-delay: 1.6s;
}

.loading .loading-block .block5 .bar {
    -webkit-animation: loading 2s infinite linear both;
    animation: loading 2s infinite linear both;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}


/* data */

.result h3.sub-title {
    font-size: 24px;
    color: #111;
    text-align: left;
    line-height: 32px;
}

.result .flex {
    justify-content: space-between;
    align-items: center;
}

.result .flex a {
    margin-left: 20px;
    font-size: 18px;
    line-height: 32px;
}

.result .flex a:before {
    content: '';
    display: inline-block;
    width: 36px;
    height: 36px;
    background-image: url(" /img/edit.png ");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -2px;
    left: -40px;
}

.result .campaign-info {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.result .campaign-info .image {
    width: 250px;
    padding-top: 208.333333px;
    background-repeat: no-repeat;
    background-color: #eee;
    background-size: contain;
    background-position: center;
    margin: auto;
    margin-bottom: 10px;
}

.result .campaign-info .info-list p {
    font-size: 18px;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 4px 0px 6px 0px;
}

.result .campaign-info .info-list p span {
    font-size: 18px;
    color: #5252E7;
}

.result .campaign-info .info-list p span.running {
    color: mediumseagreen;
}

.result .campaign-info .info-list p span.pending {
    color: royalblue;
}

.result .campaign-info .info-list p span.paused {
    color: darkorange;
}

.result .campaign-info .info-list p span.ended {
    color: dimgray;
}

.result .campaign-info .info-list p span.wrong {
    color: crimson;
}

.result .btns-group {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.result .btns-group .btn {
    margin-bottom: 10px;
}

@media (max-width:576px) {
    .result .flex {
        display: block;
    }

    .result .flex a {
        margin-left: 36px;
        margin-top: 12px;
        display: inline-block;
    }

    .result .btns-group .btn {
        margin: 0 2px;
        padding: 12px 28px;
    }
}

@media (max-width:350px) {
    .result .btns-group .btn {
        margin: 0 1px;
        padding: 12px 24px;
    }
}

.balance {
    width: 216px;
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
    color: #172872;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 0 auto;
}

.balance.last {
    margin-bottom: 40px;
}

.balance span {
    font-size: 18px;
}

#pdf {
    overflow: hidden;
    background-color: #fff;
    max-width: 640px;
    margin: 0 auto;
}

#pdf-show {
    background-color: #fff;
}

#pdf-print {
    width: 620px;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
    z-index: -1;
}

#pdf-print .title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

input.radio {
    margin: 10px 0;
}

input[type="submit"] {
    background-color: #fff;
}

/* privacy */

.privacy .para h4 {
    line-height: 40px;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
}

.privacy .para h5 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

.privacy .para h6 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 20px;
    color: #333;
}

.privacy .para p {
    font-size: 18px;
    line-height: 36px;
    margin-bottom: 30px;
    margin-left: 42px;
    color: #333;
}

.privacy .para p:first-child,
.privacy .para p:last-child {
    margin-left: 0;
}

.privacy .para p.no-mb {
    margin-bottom: 0;
}

.privacy .para ul {
    margin-top: 10px;
    margin-bottom: 30px;
    margin-left: 30px;
}

.privacy .para ul li {
    font-size: 18px;
    color: #333;
}

.privacy .para ul li span.title {
    font-size: 18px;
    color: #333;
    text-decoration: underline;
}

.privacy .para.en p {
    margin-left: 0;
}

.privacy .para.en ul {
    margin-left: 0;
}


/* terms */

.terms .para p {
    font-size: 18px;
    line-height: 36px;
    margin-bottom: 30px;
    color: #333;
}

.terms .para ol {
    margin-bottom: 30px;
}

.terms .para ol li {
    font-size: 18px;
    color: #333;
}

.pop-bg {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.pop-bg .pop-preview {
    padding: 20px;
    background-color: #fff;
    max-width: 800px;
    border-radius: 10px;
    margin: 0 10px;
}

.pop-bg .pop-preview.large {
    width: 100%;
}

.pop-bg .pop-preview.middle {
    width: 75%;
}

.pop-bg .pop-preview.small {
    width: 60%;
}

.pop-bg .pop-preview .row {
    margin-bottom: 12px;
}

.pop-bg .pop-preview .pop-head {
    font-size: 2rem;
    font-weight: 500;
    color: #172872;
    line-height: 2rem;
    text-align: center;
    margin: 0 2px 14px;
    padding: 8px 0 20px;
    border-bottom: solid 2px #172872;
}

.pop-bg .pop-preview .pop-title {
    font-size: 1.2rem;
    margin-top: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: #172872;
}

.pop-bg .pop-preview .form-group {
    display: flex;
}

.pop-bg .pop-preview .form-label {
    font-size: 1.2rem;
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 10px 0 0 0;
    width: 87px;
    text-align: center;
    border-left: solid 2px #172872;
}

.pop-bg .pop-preview .form-group .form-item {
    width: calc(100% - 87px);
    margin: 8px 0 8px 8px;
    font-size: 1rem;
    height: 46px;
}

.pop-bg .pop-preview .pop-content {
    text-align: left;
}

.pop-bg .pop-preview .btn-group {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.pop-bg .pop-preview .form-item {

    margin-top: 8px;
    margin-bottom: 32px;
    padding: 12px;
}

.pop-bg .pop-preview .btn {
    border: 2px solid #172872;
    margin: 0 10px;
    transition: 0.3s all;
}

.pop-bg .pop-preview .btn:hover {
    background-color: #172872;
    color: #fff;
}