/*
 * Copyright 2000-2014 JetBrains s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/*java2kotlin codemirror style-Courier new Regular*/

.ui-dialog {
    border-radius: 5px;
    border: 1px solid #969696;
    padding: 0;
}

.ui-dialog .ui-dialog-titlebar {
    font-size: 14px;
    padding: 8px;
    background-color: #dfdfdf;
}

.ui-dialog .ui-dialog-title {
    overflow: visible;
}

.ui-dialog-titlebar .ui-dialog-titlebar-close {
    position: relative;
    margin: 0;
    outline: none;
    cursor: pointer;
    border: 0;
    float: right;
    font-size: 0;
    height: 12px;
    width: 12px;
    background: url("/static/images/icons_all_sprite.svg") no-repeat -150px -300px;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .ui-dialog-titlebar .ui-dialog-titlebar-close {
        background-image: url("/static/images/icons_all_sprite@2x.png");
        background-size: 250px 900px;
    }
}

.ui-dialog .ui-dialog-content {
    position: static;
    padding: 0;
    border-bottom: 1px solid;
    border-color: #969696;
    background: #ffffff;
    overflow: hidden;
}

.ui-dialog .ui-dialog-buttonpane {
    margin: 0;
    background: #ffffff;
    padding: 8px;
    overflow: hidden;
}

.ui-dialog-buttonset {
    float: right;
}

.ui-dialog .ui-dialog-buttonpane button {
    margin: 0 4px;
    background-color: #dcdcdc;
    border: 1px solid #969696;
    border-radius: 3px;
}

.ui-dialog-buttonset .ui-button .ui-button-text {
    padding: 4px 6px;
}

.ui-widget-overlay {
    width: 100%;
    height: 100%;
    z-index: 1001;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #808080;
    opacity: 0.5;
}

.login-dialog {
    text-align: center;
    line-height: 20px;
}

.login-dialog .ui-dialog-content {
    padding-top: 10px;
    padding-bottom: 35px;
}

.login-dialog .login-icons {
    padding-top: 10px;
}

.login-dialog .ui-dialog-titlebar {
    background-color: white;
}

.facebook_23px {
    background: url("/static/images/icons_all_sprite.svg") no-repeat -150px 0;
}

.google_23px {
    background: url("/static/images/icons_all_sprite.svg") no-repeat -150px -50px;
}

.twitter_23px {
    background: url("/static/images/icons_all_sprite.svg") no-repeat -150px -100px;
}

.tweet-dialog .tweet-form {
    margin: 10px 15px 20px;
    overflow: hidden;
    position: relative;
}

.tweet-dialog .ui-dialog-titlebar {
    text-align: center;
    background-color: white;
}

.tweet-dialog .ui-dialog-content {
    background-color: #e5f3f8;
}

.tweet-dialog .buttonset {
    float: right;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.tweet-dialog .charsleft-counter {
    padding-right: 5px;
    opacity: 0.7;
}

.tweet-dialog .buttonset .tweet-button {
    color: white;
    border: 0;
    border-radius: 3px;
    font-weight: bold;
    padding: 8px 15px;
    background: #2599c4 linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
}

.tweet-dialog .buttonset .tweet-button:hover {
    background: #1b83a9 linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1));
}

.tweet-dialog textarea{
    padding: 6px;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    border: 1px solid #e1e8ed;
    border-radius: 3px;
}


#input-dialog {
    padding: 40px 20px;
}

#input-dialog input {
    width: 240px;
    border: 1px solid #969696;
    border-radius: 3px;
    margin-left: 5px;
    margin-bottom: 5px;
}

#input-dialog.advent-of-code-dialog {
    padding-bottom: 10px;
    padding-top: 20px;
}

#input-dialog.advent-of-code-dialog input{
    padding: 2px 2px 2px 0;
}


#input-dialog .form-wrapper{
    margin-bottom: 5px;
}

#input-dialog .textarea-label{
    margin-bottom: 5px;
}

.input-dialog-error-message {
    position: relative;
    text-align: center;
    color: red;
}

#shortcuts-help {
    line-height: 16px;
    margin: 6px;
}

#shortcutsKeyCombinations {
    display: inline-block;
}

#shortcutsDescriptions {
    display: inline-block;
    line-height: 25px;
}

.shortcutKeyCombinationWrapper {
    overflow: hidden;
    padding: 3px;
}

.shortcutKeyCombination {
    float: right;
}

.shortcutKeyName {
    display: inline-block;
    border: 1px solid #bcbcbc;
    border-bottom-width: 2px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 3px;
}

.shortcutSeparator {
    display: inline-block;
    padding-left: 1px;
    padding-right: 1px;
}

.shortcutSeparator:last-child {
    display: none;
}

.shortcutDescription {
    float: left;
}

.words-help {
    position: absolute;
    width: 300px;
    z-index: 10;
    background-color: #eeeeee;
    border: 1px solid #969696;
    border-radius: 3px;
}

.words-help .text {
    line-height: 1.25;
    padding: 4px;
}

.words-help .text pre {
    padding-left: 6px;
    padding-right: 6px;
    background-color: #cfcfcf;
}

.words-help .text pre:first-of-type {
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    padding-top: 6px;
    margin-top: 4px;
}

.words-help .text pre:last-of-type {
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding-bottom: 6px;
    margin-bottom: 4px;
}

.difference-dialog-content {
    height: 500px;
}

.colors-help {
    text-align: center;
    background: #f7f7f7;
    padding-top: 3px;
    padding-bottom: 3px;
}

.diff {
    float: left;
    overflow: auto;
    height: 100%;
    width: 50%;
}

.diff-glutters {
    float: left;
    height: 100%;
    background-color: #f7f7f7;
}

.diff-lineNumber {
    padding-left: 7px;
    padding-right: 7px;
    color: #999;
}

.diff-line {
    font-family: menlo, consolas, monospace;
    padding-left: 2px;
}

.color-help {
    padding-top: 5px;
    padding-left: 15px;
    display: inline-block;
    margin-bottom: 3px;
    margin-right: 4px;
    margin-left: 4px;
    border: 1px solid white;
    border-right-color: #969696;
    border-bottom-color: #969696;
}

.replace-color {
    background-color: #cad9fa;
}

.delete-color {
    background-color: #d6d6d6;
}

.insert-color {
    background-color: #c8f2c8;
}

#myPopupForConverterFromJavaToKotlin .CodeMirror,
#myPopupForConverterFromJavaToKotlin .CodeMirror-gutters {
    height: 100%;
}

#myPopupForConverterFromJavaToKotlin > div {
    min-width: 5%;
    max-width: 95%;
    float: left;
    width: 50%;
    height: 100%;
}

#myPopupForConverterFromJavaToKotlin .CodeMirror-lines {
    padding: 0;
}

#myPopupForConverterFromJavaToKotlin span.CodeMirror-matchingbracket {
    color: inherit;
    background-color: #99ccff;
}

.iframePopup iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

.ask-dialog a {
    padding-left: 5px;
}

.ask-dialog form {
    padding: 5px;
}

.ask-dialog section {
    display: flex;
    justify-content: space-between;
    padding-top: 5px;
    padding-bottom: 5px;
}

.ask-dialog section:last-child {
    flex-direction: row-reverse;
}

.ask-dialog input {

}

.ask-dialog .submit-button {
}

#advent-of-code-input {
    width: 100%;
    height: 100px;
}