charset "utf-8";

/* CSS Document */
* {
    /*	border: 1px solid black;*/
}

html {
    overflow: scroll;
}

html,
body {

    display: flex;
    justify-content: center;
    align-content: center;
    height: 100%;
    width: 100%;


}

* {
    font-family: "", sans-serif;
}



@media (max-width:800px) {

    body,
    .wrapper {
        width: 100%;
    }
}

.wrapper {
    width: 100%;
    height: auto;

    min-width: 400px;
    padding-top: 60px;

}



/*去掉a預設樣式*/

a {
    text-decoration: none;
}

a:link {
    text-decoration: none !important;
}

/*
a:visited{	text-decoration:none !important;}
a:hover{	text-decoration: none!important;} 
a:actived{	text-decoration: none!important;
}	
*/
.flexcard {
    display: flex;
}

.jcc {
    display: flex;
    justify-content: center;
    /*align-items: center;*/
}

.jca {
    display: flex;
    justify-content: space-around;
}

.aic {
    display: flex;
    align-items: center;
}

.aie {
    display: flex;
    align-items: flex-end;
}

.fdc {
    flex-direction: column;
}

.por {
    position: relative;
}

.poa {
    position: absolute;
}

.text-right {
    text-align: right;
}

.vertical-table {}

.vertical-table tr {
    display: table-cell;
}

.vertical-table tr td,
.vertical-table tr th {
    display: block;
}

.f_right {
    float: right;
}

.red {
    color: red;
}







/*login form*/
@media {
    .login_form {
        height: 400px;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding-top: 80px;
    }

    .input-1 {
        height: 50px;
        width: 350px;
        padding-left: 60px;
        border: 1px solid #ccc;
        border-radius: 25px;
    }

    .input-0 {
        height: 50px;
        width: 350px;
        padding-left: 20px;
        border: 1px solid #ccc;
        border-radius: 25px;
    }

    .captcha {
        height: 50px;
        width: 320px;
        border: 1px solid #ccc;
        border-radius: 10px;
        margin-top: 20px;
        padding: 0 15px;
        margin: 20px 0 20px 0;

    }

    .login_form img {
        margin-bottom: 20px
    }

    .login_form input:focus {
        outline: none;
        box-shadow: 3px 4px 2px 1px #eee;

    }

    .login_form .btn {
        width: 350px;
        padding: 10px;
        height: 50px;
        margin-top: 20px;
        border-radius: 25px;
        outline: none;
    }

    .login_form button:focus,
    .login_form button:active {
        outline: 0 !important;
    }

    #alert01 {}

    #alert01 .modal-dialog {
        max-width: 300px;
    }

    #alert01 .modal-header {
        background: #ccc;
        border-radius: 5px 5px 0 0;
        text-align: center;
        color: #fff;
    }
}


/*role choice*/
@media {
    .role_choice {
        display: flex;
        width: 240px;
        justify-content: space-between;
        margin-top: 20px;
    }

    .role-boss,
    .role-partner {
        background-size: 80px 80px;
        width: 80px;
        height: 80px;
        display: inline-block;
        border-radius: 40px;
    }

    .role-boss {
        background-image: url(../images/role-boss.png);
        background-color: #C4F2EC;
    }

    .role-partner {
        background-image: url(../images/role-partner.png);
        background-color: #ECD383;
    }

    .role-boss:hover,
    .role-partner:hover {
        box-shadow: 2px 2px 1px 3px #eee;
    }

    .role_choice .text-center {
        position: relative;
    }



    /* Hide the browser's default radio button */
    .role_choice div input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    /* Create a custom radio button */
    .checkmark {
        position: absolute;
        bottom: 18px;
        left: 4px;
        height: 16px;
        width: 16px;
        background-color: #eee;
        border-radius: 50%;
    }

    /* On mouse-over, add a grey background color */
    .role_choice div:hover input~.checkmark {
        background-color: #ccc;
    }

    /* When the radio button is checked, add a blue background */
    .role_choice div input:checked~.checkmark {
        background-color: #424242;
    }

    /* Create the indicator (the dot/circle - hidden when not checked) */
    .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    /* Show the indicator (dot/circle) when checked */
    .role_choice div input:checked~.checkmark:after {
        display: block;
    }

    /* Style the indicator (dot/circle) */
    .role_choice div .checkmark:after {
        top: 4px;
        left: 4px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: white;
    }

}


