@import url(https://fonts.googleapis.com/css?family=Rajdhani:400,300,700);

/*
* COLORI
* celeste: #EAF4FE  rgb(234, 244, 254)
* blu: #023364      rgb(2, 51, 100)
*/

img.size-100, .size-100 img { width: 100%; }
img.size-50, .size-50 img { width: 50%; }
img.size-33, .size-33 img { width: 33%; }
img.size-25, .size-25 img { width: 25%; }
img.size-20, .size-20 img { width: 20%; }



body {
    background-color: #FEFFFF;
    font-size: 16px;
    font-family: "Helvetica Neue", sans-serif;
    line-height: 150%;
    color: #6c643e;
    text-align: justify;
}

.blur {-webkit-filter: blur(3px);}
.edit {
    top:60px!important;
}
h1, h2, h3, h4, h5 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 200;
    line-height: 180%;
}
h1 {
    font-size: 65px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #A9A364;
}
h2 {
    font-size: 22px;
    line-height: 120%;
    margin-top: 0px;
    font-family: "Rajdhani", sans-serif;
    font-weight: 400;
}
iframe {border: none;}

img { max-width: 100%; }

a { color: #6c643e; }
a:hover { color: inherit; text-decoration: underline }
a.flag-disabled {
    /* Make the disabled links grayish*/
    opacity: .6;
    /* And disable the pointer events */
    pointer-events: none;
}
table td, table th {
    font-size: 13px;
    text-align: left;
}


#header .flags {
    position: absolute;
    right: 15px;
    top:83px;
    z-index: 2000;
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) and (max-width: 991px) {
    #header .flags { top: 91px; }
}

.flags img {
    height: 27px;
}

/* MENU PRIMO E SECONDO LIVELLO */
.navbar {
    margin-bottom: 0px;
    margin-top: 25px;
}
.navbar-nav {
    position: absolute;
    height: 127px;
    z-index: 1000;
}

.navbar-nav>li>a {
    font-family: 'Rajdhani', sans-serif;
    color: #A9A364;
    font-size: 23px;
    font-weight: normal;
    height: 56px; /*127*/
    margin-right: 5px;
    /*width: 160px;*/
    text-align: center;
    padding-left: 27px;
    padding-right: 27px;

    padding-left: 16px;
    padding-right: 16px;
    margin-right: 5px;
}
.navbar-default .navbar-nav>li:last-child>a { border-right: none;}

/*
.navbar-nav>li.dropdown>a {
    padding-left: 45px;
    padding-right: 45px;
}
*/

.navbar-nav>li>a:hover,
.navbar-nav>.active>a, .navbar-nav>.active>a:hover, .navbar-nav>.active>a:focus {
    color:#fff;
    background-color: #A9A364;

    -webkit-box-shadow: 0px 7px 10px 0px rgba(50, 50, 50, 0.42);
    -moz-box-shadow:    0px 7px 10px 0px rgba(50, 50, 50, 0.42);
    box-shadow:         0px 7px 10px 0px rgba(50, 50, 50, 0.42);

}
.navbar-collapse {padding: 0px;}
.navbar-brand {
    padding: 0px;
}

.navbar-nav>li>.dropdown-menu {
    margin-top: -10px;
    border-radius: 0px;
/*    width: 180px; */
    width: 140px;
    margin-left: 0px;
    border: none;

}
.dropdown-menu>li>a {
    font-family: 'Rajdhani', sans-serif;
    font-size: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    color:#A9A364;
    text-align: center;
    text-align: left;

    font-size: 20px;
    padding-left: 27px;
    padding-right: 27px;
    margin-right: 0px;
}
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {

}
.nav .open>a, .nav .open>a:hover, .nav .open>a:focus {
    background-color: #A9A364;
    color:#fff;
    -webkit-box-shadow: 0px 7px 10px 0px rgba(50, 50, 50, 0.52);
    -moz-box-shadow:    0px 7px 10px 0px rgba(50, 50, 50, 0.52);
    box-shadow:         0px 7px 10px 0px rgba(50, 50, 50, 0.52);
}

