/* forms */
form td .btn {margin-top:0;padding:3px 10px;}
label,.label {background:#eee;border:1px solid #eee;color:#000;float:left;display:block;line-height:20px;padding:4px 6px;text-shadow:1px 1px 1px rgba(44, 44, 44, 0.2);width:11em;
  -webkit-border-radius:4px;
     -moz-border-radius:4px;
          border-radius:4px;
margin-bottom:5px;font-size:14px;font-weight:normal;
}
.large-labels label, .large-labels .label {width:15em;}
body .half-labels label, body .half-labels .label {width:50%;}
.sub-label {clear:both;background:#ddd;}
.form-horizontal .content {display:block;margin-left:13em;padding:4px 6px;color:#666;}
.cur_focus {background:#fafafa;
  background-repeat:repeat-x; /* Repeat the gradient */
  background-image:-moz-linear-gradient(top, #fcfcfc 0%, #eee 100%); /* FF3.6+ */
  background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfcfc), color-stop(100%,#eee)); /* Chrome,Safari4+ */
  background-image:-webkit-linear-gradient(top, #fcfcfc 0%,#eee 100%); /* Chrome 10+,Safari 5.1+ */
  background-image:-ms-linear-gradient(top, #fcfcfc 0%,#eee 100%); /* IE10+ */
  background-image:-o-linear-gradient(top, #fcfcfc 0%,#eee 100%); /* Opera 11.10+ */
  filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#eee',GradientType=0 ); /* IE6-9 */
  background-image:linear-gradient(top, #fcfcfc 0%,#eee 100%); /* W3C */
}
.cur_focus td, /* {background:#dad;}*/
.table-striped tbody > tr.cur_focus:nth-child(2n+1) > td, .table-striped tbody > tr.cur_focus:nth-child(2n+1) > th {background:#ece;}

.cur_focus > label {box-shadow:-1px 0 2px rgba(0, 0, 0, 0.05) inset;text-shadow:-1px 1px 0 rgba(0, 0, 0, 0.2);border:1px solid #ccc;border-left:1px solid #eee;border-radius:0 5px 5px 0;}
.cur_focus.fields_list label {border-radius:5px;border-color:#ccc;box-shadow:0 0 2px rgba(0, 0, 0, 0.05) inset;}

input.success,select.success,textarea.success {border-color:#468847;}
input.error,select.error,textarea.error       {border-color:#B94A48;}
input.info,select.info,textarea.info          {border-color:#3A87AD;}
input.currency,.controls.input-prepend input.currency {text-align:right;width:4.5em;}
.controls.input-prepend input {width:auto;}
.controls.input-prepend .add-on {margin-left:1em;}
.form-horizontal .controls.input-prepend .add-on {
    margin: -1px 0 -1px -0.6em;
}
form .form-horizontal .controls.input-prepend .add-on {
    margin: 0 -5px 0 0;
}

.dropdown-menu a img{border:0 none;margin:0 0.5em 0.1em 0;vertical-align:middle;}
.navbar-inner {min-height:40px;}
input.disabled,select.disabled,textarea.disabled {background-color:#f5f5f5;border-color:#ddd;cursor:not-allowed;}
.container fieldset .control-group{border-bottom:1px solid #f2f2f2;border-top:1px solid #fff;margin-bottom:0;padding:10px 0 6px;}
.container fieldset .control-group .control-group.edit {clear:both;background:#eee;margin:-1px 0 0 .5em;padding-left:.5em;border-left:1px solid #ddd;border-right:1px solid #ddd}
.form-horizontal .alert-info {padding-left:32px;background:#D9EDF7 url('../img/icons/information.png') no-repeat 9px 9px;}
.form-horizontal .alert-info.no-image.no-image {padding-left:14px;background:#D9EDF7;}
.form-horizontal .alert-notice {padding-left:32px;background:#fcf8e3 url('../img/icons/error.png') no-repeat 9px 9px;}
.form-horizontal .topic-info {margin:-.7em 0 1em;padding: 8px 0 8px 22px;background:transparent url('../img/icons/information.png') no-repeat 0px 11px;}
.form-horizontal h3.topic-title {border-bottom: 1px solid #555;}

/* Bootstrap additions */
td .btn {margin:-5px 0;}
.modal-header,body .popover-title {background:#1FB25A;border-bottom:1px solid #ccc !important;color:#fff;
  -webkit-border-radius:4px 4px 0 0;
     -moz-border-radius:4px 4px 0 0;
          border-radius:4px 4px 0 0;}
.modal-header h3 {text-shadow:1px -1px 1px rgba(0, 0, 0, 0.5);}
.popover {padding:0;}
.popover-content {padding:10px 14px 0px 14px;}
.popover ol {counter-reset: item;margin-left: 0;padding-left: 0;}
.popover li {display: block;margin-bottom: .5em;margin-left: 2em;line-height:1em;}
.popover li:before {display: inline-block;content: counter(item) ". ";counter-increment: item;width: 2em;margin-left:-2.3em;color:#999;}

/* Bootstrap adjustments*/
fieldset {margin-bottom:18px;padding-top:18px;}
.form-horizontal .controls {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: inline-block;
    font-size: 1em;
    line-height: 2em;
    margin-left: 1em;
    padding: 0 0.5em;
}
form .form-horizontal .controls {
    background: transparent;
    position: relative;
    border: 0 none;
    padding: 0;
}
.form-horizontal legend {margin-bottom:0;}
.form-horizontal legend + .control-group {margin-top:0;}
.alert {margin:10px 0;}
.alert .label {text-transform:none;font-size:0.9em;text-shadow:none;}
legend img, h2 img, .btn img {margin-top:-3px;}

.navbar .nav > li > a {color:#fff;text-shadow:0 0 0 transparent;}
.navbar .nav > li > a:focus, .navbar .nav > li > a:hover {color:#fff;box-shadow:0 0 15px rgba(0, 0, 0, 0.2) inset;}
.navbar .nav li.dropdown.open > .dropdown-toggle, .navbar .nav li.dropdown.active > .dropdown-toggle, .navbar .nav li.dropdown.open.active > .dropdown-toggle,
.navbar .nav > li.active > a {background-color:#eee;box-shadow:0 0 5px rgba(0, 200, 0, 0.2) inset;color:#295;}
.navbar .nav > li.active > a:hover, .navbar .nav > li.active > a:focus {color:#060;box-shadow:0 0 4px rgba(0, 200, 0, 0.2) inset;}
.navbar .nav li.dropdown > a:hover .caret, .navbar .nav li.dropdown > a:focus .caret {border-bottom-color:#fff;border-top-color:#fff;}
.navbar .nav li.dropdown > .dropdown-toggle .caret {border-bottom-color:#eee;border-top-color:#eee;}
.navbar-inner {background:#1FB25A;}
.navbar-static-top .navbar-inner {box-shadow:0 1px 10px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.35) inset;}

/* fixing bootstrap bugs */
button.btn{vertical-align:top;}
th button.btn {vertical-align:bottom;}
table tr .text-right {text-align:right;}
.btn ul {text-align:left;}

/* modals */
pre.modal-body {background-color:transparent;border:0 none;font-size:11px;line-height:16px;}

/* display dropdowns on hover */
ul.nav li.dropdown:hover ul.dropdown-menu{display: block;}
.navbar .nav .dropdown-menu:before {width:400px;border:0 none !important;height:7px;margin-right:-15px;}

.nav.language-switch li a {padding:10px 5px;}
.nav.language-switch li:first-child a {padding:10px 5px 10px 15px;}
.nav.language-switch li:last-child a {padding:10px 15px 10px 5px;}
.nav.language-switch .active > img {background:#1acc61;margin:-2px -4px;padding:2px 4px;}
/* Own styles */
h1, h1 a {color:#1FB25A;}
h1 a:hover {color:#185;}
th.actions {min-width:61px;}
td.center {text-align:center;}
.footer{margin-top:45px;min-height:130px;background:#ccc;}
.footer img {float:left;}
.footer p {float: left;padding:78px 20px 0;}
.footer a, .footer {color: #fff;}

.section {padding-top:40px;}
.section-header {margin:0 0 18px 0;border-bottom:1px solid #eee;}
#content,#content p,#content li {line-height:22px;}
#content code {padding:1px 4px;}
#content code, #content .alert {line-height:18px;}

.header h1 {color:#444;line-height:28px;font-size:28px;text-shadow:-1px 1px 0 #ccc;}
#logo a, #logo {
    display:inline-block;margin:4px auto 0;
    font-size: 48px;font-weight: 400;color:#333;text-shadow:-1px 1px 1px #ccc;text-transform:uppercase;letter-spacing:5px;
}
#logo span {font-weight:800;letter-spacing:10px;}
#content .header {
    background: #1eb25a;
    color: #fff;
}

/* dev styling */
body.dev {
    background: #eee;
}
body.dev > .container {
    background: #fff;
    padding: 0 20px;
    box-shadow: 0 0 4px rgba(0,0,0,.3);;
}
.dev .navbar-inner {background: #1f94b2;}
.dev .header h1, .dev #logo a {color:#1f94b2;}
#logo span.dev-text {
    letter-spacing: -5px;
    color: #c00;
    margin: 0 -1px 0 -19px;
    border-radius: 30px;
    border: 2px solid #c00;
    padding: 0px 13px 0 7px;
    box-shadow: 1px 1px 3px rgba(0,0,0,.2);
    background: #fee;
}
.dev .navbar .nav li.dropdown.open > .dropdown-toggle,
.dev .navbar .nav li.dropdown.active > .dropdown-toggle,
.dev .navbar .nav li.dropdown.open.active > .dropdown-toggle,
.dev .navbar .nav > li.active > a {
    background-color: #ffa64f;
    box-shadow: 0 0 5px rgba(31, 148, 178, .5) inset;
    color: #555;
    text-shadow: 0 0 3px #fff;
}
.dev .dropdown-menu > .active > a, .dev .dropdown-menu > .active > a:hover, .dev .dropdown-menu > .active > a:focus {
    background: #1f94b2;
}
.dev .footer {
    margin: 45px -20px 0;
    padding: 0 20px;
    background: #1f94b2;
}
.dev #content .header {
    background: #1f94b2;
    color: #fff;
}
/* end dev styling */

a.todo {color:#f00;}
.optional a.todo {color:#777;}

.progress {
  background:#888;
  background-image:-moz-linear-gradient(top, #bbb 0%, #555 100%);
  background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#bbb), color-stop(100%,#555));
  background-image:-webkit-linear-gradient(top,#bbb 0%, #555 100%);
  background-image:-ms-linear-gradient(top, #bbb 0%, #555 100%);
  background-image:-o-linear-gradient(top, #bbb 0%, #555 100%);
  background-image:linear-gradient(top, #bbb 0%, #555 100%);
  margin-bottom:7px;
}
td .progress {margin-bottom:0;}
.pre-progress {float:left;margin-right:10px;}
.bar {text-indent:0.5em;}
img.no-image {opacity:0.3;padding-top:2px;}

#client_links {float:right;list-style:none;}
#client_links li {float:left;display:inline-block;}
#client_links a {line-height:40px;border-left:1px solid #2a5;padding:0 5px;display:block;height:40px;margin-top:1px;}
#client_links .active > a {color:#777;background:#ddd;}
.subnav-fixed #client_links a {height:44px;line-height:44px;margin:-2px 0;}

.subnav-fixed {position:fixed;top:40px;left:0;right:0;z-index:999;
  background:#eee;
  background-image:-moz-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
  background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#e5e5e5));
  background-image:-webkit-linear-gradient(top,#f5f5f5 0%, #e5e5e5 100%);
  background-image:-ms-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
  background-image:-o-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
  background-image:linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
    -webkit-box-shadow:0 1px 5px rgba(0,0,0,.3);
       -moz-box-shadow:0 1px 5px rgba(0,0,0,.3);
            box-shadow:0 1px 5px rgba(0,0,0,.3);
}
.subnav-fixed.solo {top:0;}
.subnav-fixed h2, .subnav-fixed ul {margin:0 auto;}
.subnav-fixed .wrapper {margin:2px auto;width:auto;}
@media (min-width: 1200px) {
  .subnav-fixed .wrapper {width:1170px;}
}
@media (min-width: 980px) and (max-width: 1199px) {
  .subnav-fixed .wrapper {width:940px;}
}
@media (min-width: 768px) and (max-width: 979px) {
  .subnav-fixed .wrapper {width:724px;}
}
@media (max-width: 767px) {
  .language-switch {visibility:hidden;}
}


/* Debug */
pre.debug {border:0 none;padding:5px;background:#eee;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow: 0 0 3px #f55;
  -webkit-box-shadow: 0 0 3px #f55;
  box-shadow: 0 0 3px #f55;
}
pre.debug * {font-family: Courier New,monospace;font-size: 12px;}
pre.debug code {color:#606;}
pre.debug code small {color:#333;}
div.kohana table.profiler {width:100%;border-radius:5px 5px 0 0;margin:0 auto 2em;}
.kohana {font-size:0.7em;margin:30px auto 0;}
.kohana table.profiler tr.final th.name,.kohana table.profiler tr.group th {background:#333}
.profiler tr.group th.name {border-radius:5px 0 0 0;}
.kohana table.profiler tr.group td.time {border-radius: 0 5px 0 0;}
.kohana table.profiler th, .kohana table.profiler td,.kohana table.profiler tr.group th {border-top:transparent !important;}

#chart_tooltip {
    background: none repeat scroll 0 0 #222222;
    border: 0 none;
    border-radius: 5px;
    box-shadow: 1px 2px 3px #555555;
    color: #FFFFFF;
    display: none;
    opacity: 0.8;
    padding: 2px 5px;
    position: absolute;
    text-shadow: 2px 2px 2px #000000;
}
#chart_tooltip strong {
    border-radius: 5px 5px 0 0;
    color: #111111;
    display: block;
    margin: -2px -5px 2px;
    padding: 5px 5px 4px;
    text-shadow: 0 1px 1px #FFEE99;
    background: -moz-linear-gradient(center bottom , #060 0%, #1FB25A 51%, #1FB25A 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    background: #090;
}

form .minicolor-hidden .minicolors-swatch {height:28px;border-radius:4px;}
.minicolor-hidden .minicolors-swatch-color {border-radius:4px;}

/* MUI */
.btn {
  white-space: nowrap;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: box-shadow 0.2s ease-out 0s;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
}
.btn:not(:disabled):hover, .btn:not(:disabled):focus {
    box-shadow: 1px 3px 4px 0 rgba(0, 0, 0, 0.2), 1px 2px 4px 0 rgba(0, 0, 0, 0.1);
}
.btn:not(:disabled):active {
    box-shadow: 1px 3px 4px 0 rgba(0, 0, 0, 0.25);
}

.control-group label {
    transition: all 300ms ease-out 50ms;
}
.cur_focus {
    background:#eee;
}
.container fieldset .control-group .cur_focus.control-group {
    background:#ddd;
}
.cur_focus > label, .cur_focus > .label {
    box-shadow:0 0 0 transparent;
    text-shadow:0 0 0 transparent;
    border-bottom:1px solid #1FB25A;
    color: #fff;
}
.cur_focus .input-append .add-on, .cur_focus .input-prepend .add-on {
    border-color: #1FB25A;
    color: #096B30;
    background: #dedede;
}
.bicycle label,.bicycle .label, label, .label {
    transition: all 300ms ease-out 50ms;
}
.bicycle .cur_focus > label,.bicycle .cur_focus > .label, .cur_focus > label, .cur_focus > .label {
    background: #1FB25A;
    border-left-width: 1px;
}
.cur_focus.fields_list label {box-shadow:0 0 0 transparent;}
.container fieldset .control-group {border-color:#ddd;}
.container fieldset .control-group .sub-fields .control-group {border-top: 1px solid #ddd;border-bottom:0px none;}
.container fieldset .control-group .sub-fields .control-group:first-child {border-top:0 none;}
.container fieldset .control-group .sub-fields {background:#eee;margin:5px 0 5px .5em;overflow:hidden;border-radius:.5em 0 0 .5em;padding-left:.5em;border:1px solid #ddd;}
.container fieldset .control-group .subsub-fields {background:#f3f3f3;margin:10px 0.5em;border-radius:.5em 0 0 .5em;padding-left:.5em;border:1px solid #ccc;}

input#package_search:focus {
  border-width:1px;
  margin-bottom:0px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(255,255,255,.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(255,255,255,.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(255,255,255,.6);
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
select:focus,
.uneditable-input:focus,
.cur_focus .input-append .add-on, .cur_focus .input-prepend .add-on {
  border-bottom:4px solid #1FB25A;
  margin-bottom: -3px;
  box-shadow: 0 0 0 transparent;
  transition: border linear .2s, box-shadow linear .2s;
}
.control-group.cur_focus > label {
    transform: scale(1.2) perspective( 150px ) rotateY( 35deg ); /* translate3d(40px, 0, 0);*/
    transition: all 300ms ease-out 50ms;
}
.half-labels .control-group.cur_focus > label {
    transform: scale(1.05); /* translate3d(40px, 0, 0);*/
    transition: all 300ms ease-out 50ms;
}
.cur_focus > label, .cur_focus > .label {
    box-shadow:0 0 0 transparent;
    text-shadow:0 0 0 transparent;
    border-bottom:1px solid #1FB25A;
    color: #fff;
}
table.table-striped tr td.complete {
    background-color: #dff0d8;
}
table.table-striped tr:nth-child(odd) > td.complete {
    background-color: #c7eab9;
}
table.table-striped tr td.incomplete {
    background-color: #faa;
}
table.table-striped tr:nth-child(odd) > td.incomplete {
    background-color: #e99;
}

.well.nothing {
    border: 4px solid #f66;
    color: #f44;
    font-weight: bold;
    background-color: #fee;
}

#cssEditor-ace,
#cssEditor-ace--scss,
#cssEditor-ace--scss-variables,
#cssEditor-ace--scss-stylefix{
    height: 500px;
    margin-left: -1em;
    width: 1156px;
}