/*! 
 * Bootstrap v2.1.1
0 *
 * Copyright 2012 Twitter, Inc
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Designed and built with all the love in the world @twitter by @mdo and @fat.
 */

#mg-wrapper article,
#mg-wrapper aside,
#mg-wrapper details,
#mg-wrapper figcaption,
#mg-wrapper figure,
#mg-wrapper footer,
#mg-wrapper header,
#mg-wrapper hgroup,
#mg-wrapper section {
  display: block;
}

#mg-wrapper audio,
#mg-wrapper canvas,
#mg-wrapper video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}


#mg-wrapper a:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

#mg-wrapper a:hover,
#mg-wrapper a:active {
  outline: 0;
}

#mg-wrapper sub,
#mg-wrapper sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

#mg-wrapper sup {
  top: -0.5em;
}

#mg-wrapper sub {
  bottom: -0.25em;
}

#mg-wrapper img {
  width: auto\9;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
  border: 0;
  -ms-interpolation-mode: bicubic;
}


#mg-wrapper button,
#mg-wrapper input,
#mg-wrapper textarea {
  margin: 0;
  font-size: 100%;
  vertical-align: middle;
}

#mg-wrapper button,
#mg-wrapper input {
  *overflow: visible;
  line-height: normal;
}

#mg-wrapper button::-moz-focus-inner,
#mg-wrapper input::-moz-focus-inner {
  padding: 0;
  border: 0;
}

#mg-wrapper button,
#mg-wrapper input[type="button"],
#mg-wrapper input[type="reset"],
#mg-wrapper input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}

#mg-wrapper input[type="search"] {
  -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
          box-sizing: content-box;
  -webkit-appearance: textfield;
}

#mg-wrapper input[type="search"]::-webkit-search-decoration,
#mg-wrapper input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

#mg-wrapper textarea {
  overflow: auto;
  vertical-align: top;
}

#mg-wrapper .clearfix {
  *zoom: 1;
}

#mg-wrapper .clearfix:before,
#mg-wrapper .clearfix:after {
  display: table;
  line-height: 0;
  content: "";
}

#mg-wrapper .clearfix:after {
  clear: both;
}

#mg-wrapper .hide-text {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

#mg-wrapper .input-block-level {
  display: block;
  width: 100%;
  min-height: 30px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}


#mg-wrapper .img-rounded {
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
}

#mg-wrapper .img-polaroid {
  padding: 4px;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
     -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#mg-wrapper .img-circle {
  -webkit-border-radius: 500px;
     -moz-border-radius: 500px;
          border-radius: 500px;
}

#mg-wrapper .row {
  margin-left: -20px;
  *zoom: 1;
}

#mg-wrapper .row:before,
#mg-wrapper .row:after {
  display: table;
  line-height: 0;
  content: "";
}

#mg-wrapper .row:after {
  clear: both;
}

#mg-wrapper [class*="span"] {
  float: left;
  min-height: 1px;
  margin-left: 20px;
}

#mg-wrapper .span12 {
  width: 940px;
}

#mg-wrapper .span11 {
  width: 860px;
}

#mg-wrapper .span10 {
  width: 780px;
}

#mg-wrapper .span9 {
  width: 700px;
}

#mg-wrapper .span8 {
  width: 620px;
}

#mg-wrapper .span7 {
  width: 540px;
}

#mg-wrapper .span6 {
  width: 460px;
}

#mg-wrapper .span5 {
  width: 380px;
}

#mg-wrapper .span4 {
  width: 300px;
}

#mg-wrapper .span3 {
  width: 220px;
}

#mg-wrapper .span2 {
  width: 140px;
}

#mg-wrapper .span1 {
  width: 60px;
}

#mg-wrapper .offset12 {
  margin-left: 980px;
}

#mg-wrapper .offset11 {
  margin-left: 900px;
}

#mg-wrapper .offset10 {
  margin-left: 820px;
}

#mg-wrapper .offset9 {
  margin-left: 740px;
}

#mg-wrapper .offset8 {
  margin-left: 660px;
}

#mg-wrapper .offset7 {
  margin-left: 580px;
}

#mg-wrapper .offset6 {
  margin-left: 500px;
}

#mg-wrapper .offset5 {
  margin-left: 420px;
}

#mg-wrapper .offset4 {
  margin-left: 340px;
}

#mg-wrapper .offset3 {
  margin-left: 260px;
}

#mg-wrapper .offset2 {
  margin-left: 180px;
}

#mg-wrapper .offset1 {
  margin-left: 100px;
}

#mg-wrapper .row-fluid {
  width: 100%;
  *zoom: 1;
}

#mg-wrapper .row-fluid:before,
#mg-wrapper .row-fluid:after {
  display: table;
  line-height: 0;
  content: "";
}

#mg-wrapper .row-fluid:after {
  clear: both;
}

#mg-wrapper .row-fluid [class*="span"] {
  display: block;
  float: left;
  width: 100%;
  min-height: 30px;
  margin-left: 2.127659574468085%;
  *margin-left: 2.074468085106383%;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

#mg-wrapper .row-fluid [class*="span"]:first-child {
  margin-left: 0;
}

#mg-wrapper .row-fluid .span12 {
  width: 100%;
  *width: 99.94680851063829%;
}

#mg-wrapper .row-fluid .span11 {
  width: 91.48936170212765%;
  *width: 91.43617021276594%;
}

#mg-wrapper .row-fluid .span10 {
  width: 82.97872340425532%;
  *width: 82.92553191489361%;
}

#mg-wrapper .row-fluid .span9 {
  width: 74.46808510638297%;
  *width: 74.41489361702126%;
}

#mg-wrapper .row-fluid .span8 {
  width: 65.95744680851064%;
  *width: 65.90425531914893%;
}

#mg-wrapper .row-fluid .span7 {
  width: 57.44680851063829%;
  *width: 57.39361702127659%;
}

#mg-wrapper .row-fluid .span6 {
  width: 48.93617021276595%;
  *width: 48.88297872340425%;
}

#mg-wrapper .row-fluid .span5 {
  width: 40.42553191489362%;
  *width: 40.37234042553192%;
}

#mg-wrapper .row-fluid .span4 {
  width: 31.914893617021278%;
  *width: 31.861702127659576%;
}

#mg-wrapper .row-fluid .span3 {
  width: 23.404255319148934%;
  *width: 23.351063829787233%;
}

#mg-wrapper .row-fluid .span2 {
  width: 14.893617021276595%;
  *width: 14.840425531914894%;
}

#mg-wrapper .row-fluid .span1 {
  width: 6.382978723404255%;
  *width: 6.329787234042553%;
}

#mg-wrapper .row-fluid .offset12 {
  margin-left: 104.25531914893617%;
  *margin-left: 104.14893617021275%;
}

#mg-wrapper .row-fluid .offset12:first-child {
  margin-left: 102.12765957446808%;
  *margin-left: 102.02127659574467%;
}

#mg-wrapper .row-fluid .offset11 {
  margin-left: 95.74468085106382%;
  *margin-left: 95.6382978723404%;
}

#mg-wrapper .row-fluid .offset11:first-child {
  margin-left: 93.61702127659574%;
  *margin-left: 93.51063829787232%;
}

#mg-wrapper .row-fluid .offset10 {
  margin-left: 87.23404255319149%;
  *margin-left: 87.12765957446807%;
}

#mg-wrapper .row-fluid .offset10:first-child {
  margin-left: 85.1063829787234%;
  *margin-left: 84.99999999999999%;
}

#mg-wrapper .row-fluid .offset9 {
  margin-left: 78.72340425531914%;
  *margin-left: 78.61702127659572%;
}

#mg-wrapper .row-fluid .offset9:first-child {
  margin-left: 76.59574468085106%;
  *margin-left: 76.48936170212764%;
}

#mg-wrapper .row-fluid .offset8 {
  margin-left: 70.2127659574468%;
  *margin-left: 70.10638297872339%;
}

#mg-wrapper .row-fluid .offset8:first-child {
  margin-left: 68.08510638297872%;
  *margin-left: 67.9787234042553%;
}

#mg-wrapper .row-fluid .offset7 {
  margin-left: 61.70212765957446%;
  *margin-left: 61.59574468085106%;
}

#mg-wrapper .row-fluid .offset7:first-child {
  margin-left: 59.574468085106375%;
  *margin-left: 59.46808510638297%;
}

#mg-wrapper .row-fluid .offset6 {
  margin-left: 53.191489361702125%;
  *margin-left: 53.085106382978715%;
}

#mg-wrapper .row-fluid .offset6:first-child {
  margin-left: 51.063829787234035%;
  *margin-left: 50.95744680851063%;
}

#mg-wrapper .row-fluid .offset5 {
  margin-left: 44.68085106382979%;
  *margin-left: 44.57446808510638%;
}

#mg-wrapper .row-fluid .offset5:first-child {
  margin-left: 42.5531914893617%;
  *margin-left: 42.4468085106383%;
}

#mg-wrapper .row-fluid .offset4 {
  margin-left: 36.170212765957444%;
  *margin-left: 36.06382978723405%;
}

#mg-wrapper .row-fluid .offset4:first-child {
  margin-left: 34.04255319148936%;
  *margin-left: 33.93617021276596%;
}

#mg-wrapper .row-fluid .offset3 {
  margin-left: 27.659574468085104%;
  *margin-left: 27.5531914893617%;
}

#mg-wrapper .row-fluid .offset3:first-child {
  margin-left: 25.53191489361702%;
  *margin-left: 25.425531914893618%;
}

#mg-wrapper .row-fluid .offset2 {
  margin-left: 19.148936170212764%;
  *margin-left: 19.04255319148936%;
}

#mg-wrapper .row-fluid .offset2:first-child {
  margin-left: 17.02127659574468%;
  *margin-left: 16.914893617021278%;
}

#mg-wrapper .row-fluid .offset1 {
  margin-left: 10.638297872340425%;
  *margin-left: 10.53191489361702%;
}

#mg-wrapper .row-fluid .offset1:first-child {
  margin-left: 8.51063829787234%;
  *margin-left: 8.404255319148938%;
}

#mg-wrapper [class*="span"].hide,
#mg-wrapper .row-fluid [class*="span"].hide {
  display: none;
}

#mg-wrapper [class*="span"].pull-right,
#mg-wrapper .row-fluid [class*="span"].pull-right {
  float: right;
}

#mg-wrapper .container {
  margin-right: auto;
  margin-left: auto;
  *zoom: 1;
}

#mg-wrapper .container:before,
#mg-wrapper .container:after {
  display: table;
  line-height: 0;
  content: "";
}

#mg-wrapper .container:after {
  clear: both;
}

#mg-wrapper .container-fluid {
  padding-right: 20px;
  padding-left: 20px;
  *zoom: 1;
}

#mg-wrapper .container-fluid:before,
#mg-wrapper .container-fluid:after {
  display: table;
  line-height: 0;
  content: "";
}

#mg-wrapper .container-fluid:after {
  clear: both;
}

#mg-wrapper p {
  margin: 0 0 10px;
}

#mg-wrapper .lead {
  margin-bottom: 20px;
  font-size: 21px;
  font-weight: 200;
  line-height: 30px;
}

#mg-wrapper small {
  font-size: 85%;
}

#mg-wrapper strong {
  font-weight: bold;
}

#mg-wrapper em {
  font-style: italic;
}

#mg-wrapper cite {
  font-style: normal;
}
#mg-wrapper .text-warning {
  color: #c09853;
}

#mg-wrapper .text-error {
  color: #b94a48;
}

#mg-wrapper .text-info {
  color: #3a87ad;
}

#mg-wrapper .text-success {
  color: #468847;
}

#mg-wrapper h1,
h2,#mg-wrapper 
h3,#mg-wrapper 
h4,#mg-wrapper 
h5,#mg-wrapper 
#mg-wrapper h6 {
  margin: 0;
  font-family: inherit;
  font-weight: bold;
  line-height: 1;
  color: inherit;
  text-rendering: optimizelegibility;
}

#mg-wrapper h1 small,#mg-wrapper 
h2 small,#mg-wrapper 
h3 small,#mg-wrapper 
h4 small,#mg-wrapper 
h5 small,#mg-wrapper 
#mg-wrapper h6 small {
  font-weight: normal;
  line-height: 1;
  color: #999999;
}


#mg-wrapper .page-header {
  padding-bottom: 9px;
  margin: 20px 0 30px;
  border-bottom: 1px solid #eeeeee;
}

#mg-wrapper ul,#mg-wrapper 
#mg-wrapper ol {
  padding: 0;
  margin: 0 0 10px 25px;
}

#mg-wrapper ul ul,#mg-wrapper 
ul ol,#mg-wrapper 
ol ol,#mg-wrapper 
#mg-wrapper ol ul {
  margin-bottom: 0;
}

#mg-wrapper li {
  line-height: 20px;
}

#mg-wrapper ul.unstyled,
#mg-wrapper ol.unstyled {
  margin-left: 0;
  list-style: none;
}

#mg-wrapper dl {
  margin-bottom: 20px;
}

#mg-wrapper dt,
#mg-wrapper dd {
  line-height: 20px;
}

