textarea {
    resize: none;
}

body {
    width: 100%;
    background: rgba(221,230,248,1);
}

.container-fluid {
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
    width: 95%;
}

.gradient-custom {
    /* fallback for old browsers */
    background: rgba(166,193,238,1);

    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(to top, rgba(221,230,248,1), rgba(244, 238, 249, 1), rgba(254,242,250,1));

    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to top, rgba(221,230,248,1), rgba(244, 238, 249, 1), rgba(254,242,250,1))

}

.nav-tab, .nav-link, .nav-link:active, .nav-link:focus, .nav-link:hover, .nav-link:target, .nav-link:visited, .nav-tab:active, .nav-tab:focus, .nav-tab:hover, .nav-tab:target, .nav-tab:visited {
    color: #555555;
    border-bottom-style: solid;
    border-bottom-color: #ffffff;
    border-bottom-width: 1px;
}

.textarea-container {
    border-width: 1px 1px 1px 1px;
    border-style: solid;
    border-color: #dee2e6;
    border-radius: 0rem 0.25rem 0.25rem 0.25rem;
    margin-top: -16.2px;
    padding-top: 4px;
}

.help-content {
    line-height: 1.5;
    color: #495057;
    text-align: center;
}

.disable-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.help-pic {
    width: 40vh;
    min-width: 50%;
    max-width: 95%;
}

.feedback-button {
    text-align: center;
    display: inline-block;
    margin-left: 5px;
    color: #495057;
}

.feedback-tip {
    color: #495057;
}

.feedback-wish {
    text-align: center;
    color: #ffb300;
    font-weight: bold;

    -webkit-animation-name: feedback-wish-translation; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 1s; /* Safari 4.0 - 8.0 */
    -webkit-animation-timing-function: ease-in;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;

    animation-name: feedback-wish-translation;
    animation-duration: 1s;
    animation-timing-function: ease-in;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes feedback-wish-translation {
  from {
    top: 0;
    opacity: 100%;
  }
  to {
    opacity: 0%;
    top: -10em;
    }
}

#logo-pic {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    height: 15vh;
}
#logo-container {
    text-align: center;
    margin-bottom: 20px;
}

#content {
    min-height: 500px;
}

#textarea-shiyi-context {
    border: none;
    outline: none;
    padding-top: 10px;
    margin-right: auto;
    margin-left: auto;
    width: 99.5%;
    font-size: 1.2rem;
    line-height: 2;
    color: #666666;
    overflow: hidden;
}

#textarea-shiyi-word {
    border: none;
    outline: none;
    padding-top: 10px;
    margin-top: 3px;
    margin-right: auto;
    margin-left: auto;
    width: 99.5%;
    font-size: 1.2rem;
    line-height: 2;
    color: #666666;
    overflow: hidden;
}

#textarea-fanyi {
    border: none;
    outline: none;
    padding-top: 10px;
    margin-right: auto;
    margin-left: auto;
    width: 99.5%;
    font-size: 1.2rem;
    line-height: 2;
    color: #666666;
    overflow: hidden;
}

#textarea-biaodian {
    border: none;
    outline: none;
    padding-top: 10px;
    margin-right: auto;
    margin-left: auto;
    width: 99.5%;
    font-size: 1.2rem;
    line-height: 2;
    color: #666666;
    overflow: hidden;
}

#textarea-shidian {
    border: none;
    outline: none;
    padding-top: 10px;
    margin-right: auto;
    margin-left: auto;
    width: 99.5%;
    font-size: 1.2rem;
    line-height: 2;
    color: #666666;
    overflow: hidden;
}

#textarea-bianlian {
    border: none;
    outline: none;
    padding-top: 10px;
    margin-right: auto;
    margin-left: auto;
    width: 99.5%;
    font-size: 1.2rem;
    line-height: 2;
    color: #666666;
    overflow: hidden;
}

#split-shiyi {
    border-width: 1px;
    border-style: none none solid none;
    border-color: #dee2e6;
}

#nav-tab {
    border-style: none;
}

#output {
    line-height: 2;
    margin-right: 10px;
    width: 100%;
}

#button-submit {
    height: 30px;
    font-size: 1rem;
    font-weight: 400;
    padding: 0px 15px 0px 15px;
    margin-right: 10px;
    margin-top: 4px;
    float: left;
    color: #198754;
    border-color: #198754;
    border-style: solid;
    border-width: 1px;
    border-radius: 0.25rem;
}
#button-submit:hover {
    color: #198754;
    border-color: #198754;
    border-style: solid;
    border-width: 1px;
    border-radius: 0.25rem;
}
#button-submit:active {
    color: #198754;
    border-color: #198754;
    border-style: solid;
    border-width: 1px;
    border-radius: 0.25rem;
}

#waiting {
    width: 1rem;
    height: 1rem;
    padding: 5px;
    margin-bottom: 2px;
}

#process {
    min-height: 30px;
}

#feedback {
    text-align: center;
    width: 100%;
}

#feedback-text {
    margin-top: 20px;
    margin-bottom: 20px;
}

#main {
    height: 100%;
    width: 100%;
    padding-top: 3vh;
}

#logo {
    width: 66%;
    color: #444444;
    margin-bottom: 4vh;
    line-height: 1.2;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    font-synthesis: weight;
    font-size: min(max(1.2vh, 1.2vw), 16px);
    overflow: hidden;
    -webkit-transform:scale(1.5,1.0);
    -moz-transform:scale(1.5,1.0);
    -ms-transform:scale(1.5,1.0);
    -o-transform:scale(1.5,1.0);
    transform:scale(1.5,1.0);
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#ad {
    font-size: 15px;
    color: #AAA;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 3px;
    position: relative;
    left: min(calc((100% - 1200px)/2 + 900px), calc(100% - 300px));
    top: -3vh;
    height: 0;
    float: left;
}

#footer {
    color: #888888;
    font-weight: 300;
    font-size: 15px;
    text-align: center;
    padding-bottom: 20px;
}

#count {
    text-align: right;
    float: right;
    position: relative;
    top: calc(12rem - 10px);
    right: 70px;
    width: 0;
    height: 0;
    color: #888888;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
