/*
	The MIT License (MIT)

	Copyright (c) 2013 Fernando Bevilacqua

	Permission is hereby granted, free of charge, to any person obtaining a copy of
	this software and associated documentation files (the "Software"), to deal in
	the Software without restriction, including without limitation the rights to
	use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
	the Software, and to permit persons to whom the Software is furnished to do so,
	subject to the following conditions:

	The above copyright notice and this permission notice shall be included in all
	copies or substantial portions of the Software.

	THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
	IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
	FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
	COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
	IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
	CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

body, html {
    margin: 0;
    height: 100%;
}

#wrapper {
	position: relative;
	height: 100%;
	width: 100%;
    overflow: none;
    display: none;
}

/*
-----------------------------------------------------
Config panel
-----------------------------------------------------
*/

#config {
	position: fixed;
	right: 0;
	top: 0;
	width: 30px;
	height: 100%;
	background: #333;
}

#config-dialog {
	position: absolute;
	z-index: 1;
	width: 300px;
	height: 100%;
    background: #333;
    border-left: 1px solid #424242;
	outline: 1px solid #000;
	color: #fff;
	overflow: auto;

	-webkit-transition: -webkit-transform 0.5s;
	transition: -webkit-transform 0.5s;
}

#config-bar {
	position: absolute;
	z-index: 10;
	width: 30px;
	height: 100%;
	background: #555;
    border-left: 1px solid #424242;
	outline: 1px solid #000;
}

#config-bar a {
	color: #ebebeb;
}

#config-bar a.top {
    float: left;
	clear: both;
	margin: 5px 0 10px 8px;
}

#config-bar a.bottom {
	position: absolute;
	bottom: 0;
	height: 25px;
    left: 8px;
}

/*
-----------------------------------------------------
Files panel
-----------------------------------------------------
*/

#files-panel {
	z-index: 10;
	float: right;
	width: 20%;
	height: 100%;
	color: #AAA;
    border-left: 1px solid #424242;
	outline: 1px solid #000;
}

#folders {
	width: 100%;
	height: 100%;
	padding: 2px;
	background: #282828;
    overflow: scroll;
    border-left: 1px solid #000;
    position: relative;
}

#folders div.message {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #282828;
    text-align: center;
    padding-top: 50%;
}

#folders div.message i{
    font-size: 3em;
    margin-bottom: 10px;
}

#files-panel-pending-activities {
    position: absolute;
    top: 3px;
    right: 35px;
}

#files-panel-pending-activities div {
    position: absolute;
    top: 3px;
    right: 45px;
    width: 200px;
    height: auto;
}

#files-panel-pending-activities div,
#files-panel-pending-activities a {
    display: none;;
}

ul.fancytree-container {
  background-color: transparent;
  border: none;
}

span.fancytree-node {
  border: 1px solid transparent;
  color: #AAA;
}

span.fancytree-title {
  color: #AAA;
}

span.fancytree-node:hover {
    background-color: #444;
    border-color: #444;
}
.fancytree-container.fancytree-treefocus span.fancytree-node.fancytree-focused {
    border-color: #444;
}
span.fancytree-node.fancytree-active,
span.fancytree-node.fancytree-selected {
    background-color: #444;
    border-color: #444;
}
.fancytree-container.fancytree-treefocus span.fancytree-node.fancytree-active,
.fancytree-container.fancytree-treefocus span.fancytree-node.fancytree-selected,
span.fancytree-node.fancytree-active:hover,
span.fancytree-node.fancytree-selected:hover {
    background-color: #444;
    border-color: #444;
}
.fancytree-container.fancytree-treefocus {
    border: none;
    outline: none;
}

.fancytree-edit-input {
    background: none;
    border: none;
}
.fancytree-edit-input:focus {
}

/*
-----------------------------------------------------
Content area (where code is edited)
-----------------------------------------------------
*/

#content {
	width: 100%;
	height: 100%;
	overflow: hidden;

	-webkit-transition: -webkit-transform 0.5s;
	transition: -webkit-transform 0.5s;
}

#tabs {
    padding-top: 2px;
	height: 27px;
	background: #3C3C3C;
    display: none; /* nothing is displayed until an actial tab is there */
}

#working-area {
    position: relative;
	float: left;
	margin-top: 0;
	width: 80%;
	background: #282828;
	overflow: hidden;
	height: 100%;
}

