/* nav-tabs  */
.nav-tabs .dropdown-menu {
  margin-top: -1px;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
.nav-flat > li {
  float: left;
  margin-bottom: -1px;
}
.nav-flat > li > a {
  margin-right: 2px;
  line-height: 1.42857143;
}
.nav-flat > li > a:hover {
  border-bottom: 2px solid #2a6496;
}
.nav-flat > li.active > a,
.nav-flat > li.active > a:hover,
.nav-flat > li.active > a:focus {
  border-bottom: 2px solid #428bca;
  cursor: default;
}
.nav-flat.nav-justified {
  width: 100%;
}
.nav-flat.nav-justified > li {
  float: none;
}
.nav-flat.nav-justified > li > a {
  text-align: center;
  margin-bottom: 5px;
}
.nav-flat.nav-justified > .dropdown .dropdown-menu {
  top: auto;
  left: auto;
}
@media (min-width: 768px) {
  .nav-flat.nav-justified > li {
    display: table-cell;
    width: 1%;
  }
  .nav-flat.nav-justified > li > a {
    margin-bottom: 0;
  }
}
.nav-flat.nav-justified > li > a {
  margin-right: 0;
}
.nav-flat-justified > li > a {
  margin-right: 0;
}

/* card */
.card {

  margin: 0 0 20px 0;
  background-color: #ffffff;
  border: 1px solid #d8d8d8;
  border-bottom-width: 2px;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
  -webkit-box-shadow: none;
     -moz-box-shadow: none;
          box-shadow: none;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.card .card-heading {
  padding: 0 20px;
  margin: 0;
  line-height: 40px;
  padding-top: 10px;
  text-rendering: optimizelegibility;

}

.card .card-heading.simple {
  font-size: 20px;
  font-weight: 300;
  color: #777;
  border-bottom: 1px solid #e5e5e5;
}

.card .card-heading.image img {
  display: inline-block;
  width: 46px;
  height: 46px;
  margin-right: 15px;
  vertical-align: top;
  border: 0;
  -webkit-border-radius: 50%;
     -moz-border-radius: 50%;
          border-radius: 50%;
}

.card .card-heading.image .card-heading-header {
  display: inline-block;
  vertical-align: top;
}

.card .card-heading.image .card-heading-header h3 {
  margin: 0;
  font-size: 14px;
  line-height: 16px;
  color: #262626;
}

.card .card-heading.image .card-heading-header span {
  font-size: 12px;
  color: #999999;
}

.card .card-body {
  padding: 0 20px;
  padding-bottom: 10px;
  margin-top: 20px;
}

.card .card-media {
  padding: 0 20px;
  margin: 0 -14px;
}

.card .card-media img {
  max-width: 100%;
  max-height: 100%;
}

.card .card-actions {
  min-height: 30px;
  padding: 0 20px 20px 20px;
  margin: 20px 0 0 0;
}

.card .card-comments {
  padding: 20px;
  margin: 0;
  background-color: #f8f8f8;
}

.card .card-comments .comments-collapse-toggle {
  padding: 0;
  margin: 0 20px 12px 20px;
}

.card .card-comments .comments-collapse-toggle a,
.card .card-comments .comments-collapse-toggle span {
  padding-right: 5px;
  overflow: hidden;
  font-size: 12px;
  color: #999;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-comments .media-heading {
  font-size: 13px;
  font-weight: bold;
}

.card.people {
  position: relative;
  display: inline-block;
  width: 170px;
  height: 300px;
  padding-top: 0;
  margin-left: 20px;
  overflow: hidden;
  vertical-align: top;
}

.card.people:first-child {
  margin-left: 0;
}

.card.people .card-top {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  width: 170px;
  height: 150px;
  background-color: #ffffff;
}

.card.people .card-top.green {
  background-color: #53a93f;
}

.card.people .card-top.blue {
  background-color: #427fed;
}

.card.people .card-info {
  position: absolute;
  top: 150px;
  display: inline-block;
  width: 100%;
  height: 101px;
  overflow: hidden;
  background: #ffffff;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.card.people .card-info .title {
  display: block;
  margin: 8px 14px 0 14px;
  overflow: hidden;
  font-size: 16px;
  font-weight: bold;
  line-height: 18px;
  color: #404040;
}

.card.people .card-info .desc {
  display: block;
  margin: 8px 14px 0 14px;
  overflow: hidden;
  font-size: 12px;
  line-height: 16px;
  color: #737373;
  text-overflow: ellipsis;
}

.card.people .card-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  display: inline-block;
  width: 100%;
  padding: 10px 20px;
  line-height: 29px;
  text-align: center;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.card.hovercard {
  position: relative;
  width: 240px;
  padding-top: 0;
  overflow: hidden;
  text-align: center;
  background-color: #fff;
}

.card.hovercard img {
  width: 240px;
  height: 135px;
}

.card.hovercard .avatar {
  position: relative;
  top: -40px;
  margin-bottom: -40px;
}

.card.hovercard .avatar img {
  width: 80px;
  height: 80px;
  max-width: 80px;
  max-height: 80px;
  -webkit-border-radius: 50%;
     -moz-border-radius: 50%;
          border-radius: 50%;
}

.card.hovercard .info {
  padding: 4px 8px 10px;
}

.card.hovercard .info .title {
  margin-bottom: 4px;
  font-size: 24px;
  line-height: 1;
  color: #262626;
  vertical-align: middle;
}

.card.hovercard .info .desc {
  overflow: hidden;
  font-size: 12px;
  line-height: 20px;
  color: #737373;
  text-overflow: ellipsis;
}

.card.hovercard .bottom {
  padding: 0 20px;
  margin-bottom: 17px;
}


/* offcanvas */

html,
body {
    overflow-x: hidden; /* Prevent scroll on narrow devices */
}


/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
    /* prevent body scroll when drawer opened. This doesnt work well on iOS. */
    .drawer-open {
        overflow: hidden!important;
    }

    /* canvas inner content */
    .offcanvas-inner {
        position: relative;
        left:0;
        -webkit-transition: left 0.25s ease-out;
        -moz-transition: left 0.25s ease-out;
        -o-transition: left 0.25s ease-out;
        -ms-transition: left 0.25s ease-out;
        transition: left 0.25s ease-out;
    }

    /* left drawer closed */
    .offcanvas-drawer-left,
    .offcanvas-content-left { left: -80%; }

    /* left drawer open */
    .active-left .offcanvas-drawer-left,
    .active-left .offcanvas-content-left  { left: 0; }

    /* left drawer open content */
    .active-left .offcanvas-inner,
    /* move fixed nav */
    .active-left .navbar-fixed-top {
        left: 80%;

    }

    .active-left .offcanvas-inner {
      position: absolute;
      height: 100%;
    }

    /* right drawer closed */
    .offcanvas-drawer-right,
    .offcanvas-content-right { right: -80%; }

    /* left drawer open */
    .active-right .offcanvas-drawer-right,
    .active-right .offcanvas-content-right { right: 0; }

    /* left drawer open content */
    .active-right .offcanvas-inner,
    /* move fixed nav */
    .active-right .navbar-fixed-top { left: -80%; }

    /* make sure fixed nav does not collapse */
    .drawer-open .navbar-fixed-top {
        width: 100%;
        -webkit-transition: left 0.25s ease-out;
        -moz-transition: left 0.25s ease-out;
        -o-transition: left 0.25s ease-out;
        -ms-transition: left 0.25s ease-out;
        transition: left 0.25s ease-out;
    }

    /* drawer base styles */
    .offcanvas-drawer,
    .offcanvas-content-left,
    .offcanvas-content-right {
        position: fixed;
        top: 0;
        width: 80%;
        z-index:0;
        height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        -webkit-transition: all 0.25s ease-out;
        -moz-transition: all 0.25s ease-out;
        -o-transition: all 0.25s ease-out;
        -ms-transition: all 0.25s ease-out;
        transition: all 0.25s ease-out;
    }

    /* close button */
    .offcanvas-close-btn {
        position: fixed;
        top: 0;
        width: 0%;
        z-index:1031;
        height: 100%;
        cursor: pointer;
    }

    .offcanvas-close-btn {
       background: rgba(0,0,0,0.0);
        -webkit-transition: background 0.1s 0.20s linear;
         -moz-transition: background 0.1s 0.20s linear;
          -ms-transition: background 0.1s 0.20s linear;
           -o-transition: background 0.1s 0.20s linear;
              transition: background 0.1s 0.20s linear;
    }

    .drawer-open .offcanvas-close-btn {
        background: rgba(0,0,0,0.4);
     }

    .active-left .offcanvas-close-btn { width: 20%; right: 0; }
    .active-right .offcanvas-close-btn { width: 20%; left: 0; }
}



/* custom */
html,
body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
}