/*	nav bar*/
@media {

    .nav {
        display: flex;
        position: relative;
        height: 60px;
        background: #1A1D3E;
        border-bottom: #EB9D14 4px solid;
        padding: 10px 0;
        margin-bottom: 20px;

    }

    .fixed-top {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1030;
    }

    .logo {
        width: 120px;
        height: auto;
        background-image: url(../images/Yeser-logo.png);
        background-size: 120px auto;
        background-repeat: no-repeat;
        margin-left: 20px;

    }


    .login {
        padding: 10px 30px;
        align-content: center;
        display: flex;
        color: #F6C644;
        letter-spacing: 2px;
    }

    .buttons {
        position: absolute;
        right: 0;
        top: 5px;
    }

    .buttons span {
        height: 40px;
        width: 40px;
        display: inline-block;
        background-size: 25px 25px;
        background-position: 7px 7px;
        background-repeat: no-repeat;
        margin-right: 10px;
    }

    .buttons span:hover {
        background-size: 28px 28px;
        transition: 0.8s;
    }

    .btn-explore {
        background-image: url(../images/icon-0609/explore.png);
    }

    .btn-chat {
        background-image: url(../images/icon-0609/chat.png);
    }

    .btn-homepage {
        background-image: url(../images/icon-0609/homepage.png);
    }

    .btn-setting {
        background-image: url(../images/icon-0609/setting.png);
    }

    .active .btn-homepage {
        background-image: url(../images/icon-0609/homepage-0.png);
    }

    .active .btn-explore {
        background-image: url(../images/icon-0609/explore-0.png)
    }

    .active .btn-chat {
        background-image: url(../images/icon-0609/chat-0.png);
    }

    .active .btn-setting {
        background-image: url(../images/icon-0609/setting-0.png);
    }

    .btn-account-boss {
        border: 3px solid #3DD3C1;
        border-radius: 5px;
    }

    .btn-account-boss div {
        border: 2px solid #fff;
        border-radius: 3px;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .btn-account-partner {
        border: 3px solid #E2B82F;
        border-radius: 50%;
    }

    .btn-account-partner div {
        border: 1px solid #fff;
        border-radius: 50%;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .nav .unread {
        color: #fff;
        top: -25px;
        right: 10px;
    }

}


/*explore*/
@media {
    .explore {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        position: relative;
    }

    .tab_box {
        background: #eee;
        width: 200px;
        padding: 2px;
        margin-right: 5px;
        /*display: flex;*/

    }


    .tab_box a {
        background: #fff;
        color: #DC8836;
        border: 2px solid #fff;
        border-radius: 5px;
        padding: 5px;
        display: block;
        margin: 5px 2px;
    }

    .tab_box a:hover {
        background: #eee;
        transition: 0.5s;
    }

    .tab_box a:visited {
        color: #DC8836;
    }

    .tab_box a.active {
        background: #ccc;
        color: #fff;
    }

    div.sticky {
        position: -webkit-sticky;
        position: sticky;
        top: 70px;
    }

    .ad_box {
        width: 200px;
        height: auto;
    }

    .explore_list {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-right: 5px;
        /*width:60% ;*/

    }

    .list_box {
        border: 1px solid #eee;
        width: 600px;
        height: 360px;
        display: flex;
        margin-bottom: 20px;

    }

    .list_box:hover {
        box-shadow: 2px 2px 1px 1px #eee;
        margin-top: 2px;
        transition: 0.5s;

    }

    .list_l {
        width: 60%;
        overflow: hidden;
        position: relative;
        cursor: pointer;
    }

    .list_header {
        background: linear-gradient(0deg, transparent 0%, transparent 40%, black 100%);
        color: #fff;
        padding: 10px;
        display: flex;
        height: 200px;
        position: absolute;
        width: 100%;
    }

    .list_header .ppl_img {
        margin-right: 15px;
    }

    .list_l span {
        line-height: 40px;
    }

    .list_cover {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .list_r {
        width: 40%;
        padding: 20px;
    }

    .like_icon {
        background: url(../images/like-yet.png) no-repeat;
        background-size: 40px 40px;
        height: 40px;
        width: 40px;
        background-position: 0px -4px;
        cursor: pointer;

    }

    .liked_icon {
        background: url(../images/like.png) no-repeat;
        background-size: 40px 40px;
        height: 40px;
        width: 40px;
        background-position: 0px -4px;
        cursor: pointer;
    }

    .topcoin {
        padding: 10px 30px;
    }

    .topcoin b {
        color: #50d8af;
        margin-right: 15px;
    }

    .list_intro {

        font-size: 12px
    }

    .list_price {
        padding: 20px 10px;
        display: flex;
        justify-content: space-around;

    }

    .touch_box {
        display: flex;
        justify-content: space-around;
        padding-top: 20px;
    }

    .touch_icon {
        background: url(../images/touch-yet.png) no-repeat;
        background-size: 70px 70px;
        padding: 70px 0 0 0;
        width: 70px;
        text-align: center;
        color: #262626;
    }

    .call_icon {
        background: url(../images/call.png) no-repeat;
        background-size: 70px 70px;
        padding: 70px 0 0 0;
        width: 70px;
        text-align: center;
        color: #262626;
    }

    .touched_icon {
        background: url(../images/touch.png) no-repeat;
        background-size: 70px 70px;
        height: 70px;
        width: 70px;

    }

    .touch_icon,
    .touch_icon:hover {
        text-decoration: none;
    }
}

@media screen and (max-width: 1000px) {
    .list_box {
        max-width: 600px;
        width: 100%;
    }



}

/*	chat page*/
@media {

    .chatArea {
        display: flex;
        height: 100%;
        justify-content: center;
        align-content: center;
        padding-top: 20px;
    }

    .leftBox {
        border: 1px solid #eee;
        min-width: 300px;
        overflow-y: scroll;
        height: 100%;
    }

    .leftBox a:hover {
        background: #eee;
    }

    .contact_ppl {
        border: 1px solid #eee;
        display: flex;
        padding: 10px;
    }

    .ppl_img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        overflow: hidden;
    }

    .ppl_name {
        color: #262626;
    }

    .ppl_msg {
        flex: 100px;
        padding: 10px 20px;
    }

    .ppl_last {
        color: #262626;
        width: 200px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .unread {
        background: red;
        background-size: 16px 16px;
        height: 16px;
        width: 16px;
        border-radius: 50%;
        color: #fff;
        text-align: center;
        font-size: 12px;
        position: absolute;
        bottom: 10px;
        right: 0;
    }

    .ppl_time {
        color: #ccc;

    }

    .rightBox {
        width: 600px;
    }

    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
        background-color: rgba(0, 0, 0, 0.5);
        display: none;
    }

    .show {
        display: inline;
    }

    .msg_header,
    .msg_input {
        border: 1px solid #eee;
        height: 60px;
    }

    .msg_header a {
        display: flex;
        padding: 10px;
    }

    .msg_header a:hover,
    .msg_header a:active {
        text-decoration: none;
    }

    .msg_header a:active {
        text-decoration: none;

    }

    .msg_header .ppl_img {
        width: 30px;
        height: 30px;
    }

    .msg_header .ppl_name {
        margin: 5px 10px;

    }

    .msg_content {
        overflow-y: scroll;
        height: calc(100% - 120px);
        border: 1px solid #eee;
        padding: 20px;

    }

    .msg_left,
    .msg_right {
        display: flex;
        padding: 10px;
    }

    .msg_right {
        align-items: flex-end;
    }

    .msg_left .ppl_img,
    .msg_right .ppl_img {
        width: 30px;
        height: 30px;
    }

    .msg_text {
        border: 1px solid #eee;
        border-radius: 10px;
        padding: 10px;
        margin: 0 10px;
        max-width: 200px;
        word-break: break-all;
    }

    .msg_text_scard {
        max-width: 320px;
        border: 1px solid #eee;
        border-radius: 10px;
        padding: 10px;
        margin: 0 10px;

    }

    .msg_img {
        max-width: 200px;
        max-height: 200px;
        border-radius: 3px;
        overflow: hidden;
        margin: 0 10px;
        position: relative;

    }

    .msg_img img {
        width: 100%;
    }

    .overlay_video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 100;
        background-color: rgba(0, 0, 0, 0.5);
        cursor: pointer;
    }

    .overlay_video i {
        position: absolute;
        color: rgba(256, 256, 256, 0.7);
        left: 45%;
        top: 45%;
        font-size: 30px;
    }

    .msg_img .uploading {
        width: 200px;
        height: 150px;
        display: block;
    }

    .msg_img .donut {
        left: 10px;
        top: 100px;
        margin: 0rem;

    }

    .msg_right {
        flex-direction: row-reverse;
    }

    .msg_left .msg_text,
    .msg_left .msg_text_scard {
        background: #eee;
    }

    .msg_right .msg_text,
    .msg_right .msg_text_scard {
        background: #C7E8AE;
    }

    .msg_content span {
        color: #ccc;
        font-size: 12px;
        display: flex;
        align-items: flex-end;
    }

    .msg_mid {
        color: #ccc;
        justify-content: center;
        display: flex;
    }

    .msg_input {
    
        /*display: flex;
        align-items: center;*/
    }

    .msg_input button, .msg_input label {
        margin: 10px;
        border-radius: 3px;
    }

    .msg_scard {
        padding: 7px;
        border-radius: 5px;
        background: #fff;
        display: flex;
        margin-bottom: 10px;
    }

    .msg_scard .card_l {
        padding: 0px;
        flex: 3;

    }

    .msg_scard .card_r {
        padding: 5px 3px;
        min-width: 90px;
    }

    .msg_scard .card_r .ppl_img {

        max-width: 60px;
        max-height: 60px;


    }


    textarea {
        height: 40px;
        max-height: 100px;
        width: 80%;
        resize: none;
        padding: 5px 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }
    .msg_extra{
            position: relative;
        }
        .msg_extra .dropdown-menu{
        top: -120px;
        }
        .credit_btn_group{
            display: flex;
            justify-content: center;
        }
        .credit_btn{
            cursor: pointer;
            border: 1px solid #eee;
            border-radius: 5px;
            background: #fff;
            color: #707070;
            display: block;padding: 8px;

        }
        .credit_btn:hover{
            background: #eee;
        }

    .act_reward {
        background: url(../images/donate-reviews.png) no-repeat;
        background-size: 50px 50px;
        height: 50px;
        width: 50px;
        position: absolute;
        right: 20px;
        bottom: 80px;
        cursor: pointer;
        z-index: 101;

    }

    .dismiss_btn {
        background: #ccc;
        color: #fff;
        text-align: center;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        position: absolute;
        right: -2px;
        top: -6px;
        opacity: 0;

    }

    .act_reward:hover .dismiss_btn {
        transition: 0.5s;
        opacity: 1;
    }

    .act_reviews {
        background: url(../images/reviews-btn.png) no-repeat;
        background-size: 50px 50px;
        height: 50px;
        width: 50px;
        position: absolute;
        right: 20px;
        bottom: 80px;
        cursor: pointer;
        z-index: 101;
    }

    .act_reviews:hover .dismiss_btn {
        transition: 0.5s;
        opacity: 1;
    }

    /*loading animation*/
    .donut {
        display: none;
        width: 4rem;
        height: 4rem;
        margin: 2rem;
        top: 45%;
        left: 45%;
        position: absolute;
        border-radius: 50%;
        border: 0.3rem solid rgba(151, 159, 208, 0.3);
        border-top-color: #979fd0;
        -webkit-animation: 1.5s spin infinite linear;
        animation: 1.5s spin infinite linear;
    }

    @-webkit-keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }



}