#working-area .ace_editor {
    position: absolute;
    top: 0;
	width: 100%;
	height: 100%;
}

#working-area::-webkit-scrollbar {
    display: none;
}

#working-area .tab-content {
}

#working-area .tab-loading-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #A1A1A1;
}

/*
-----------------------------------------------------
Context menu
-----------------------------------------------------
*/
.context-menu-list {
	margin:0;
	padding:0;

	min-width: 120px;
	max-width: 250px;
	display: inline-block;
	position: absolute;
	list-style-type: none;

	border: 1px solid #DDD;
	background: #f8f8f8;

	-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
		-ms-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
		 -o-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
			box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);

	font-size: 11px;
}

.context-menu-item {
	padding: 2px 2px 2px 24px;
	background-color: #f8f8f8;
    color: #000;
}

.context-menu-separator {
	padding-bottom:0;
	border-bottom: 1px solid #DDD;
}

.context-menu-item.hover {
	background-color: #6f6f6f;
    color: #eee;
}

.context-menu-item.disabled {
	color: #666;
}

.context-menu-input.hover,
.context-menu-item.disabled.hover {
	cursor: default;
	background-color: #EEE;
}

.context-menu-submenu:after {
	content: ">";
	color: #666;
	position: absolute;
	top: 0;
	right: 3px;
	z-index: 1;
}

/* icons
	#protip:
	In case you want to use sprites for icons (which I would suggest you do) have a look at
	http://css-tricks.com/13224-pseudo-spriting/ to get an idea of how to implement
	.context-menu-item.icon:before {}
 */
.context-menu-item.icon { min-height: 18px; background-repeat: no-repeat; background-position: 4px 2px; }
.context-menu-item.icon-edit { background-image: url(../images/page_white_edit.png); }
.context-menu-item.icon-edit:before {
    content: "\f044";
	font-family: FontAwesome;
    font-size: 14px;
    float: left;
    width: 10px;
    margin: 1px 0 0 -17px;
}
.context-menu-item.icon-cut { background-image: url(../images/cut.png); }
.context-menu-item.icon-copy { background-image: url(../images/page_white_copy.png); }
.context-menu-item.icon-paste { background-image: url(../images/page_white_paste.png); }
.context-menu-item.icon-delete { background-image: url(../images/page_white_delete.png); }
.context-menu-item.icon-add { background-image: url(../images/page_white_add.png); }
.context-menu-item.icon-quit { background-image: url(../images/door.png); }

/*
-----------------------------------------------------
Sliding panel and panels content
-----------------------------------------------------
*/

.panel-close-button {
    padding-right: 10px;
}

.panel-close-button i {
    color: #75BFFF;
}

.panel-content {
    position: absolute;
    width: 100%;
    height: 100%;
    color: #a9a9a9;
    font-size: 15px;
    background: #333;
    padding: 0;
}

.panel-content i {
    margin-right: 8px;
    text-shadow: 1px 1px 2px #2b2b2b;
    color: #aaa;
}

.panel-content hr {
    background: #404040;
    border-top: solid 2px #272727;
    height: 2px;
}

.panel-content a,
.panel-content a:active,
.panel-content a:visited,
.panel-content a:hover {
    color: #a9a9a9;
}

.panel-title,
.panel-divider,
.panel-pair,
.panel-row {
    position: relative;
    font-family: 'Lucida Grande', sans-serif;
    font-size: 13px;
    padding: 0 0 0 10px;
}

.panel-title,
.panel-divider {
    font-weight: 700;
    font-size: 12px;
    border-bottom: 1px solid #494949;
    border-top: 1px solid #494949;
    outline: 1px solid #272727;
    color: #bdbdbd;
    text-transform: uppercase;
    height: 30px;
    padding-top: 8px;
}

.panel-title {
    background: #242424;
}

.panel-divider {
    background: #3d3d3d;
    border-left: 1px solid #333;
    border-right: 1px solid #333;
}

.panel-divider i {
    text-shadow: 1px 1px 2px #2b2b2b;
    color: #aaa;
}

.panel-row {
    padding: 5px;
    display: inline-block;
    width: 100%;
}

.panel-raw {
}

.panel-pair {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 3px 0 5px 0;
}

.panel-pair-icon {
    position: absolute;
    left: 0;
    top: 0;
    background: #2FA1D6;
    width: 3px;
    height: 100%;
}

