/* 
 * clearfix     used project wide to clear floats and create a new formatting context
 * usage      @include clearfix-me(<empty|overflow|facebook|micro|stubborn>)
 * $clearfix-method sets default method
 */
/**
 * Convert px to em
 *
 * @param $elFontSize - the element font size in pixel e.g. you want to set margin on your text, 
 * and font size on your text is equivalent to 14px, then your context is 14px.
 *
 * @param $values - the values in pixel you want to convert. 
 * You can pass in an array of values. Each value separated by space.
 *
 * e.g. margin: pxToEm(16px 20px 20px 16px, 16px);
 * 
 */
/** 
 * Make elements into inline-block with IE7 fix. Use it only when you need to make a
 * block level element inline-block. Elements that are inline by default won't need the 
 * IE7 fix.
 * 
 * Usage            @extend %nlineBlockFix;
 * 
 */
/**
 * Convert font-size from px to rem with px fallback
 *
 * @param $size - the value in pixel you want to convert
 *
 * e.g. p {@include fontSize(12px);}
 * 
 */
/* Customise Bootstrap */
form {
  margin: 0;
}

.dropdown-menu {
  margin-top: 0;
  border-top: 0;
  border-color: #ddd;
  -webkit-box-shadow: rgba(102, 102, 102, 0.5) 0 5px 10px;
  -moz-box-shadow: rgba(102, 102, 102, 0.5) 0 5px 10px;
  box-shadow: rgba(102, 102, 102, 0.5) 0 5px 10px;
}

.dropdown-menu > li > a {
  padding: 3px 12px;
}

.nav-tabs .dropdown-menu {
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius: 0 0 4px 4px;
  -ms-border-radius: 0 0 4px 4px;
  -o-border-radius: 0 0 4px 4px;
  border-radius: 0 0 4px 4px;
}

.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
  border-color: #E7F2F6 #E7F2F6 #ddd;
  background-color: #E7F2F6;
}

.nav-tabs .open .dropdown-toggle,
.nav-pills .open .dropdown-toggle,
.nav > li.dropdown.open.active > a:hover,
.nav > li.dropdown.open.active > a:focus {
  background-color: #90bd39;
  border-color: #90bd39;
}

.nav > li > a:hover, .nav > li > a:focus {
  background-color: transparent;
}

.uneditable-input {
  white-space: pre;
}

/*.uneditable-input, .uneditable-textarea {
	line-height: 20px;
}*/
.btn {
  color: #2a7da7;
  font-weight: bold;
  font-size: 16px;
  font-size: 1rem;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn:hover {
  color: #2a7da7;
}

.btn-small {
  font-size: 12px;
  font-size: 0.75rem;
}

.btn-primary,
.btn-primary:hover {
  color: #fff;
}

label {
  display: inline;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
  border-color: #848484 #C1C1C1 #E1E1E1;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
select:hover,
textarea:hover,
input[type="text"]:hover,
input[type="password"]:hover,
input[type="datetime"]:hover,
input[type="datetime-local"]:hover,
input[type="date"]:hover,
input[type="month"]:hover,
input[type="time"]:hover,
input[type="week"]:hover,
input[type="number"]:hover,
input[type="email"]:hover,
input[type="url"]:hover,
input[type="search"]:hover,
input[type="tel"]:hover,
input[type="color"]:hover {
  border-color: #3399cc #8ebaf4 #8ebaf4;
}

input[readonly] {
  cursor: default;
}

select {
  line-height: inherit;
  width: auto;
}

.btn:hover {
  background-position: 0 top;
  background-image: none;
  transition: none;
}

.book:hover, .book:focus, .book:active, .book.active, .book.disabled, .book[disabled] {
  background: url("../Images/Site/btn.gif") no-repeat scroll left top transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.pagination ul {
  box-shadow: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  font-size: 16px;
  font-size: 1rem;
  font-weight: bold;
}

.pagination .prev,
.pagination .next {
  font-size: 13px;
  font-size: 0.8125rem;
  font-weight: normal;
}

.pagination ul > li > a,
.pagination ul > li > span {
  border: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
}

.pagination ul > li:last-child > a,
.pagination ul > li:last-child > span,
.pagination ul > li:first-child > a,
.pagination ul > li:first-child > span {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
}

.pagination ul > li > a:hover {
  color: #0574ac;
}

.pagination ul > .active > a,
.pagination ul > .active > a:hover,
.pagination ul > .active > span {
  color: #333;
}

.pagination ul > li > a:hover,
.pagination ul > .active > a,
.pagination ul > .active > span {
  background-color: transparent;
}

.tooltip-inner {
  white-space: pre-wrap;
}

input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
  background-color: transparent;
}