#mg-wrapper dt {
  font-weight: bold;
}

#mg-wrapper dd {
  margin-left: 10px;
}

#mg-wrapper .dl-horizontal {
  *zoom: 1;
}

#mg-wrapper .dl-horizontal:before,
#mg-wrapper .dl-horizontal:after {
  display: table;
  line-height: 0;
  content: "";
}

#mg-wrapper .dl-horizontal:after {
  clear: both;
}

#mg-wrapper .dl-horizontal dt {
  float: left;
  width: 160px;
  overflow: hidden;
  clear: left;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#mg-wrapper .dl-horizontal dd {
  margin-left: 180px;
}

#mg-wrapper hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #ffffff;
}

#mg-wrapper blockquote {
  padding: 0 0 0 15px;
  margin: 0 0 20px;
  border-left: 5px solid #eeeeee;
}

#mg-wrapper blockquote p {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
}

#mg-wrapper blockquote small {
  display: block;
  line-height: 20px;
  color: #999999;
}

#mg-wrapper blockquote small:before {
  content: '\2014 \00A0';
}

#mg-wrapper blockquote.pull-right {
  float: right;
  padding-right: 15px;
  padding-left: 0;
  border-right: 5px solid #eeeeee;
  border-left: 0;
}

#mg-wrapper blockquote.pull-right p,
#mg-wrapper blockquote.pull-right small {
  text-align: right;
}

#mg-wrapper blockquote.pull-right small:before {
  content: '';
}

#mg-wrapper blockquote.pull-right small:after {
  content: '\00A0 \2014';
}

#mg-wrapper q:before,
#mg-wrapper q:after,
#mg-wrapper blockquote:before,
#mg-wrapper blockquote:after {
  content: "";
}

#mg-wrapper address {
  display: block;
  margin-bottom: 20px;
  font-style: normal;
  line-height: 20px;
}

#mg-wrapper code,
#mg-wrapper pre {
  padding: 0 3px 2px;
  font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
  font-size: 12px;
  color: #333333;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
}

#mg-wrapper code {
  padding: 2px 4px;
  background-color: #fff;
}

#mg-wrapper pre {
  display: block;
  padding: 9.5px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 20px;
  word-break: break-all;
  word-wrap: break-word;
  white-space: pre;
  white-space: pre-wrap;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
}

#mg-wrapper pre.prettyprint {
  margin-bottom: 20px;
}

#mg-wrapper pre code {
  padding: 0;
  color: inherit;
  background-color: transparent;
  border: 0;
}

#mg-wrapper .pre-scrollable {
  max-height: 340px;
  overflow-y: scroll;
}

#mg-wrapper form {
  margin: 0 0 20px;
}

#mg-wrapper fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

#mg-wrapper legend {
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 20px;
  font-size: 21px;
  line-height: 40px;
  color: #333333;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
}

#mg-wrapper legend small {
  font-size: 15px;
  color: #999999;
}

#mg-wrapper label,
#mg-wrapper input,
#mg-wrapper button,
#mg-wrapper textarea {
  font-weight: normal;
  line-height: 20px;
}


#mg-wrapper label {
  /*display: block;*/
  margin-bottom: 5px;
}

#mg-wrapper 
textarea,#mg-wrapper 
input[type="text"],#mg-wrapper 
input[type="password"],#mg-wrapper 
input[type="datetime"],#mg-wrapper 
input[type="datetime-local"],#mg-wrapper 
input[type="date"],#mg-wrapper 
input[type="month"],#mg-wrapper 
input[type="time"],#mg-wrapper 
input[type="week"],#mg-wrapper 
input[type="number"],#mg-wrapper 
input[type="email"],#mg-wrapper 
input[type="url"],#mg-wrapper 
input[type="search"],#mg-wrapper 
input[type="tel"],#mg-wrapper 
input[type="color"],#mg-wrapper 
#mg-wrapper .uneditable-input {
  display: inline-block;
  height: 24px;
  padding: 4px 6px;
  margin-bottom: 9px;
  line-height: 20px;
  color: #555555;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
}

#mg-wrapper input,#mg-wrapper 
textarea,#mg-wrapper 
#mg-wrapper .uneditable-input {
  width: 290px;
}

#mg-wrapper textarea {
  height: auto;
}

#mg-wrapper textarea,#mg-wrapper 
input[type="text"],#mg-wrapper 
input[type="password"],#mg-wrapper 
input[type="datetime"],#mg-wrapper 
input[type="datetime-local"],#mg-wrapper 
input[type="date"],#mg-wrapper 
input[type="month"],#mg-wrapper 
input[type="time"],#mg-wrapper 
input[type="week"],#mg-wrapper 
input[type="number"],#mg-wrapper 
input[type="email"],#mg-wrapper 
input[type="url"],#mg-wrapper 
input[type="search"],#mg-wrapper 
input[type="tel"],#mg-wrapper 
input[type="color"],#mg-wrapper 
#mg-wrapper .uneditable-input {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
     -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
       -o-transition: border linear 0.2s, box-shadow linear 0.2s;
          transition: border linear 0.2s, box-shadow linear 0.2s;
}

#mg-wrapper textarea:focus,
input[type="text"]:focus,#mg-wrapper 
input[type="password"]:focus,#mg-wrapper 
input[type="datetime"]:focus,#mg-wrapper 
input[type="datetime-local"]:focus,#mg-wrapper 
input[type="date"]:focus,#mg-wrapper 
input[type="month"]:focus,#mg-wrapper 
input[type="time"]:focus,#mg-wrapper 
input[type="week"]:focus,#mg-wrapper 
input[type="number"]:focus,#mg-wrapper 
input[type="email"]:focus,#mg-wrapper 
input[type="url"]:focus,#mg-wrapper 
input[type="search"]:focus,#mg-wrapper 
input[type="tel"]:focus,#mg-wrapper 
input[type="color"]:focus,#mg-wrapper 
#mg-wrapper .uneditable-input:focus {
  color: #296dcb;
  border-color: rgba(57, 113, 191, 0.6);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */

  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 5px rgba(57, 113, 191, 0.4);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 5px rgba(57, 113, 191, 0.4);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 5px rgba(57, 113, 191, 0.4);
}

#mg-wrapper input[type="radio"],
#mg-wrapper input[type="checkbox"] {
  margin: 4px 0 0;
  margin-top: 1px \9;
  *margin-top: 0;
  line-height: normal;
  cursor: pointer;
}

input[type="file"],#mg-wrapper 
input[type="image"],#mg-wrapper 
input[type="submit"],#mg-wrapper 
input[type="reset"],#mg-wrapper 
input[type="button"],#mg-wrapper 
input[type="radio"],#mg-wrapper 
#mg-wrapper input[type="checkbox"] {
  width: auto;
}

#mg-wrapper 
#mg-wrapper input[type="file"] {
  height: 34px;
  /* In IE7,#mg-wrapper  the height of the select element cannot be changed by height, only font-size */

  *margin-top: 4px;
  /* For IE7, add top margin to align select with labels */

  line-height: 30px;
  padding: 8px 6px;
}

#mg-wrapper 
input[type="file"]:focus,#mg-wrapper 
input[type="radio"]:focus,#mg-wrapper 
#mg-wrapper input[type="checkbox"]:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

#mg-wrapper input[type="file"], 
#mg-wrapper input[type="image"],
#mg-wrapper input[type="submit"], 
#mg-wrapper input[type="reset"],
#mg-wrapper input[type="button"],
#mg-wrapper input[type="radio"],
#mg-wrapper input[type="checkbox"] {
    width: auto;
}
.uneditable-input,#mg-wrapper 
#mg-wrapper .uneditable-textarea {
  color: #999999;
  cursor: not-allowed;
  background-color: #fcfcfc;
  border-color: #cccccc;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
     -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
          box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
}

#mg-wrapper .uneditable-input {
  overflow: hidden;
  white-space: nowrap;
}

#mg-wrapper .uneditable-textarea {
  width: auto;
  height: auto;
}

#mg-wrapper input:-moz-placeholder,
#mg-wrapper textarea:-moz-placeholder {
  color: #999999;
}

#mg-wrapper input:-ms-input-placeholder,
#mg-wrapper textarea:-ms-input-placeholder {
  color: #999999;
}

#mg-wrapper input::-webkit-input-placeholder,
#mg-wrapper textarea::-webkit-input-placeholder {
  color: #999999;
}

#mg-wrapper .radio,
#mg-wrapper .checkbox {
  min-height: 18px;
  padding-left: 18px;
}

#mg-wrapper .radio input[type="radio"],
#mg-wrapper .checkbox input[type="checkbox"] {
  float: left;
  margin-left: -18px;
}

#mg-wrapper .controls > .radio:first-child,
#mg-wrapper .controls > .checkbox:first-child {
  padding-top: 5px;
}

#mg-wrapper .radio.inline,
#mg-wrapper .checkbox.inline {
  display: inline-block;
  padding-top: 5px;
  margin-bottom: 0;
  vertical-align: middle;
}

#mg-wrapper .radio.inline + .radio.inline,
#mg-wrapper .checkbox.inline + .checkbox.inline {
  margin-left: 10px;
}

#mg-wrapper .input-mini {
  width: 60px;
}

#mg-wrapper .input-small {
  width: 90px;
}

#mg-wrapper .input-medium {
  width: 150px;
}

#mg-wrapper .input-large {
  width: 210px;
}

#mg-wrapper .input-xlarge {
  width: 270px;
}

#mg-wrapper .input-xxlarge {
  width: 530px;
}

#mg-wrapper input[class*="span"],
#mg-wrapper textarea[class*="span"],
#mg-wrapper .uneditable-input[class*="span"],
#mg-wrapper .row-fluid input[class*="span"],
#mg-wrapper .row-fluid textarea[class*="span"],
#mg-wrapper #mg-wrapper .row-fluid .uneditable-input[class*="span"] {
  float: none;
  margin-left: 0;
}

#mg-wrapper .input-append input[class*="span"],
#mg-wrapper .input-append .uneditable-input[class*="span"],
#mg-wrapper .input-prepend input[class*="span"],
#mg-wrapper .input-prepend .uneditable-input[class*="span"],
#mg-wrapper .row-fluid input[class*="span"],
#mg-wrapper .row-fluid textarea[class*="span"],
#mg-wrapper .row-fluid .uneditable-input[class*="span"],
#mg-wrapper .row-fluid .input-prepend [class*="span"],
.row-fluid #mg-wrapper .input-append [class*="span"] {
  display: inline-block;
}

#mg-wrapper input,
#mg-wrapper textarea,
#mg-wrapper .uneditable-input {
  margin-left: 0;
}

#mg-wrapper .controls-row [class*="span"] + [class*="span"] {
  margin-left: 20px;
}

#mg-wrapper input.span12,
#mg-wrapper textarea.span12,
#mg-wrapper .uneditable-input.span12 {
  width: 926px;
}

#mg-wrapper input.span11,
#mg-wrapper textarea.span11,
#mg-wrapper .uneditable-input.span11 {
  width: 846px;
}

#mg-wrapper input.span10,
#mg-wrapper textarea.span10,
#mg-wrapper .uneditable-input.span10 {
  width: 766px;
}

#mg-wrapper input.span9,
#mg-wrapper textarea.span9,
#mg-wrapper .uneditable-input.span9 {
  width: 686px;
}

#mg-wrapper input.span8,
#mg-wrapper textarea.span8,
#mg-wrapper .uneditable-input.span8 {
  width: 606px;
}

#mg-wrapper input.span7,
#mg-wrapper textarea.span7,
#mg-wrapper .uneditable-input.span7 {
  width: 526px;
}

#mg-wrapper input.span6,
#mg-wrapper textarea.span6,
#mg-wrapper .uneditable-input.span6 {
  width: 446px;
}

#mg-wrapper input.span5,
#mg-wrapper textarea.span5,
#mg-wrapper .uneditable-input.span5 {
  width: 366px;
}

#mg-wrapper input.span4,
#mg-wrapper textarea.span4,
#mg-wrapper .uneditable-input.span4 {
  width: 286px;
}

#mg-wrapper input.span3,
#mg-wrapper textarea.span3,
#mg-wrapper .uneditable-input.span3 {
  width: 206px;
}

#mg-wrapper input.span2,
#mg-wrapper textarea.span2,
#mg-wrapper .uneditable-input.span2 {
  width: 126px;
}

#mg-wrapper input.span1,
#mg-wrapper textarea.span1,
#mg-wrapper .uneditable-input.span1 {
  width: 46px;
}

#mg-wrapper .controls-row {
  *zoom: 1;
}

#mg-wrapper .controls-row:before,
#mg-wrapper .controls-row:after {
  display: table;
  line-height: 0;
  content: "";
}


#mg-wrapper .controls-row:after {
  clear: both;
}

#mg-wrapper .controls-row [class*="span"] {
  float: left;
}

#mg-wrapper input[disabled],
#mg-wrapper textarea[disabled],
#mg-wrapper input[readonly],
#mg-wrapper textarea[readonly] {
  cursor: not-allowed;
  background-color: #eeeeee;
}