.panel-pair-text {
    width: 40%;
    float: left;
    margin-top: 3px;
}

.panel-pair-content {
    width: 50%;
    float: right;
    margin-right: 5px;
}

.panel-content li {
    background: #353535 url('../img/ui/slide-panel-li-drag.png') no-repeat left;
    border: solid 1px #171717;
    outline: solid 1px #454545;
    list-style: none;
    height: 30px;
    margin: 0 0 5px -40px;
    padding: 5px 0 0 20px;
    color: #bdbdbd;
}

.panel-content li sub {
    color: #707070;
    font-size: 12px;
    padding-bottom: 40px;
}

/* Form elements within a panel - CSS from http://devgrow.com/dark-button-navigation-using-css3/ */
.panel-content input[type=text],
.panel-content select {
    background: #292929;
    border: solid 1px #171717;
    outline: 1px solid #454545;
    height: 27px;
    width: 100%;
}

.panel-content input[type=text] {
    background: #292929;
    width: 100%;
    text-indent: 5px;
}

.panel-content select {
    background: #2e2e2e;
}

.panel-content button {
    background: #424242;
    border: solid 1px #515151;
    border-top: solid 1px #5d5d5d;
    outline: 1px solid #212121;
    cursor: pointer;
    height: 25px;
}

.panel-content button:hover {
    background: #525252;
}

.panel-content button:active,
.panel-content button.active
{
    background: #323232;
    border: solid 1px #515151;
    outline: 2px solid #212121;
}

.panel-content input[type=checkbox] + label {
    margin-left: 5px;
    font-weight: normal;
}

.panel-content input[type=checkbox] {
    -webkit-appearance: none;
    appearance: none;
	background-color: #292929;
	border: 1px solid #171717;
    outline: 1px solid #636363;
	display: inline-block;
	position: relative;
    width: 15px;
    height: 15px;
    padding-top: 4px;
}

.panel-content input[type=checkbox]:checked {
    background-color: #292929;
	border: 1px solid #171717;
    outline: 1px solid #636363;
}

.panel-content input[type=checkbox]:checked {
    background-color: #292929;
	border: 1px solid #171717;
    outline: 1px solid #636363;
	color: #99a1a7;
}

.panel-content input[type=checkbox]:checked:after {
	content: 'X';
	font-size: 10px;
	position: absolute;
	top: 1px;
	left: 3px;
	color: #75BFFF;
    padding: 0;
}

.panel-content input[type=radio] {
	background-color: #292929;
	display: inline;
	position: relative;
    width: 15px;
    height: 15px;
    margin-top: 3px;
}

.panel-content input[type=range] {
    -webkit-appearance: none;
    margin: 18px 0;
    width: 100%;
}

.panel-content input[type=range]:focus {
    outline: none;
}

.panel-content input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #636363;
    background: #292929;
    border: 0.2px solid #171717;
}
.panel-content input[type=range]::-webkit-slider-thumb {
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #636363;
    background: #424242;
    border: solid 1px #515151;
    outline: 1px solid #212121;
    height: 20px;
    width: 10px;
    border-radius: 0;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -7px;
}

.panel-content input[type=range]:focus::-webkit-slider-runnable-track {
    background: #2D2D2D;
}

.panel-content input[type=range]::-moz-range-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    background: #3071a9;
    border-radius: 1.3px;
    border: 0.2px solid #010101;
}

.panel-content input[type=range]::-moz-range-thumb {
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    border: 1px solid #000000;
    height: 36px;
    width: 16px;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
}

.panel-content input[type=range]::-ms-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
}

