/*
 * Copyright (C) 2013 - 2018, Logical Clocks AB and RISE SICS AB. All rights reserved
 *
 * 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.
 *
 */

html {
  background-color: #FFFFFF !important;
}
body {
  height: 100%;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  line-height: 1.52857;
  padding: 0;
  min-width: 1280px;
  width: 100%;
  margin: 0;
}

h2 {
  font-size: 1.5em;
}

.hw-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
}

button, html, input, select, textarea {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  line-height: 1.52857;
  padding: 0;
}

a:focus {
  outline: none;
}

.form-validate .form-control.ng-dirty.ng-valid, .form-validate .form-control.ng-dirty.ng-valid:focus {
  border-color: #27c24c;
}

.form-validate .form-control.ng-dirty.ng-invalid {
  border-color: #f05050;
}

.form-validate.ng-submitted.form-validate .form-control.ng-invalid {
  border-color: #f05050;
}

.panel {
  background-color: #fafafa;
  border: 1px solid transparent;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
  margin-bottom: 21px;
}
.panel.panel-filter {
  box-shadow:none;
  border-radius:0;
}

.panel-filter > .panel-heading {
  background-color: #2e353d;
  color: #fff;
  height: 43px;
  border-radius: 0;
}
.panel-filter > .panel-footer {
  background-color: #2e353d;
  color: #fff;
  height: 43px;
  padding: 0 20px 0 5px;
  border-radius: 0;
}
.panel-filter > .row {
  margin-left: 0px;
  margin-right: 0px;
}
.panel-heading {
  border-color: #cfdbe2;
  background-color: #3a3f51;		
  color: #fff;
  border-bottom: 0 none;
  font-size: 14px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  padding: 10px 15px;
}
.view-info .panel-heading a:after {
  font-family:'Glyphicons Halflings';
  content:"\e114";
  float: right;
  color: grey;
}
.view-info .panel-heading a.collapsed:after {
  content:"\e080";
}
.modal-header {
  background-color:  #2e353d;
  color: #ffffff;
}

.modal-header .close {
  margin-top: -2px;
  color: #fff;
  opacity: 0.5;
}

.modal-content {
  background-color: #fafafa;
}

.modal-dialog {
  min-width: 400px;
}

.modal-lg {
  min-width: 900px;
}

.modal-xlg {
  min-width: 99%;
}

/* Project list in home */
.pager {
  background-color: #2e353d;
  margin:0px;
}

.pager .disabled > a, .pager .disabled > a:focus, .pager .disabled > a:hover, .pager .disabled > span {
  background-color: inherit;
  border: 0 none;
  border-radius: 0;
  color: grey;
  cursor: not-allowed;
  padding-top: 10px;
}

.pager li > a, .pager li > span {
  background-color: inherit;
  color: #fff;
  border: 0px;
  border-radius: 0;
  display: inline-block;
  padding: 10px 14px;
}

.pager li > a:focus, .pager li > a:hover {
  background-color: inherit;
  font-weight: bolder;
}

.datasetList {
  /* disabled to use btn-primary style color instead */
  background-color: #e6e6e6;
  list-style-type:none;
  /* color:white; */
  /* text-indent: 15px; */
  color: #333;
  margin-top: 1px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.42857143;
  white-space: nowrap;
}

.datasetList > li {
  color: #333;
  padding: 1em;
}

.datasetList > li:hover {
  /* background-color: #2e353d; */
}

#deleteTemplateIcon{
  border-left: 3px solid white;
  height: 34px;
  margin-right: -6px;
  margin-top: -6px;
  padding-top: 11px;
  width: 38px;
}

p.filepreview {
  white-space: pre;
  overflow-x:auto;
}

div.scroll {
  border: 1px solid transparent;
  box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.25);
  height: 150px;
  overflow: auto;
  width: auto;
  resize: vertical;
}

#readme{
  background: white;
  height: 150px;
  overflow: auto;
  width: auto;
  resize: vertical;
}

