/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-bottom: 40px;
  color: #5a5a5a;
}


/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */
.wk-slideshow {
    max-width: 100%;
	max-height: 560px;
    height: auto;
}
.row.featurette {
    display: contents;
}

li#current {
    background: #4faf42;
}

.cerca{
width: 300px;
    margin-top: -40px;
    margin-right: 30px;
    float: right;
}
.login{
  width:210px;

  float:right;
}
.utente{
	position: absolute;
float: right;
    z-index: 1000;
}
.carrello{
width: 250px;
    position: absolute;
    margin-left: 200px;
}

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  right: 0;
  left: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
  height:35px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
/* Carousel base class */
.carousel {

top:0;
  height: 400px;
  margin-bottom: 50px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption{
  z-index: 10;
  top:80px;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 400px;
  margin:0;
  padding:0;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 400px;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 0px;
  text-align: center;

}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}


/* RESPONSIVE CSS
-------------------------------------------------- */
/* Large desktop */
@media (min-width: 1000px) {

}


@media (min-width: 768px) {
  /* Navbar positioning foo */
  .navbar-wrapper {

  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;

 -moz-border-radius: 4px;
 -webkit-border-radius: 4px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 0px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
  
  .carousel {
	  width: 100%;
	  height: auto;
}
  /* Carousel base class */
.carousel .item {
  height: 450px;
}

.carousel-inner > .item > img {
	width: 100%;
  height: auto;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption{
  top:20px;
}
.set {
display: block !important;
}
@media (max-width: 767px) {
  /* for mobile device */
  .carousel {
  height: auto;
}
  /* Carousel base class */
.carousel .item {
  height: auto;
}

.carousel-inner > .item > img {
  height: auto;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption{
  top:5px;
}
}

@media (min-width: 992px) {
  .featurette-heading {
   /* margin-top: 120px;*/
  }
}

.dgnx-logo{

width:300px;
height:56px;
display: block;
margin-left: auto;
margin-right: auto;

}
.dgnx-cerca{
padding-right: 15px;
width:201px;
height:50px;

}
.top1{
padding-left: 1.5%;
width: 70%;
float: left;
padding-bottom: 30px;
}

.top2{
padding-right: 15px;
padding-left: 15px;
width: 20%;
display: inline-table;

}
.dgnx-callus {
*margin-top: 7px;
padding:0;
float:right;
position:relative;
top:0px;
*margin-bottom:-100px;
color:#000000;
*height:56px;
margin-right: 2%;

}
.dgnx-callus img{
text-align:right;
float:right;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .masthead,
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
}
.text-muted {
height:60px;
}

.img-circle{
 border-style: solid;
 border-width: 2px;
 -moz-border-radius: 50px;
 -webkit-border-radius: 50px;
 behavior: url(/css/border-radius.htc);
 border-radius: 50px;;
 width:200px;
}

.btn-primary {
		  color: #fff;
}

.navbar-form input, .form-inline input {
	width:auto;
}

header {
	height:80px;
}

#nav.affix {
    position: fixed;
    top: 0;
    width: 100%;
    z-index:10;
}