/*coin list*/
@media {
    .coin_page {
        margin-top: 40px;
        min-height: 360px;
    }

    .coin_page>.jcc>.por>.btn {
        position: absolute;
        top: 0px;
        right: 10px;
    }

    .coin_list {
        min-width: 600px;
    }

    .coin_list .ppl_img {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    .coin_list p {
        margin: 5px 0 0 5px;
    }

    .coin_list tr:hover {
        cursor: pointer;
        background-color: #eee;
    }

    .coin_list th {
        border-bottom: 1px solid #ccc;
        padding: 10px;
    }

    .coin_list td {
        padding: 10px;
    }

    .coin_list .accordian-body {
        background-color: #eee;
    }

    .coin_list .accordian-body td {
        height: 38px;
    }

    .coin_list .accordian-body .btn {
        margin-left: 10px;
    }

    .withdrawal {
        border: 1px solid #eee;
        padding: 10px 0;
        margin-bottom: 20px;
    }

    .withdrawal select {
        width: 48%;
        max-width: 280px;
        margin-right: 1%;
    }

    .withdrawal i {
        cursor: pointer;
    }

}

/*setting*/
@media {
    .setting {
        height: 700px;
        padding-top: 40px;
    }

    .setting_l,
    .setting_r {
        border: 1px solid #eee;


    }

    .setting_l {
        width: 40%;
        padding: 25px;
    }

    .setting_r {
        width: 30%;
        max-width: 360px;
    }

    .pic_upload {
        padding: 25px;
    }

    .setting_r img {
        max-height: 360px;
    }

    .setting_l .like_box {
        position: absolute;
        right: 20px;
        top: 20px;
    }


    .photo_cover {
        display: flex;
        justify-content: center;
        position: relative;
        height: 160px;
    }

    .photo_cover>div {
        width: 200px;
        height: 120px;
        border-radius: 4px;
        overflow: hidden;
    }

    .setting_l .btn,
    .setting_r .btn {
        position: absolute;
        right: 10px;
        bottom: 0;
    }

    .uploadfile {
        position: absolute;
        right: 10px;
        bottom: 0px;
    }

    .photo_profile {
        display: flex;
        justify-content: center;
        position: relative;
        height: 140px;

    }

    .photo_profile>div {
        width: 100px;
        height: 100px;
        border-radius: 50px;
        overflow: hidden;

    }

    .profile_detail {
        padding: 10px 10px;
        display: flex;
        justify-content: space-around;
        color: #337ab7;
        padding-top: 20px;
    }

    #pic_name,
    #phone,
    #language {
        font-size: 16px;
        line-height: 30px;

    }

    #pic_name label {
        position: absolute;
        bottom: 0;
        cursor: pointer;
        margin-left: 20px;
        color: #3C84D5;
    }

    #pic_name label:hover {
        color: blue;
    }




    /* Style the tab */
    .tab {
        overflow: hidden;

    }

    /* Style the buttons inside the tab */
    .tab a {
        background-color: inherit;
        float: left;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: 0.3s;
        font-size: 17px;
        text-decoration: none !important;
        text-align: center;
        color: #262626;
    }

    .tab_setting a {
        width: 33%;
    }

    .tab_explore a {
        width: 50%;
    }

    /* Change background color of buttons on hover */
    .tab a:hover {
        border-bottom: 2px solid #eee;
        transition: 0.5s;
    }

    /* Create an active/current tablink class */
    .tab a.active {
        border-bottom: 2px solid #50d8af;
    }

    /* Style the tab content */
    .tabcontent {
        display: none;
        padding: 20px 12px;
        border-top: none;
        position: relative;
    }

    .review_box .flexcard {
        padding: 10px 0;
        line-height: 24px;
    }

    .review_box .flexcard .ppl_img {
        margin-right: 20px;
        width: 50px;
        height: 50px;
    }

    .call_list {
        margin-top: 20px;
        width: 100%;
    }

    .call_list td,
    .call_list th {
        border-bottom: 1px solid #eee;
        /*text-align: center;*/
        padding: 10px 0 10px 0;
    }

    .call_list .ppl_img {
        width: 30px;
        height: 30px;
    }

    .call_list p {
        margin: 5px 0 0 5px;
    }

    .call_done {
        color: grey;
    }

    .btn_edit,
    .btn_save {
        height: 40px;
        margin: 14px 0 0 10px;

    }

    input[type="file"] {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
    }

    .custom-file-upload {
        display: block;
        padding: 6px 6px;
        cursor: pointer;
        bottom: 0;
        color: #707070;
        font-size: 20px;
        width: 50px;
        text-align: center;
    }
    .custom-file-upload i{
       /*font-weight: 300;*/
    }
    .custom-file-upload p{
        font-size: 4pt;
        /*border: 1px solid #000*/
    }

    .msg_input .call_icon {
        background-size: 45px 45px;
        top: 10px;
        background-position: 0px 14px;

    }
    .msg_extra{
            position: relative;
        }
        .msg_extra .dropdown-menu{
        top: -120px;
        }
        .donate_btn .btn{
            width: 100%;
            margin-bottom: 5px;
         }   

    /*vertical tab	*/
    .tab_v {

        border: 1px solid #ccc;
        width: 20%;
        min-height: 600px;
    }

    .tab_v button {
        display: block;
        background-color: inherit;
        color: black;
        padding: 22px 16px;
        width: 100%;
        border: none;
        outline: none;
        text-align: left;
        cursor: pointer;
        transition: 0.3s;
        font-size: 17px;
    }

    .tab_v button:hover {
        background-color: #ddd;
    }

    .tab_v button.active {
        background-color: #ccc;
    }

    .tabcontent_v {
        /*float: left;*/
        padding: 20px 20px;
        border: 1px solid #ccc;
        width: 45%;
        border-left: none;

        /*height: 300px;*/
    }


}