#mg-wrapper input[type="radio"][disabled],
#mg-wrapper input[type="checkbox"][disabled],
#mg-wrapper input[type="radio"][readonly],
#mg-wrapper input[type="checkbox"][readonly] {
  background-color: transparent;
}

#mg-wrapper .control-group.warning > label,
#mg-wrapper .control-group.warning .help-block,
#mg-wrapper .control-group.warning .help-inline {
  color: #c09853;
}

#mg-wrapper .control-group.warning .checkbox,
#mg-wrapper .control-group.warning .radio,
#mg-wrapper .control-group.warning input,
#mg-wrapper .control-group.warning textarea {
  color: #c09853;
}

#mg-wrapper .control-group.warning input,
#mg-wrapper .control-group.warning textarea {
  border-color: #c09853;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

#mg-wrapper .control-group.warning input:focus,
#mg-wrapper .control-group.warning textarea:focus {
  border-color: #a47e3c;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
}

#mg-wrapper .control-group.warning .input-prepend .add-on,
#mg-wrapper .control-group.warning .input-append .add-on {
  color: #c09853;
  background-color: #fcf8e3;
  border-color: #c09853;
}

#mg-wrapper .control-group.error > label,
#mg-wrapper .control-group.error .help-block,
#mg-wrapper .control-group.error .help-inline {
  color: #b94a48;
}

#mg-wrapper .control-group.error .checkbox,
#mg-wrapper .control-group.error .radio,
#mg-wrapper .control-group.error input,
#mg-wrapper .control-group.error textarea {
  color: #b94a48;
}

#mg-wrapper .control-group.error input,
#mg-wrapper .control-group.error textarea {
  border-color: #b94a48;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

#mg-wrapper .control-group.error input:focus,
#mg-wrapper .control-group.error textarea:focus {
  border-color: #953b39;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
}

#mg-wrapper .control-group.error .input-prepend .add-on,
#mg-wrapper .control-group.error .input-append .add-on {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #b94a48;
}

#mg-wrapper .control-group.success > label,
#mg-wrapper .control-group.success .help-block,
#mg-wrapper .control-group.success .help-inline {
  color: #468847;
}

#mg-wrapper .control-group.success .checkbox,
#mg-wrapper .control-group.success .radio,
#mg-wrapper .control-group.success input,
#mg-wrapper .control-group.success textarea {
  color: #468847;
}

#mg-wrapper .control-group.success input,
#mg-wrapper .control-group.success textarea {
  border-color: #468847;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

#mg-wrapper .control-group.success input:focus,
#mg-wrapper .control-group.success textarea:focus {
  border-color: #356635;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
}

#mg-wrapper .control-group.success .input-prepend .add-on,
#mg-wrapper .control-group.success .input-append .add-on {
  color: #468847;
  background-color: #dff0d8;
  border-color: #468847;
}

#mg-wrapper .control-group.info > label,
#mg-wrapper .control-group.info .help-block,
#mg-wrapper .control-group.info .help-inline {
  color: #3a87ad;
}

#mg-wrapper .control-group.info .checkbox,
#mg-wrapper .control-group.info .radio,
#mg-wrapper .control-group.info input,
#mg-wrapper .control-group.info textarea {
  color: #3a87ad;
}

#mg-wrapper .control-group.info input,
#mg-wrapper .control-group.info textarea {
  border-color: #3a87ad;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

#mg-wrapper .control-group.info input:focus,
#mg-wrapper .control-group.info textarea:focus {
  border-color: #2d6987;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;
}

#mg-wrapper .control-group.info .input-prepend .add-on,
#mg-wrapper .control-group.info .input-append .add-on {
  color: #3a87ad;
  background-color: #d9edf7;
  border-color: #3a87ad;
}

input:focus:required:invalid:focus, #mg-wrapper 
textarea:focus:required:invalid:focus, #mg-wrapper 
#mg-wrapper select:focus:required:invalid:focus {
  border-color: #e9322d;
  -webkit-box-shadow: 0 0 6px #f8b9b7;
     -moz-box-shadow: 0 0 6px #f8b9b7;
          box-shadow: 0 0 6px #f8b9b7;
}

#mg-wrapper .form-actions {
  padding: 19px 20px 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border-top: 1px solid #e5e5e5;
  *zoom: 1;
}

#mg-wrapper .form-actions:before, #mg-wrapper 
#mg-wrapper .form-actions:after {
  display: table;
  line-height: 0;
  content: "";
}

#mg-wrapper .form-actions:after {
  clear: both;
}

#mg-wrapper .help-block, #mg-wrapper 
#mg-wrapper .help-inline {
  color: #808080;
}

#mg-wrapper .help-block {
  display: block;
  margin-bottom: 10px;
}

#mg-wrapper .help-inline {
  display: inline-block;
  *display: inline;
  padding-left: 5px;
  vertical-align: middle;
  *zoom: 1;
}

#mg-wrapper .input-append, #mg-wrapper 
#mg-wrapper .input-prepend {
  margin-bottom: 5px;
  font-size: 0;
  white-space: nowrap;
}
#mg-wrapper .input-append .btn, #mg-wrapper  
#mg-wrapper .input-prepend .btn{
  -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.15);
     -moz-box-shadow: inset 0 -1px 0 rgba(0,0,0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.15);
          box-shadow: inset 0 -1px 0 rgba(0,0,0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.15);
}
#mg-wrapper .input-append input, #mg-wrapper 
.input-prepend input, #mg-wrapper 
.input-append select, #mg-wrapper 
.input-prepend select, #mg-wrapper 
.input-append .uneditable-input, #mg-wrapper 
#mg-wrapper .input-prepend .uneditable-input {
  position: relative;
  margin-bottom: 0;
  *margin-left: 0;
  font-size: 12px;
  vertical-align: top;
  -webkit-border-radius: 0 2px 2px 0;
     -moz-border-radius: 0 2px 2px 0;
          border-radius: 0 2px 2px 0;
}

#mg-wrapper .input-append input:focus,
.input-prepend input:focus, #mg-wrapper 
.input-append select:focus, #mg-wrapper 
.input-prepend select:focus, #mg-wrapper 
.input-append .uneditable-input:focus, #mg-wrapper 
#mg-wrapper .input-prepend .uneditable-input:focus {
  z-index: 2;
}

.input-append .add-on, #mg-wrapper 
#mg-wrapper .input-prepend .add-on {
  display: inline-block;
  width: auto;
  height: 24px;
  min-width: 16px;
  padding: 4px 5px;
  font-size: 12px;
  font-weight: normal;
  line-height: 24px;
  text-align: center;
  background-color: #eeeeee;
  border: 1px solid #E0E0E0;
}
.input-append .add-on i, #mg-wrapper 
#mg-wrapper .input-prepend .add-on i {
	line-height: 26px;
}

.input-append .add-on, #mg-wrapper 
.input-prepend .add-on, #mg-wrapper 
.input-append .btn, #mg-wrapper 
#mg-wrapper .input-prepend .btn {
  vertical-align: top;
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

.input-append .active, #mg-wrapper 
#mg-wrapper .input-prepend .active {
  background-color: #a9dba9;
  border-color: #46a546;
}

.input-prepend .add-on, #mg-wrapper 
#mg-wrapper .input-prepend .btn {
  margin-right: -1px;
}

.input-prepend .add-on:first-child, #mg-wrapper 
#mg-wrapper .input-prepend .btn:first-child {
  -webkit-border-radius: 2px 0 0 2px;
     -moz-border-radius: 2px 0 0 2px;
          border-radius: 2px 0 0 2px;
}

.input-append input, #mg-wrapper 
.input-append select, #mg-wrapper 
#mg-wrapper .input-append .uneditable-input {
  -webkit-border-radius: 2px 0 0 2px;
     -moz-border-radius: 2px 0 0 2px;
          border-radius: 2px 0 0 2px;
}

.input-append .add-on, #mg-wrapper 
#mg-wrapper .input-append .btn {
  margin-left: -1px;
}

.input-append .add-on:last-child, #mg-wrapper 
#mg-wrapper .input-append .btn:last-child {
  -webkit-border-radius: 0 2px 2px 0;
     -moz-border-radius: 0 2px 2px 0;
          border-radius: 0 2px 2px 0;
}

.input-prepend.input-append input, #mg-wrapper 
.input-prepend.input-append select, #mg-wrapper 
#mg-wrapper .input-prepend.input-append .uneditable-input {
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

.input-prepend.input-append .add-on:first-child, #mg-wrapper 
#mg-wrapper .input-prepend.input-append .btn:first-child {
  margin-right: -1px;
  -webkit-border-radius: 2px 0 0 2px;
     -moz-border-radius: 2px 0 0 2px;
          border-radius: 2px 0 0 2px;
}

.input-prepend.input-append .add-on:last-child, #mg-wrapper 
#mg-wrapper .input-prepend.input-append .btn:last-child {
  margin-left: -1px;
  -webkit-border-radius: 0 2px 2px 0;
     -moz-border-radius: 0 2px 2px 0;
          border-radius: 0 2px 2px 0;
}

#mg-wrapper input.search-query {
  padding-right: 14px;
  padding-right: 4px \9;
  padding-left: 14px;
  padding-left: 4px \9;
  /* IE7-8 doesn't have border-radius, #mg-wrapper  so don't indent the padding */
}

/* Allow for input prepend/append in search forms */

.form-search .input-append .search-query, #mg-wrapper 
#mg-wrapper .form-search .input-prepend .search-query {
  -webkit-border-radius: 2px 0 0 2px;
     -moz-border-radius: 2px 0 0 2px;
          border-radius: 2px 0 0 2px;
}

/*.form-search .input-append .search-query {
  -webkit-border-radius: 14px 0 0 14px;
     -moz-border-radius: 14px 0 0 14px;
          border-radius: 14px 0 0 14px;
}

#mg-wrapper .form-search .input-append .btn {
  -webkit-border-radius: 0 14px 14px 0;
     -moz-border-radius: 0 14px 14px 0;
          border-radius: 0 14px 14px 0;
}

#mg-wrapper .form-search .input-prepend .search-query {
  -webkit-border-radius: 0 14px 14px 0;
     -moz-border-radius: 0 14px 14px 0;
          border-radius: 0 14px 14px 0;
}

#mg-wrapper .form-search .input-prepend .btn {
  -webkit-border-radius: 14px 0 0 14px;
     -moz-border-radius: 14px 0 0 14px;
          border-radius: 14px 0 0 14px;
}
*/
#mg-wrapper .form-search .input-prepend{
	margin: 0 20px 0 0;
}
#mg-wrapper .form-search .input-append {
	margin: 0 0 0 20px;
}

.form-search input, #mg-wrapper 
.form-inline input, #mg-wrapper 
.form-horizontal input, #mg-wrapper 
.form-search textarea, #mg-wrapper 
.form-inline textarea, #mg-wrapper 
.form-horizontal textarea, #mg-wrapper 
.form-search select, #mg-wrapper 
.form-inline select, #mg-wrapper 
.form-horizontal select, #mg-wrapper 
.form-search .help-inline, #mg-wrapper 
.form-inline .help-inline, #mg-wrapper 
.form-horizontal .help-inline, #mg-wrapper 
.form-search .uneditable-input, #mg-wrapper 
.form-inline .uneditable-input, #mg-wrapper 
.form-horizontal .uneditable-input, #mg-wrapper 
.form-search .input-prepend, #mg-wrapper 
.form-inline .input-prepend, #mg-wrapper 
.form-horizontal .input-prepend, #mg-wrapper 
.form-search .input-append, #mg-wrapper 
.form-inline .input-append, #mg-wrapper 
#mg-wrapper .form-horizontal .input-append {
  display: inline-block;
  *display: inline;
  margin-bottom: 0;
  vertical-align: middle;
  *zoom: 1;
}

.form-search .hide, #mg-wrapper 
.form-inline .hide, #mg-wrapper 
#mg-wrapper .form-horizontal .hide {
  display: none;
}

.form-search label, #mg-wrapper 
.form-inline label, #mg-wrapper 
.form-search .btn-group, #mg-wrapper 
#mg-wrapper .form-inline .btn-group {
  display: inline-block;
}

.form-search .input-append, #mg-wrapper 
.form-inline .input-append, #mg-wrapper 
.form-search .input-prepend, #mg-wrapper 
#mg-wrapper .form-inline .input-prepend {
  margin-bottom: 0;
}

.form-search .radio, #mg-wrapper 
.form-search .checkbox, #mg-wrapper 
.form-inline .radio, #mg-wrapper 
#mg-wrapper .form-inline .checkbox {
  padding-left: 0;
  margin-bottom: 0;
  vertical-align: middle;
}

.form-search .radio input[type="radio"], #mg-wrapper 
.form-search .checkbox input[type="checkbox"], #mg-wrapper 
.form-inline .radio input[type="radio"], #mg-wrapper 
#mg-wrapper .form-inline .checkbox input[type="checkbox"] {
  float: left;
  margin-right: 3px;
  margin-left: 0;
}

#mg-wrapper .control-group {
  margin-bottom: 10px;
}

#mg-wrapper legend + .control-group {
  margin-top: 20px;
  -webkit-margin-top-collapse: separate;
}

