/*DialogTrade.js 和 DialogTip.js的公共样式start*/
  .fy-common-dialog-mask {
    background-color: transparent;
    font-size: 14px;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
  }
  .fy-common-dialog-box {
    position: absolute;
    background: #fff;
    border-radius: 3px;
    border: 1px solid #d9dbdf;
    z-index: 100;
  }
  .fy-common-dialog-box .dialog-top {
    flex-direction: column;
    line-height: 26px;
    height: 26px;
    padding: 0 6px;
    background: #f2f3f4;
    color: #999;
    border-bottom: 1px solid #d9dbdf;
    display: flex;
    justify-content: flex-start;
  }
  .fy-common-dialog-box .dialog-top .dialog-title {
    font-size: 14px;
    color: #222;
    font-weight: bold;
    width: 100%;
  }
  .fy-common-dialog-box .dialog-top .dialog-close-btn {
    display: inline-block;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    position: absolute;
    right: 1px;
    color: #999;
    font-weight: normal !important;
    cursor: pointer;
  }
  .fy-common-dialog-box .dialog-top .dialog-close-btn:hover {
    color: #fff;
    background: #f24950;
  }
  .fy-common-dialog-box .dialog-top .icon-close {
    font-style: normal;
  }
  .fy-common-dialog-box .dialog-top .icon-close:before {
    content: "\2715";
  }
  .fy-common-dialog-box .dialog-body {
    min-width: 250px;
    /*min-height: 100px;*/
    color: #222;
    padding: 12px;
    /*overflow: hidden;*/
    display: flex;
  }
  .fy-common-dialog-box .dialog-body .dialog-content {
    width: 100%;
    overflow-y: auto;
    display: flex;
  }
  .fy-common-dialog-box .dialog-footer {
    padding: 0 12px;
    width: 100%;
    height: 48px;
    line-height: 28px;
    text-align: center;
    border-radius: 3px;
    position: relative;
    box-sizing: border-box;
  }
  .fy-common-dialog-box .dialog-footer .button {
    padding: 6px 0 4px 0;
    width: 85px;
    border-radius: 2px;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dcdfe6;
    color: #606266;
    text-align: center;
    box-sizing: border-box;
    outline: 0;
    margin-right: 5px;
  }
  .fy-common-dialog-box .dialog-footer .button:last-child {
    margin-right: 0;
  }
  .fy-common-dialog-box ::-webkit-scrollbar {
    position: fixed;
    z-index: 99999999;
    width: 8px;
    height: 8px;
  }
  .fy-common-dialog-box ::-webkit-scrollbar-track {
    background: #fff;
  }

  .fy-common-dialog-box ::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 4px;
  }

  .fy-common-dialog-box ::-webkit-scrollbar-corner {
    display: none;
  }
  .fy-common-dialog-box .info-tip {
    color: #222;
    font-size: 14px;
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 8px;
    line-height: 24px;
    margin-top: 4px;
    min-width: 240px;
    max-width: 300px;
    min-height: 100px;
  }
/*DialogTrade.js 和 DialogTip.js的公共样式end*/