/*banner*/
@media {
    .banner {
        display: flex;
        flex-direction: column;
        background: url(../images/banner2.png) 50% 50%;
        height: 450px;
        background-size: cover;
        background-position: 50% 30%;
        justify-content: center;
        padding-left: 10%;
        width: 100%;

    }

    .banner h1 {
        color: #fff;
        font-size: 60px;
    }

    .banner h3 {
        color: #fff;
    }

    .banner2 {
        background: url(../images/33235.jpg) no-repeat;
        background-size: 100% auto;
        height: 30vw;
        width: 100%;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

    }

    .btn-projects {
        background: #EB9D14;
        border: 2px solid #EB9D14;
        color: #fff;
        text-decoration: none;
        padding: 10px 0;
        width: 140px;
        display: inline-block;
        text-align: center;
        margin: 10px 20px 0 0;

    }

    .btn-projects:hover {
        color: #EB9D14;
        transition: 0.5s;
        background: none;
        text-decoration: none;
    }

    .btn-projects:visited {
        color: #fff;
    }

}

/*modal_menu*/
@media {
    .modal_menu .modal-dialog {
        max-width: 300px;

    }

    .modal_menu .modal-body {
        height: auto;
    }

    .modal_menu .modal-header {
        padding: 10px;
    }

    .account_box {
        padding: 0 20px;

    }

    .account_box div {
        display: flex;
        justify-content: center;
    }

    .account_box div i {
        color: #424242;
        font-size: 24px;
        margin-top: 14px;
        margin: 14px 10px 0 0;

    }

    .account_box h5 p {
        margin-top: 10px;
    }


    .role_box a,
    .role_box a:hover {
        text-decoration: none;
        padding: 0 10px;
    }

    .role_box a:hover {
        box-shadow: 1px 1px 1px 1px #ccc;
    }

    .role_item {
        display: flex;
        margin-bottom: 3px;
    }

    .btn-account-boss,
    .btn-account-partner {
        width: 40px;
        height: 40px;
        display: block;
        margin: 4px 10px 0 0;
    }


    .role_item .ppl_icon {
        background: url(../images/profile.png) no-repeat;
        background-size: 24px 24px;
        padding-left: 35px;
        line-height: 24px;
        margin-bottom: 0;
    }

    .coin_icon {
        background: url(../images/coin-icon.png) no-repeat;
        background-size: 24px 24px;
        padding-left: 35px;
        line-height: 24px;
    }

    .role_box .text-center {
        margin-top: 10px;
    }

    .modal button:focus {
        outline: none;
    }

    .modal button:active {
        outline: none !important;
    }

    .role_current {
        background: #50AF69;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        position: absolute;
        right: 10px;
        top: 20px;
    }

    #file_view .modal-dialog {
        width: auto;
        max-width: 800px;
    }

    #file_view video {
        max-height: 600px;
        width: 100%;
    }

    #file_view img {
        max-width: 100%;
        width: auto;
    }

    #file_view .modal-content {
        background-color: #222222;
        border-radius: 5px;
        color: #fff;

    }

    #file_view .close {
        color: #fff;
    }

    #file_view div {
        border: none !important;
    }
}