#mg-wrapper .form-horizontal .control-group {
  margin-bottom: 20px;
  *zoom: 1;
}

.form-horizontal .control-group:before, #mg-wrapper 
#mg-wrapper .form-horizontal .control-group:after {
  display: table;
  line-height: 0;
  content: "";
}

#mg-wrapper .form-horizontal .control-group:after {
  clear: both;
}
#mg-wrapper .form-horizontal .control-group:hover .control-label {
	color: #296dcb	
}
#mg-wrapper .form-horizontal .control-label {
  float: left;
  width: 160px;
  padding-top: 5px;
  text-align: left;
}

#mg-wrapper .form-horizontal .controls {
  *display: inline-block;
  *padding-left: 20px;
  margin-left: 180px;
  *margin-left: 0;
}

#mg-wrapper .form-horizontal .controls:first-child {
  *padding-left: 180px;
}

#mg-wrapper .form-horizontal .help-block {
  margin-bottom: 0;
}

.form-horizontal input + .help-block, #mg-wrapper 
.form-horizontal select + .help-block, #mg-wrapper 
#mg-wrapper .form-horizontal textarea + .help-block {
  margin-top: 10px;
}

#mg-wrapper .form-horizontal .form-actions {
  padding-left: 180px;
}

#mg-wrapper table {
  max-width: 100%;
  background-color: transparent;
  border-collapse: collapse;
  border-spacing: 0;
  
  border: 1px solid #e0e0e0;
  border-left: 0;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
}

#mg-wrapper .table {
  width: 100%;
  margin-bottom: 20px;
}

/* --- LEFT HEADING TABLE --- */
#mg-wrapper .table.left-heading td, #mg-wrapper  .table.left-heading th {
	padding: 20px;	
}
#mg-wrapper .table.left-heading tr:hover td {
	background-color: transparent;
}
#mg-wrapper .table tbody th {
  padding: 8px;
  line-height: 20px;
  text-align: left;
  vertical-align: top;
  background-color: #fafafa;
}
/* --- TABLE FOOTER --- */
#mg-wrapper .table tfoot tr.level1 td {
        padding: 8px;
	background-color: #f5f7fa;
}
#mg-wrapper .table tfoot tr.level2 td {
        padding: 8px;
	background-color: #f0f2f5;
}
#mg-wrapper .table tfoot tr.level3 td {
        padding: 8px;
	background-color: #ebedf0;
}
#mg-wrapper .table tfoot tr.level4 td {
        padding: 8px;
	background-color: #e6e8eb;
}

#mg-wrapper .table tfoot.blue-foot tr.level1 td {	
	background-color: #ebf1fa;
}
#mg-wrapper .table tfoot.blue-foot tr.level2 td {	
	background-color: #e6ecf5;
}
#mg-wrapper .table tfoot.blue-foot tr.level3 td {	
	background-color: #e1e7f0;
}
#mg-wrapper .table tfoot.blue-foot tr.level4 td {	
	background-color: #dde2eb;
}

#mg-wrapper .table tfoot.red-foot tr.level1 td {	
	background-color: #faf2f2;
}
#mg-wrapper .table tfoot.red-foot tr.level2 td {	
	background-color: #f5eded;
}
#mg-wrapper .table tfoot.red-foot tr.level3 td {	
	background-color: #f0e9e9;
}
#mg-wrapper .table tfoot.red-foot tr.level4 td {	
	background-color: #ebe4e4;
}


#mg-wrapper .table thead th, #mg-wrapper 
.table tbody td, #mg-wrapper 
#mg-wrapper .table tfoot td {
  padding: 8px;
  line-height: 20px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-left: 1px solid rgba(0,0,0,0.05);  
}
#mg-wrapper .table thead th {
  border-top: 1px solid #e0e0e0;
}
#mg-wrapper .table tbody th h4 {
	margin: 10px 0;	
}
#mg-wrapper .table tbody th p {
	font-weight: normal	
}
#mg-wrapper .table tr th:first-child,
#mg-wrapper .table tr td:first-child {
  border-left: 1px solid #e0e0e0;  
}
#mg-wrapper .table tr:first-child td {
  border-top: 1px solid #e0e0e0;	
}

#mg-wrapper .table thead th,
#mg-wrapper .table tr th {
  font-weight: bold;
  background-color: #f7f7f7;
  *background-color: #f7f7f7;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f7f7f7), to(#efefef));
  background-image: -webkit-linear-gradient(top, #f7f7f7, #efefef);
  background-image: -o-linear-gradient(top, #f7f7f7, #efefef);
  background-image: linear-gradient(to bottom, #f7f7f7, #efefef);
  background-image: -moz-linear-gradient(top, #f7f7f7, #efefef);
  background-repeat: repeat-x;
}
#mg-wrapper .table tr:hover td {
	background-color: #fafafa;
}

#mg-wrapper .table thead th {
  vertical-align: bottom;
}
#mg-wrapper .table tr td.config .dropdown-menu {
	right: 0;
	min-width: 120px;	
}
 
#mg-wrapper table input[type="text"], 
#mg-wrapper table input[type="password"],
#mg-wrapper table input[type="datetime"], 
#mg-wrapper table input[type="datetime-local"], 
#mg-wrapper table input[type="date"], 
#mg-wrapper table input[type="month"], 
#mg-wrapper table input[type="time"], 
#mg-wrapper table input[type="week"], 
#mg-wrapper table input[type="number"],
#mg-wrapper table input[type="email"], 
#mg-wrapper table input[type="url"], 
#mg-wrapper table input[type="search"], 
#mg-wrapper table input[type="tel"], 
#mg-wrapper table input[type="color"], 
#mg-wrapper table input,
#mg-wrapper table select,
#mg-wrapper table .btn,
#mg-wrapper table .btn i {
	margin-bottom: 0;	
	height: 20px;
	line-height: 20px!important;
}
 
#mg-wrapper table:not(.left-heading) input[type="text"],

#mg-wrapper table select {
	padding: 4px;	
}
#mg-wrapper table button.btn {
	height: 30px;
}
#mg-wrapper td.toolbar .btn, 
#mg-wrapper td.config .btn{
	padding: 4px 10px;
}

#mg-wrapper .table caption + thead tr:first-child th,
#mg-wrapper .table caption + thead tr:first-child td,
#mg-wrapper .table colgroup + thead tr:first-child th,
#mg-wrapper .table colgroup + thead tr:first-child td,
#mg-wrapper .table thead:first-child tr:first-child th,
#mg-wrapper .table thead:first-child tr:first-child td {
  border-top: 0;
}

#mg-wrapper .table tbody + tbody {
  border-top: 2px solid rgba(0,0,0,0.05);
}

#mg-wrapper .table-condensed th,
#mg-wrapper .table-condensed td {
  padding: 4px 5px;
}

#mg-wrapper .table-bordered {
  border: 1px solid #dddddd;
  border-collapse: separate;
  *border-collapse: collapse;
  border-left: 0;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
}

#mg-wrapper .table-bordered th,
#mg-wrapper .table-bordered td {
  border-left: 1px solid #dddddd;
}

#mg-wrapper .table-bordered caption + thead tr:first-child th,
#mg-wrapper .table-bordered caption + tbody tr:first-child th,
#mg-wrapper .table-bordered caption + tbody tr:first-child td,
#mg-wrapper .table-bordered colgroup + thead tr:first-child th,
#mg-wrapper .table-bordered colgroup + tbody tr:first-child th,
#mg-wrapper .table-bordered colgroup + tbody tr:first-child td,
#mg-wrapper .table-bordered thead:first-child tr:first-child th,
#mg-wrapper .table-bordered tbody:first-child tr:first-child th,
#mg-wrapper .table-bordered tbody:first-child tr:first-child td {
  border-top: 0;
}

#mg-wrapper .table-bordered thead:first-child tr:first-child th:first-child,
#mg-wrapper .table-bordered tbody:first-child tr:first-child td:first-child {
  -webkit-border-top-left-radius: 2px;
          border-top-left-radius: 2px;
  -moz-border-radius-topleft: 2px;
}

#mg-wrapper .table-bordered thead:first-child tr:first-child th:last-child,
#mg-wrapper .table-bordered tbody:first-child tr:first-child td:last-child {
  -webkit-border-top-right-radius: 2px;
          border-top-right-radius: 2px;
  -moz-border-radius-topright: 2px;
}

#mg-wrapper .table-bordered thead:last-child tr:last-child th:first-child,
#mg-wrapper .table-bordered tbody:last-child tr:last-child td:first-child,
#mg-wrapper .table-bordered tfoot:last-child tr:last-child td:first-child {
  -webkit-border-radius: 0 0 0 4px;
     -moz-border-radius: 0 0 0 4px;
          border-radius: 0 0 0 4px;
  -webkit-border-bottom-left-radius: 2px;
          border-bottom-left-radius: 2px;
  -moz-border-radius-bottomleft: 2px;
}

#mg-wrapper .table-bordered thead:last-child tr:last-child th:last-child,
#mg-wrapper .table-bordered tbody:last-child tr:last-child td:last-child,
#mg-wrapper .table-bordered tfoot:last-child tr:last-child td:last-child {
  -webkit-border-bottom-right-radius: 2px;
          border-bottom-right-radius: 2px;
  -moz-border-radius-bottomright: 2px;
}

#mg-wrapper .table-bordered caption + thead tr:first-child th:first-child,
#mg-wrapper .table-bordered caption + tbody tr:first-child td:first-child,
#mg-wrapper .table-bordered colgroup + thead tr:first-child th:first-child,
#mg-wrapper .table-bordered colgroup + tbody tr:first-child td:first-child {
  -webkit-border-top-left-radius: 2px;
          border-top-left-radius: 2px;
  -moz-border-radius-topleft: 2px;
}

#mg-wrapper .table-bordered caption + thead tr:first-child th:last-child,
#mg-wrapper .table-bordered caption + tbody tr:first-child td:last-child,
#mg-wrapper .table-bordered colgroup + thead tr:first-child th:last-child,
#mg-wrapper .table-bordered colgroup + tbody tr:first-child td:last-child {
  -webkit-border-top-right-radius: 2px;
          border-top-right-radius: 2px;
  -moz-border-radius-topleft: 2px;
}

#mg-wrapper .table-striped tbody tr:nth-child(odd) td,
#mg-wrapper .table-striped tbody tr:nth-child(odd) th {
  background-color: #f7f7f7;
}

#mg-wrapper .table-hover tbody tr:hover td,
#mg-wrapper .table-hover tbody tr:hover th {
  background-color: #f5f5f5;
}

#mg-wrapper table [class*=span],
#mg-wrapper .row-fluid table [class*=span] {
  display: table-cell;
  float: none;
  margin-left: 0;
}

#mg-wrapper .table .span1 {
  float: none;
  width: 44px;
  margin-left: 0;
}

#mg-wrapper .table .span2 {
  float: none;
  width: 124px;
  margin-left: 0;
}

#mg-wrapper .table .span3 {
  float: none;
  width: 204px;
  margin-left: 0;
}

#mg-wrapper .table .span4 {
  float: none;
  width: 284px;
  margin-left: 0;
}

#mg-wrapper .table .span5 {
  float: none;
  width: 364px;
  margin-left: 0;
}

#mg-wrapper .table .span6 {
  float: none;
  width: 444px;
  margin-left: 0;
}

#mg-wrapper .table .span7 {
  float: none;
  width: 524px;
  margin-left: 0;
}

#mg-wrapper .table .span8 {
  float: none;
  width: 604px;
  margin-left: 0;
}

#mg-wrapper .table .span9 {
  float: none;
  width: 684px;
  margin-left: 0;
}

#mg-wrapper .table .span10 {
  float: none;
  width: 764px;
  margin-left: 0;
}

#mg-wrapper .table .span11 {
  float: none;
  width: 844px;
  margin-left: 0;
}

#mg-wrapper .table .span12 {
  float: none;
  width: 924px;
  margin-left: 0;
}

#mg-wrapper .table .span13 {
  float: none;
  width: 1004px;
  margin-left: 0;
}

#mg-wrapper .table .span14 {
  float: none;
  width: 1084px;
  margin-left: 0;
}

#mg-wrapper .table .span15 {
  float: none;
  width: 1164px;
  margin-left: 0;
}

#mg-wrapper .table .span16 {
  float: none;
  width: 1244px;
  margin-left: 0;
}

#mg-wrapper .table .span17 {
  float: none;
  width: 1324px;
  margin-left: 0;
}

#mg-wrapper .table .span18 {
  float: none;
  width: 1404px;
  margin-left: 0;
}

#mg-wrapper .table .span19 {
  float: none;
  width: 1484px;
  margin-left: 0;
}

#mg-wrapper .table .span20 {
  float: none;
  width: 1564px;
  margin-left: 0;
}

#mg-wrapper .table .span21 {
  float: none;
  width: 1644px;
  margin-left: 0;
}

#mg-wrapper .table .span22 {
  float: none;
  width: 1724px;
  margin-left: 0;
}

#mg-wrapper .table .span23 {
  float: none;
  width: 1804px;
  margin-left: 0;
}

