@font-face {
    font-family: 'icomoon';
    src:  url('../fonts/icomoon.eot?pyri2d');
    src:  url('../fonts/icomoon.eot?pyri2d#iefix') format('embedded-opentype'),
      url('../fonts/icomoon.ttf?pyri2d') format('truetype'),
      url('../fonts/icomoon.woff?pyri2d') format('woff'),
      url('../fonts/icomoon.svg?pyri2d#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }
  
  [class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-size: 1.3em;
  
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .icon-ic_book:before {
    content: "\e900";
  }
  .icon-ic_error_outline:before {
    content: "\e901";
  }
  .icon-ic_warning:before {
    content: "\e902";
  }
  .icon-ic_close:before {
    content: "\e903";
  }
  .icon-ic_save:before {
    content: "\e904";
  }
  .icon-ic_event:before {
    content: "\e905";
  }
  .icon-ic_arrow:before {
    content: "\e906";
  }
  .icon-ic_expand:before {
    content: "\e907";
  }
  .icon-check_box:before {
    content: "\e908";
  }
  .icon-check_box_outline_blank:before {
    content: "\e909";
  }
  .icon-ic_check_circle:before {
    content: "\e90b";
  }
  



* {
    -webkit-appearance: none;
}

body {
    background: #f8f8f8;
    font-family: 'Microsoft JhengHei';
    font-size: 16px;
}

h1 {
    font-weight: 300;
    font-size: 40px;
    margin: 0 0 40px 0;
    text-align: center;
}

textarea {
    resize: none;
}

a:hover {
    text-decoration: none;
}

.link-red {
    color: #e43131;
}
.link-red:hover {
    color: #b72929;
}

.form-control {
    box-shadow: none;
    border-radius: 0;
    background: #e8e8e8;
    border: none;
    font-size: 16px;
    border-radius: 4px;
}

.form-control:focus {
    border: none;
    box-shadow: none;
}

.form-control[disabled] {
    background: #e8e8e8;
}

form p {
    line-height: 24px;
    font-size: 16px;
    /* padding: 0 12px; */
}

.gb-red {
    background-color: #e43131;
    color: #ffffff;
}

.gb-black {
    background-color: #000000;
    color: #ffffff;
}

.txt-red {
    color: #e43131;
}

.btn {
    font-size: 16px;
    border: none;
}

.btn:focus {
    box-shadow: none;
    border: none;
    outline: none;
    color: #ffffff;
}

.btn.active, .btn:active {
    box-shadow: none;
}

.btn-round {
    border-radius: 30px;
    width: 100%;
    margin-bottom: 15px;
}

.gb-red.btn-round:hover {
    color: #ffffff;
    background-color: #c13838;
}

.gb-black.btn-round:hover {
    color: #ffffff;
    background-color: #282828;
}

.input-group {
    border-radius: 4px;
    overflow: hidden;
}
.input-group input {
    padding-right: 0;
}
.input-group-addon {
    padding-left: 6px;
    padding-right: 8px;
    background: #e8e8e8;
    border: none;
    border-radius: 0;
    position: relative;
}

.input-group-btn {
    overflow: hidden;
}
.input-group-btn .btn {
    background: #808080;
    border: none;
    color: #ffffff;
}

.input-group-addon input[type=file], .input-group-btn input[type=file] {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: -100%;
    z-index: 5;
    width: 200%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.select {
    position: relative;
    background: #e8e8e8;
    border-radius: 4px;
}

.select select {
    padding-right: 24px;
    position: relative;
    z-index: 1;
    background: none;
}

.select i {
    position: absolute;
    top: 7px;
    right: 4px;
}

/* .pretty, .pretty i, .pretty label {
    vertical-align: middle;
}
.pretty .state label {
    text-indent: unset;
}
.pretty.p-icon input:checked~.state .icon {
    color: #ffffff;
}
.pretty.p-icon input:checked~.state label:before {
    background: black;
} */

.grid {
    background: #ffffff;
    border-radius: 6px;
    padding: 15px 20px;
}

main {
    padding: 60px 0;
}

#nav {
    background: #ffffff;
    margin: 0;
    height: 61px;
}
#nav > .container {
    position: relative;
}
#nav .brand-logo, #nav .nav-right {
    position: relative;
}
#nav .brand-logo img {
    width: 93px;
    height: auto;
    float: left;
    padding: 13px 0px;
}
#nav .nav-right {
    float: right;
}
#nav .nav-right a {
    display: inline-block;
    margin-left: 10px;
    color: gray;
    padding: 20px 0;
}
#nav .brand-name {
    text-align: center;
    line-height: 61px;
    font-size: 24px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#login h1 span {
    font-size: 18px;
    vertical-align: super;
}
#login .form {
    max-width: 300px;
    margin: 0 auto;
}
#login .login-btn {
    margin-top: 10px;
}