body {
    background-color: #E5E5E5;
    font-family: Roboto, arial, sans-serif;
}

h1, h2, h3, h4, h5 {
    font-family: Roboto, arial, sans-serif;
    color: #777;
}


#wrap {
  min-height: 100%;
  height: auto;
  /* Negative indent footer by its height */
  margin: 0 auto -80px;
  /* Pad bottom by footer height */
  padding-bottom: 80px;
}

#footer {
  height: 60px;
  background-color: #f5f5f5;
  margin-top: 20px;
}

.chromeframe {
  background-color: #f0ad4e;
  padding: 5px 10px;
  color: #fff;
  margin-bottom: 0;
}




.page-dialog {
  max-width: 380px;

  margin: 0 auto;
  margin-top: 40px;
}


.btn-default .badge {
  color: #444;
}

.pagehead {

  padding-top: 15px;
  border-bottom: 1px solid #eee;
  border: 1px solid #d8d8d8;
  border-width: 0;
  border-bottom-width: 2px;
  border-radius: 0;
  margin-bottom: 0;
}




.pagecontent {
  padding-top:15px;
  padding-bottom:15px;
  margin-top: 15px;
  background-color: #fff;
}



.pagehead h1 {
  font-size: 1.3em;
  line-height: 1em;
  margin-top: 10px;
}

