html {
  position: relative;
  min-height: 100%;
}
body {
  padding-top: 70px;
  margin-bottom: 60px;
}

.theme-dropdown .dropdown-menu {
  position: static;
  display: block;
  margin-bottom: 20px;

}

.theme-showcase > p > .btn {
  margin: 5px 0;
}

.theme-showcase .navbar .container {
  width: auto;
}

/** CSS Menù **/

.navbar-toggle {
    margin-top: 4%;
}

.navbar-brand{
    background: url(img/logo.png) no-repeat 0 0;
    height: 90px;
    width: 140px;
}

.navbar-default .navbar-nav>li>a {
    color: #006699;
    font-size: 22px;
    text-align: center;
}

@media (min-width: 1025px){
    .navbar-right {
    /* float: right!important; */
    margin-right: -15px;
    position: absolute;
    right: 8%;
    bottom: 1%;
    }
    .navbar-brand{
    margin-left: 30% !important;
    background: url(img/logo-new.png) no-repeat 0 0;
    height: 127px;
    width: 210px;
    }

}


@media (min-width: 768px)
.navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
    margin-left: 0px;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    color: #555;
    background-color: transparent;

}

@media (max-width: 1025px){
    .navbar-right {
    position: relative;
    }
    .navbar-brand{
    background: url(img/logo.png) no-repeat 0 0;
    height: 90px;
    width: 140px;
    }
}
/*** CSS HOMEPAGE ***/

@font-face{
    font-family:'Master of break';
    src:url(fonts/master_of_break.ttf) format('truetype');
}
#home {
    margin-top: 20px;
    background-color: transparent;
    width: auto;
    height:auto;
    text-align: center;
}

@media (min-width: 1025px){
    .container {
        width:100%;
    }
    #home {
        display:flex;
        padding-top: 7%;
    }
    .container-home{
        color: #006699;


    }
}

@media (max-width: 1025px){
    .container {
        max-width:100%;
    }
     #home {
        display: block;
        text-align: center;
    }
    .container-home{
        color: #006699;
        margin-top: 10%;
    }
    #image-home{
        width: 100%
    }
    #image-nome{
        width: 80%;
        display:none;
    }

}

#slide1 {
    visibility: hidden;
}

    /* Margin bottom by footer height */

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    background-color: #f8f8f8;
    border-top-style: groove;
    border-width: 1px;
    border-radius: 1px;
    border-top-color: #e7e7e7;
    text-align: center;
    line-height: 1;
    padding-top: 5px;
}
@media (min-width: 1025px){
    .footer{
        height: 80px;
        position: fixed;
        padding-top: 0.5%;
        padding-left: 2%;
    }
}

#author{
    padding-top: 2px;
}
#author a{
    text-decoration: none;
    color: #006699;
}
#author a:hover{
    color:#23527c;
}

.jumbotron .h1, .jumbotron h1{
    color:#006699;
    text-align: -webkit-center
}
.jumbotron .h2, .jumbotron h2{
    color:#006699;
}
.jumbotron{
    margin-top: 5%;
    padding-top: 1px;
    background-color: transparent;
}
@media (min-width: 1025px){
    #storia{
        display: flex;
    }

    #storia div{
        float:left;
        max-width:50%;
    }
    .img-storia{
        margin-top: 6%;
        margin-right: -6%;
    }
}
@media (min-width: 1025px){
    .col-sm-4{

    }
}
.input-group[class*="col-"] {
    padding-right: 15px;
    padding-left: 15px;
}
#map-outer {
    height: 440px;
    padding: 20px;

    margin-bottom: 20px;
}
#map-container {
    height: 400px;
}
@media all and (max-width: 991px) 
{
    #map-outer  
    {
        height: 650px;
    }
}

.col-sm-4 .img-thumbnail{
    border-style: hidden;
}


/* Personalizazione Slider */
@media (min-width:991px){
    #col-myCarousel{
        margin:85px;
        float:right ;
    }
}
#col-myCarousel{
    margin-bottom:85px;
}
/* Elimino i pannelli laterali della slider */

.carousel-control.left, .carousel-control.right
{
    display: none;
}

@media (min-width: 1367px){
    #Title-Home {
        font-size: 6em;
        font-family: 'Titillium Web', sans-serif;
        font-style: oblique;
        font-weight: bold;
    }

    #Subtitle-Home {
        font-size: 3em;
        font-family: 'Titillium Web', sans-serif;
    }
}
@media (min-width: 1025px) and (max-width: 1366px){
    #Title-Home {
        font-size: 4em;
        font-family: 'Titillium Web', sans-serif;
        font-style: oblique;
        font-weight: bold;
    }

    #Subtitle-Home {
        font-size: 2em;
        font-family: 'Titillium Web', sans-serif;
    }
}
@media (max-width: 1024px){
    #Title-Home {
        font-size: 4em;
        font-family: 'Titillium Web', sans-serif;
        font-style: oblique;
        font-weight: bold;
    }

    #Subtitle-Home {
        font-size: 2em;
        font-family: 'Titillium Web', sans-serif;
    }    
}

body{
    font-family: 'Titillium Web', sans-serif; !important;
}


.gallery
{
    display: inline-block;
    margin-top: 20px;
}

/* recaptcha responsive */

.g-recaptcha {
    transform:scale(0.77);
    -webkit-transform:scale(0.77);
    transform-origin:0 0;
    -webkit-transform-origin:0 0;
}

/* Gallery */

.row.thumbnailLuca{
    display: block;
    padding: 4px;
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: transparent;
    border: 0px solid #ddd;
    border-radius: 0px;
    margin: 5% !important;
}

.img-thumbnail{
    border: 0px solid #ddd;
}

.img-thumbnail.col-lg-4.col-md-4.col-xs-6.thumb{
    border-top: 5%;
}

@media (min-width: 768px) and (max-width: 1024px){
    .modal-dialog {
        width: 700px;
        margin: 30px auto;
    }
}

@media (min-width: 1025px){
    .modal-dialog {
        width: 1200px;
        margin: 30px auto;
    }
}