/*!
 * Start Bootstrap - Modern Business HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

html,
body {
    height: 100%;
}

body {
    padding-top: 0px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
    margin: 0px;
}

.img-portfolio {
    margin-bottom: 30px;
}

.img-hover:hover {
    opacity: 0.5;
}

/* Home Page Carousel */

header.carousel {
    height: 50%;
}

header.carousel img{
    width: 70%;
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

/* 404 Page Styles */

.error-404 {
    font-size: 100px;
}

/* Pricing Page Styles */

.price {
    display: block;
    font-size: 50px;
    line-height: 50px;
}

.price sup {
    top: -20px;
    left: 2px;
    font-size: 20px;
}

.period {
    display: block;
    font-style: italic;
}

/* Footer Styles */

#footer {
    width: 99%;
    margin: 0px;
    height: auto;
    padding-top: 1%;
    margin-left:0.5%;
    margin-right:0.5%;
    text-align: center;
    background-color: #B70303;
    color: white;
}

/* Responsive Styles */

@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 70%;
    }
}

#navblue{
    background-color: #B70303;
    border-color: #B70303;
    color: white;
    margin: 0px;
}

#navblue .navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{
color:white;
background-color:#d36767;
}

#navblue .navbar-inverse .navbar-brand{
color:white}

#navblue a{
color:white}

#navblue .navbar-inverse .navbar-nav>li>a{
color:white}

#navblue .navbar-nav>li>.dropdown-menu{
margin:0;
border-top-left-radius:0;
border-top-right-radius:0;
background-color:#d36767;
}

#signature{
    font-size: 1.5em;
}

#centerbanner img{
    padding-left: 12%;
    padding-right: 12%;
}

.agenda {  }

/* Dates */
.agenda .agenda-date { width: 170px; }
.agenda .agenda-date .dayofmonth {
  width: 40px;
  font-size: 36px;
  line-height: 36px;
  float: left;
  text-align: right;
  margin-right: 10px; 
}
.agenda .agenda-date .shortdate {
  font-size: 0.75em; 
}


/* Times */
.agenda .agenda-time { width: 140px; } 


/* Events */
.agenda .agenda-events {  } 
.agenda .agenda-events .agenda-event {  } 

@media (max-width: 767px) {
    
}



/* carousel */
#quote-carousel 
{
  padding: 0 10px 30px 10px;
  margin-top: 30px;
  height: 100%;
}

/* Control buttons  */
#quote-carousel .carousel-control
{
  background: none;
  color: #222;
  font-size: 2.3em;
  text-shadow: none;
  margin-top: 30px;
}
/* Previous button  */
#quote-carousel .carousel-control.left 
{
  left: -12px;
}
/* Next button  */
#quote-carousel .carousel-control.right 
{
  right: -12px !important;
}
/* Changes the position of the indicators */
#quote-carousel .carousel-indicators 
{
  right: 50%;
  top: auto;
  bottom: 0px;
  margin-right: -19px;
}
/* Changes the color of the indicators */
#quote-carousel .carousel-indicators li 
{
  background: transparent;
}
#quote-carousel .carousel-indicators .active 
{
  background: #B70303;
}
#quote-carousel img
{
  width: 250px;
  height: 100px
}
/* End carousel */

.item blockquote {
    border-left: none; 
    margin: 0;
}

.item blockquote img {
    margin-bottom: 10px;
}

.item blockquote p:before {
    content: "\f10d";
    font-family: 'Fontawesome';
    float: left;
    margin-right: 10px;
}



/**
  MEDIA QUERIES
*/

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) { 
    #quote-carousel 
    {
      margin-bottom: 0;
      padding: 0 40px 30px 40px;
    }
    
}

/* Small devices (tablets, up to 768px) */
@media (max-width: 768px) { 
    
    /* Make the indicators larger for easier clicking with fingers/thumb on mobile */
    
    #quote-carousel .carousel-indicators {
        bottom: -20px !important;  
    }
    #quote-carousel .carousel-indicators li {
        display: inline-block;
        margin: 0px 5px;
        width: 15px;
        height: 15px;
    }
    #quote-carousel .carousel-indicators li.active {
        margin: 0px 5px;
        width: 20px;
        height: 20px;
    }
}

#progetti{
  background-color: #EFEFEF;
}

.leftext{
  text-align: left;
}