/*DialogTrade的样式start*/
  .fy-common-dialog-box.dialogTrade {
    width: 724px;
  }
  .fy-common-dialog-box.dialogTrade .dialog-body {
    height: 480px;
  }
  #dialogTradeBox .fy-common-dialog-box .dialog-body .dialog-content {
    overflow-y: visible;
  }
  .fy-common-dialog-box.dialogTrade .dialog-content-input {
    margin-bottom: 2px;
  }
  .fy-common-dialog-box .dialog-content-pact-stk {
    display: flex;
    align-items: center;
  }
  .fy-common-dialog-box .dialog-content-pact-stk-name {
    margin-left: 5px;
  }
  .fy-common-dialog-box .dialog-content-pact-row {
    display: flex;
    margin-bottom: 2px;
    align-items: center;
  }
  .fy-common-dialog-box.dialogTrade .dialog-content-pact-row label {
    margin-right: 10px;
    display: flex;
    align-items: center;
    color: #c1c1c1;
  }
  .fy-common-dialog-box.dialogTrade .dialog-content-pact-row-bs {
    display: flex;
    align-items: center;
  }
  .fy-common-dialog-box .dialog-content-pact-row-title,
  .fy-common-dialog-box .dialog-content-input .type {
    width: 138px;
    text-align: right;
    padding-right: 8px;
  }
  .fy-common-dialog-box.dialogTrade input[type="radio"] + label::before {
    content: " ";
    display: inline-block;
    vertical-align: middle;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #d8d8d8;
    margin-right: 5px;
    box-sizing: border-box;
  }
  .fy-common-dialog-box.dialogTrade input[type="radio"]:checked + label::before {
    background-clip: content-box;
    padding: 4px;
    box-sizing: border-box;
    border: 8px solid rgb(48,150,255);
    background-color: #fff;
    transform: scale(0.5835);
    margin-right: 0;
  }
  .fy-common-dialog-box.dialogTrade input[type="radio"] {
    position: absolute;
    clip: rect(0, 0, 0, 0);
  }
  .fy-common-dialog-box .additional {
    padding: 10px 5px 3px 5px;
    margin-top: 20px;
  }
  .fy-common-dialog-box .additional textarea {
    resize:none;
    width: 100%;
    height: 50px;
    outline:none;
    box-shadow: 1px 1px 1px #ccc inset;
    padding: 4px;
  }
  .fy-common-dialog-box .additional-terms {
    display: flex;
    align-items: center; 
  }
  .fy-common-dialog-box .additional-terms label {
    margin-left: 5px;
    font-size: 12px;
  }
  .fy-common-dialog-mask .dialog-content-pact,
  .fy-common-dialog-mask .dialog-content-other-trade,
  .fy-common-dialog-mask .dialog-content-other-account,
  .fy-common-dialog-mask .additional {
    border: 1px solid #222;
    position: relative;
  }
  .fy-common-dialog-mask .dialog-content-other {
    margin-left: 5px;
    width: 315px;
  }
  .fy-common-dialog-mask .dialog-content-other-account {
    margin-top: 12px;
    padding-bottom: 20px;
  }
  .fy-common-dialog-mask .dialog-content-other-trade,
  .fy-common-dialog-mask .dialog-content-other-account {
    width: 100%;
    padding: 10px 0 5px 0;
  }
  .fy-common-dialog-mask .dialog-content-pact {
    padding: 20px 10px 0 6px;
    width: 380px;
  }
  .fy-common-dialog-mask .dialog-content-pact-title, 
  .fy-common-dialog-mask .dialog-content-other-trade-title, 
  .fy-common-dialog-mask .dialog-content-other-account-title,
  .fy-common-dialog-mask .additional-title,
  .fy-common-dialog-box .additional-title-doubt {
    position: absolute;
    top: -12px;
    background-color: #fff;
  }
  .fy-common-dialog-box .additional-title-doubt {
    display: inline-block;
    width: 24px;
    height: 16px;
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAflJREFUOE99UzFoFFEUnLl4aq2FCJZRC9FbFSyEK9TqCkWJJ1gI0UazeyoeIgSLXGUjRMHsnkHFgIhFRAtBI5IgpjKF9y8miIKNjaAoWB5J/shf3WVvc7rFsn/fe/Nm3p9H5J59Y9rYIY4TKIMox2FhVsDscgeTi3X+zJYwe/BCDYK4BuE1gekVixmsBwpLOATiIIT9FIZbAR8ldSmAF0kAfgm41PZ5P8/Mnb1QF0HcdN/GZ1wbv7ymBiFcNT63Zgv3jmuz7WC5dYHfu5i6ZsINE7DOWHMBC+rD0fmzfOsS94Tqt04KUP3b5UnL50ACsjtSRcADW4THUlNnKBwzPg9nEs4LaGAFAyzim4SXsLhnAjaSHC/SMxFP6UUaF/Cx7XM0DYaKE5MCL9KChKl2wMtJTilSncB2B/BZFpV2jZ/+MbgGiBErVOYDTqUAY9rGAl78F8BzTIgRACeMz8lsg1IGYJWEjM7nFL60Ap7Ls0sl9BpiSrOpU7R4bwKaPEA6xF13tKVvCYZC+V3AD7n7ngOxaIZ4uot+qAMkHq612PnHSKFGSfS3fB7J6+w13FKkr87SJuBE3soGFldMja963kikKoRbIDZ1WTk10G2dlMV1EG8gzNgipl0sWSYJjvqwGeLEqmVKfuy4qw1rOqj2Wud1wuO5Gn9k2f0G/4DyHwbaX7UAAAAASUVORK5CYII=") center center no-repeat;
    background-color: #fff;
    top: -10px;
    left: 61px;
    padding: 0 4px 0 4px;
    cursor: pointer;
  }
  .fy-common-dialog-box .additional-title-doubt:hover + .additional-explain{
    visibility: visible;
  }
  .fy-common-dialog-box .additional-explain {
    border: 1px solid #222;
    padding: 8px;
    width: 290px;
    background-color: #fff;
    position: absolute;
    left: 80px;
    top: 10px;
    visibility: hidden;
  }
  #dialogTradeBox .fy-common-dialog-box .additional-explain p {
    line-height: 16px;
    margin-bottom: 10px;
    font-size: 12px;
  }
  .fy-common-dialog-mask .dialog-content-other-trade-title, 
  .fy-common-dialog-mask .dialog-content-other-account-title {
    left: 5px;
  }
  #dialogTradeBox .fy-common-dialog-box .dialog-trade-footer .button {
    margin-right: 60px;
    background: #3096ff;
    border-color: #3096ff;
    color: #fff;
  }
  #dialogTradeBox .fy-common-dialog-box .dialog-trade-footer .button:hover {
    background-color: rgba(48, 150, 255, 0.8);
    border-color: rgba(48, 150, 255, 0.8);
  }
/*DialogTrade的样式start*/

