
/**
 * Tom for jQuery 1.12.4
**/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  border: 0;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 13px;
  color: #212529;
  background-color: #FFF;
}

a, a:link, a:visited {text-decoration: none; color: #333;}

a:hover {text-decoration: none; color: #000; font-weight: bold;}

select { font-size: 12px; height: 20px;}

th { font-weight: normal;}

ul,li{ list-style-type:none; }

i { color: #555; }

.errors {color: red; font-weight: bold;}
.success {color: green; font-weight: bold;}
.clear {clear:both;}
.show {display: block;}
.hide {display: none;}
.ext_line {
white-space: nowrap;
}
.ext_ellipsis {
overflow: hidden;
text-overflow: ellipsis;
}
/* .ext_btn {
  background-color: #FFF;
  color:#444;
}
.ext_btn:hover {
  background-color: #444;
  color:#FFF;
} */
 .ext_btn {
  background-color: #444;
  color:#FFF;
}
.ext_btn:hover {
  background-color: #666;
  color:#FFF;
}
.btn-dark:hover {
  background-color: #666;
  color:#FFF;
}

/****************************VISITOR BEGIN START************************************/
#visitor-hrd {
	z-index: 1000;
  height: 85px;
  background-color: #FFF;
}
#visitor-main {
	padding-top: 65px;
  overflow-y: auto;
  overflow-x: hidden;
}

.visitor-main-rl {
  padding-left: 60px;
  padding-right: 60px;
}
.visitor-main-tb {
  padding-top: 10px;
  padding-bottom: 20px;
}
#visitor-bdy {
	z-index: 1001;
  overflow-y: auto;
  overflow-x: hidden;
}
.ext-bdy {
  overflow-y: auto;
  overflow-x: hidden;
}
#visitor-adv {
  overflow-y: hidden;
  overflow-x: hidden;
}

#visitor-adv-news > div:not(:last-child) {
  border-bottom: 1px solid #e7e7e7; /* 或其他下划线样式 */
}
#visitor-foot {
  padding-top: 10px;
  padding-bottom: 5px;
}
#visitor-hrd-common {
	z-index: 1000;
  height: 85px;
  padding-top: 10px;
}
#visitor-main-common {
  overflow-y: auto;
  overflow-x: hidden;
}
#visitor-foot-common {
  height: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.content-hrd{
  padding-top: 20px;
  padding-bottom: 20px;
}
.content-bdy {
  padding-bottom: 20px;
}

.login {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}
.login-btn {
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
}
.login-prompt {
  margin-top: 40px;
  text-align: center;
}
.login-by {
  padding-top: 30px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 10px;
}
.logo {
  font-size: 21px;
  font-weight: 600;
  font-family: Helvetica;
  /* color: #757575; */
  color: #d4237a;
  padding-left: 10px;
}

.sidebar-wrapper {
  z-index: 100;
}

.sidebar-wrapper .list-group {
  color: #000;
}

.sidebar-wrapper .list-group-item {
  background-color: transparent;
  border-radius: 0;
}

.sidebar-wrapper .list-group-item.active {
  background-color: rgba(0, 0, 0, 0.03);
  color: #000;
  border: 1px solid #e7e7e7;
}

.sidebar-wrapper .list-group-item:hover:not(.active) {
  color: #000;
}

.tab-pane {
  animation: fadeIn 0.5s ease-in-out;
  padding-top: 0px;
}

.sidebar-main {
  z-index: 100;
}

.sidebar-main .list-group {
  color: #000;
}

.sidebar-main .list-group-item {
  background-color: transparent;
  border-radius: 0;
}

.sidebar-main .list-group-item.active {
  /* background-color: #e7e7e7; */
  color: red;
  font-weight: bold;
  border: 0;
}

.sidebar-main .list-group-item:hover:not(.active) {
  color: #000;
}

.preview-item-card {
    display: inline-block;
    padding: 2px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    vertical-align: top;
}
.image-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: red;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  cursor: pointer;
  font-size: 12px;
  line-height: 10px;
  text-align: center;
}

.sidebar {
    padding: 0;
}
.sidebar-menu{ 
  overflow-x: hidden; 
  overflow-y: hidden;
  padding-left: 20px;
  padding-right: 20px;
}
.sidebar-menu li.sidebar-menu-item {
  position: relative;
  /* background-color: #f8f9fa; */
  border-bottom: 1px solid #dee2e6; 
}
.sidebar-menu li.sidebar-menu-item > a{
	display:block;
	height: 60px;
	line-height: 60px;
  color:#000;
  text-decoration: none;
}
.sidebar-menu li.sidebar-menu-item a:hover {
  background-color:#e0e0e0;
  border-top: 1px solid #d0d0d0; 
  border-bottom: 1px solid #d0d0d0; 
}
.sidebar-menu li.sidebar-menu-item a.current { 
  background-color:#dee2e6;
}