#moreInfo {
  background: white;
}

div.scroll > ul {
  padding: 10px;
}

div.scroll > ul > li > textarea {
  padding: 10px;
}

.chrome-table {
  /* Ensures that tables in a dialog box are presented correctly in Chrome*/
  table-layout: fixed;
  word-wrap: break-word;
}

/* editable link (edit in place) style */
.editable-controls .editable-input { 
  color: #2e353d;
}

.glyphicon-info-sign {
  color: royalblue;
}

.md-input {
  display: block !important;
  width: 100% !important;
  height: 34px !important;
  padding: 6px 12px !important;
  font-size: 14px !important;
  line-height: 1.42857143 !important;
  color: #555 !important;
  background-color: #fff !important;
  background-image: none  !important;
  border: 1px solid #ccc  !important;
  border-radius: 4px !important;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s !important;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !important;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !important;
}
.md-input:focus {
  border-color: #66afe9 !important;
  outline: 0 !important;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6) !important;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6) !important;
}
.md-input.ng-invalid{
  border-color: #f05050 !important;
}
.md-input.ng-valid{
  border-color: #27c24c !important;
}

#announcement.show {
  margin-top: 0;
}
#announcement {
  background-color: #f0ad4e;
  margin-top: -51px;
  padding: 1em 0;
  transition: margin-top 0.25s ease 0s;
}
#announcement #announcement-text{
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  width: 100%;
}
#announcement p{
  margin: 0;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  line-height: 1.42857143;
}

.row-centered {
  text-align:center;
}
.col-centered {
  display:inline-block;
  float:none;
  /* reset the text-align */
  text-align:left;
  /* inline-block space fix */
  margin-right:-4px;
}

.disabled {
  cursor: not-allowed;
  opacity: .5;
  pointer-events: none;
}

.vtop {
  display: inline-block;
  vertical-align: top;
  float: none;
  font-size: 12px;
}

.vbottom {
  line-height: 1.2;
  display: inline-block;
  vertical-align: bottom;
  font-size: 14px;
}

#gettingStaredSection .btn-default { 
  color: #FFFFFF; 
  background-color: #4CAE4C; 
  border-color: #2E353D; 
} 

#gettingStaredSection .btn-default:hover, 
#gettingStaredSection .btn-default:focus, 
#gettingStaredSection .btn-default:active, 
#gettingStaredSection .btn-default.active, 
.open .dropdown-toggle.btn-default { 
  color: #FFFFFF; 
  background-color: #3A853A; 
  border-color: #2E353D; 
} 

#gettingStaredSection .btn-default:active, 
#gettingStaredSection .btn-default.active, 
.open .dropdown-toggle.btn-default { 
  background-image: none; 
} 

#gettingStaredSection .btn-default.disabled, 
#gettingStaredSection .btn-default[disabled], 
fieldset[disabled] .btn-default, 
#gettingStaredSection .btn-default.disabled:hover, 
#gettingStaredSection .btn-default[disabled]:hover, 
fieldset[disabled] .btn-default:hover, 
#gettingStaredSection .btn-default.disabled:focus, 
#gettingStaredSection .btn-default[disabled]:focus, 
fieldset[disabled] .btn-default:focus, 
#gettingStaredSection .btn-default.disabled:active, 
#gettingStaredSection .btn-default[disabled]:active, 
fieldset[disabled] .btn-default:active, 
#gettingStaredSection .btn-default.disabled.active, 
#gettingStaredSection .btn-default[disabled].active, 
fieldset[disabled] .btn-default.active { 
  background-color: #4CAE4C; 
  border-color: #2E353D; 
} 

#gettingStaredSection .btn-default .badge { 
  color: #4CAE4C; 
  background-color: #FFFFFF; 
}

#tourColumn .btn-danger { 
  color: #FFFFFF; 
  background-color: #BD1B1B; 
  border-color: #2E353D; 
} 