/* About Section
--------------------------------*/
@media {
    #about {
        padding: 60px 0 30px 0;
    }

    #about .about-img {
        overflow: hidden;
    }

    #about .about-img img {
        margin-left: -15px;
        max-width: 100%;
    }

    #about .content h2 {
        color: #0c2e8a;
        font-weight: 700;
        font-size: 36px;
        font-family: "Raleway", sans-serif;
    }

    #about .content h3 {
        color: #555;
        font-weight: 300;
        font-size: 18px;
        line-height: 26px;
        font-style: italic;
    }

    #about .content p {
        line-height: 26px;
    }

    #about .content p:last-child {
        margin-bottom: 0;
    }

    #about .content i {
        font-size: 20px;
        padding-right: 4px;
        color: #50d8af;
    }

    #about .content ul {
        list-style: none;
        padding: 0;
    }

    #about .content ul li {
        padding-bottom: 10px;
    }

    /*footer* --------------*/
    #footer {
        /*background: #f2f5f8;*/
        background: #1A1D3E;
        color: #fff;
        padding: 0 0 30px 0;
        font-size: 14px;
        margin-top: 100px;
    }

    #footer .copyright {
        text-align: center;
        padding-top: 30px;
    }

    #footer .credits {
        text-align: center;
        font-size: 13px;

    }

    #footer .credits a {
        color: #0c2e8a;
    }

}



