/* CSS for Docs */

@import "framework";


body{position:relative;padding-top:90px;background:#fff url(../img/grid-18px-masked.png) repeat-x 0 40px;}

section{padding-top:60px}

.jumbotron{position:relative;
  h1{margin-bottom:9px;font-size:81px;font-weight:bold;letter-spacing:-1px;line-height:1;}
  p{margin-bottom:18px;font-weight:300;}
  .btn-large{font-size:20px;font-weight:normal;padding:14px 24px;margin-right:10px;@include border-radius(6px);
    small{font-size:14px}}}

.masthead{padding-top:36px;margin-bottom:72px;
  h1,p{text-align:center;}
  h1{margin-bottom:18px;}
  p{margin-left:5%;margin-right:5%;font-size:30px;line-height:36px;}}

.subhead{padding-bottom:0;margin-bottom:9px;
  h1{font-size:54px;}}

.show-grid{margin-top:10px;margin-bottom:20px;
  [class*="span"]{background-color:#eee;text-align:center;@include border-radius(3px);min-height:40px;line-height:40px;}
  &:hover [class*="span"]{background:#ddd;}
  .show-grid{margin-top:0;margin-bottom:0;
    [class*="span"]{background-color:#ccc;}}}

.mini-layout{height:240px;margin-bottom:20px;padding:9px;border:1px solid #ddd;@include border-radius(6px);@include box-shadow(0 1px 2px rgba(0,0,0,.075));
  div {@include border-radius(3px)}
  .mini-layout-body{background-color:#dceaf4;margin:0 auto;width:70%;height:240px}}

/* Footer */
.footer{margin-top:70px;padding:40px 0;border-top:1px solid #E5E5E5;background:#f5f5f5;
  p{margin-bottom:0;color:#555;}}


/* Bootstrap code examples
-------------------------------------------------- */

/* Base class */
.bs-docs-example {
  position: relative;
  margin: 15px 0;
  padding: 39px 19px 14px;
  *padding-top: 19px;
  background-color: #fff;
  border: 1px solid #ddd;
  @include border-radius(4px);
}

/* Echo out a label for the example */
.bs-docs-example:after {
  content: "Esempio";
  position: absolute;
  top: -1px;
  left: -1px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: bold;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  color: #9da0a4;
  @include border-radius(4px 0 4px 0)
}

/* Remove spacing between an example and it's code */
.bs-docs-example + .prettyprint{margin-top:-20px;padding-top:15px;}


/* Tweak examples
------------------------- */
.bs-docs-example > p:last-child{margin-bottom:0;}

.bs-docs-example .table,
.bs-docs-example .progress,
.bs-docs-example .well,
.bs-docs-example .alert,
.bs-docs-example .hero-unit,
.bs-docs-example .pagination,
.bs-docs-example .navbar,
.bs-docs-example > .nav,
.bs-docs-example blockquote {
  margin-bottom: 5px;
}
.bs-docs-example .pagination{margin-top:0;}

.bs-navbar-top-example,
.bs-navbar-bottom-example {
  z-index: 1;
  padding: 0;
  height: 90px;
  overflow: hidden; /* cut the drop shadows off */
}
.bs-navbar-top-example .navbar-fixed-top,
.bs-navbar-bottom-example .navbar-fixed-bottom{margin-left:0;margin-right:0;}

.bs-navbar-top-example { @include border-radius(0 0 4px 4px)}
.bs-navbar-top-example:after{@include border-radius(0 4px 0 4px);top:auto;bottom:-1px;}

.bs-navbar-bottom-example { @include border-radius(4px 4px 0 0)  }
.bs-navbar-bottom-example .navbar{margin-bottom:0;}

form.bs-docs-example{padding-bottom:19px;}


/* Images */
.bs-docs-example-images img{margin:10px;display:inline-block;}


/* Tooltips */
.bs-docs-tooltip-examples{text-align:center;margin:0 0 10px;list-style:none;}
.bs-docs-tooltip-examples li{display:inline;padding:0 10px;}


/* Popovers */
.bs-docs-example-popover{padding-bottom:24px;background-color:#f9f9f9;}

.bs-docs-example-popover .popover {
  position: relative;
  display: block;
  float: left;
  width: 260px;
  margin: 20px;
}





/* Color swatches on LESS docs page
-------------------------------------------------- */
/* Sets the width of the td */
.swatch-col {
  width: 30px;
}
/* Le swatch */
.swatch {
  display: inline-block;
  width: 30px;
  height: 20px;
  margin: -6px 0;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
}
/* For white swatches, give a border */
.swatch-bordered {
  width: 28px;
  height: 18px;
  border: 1px solid #eee;
}


/* Misc 
-------------------------------------------------- */

/* Make tables spaced out a bit more */
h2 + table,
h3 + table,
h4 + table,
h2 + .row {
  margin-top: 10px;
}

pre + p{ margin-top: 20px;}

h3 code,h4 code{font-size:14px;font-weight:normal}

.forms-example form{margin:10px 0}

/* Remove bottom margin on example forms in wells */
form.well {
  padding: 14px;
}

/* Tighten up spacing */
.well hr {
  margin: 18px 0;
}

/* Fake the :focus state to demo it */
.focused {
  border-color: rgba(82,168,236,.8);
  -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
     -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
          box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
  outline: 0;
}

/* For input sizes, make them display block */
.docs-input-sizes select,
.docs-input-sizes input[type=text] {
  display: block;
  margin-bottom: 9px;
}

/* Icons
------------------------- */
.the-icons {
  margin-left: 0;
  list-style: none;
}
.the-icons li{height:32px;line-height:32px;font-size:14px;@include text-overflow()}
.the-icons li:hover i {
  font-size:22px;
}


/* Responsive table
------------------------- */
.responsive-utilities th small {
  display: block;
  font-weight: normal;
  color: #999;
}
.responsive-utilities tbody th {
  font-weight: normal;
}
.responsive-utilities td {
  text-align: center;
}
.responsive-utilities td.is-visible {
  color: #468847;
  background-color: #dff0d8 !important;
}
.responsive-utilities td.is-hidden {
  color: #ccc;
  background-color: #f9f9f9 !important;
}

/* Responsive tests
------------------------- */
.responsive-utilities-test {
  margin-top: 5px;
  margin-left: 0;
  list-style: none;
  overflow: hidden; /* clear floats */
}
.responsive-utilities-test li {
  position: relative;
  float: left;
  width: 25%;
  height: 43px;
  font-size: 14px;
  font-weight: bold;
  line-height: 43px;
  color: #999;
  text-align: center;
  border: 1px solid #ddd;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}
.responsive-utilities-test li + li {
  margin-left: 10px;
}
.responsive-utilities-test span {
  position: absolute;
  top:    -1px;
  left:   -1px;
  right:  -1px;
  bottom: -1px;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}
.responsive-utilities-test span {
  color: #468847;
  background-color: #dff0d8;
  border: 1px solid #d6e9c6;
}


/* Responsive Docs
-------------------------------------------------- */
@media (max-width: 480px) {

  /* Reduce padding above jumbotron */
  body{padding-top:70px;}


  /* Change up some type stuff */
  h2{margin-top:27px;}
  h2 small{display:block;line-height:18px;}
  h3{margin-top:18px;}

  /* icons */
  .marketing .bs-icon {
    margin: 0;
  }

  /* Adjust the jumbotron */
  .jumbotron h1,
  .jumbotron p {
    text-align: center;
    margin-right: 0;
  }
  .jumbotron h1 {
    font-size: 45px;
    margin-right: 0;
  }
  .jumbotron p {
    margin-right: 0;
    margin-left: 0;
    font-size: 18px;
    line-height: 24px;
  }
  .jumbotron .btn {
    display: block;
    font-size: 18px;
    padding: 10px 14px;
    margin: 0 auto 10px;
  }
  /* Masthead (home page jumbotron) */
  .masthead {
    padding-top: 0;
  }

  /* Don't space out quick links so much */
  .quick-links {
    margin: 40px 0 0;
  }
  /* hide the bullets on mobile since our horizontal space is limited */
  .quick-links .divider {
    display: none;
  }

  

  table code {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
  }

  /* Modal example */
  .modal-example .modal {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

}


@media (max-width: 768px) {

  /* Remove any padding from the body */
  body {
    padding-top: 0;
  }

  /* Jumbotron buttons */
  .jumbotron .btn {
    margin-bottom: 10px;
  }

  
  /* Popovers */
  .large-bird {
    display: none;
  }
  .popover-well .popover-wrapper {
    margin-left: 0;
  }

  /* Space out the show-grid examples */
  .show-grid [class*="span"] {
    margin-bottom: 5px;
  }

  /* Unfloat the back to top link in footer */
  .footer .pull-right {
    float: none;
  }
  .footer p {
    margin-bottom: 9px;
  }
  
  .footer{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px} 

}


@media (min-width: 480px) and (max-width: 768px) {

  /* Scale down the jumbotron content */
  .jumbotron h1 {
    font-size: 54px;
  }
  .jumbotron p {
    margin-right: 0;
    margin-left: 0;
  }

}


@media (min-width: 768px) and (max-width: 980px) {

  /* Remove any padding from the body */
  body{padding-top:0;}


  /* Scale down the jumbotron content */
  .jumbotron h1{font-size:72px;}


}


@media (max-width: 980px) {  

}


/* LARGE DESKTOP SCREENS */
@media (min-width: 1210px) {}