#register h1 {
    text-align: center;
    /* margin-bottom: 40px; */
}
#register .row {
    margin-right: -10px;
    margin-left: -10px;
}

#register [class*="col-"] {
    padding-right: 10px;
    padding-left: 10px;
}

#register .preview {
    margin-top: 10px;
    background: #e8e8e8;
    text-align: center;
    line-height: 200px;
    height: 200px;
    border-radius: 4px;
    font-size: 16px;
    position: relative;
}
#register .preview img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#register .submit-btn {
    max-width: 300px;
}
#register .pin-container {
    position: relative;
}
#register .inline {
    display: inline-block;
    vertical-align: middle;
}

.grid.pricing {
    font-weight: 900;
    margin-bottom: 10px;
}
.grid.pricing table {
    width: 100%;
}
.grid.pricing table tr td {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}
.grid.pricing table tr:last-child td {
    border: none;
}
.grid.pricing table tr td:nth-child(even) {
    text-align: right;
    white-space: nowrap;
    font-weight: normal;
}
.grid.pricing .total {
    margin-top: 60px;
    border-top: 1px solid #eee;
    padding-top: 5px;
    overflow: hidden;
}
.grid.pricing .total span {
    float: right;
    font-size: 26px;
}

#register [data-toggle="modal"]:hover {
    cursor: pointer;
    color: #c13838;
}

#member h1 {
    text-align: left;
}
#member h2 {
    font-size: 18px;
}
#member .nav {
    text-align: right;
}
#member .nav .btn {
    display: inline-block;
    width: auto;
    margin: 0 0 10px 0;
}

#member .table {
    margin: 0;
}
#member .table tr:nth-child(1) td {
    border: none;
}
#member .table tr td:nth-child(1) {
    font-weight: 700;
}
#member main img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: contain;
    margin-bottom: 10px;
    background: #e8e8e8;
    border-radius: 4px;
}
#member #payModal .modal-body {
    padding-bottom: 6px;
}
#member #payModal table {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}
#member #payModal table tr td{
    border-bottom: 1px solid #d4d4d4;
    padding: 6px 4px;
}
#member #payModal table tr td:nth-child(even){
    text-align: right;
} 
#member #payModal table tr:last-of-type td {
    border: none;
}
#member #payModal .total {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 15px auto;
    font-weight: 900;
}
#member #payModal .total td {
    vertical-align: text-bottom;
}
#member #payModal .total td span {
    font-size: 22px;
}

#event .item {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px 20px;
    margin-bottom: 30px;
    font-size: 16px;
}
#event h2 {
    font-weight: 900;
    font-size: 22px;
    text-align: center;
    margin: 0 0 15px 0;
}
#event .date {
    color: #e43131;
    text-align: center;
    margin: 0 0 15px 0;
}
#event .desc {
    margin: 0 0 20px 0;
}
#event .item .btn {
    width: 200px;
}
#event .read-pdf {
    text-align: center;
    color: #000000;
    font-weight: 900;
}
#event .read-pdf:hover {
    text-decoration: underline;
}

.datepicker table tr td span {
    font-size: 14px;
    font-weight: normal;
}

.form-group label i {
    font-size: 21px;
    vertical-align: bottom;
}
.formm .item {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 30px;
}
.formm h1 {
    margin: 0;
    text-align: left;
}
.formm h2, .formm label {
    font-size: 16px;
}
.formm .table>thead>tr>th, .formm .table>tbody>tr>td {
    border: none;
}
.formm .next-btn {
    max-width: 200px;
    display: block;
    margin: 0 auto;
}
.formm .item table td:nth-child(1) {
    vertical-align: bottom;
    font-size: 18px;
    width: 38px;
    font-weight: 900;
}
.formm .preview {
    background: #e8e8e8;
    margin-top: 30px;
    height: 200px;
    border-radius: 6px;
    position: relative;
}
.formm .preview span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.formm .preview img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.fix-btns {
    position: fixed;
    right: 10px;
    bottom: 30px;
    z-index: 2;
}
#line-btn img, #save-btn img {
    display: block;
    width: 110px;
    height: auto;
    cursor: pointer;
    margin-top: 10px;
}
#line-btn:focus {
    text-decoration: none;
}

#forma2 .row {
    margin-right: -10px;
    margin-left: -10px;
}

#forma2 [class*="col-"] {
    padding-right: 10px;
    padding-left: 10px;
}