.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus,
.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus {

    color: #f8f8f8;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* remove the gap so it doesn't close */
}

/* fine */


hr.home-divider:last-child { display: none; }

.sfondo-riga {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

/* blocchetto news in evidenza */
.news-evidenza {
    line-height: 0.9em;
    font-size: 0.9em;
}

.news-evidenza img { width: 100%;}

.news-evidenza h6 {
    margin: 0px;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 2px;
    font-size:1em;
}

.news-evidenza .col-md-9{
    padding-left: 0px;
}


/** FORM **/
.form-group {
    margin-bottom: 7px;
}
.form-control {
    border-radius: 0px;
    border-color:#AAA463;
    padding: 20px 15px;
}
::-webkit-input-placeholder {
    color: #AAA463;
}

:-moz-placeholder { /* Firefox 18- */
    color: #AAA463;
}

::-moz-placeholder {  /* Firefox 19+ */
    color: #AAA463;
}

:-ms-input-placeholder {
    color: #AAA463;
}
/***/


/* tooltip */

.tooltip > .tooltip-inner {background-color: #EAF4FE; border: 1px solid #000; color: #023364; }
.tooltip > .tooltip-arrow {border-bottom-color: #023364;}


.text-shadow {
    text-shadow: 1px 1px 2px rgba(150, 150, 150, 1);
}

.no-shadow {
    text-shadow: none;
    box-shadow: none;
}

/* bottoni */
.btn {
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
}
.btn-success {
    background-color: #AAA463;
    border-color: #AAA463;
    padding-left: 40px;
    padding-right: 40px;
    text-transform: uppercase;
}
.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active {
    background-color: #b8b26d;
    border-color: #AAA463;
}

.btn-success:active, .btn-success.active, .btn-success:active:focus {
    background-color: #AAA463;
    box-shadow: none;
}
/**/
.error {
    color: #ff7a7a !important;
}
.has-error .form-control {
    border-color: #ff7a7a !important;
}

.galleria a, .galleria a:hover{
    text-decoration: none;
}
.galleria img { 
    width: 32%; 
    padding:7px 5px;
    opacity: 1;
    -webkit-transition:opacity 0.4s; /* For Safari 3.1 to 6.0 */
    transition: opacity 0.4s;
}
.galleria img:hover { opacity: 0.75; }



/**/
#body {
    border:1px solid #918531;
    /*border-top: none;*/
    background-color: #fff;
}

.content {margin-top: -130px;}
#body {margin-top: 90px;}

#border-top {
    border:1px solid #918531;
    border-bottom: none;
    height: 33px;
    background-color: #fff;
}

.filigrana {
    /*background: #eae8de url(../img/gfraccordi-filigrana.jpg) right 50px top no-repeat;*/
    background: #eae8de;
}
.filigrana.visible-xs {
    background-color: #eae8de;
    background-size: auto;
}

.logo {
    max-width: 140px;
    border-right: 2px solid #9A8C3F;
}
.intestazione {
    font-family: 'Rajdhani', sans-serif;
    font-size: 17px;
    line-height: 20px;
    padding-top: 16px;
}
#footer {
    background-color: #6C6B5F; /*original nicc */
    background-color: #393832;
    color: #AAA463;
}
#footer h1 {
    line-height: 50px;
}
#footer .control-label {
    display: none;
}
#footer .col-md-offset-2, #footer .col-sm-offset-2 {
    margin-left: 0px;
}

.credits {
    font-size: 77%;
    color: #6c643e;
}