#mg-wrapper .table .span24 {
  float: none;
  width: 1884px;
  margin-left: 0;
}

#mg-wrapper .table tbody tr.success td {
  background-color: #dff0d8;
}

#mg-wrapper .table tbody tr.error td {
  background-color: #f2dede;
}

#mg-wrapper .table tbody tr.warning td {
  background-color: #fcf8e3;
}

#mg-wrapper .table tbody tr.info td {
  background-color: #d9edf7;
}

#mg-wrapper .table-hover tbody tr.success:hover td {
  background-color: #d0e9c6;
}

#mg-wrapper .table-hover tbody tr.error:hover td {
  background-color: #ebcccc;
}

#mg-wrapper .table-hover tbody tr.warning:hover td {
  background-color: #faf2cc;
}

#mg-wrapper .table-hover tbody tr.info:hover td {
  background-color: #c4e3f3;
}

#mg-wrapper [class^="icon-"],
#mg-wrapper [class*=" icon-"] {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  *margin-right: .3em;
  line-height: 14px;
  vertical-align: text-top;
  /*background-image: url("../img/glyphicons-halflings.png");*/
  background-position: 14px 14px;
  background-repeat: no-repeat;
}

#mg-wrapper .icon-glass {
  background-position: 0      0;
}

#mg-wrapper .icon-music {
  background-position: -24px 0;
}

#mg-wrapper .icon-search {
  background-position: -48px 0;
}

#mg-wrapper .icon-envelope {
  background-position: -72px 0;
}

#mg-wrapper .icon-heart {
  background-position: -96px 0;
}

#mg-wrapper .icon-star {
  background-position: -120px 0;
}

#mg-wrapper .icon-star-empty {
  background-position: -144px 0;
}

#mg-wrapper .icon-user {
  background-position: -168px 0;
}

#mg-wrapper .icon-film {
  background-position: -192px 0;
}

#mg-wrapper .icon-th-large {
  background-position: -216px 0;
}

#mg-wrapper .icon-th {
  background-position: -240px 0;
}

#mg-wrapper .icon-th-list {
  background-position: -264px 0;
}

#mg-wrapper .icon-ok {
  background-position: -288px 0;
}

#mg-wrapper .icon-remove {
  background-position: -312px 0;
}

#mg-wrapper .icon-zoom-in {
  background-position: -336px 0;
}

#mg-wrapper .icon-zoom-out {
  background-position: -360px 0;
}

#mg-wrapper .icon-off {
  background-position: -384px 0;

}

#mg-wrapper .icon-signal {
  background-position: -408px 0;
}

#mg-wrapper .icon-cog {
  background-position: -432px 0;
}

#mg-wrapper .icon-trash {
  background-position: -456px 0;
}

#mg-wrapper .icon-home {
  background-position: 0 -24px;
}

#mg-wrapper .icon-file {
  background-position: -24px -24px;
}

#mg-wrapper .icon-time {
  background-position: -48px -24px;
}

#mg-wrapper .icon-road {
  background-position: -72px -24px;
}

#mg-wrapper .icon-download-alt {
  background-position: -96px -24px;
}

#mg-wrapper .icon-download {
  background-position: -120px -24px;
}

#mg-wrapper .icon-upload {
  background-position: -144px -24px;
}

#mg-wrapper .icon-inbox {
  background-position: -168px -24px;
}

#mg-wrapper .icon-play-circle {
  background-position: -192px -24px;
}

#mg-wrapper .icon-repeat {
  background-position: -216px -24px;
}

#mg-wrapper .icon-refresh {
  background-position: -240px -24px;
}

#mg-wrapper .icon-list-alt {
  background-position: -264px -24px;
}

#mg-wrapper .icon-lock {
  background-position: -287px -24px;
}

#mg-wrapper .icon-flag {
  background-position: -312px -24px;
}

#mg-wrapper .icon-headphones {
  background-position: -336px -24px;
}

#mg-wrapper .icon-volume-off {
  background-position: -360px -24px;
}

#mg-wrapper .icon-volume-down {
  background-position: -384px -24px;
}

#mg-wrapper .icon-volume-up {
  background-position: -408px -24px;
}

#mg-wrapper .icon-qrcode {
  background-position: -432px -24px;
}

#mg-wrapper .icon-barcode {
  background-position: -456px -24px;
}

#mg-wrapper .icon-tag {
  background-position: 0 -48px;
}

#mg-wrapper .icon-tags {
  background-position: -25px -48px;
}

#mg-wrapper .icon-book {
  background-position: -48px -48px;
}

#mg-wrapper .icon-bookmark {
  background-position: -72px -48px;
}

#mg-wrapper .icon-print {
  background-position: -96px -48px;
}

#mg-wrapper .icon-camera {
  background-position: -120px -48px;
}

#mg-wrapper .icon-font {
  background-position: -144px -48px;
}

#mg-wrapper .icon-bold {
  background-position: -167px -48px;
}

#mg-wrapper .icon-italic {
  background-position: -192px -48px;
}

#mg-wrapper .icon-text-height {
  background-position: -216px -48px;
}

#mg-wrapper .icon-text-width {
  background-position: -240px -48px;
}

#mg-wrapper .icon-align-left {
  background-position: -264px -48px;
}

#mg-wrapper .icon-align-center {
  background-position: -288px -48px;
}

#mg-wrapper .icon-align-right {
  background-position: -312px -48px;
}

#mg-wrapper .icon-align-justify {
  background-position: -336px -48px;
}

#mg-wrapper .icon-list {
  background-position: -360px -48px;
}

#mg-wrapper .icon-indent-left {
  background-position: -384px -48px;
}

#mg-wrapper .icon-indent-right {
  background-position: -408px -48px;
}

#mg-wrapper .icon-facetime-video {
  background-position: -432px -48px;
}

#mg-wrapper .icon-picture {
  background-position: -456px -48px;
}

#mg-wrapper .icon-pencil {
  background-position: 0 -72px;
}

#mg-wrapper .icon-map-marker {
  background-position: -24px -72px;
}

#mg-wrapper .icon-adjust {
  background-position: -48px -72px;
}

#mg-wrapper .icon-tint {
  background-position: -72px -72px;
}

#mg-wrapper .icon-edit {
  background-position: -96px -72px;
}

#mg-wrapper .icon-share {
  background-position: -120px -72px;
}

#mg-wrapper .icon-check {
  background-position: -144px -72px;
}

#mg-wrapper .icon-move {
  background-position: -168px -72px;
}

#mg-wrapper .icon-step-backward {
  background-position: -192px -72px;
}

#mg-wrapper .icon-fast-backward {
  background-position: -216px -72px;
}

#mg-wrapper .icon-backward {
  background-position: -240px -72px;
}

#mg-wrapper .icon-play {
  background-position: -264px -72px;
}

#mg-wrapper .icon-pause {
  background-position: -288px -72px;
}

#mg-wrapper .icon-stop {
  background-position: -312px -72px;
}

#mg-wrapper .icon-forward {
  background-position: -336px -72px;
}

#mg-wrapper .icon-fast-forward {
  background-position: -360px -72px;
}

#mg-wrapper .icon-step-forward {
  background-position: -384px -72px;
}

#mg-wrapper .icon-eject {
  background-position: -408px -72px;
}

#mg-wrapper .icon-chevron-left {
  background-position: -432px -72px;
}

#mg-wrapper .icon-chevron-right {
  background-position: -456px -72px;
}

#mg-wrapper .icon-plus-sign {
  background-position: 0 -96px;
}

#mg-wrapper .icon-minus-sign {
  background-position: -24px -96px;
}

#mg-wrapper .icon-remove-sign {
  background-position: -48px -96px;
}

#mg-wrapper .icon-ok-sign {
  background-position: -72px -96px;
}

#mg-wrapper .icon-question-sign {
  background-position: -96px -96px;
}

#mg-wrapper .icon-info-sign {
  background-position: -120px -96px;
}

#mg-wrapper .icon-screenshot {
  background-position: -144px -96px;
}

#mg-wrapper .icon-remove-circle {
  background-position: -168px -96px;
}

#mg-wrapper .icon-ok-circle {
  background-position: -192px -96px;
}

#mg-wrapper .icon-ban-circle {
  background-position: -216px -96px;
}

#mg-wrapper .icon-arrow-left {
  background-position: -240px -96px;
}

#mg-wrapper .icon-arrow-right {
  background-position: -264px -96px;
}

#mg-wrapper .icon-arrow-up {
  background-position: -289px -96px;
}

#mg-wrapper .icon-arrow-down {
  background-position: -312px -96px;
}

#mg-wrapper .icon-share-alt {
  background-position: -336px -96px;
}

#mg-wrapper .icon-resize-full {
  background-position: -360px -96px;
}

#mg-wrapper .icon-resize-small {
  background-position: -384px -96px;
}

#mg-wrapper .icon-plus {
  background-position: -408px -96px;
}

#mg-wrapper .icon-minus {
  background-position: -433px -96px;
}

#mg-wrapper .icon-asterisk {
  background-position: -456px -96px;
}

#mg-wrapper .icon-exclamation-sign {
  background-position: 0 -120px;
}

#mg-wrapper .icon-gift {
  background-position: -24px -120px;
}

#mg-wrapper .icon-leaf {
  background-position: -48px -120px;
}

#mg-wrapper .icon-fire {
  background-position: -72px -120px;
}

#mg-wrapper .icon-eye-open {
  background-position: -96px -120px;
}

#mg-wrapper .icon-eye-close {
  background-position: -120px -120px;
}

#mg-wrapper .icon-warning-sign {
  background-position: -144px -120px;
}

#mg-wrapper .icon-plane {
  background-position: -168px -120px;
}

#mg-wrapper .icon-calendar {
  background-position: -192px -120px;
}

#mg-wrapper .icon-random {
  width: 16px;
  background-position: -216px -120px;
}

#mg-wrapper .icon-comment {
  background-position: -240px -120px;
}

#mg-wrapper .icon-magnet {
  background-position: -264px -120px;
}

#mg-wrapper .icon-chevron-up {
  background-position: -288px -120px;
}

#mg-wrapper .icon-chevron-down {
  background-position: -313px -119px;
}

#mg-wrapper .icon-retweet {
  background-position: -336px -120px;
}

#mg-wrapper .icon-shopping-cart {
  background-position: -360px -120px;
}

#mg-wrapper .icon-folder-close {
  background-position: -384px -120px;
}

#mg-wrapper .icon-folder-open {
  width: 16px;
  background-position: -408px -120px;
}

#mg-wrapper .icon-resize-vertical {
  background-position: -432px -119px;
}

#mg-wrapper .icon-resize-horizontal {
  background-position: -456px -118px;
}

#mg-wrapper .icon-hdd {
  background-position: 0 -144px;
}

#mg-wrapper .icon-bullhorn {
  background-position: -24px -144px;
}

#mg-wrapper .icon-bell {
  background-position: -48px -144px;
}

#mg-wrapper .icon-certificate {
  background-position: -72px -144px;
}

#mg-wrapper .icon-thumbs-up {
  background-position: -96px -144px;
}

#mg-wrapper .icon-thumbs-down {
  background-position: -120px -144px;
}

#mg-wrapper .icon-hand-right {
  background-position: -144px -144px;
}

#mg-wrapper .icon-hand-left {
  background-position: -168px -144px;
}

#mg-wrapper .icon-hand-up {
  background-position: -192px -144px;
}

#mg-wrapper .icon-hand-down {
  background-position: -216px -144px;
}

#mg-wrapper .icon-circle-arrow-right {
  background-position: -240px -144px;
}

#mg-wrapper .icon-circle-arrow-left {
  background-position: -264px -144px;
}

#mg-wrapper .icon-circle-arrow-up {
  background-position: -288px -144px;
}

#mg-wrapper .icon-circle-arrow-down {
  background-position: -312px -144px;
}

#mg-wrapper .icon-globe {
  background-position: -336px -144px;
}

#mg-wrapper .icon-wrench {
  background-position: -360px -144px;
}

#mg-wrapper .icon-tasks {
  background-position: -384px -144px;
}

#mg-wrapper .icon-filter {
  background-position: -408px -144px;
}

#mg-wrapper .icon-briefcase {
  background-position: -432px -144px;
}

#mg-wrapper .icon-fullscreen {
  background-position: -456px -144px;
}

#mg-wrapper .dropup,
#mg-wrapper .dropdown {
  position: relative;
}

#mg-wrapper .dropdown-toggle {
  *margin-bottom: -3px;
}

#mg-wrapper .dropdown-toggle:active,
#mg-wrapper .open .dropdown-toggle {
  outline: 0;
}

#mg-wrapper .caret {
  display: inline-block;
  width: 0;
  height: 0;
  vertical-align: top;
  border-top: 4px solid #000000;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
}

#mg-wrapper .dropdown .caret {
  margin-top: 8px;
  margin-left: 2px;
}


#mg-wrapper .open {
  *z-index: 1000;
}

#mg-wrapper .open > .dropdown-menu {
  display: block;
}

#mg-wrapper .pull-right > .dropdown-menu {
  right: 0;
  left: auto;
}

#mg-wrapper .dropdown-submenu {
  position: relative;
}