/*DialogTip的样式start*/
  #dialogTipBox.fy-common-dialog-mask {
    z-index: 100;
  }
  #dialogTipBox .fy-common-dialog-box .dialog-body {
    align-items: center;
  }
  #dialogTipBox .fy-common-dialog-box .dialog-body .dialog-content {
    max-height: 320px;
    max-width: 500px;
  }
  @media screen and (max-height: 350px) {
    .fy-common-dialog-box.dialogTip {
      top: 0;
    }
  }
  @media screen and (max-height: 554px) {
    .fy-common-dialog-box.fy-common-dialog-trade {
      top: 0;
    }
  }
  @media screen and (min-height: 540px) {
    .fy-common-dialog-box.dialogTip .dialog-body .dialog-content {
      max-height: 500px;
    }
  }
  #dialogTipBox .fy-common-dialog-box .dialog-footer .button.sure-btn {
    color: #222;
    background: #c3e0ff;
    border-color: #5fa6ee;
  }
  #dialogTipBox .fy-common-dialog-box .dialog-footer .button.cancel-btn:hover {
    color: #222;
    background: #c3e0ff;
    border-color: #5fa6ee;
  }
  #dialogTipBox .info-title {
    color: #eb333b;
    margin-bottom: 6px;
  }
/*DialogTip的样式end*/

/*DialogOerate的样式start*/
  #operateBox .fy-common-dialog-box .operate-footer .button {
    background: #3096ff;
    border-color: #3096ff;
    color: #fff;
  }
  #operateBox .fy-common-dialog-box .operate-footer .cancel-btn {
    margin-left: 60px;
  }
  #operateBox .fy-common-dialog-box .dialog-body .dialog-content {
    overflow-y: visible;
  }
  #operateBox .dialog-additional {
    align-items: start;
  }
  #operateBox .dialog-additional .dialog-content-pact-row-content {
    flex: 1;
    max-height: 150px;
    overflow-y: auto;
  }
/*DialogOerate的样式end*/

/*DialogRemove的样式start*/
  #operateBox .dialogRemove .additional {
    padding-bottom: 45px;
  }
  #operateBox .dialog-body {
    height: auto;
  }
  #operateBox .dialogContinue .dialog-content-left .dialog-content-other-trade {
    margin-top: 12px;
  }
  #operateBox .dialogContinue .dialog-content-left .additional {
    margin-bottom: 5px;
  }
  #operateBox .dialogContinue .dialog-content-other-account {
    margin-top: 0;
  }
  #operateBox .dialogContinue .dialog-content-origin {
    border: 1px solid #ccc;
    margin-top: 12px;
    position: relative;
    height: 338px;
    padding-top: 20px;
  }
/*DialogRemove的样式end*/

/*DialogStop的样式start*/
  #operateBox .dialogStop .dialog-content-cell {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
  }
  .fy-common-dialog-box .dialogStop .dialog-content-pact-row-title,
  .fy-common-dialog-box .dialogStop .dialog-content-input .type {
    width: 138px;
    text-align: right;
    padding-right: 8px;
  }
  .fy-common-dialog-box .dialogStop .dialog-content-pact-row {
    display: flex;
    margin-bottom: 2px;
    align-items: center;
  }
  .fy-common-dialog-box .dialogStop .dialog-content-pact-row-content {
    width: 150px;
  }
  .fy-common-dialog-box .dialogStop .dialogStop-content {
    width: 150px;
  }
  .fy-common-dialog-box .dialogStop textarea {
    resize: none;
    width: 300px;
    height: 50px;
    outline: none;
    box-shadow: 1px 1px 1px #ccc inset;
    padding: 4px;
  }
/*DialogStop的样式end*/

/*DialogReplace的样式start*/
  .fy-common-dialog-box .dialogStop .dialogReplace-content {
    width: 150px;
  }
  .fy-common-dialog-box .dialogStop.dialogReplace .dialog-content-pact-row-title,
  .fy-common-dialog-box .dialogStop.dialogReplace .dialog-content-input .type {
    width: 155px;
  }
  .fy-common-dialog-box .dialogReplace .replaceInfo,
  .fy-common-dialog-box .dialogReplace .originInfo {
    position: relative;
    border: 1px solid #222;
    padding-top: 10px;
  }
  .fy-common-dialog-box .dialogReplace .originInfo {
    margin-top: 15px;
  }
/*DialogReplace的样式end*/

/*DialogVerify的样式start*/
  .fy-common-dialog-box .dialogVerify .dialog-content-pact {
    width: 300px; 
    padding-bottom: 15px;
  }
  .fy-common-dialog-box .dialogVerify .dialog-content-left-bottom,
  .fy-common-dialog-box .dialogVerify .dialog-content-right-bottom {
    margin-top: 12px;
  }
  .dialogVerify-pact-content {
    height: 70px;
    overflow-y: auto;
  }
  .fy-common-dialog-box .dialogVerify .dialog-content-right {
    margin-left: 5px;
  }
  .fy-common-dialog-box .dialogVerify .dialog-content-left-top {
    height: 270px;
  }
  .fy-common-dialog-box .dialogVerify .dialog-content-right-top {
    height: 145;
  }
  .fy-common-dialog-box .dialogVerify .dialog-content-right-bottom {
    height: 232px;
  }  
/*DialogVerify的样式end*/