.pagehead h1 .addon {
  display:block;
  font-size: .74em;
}

.pagehead .navbar-toggle {
  border: 0;
  padding-left: 0;
  margin-right: 0;
}

.pagehead .navbar-toggle:active,
.pagehead .navbar-toggle:focus {
  border: 0;
}

.pagehead .navbar-toggle:hover,
.pagehead .navbar-toggle:focus {
  background-color: transparent;

}

.pagehead .navbar-toggle:focus {
  outline: none;
}

.pagehead .navbar-toggle .icon-bar {
  background-color: #777;
}

.offcanvas-drawer {
  background-color: #E5E5E5;
}

.offcanvas-drawer .navbar-form {
  margin-left: 0;
  margin-right: 0;
}
.offcanvas-drawer .navbar-collapse {
  max-height: none;
}


.offcanvas-drawer .navbar-collapse > .nav {
  margin-top: 50px;
}
.offcanvas-drawer .navbar-collapse > .nav > li {
  border-bottom: 1px solid #ddd;
}

.drawer-open .pagecontent.container {
  width: 1000px;
}



.pagehead .nav > li > a {
  font-size: 14px;
  font-weight: bold;
}

@media (min-width: 768px) {
  .pagehead .nav {
    margin-top: 6px;
  }
}




.text-highlight.text-success {
    background-color: #c8e5bc;
}

.text-highlight.text-warning {
    background-color: #f8efc0;
}


.jumbotron {
    background-color: #fff;
}

.well {
    border: 1px solid #d8d8d8;
    border-bottom-width: 2px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-color: #fff;
    background-image: none;
}

section {
  margin-top: 15px;

  padding-top: 30px;
  padding: 19px;
  border: 1px solid #d8d8d8;
  background-color: #ffffff;
  border-bottom-width: 2px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.loading-placeholder {
  background: transparent url('../img/loading.gif') no-repeat 50% 50%;
  min-height: 50px;
}

.loading-placeholder-message {
    background: transparent url('../img/loading.gif') no-repeat 10px 10px;
    text-align: center;
    min-height: 50px;
    padding-top: 10px;
}

.panel-narrow .panel-body {
  padding: 5px;
}

.panel-narrow .panel-footer {
  padding: 5px;
}

.fenced {
  padding: 0;
  margin-bottom: 0;
}
.fenced > li {
  border-left: 1px dotted #c7c7c7;
  float: left;
  margin-left: 5px;
  padding-left: 5px;
  list-style-type: none;

}

.fenced > li.first {
  border-left: none;
  margin-left: 0;
  padding-left: 0;
}

.panel-heading .nav-flat > li > a {
  line-height: 1.8;
  margin-top: 9px;
  padding: 0px 5px;
  font-size: .85em;
  color: #333;
}


.panel-heading .nav-flat > li.active > a {
  font-weight: bold;
  border-bottom: 1px solid #428bca;
}

.panel-heading .nav-flat > li > a:hover,
.panel-heading .nav-flat > li > a.focus {
  border-bottom: 1px solid #428bca;
}

.panel > .tab-content > .tab-pane > .table {
  margin-bottom: 0;

}

.figure1 {
  font-size: 3em;
}

.data-figure {
  margin-bottom: 0;
  text-align: right;
}
.data-figure i {
  font-size: smaller;
  color: #999;
  float: left;
  font-style: normal;
}

.blankslate {
    position: relative;
    padding: 30px;
    text-align: center;
    background-color: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.row-ribbon {

  padding: 20px;
}
.row-toolbar {
  border-bottom: 1px solid #e7e7e7; padding-bottom: 15px;

  margin-bottom: 15px;
}
.panel-body-border-top {
  border-top: 1px solid #e7e7e7;

}
