/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

a {
color: #666;
}

a:hover{
text-decoration:none;
color:#3399CC;
}

body {
  /*padding-bottom: 40px;*/
  color: #5a5a5a;
}


.err{
	border:solid 1px #fa0 !important;
}

.title{
	font-size:24px;
}

.top{
	padding:10px 0px;
	background:url(../images/bg-header.jpg);
}

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
 
}


.navbar-wrapper .navbar {
 background:url(../images/bg-header.jpg);
  border:none;
 border-radius: 0px;
 font-weight:bold;
 font-size:13px;
 margin-bottom:0px;
 
}

.navbar-wrapper .nav {
/*background:#eee;
-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);
box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)*/
}


.nav li{
/*border-right:solid 1px #ccc;*/
}
.nav li a{
	color:#fff !important;
}

.nav li a:hover{
	color:#666;
}

.navbar-wrapper .nav .dropdown:hover{
	background:#333;
	border:none;
}

.navbar-wrapper .nav .dropdown .dropdown-menu{
	background:#333;
	border:none;
}

.navbar-wrapper .nav .dropdown .dropdown-menu li a{
	padding:8px;
	color:#333;
}

.navbar-wrapper .nav .dropdown .dropdown-menu li a:hover{
	background:#222;
}


.radius1{
	border-radius:4px;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  padding:0px 0px;
  height:450px;
}
.carousel-inner > .item > img {
  width:100%;
  margin:0 auto
  
}

.carousel .carousel-control{
	background:none;
}


.carousel-caption {
  position: absolute;
  left: 15%;
  bottom:auto;
  top:30%;
  z-index: 10;
  padding:20px;
  color: #fff;
  text-align: left;
  width:400px;
  background-color: rgba(35,36,93,0.65);
  border-radius:4px;
 
}

.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td {
  border-top:none;
}


.navbar-brand{
	color:#FFFFFF !important;
	height:auto !important;
}
/* middle
-------------------------------------------------- */

/* Pad the edges of the mobile views a bit */
.middle {
  padding-right: 15px;
  padding-left: 15px;
  padding-top:15px;
}

.title-bar{
	background-color:#fafafa;
	padding:10px 15px;
	border-radius:4px 4px 0px 0px;
}

.title-bar .title{
	font-size:18px;
}

/* Center align the text within the three columns below the carousel */
.middle .col-lg-4, .middle .col-lg-3 {
  margin-bottom: 20px;
  text-align: center;
}
.middle h2 {
  font-weight: normal;
}
.middle .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}


/* Featurettes
------------------------- */

.main-divider {
  /*margin: 80px 0;  Space out the Bootstrap <hr> more */
  margin:50px 0;
}

/* Thin out headings */
.main-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}



/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 192px) {
  .navbar-wrapper .navbar .collapse{
		border:none;
  	}
	
	.navbar-wrapper .navbar .collapse .nav{
		border-radius:0px;
  	}
	.pull-right {
		float:none !important;
	}
	
	.carousel .item {
	  padding: 0px 0px;
	  height: 170px;
	}
}


@media (min-width: 768px) {

  /* Remove the edge padding needed for mobile */
  .middle {
    padding-right: 0;
    padding-left: 0;
  }

  /* Navbar positioning foo */
  .navbar-wrapper {
    /*margin-top: 20px;*/
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left:  15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left:  0;
  }

	.navbar-wrapper .navbar .nav{
    	margin-top: 20px;
  	}
	
	.navbar-wrapper .navbar .collapse .nav{
		border-radius:4px;
  	}
  
  /* The navbar becomes detached from the top, so we round the corners 
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }*/

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }
  
   .carousel .item {
	  padding: 0px 0px;
	  height: 330px;
	}

  .main-heading {
    font-size: 50px;
  }
  
  .pull-right {
		float:none !important;
	}
}

@media (min-width: 992px) {
  .main-heading {
    margin-top: 120px;
  }
  
  
  ul.nav li.dropdown:hover{
  	background:#eee;
	border:none;
  }
  
  ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;
  }
  
  ul.nav li.dropdown > ul.dropdown-menu {
    display:none;
  }
  
  
  .carousel .item {
	  padding: 0px 0px;
	  height: 420px;
	}
	
  .pull-right {
		float: right!important;
	}

}



  
.navbar-wrapper ._affix {
	visibility:hidden;
	font-size:18px
}

.navbar-wrapper ._affix a{
	color:#FFFFFF;
	padding:0px 10px;
}

.navbar-wrapper ._affix a{
	text-decoration:none
}

.navbar-wrapper .affix {
    position: fixed;
    top: 0px;
    width: 100%;
	background-color: rgba(85,56,93,0.95);
	padding:5px 0px;
}

.navbar-wrapper .affix ._affix {
	visibility:visible
}

.box{
	border:solid 1px #eee;
	text-align:center;
	display:block;
	padding:10px 0px;
}

.box:hover{
	text-decoration:none;
	background:#eee;
}

.circle{
	padding: 0px;
	margin: 0px 0px 0px 5px;
	width: 24px;
	height: 24px;
	text-align: center;
	border-radius: 24px;
	line-height: 22px;
	vertical-align: middle;
	background-color: #252525; color:#999
 }

.circle_wide{
	padding: 0px;
	margin:0 auto;
	width: 104px;
	height: 104px;
	text-align: center;
	border-radius: 104px;
	line-height: 104px;
	vertical-align: middle;
	border:solid #333 1px;
 }
 .yellow{
 	color:#fa0;
 }


footer{
	background:#333333;
	color:#eee;
	padding:20px 0px;
}

footer hr{
	border-color:#444;
}

footer a{
	color:#ccc;
}
footer a:hover{
	text-decoration:none;
}


.carousel .row{
	text-align:center;
}

.carousel .row .heading{
	font-size:30px;
	font-weight:bold;
	padding:2em 0 0;
}

.carousel .row .text{
	padding:1em 0;
	font-size:20px;
}