#tourColumn .btn-danger:hover, 
#tourColumn .btn-danger:focus, 
#tourColumn .btn-danger:active, 
#tourColumn .btn-danger.active, 
#tourColumn .open .dropdown-toggle.btn-danger { 
  color: #FFFFFF; 
  background-color: #7A242C; 
  border-color: #2E353D; 
} 

#tourColumn .btn-danger:active, 
#tourColumn .btn-danger.active, 
#tourColumn .open .dropdown-toggle.btn-danger { 
  background-image: none; 
} 

#tourColumn .btn-danger.disabled, 
#tourColumn .btn-danger[disabled], 
fieldset[disabled] #tourColumn .btn-danger, 
#tourColumn .btn-danger.disabled:hover, 
#tourColumn .btn-danger[disabled]:hover, 
fieldset[disabled] #tourColumn .btn-danger:hover, 
#tourColumn .btn-danger.disabled:focus, 
#tourColumn .btn-danger[disabled]:focus, 
fieldset[disabled] #tourColumn .btn-danger:focus, 
#tourColumn .btn-danger.disabled:active, 
#tourColumn .btn-danger[disabled]:active, 
fieldset[disabled] #tourColumn .btn-danger:active, 
#tourColumn .btn-danger.disabled.active, 
#tourColumn .btn-danger[disabled].active, 
fieldset[disabled] #tourColumn .btn-danger.active { 
  background-color: #BD1B1B; 
  border-color: #2E353D; 
} 

#tourColumn .btn-danger .badge { 
  color: #BD1B1B; 
  background-color: #FFFFFF; 
}

#gettingStaredSection{

  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}

.selectedTopicEven {
  background-color: #f0efd8; 
}
.selectedTopicOdd {
  background-color: #e8eae9; 
}

.top-buffer { margin-top:5px; }

.kafka-table {
    border-collapse: separate;
    border-spacing: 0 1em;
}

.kafka-consumergroups-buttons {
    padding: 3px;
}

.server-status {
  font-size: 14px;
  margin-top: 6px;
}
.server-connected {
  color: #00CC00;
}

.server-disconnected {
  color: rgba(240, 48, 0, 1);
  font-size: 12px !important;
  font-weight: bold !important;
}

.connected-space {
  margin-top: -10px;  
  margin-right: 40px;
}

.disconnected-space {
  margin-top: -10px;  
  margin-right: 25px;
}

div.cust .jslider div.jslider-bg i{
  background:url(../img/jslider.png) repeat
}

.list-group.panel > .list-group-item {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px
}

.list-group-submenu {
  margin-left:20px;
}

.strong { 
  font-weight: bold; 
}

.md-button.browser.newfolder {
  color: darkslategray;
}

td:focus {
  outline: none !important;
}

th:focus {
  outline: none !important;
}

tbody > tr > td {
  padding: 6px !important;
  vertical-align: middle !important;
}

md-input-container {
  margin-bottom: 0px !important;
}

.md-errors-spacer {
  min-height: 0px !important;
}

*:focus {
    outline: none;
}

.btn-group {
  display: flex;
}

.btn-toolbar {
  display: flex;
}

.fields-in-table {
  border-style: solid;
  border-top: 0px; 
  padding-left:10px;
  display: flex;
  flex-direction: column;
   max-height: 100px;
}

.form-control > a.select2-choice {
  margin-top: -4px;
  margin-right: -10px;
  margin-left: -10px;
}

.form-control > div.ui-select-dropdown {
  margin-left: -10px;
}

.form-control > span.multiSelect > button {
  margin-top: -10px;
  width: 100%;
}

.ui-select-multiple.ui-select-bootstrap{
  max-height: 100px; 
  overflow: auto;
}

.btn-huge{
    padding-top:10px;
    padding-bottom:10px;
}

.ui-select-bootstrap > .ui-select-match > .btn {
  height: 30px;
}

.interpreters-group {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