/*國家區碼*/
.iti__flag {
    background-image: url("path/to/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .iti__flag {
        background-image: url("path/to/flags@2x.png");
    }
}


@media {
    .rate {
        float: left;
        height: 46px;
        padding: 0 10px;
    }

    .rate:not(:checked)>input {
        position: absolute;
        top: -9999px;
    }

    .rate:not(:checked)>label {
        float: right;
        width: 1em;
        overflow: hidden;
        white-space: nowrap;
        cursor: pointer;
        font-size: 30px;
        color: #ccc;
    }

    .rate:not(:checked)>label:before {
        content: '★ ';
    }

    .rate>input:checked~label {
        color: #ffc700;
    }

    .rate:not(:checked)>label:hover,
    .rate:not(:checked)>label:hover~label {
        color: #deb217;
    }

    .rate>input:checked+label:hover,
    .rate>input:checked+label:hover~label,
    .rate>input:checked~label:hover,
    .rate>input:checked~label:hover~label,
    .rate>label:hover~input:checked~label {
        color: #c59b08;
    }
}

/*dashboard*/
@media {
    .admin_box {
        padding: 20px 0;
        display: flex;
        justify-content: center;
    }


    .left_container {
        max-width: 640px;
        width: 60%;
        background: #F2EFE5;

    }

    .tab_area {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        position: relative;
    }

    .tab_d {
        display: flex;
        justify-content: space-around;
    }

    .tab_d .tablinks {
        flex: 1;
        text-align: center;
        background: #F2EFE5;
        border-radius: 5px 5px 0 0;
        color: #9D9D9D;
        font-size: 18px;
        cursor: pointer;
        padding: 10px;
    }

    .tab_d .tablinks:hover {
        background: #ccc;
        color: #fff;
        transition: 0.5s;
        transform: translate(-1px, -1px);
    }

    .tabcontent_d {
        animation: opac 1.8s;
    }

    .w32-red,
    .w32-hover-red:hover {
        color: #262626 !important;
        background-color: #fff !important;
        box-shadow: 3px 3px 3px #eee inset;
        font-weight: 800;

    }

    .flex_item {
        flex: 300px;
        flex-shrink: 0;
        flex-grow: 0;
        height: 10vw;
        display: flex;
        margin: 10px 5px;
        cursor: pointer;
    }

    .flex_item:hover {
        box-shadow: 5px 5px 5px #aaaaaa;
        ;
        transition: 0.4s;
        transform: translate(-2px, -2px);

    }

    .item_icon {
        width: 10vw;
        height: 10vw;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 6px;
    }

    .item_icon h5,
    .item_icon h3 {
        text-align: center;
        line-height: 24px;
    }

    .item_icon p {
        text-align: right;
    }

    #boss_area .item_icon {
        background: #FFD942;
    }

    #partner_area .item_icon {
        background: #3EBED2;
    }

    .item_text {
        background: #fff;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #9D9D9D;
    }

    .act_container {
        background: #F2EFE5;
        display: flex;
        flex-direction: column;
        width: 20%;
        align-items: center;
        padding: 20px;
        margin-left: 3px
    }

    .act_img {
        width: 10vw;
        height: 10vw;
        display: block;
        border-radius: 50%;
        border: 2px solid #fff;
        background-image: url(/images/profile_default_00.png);
        background-size: 10vw auto;
        background-repeat: no-repeat;
    }

   
    #partner_area .scard_box {
    width: 500px;
    margin: 10px 2px;
    position: relative;

	}

	#partner_area .scard_box .ppl_img {
	    width: 5vw;
	    height: 5vw;
	}
	#partner_area .scard_box .poa {
		right: 5px;
		top: 5px;
		color: #ccc;
		cursor: pointer;
	    
	}
	#boss_area .fcard_box{
		width: 500px;
		position: relative;
	}
	#boss_area .fcard_box .poa{
		right: 5px;
		bottom: 5px;
		color: #707070;
		cursor: pointer;

	}
	


}