.panel-content input[type=range]::-ms-fill-lower {
    background: #2a6495;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

.panel-content input[type=range]::-ms-fill-upper {
    background: #3071a9;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

.panel-content input[type=range]::-ms-thumb {
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    border: 1px solid #000000;
    height: 36px;
    width: 16px;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
}

.panel-content input[type=range]:focus::-ms-fill-lower {
    background: #3071a9;
}

.panel-content input[type=range]:focus::-ms-fill-upper {
    background: #367ebd;
}

/* Special UI elements */

.panel-content button.square {
    width: 60px;
    height: 55px;
    position: relative;
    text-align: center;
    margin-bottom: 30px;
    margin-right: 10px;
}

.panel-content button.square i {
    position: absolute;
    top: 10px;
    left: 0;
    width: 60px;
    text-align: center;
    font-size: 35px;
    color: #b1b1b1;
    font-weight: normal;
}

.panel-content button.square label {
    position: absolute;
    top: 60px;
    left: 0;
    width: 60px;
    text-align: center;
}

/* Switch checkboxes - From http://technical.nailfashionsweden.se/coolest-web-components-using-css-without-javascript/ */
.panel-content .switch {
    position: relative;
}

.panel-content .switch label {
    width: 55px;
    height: 20px;
    position: absolute;
    background-color: #292929;
    top: 0;
    left: 0;
    border: 1px solid #171717;
    border-radius: 50px;
}

.panel-content .switch input[type="checkbox"] {
    visibility: hidden;
}

.panel-content .switch label:after {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50px;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.1s;
    background: #424242;
}

.panel-content .switch input[type="checkbox"]:checked + label:after {
    left: 35px;
}

.panel-content .switch input[type="checkbox"]:checked + label {
    background-color: #008CBA;
}

/* Style placeholders - https://css-tricks.com/snippets/css/style-placeholder-text/ */
.panel-content ::-webkit-input-placeholder {
   color: #6d6d6d;
}

.panel-content :-moz-placeholder { /* Firefox 18- */
   color: #6d6d6d;
}

.panel-content ::-moz-placeholder {  /* Firefox 19+ */
   color: #6d6d6d;
}

.panel-content :-ms-input-placeholder {
   color: #6d6d6d;
}

.panel-content div.warning {
    text-align: center;
    padding: 10px;
}

.panel-content div.warning i {
    font-size: 5.5em;
    margin-bottom: 10px;
}

.panel-content input.error {
    border: 1px solid #b70000;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px; /* future proofing */
}

/*
-----------------------------------------------------
Editors
-----------------------------------------------------
*/
.codebot-editor {
    width: 100%;
}

.codebot-editor div.toolbar {
    width: 3%;
    height: 100%;
    float: left;
    border-right: 1px solid #424242;
	outline: 1px solid #000;
    text-align: center;
}

.codebot-editor div.working-area {
    position: relative;
    width: 97%;
    height: 100%;
    float: right;
    overflow: auto;
}

.codebot-editor-incode-overlay img {
    width: 200px;
    height: auto;
}

/*
-----------------------------------------------------
Custom scrollbars
-----------------------------------------------------
*/

::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-border-radius: 8px;
    border-radius: 8px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(20,20,20,0.8);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(50,50,50,0.4);
}

/*
-----------------------------------------------------
Project sliding panel
-----------------------------------------------------
*/

div#project-templates {
    width: 100%;
    overflow: auto;
}

div#project-templates div.project-template {
    background: transparent;
    text-align: center;
    width: 90px;
    padding: 2px;
    float: left;
    margin-left: 5px;
    color: #aaa;
    line-height: normal;
}

div#project-templates div.project-template img {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
}

div#project-templates a.selected div.project-template {
    background: #545454;
}

div#project-git-repo-panel {
    padding: 4px;
    width: 100%;
    display: none;
    overflow: auto;
}

div#project-git-repo-panel i {
    margin: 2px 8px 3px 5px;
    position:absolute;
    text-indent:3px;
}

div#project-git-repo-panel input {
    width: 90%;
    float: left;
}

div#projects-list {
}

div#projects-list a:hover {
    background: red;
}

div#projects-list div.project {
    border-bottom: 1px solid #505050;
    clear: both;
    padding: 5px 5px 25px 5px;
    margin-bottom: 5px;
}

div#projects-list div img {
    float: left;
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

div#projects-list div h2 {
    margin: 0 0 3px 0;
    font-size: 1.1em;
    font-weight: bold;
}

div#projects-list div p {
    float: left;
    margin-right: 10px;
}

div#projects-list div p,
div#projects-list div i {
    color: #888;
}

div#projects-list div.info {
    display: none;
    clear: both;
    width: 100%;
    height: 30px;
}

/*
-----------------------------------------------------
Settings panel
-----------------------------------------------------
*/

.settings-panel-main {
    text-align: center;
    line-height: 18px;
    padding-bottom: 10px;
    color: #808080;
}

.settings-panel-main a,
.settings-panel-main a:active,
.settings-panel-main a:hover,
.settings-panel-main a:visited {
    text-decoration: underline;
    color: #808080;
}

.settings-panel-main .version {
    font-size: 1.4em;
    font-weight: bold;
    color: #A8A8A8;
}