#mg-wrapper .dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
     -moz-border-radius: 0 6px 6px 6px;
          border-radius: 0 6px 6px 6px;
}

#mg-wrapper .dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

#mg-wrapper .dropdown-submenu > a:after {
  display: block;
  float: right;
  width: 0;
  height: 0;
  margin-top: 5px;
  margin-right: -10px;
  border-color: transparent;
  border-left-color: #cccccc;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  content: " ";
}

#mg-wrapper .dropdown-submenu:hover > a:after {
  border-left-color: #ffffff;
}

#mg-wrapper .typeahead {
  margin-top: 2px;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
}

#mg-wrapper .well {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

#mg-wrapper .well blockquote {
  border-color: #ddd;
  border-color: rgba(0, 0, 0, 0.15);
}

#mg-wrapper .well-large {
  padding: 24px;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
}

#mg-wrapper .well-small {
  padding: 9px;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
}

#mg-wrapper .fade {
  opacity: 0;
  -webkit-transition: opacity 0.15s linear;
     -moz-transition: opacity 0.15s linear;
       -o-transition: opacity 0.15s linear;
          transition: opacity 0.15s linear;
}

#mg-wrapper .fade.in {
  opacity: 1;
}

#mg-wrapper .collapse {
  position: relative;
  height: 0;
  overflow: hidden;
  -webkit-transition: height 0.35s ease;
     -moz-transition: height 0.35s ease;
       -o-transition: height 0.35s ease;
          transition: height 0.35s ease;
}

#mg-wrapper .collapse.in {
  height: auto;
}

#mg-wrapper .close {
  float: right;
  font-size: 20px;
  font-weight: bold;
  line-height: 20px;
  color: #000000;
  text-shadow: 0 1px 0 #ffffff;
  opacity: 0.2;
  filter: alpha(opacity=20);
}

#mg-wrapper .close:hover {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.4;
  filter: alpha(opacity=40);
}

#mg-wrapper button.close {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
}

#mg-wrapper .btn {
  display: inline-block;
  *display: inline;
  padding: 4px 14px;
  margin-bottom: 0;
  *margin-left: .3em;
  font-size: 12px;
  line-height: 26px;
  *line-height: 26px;
  color: #333333;
  text-align: center;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  vertical-align: middle;
  cursor: pointer;
  background-color: #dee0e5;
  *background-color: #dee0e5;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e9ebf0), to(#d7d9de));
  background-image: -webkit-linear-gradient(top, #e9ebf0, #d7d9de);
  background-image: -o-linear-gradient(top, #e9ebf0, #d7d9de);
  background-image: linear-gradient(to bottom, #e9ebf0, #d7d9de);
  background-image: -moz-linear-gradient(top, #e9ebf0, #d7d9de);
  background-repeat: repeat-x;
  border: 0;
  *border: 0;
/*  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-bottom-color: #a2a2a2;
*/ 
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#e9ebf0', endColorstr='#d7d9de', GradientType=0);
  filter: progid:dximagetransform.microsoft.gradient(enabled=false);
  *zoom: 1;
  -webkit-box-shadow: inset 0 -2px 0 rgba(0,0,0, 0.2), 0 1px 1px rgba(0, 0, 0, 0.2);
     -moz-box-shadow: inset 0 -2px 0 rgba(0,0,0, 0.2), 0 1px 1px rgba(0, 0, 0, 0.2);
          box-shadow: inset 0 -2px 0 rgba(0,0,0, 0.2), 0 1px 1px rgba(0, 0, 0, 0.2);
}

#mg-wrapper .btn:hover,
#mg-wrapper .btn:active,
#mg-wrapper .btn.active,
#mg-wrapper .btn.disabled,
#mg-wrapper .btn[disabled] {
  color: #333333;
  background-color: #e9ebf0;
  *background-color: #e9ebf0;
}

#mg-wrapper .btn:active,
#mg-wrapper .btn.active {
  background-color: #cccccc \9;
}

#mg-wrapper .btn:first-child {
  *margin-left: 0;
}

#mg-wrapper .btn:hover {
  color: #333333;
  text-decoration: none;
  background-color: #d7d9de;
  *background-color: #d7d9de;
  /* Buttons in IE7 don't get borders, so darken on hover */

  background-position: 0 -15px;
  -webkit-transition: background-position 0.1s linear;
     -moz-transition: background-position 0.1s linear;
       -o-transition: background-position 0.1s linear;
          transition: background-position 0.1s linear;
}

#mg-wrapper .btn:focus {
  outline: none;
}

#mg-wrapper .btn.active,
#mg-wrapper .btn:active {
  background-color: #c6c8cc;
  background-color: #c6c8cc \9;
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

#mg-wrapper .btn.disabled,
#mg-wrapper .btn[disabled] {
  cursor: default;
  background-color: #e6e6e6;
  background-image: none;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
}

#mg-wrapper .btn-large {
  padding: 9px 14px;
  font-size: 16px;
  line-height: normal;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
}

#mg-wrapper .btn-large [class^="icon-"] {
  margin-top: 2px;
}

#mg-wrapper .btn-small {
  padding: 3px 9px;
  font-size: 12px;
  line-height: 18px;
}

#mg-wrapper .btn-small [class^="icon-"] {
  margin-top: 0;
}

#mg-wrapper .btn-mini {
  padding: 2px 6px;
  font-size: 9px;
  line-height: 17px;
}

#mg-wrapper .btn-block {
  display: block;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

#mg-wrapper .btn-block + .btn-block {
  margin-top: 5px;
}

#mg-wrapper input[type="submit"].btn-block,
#mg-wrapper input[type="reset"].btn-block,
#mg-wrapper input[type="button"].btn-block {
  width: 100%;
}

#mg-wrapper .btn-primary.active,
#mg-wrapper .btn-warning.active,
#mg-wrapper .btn-danger.active,
#mg-wrapper .btn-success.active,
#mg-wrapper .btn-info.active,
#mg-wrapper .btn-inverse.active {
  color: rgba(255, 255, 255, 0.75);
}

#mg-wrapper .btn {
  border-color: #c5c5c5;
  border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
}

#mg-wrapper .btn-primary {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #006dcc;
  *background-color: #235eaf;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#296dcb), to(#235eaf));
  background-image: -webkit-linear-gradient(top, #296dcb, #235eaf);
  background-image: -o-linear-gradient(top, #296dcb, #235eaf);
  background-image: linear-gradient(to bottom, #296dcb, #235eaf);
  background-image: -moz-linear-gradient(top, #296dcb, #235eaf);
  background-repeat: repeat-x;
  border-color: #235eaf #235eaf #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff296dcb', endColorstr='#ff235eaf', GradientType=0);
  filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

#mg-wrapper .btn-primary:hover,
#mg-wrapper .btn-primary:active,
#mg-wrapper .btn-primary.active,
#mg-wrapper .btn-primary.disabled,
#mg-wrapper .btn-primary[disabled] {
  color: #ffffff;
  background-color: #235eaf;
  *background-color: #003bb3;
}

#mg-wrapper .btn-primary:active,
#mg-wrapper .btn-primary.active {
  background-color: #003399 \9;
}

#mg-wrapper .btn-warning {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #faa732;
  *background-color: #f89406;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
  background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
  background-image: -o-linear-gradient(top, #fbb450, #f89406);
  background-image: linear-gradient(to bottom, #fbb450, #f89406);
  background-image: -moz-linear-gradient(top, #fbb450, #f89406);
  background-repeat: repeat-x;
  border-color: #f89406 #f89406 #ad6704;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);
  filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

#mg-wrapper .btn-warning:hover,
#mg-wrapper .btn-warning:active,
#mg-wrapper .btn-warning.active,
#mg-wrapper .btn-warning.disabled,
#mg-wrapper .btn-warning[disabled] {
  color: #ffffff;
  background-color: #f89406;
  *background-color: #df8505;
}

#mg-wrapper .btn-warning:active,
#mg-wrapper .btn-warning.active {
  background-color: #c67605 \9;
}

#mg-wrapper .btn-danger {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #da4f49;
  *background-color: #bd362f;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
  background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
  background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
  background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
  background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
  background-repeat: repeat-x;
  border-color: #bd362f #bd362f #802420;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);
  filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

#mg-wrapper .btn-danger:hover,
#mg-wrapper .btn-danger:active,
#mg-wrapper .btn-danger.active,
#mg-wrapper .btn-danger.disabled,
#mg-wrapper .btn-danger[disabled] {
  color: #ffffff;
  background-color: #bd362f;
  *background-color: #a9302a;
}

#mg-wrapper .btn-danger:active,
#mg-wrapper .btn-danger.active {
  background-color: #942a25 \9;
}

#mg-wrapper .btn-success {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #5bb75b;
  *background-color: #51a351;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
  background-image: -webkit-linear-gradient(top, #62c462, #51a351);
  background-image: -o-linear-gradient(top, #62c462, #51a351);
  background-image: linear-gradient(to bottom, #62c462, #51a351);
  background-image: -moz-linear-gradient(top, #62c462, #51a351);
  background-repeat: repeat-x;
  border-color: #51a351 #51a351 #387038;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);
  filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

#mg-wrapper .btn-success:hover,
#mg-wrapper .btn-success:active,
#mg-wrapper .btn-success.active,
#mg-wrapper .btn-success.disabled,
#mg-wrapper .btn-success[disabled] {
  color: #ffffff;
  background-color: #51a351;
  *background-color: #499249;
}

#mg-wrapper .btn-success:active,
#mg-wrapper .btn-success.active {
  background-color: #408140 \9;
}

#mg-wrapper .btn-info {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #49afcd;
  *background-color: #2f96b4;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
  background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
  background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
  background-image: linear-gradient(to bottom, #5bc0de, #2f96b4);
  background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
  background-repeat: repeat-x;
  border-color: #2f96b4 #2f96b4 #1f6377;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0);
  filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

#mg-wrapper .btn-info:hover,
#mg-wrapper .btn-info:active,
#mg-wrapper .btn-info.active,
#mg-wrapper .btn-info.disabled,
#mg-wrapper .btn-info[disabled] {
  color: #ffffff;
  background-color: #2f96b4;
  *background-color: #2a85a0;
}

#mg-wrapper .btn-info:active,
#mg-wrapper .btn-info.active {
  background-color: #24748c \9;
}

#mg-wrapper .btn-inverse {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #363636;
  *background-color: #222222;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#444444), to(#222222));
  background-image: -webkit-linear-gradient(top, #444444, #222222);
  background-image: -o-linear-gradient(top, #444444, #222222);
  background-image: linear-gradient(to bottom, #444444, #222222);
  background-image: -moz-linear-gradient(top, #444444, #222222);
  background-repeat: repeat-x;
  border-color: #222222 #222222 #000000;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0);
  filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

#mg-wrapper .btn-inverse:hover,
#mg-wrapper .btn-inverse:active,
#mg-wrapper .btn-inverse.active,
#mg-wrapper .btn-inverse.disabled,
#mg-wrapper .btn-inverse[disabled] {
  color: #ffffff;
  background-color: #222222;
  *background-color: #151515;
}

#mg-wrapper .btn-inverse:active,
#mg-wrapper .btn-inverse.active {
  background-color: #080808 \9;
}

#mg-wrapper button.btn,
#mg-wrapper input[type="submit"].btn {
  *padding-top: 3px;
  *padding-bottom: 3px;
}
#mg-wrapper button.btn i {
	height: 24px;
	line-height: 24px!important;	
}

#mg-wrapper button.btn::-moz-focus-inner,
#mg-wrapper input[type="submit"].btn::-moz-focus-inner {
  padding: 0;
  border: 0;
}

#mg-wrapper button.btn.btn-large,
#mg-wrapper input[type="submit"].btn.btn-large {
  *padding-top: 7px;
  *padding-bottom: 7px;
}

#mg-wrapper button.btn.btn-small,
#mg-wrapper input[type="submit"].btn.btn-small {
  *padding-top: 3px;
  *padding-bottom: 3px;
}

#mg-wrapper button.btn.btn-mini,
#mg-wrapper input[type="submit"].btn.btn-mini {
  *padding-top: 1px;
  *padding-bottom: 1px;
}

#mg-wrapper .btn-link,
#mg-wrapper .btn-link:active,
#mg-wrapper .btn-link[disabled] {
  background-color: transparent;
  background-image: none;
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
}

#mg-wrapper .btn-link {
  color: #296dcb;
  cursor: pointer;
  border-color: transparent;
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

#mg-wrapper .btn-link:hover {
  color: #005580;
  text-decoration: underline;
  background-color: transparent;
}

#mg-wrapper .btn-link[disabled]:hover {
  color: #333333;
  text-decoration: none;
}

#mg-wrapper .btn-group {
  position: relative;
  *margin-left: .3em;
  font-size: 0;
  white-space: nowrap;
  vertical-align: middle;
}

#mg-wrapper .btn-group:first-child {
  *margin-left: 0;
}

#mg-wrapper .btn-group + .btn-group {
  margin-left: 5px;
}

#mg-wrapper .btn-toolbar {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 0;
}

#mg-wrapper .btn-toolbar .btn-group {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */

  *zoom: 1;
}

