/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritence from `body` */
  background-color: #fff;
  border: 1px solid #fff;
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #333;
}
body {
  color: #fff;
  text-align: left;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);

}
nav {
  width:100%;
    background: rgb(51,51,51); /*Fall back for old browsers*/
    background-color: rgba(51,51,51,.2);
    filter:alpha(opacity=20);
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

/* Padding for spacing */
.inner {
  padding: 30px;
}

/*
 * Header
 */
.masthead-brand {
  margin-top: 20px;
  margin-bottom: 20px;
  padding-left: 12.5%;
  float:left;
}

.masthead-nav > li {
  display: inline-block;
}
.masthead-nav > li + li {
  margin-left: 20px;
}
.masthead-nav > li > a {
  padding-right: 0;
  padding-left: 0;
  font-size: 16px;
  font-weight: bold;
  color: #fff; /* IE8 proofing */
  color: rgba(255,255,255,.75);
  border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
  background-color: transparent;
  border-bottom-color: rgba(255,255,255,.50);
}

.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
  color: #fff;
  border-bottom-color: #fff;
}
@media (min-width: 768px) {
  .masthead-brand {
    float: left;
  }
  .masthead-nav {
    float: right;
  }
}
.dropdown-menu
{
  color: #fff;
  background: transparent;
  min-width:0;
  padding: 5px 10px;
  margin: 2px -20px;
}
.dropdown-menu>li>a,
.dropdown-menu>li>a:focus{
  background-image: none;
  padding-right: 0;
  padding: 10px 0px;
  padding-left: 0;
  font-size: 16px;
  font-weight: bold;
  color: #fff; /* IE8 proofing */
  color: rgba(255,255,255,.75);
  border-bottom: 2px solid transparent;
  }
.dropdown-menu>li>a:hover{
  background-image: none;
  background-color: transparent;
  color: #fff; /* IE8 proofing */
  color: rgba(255,255,255,.85);
  border-bottom: 2px solid transparent;
  border-bottom-color: #fff;
  border-bottom-color: rgba(255,255,255,.50);
}
.nav .open>a, .nav .open>a:hover, .nav .open>a:focus {
background-color: rgba(238, 238, 238, 0);
border-color: #fff;
border-color: rgba(255,255,255,.50);
}
/*
 * Cover
 */

.cover {
  padding: 0 10px;
}
.cover .btn-lg {
  padding: 10px 20px;
  font-weight: bold;
}


/*
 * Footer
 */

.mastfoot {
  color: #999; /* IE8 proofing */
  color: rgba(255,255,255,.5);
}


/*
 * Affix and center
 */

@media screen and (max-width: 992px) {
  /* Pull out the header and footer */
  .masthead {
    position: fixed;
    top: 0;
    z-index: +1000;
        background-color: rgb(51,51,51);
    background-color: rgba(51,51,51,.7);
    margin-bottom: 20%;

  }
  .mastfoot {
    position: fixed;
    bottom: 0;
  }
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
  }
  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
  .content{
    padding-top: 20px;
    height:400px;
    overflow-y:auto;
    overflow-x:none;
  }
}

@media (min-width: 768px) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 80%;
  }
}
/*
* Elements
*/
.cursor{
  opacity: 1;
  font-weight: 100;
  // add prefixes
  animation: blink 0.5s infinite;
}

@-keyframes blink{
  0% { opacity:1; }
  50% { opacity:0; }
  100% { opacity:1; }
}
.well {
  color:black;
}
.well> h1 {
  color:#2A4E6C;
}
.mainbody {
  padding-top:5%;
}
.nav-dropdown{
  padding-right: 0;
  padding-left: 0;
  font-size: 16px;
  font-weight: bold;
  color: #fff; /* IE8 proofing */
  color: rgba(255,255,255,.75);
  border-bottom: 2px solid transparent;
}
/* Bootstrap changes */
.panel {
  background-color:transparent;
  border-bottom: 2px solid transparent;
  border-bottom-color: #fff;
  border-bottom-color: rgba(255,255,255,.50);


}
.panel-primary>.panel-heading {
 background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);
  background-color: transparent;
  border-bottom: 2px solid transparent;
  border-bottom-color: #fff;
  border-bottom-color: rgba(255,255,255,.50);
}


.nav-pills>li.active>a,
.nav-pills>li.active>a:hover,
.nav-pills>li.active>a:focus
{
  color:#fff;
  background-color:#91807C;
  border:none;
  cursor:default;
    font-size: 14px;
  font-weight: bold;
}
.nav-pills>li>a,
.nav-pills>li>a:hover,
.nav-pills>li>a:focus
{
  font-size: 14px;
  font-weight: bold;
}
.list-group-item {
  background-color:#50738D;
  border:none;
  color:#fff;
}


a.list-group-item {
  color:#fff;
} 
a.list-group-item:hover,
a.list-group-item:focus {
  background-color:#678da9;
}
a.current .list-group-item:hover,
a.current .list-group-item:focus {
  background-color:#b87067;
}
a.list-group-item .list-group-item-heading {
  color:#fff;
}
a.list-group-item .list-group-item-text {
  color:#DBDBDB;
}
/* Custom Elements */
.current{
  background-color:#A1554B;
}
.list-group-item.accordion-toggle.current:hover{
  background-color:#b87067;
}
.box {
  border-bottom-right-radius:5px;
border-bottom-left-radius: 5px; 
border-top-left-radius: 5px; 
border-top-right-radius: 5px; 
padding: 5px;

}
/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all .25s ease-out;
       -moz-transition: all .25s ease-out;
            transition: all .25s ease-out;
  }

  .row-offcanvas-right {
    right: 0;
  }

  .row-offcanvas-left {
    left: 0;
  }

  .row-offcanvas-right
  .sidebar-offcanvas {
    right: -50%; /* 6 columns */
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -50%; /* 6 columns */
  }

  .row-offcanvas-right.active {
    right: 50%; /* 6 columns */
  }

  .row-offcanvas-left.active {
    left: 50%; /* 6 columns */
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 50%; /* 6 columns */
  }
}