#gpanel{
  background-color: #EFEFEF;
}

#spanel{
  background-color: #013479;
  box-shadow: 10px 10px 5px #888888;
}

#ppanel{
  background-color: #fffff0;
}

#topfoto{
  padding-left: 7%;
  padding-right: 7%;
}

#topfoto2{
  padding-left: 0%;
  padding-right: 0%;
}

#topfoto img{
  margin-top: 0.1%; 
  width: 100%;
}

#wsbox{
  padding: 0px;
}

header{
  color:#B70303;
  font-size: 1em;
}

header a{
  color:#B70303;
}

header a:hover{
  color:#d36767;
  text-decoration: none;
  text-shadow: 1px 1px #d36767;
}

#part1{
  text-align: left;
}

#part2{
  text-align: right;
  line-height: 200%;
}

#undertitle{
    height: auto;
    margin-bottom: 2%;
    letter-spacing: -0.8px;
    background-color:transparent;
    font-style: bold;
    color: #636466;
    font-size: 2em;
}

#data{
  font-size: 0.8em;
  font-style: bold;
}

#banner{
  height: 100%;
  width: 100%;
  padding: 0px;
}

#banner img{
  float: right;
  width: 100%;
  padding: 0px;
  margin:2px; 
}

@media (max-width: 1200px) { 
    #banner img{
    float: right;
    width: 30%;
    padding: 0px;
    margin:2px; 
  }
}

#locandina{
  height: 100%;
  width: 100%;
  padding: 0px;
}

#locandina img{
  float: right;
  width: 100%;
  padding: 0px;
  margin:2px; 
}

@media (max-width: 1070px) { 
    #locandina img{
    float: right;
    width: 150%;
    padding: 0px;
    margin:2px; 
  }
}

#barranav{
  padding: 0px;
  margin-left: -1%;
  margin-right: -1%;
}

@media (max-width: 910px) { 
    #barranav{
      padding: 0px;
      margin-left: -2%;
      margin-right: -2%;
    }
}

#logo{
  padding: 0px;
  margin-left: 0%;
  margin-right: 0%;
}

.bottonerosso{
  padding: 1%;
  padding-left: 3%;
  padding-right: 3%;
  background-color:#B70303;
  color: white;
  border-color: #B70303;
  border-radius: 5px;
  box-shadow: 2px 2px #EFEFEF; 
}

.bottonerosso:hover{
  background-color:#d36767;
  color: white;
  border-color: #d36767;
  border-radius: 5px;
}

#freccia{
  text-align: right;
  font-size: 1em;
  font-style: bold;
}

#freccia img{
  width: 10%;
}

#freccia2{
  text-align: right;
  font-size: 1em;
  font-style: bold;
}

#freccia2 img{
  width: 30%;
}

#freccia1{
  text-align: right;
  font-size: 0.5em;
}

#freccia1 img{
  width: 20%;
}

#boxdata{
  width: 100%;
  height: auto;

}

.data{
  width:auto;
  float: left;
  background-color: white;
  padding: 2px;
}

#sh{
  padding-top: 5px;
  height: 5em;
}

.navbar-custom {
    color: white;
    background-color: #013479;
}

#ptitle{
  font-size: 1.5em;
  color:#B70303;
}

#ptitle2{
  padding-top: 1%;
  font-size: 1.1em;
  color:#B70303;
}

.mbottom{
  margin-bottom: 3%;
}

.dimage{
  width: 16%;
}

#testoue p{
  font-size: 0.9em;
  font-style: normal;
}

#testoue h4{
  font-size: 1.2em;
  font-style: bold;
  color: #000;
}

#testoue h3{
  font-style: bold;
  color: #000;
}

#partnerslogo{
  width: 10%;
}

#partnerslogo img{
  border: grey solid 2px;
}

#partnerslogo2{
  width: 15%;
}

#partnerslogo2 img{
  border: grey solid 2px;
}


.progettoue img{
  margin-bottom: 10%;
  width: 15%;
}

.briciolespecial{
}

.briciolespecial a{
  color: white;
}

.briciolespecial a:hover{
  color: white;
}

#logoprue img{
  width: 80%;
}

.descfoto{
  margin: 0px;

}

.fotomainue{
  margin:0px;
  padding: 0px;
}

.fotomainue img{
  width: 80%;
}

#space{
  height: 50px;
  width: 100%;
}