.settings-panel-main .developer i {
    font-size: 1.5em;
    margin: 0;
    padding: 0;
}

.settings-panel-main .developer {
    padding-top: 5px;
    font-size: 1.1em;
}

.settings-panel-main-user {
    text-align: left;
}

.settings-panel-main-user img {
    width: 60px;
    height: 60px;
    margin: 5px 10px 5px 0;
    float: left;
}

.settings-panel-main-user p {
    margin: 0;
    padding: 0;
    font-size: 1em;
}
.settings-panel-main-user p.name {
    padding-top: 12px;
    font-size: 1.3em;
    font-weight: bold;
}

/*
-----------------------------------------------------
Settings - plugin
-----------------------------------------------------
*/

.plugin {
    width: 100%;
    border-bottom: 1px solid #505050;
    margin: 0 0 2px 0;
    padding: 5px;
}

.plugin img {
    float: left;
    margin: -5px 5px 5px 0;
    width: 40px;
    height: 40px;
}

.plugin div.switch {
    position: absolute;
    top: 0;
    right: 55px;
}

.plugin h2 {
    font-size: 1.1em;
    line-height: 1em;
    margin: 0 0 2px 0;
    padding: 0;
    font-weight: bold;
}

.plugin span {
    margin-right: 10px;
}

.plugin span,
.plugin span i {
    color: #797979;
}

.plugin p {
    clear: both;
    color: #898989;
}

/*
-----------------------------------------------------
Credentials panel
-----------------------------------------------------
*/

.credentials-panel-main {
    text-align: center;
    line-height: 1em;
    color: #808080;
    height: 180px;
}

.credentials-panel-main a,
.credentials-panel-main a:active,
.credentials-panel-main a:hover,
.credentials-panel-main a:visited {
    text-decoration: underline;
    color: #808080;
}

.credentials-panel-main .name {
    padding-top: 5px;
    font-size: 1.4em;
    font-weight: bold;
    color: #A8A8A8;
    line-height: 0.9em;
}

.credentials-panel-main .email i {
    font-size: 1.5em;
    margin: 0;
    padding: 0;
}

.credentials-panel-main .email {
    font-size: 1.1em;
    line-height: 0;
}

.credentials-panel-main img {
    width: 120px;
    height: 120px;
    margin: 10px 0 5px 0;
}

/*
-----------------------------------------------------
UI toast
-----------------------------------------------------
*/

.toast-wrapper {
    position: fixed;
    right: 30px;
    bottom: 20px;
    overflow: hidden;
    width: 305px;
    height: 80px;
    pointer-events: none;
}

.toast-content {
    position: absolute;
    right: -100%;
    width: 100%;
    height: 80px;
    transition: 0.5s;
    font-size: 0.9em;
    background: #333;
    color: #9f9f9f;
    padding: 5px 5px 5px 10px;
}

.toast-content h1,
.toast-content h2,
.toast-content h3,
.toast-content h4 {
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1em;
    margin: 5px 0 5px 0;
}

.toast-content.info {
    border-left: 5px solid cyan;
}
.toast-content.info h2 {
    color: cyan;
}

.toast-content.warning {
    border-left: 5px solid orange;
}
.toast-content.warning h2 {
    color: orange;
}

.toast-content.error {
    border-left: 5px solid red;
}
.toast-content.error h2 {
    color: red;
}

.toast-wrapper.open .toast-content {
    transition: 0.5s;
    right: 0;
}

.toast-content a.toast-close-button {
    position: absolute;
    top: 5px;
    right: 10px;
    color: #75BFFF;
}

.toast-wrapper.open {
    pointer-events: auto;
}

/*
-----------------------------------------------------
Tabs
-----------------------------------------------------
*/

.chrome-tabs-shell {
  position: relative;
  background-color: transparent;
  padding: 0 10px 4px 0;
  -webkit-border-radius: 4px 4px 0 0;
  -moz-border-radius: 4px 4px 0 0;
  -ms-border-radius: 4px 4px 0 0;
  -o-border-radius: 4px 4px 0 0;
  border-radius: 4px 4px 0 0;
  height: 25px;
  overflow: hidden; }
  .chrome-tabs-shell .chrome-shell-bottom-bar {
    position: absolute;
    bottom: 0px;
    height: 4px;
    left: 0px;
    width: 100%;
    border-top: 1px solid rgba(43, 43, 43, 1);
    -webkit-box-shadow: inset 0 1px rgba(134, 134, 134, 0.6);
    -moz-box-shadow: inset 0 1px rgba(134, 134, 134, 0.6);
    box-shadow: inset 0 1px rgba(134, 134, 134, 0.6);
    background-color: #525252;
    z-index: 20; }

