/* Silverstripe Customisation  */

.Actions input[type="submit"],
div.middleColumn textarea,
div.middleColumn select,
div.middleColumn input{
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
          transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

div.middleColumn {
  display: block;
  width: 100%;
  height: 34px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
}
.html5multiupload div.middleColumn,
.upload div.middleColumn,
textareadiv.middleColumn,
div.field.textarea div.middleColumn,
div.field.optionset div.middleColumn{
  height: auto;
}

div.field {
  margin-bottom: 15px;
}

input[type="submit"] {
  width: 100%;
}

div.middleColumn textarea {
	height: auto;
}
div.middleColumn select:focus,
div.middleColumn input:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
          box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}
div.middleColumn input::-moz-placeholder {
  color: #999;
  opacity: 1;
}
div.middleColumn input:-ms-input-placeholder {
  color: #999;
}
div.middleColumn input::-webkit-input-placeholder {
  color: #999;
}
div.middleColumn  input[disabled],
div.middleColumn input[readonly],
fieldset[disabled] div.middleColumn input{
  cursor: not-allowed;
  background-color: #eee;
  opacity: 1;
}

div.middleColumn input[type="checkbox"] {
    height: auto;
}

.confirmedpassword .middleColumn,
.optionset .middleColumn {
	height: auto;
}
.optionset .middleColumn li {
	display: block;
}
.optionset .middleColumn li input {
	width: 20px;
	float: left;
}

.optionset .middleColumn li label {
	width: 80%;
	float: left;
	line-height: 40px;
}

@font-face {
  font-family: 'Glyphicons Halflings';

  src: url('/bootstrap/fonts/glyphicons-halflings-regular.eot');
  src: url('/bootstrap/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('/bootstrap/fonts/glyphicons-halflings-regular.woff') format('woff'), url('/bootstrap/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('/bootstrap/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}


@media (min-width: 768px) {
  .form-inline div.field {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
  }
  .form-inline div.middleColumn {
    display: inline-block;
    width: auto;
    vertical-align: middle;
  }
  .form-inline .input-group > div.middleColumn {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .navbar-form div.field {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
  }
  .navbar-form div.middleColumn {
    display: inline-block;
    width: auto;
    vertical-align: middle;
  }
  .navbar-form .input-group > div.middleColumn {
    width: 100%;
  }
}

@media (max-width: 767px) {
	.navbar-form div.field {
		margin-bottom: 5px;
	}
}

.optionset .middleColumn li:before,
.optionset .middleColumn li:after,
.form-horizontal div.field:before,
.form-horizontal div.field:after {
	display: table;
	content: " ";
}
.optionset .middleColumn li:after,
.form-horizontal div.field:after {
	clear: both;
}


/*
	TABLES
*/

.typography table td,
.typography table th {
	background-color: #fff !important;
}
.typography table {
	border-collapse: collapse !important;
}
.typography table {
	width: 100%;
	margin-bottom: 20px;
}
.typography table > thead > tr > th,
.typography table > tbody > tr > th,
.typography table > tfoot > tr > th,
.typography table > thead > tr > td,
.typography table > tbody > tr > td,
.typography table > tfoot > tr > td {
	  padding: 8px;
	  line-height: 1.42857143;
	  vertical-align: top;
	  border-top: 1px solid #ddd;
}
.typography table > thead > tr > th {
	  vertical-align: bottom;
	  border-bottom: 2px solid #ddd;
}
.typography table > caption + thead > tr:first-child > th,
.typography table > colgroup + thead > tr:first-child > th,
.typography table > thead:first-child > tr:first-child > th,
.typography table > caption + thead > tr:first-child > td,
.typography table > colgroup + thead > tr:first-child > td,
.typography table > thead:first-child > tr:first-child > td {
	border-top: 0;
}
.typography table > tbody + tbody {
	border-top: 2px solid #ddd;
}
.typography table table {
	background-color: #fff;
}

.typography table > thead > tr > td.active,
.typography table > tbody > tr > td.active,
.typography table > tfoot > tr > td.active,
.typography table > thead > tr > th.active,
.typography table > tbody > tr > th.active,
.typography table > tfoot > tr > th.active,
.typography table > thead > tr.active > td,
.typography table > tbody > tr.active > td,
.typography table > tfoot > tr.active > td,
.typography table > thead > tr.active > th,
.typography table > tbody > tr.active > th,
.typography table > tfoot > tr.active > th {
	background-color: #f5f5f5;
}

.typography table > thead > tr > td.success,
.typography table > tbody > tr > td.success,
.typography table > tfoot > tr > td.success,
.typography table > thead > tr > th.success,
.typography table > tbody > tr > th.success,
.typography table > tfoot > tr > th.success,
.typography table > thead > tr.success > td,
.typography table > tbody > tr.success > td,
.typography table > tfoot > tr.success > td,
.typography table > thead > tr.success > th,
.typography table > tbody > tr.success > th,
.typography table > tfoot > tr.success > th {
	background-color: #dff0d8;
}

.typography table > thead > tr > td.warning,
.typography table > tbody > tr > td.warning,
.typography table > tfoot > tr > td.warning,
.typography table > thead > tr > th.warning,
.typography table > tbody > tr > th.warning,
.typography table > tfoot > tr > th.warning,
.typography table > thead > tr.warning > td,
.typography table > tbody > tr.warning > td,
.typography table > tfoot > tr.warning > td,
.typography table > thead > tr.warning > th,
.typography table > tbody > tr.warning > th,
.typography table > tfoot > tr.warning > th {
	background-color: #fcf8e3;
}
.typography table-hover > tbody > tr > td.warning:hover,
.typography table-hover > tbody > tr > th.warning:hover,
.typography table-hover > tbody > tr.warning:hover > td,
.typography table-hover > tbody > tr.warning:hover > th {
	background-color: #faf2cc;
}
.typography table > thead > tr > td.danger,
.typography table > tbody > tr > td.danger,
.typography table > tfoot > tr > td.danger,
.typography table > thead > tr > th.danger,
.typography table > tbody > tr > th.danger,
.typography table > tfoot > tr > th.danger,
.typography table > thead > tr.danger > td,
.typography table > tbody > tr.danger > td,
.typography table > tfoot > tr.danger > td,
.typography table > thead > tr.danger > th,
.typography table > tbody > tr.danger > th,
.typography table > tfoot > tr.danger > th {
	background-color: #f2dede;
}