/*
 * 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.
 */

#toolbox {
    background-color: #e8e8e8;
    line-height: 1;
    width: 100%;
    overflow: hidden;
}

#accordion-display-button{
    float: left;
    padding: 5px 6px 5px 5px;
    margin-top: 6px;
    background-color: #969696;
    cursor: pointer;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
}

#accordion-display-button .icon{
    height: 11px;
    width: 6px;
    background: url("/static/images/icons_all_sprite.svg") -100px -600px;
}

#accordion-display-button.accordion-hidden .icon{
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
}

.toolbox-left {
    float: left;
    padding-left: 5px;
    margin-bottom: -1px;
}

.toolbox-right {
    float: right;
    padding-right: 5px;
}

.toolbox-right .buttonWrapper {
    top: 4px;
}

.buttonWrapper {
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin: 0 15px;
    text-align: center;
}

.buttonWrapper.disabled{
    cursor: default;
    opacity: 0.5;
}

.buttonWrapper .text {
    font-size: 12px;
    color: #585858;
}

#saveButton .icon {
    height: 12px;
    width: 12px;
    margin: 2px auto;
    background: url("/static/images/icons_all_sprite.svg") -100px -50px;
}

#saveAsButton .icon {
    height: 15px;
    width: 16px;
    position: relative;
    top: 1px;
    margin: 0 auto;
    background: url("/static/images/icons_all_sprite.svg") -100px -150px;
}

.argumentsButtonWrapper {
    display: inline-block;
    position: relative;
    text-align: center;
    border: 0;
    margin: 4px 0 -1px 0;
}

.argumentsButtonWrapper .text {
    font-size: 12px;
    color: #585858;
}

#argumentsButton {
    cursor: pointer;
    padding: 0 10px 4px 10px;
    border: 1px solid transparent;
    border-bottom: 0;
}

#argumentsButton.active {
    background: white;
    border: 1px solid #969696;
    border-bottom: 0;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

#argumentsButton .icon {
    display: inline-block;
    width: 13px;
    height: 11px;
    margin: 3px auto;
    background: url("/static/images/icons_all_sprite.svg") no-repeat -100px -250px;
}

#argumentsButton .arrow {
    display: inline-block;
    width: 7px;
    height: 4px;
    margin: auto auto 5px 5px;
    background: url("/static/images/icons_all_sprite.svg") no-repeat -100px -750px;
}

#argumentsButton.active .arrow {
    background: url("/static/images/icons_all_sprite.svg") no-repeat -100px -700px;
}

#runMode {
    font-size: 12px;
}

#runMode .ui-selectmenu-button{
    float: left;
    top: 4px;
    margin-bottom: 2px;
}

.ui-selectmenu-button {
    outline: none;
    line-height: 1;
    border: 1px solid #969696;
    background-color: #f9f9f9;
    padding: 4px;
    font-size: 12px;
    border-radius: 3px;
}

.ui-selectmenu-button .ui-icon.selectmenu-arrow-icon {
    position: static;
    width: 7px;
    height: 4px;
    float: right;
    margin-top: 3px;
    background: url("/static/images/icons_all_sprite.svg") -100px -750px;
}

.ui-selectmenu-button span.ui-selectmenu-text {
    padding: 0;
    line-height: 1;
    display: inline;
}

.ui-selectmenu-menu {
    border: 1px solid #969696;
    border-radius: 3px;
    background-color: #ffffff;
}

.ui-selectmenu-menu .ui-menu-item {
    padding: 2px;
}

.ui-selectmenu-menu .ui-menu-item.ui-state-focus {
    margin: 0;
    background-color: #eeeeee;
}

.ui-selectmenu-menu .ui-menu-item.ui-state-disabled {
    display: none;
}

#runButton {
    vertical-align: baseline;
}

#runButton .icon {
    height: 13px;
    width: 11px;
    margin: 2px auto;
    background: url("/static/images/icons_all_sprite.svg") no-repeat -100px -350px;
}

#runButton .ui-button-text {
    line-height: 1;
}

#arguments {
    margin-top: -1px;
    font-size: 14px;
    border: 0;
    border-top: 1px solid #969696;
    padding: 5px 10px 5px 10px;
    outline: none;
    box-sizing: border-box;
    width: 100%;
}

input::-webkit-input-placeholder {
    font-style: oblique;
    color: #a3a3a3;
}

input:focus::-webkit-input-placeholder {
    color: transparent;
}


input:-ms-input-placeholder{
    font-style: oblique;
    color: #a3a3a3;
}

input:focus:-ms-input-placeholder {
    color: transparent;
}

input::-moz-placeholder {
    font-style: oblique;
    color: #a3a3a3;
}

input:focus::-moz-placeholder {
    color: transparent;
}