/* overrides to default admin style */

a:active,
a:focus {
    outline: none;
}
.sidebar-nav {
    padding: 9px 0;
}

.form-group input[type=number] {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    height: 28px;
    border: 1px solid #cccccc;
}

.form-group input[type=text], input[type=email], input[type=password]  {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    height: 28px;
    border: 1px solid #cccccc;
}
.form-group select {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    border: 1px solid #cccccc;
}
.form-group textarea {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    border: 1px solid #cccccc;
}

.vTextField {
	 -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    border: 1px solid #cccccc;
}

.form-row select {
	 -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    border: 1px solid #cccccc;
}

.controls > p {
    padding-top: 5px;
}
.selector .selector-filter label {
    display: none;
}
.selector h2 {
    font-size: 100%;
    margin: 0;
}
.checkbox{
    padding-bottom: 5px;
}
.checkbox label {
    margin-bottom: -20px;
}
.checkbox .help-block {
    margin-top: 0;
}

fieldset.collapse {
    height: inherit;
}
.add-row {
    margin-bottom: 20px;
}
legend a:hover {
    text-decoration: none;
}

.wide label {
    width: auto !important;
}

/* change_list actions */
.actions select {
    margin-top: 5px;
}

/* change_list table display */
th.action-checkbox-column {
    width: 1.5em;
    text-align:center;
}

td.action-checkbox {
    text-align:center;
}

.tooltip.in {opacity: 1} /* Hard to see against black text otherwise */

#_changelist {clear: both;}

.scrollable-dropdown-menu {
    overflow-x: hidden;
    max-height: 322px;
}

.scrollable-dropdown-menu li form a {
    clear: both;
    color: #333;
    display: block;
    font-weight: normal;
    line-height: 1.42857;
    padding: 3px 20px;
    white-space: nowrap;
}

#content-main {
    clear: both;
}

@media (min-width: 768px) {
  .form-horizontal .control-label {
    text-align: left;
  }
}
@media (min-width: 970px) {
  .form-horizontal .control-label {
    text-align: right;
  }
}

/* bootstrap 3.2 change */
.checkbox input[type="checkbox"] {
    position: static;
    float: left;
    margin-left: 0px;
    margin-right: 5px;
}

/* Override by Fabio */
div.controls>input,
div.controls>select,
div.controls>a,
div.controls>span {
   vertical-align:sub;
}

select:focus,
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,
.uneditable-input:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}