.form-control {
    display: block;
    width: 100%;
    height: 36px;
    padding: 4px 6px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}
.form-control::-moz-placeholder {
    color: #777;
    opacity: 1;
}
.form-control:-ms-input-placeholder {
    color: #777;
}
.form-control::-webkit-input-placeholder {
    color: #777;
}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    cursor: not-allowed;
    background-color: #eee;
    opacity: 1;
}
textarea.form-control {
    height: auto;
    resize: vertical;
}

.af-alter-tip {
    position: fixed;
    top: 0px;
    width: 100%;
    text-align: center;
    color: #fff;
    left: 0;
    -webkit-transform: translate(0px,-100%);
    -moz-transform: translate(0px,-100%);
    -ms-transform: translate(0px,-100%);
    transform: translate(0px,-100%);
    -webkit-transition: -webkit-transform .25s ease-out;
    -moz-transition: -moz-transform .25s ease-out;
    -ms-transition: -ms-transform .25s ease-out;
    transition: transform .25s ease-out;
    z-index: 9999;
    text-align: center;
}
.af-alter-tip.show {
    -webkit-transform: translate(0px,150px);
    -moz-transform: translate(0px,150px);
    -ms-transform: translate(0px,150px);
    transform: translate(0px,150px);
}
.af-alter-tip > span {
    background-color: #5cb85c;
    display: inline-block;
    padding: 10px 15px;
    font-size: 17px;
    line-height: 20px;
    color: #fff;
    border-radius: 4px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.af-alter-tip.success > span {
    background-color: #5cb85c;
}
.af-alter-tip.error > span {
    background-color: #d9534f;
}
.af-alter-tip > span > i {
    font-style: initial;
    padding: 0 6px;
    margin-left: 5px;
    cursor: pointer;
    position: relative;
    left: 7px;
    top: -2px;
}
.ticket-hide {
    display: none;
}
.ticket-loading {
    background-image: url(https://www.flipbuilder.com/ticket/img/progress.gif);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 100%;
    position: relative;
    height: 58px;
    margin-top: 38px;
}
.ticket-load-error {
    position: relative;
    text-align: center;
    padding-top: 5px;
}
.ticket-load-error > p {
    font-size: 15px;
    color: #d9534f;
    padding-bottom: 12px;
}
.ticket-load-error > .btn {
    background-color: #f8f8f8;
    border: 1px solid #d3d3d3;
    color: #333;
    border-radius: 2px;
    box-shadow: 0 1px 0 rgba(0,0,0,.05);
    cursor: pointer;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    padding: 4px 24px;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    user-select: none;
    position: relative;
    font-size: 14px;
}
.ticket-container {
    position: relative;
    background-color: #f2f6f9;
    padding: 38px 0 40px;
}
.ticket-new-content {
    position: relative;
    overflow: hidden;
    max-width: 780px;
    margin: 0 auto;
    padding: 10px 30px 50px;
    background: #fff;
}
.ticket-new-content > p {
    text-align: left;
    font-size: 14px;
    color: #666;
    line-height: 22px;
    padding-top: 20px;
}
.ticket-nav {
    font-size: 0;
    border-bottom: 1px solid #E7E7E7;
}
.ticket-nav > li {
    position: relative;
    display: inline-block;
    color: #666;
    font-size: 16px;
    margin-right: 17px;
}
.ticket-nav > li > a {
    color: #666;
    display: block;
    padding: 20px 8px;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
 }
 .ticket-nav > li > span {
    position: absolute;
    width: 100%;
    border-bottom: 2px solid transparent;
    bottom: -1px;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -o-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all .2s ease-in-out 0s;
    -moz-transition: all .2s ease-in-out 0s;
    -o-transition: all .2s ease-in-out 0s;
    transition: all .2s ease-in-out 0s;
    left: 0;
    background-color: #1b7fcc;
 }
 .ticket-nav>li.active span,
 .ticket-nav>li:hover span {
    visibility: visible;
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -o-transform: scaleX(1);
    transform: scaleX(1);
}


.ticket-new-form {

}
.ticket-group {
    margin-top: 20px;
}
.ticket-label {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
    color: #666;
    line-height: 17px;
}
.ticket-label > label:not(.not-required)::after {
    content: "*";
    color: #c00;
    margin-left: 3px;
    position: relative;
    top: 1px;
}
.ticket-label > span.error {
    background-color: #fff0f1;
    /* border: 1px solid #e35b66; */
    color: #cc3340;
    display: none;
    margin-left: 21px;
    font-family: sans-serif;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 4px;
}
.ticket-label > span.error::before {
    border-radius: 50%;
    border: 1px solid #e35b66;
    color: #e35b66;
    content: "!";
    display: inline-block;
    font-family: sans-serif;
    font-size: 8px;
    font-weight: normal;
    height: 12px;
    line-height: 12px;
    margin: -2px 5px 0 0;
    text-align: center;
    vertical-align: middle;
    width: 12px;
}
.ticket-dorpzone {
    position: relative;
    border: 2px dashed #d8dcde;
    border-radius: 4px;
    background-color: #fff;
    margin-top: 4px;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    overflow: hidden;
}
.ticket-dorpzone .drop-text > svg {

}
.ticket-dorpzone .drop-text > span {
    
}
.file-input {
    position: absolute;
    left: -8px;
    top: -5px;
    width: 128%;
    height: 128%;
    opacity: 0;
    -ms-filter: 'alpha(opacity=0)';
    cursor: pointer;
    z-index: 2;
}

.ticket-btns {
    font-size: 0;
    margin-left: -10px;
    margin-right: -10px;
    margin-top: 30px;
}
.ticket-btns > li {
    width: 33.33%;
    display: inline-block;
    padding: 0 10px;
}
.ticket-btn {
    line-height: 34px;
    font-size: 14px;
    border: 1px solid #23a7f1;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    cursor: pointer;
}
.ticket-btn.submit {
    background: #23a7f1;
    border-color: #23a7f1;
}
.ticket-btn.reset {
    background: #a8a8a8;
    border-color: #a8a8a8;
}
.ticket-btn.cancel {
    background-color: #f8f8f8;
    border: 1px solid #d3d3d3;
    color: #333;
}


.ticket-attachments {

}
.ticket-attachment-item {
    position: relative;
    margin-top: 10px;
    border: 1px solid #d8dcde;
    padding: 0px 10px;
    border-radius: 4px;
    line-height: 18px;
}
.attachment-preview {
    position: relative;
    min-height: 36px;
    color: #000000;
    font-weight: 400;
    align-items: center;
}
.attachment-icon {
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -13px;
}
.attachment-icon.file {
    color: #1F73B7;
}
.attachment-desc {
    position: relative;
    padding-right: 24px;
    padding-left: 34px;
    line-height: 16px;
    padding-top: 3px;
}
.attachment-name {
    color: #2f3941;
    font-size: 13px;
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
.attachment-tip {
    font-size: 12px;
    color: #888;
    display: block;
}
.attachment-btn {
    position: absolute;
    top: 50%;
    right: 0;
    color: #1F73B7 !important;
    cursor: pointer;
    margin-top: -7px;
}
.attachment-btn:hover {
    color: #0a54a7  !important;
}

.ticket-attachment-item.error-item {
    background-color: rgba(217, 63, 76, 0.1);
    border-color: #f5b5ba;
    color: #8c232c;
    display: block;
    padding: 0px 12px 0px 44px;
    line-height: 17px;
    background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' color='%23CC3340'><g fill='none' stroke='currentColor'><circle cx='7.5' cy='8.5' r='7'/><path stroke-linecap='round' d='M7.5 4.5V9'/></g><circle cx='7.5' cy='12' r='1' fill='currentColor'/></svg>");
    background-repeat: no-repeat;
    background-position: 18px center;
}
.ticket-attachment-item.error-item .error-title {
    font-size: 13px;
    color: #49545c !important;
    line-height: 18px;
}
.ticket-attachment-item.error-item .error-tip {
    line-height: 17px;
    color: #d93f4c;
    font-size: 12px;
}
.ticket-attachment-item.error-item .error-del {
    display: block;
    position: absolute;
    top: 4px;
    right: 4px;
    transition: background-color 0.1s ease-in-out;
    border: none;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
    width: 28px;
    height: 28px;
    overflow: hidden;
    font-size: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.ticket-attachment-item.error-item .error-del::before {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: opacity 0.25s ease-in-out;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 12px;
    content: "";
    background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' color='%23D93F4C'><path stroke='currentColor' stroke-linecap='round' d='M3 9l6-6m0 6L3 3'/></svg>");
}


.ticket-new-content.success {
    /* background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #468847;
    box-shadow: 0px 1px 1px white inset;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
    margin-top: 100px;
    margin-bottom: 180px; */
    background-color: transparent;
}
.ticket-success {
    position: relative;
    text-align: center;
    padding-bottom: 20px;
    padding-top: 40px;
}
.ticket-success > .icon {
    width: 180px;
    height: 76px;
    margin: 0 auto;
    background-image: url(https://www.flipbuilder.com/ticket/img/thank-you.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    margin-bottom: 10px;
}
.ticket-success > h4 {
    margin: 0;
    font-size: 24px;
    color: #333;
    padding-bottom: 32px;
}
.ticket-success-content {
    background-color: #fff;
    padding: 60px 5px;
    line-height: 20px;
}
.ticket-success-content > p.text-1 {
    font-size: 14px;
    color: #666;
}
.ticket-success-content > .link {
    padding: 15px 0;
}
.ticket-success-content > .link a {
    color: #3080e2;
    font-size: 14px;
}
.ticket-success-content > .link a:hover {
    text-decoration: underline;
}
.ticket-success-content > p.text-2 {
    color: #333;
    font-weight: bold;
    font-size: 14px;
    padding-bottom: 20px;
}
.ticket-success-content .btn {
    background-color: #3080e2;
    color: #FFF;
    display: inline-block;
    border-radius: 2px;
    cursor: pointer;
    line-height: 50px;
    font-size: 14px;
    font-weight: bold;
    width: 100%;
    max-width: 428px;
}

.af-spin-loading {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(255, 255, 255, .5);
    background-image: url(https://www.flipbuilder.com/ticket/img/progress.gif);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    z-index: 22;
    /* cursor: wait; */
}
.af-spin-loading.bottom {
    background-position: 50% 90%;
}
.fail-input {
    border-color: #E67070!important;
    background: #fdd!important;
}

/* ticket status */
.ticket-login-desc {
    padding: 35px 0;
}
.ticket-login-desc > p {
    font-family: Tahoma,Geneva,sans-serif;
    font-size: 13px;
    line-height: 20px;
    color: #666;
}
.ticket-login-desc > p a {
    color: #23A7F1;
    text-decoration: underline;
}
.ticket-login-desc > p a:hover {
    color: #668084;
}
.ticket-login-form {
    max-width: 360px;
    margin: 0 auto;
}
.ticket-login-group {
    position: relative;
    margin-bottom: 23px;
}
.ticket-login-group > label {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
    color: #666;
    line-height: 17px;
}
.ticket-login-group > label::after {
    content: "*";
    color: #c00;
    margin-left: 3px;
    position: relative;
    top: 1px;
}
.ticket-login-group > p {
    position: absolute;
    display: none;
}
.ticket-login-btn {
    background: #21A7F0;
    color: #fff;
    border: 1px solid #21A7F0;
    width: 100%;
    line-height: 36px;
    font-size: 14px;
    border-radius: 2px;
    cursor: pointer;
    text-align: center;
}

.ticket-list {
    padding-top: 50px;
    padding-bottom: 30px;
    min-height: 400px;
}
.ticket-list-table {
    width: 100%;
    text-align: left;
    border-top: 1px solid #E7E7E7;
    border-left: 1px solid #E7E7E7;
}
.ticket-list-table th {
    font-size: 12px;
    font-weight: 700;
    background-color: #F2F6F9;
    border-bottom: 1px solid #E7E7E7;
    color: #666;
    height: 36px;
    padding: 0 8px;
    border-right: 1px solid #E7E7E7;
}
.ticket-list-table td {
    height: 36px;
    padding: 0 8px;
    border-right: 1px solid #E7E7E7;
    border-bottom: 1px solid #E7E7E7;
    color: #666;
    font-size: 12px;
}
.ticket-list-table td a {
    color: #4a89c7;
}
.ticket-list-table td a:hover {
    text-decoration: underline;
    color: #668084;
}



/* view ticket */
.ticket-view {
    min-height: 400px;
}
.ticket-view-content {
    padding-top: 20px;
}
.ticket-view-id {
    color: #23A7F1;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    padding-top: 13px;
    padding-bottom: 8px;
}
.ticket-view-details {
    overflow: hidden;
    border-left: 1px solid #E7E7E7;
}
.ticket-view-table {
    font-family: Tahoma,Geneva,sans-serif;
    width: 50%;
    font-size: 13px;
    vertical-align: top;
    border-top: 1px solid #E7E7E7;
    float: left;
}
.ticket-view-table th {
    border-right: 1px solid #E7E7E7;
    border-bottom: 1px solid #E7E7E7;
    height: 33px;
    text-align: left;
    padding: 0 10px;
    color: #666;
    font-weight: 700;
    font-size: 12px;
    width: 120px;
}
.ticket-view-table td {
    border-bottom: 1px solid #E7E7E7;
    border-right: 1px solid #E7E7E7;
    padding: 0 8px;
    color: #666;
    font-size: 12px;
}
.ticket-view-subject {
    color: #23A7F1;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    padding-top: 17px;
    padding-bottom: 15px;
}
.ticket-view-content > p {

}
.ticket-view-comments {

}
.ticket-comments-list {

}
.ticket-commont-item {
    position: relative;
    margin-bottom: 15px;
    border: 1px solid #E7E7E7;
}
.ticket-commont-item.questions {
    
}
.ticket-commont-item.reply {

}
.ticket-commont-item > .header {
    text-align: left;
    font-weight: 400;
    border-bottom: 1px solid #E7E7E7;
    height: 26px;
    padding: 0 15px;
    background-color: #F2F6F9;
    color: #666;
    line-height: 26px;
}
.ticket-commont-item.questions > .header {
    
}
.ticket-commont-item.reply > .header {
    background-color: #e8e2b9;
    /* background: #D1B681; */
}
.ticket-commont-info {
    padding: 14px 10px 0;
    font-size: 12px;
    color: #666;
}
/* .ticket-commont-info > p, */
.ticket-commont-info > .zd-comment {
    padding-bottom: 15px;
}
.ticket-commont-info > .zd-comment img {
    max-width: 100% !important;
    border: 1px solid #E7E7E7;
}
.ticket-commont-info > .zd-comment p {
    margin-bottom: 15px;
}
.ticket-attachments-list {
    border-top: 1px solid #E7E7E7;
    padding: 5px 0;
    line-height: 18px;
}
.ticket-attachments-list > li {

}
.ticket-attachments-list > li .file-icon {
    background-image: url(https://www.flipbuilder.com/ticket/img/contact_icon.png);
    background-position: -50px 0px;
    padding: 1px 8px;
    background-size: 66px;
}
.ticket-attachments-list > li .file-link {
    font-size: 12px;
    color: #23A7F1;
    text-decoration: underline;
    margin-left: 3px;
    margin-right: 3px;
}
.ticket-attachments-list > li .file-link:hover {
    color: #686868;
}
.ticket-attachments-list > li .file-size {
    font-size: 12px;
    color: #666;
}

.tickek-view-reply {
    border-top: 1px solid #E7E7E7;
    margin-top: 25px;
    padding-top: 15px;
    padding-bottom: 25px;
}
.ticket-reply-btns {
    padding-top: 25px;
}
.ticket-reply-btns > .btn {
    background: #24a6f1;
    border: 1px solid #24a6f1;
    color: #fff;
    text-align: center;
    display: inline-block;
    line-height: 34px;
    width: 100%;
    max-width: 240px;
    font-size: 15px;
    border-radius: 2px;
    cursor: pointer;
}