* {
    font-family: Arial,Helvetica,'Microsoft JhengHei','微軟正黑體',sans-serif;
    box-sizing: border-box;
    outline: none;
    word-wrap: break-word;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-text-size-adjust: 100%;
}

*:after,
*:before {
    box-sizing: border-box;
}

.disabled-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.disabled-scroll {
    width: auto;
    padding-right: 17px;
    overflow: hidden!important;
}

.disabled-scroll-device {
    width: auto;
    overflow: hidden!important;
}

.fixed-header {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
}

.fixed-header-overlay {
    width: auto!important;
    right: 17px!important;
}

.fixed-footer {
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.fixed-footer-overlay {
    width: auto!important;
    right: 17px!important;
}

.clearboth {
    position: relative;
    display: block;
    clear: both;
    width: 100%;
}

html {
    width: 100%;
    height: 100%;
}

body {
    font-size: 14px;
    color: #222;
    width: 100%;
    height: 100%;
    min-width: 320px;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    overflow-y: scroll;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

p,ul,ol {
    margin: 0px;
    padding: 0px;
}

a {
    color: #222;
    cursor: pointer;
    text-decoration: none;
    -webkit-touch-callout: none;
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0px;
    border-radius: 0px;
    cursor: pointer;
}

table {
    border-collapse: collapse;
}

img {
    max-width: 100%;
    height: auto;
    border: 0px;
    vertical-align: middle;
}

video { 
    max-width: 100%; 
    height: auto; 
}

input[type="text"],
input[type="number"],
input[type="password"],
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 5px 10px;
    border-radius: 0px;
}

input[type="radio"],
input[type="checkbox"],
input[type="button"],
input[type="submit"],
input[type="reset"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0px;
    border-radius: 0px;
    cursor: pointer;
}

.iwassist {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.iwassist-editor {
    position: relative;
    line-height: 1.5;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.iwassist-editor ul,
.iwassist-editor ol {
    list-style-position: inside;
}

.iwassist-editor:before,
.iwassist-editor:after {
    position: relative;
    display: block;
    clear: both;
    content: '';
    width: 100%;
}

.iwassist-selector {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.iwassist-selector .iwassist-choice {
    position: relative;
    display: block;
    border: 1px solid #ccc;
    z-index: 1;
}

.iwassist-selector .iwassist-choice > select {
    position: relative;
    width: 100%;
    padding-top: 6px;
    padding-left: 10px;
    padding-right: 40px;
    padding-bottom: 6px;
    background: transparent;
    border: 0;
    border-radius: 0px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.iwassist-selector .iwassist-choice > select::-ms-expand {
    display: none;
}

.iwassist-selector .iwassist-virtual {
    position: absolute;
    display: inline-block;
    background: #ccc;
    content: '';
    width: 28px;
    height: 100%;
    top: 0px;
    right: 0px;
}

.iwassist-selector .iwassist-virtual:after {
    position: absolute;
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #000;
    display: inline-block;
    width: 0px; 
    height: 0px; 
    top: 50%;
    right: 8px;
    margin-top: -3px;
    cursor: pointer;
}

.iwassist-responsive {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.iwassist-responsive > .video-frame {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1;
}

.iwassist-processing {
    position: fixed;
    background: #fff;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 999;
}

.iwassist-processing-opacity{
    background: rgba(255,255,255,0.5);
}

.iwassist-processing > .loading {
    position: absolute;
    display: block;
    width: 48px;
    height: 48px;
    top: 50%;
    left: 50%;
    margin-top: -24px;
    margin-left: -24px;
}

.iwassist-processing > .loading > .icon {
    width: 48px;
    fill: transparent;
    -webkit-animation: iwassist-loading 3s linear infinite;
    animation: iwassist-loading 3s linear infinite;
}

.iwassist-processing > .loading > .icon > .circle {
    stroke-dashoffset: 0;
    stroke-dasharray: 300;
    stroke-width: 12;
    stroke-miterlimit: 12;
    stroke-linecap: round;
    stroke: #0c5283;
    fill: transparent;
   	-webkit-animation: iwassist-loading-circle 2s linear infinite;
   	animation: iwassist-loading-circle 2s linear infinite;
}

@-webkit-keyframes iwassist-loading {
    0% { 
        -webkit-transform: rotate(0); 
        transform: rotate(0); 
    }
    100% { 
        -webkit-transform: rotate(360deg); 
        transform: rotate(360deg);
    }
}

@keyframes iwassist-loading {
    0% { 
        -webkit-transform: rotate(0); 
        transform: rotate(0); 
    }
    100% { 
        -webkit-transform: rotate(360deg); 
        transform: rotate(360deg);
    }
}

@-webkit-keyframes iwassist-loading-circle {
    0% { 
        stroke-dashoffset: 0 
    }
    100% { 
        stroke-dashoffset: -600;
    }
}

@keyframes iwassist-loading-circle {
    0% { 
        stroke-dashoffset: 0 
    }
    100% { 
        stroke-dashoffset: -600;
    }
}

.iwassist-alert {
    position: fixed;
    background: rgba(0,0,0,0.3);
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    padding: 12px;
    overflow-x: hidden;
    overflow-y: scroll;
    z-index: 800;
}

.iwassist-alert > .inner {
    position: relative;
    max-width: 360px;
    height: 100%;
    margin: auto;
    overflow: hidden;
}
    
.iwassist-alert > .inner > .content {
    position: absolute;
    background: #fff;
    top: 26%;
    left: 0px;
    width: 100%;
    border: 1px solid #ccc;
    border-top: 4px solid #0c5283;
    border-radius: 3px;
}

.iwassist-alert > .inner > .content > div {
    position: relative;
}

.iwassist-alert > .inner > .content > div > .message {
    position: relative;
    display: block;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
    padding-top: 36px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 36px;
}

.iwassist-alert > .inner > .content > div > .btn-close {
    position: relative;
    background: transparent;
    display: block;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    height: 36px;
    border-top: 1px solid #ccc;
}

.iwassist-alert > .inner > .content > div > .btn-yes {
    position: relative;
    background: transparent;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    border: 0px;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    width: 50%;
    height: 36px;
}

.iwassist-alert > .inner > .content > div > .btn-no {
    position: relative;
    background: transparent;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    border-top: 1px solid #ccc;
    width: 50%;
    height: 36px;
}

.iwassist-alert > .inner > .content > div > .btn:hover,
.iwassist-alert > .inner > .content > div > .btn:active {
    opacity: 0.8;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}

.iwassist-popup {
    position: fixed;
    background: rgba(0,0,0,0.3);
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    padding: 12px;
    overflow-x: hidden;
    overflow-y: scroll;
    z-index: 700;
    -webkit-overflow-scrolling: touch;
}

.iwassist-popup > .virtual {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.iwassist-popup > .inner {
    position: relative;
    max-width: 1080px;
    margin: auto;
    margin-top: 100px;
    margin-bottom: 100px;
}

.iwassist-popup > .inner > .content {
    position: relative;
    background: #fff;
    padding: 20px 12px;
    border: 1px solid #ccc;
}

.iwassist-popup > .inner > .content > .btn-close {
    position: absolute;
    background: #fff;
    font-family: Arial, Baskerville, monospace;
    font-size: 30px;
    display: inline-block;
    width: 30px;
    height: 30px;
    top: -30px;
    right: -1px;
    border: 1px solid #ccc;
    border-bottom: 0px;
    line-height: 30px;
    text-align: center;
    z-index: 1;
}

.iwassist-popup > .inner > .content > div {
    position: relative;
    min-height: 120px;
    overflow: hidden;
}

.iwassist-popup > .inner > .content > div:before,
.iwassist-popup > .inner > .content > div:after {
    position: relative;
    display: block;
    clear: both;
    content: '';
    width: 100%;
}