.chrome-tabs {
  *zoom: 1;
  width: 99999px; }
  .chrome-tabs:after {
    content: "";
    display: table;
    clear: both; }
  .chrome-tabs * {
    -webkit-user-select: none;
    cursor: default;
    font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 13px; }
  .chrome-tabs .chrome-tab {
    float: left;
    position: relative;
    height: 25px;
    width: 180px;
    border: 0px;
    margin: 0px;
    z-index: 1;
    background-color: #696868;
    -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.6), 0 -1px rgba(0, 0, 0, 0.2), -1px 0 rgba(0, 0, 0, 0.2), 1px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px rgba(255, 255, 255, 0.6), 0 -1px rgba(0, 0, 0, 0.2), -1px 0 rgba(0, 0, 0, 0.2), 1px 0 rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.6), 0 -1px rgba(0, 0, 0, 0.2), -1px 0 rgba(0, 0, 0, 0.2), 1px 0 rgba(0, 0, 0, 0.2);
    background-image: -webkit-linear-gradient(top, #555555, #413B3B);
    background-image: -moz-linear-gradient(top, #555555, #413B3B);
    background-image: -o-linear-gradient(top, #555555, #413B3B);
    background-image: linear-gradient(top, #555555, #413B3B); }
    .cssmasks .chrome-tabs .chrome-tab {
      -webkit-box-shadow: inset 0 1px rgba(116, 116, 116, 0.8), 0 -1px rgba(0, 0, 0, 0.2);
      -moz-box-shadow: inset 0 1px rgba(116, 116, 116, 0.8), 0 -1px rgba(0, 0, 0, 0.2);
      box-shadow: inset 0 1px rgba(116, 116, 116, 0.8), 0 -1px rgba(0, 0, 0, 0.2);
      margin: 0 5px 0 20px; }
    .chrome-tabs .chrome-tab .chrome-tab-curves {
      display: none; }
      .cssmasks .chrome-tabs .chrome-tab .chrome-tab-curves {
        display: block; }
      .chrome-tabs .chrome-tab .chrome-tab-curves * {
        position: absolute;
        width: 20px;
        height: 24px;
        -webkit-mask-size: 100%; }
      .chrome-tabs .chrome-tab .chrome-tab-curves .chrome-tab-curve-left, .chrome-tabs .chrome-tab .chrome-tab-curves .chrome-tab-curve-left-shadow1, .chrome-tabs .chrome-tab .chrome-tab-curves .chrome-tab-curve-left-shadow2 {
        -webkit-mask-image: url("../img/tabs/tab-left.svg"); }
      .chrome-tabs .chrome-tab .chrome-tab-curves .chrome-tab-curve-right, .chrome-tabs .chrome-tab .chrome-tab-curves .chrome-tab-curve-right-shadow1, .chrome-tabs .chrome-tab .chrome-tab-curves .chrome-tab-curve-right-shadow2 {
        -webkit-mask-image: url("../img/tabs/tab-right.svg"); }
      .chrome-tabs .chrome-tab .chrome-tab-curves .chrome-tab-curve-left, .chrome-tabs .chrome-tab .chrome-tab-curves .chrome-tab-curve-right {
        top: 1px;
        z-index: 1;
        background-color: #e0e0e0;
        background-image: -webkit-linear-gradient(top, #555555, #413B3B);
        background-image: -moz-linear-gradient(top, #555555, #413B3B);
        background-image: -o-linear-gradient(top, #555555, #413B3B);
        background-image: linear-gradient(top, #555555, #413B3B); }
      .chrome-tabs .chrome-tab .chrome-tab-curves .chrome-tab-curve-left {
        left: -20px; }
      .chrome-tabs .chrome-tab .chrome-tab-curves .chrome-tab-curve-right {
        right: -20px; }
      .chrome-tabs .chrome-tab .chrome-tab-curves .chrome-tab-curve-left-shadow1, .chrome-tabs .chrome-tab .chrome-tab-curves .chrome-tab-curve-right-shadow1 {
        top: 0px;
        width: 21px;
        height: 25px;
        background-color: rgb(116, 116, 116); }
      .chrome-tabs .chrome-tab .chrome-tab-curves .chrome-tab-curve-left-shadow1 {
        left: -21px; }
      .chrome-tabs .chrome-tab .chrome-tab-curves .chrome-tab-curve-right-shadow1 {
        right: -21px; }
      .chrome-tabs .chrome-tab .chrome-tab-curves .chrome-tab-curve-left-shadow2, .chrome-tabs .chrome-tab .chrome-tab-curves .chrome-tab-curve-right-shadow2 {
        top: -1px;
        width: 22px;
        height: 26px;
        background: rgba(0, 0, 0, 0.24); }
      .chrome-tabs .chrome-tab .chrome-tab-curves .chrome-tab-curve-left-shadow2 {
        left: -22px; }
      .chrome-tabs .chrome-tab .chrome-tab-curves .chrome-tab-curve-right-shadow2 {
        right: -22px; }
    .chrome-tabs .chrome-tab.chrome-tab-current {
      z-index: 999;
      background-color: #e0e0e0;
      background-image: -webkit-linear-gradient(top, #555555, #574E4E);
      background-image: -moz-linear-gradient(top, #555555, #574E4E);
      background-image: -o-linear-gradient(top, #555555, #574E4E);
      background-image: linear-gradient(top, #555555, #574E4E); }
      .chrome-tabs .chrome-tab.chrome-tab-current .chrome-tab-curves .chrome-tab-curve-left, .chrome-tabs .chrome-tab.chrome-tab-current .chrome-tab-curves .chrome-tab-curve-right {
        background-color: #e0e0e0;
        background-image: -webkit-linear-gradient(top, #555555, #574E4E);
        background-image: -moz-linear-gradient(top, #555555, #574E4E);
        background-image: -o-linear-gradient(top, #555555, #574E4E);
        background-image: linear-gradient(top, #555555, #574E4E); }
      .chrome-tabs .chrome-tab.chrome-tab-current .chrome-tab-curves .chrome-tab-curve-left-shadow1, .chrome-tabs .chrome-tab.chrome-tab-current .chrome-tab-curves .chrome-tab-curve-right-shadow1, .chrome-tabs .chrome-tab.chrome-tab-current .chrome-tab-curves .chrome-tab-curve-left-shadow2, .chrome-tabs .chrome-tab.chrome-tab-current .chrome-tab-curves .chrome-tab-curve-right-shadow2 {
        height: 25px; }
    .chrome-tabs .chrome-tab .chrome-tab-favicon {
      height: 16px;
      width: 16px;
      background-size: 16px;
      position: absolute;
      left: 9px;
      top: 5px;
      z-index: 3; }
      .cssmasks .chrome-tabs .chrome-tab .chrome-tab-favicon {
        left: -2px;
        top: 4px; }
    .chrome-tabs .chrome-tab .chrome-tab-title {
      color: #B3B3B3;
      padding: 5px 30px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap; }
      .cssmasks .chrome-tabs .chrome-tab .chrome-tab-title {
        padding: 5px 5px 5px 10px; }
    .chrome-tabs .chrome-tab .chrome-tab-close {
      position: absolute;
      top: 6px;
      right: 7px;
      width: 14px;
      height: 14px;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      -ms-border-radius: 50%;
      -o-border-radius: 50%;
      border-radius: 50%;
      z-index: 2; }
      .cssmasks .chrome-tabs .chrome-tab .chrome-tab-close {
        right: -6px;
        top: 5px; }
      .chrome-tabs .chrome-tab .chrome-tab-close:before {
        content: "\00D7";
        position: absolute;
        top: 0px;
        right: 0px;
        height: 14px;
        width: 14px;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -ms-border-radius: 50%;
        -o-border-radius: 50%;
        border-radius: 50%;
        text-align: center;
        font-size: 11px;
        line-height: 12px;
        color: #888888;
        text-shadow: 0 1px rgba(255, 255, 255, 0.3); }
      .chrome-tabs .chrome-tab .chrome-tab-close:hover:before, .chrome-tabs .chrome-tab .chrome-tab-close:active:before {
        -webkit-font-smoothing: antialiased;
        color: white;
        text-shadow: 0 1px #b9554c; }
      .chrome-tabs .chrome-tab .chrome-tab-close:hover, .chrome-tabs .chrome-tab .chrome-tab-close:active {
        -webkit-box-shadow: inset 0 0 0 1px #b9554c;
        -moz-box-shadow: inset 0 0 0 1px #b9554c;
        box-shadow: inset 0 0 0 1px #b9554c;
        background: #dd837b; }
      .chrome-tabs .chrome-tab .chrome-tab-close:active:before {
        -webkit-box-shadow: inset 0 0 0 1px #b9554c, inset 0 1px 3px #b9554c, inset 0 0 20px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: inset 0 0 0 1px #b9554c, inset 0 1px 3px #b9554c, inset 0 0 20px rgba(0, 0, 0, 0.1);
        box-shadow: inset 0 0 0 1px #b9554c, inset 0 1px 3px #b9554c, inset 0 0 20px rgba(0, 0, 0, 0.1); }


/* ------------------------------------------------------------------------------------------
 * Editor Search Form
 * --------------------------------------------------------------------------------------- */
 .ace_search {
    background-color: #ddd;
    border: 1px solid #cbcbcb;
    border-top: 0 none;
    max-width: 400px !important;
    overflow: hidden;
    margin: 0;
    padding: 4px;
    padding-right: 6px;
    padding-bottom: 0;
    position: absolute;
    top: 0px;
    z-index: 99;
    white-space: normal;
}
.ace_search.left {
    border-left: 0 none;
    border-radius: 0px 0px 5px 0px;
    left: 0;
}
.ace_search.right {
    border-radius: 0px 0px 0px 5px;
    border-right: 0 none;
    right: 0;
}

.ace_search_form, .ace_replace_form {
    border-radius: 3px;
    border: 1px solid #cbcbcb;
    float: left;
    margin-bottom: 4px;
    overflow: hidden;
    clear: left;
}
.ace_search_form.ace_nomatch {
    outline: 1px solid red;
}

.ace_search_field {
    background-color: white;
    border-right: 1px solid #cbcbcb;
    border: 0 none;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    display: block;
    float: left;
    height: 22px;
    outline: 0;
    padding: 0 7px;
    width: 214px;
    margin: 0;
    color: #000;
}
.ace_searchbtn,
.ace_replacebtn {
    background: #fff;
    border: 0 none;
    border-left: 1px solid #dcdcdc;
    cursor: pointer;
    display: block;
    float: left;
    height: 22px;
    margin: 0;
    padding: 2px 5px 2px 5px !important;
    position: relative;
    color: #404040;
}
.ace_searchbtn:last-child,
.ace_replacebtn:last-child {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}
.ace_searchbtn:disabled {
    background: none;
    cursor: default;
}
.ace_searchbtn {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    width: 27px;
}
.ace_searchbtn.prev {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADFJREFUeNpiSU1NZUAC/6E0I0yACYskCpsJiySKIiY0SUZk40FyTEgCjGgKwTRAgAEAQJUIPCE+qfkAAAAASUVORK5CYII=);
}
.ace_searchbtn.next {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUeNpiTE1NZQCC/0DMyIAKwGJMUAYDEo3M/s+EpvM/mkKwCQxYjIeLMaELoLMBAgwAU7UJObTKsvAAAAAASUVORK5CYII=);
}
.ace_searchbtn_close {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;
    border-radius: 50%;
    border: 0 none;
    color: #656565;
    cursor: pointer;
    display: block;
    float: right;
    font-family: Arial;
    font-size: 16px;
    height: 14px;
    line-height: 16px;
    margin: 5px 1px 9px 5px;
    padding: 0;
    text-align: center;
    width: 14px;
}
.ace_searchbtn_close:hover {
    background-color: #656565;
    background-position: 50% 100%;
    color: white;
}
.ace_replacebtn.prev {
    width: 54px
}
.ace_replacebtn.next {
    width: 27px
}

.ace_button {
    margin-left: 2px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow: hidden;
    opacity: 0.7;
    border: 1px solid rgba(100,100,100,0.23);
    padding: 1px;
    -moz-box-sizing: border-box;
    box-sizing:    border-box;
    color: black;
}

.ace_button:hover {
    background-color: #eee;
    opacity:1;
}
.ace_button:active {
    background-color: #ddd;
}

.ace_button.checked {
    border-color: #3399ff;
    opacity:1;
}

.ace_search_options{
    margin-bottom: 3px;
    text-align: right;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