#mg-wrapper .btn-toolbar .btn + .btn,
#mg-wrapper .btn-toolbar .btn-group + .btn,
#mg-wrapper .btn-toolbar .btn + .btn-group {
  margin-left: 5px;
}

#mg-wrapper .btn-group > .btn {
  position: relative;
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

#mg-wrapper .btn-group > .btn + .btn {
  margin-left: -1px;
}

#mg-wrapper .btn-group > .btn,
#mg-wrapper .btn-group > .dropdown-menu {
  font-size: 12px;
}

#mg-wrapper .btn-group > .btn-mini {
  font-size: 11px;
}

#mg-wrapper .btn-group > .btn-small {
  font-size: 12px;
}

#mg-wrapper .btn-group > .btn-large {
  font-size: 16px;
}

#mg-wrapper .btn-group > .btn:first-child {
  margin-left: 0;
  -webkit-border-bottom-left-radius: 2px;
          border-bottom-left-radius: 2px;
  -webkit-border-top-left-radius: 2px;
          border-top-left-radius: 2px;
  -moz-border-radius-bottomleft: 2px;
  -moz-border-radius-topleft: 2px;
}

#mg-wrapper .btn-group > .btn:last-child,
#mg-wrapper .btn-group > .dropdown-toggle {
  -webkit-border-top-right-radius: 2px;
          border-top-right-radius: 2px;
  -webkit-border-bottom-right-radius: 2px;
          border-bottom-right-radius: 2px;
  -moz-border-radius-topright: 2px;
  -moz-border-radius-bottomright: 2px;
}

#mg-wrapper .btn-group > .btn.large:first-child {
  margin-left: 0;
  -webkit-border-bottom-left-radius: 6px;
          border-bottom-left-radius: 6px;
  -webkit-border-top-left-radius: 6px;
          border-top-left-radius: 6px;
  -moz-border-radius-bottomleft: 6px;
  -moz-border-radius-topleft: 6px;
}

#mg-wrapper .btn-group > .btn.large:last-child,
#mg-wrapper .btn-group > .large.dropdown-toggle {
  -webkit-border-top-right-radius: 6px;
          border-top-right-radius: 6px;
  -webkit-border-bottom-right-radius: 6px;
          border-bottom-right-radius: 6px;
  -moz-border-radius-topright: 6px;
  -moz-border-radius-bottomright: 6px;
}

#mg-wrapper .btn-group > .btn:hover,
#mg-wrapper .btn-group > .btn:focus,
#mg-wrapper .btn-group > .btn:active,
#mg-wrapper .btn-group > .btn.active {
  z-index: 2;
}

#mg-wrapper .btn-group .dropdown-toggle:active,
#mg-wrapper .btn-group.open .dropdown-toggle {
  outline: 0;
}

#mg-wrapper .btn-group > .btn + .dropdown-toggle {
  *padding-top: 5px;
  padding-right: 8px;
  *padding-bottom: 5px;
  padding-left: 8px;
  -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

#mg-wrapper .btn-group > .btn-mini + .dropdown-toggle {
  *padding-top: 2px;
  padding-right: 5px;
  *padding-bottom: 2px;
  padding-left: 5px;
}

#mg-wrapper .btn-group > .btn-small + .dropdown-toggle {
  *padding-top: 5px;
  *padding-bottom: 4px;
}

#mg-wrapper .btn-group > .btn-large + .dropdown-toggle {
  *padding-top: 7px;
  padding-right: 12px;
  *padding-bottom: 7px;
  padding-left: 12px;
}

#mg-wrapper .btn-group.open .dropdown-toggle {
  background-image: none;
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}

#mg-wrapper .btn-group.open .btn.dropdown-toggle {
  background-color: #e6e6e6;
}

#mg-wrapper .btn-group.open .btn-primary.dropdown-toggle {
  background-color: #235eaf;
}

#mg-wrapper .btn-group.open .btn-warning.dropdown-toggle {
  background-color: #f89406;
}

#mg-wrapper .btn-group.open .btn-danger.dropdown-toggle {
  background-color: #bd362f;
}

#mg-wrapper .btn-group.open .btn-success.dropdown-toggle {
  background-color: #51a351;
}

#mg-wrapper .btn-group.open .btn-info.dropdown-toggle {
  background-color: #2f96b4;
}

#mg-wrapper .btn-group.open .btn-inverse.dropdown-toggle {
  background-color: #222222;
}

#mg-wrapper .btn .caret {
  margin-top: 8px;
  margin-left: 0;
}

#mg-wrapper .btn-mini .caret,
#mg-wrapper .btn-small .caret,
#mg-wrapper .btn-large .caret {
  margin-top: 6px;
}

#mg-wrapper .btn-large .caret {
  border-top-width: 5px;
  border-right-width: 5px;
  border-left-width: 5px;
}

#mg-wrapper .dropup .btn-large .caret {
  border-top: 0;
  border-bottom: 5px solid #000000;
}

#mg-wrapper .btn-primary .caret,
#mg-wrapper .btn-warning .caret,
#mg-wrapper .btn-danger .caret,
#mg-wrapper .btn-info .caret,
#mg-wrapper .btn-success .caret,
#mg-wrapper .btn-inverse .caret {
  border-top-color: #ffffff;
  border-bottom-color: #ffffff;
}

#mg-wrapper .btn-group-vertical {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */

  *zoom: 1;
}

#mg-wrapper .btn-group-vertical .btn {
  display: block;
  float: none;
  width: 100%;
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

#mg-wrapper .btn-group-vertical .btn + .btn {
  margin-top: -1px;
  margin-left: 0;
}

#mg-wrapper .btn-group-vertical .btn:first-child {
  -webkit-border-radius: 2px 4px 0 0;
     -moz-border-radius: 2px 4px 0 0;
          border-radius: 2px 4px 0 0;
}

#mg-wrapper .btn-group-vertical .btn:last-child {
  -webkit-border-radius: 0 0 4px 4px;
     -moz-border-radius: 0 0 4px 4px;
          border-radius: 0 0 4px 4px;
}

#mg-wrapper .btn-group-vertical .btn-large:first-child {
  -webkit-border-radius: 6px 6px 0 0;
     -moz-border-radius: 6px 6px 0 0;
          border-radius: 6px 6px 0 0;
}

#mg-wrapper .btn-group-vertical .btn-large:last-child {
  -webkit-border-radius: 0 0 6px 6px;
     -moz-border-radius: 0 0 6px 6px;
          border-radius: 0 0 6px 6px;
}

#mg-wrapper .alert {
  padding: 8px 35px 8px 14px;
  margin-bottom: 20px;
  color: #c09853;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  background-color: #fcf8e3;
  border: 1px solid #fbeed5;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
}

#mg-wrapper .alert h4 {
  margin: 0;
}

#mg-wrapper .alert .close {
  position: relative;
  top: -2px;
  right: -21px;
  line-height: 20px;
}

#mg-wrapper .alert-success {
  color: #468847;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

#mg-wrapper .alert-danger,
#mg-wrapper .alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

#mg-wrapper .alert-info {
  color: #3a87ad;
  background-color: #d9edf7;
  border-color: #bce8f1;
}

#mg-wrapper .alert-block {
  padding-top: 14px;
  padding-bottom: 14px;
}

#mg-wrapper .alert-block > p,
#mg-wrapper .alert-block > ul {
  margin-bottom: 0;
}

#mg-wrapper .alert-block p + p {
  margin-top: 5px;
}

#mg-wrapper .breadcrumb {
  padding: 8px 15px;
  margin: 0 0 20px;
  list-style: none;
  background-color: #f5f5f5;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
}

#mg-wrapper .breadcrumb li {
  display: inline-block;
  *display: inline;
  text-shadow: 0 1px 0 #ffffff;
  *zoom: 1;
}

#mg-wrapper .breadcrumb .divider {
  padding: 0 5px;
  color: #ccc;
}

#mg-wrapper .breadcrumb .active {
  color: #999999;
}

#mg-wrapper .pagination {
  height: 40px;
  margin: 20px 0;
}

#mg-wrapper .pagination ul {
  display: inline-block;
  *display: inline;
  margin-bottom: 0;
  margin-left: 0;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
  *zoom: 1;
}

#mg-wrapper .pagination ul > li {
  display: inline;
}

#mg-wrapper .pagination ul > li > a,
#mg-wrapper .pagination ul > li > span {
  float: left;
  padding: 0 14px;
  line-height: 28px;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-left-width: 0;
}

#mg-wrapper .pagination ul > li > a:hover,
#mg-wrapper .pagination ul > .active > a,
#mg-wrapper .pagination ul > .active > span {
  background-color: #f5f5f5;
}

#mg-wrapper .pagination ul > .active > a,
#mg-wrapper .pagination ul > .active > span {
  color: #999999;
  cursor: default;
}

#mg-wrapper .pagination ul > .disabled > span,
#mg-wrapper .pagination ul > .disabled > a,
#mg-wrapper .pagination ul > .disabled > a:hover {
  color: #999999;
  cursor: default;
  background-color: transparent;
}

#mg-wrapper .pagination ul > li:first-child > a,
#mg-wrapper .pagination ul > li:first-child > span {
  border-left-width: 1px;
  -webkit-border-radius: 3px 0 0 3px;
     -moz-border-radius: 3px 0 0 3px;
          border-radius: 3px 0 0 3px;
}

#mg-wrapper .pagination ul > li:last-child > a,
#mg-wrapper .pagination ul > li:last-child > span {
  -webkit-border-radius: 0 3px 3px 0;
     -moz-border-radius: 0 3px 3px 0;
          border-radius: 0 3px 3px 0;
}

#mg-wrapper .pagination-centered {
  text-align: center;
}

#mg-wrapper .pagination-right {
  text-align: right;
}

#mg-wrapper .pager {
  margin: 20px 0;
  text-align: center;
  list-style: none;
  *zoom: 1;
}

#mg-wrapper .pager:before,
#mg-wrapper .pager:after {
  display: table;
  line-height: 0;
  content: "";
}

#mg-wrapper .pager:after {
  clear: both;
}

#mg-wrapper .pager li {
  display: inline;
}

#mg-wrapper .pager a,
#mg-wrapper .pager span {
  display: inline-block;
  padding: 5px 14px;
  background-color: #fff;
  border: 1px solid #ddd;
  -webkit-border-radius: 15px;
     -moz-border-radius: 15px;
          border-radius: 15px;
}

#mg-wrapper .pager a:hover {
  text-decoration: none;
  background-color: #f5f5f5;
}

#mg-wrapper .pager .next a,
#mg-wrapper .pager .next span {
  float: right;
}

#mg-wrapper .pager .previous a {
  float: left;
}

#mg-wrapper .pager .disabled a,
#mg-wrapper .pager .disabled a:hover,
#mg-wrapper .pager .disabled span {
  color: #999999;
  cursor: default;
  background-color: #fff;
}

.tooltip {
  position: absolute;
  z-index: 1030;
  display: block;
  padding: 5px;
  font-size: 11px;
  opacity: 0;
  filter: alpha(opacity=0);
  visibility: visible;
}

.tooltip.in {
  opacity: 0.8;
  filter: alpha(opacity=80);
}

.tooltip.top {
  margin-top: -3px;
}


.tooltip.right {
  margin-left: 3px;
}

.tooltip.bottom {
  margin-top: 3px;
}

.tooltip.left {
  margin-left: -3px;
}

.tooltip-inner {
  max-width: 200px;
  padding: 3px 8px;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  background-color: #000000;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
}

.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-top-color: #000000;
  border-width: 5px 5px 0;
}

.tooltip.right .tooltip-arrow {
  top: 50%;
  left: 0;
  margin-top: -5px;
  border-right-color: #000000;
  border-width: 5px 5px 5px 0;
}

.tooltip.left .tooltip-arrow {
  top: 50%;
  right: 0;
  margin-top: -5px;
  border-left-color: #000000;
  border-width: 5px 0 5px 5px;
}

.tooltip.bottom .tooltip-arrow {
  top: 0;
  left: 50%;
  margin-left: -5px;
  border-bottom-color: #000000;
  border-width: 0 5px 5px;
}

#mg-wrapper .popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1010;
  display: none;
  width: 236px;
  padding: 1px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
     -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
          box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -webkit-background-clip: padding-box;
     -moz-background-clip: padding;
          background-clip: padding-box;
}

#mg-wrapper .popover.top {
  margin-bottom: 10px;
}

#mg-wrapper .popover.right {
  margin-left: 10px;
}

#mg-wrapper .popover.bottom {
  margin-top: 10px;
}

#mg-wrapper .popover.left {
  margin-right: 10px;
}

#mg-wrapper .popover-title {
  padding: 8px 14px;
  margin: 0;
  font-size: 12px;
  font-weight: normal;
  line-height: 18px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  -webkit-border-radius: 5px 5px 0 0;
     -moz-border-radius: 5px 5px 0 0;
          border-radius: 5px 5px 0 0;
}

#mg-wrapper .popover-content {
  padding: 9px 14px;
}

#mg-wrapper .popover-content p,
#mg-wrapper .popover-content ul,
#mg-wrapper .popover-content ol {
  margin-bottom: 0;
}