/* CATALOGO */
.item-categoria {
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
}
.item-categoria h3 {
    display: block;
    text-align: center;
    width: 100%;
    height: auto;
    background-color: rgba(32,72,128,0.75);
    padding-top: 40px;
    color:#fff;
    text-transform: uppercase;

    -webkit-transition: all 800ms cubic-bezier(0.550, 0.055, 0.145, 0.995);
    -moz-transition: all 800ms cubic-bezier(0.550, 0.055, 0.145, 0.995);
    -ms-transition: all 800ms cubic-bezier(0.550, 0.055, 0.145, 0.995);
    -o-transition: all 800ms cubic-bezier(0.550, 0.055, 0.145, 0.995);
    transition: all 800ms cubic-bezier(0.550, 0.055, 0.145, 0.995);
}
.item-categoria-1 h3 { background-color: rgba(0,96,128,0.75); }
.item-categoria-2 h3 { background-color: rgba(13,128,64,0.75); }
.item-categoria-3 h3 { background-color: rgba(85,128,13,0.75); }
.item-categoria-4 h3 { background-color: rgba(32,72,128,0.75); }

.item-categoria:hover h3 {
    padding-top: 100px;
}
.categorie a:hover {
    text-decoration: none;
    color: #fff;
}
.prodotto-item {
    text-align: center;
}
.prodotto-item h3 {
    display: block;
    height: 85px;
}
.prodotto-icona {
    height: 213px;
}
.prodotto-item a img {
    -webkit-transition: all 500ms; /* Safari */
    transition: all 500ms;
}
.prodotto-item a:hover img {
    -ms-transform: rotate(7deg); /* IE 9 */
    -webkit-transform: rotate(5deg); /* Chrome, Safari, Opera */
    transform: rotate(5deg);
}
/***/

@media only screen and (max-width: 1200px) {
    .filigrana { background-position: top right; }
    .navbar-nav>li>a {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 22px;
    }
}

@media only screen and (max-width: 1000px) {
    .navbar-nav>li>a {
        font-size: 20px;
    }
}

@media only screen and (max-width: 765px) {
    #body { border: none; }

    h1 {
        font-size: 48px;
        text-align: center;
    }
    /* MENU PRIMO E SECONDO LIVELLO */
    .navbar {
        margin-bottom: 0px;
        margin-top: 15px;
    }
    .navbar-nav {
        position: relative;
        height: auto;
        margin: 0px;
    }

    .navbar-nav>li>a {
        font-family: 'Rajdhani', sans-serif;
        color: #A9A364;
        font-size: 25px;
        font-weight: normal;
        height: auto; /*127*/
        margin: 0px;
        padding-top: 15px;
        padding-bottom: 15px;
        display: block;
    }
    .navbar-default .navbar-nav>li:last-child>a { border-right: none;}

    .navbar-nav>li.dropdown>a {
        padding-left: 45px;
        padding-right: 45px;
    }


    .navbar-nav>li>a:hover,
    .navbar-nav>.active>a, .navbar-nav>.active>a:hover, .navbar-nav>.active>a:focus {
        color:#fff;
        background-color: #A9A364;

        -webkit-box-shadow: none;
        -moz-box-shadow:    none;
        box-shadow:         none;

    }
    .navbar-collapse {padding: 0px;}
    .navbar-brand {
        padding: 0px;
    }

    .navbar-nav>li>.dropdown-menu {
        margin-top: 0px;

        width: 100%;

        border: none;

    }
    .dropdown-menu>li>a {
        font-family: 'Rajdhani', sans-serif;
        font-size: 24px;
        padding-top: 10px;
        padding-bottom: 10px;
        color:#A9A364;
        text-align: center;
    }
    .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {

    }
    .nav .open>a, .nav .open>a:hover, .nav .open>a:focus {
        background-color: #A9A364;
        color:#fff;
        -webkit-box-shadow: none;
        -moz-box-shadow:    none;
        box-shadow:         none;
    }

    .navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus,
    .dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus {

        color: #f8f8f8;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
        margin-top: 0; /* remove the gap so it doesn't close */
    }

    /* fine */

    .item-categoria {
        height: 250px;
    }

    .block-contatto .col-sm-offset-2 {
        text-align: center;
    }
}

