/**
 * @version		$Id: editor.css 221 2011-06-11 17:30:33Z happy_noodle_boy $
 * @package		JCE
 * @copyright	Copyright (C) 2009 Ryan Demmer. All rights reserved.
 * @license		GNU/GPL
 * This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 */
body { 
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
div#source-container {
    position: relative;
    background: #fefefe none;
}
div#source-toolbar {
    width : 100%;
    background: #F7F7F7 none;
    border-bottom : 1px solid #eee;
    padding : 0 2px;
    font: 10px Verdana, Arial, Helvetica, sans-serif;
    position: relative;
    
    float : left;
}

div#source-toolbar + div {
    clear : both;
}

div#source-toolbar span.source_search_container {
    margin: 0 2px;
    position: relative;
    right : 2px;
    text-align:right;
    display: inline-block;
    float: right;
}

div#source-toolbar span.button {
    display: inline-block;
    width : 20px;
    height : 20px;
    vertical-align: middle;
    border : 1px solid #ccc;
    margin : 2px 1px;
    
    background : url('../../../themes/advanced/img/icons.png') no-repeat 0 0;
    
    border-radius: 2px;
    
    cursor: pointer;
}

div#source-toolbar span.button:first-child {
    margin-left : 5px;
}

div#source-toolbar input[type="text"] {
    margin : 1px 0;
    vertical-align: middle;
    width: 150px;
}

div#source-toolbar span.button:hover {
    border:1px solid #0A246A;
    background-color:#B2BBD0;
}

div#source-toolbar span.button.active {
    border:1px solid #0A246A;
    background-color:#C2CBE0;    
}

div#source-toolbar span.button.source_wrap {background-position:-100px -40px;}
div#source-toolbar span.button.source_linenumbers {background-position:-120px -40px;}
div#source-toolbar span.button.source_highlight {background-position:-140px -40px;}
div#source-toolbar span.button.source_format {background-position:-400px 0;}

div#source-toolbar span.button.source_search {background-image: url('../img/icons.png'); background-repeat : no-repeat; background-position: 0 0;}
div#source-toolbar span.button.source_search_prev {background-image: url('../img/icons.png'); background-repeat : no-repeat; background-position: -20px 0;}
div#source-toolbar span.button.source_replace {background-position:-500px -20px;}
div#source-toolbar span.button.source_replace_all {background-image: url('../img/icons.png'); background-repeat : no-repeat; background-position: -40px 0;}

label[for="source_search_regex"] {
    line-height : 20px;
    vertical-align: middle;
    margin: 0 5px 0 0;
    display: inline-block;
}

#source_search_regex {
    vertical-align : middle;
}