#mg-wrapper .popover .arrow,
#mg-wrapper .popover .arrow:after {
  position: absolute;
  display: inline-block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

#mg-wrapper .popover .arrow:after {
  z-index: -1;
  content: "";
}

#mg-wrapper .popover.top .arrow {
  bottom: -10px;
  left: 50%;
  margin-left: -10px;
  border-top-color: #ffffff;
  border-width: 10px 10px 0;
}

#mg-wrapper .popover.top .arrow:after {
  bottom: -1px;
  left: -11px;
  border-top-color: rgba(0, 0, 0, 0.25);
  border-width: 11px 11px 0;
}

#mg-wrapper .popover.right .arrow {
  top: 50%;
  left: -10px;
  margin-top: -10px;
  border-right-color: #ffffff;
  border-width: 10px 10px 10px 0;
}

#mg-wrapper .popover.right .arrow:after {
  bottom: -11px;
  left: -1px;
  border-right-color: rgba(0, 0, 0, 0.25);
  border-width: 11px 11px 11px 0;
}

#mg-wrapper .popover.bottom .arrow {
  top: -10px;
  left: 50%;
  margin-left: -10px;
  border-bottom-color: #ffffff;
  border-width: 0 10px 10px;
}

#mg-wrapper .popover.bottom .arrow:after {
  top: -1px;
  left: -11px;
  border-bottom-color: rgba(0, 0, 0, 0.25);
  border-width: 0 11px 11px;
}

#mg-wrapper .popover.left .arrow {
  top: 50%;
  right: -10px;
  margin-top: -10px;
  border-left-color: #ffffff;
  border-width: 10px 0 10px 10px;
}

#mg-wrapper .popover.left .arrow:after {
  right: -1px;
  bottom: -11px;
  border-left-color: rgba(0, 0, 0, 0.25);
  border-width: 11px 0 11px 11px;
}

#mg-wrapper .thumbnails {
  margin-left: -20px;
  list-style: none;
  *zoom: 1;
}

#mg-wrapper .thumbnails:before,
#mg-wrapper .thumbnails:after {
  display: table;
  line-height: 0;
  content: "";
}

#mg-wrapper .thumbnails:after {
  clear: both;
}

#mg-wrapper .row-fluid .thumbnails {
  margin-left: 0;
}

#mg-wrapper .thumbnails > li {
  float: left;
  margin-bottom: 20px;
  margin-left: 20px;
}

#mg-wrapper .thumbnail {
  display: block;
  padding: 4px;
  line-height: 20px;
  border: 1px solid #ddd;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
     -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
  -webkit-transition: all 0.2s ease-in-out;
     -moz-transition: all 0.2s ease-in-out;
       -o-transition: all 0.2s ease-in-out;
          transition: all 0.2s ease-in-out;
}

#mg-wrapper a.thumbnail:hover {
  border-color: #296dcb;
  -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
     -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
          box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}

#mg-wrapper .thumbnail > img {
  display: block;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

#mg-wrapper .thumbnail .caption {
  padding: 9px;
  color: #555555;
}

#mg-wrapper .label,
#mg-wrapper .badge {
  font-size: 11.844px;
  font-weight: bold;
  line-height: 14px;
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  vertical-align: baseline;
  background-color: #999999;
}

#mg-wrapper .label {
  padding: 1px 4px 2px;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
}

#mg-wrapper .badge {
  padding: 1px 9px 2px;
  -webkit-border-radius: 9px;
     -moz-border-radius: 9px;
          border-radius: 9px;
}

#mg-wrapper a.label:hover,
#mg-wrapper a.badge:hover {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

#mg-wrapper .label-important,
#mg-wrapper .badge-important {
  background-color: #b94a48;
}

#mg-wrapper .label-important[href],
#mg-wrapper .badge-important[href] {
  background-color: #953b39;
}

#mg-wrapper .label-warning,
#mg-wrapper .badge-warning {
  background-color: #f89406;
}

#mg-wrapper .label-warning[href],
#mg-wrapper .badge-warning[href] {
  background-color: #c67605;
}

#mg-wrapper .label-success,
#mg-wrapper .badge-success {
  background-color: #468847;
}

#mg-wrapper .label-success[href],
#mg-wrapper .badge-success[href] {
  background-color: #356635;
}

#mg-wrapper .label-info,
#mg-wrapper .badge-info {
  background-color: #3a87ad;
}

#mg-wrapper .label-info[href],
#mg-wrapper .badge-info[href] {
  background-color: #2d6987;
}

#mg-wrapper .label-inverse,
#mg-wrapper .badge-inverse {
  background-color: #333333;
}

#mg-wrapper .label-inverse[href],
#mg-wrapper .badge-inverse[href] {
  background-color: #1a1a1a;
}

#mg-wrapper .btn .label,
#mg-wrapper .btn .badge {
  position: relative;
  top: -1px;
}

#mg-wrapper .btn-mini .label,
#mg-wrapper .btn-mini .badge {
  top: 0;
}

#mg-wrapper @-webkit-keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }
#mg-wrapper   to {
    background-position: 0 0;
  }
}

#mg-wrapper @-moz-keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }
#mg-wrapper   to {
    background-position: 0 0;
  }
}

#mg-wrapper @-ms-keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }
#mg-wrapper   to {
    background-position: 0 0;
  }
}

#mg-wrapper @-o-keyframes progress-bar-stripes {
  from {
    background-position: 0 0;
  }
#mg-wrapper   to {
    background-position: 40px 0;
  }
}

#mg-wrapper @keyframes progress-bar-stripes {
  from {
    background-position: 40px 0;
  }
#mg-wrapper   to {
    background-position: 0 0;
  }
}

#mg-wrapper .progress {
  height: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  background-color: #f7f7f7;
  background-image: -moz-linear-gradient(top, #f5f5f5, #dee0e5);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#dee0e5));
  background-image: -webkit-linear-gradient(top, #f5f5f5, #dee0e5);
  background-image: -o-linear-gradient(top, #f5f5f5, #dee0e5);
  background-image: linear-gradient(to bottom, #f5f5f5, #dee0e5);
  background-repeat: repeat-x;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffdee0e5', GradientType=0);
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
     -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
          box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

#mg-wrapper .progress .bar {
  float: left;
  width: 0;
  height: 100%;
  font-size: 12px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #0e90d2;
  background-image: -moz-linear-gradient(top, #149bdf, #0480be);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
  background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
  background-image: -o-linear-gradient(top, #149bdf, #0480be);
  background-image: linear-gradient(to bottom, #149bdf, #0480be);
  background-repeat: repeat-x;
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0);
  -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
     -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
          box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: width 0.6s ease;
     -moz-transition: width 0.6s ease;
       -o-transition: width 0.6s ease;
          transition: width 0.6s ease;
}

#mg-wrapper .progress .bar + .bar {
  -webkit-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
     -moz-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
          box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

#mg-wrapper .progress-striped .bar {
  background-color: #149bdf;
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  -webkit-background-size: 40px 40px;
     -moz-background-size: 40px 40px;
       -o-background-size: 40px 40px;
          background-size: 40px 40px;
}

#mg-wrapper .progress.active .bar {
  -webkit-animation: progress-bar-stripes 2s linear infinite;
     -moz-animation: progress-bar-stripes 2s linear infinite;
      -ms-animation: progress-bar-stripes 2s linear infinite;
       -o-animation: progress-bar-stripes 2s linear infinite;
          animation: progress-bar-stripes 2s linear infinite;
}

#mg-wrapper .progress-danger .bar,
#mg-wrapper .progress .bar-danger {
  background-color: #dd514c;
  background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));
  background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
  background-image: linear-gradient(to bottom, #ee5f5b, #c43c35);
  background-repeat: repeat-x;
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0);
}

#mg-wrapper .progress-danger.progress-striped .bar,
#mg-wrapper .progress-striped .bar-danger {
  background-color: #ee5f5b;
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

#mg-wrapper .progress-success .bar,
#mg-wrapper .progress .bar-success {
  background-color: #5eb95e;
  background-image: -moz-linear-gradient(top, #62c462, #57a957);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));
  background-image: -webkit-linear-gradient(top, #62c462, #57a957);
  background-image: -o-linear-gradient(top, #62c462, #57a957);
  background-image: linear-gradient(to bottom, #62c462, #57a957);
  background-repeat: repeat-x;
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0);
}

#mg-wrapper .progress-success.progress-striped .bar,
#mg-wrapper .progress-striped .bar-success {
  background-color: #62c462;
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

#mg-wrapper .progress-info .bar,
#mg-wrapper .progress .bar-info {
  background-color: #4bb1cf;
  background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));
  background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);
  background-image: -o-linear-gradient(top, #5bc0de, #339bb9);
  background-image: linear-gradient(to bottom, #5bc0de, #339bb9);
  background-repeat: repeat-x;
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0);
}

#mg-wrapper .progress-info.progress-striped .bar,
#mg-wrapper .progress-striped .bar-info {
  background-color: #5bc0de;
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

#mg-wrapper .progress-warning .bar,
#mg-wrapper .progress .bar-warning {
  background-color: #faa732;
  background-image: -moz-linear-gradient(top, #fbb450, #f89406);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
  background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
  background-image: -o-linear-gradient(top, #fbb450, #f89406);
  background-image: linear-gradient(to bottom, #fbb450, #f89406);
  background-repeat: repeat-x;
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);
}

#mg-wrapper .progress-warning.progress-striped .bar,
#mg-wrapper .progress-striped .bar-warning {
  background-color: #fbb450;
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

#mg-wrapper .accordion {
  margin-bottom: 20px;
}

#mg-wrapper .accordion-group {
  margin-bottom: 2px;
  border: 1px solid #e5e5e5;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
}

#mg-wrapper .accordion-heading {
  border-bottom: 0;
}

#mg-wrapper .accordion-heading .accordion-toggle {
  display: block;
  padding: 8px 15px;
}

#mg-wrapper .accordion-toggle {
  cursor: pointer;
}

#mg-wrapper .accordion-inner {
  padding: 9px 15px;
  border-top: 1px solid #e5e5e5;
}

#mg-wrapper .carousel {
  position: relative;
  margin-bottom: 20px;
  line-height: 1;
}

#mg-wrapper .carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#mg-wrapper .carousel .item {
  position: relative;
  display: none;
  -webkit-transition: 0.6s ease-in-out left;
     -moz-transition: 0.6s ease-in-out left;
       -o-transition: 0.6s ease-in-out left;
          transition: 0.6s ease-in-out left;
}

#mg-wrapper .carousel .item > img {
  display: block;
  line-height: 1;
}

#mg-wrapper .carousel .active,
#mg-wrapper .carousel .next,
#mg-wrapper .carousel .prev {
  display: block;
}

#mg-wrapper .carousel .active {
  left: 0;
}

#mg-wrapper .carousel .next,
#mg-wrapper .carousel .prev {
  position: absolute;
  top: 0;
  width: 100%;
}

#mg-wrapper .carousel .next {
  left: 100%;
}

#mg-wrapper .carousel .prev {
  left: -100%;
}

#mg-wrapper .carousel .next.left,
#mg-wrapper .carousel .prev.right {
  left: 0;
}

#mg-wrapper .carousel .active.left {
  left: -100%;
}

#mg-wrapper .carousel .active.right {
  left: 100%;
}

#mg-wrapper .carousel-control {
  position: absolute;
  top: 40%;
  left: 15px;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  font-size: 60px;
  font-weight: 100;
  line-height: 30px;
  color: #ffffff;
  text-align: center;
  background: #222222;
  border: 3px solid #ffffff;
  -webkit-border-radius: 23px;
     -moz-border-radius: 23px;
          border-radius: 23px;
  opacity: 0.5;
  filter: alpha(opacity=50);
}

#mg-wrapper .carousel-control.right {
  right: 15px;
  left: auto;
}

#mg-wrapper .carousel-control:hover {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  filter: alpha(opacity=90);
}

#mg-wrapper .carousel-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 15px;
  background: #333333;
  background: rgba(0, 0, 0, 0.75);
}

#mg-wrapper .carousel-caption h4,
#mg-wrapper .carousel-caption p {
  line-height: 20px;
  color: #ffffff;
}

#mg-wrapper .carousel-caption h4 {
  margin: 0 0 5px;
}

#mg-wrapper .carousel-caption p {
  margin-bottom: 0;
}

#mg-wrapper .hero-unit {
  padding: 60px;
  margin-bottom: 30px;
  background-color: #eeeeee;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
}

#mg-wrapper .hero-unit h1 {
  margin-bottom: 0;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -1px;
  color: inherit;
}

#mg-wrapper .hero-unit p {
  font-size: 18px;
  font-weight: 200;
  line-height: 30px;
  color: inherit;
}

#mg-wrapper .pull-right {
  float: right;
}

#mg-wrapper .pull-left {
  float: left;
}

#mg-wrapper .hide {
  display: none;
}

#mg-wrapper .show {
  display: block;
}

#mg-wrapper .invisible {
  visibility: hidden;
}

#mg-wrapper .affix {
  position: fixed;
}