@media (max-width: 1080px) {
    .flex_item {
        height: 15vw;
    }

    .item_icon {
        width: 15vw;
        height: 15vw;
    }

}

@media (max-width: 766px) {

    .item_icon h3,
    .item_icon h5 {
        font-size: 16px;
    }

}

@media (max-width: 626px) {
    .admin_box {
        flex-direction: column-reverse;
        align-items: center;
    }

    .act_container {
        width: 80%;
        margin: 0;

    }

    .left_container {
        width: 80%
    }

    .flex_item {
        height: 25vw;
    }

    .item_icon {
        width: 25vw;
        height: 25vw;
    }


}


/*card list*/
@media {
    .cardlist {
        background: #F2EFE5;
        padding: 10px;
        width: 600px
            /*max-width: 600px;
		min-width: 420px;*/
    }

    .scard_box {
        display: flex;
        background: #fff;
        margin-bottom: 10px;
        border-radius: 10px;
        box-shadow: 3px 3px 2px #ccc;
    }

    .scard_box:hover {
        transform: translate(-2px, -2px);
        transition: 0.5s;
    }

    .card_l {
        flex: 2;
        padding: 15px;

        height: auto;
        position: relative;

    }

    .card_l .flexcard {
        position: absolute;
        bottom: 10px;
        width: 100%;
    }

    .card_l .flexcard .btn_chat {
        position: absolute;
        right: 5px;
    }

    .card_r {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 15px 10px;
        cursor: pointer;

    }

    .btn_chat {
        background: #F6C644;
        color: #fff;
        padding: 10px 30px !important;
        border-radius: 20px !important;
        font-size: 16px !important;

    }

    .btn_chat:hover {
        color: #fff !important;
        background: #E2BD59;
    }

    .card_r .ppl_img {
        width: 8vw;
        height: 8vw;
    }

    .fcard_box {
        border-bottom: 1px solid #fff;
        border-top: 1px solid #fff;
        padding: 15px;
        cursor: pointer;
    }

    .fcard_box:hover {
        background: #E7E5E0;
        transition: 0.5s;
    }

    .feed_l {
        flex: 3;
        display: flex;
    }

    .feed_l .ppl_img {
        margin-right: 10px;
    }

    .feed_r {
        flex: 60px;
        display: flex;
        align-items: flex-start;
        font-size: 20px;
    }

    .icon_wallet {
        background-image: url(../images/icon-0609/wallet.png);
        background-size: 30px 30px;
        width: 30px;
        height: 30px;
        display: block;
        margin-right: 10px;
    }

    .feed_card {
        display: block;
        max-width: 500px;
        min-height: 500px;
        margin-top: 20px;
        background: #F9F9F9;
        padding: 20px;

    }

    .feed_card .feed_l {
        flex: 2;
    }

    .modal-dialog .flexcard {
        margin-bottom: 15px;
    }

    .modal-dialog .ppl_img {
        width: 4vw;
        height: 4vw;
        margin-right: 10px;

    }

    .service_card {
        display: block;
        max-width: 500px;
        min-height: 500px;
        margin-top: 20px;
        background: #F9F9F9;
        padding: 20px;

    }

    .service_card>div {
        background: #fff;
        width: 100%;
        padding: 10px;
        border-radius: 10px;
        min-height: 500px;
    }

    .service_card .ppl_img {
        width: 6vw;
        height: 6vw;
        margin-right: 10px;
    }

    #add_scard .ppl_img {
        width: 4vw;
        height: 4vw;
        margin-right: 10px;
    }

    #add_scard .modal-body button {
        margin-right: 10px;
    }

    .input_line {
        border: 1px solid #ccc;
        border-top: none;
        border-left: none;
        border-right: none;
        width: 100%;
    }

    .input_line:focus {
        outline: none;
    }

}

#scard_select .scard_box {
    width: 400px;
    margin: 2px;
}

#scard_select .scard_box .ppl_img {
    width: 5vw;
    height: 5vw;
    min-width: 50px;
    min-height: 50px;
}


[type="radio"]+label {
    border: 3px solid #fff;
    border-radius: 5px;

}

[type="radio"] {
    display: none;
}

[type="radio"]:checked+label {
    border: 3px solid yellow;
}