#forma2 .preview {
    background: #e8e8e8;
    text-align: center;
    height: 200px;
    border-radius: 4px;
    position: relative;
    margin-top: 10px;
}
#forma2 .preview span{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    white-space: nowrap;
}
#forma2 .preview img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#forma2 .submit-btn {
    max-width: 300px;
}
#forma2 .pin-container {
    position: relative;
}
#forma2 .item {
    background: #ffffff;
    border-radius: 10px;
    padding: 0;
    font-size: 16px;
    overflow: hidden;
}
#forma2 .item .sell-num {
    width: 50px;
    float: left;
    text-align: center;
    margin-top: 20px;
    font-weight: 900;
    font-size: 20px;
}
#forma2 .item .sell-info {
    float: left;
    width: calc(100% - 250px);
    padding-top: 10px;
    padding-right: 10px;
}
#forma2 .item .sell-photo {
    float: left;
    width: 200px;
    height: 238px;
    margin: 0;
    border-radius: 0 10px 10px 0;
}
#forma2 .item .row {
    margin-left: -5px;
    margin-right: -5px;
}
#forma2 p {
    margin: 10px 0;
}
#forma2 .pretty {
    margin: 5px 0;
}
.formm h2 {
    font-size: 24px;
    margin: 20px 0;
}
.formm .top {
    overflow: hidden;
}
.formm .top .left {
    float: left;
    width: calc(100% - 200px);
    padding-right: 15px;
}
.formm .top .left h1 {
    display: inline-block;
    vertical-align: middle;
    margin: 0 20px 20px 0;
}
.formm .top .left .breadcrumb {
    display: inline-block;
    vertical-align: middle;
    padding: 0;
    background: no-repeat;
    margin: 0 0 20px 0;
}
.formm .top .left .breadcrumb a {
    color: #777;
}
.formm .top .left .breadcrumb a.active {
    color: #e43131;
}
.formm .top .left .breadcrumb a, .formm .top .left .breadcrumb i {
    vertical-align: middle;
    color: #777;
}
.formm .top .right {
    float: right;
    width: 200px;
    text-align: right;
    line-height: 20px;
    margin-top: 12px;
}
.formm .pin table td:nth-child(1) {
    width: auto;
    font-size: 15px;
    font-weight: normal;
}

.input-group-addon {
    padding-left: 6px;
    padding-right: 8px;
    background: #e8e8e8;
    border: none;
    border-radius: 0;
    position: relative;
}
.input-group-addon input[type=file], .input-group-btn input[type=file] {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: -100%;
    z-index: 5;
    width: 200%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.fileBtnWrapper {
    position: relative;
    overflow: hidden;
}
.fileBtnWrapper button {
    width: 100%;
}
.fileBtnWrapper input[type=file] {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: -100%;
    z-index: 5;
    width: 200%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

#checkout .grid {
    margin-bottom: 40px;
}
#checkout .info {
    text-align: center;
    margin-bottom: 10px;
}
#checkout .info>div {
    display: inline-block;
    padding: 0 6px;
    line-height: 1em;
}
#checkout .info>div:nth-child(2) {
    border-left: 1px solid gray;
    border-right: 1px solid gray;
}
#checkout .note {
    margin-bottom: 40px;
    text-align: center;
    font-size: 14px;
}
#checkout .list {
    max-width: 600px;
    margin: 0 auto;
}
#checkout button {
    margin-bottom: 15px;
}

@media (max-width: 992px){
    .formm td input {
        width: 120px;
    }
    .formm .item table td:nth-child(2) input {
        width: 80px;
    }
}

@media (max-width: 760px) {
    .pretty {
        white-space: normal;
        width: 100%;
    }
    .pretty i {
        position: absolute;
        top: 0;
        left: 0;
    }
    .pretty .state label 
    {
        text-indent: 0;
        padding-left: 2.5rem;
        line-height: 1.4;
    }
    .pretty .state label:after,
    .pretty .state label:before,
    .pretty.p-icon .state .icon 
    {
        top: 0;
    }

    #forma2 .item .empty {
        display: none;
    }
    #forma2 .item .sell-info, #forma2 .item .sell-photo {
        width: 100%;
        border-radius: 0;
    }
    #forma2 .item .sell-photo {
        height: 200px;
    }
}

@media (max-width: 500px){
    main {
        padding: 40px 0;
    }
    h1 {
        margin: 0 0 20px 0;
        font-size: 26px;
    }

    #nav .brand-name {
        font-size: 18px;
        text-align: left;
        padding-left: 72px;
    }
    #nav .brand-logo img {
        width: 51px;
        padding: 21px 0;
    }
    
    #member main img {
        height: auto;
    }
    #member .top .col-xs-5, #member .top .col-xs-7 {
        width: 100%;
    }
    #member h1 {
        margin: 0 0 15px 0;
    }
    #member .nav {
        text-align: left;
    }

    #register .inline {
        display: block;
    }

    .formm .top .left {
        width: 100%;
    }
    .formm .top .left .breadcrumb {
        margin-bottom: 0;
    }
    .formm .top .right {
        width: 100%;
        text-align: left;
        margin-bottom: 15px;
    }
}