.number-input-group {
    display: flex;
    align-items: center;
    max-width: 350px;
    border-radius: 2px;
}

.number-input-group .btn {
    border-radius: 0;
    /* width: 38px;
    height: 38px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-input-group .btn:first-child {
    border-right: none;
    border-radius: 0.25rem 0 0 0.25rem;
}

.number-input-group .btn:last-child {
    border-left: none;
    border-radius: 0 0.25rem 0.25rem 0;
}

.number-input-group input {
    border-radius: 0;
    text-align: center;
    width: 100%;
    /* height: 38px; */
    border-top: 0;
    border-bottom: 0;
    border-right: 0;
}

.number-input-group input:focus {
    box-shadow: none;
    z-index: 1;
}

.ext_modal_dialog {
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}
.ext_modal_dialog .ext_modal_tab_menu {
  height: 26px;
  line-height: 26px;
  position: relative;
  font-size: 16px;
}

.ext_modal_dialog .ext_modal_tab_wnd {
  display: none;
}
.ext_modal_dialog .ext_modal_tab_wnd.active {
  display: block;
}
.ext_modal_dialog .ext_modal_tab_menu .nav-pills{
	background-color: transparent;
	border: none;
}
.ext_modal_tab_menu .nav-pills li {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  margin-right: 20px;
}
.ext_modal_tab_menu .nav-pills li a{
  text-align: center;
  text-transform: uppercase;
  padding: 6px 6px;
}
.ext_modal_tab_menu .nav-pills li a.active{
  border-bottom: 4px solid #000;
}
.ext_modal_tab_menu .nav-pills li:last-child a{ margin-right: 0; }
.ext_modal_tab_menu .nav-pills li:hover,
.ext_modal_tab_menu .nav-pills li a:hover,
.ext_modal_tab_menu .nav-pills li.active a{
  cursor:pointer;
  color: #000;
  font-weight: 700;
  
}
.ext_modal_tab_menu .nav-pills li:hover{
  /*border: 1px solid #326ea5; */
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.ext_modal_close {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 1000;
}
.qrcode-container {
    width: 200px;
    height: 200px;
    margin: 20px auto;
    text-align: center;
}
.qrcode-img {
    max-width: 100%;
    max-height: 100%;
}

.upload-area {
    border: 2px dashed #4a6491;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8f9fa;
}

.upload-area:hover {
    background: #e9ecef;
    border-color: #2c3e50;
}

.upload-icon {
    font-size: 3rem;
    color: #4a6491;
    margin-bottom: 10px;
}
        
.image-panel {
    flex: 2;
    min-width: 500px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #4a6491;
    color: #2c3e50;
}

.upload-area {
    border: 2px dashed #e7e7e7;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover {
    background: #e9ecef;
    border-color: #2c3e50;
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.canvas-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    background: white;
}

#imageCanvas {
    display: block;
    max-width: 100%;
}

.crop-overlay {
    position: absolute;
    border: 2px dashed #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    cursor: move;
}

.resize-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #e74c3c;
    border: 1px solid white;
    border-radius: 50%;
}

.resize-nw { top: -5px; left: -5px; cursor: nw-resize; }
.resize-ne { top: -5px; right: -5px; cursor: ne-resize; }
.resize-sw { bottom: -5px; left: -5px; cursor: sw-resize; }
.resize-se { bottom: -5px; right: -5px; cursor: se-resize; }

.text-element {
    position: absolute;
    cursor: move;
    user-select: none;
    padding: 5px;
    border: 1px dashed transparent;
}

.text-element.selected {
    border-color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.control-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.control-item {
    flex: 1;
    min-width: 120px;
}


.text-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
}

.text-item {
    padding: 8px;
    margin-bottom: 5px;
    background: #f8f9fa;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-item:hover {
    background: #e9ecef;
}

.text-item.selected {
    background: #d6eaf8;
    border-left: 3px solid #3498db;
}

.delete-text {
    color: #e74c3c;
    cursor: pointer;
    font-weight: bold;
}

.status-bar {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}
/****************************VISITOR BEGIN END**************************************/
