/**-- General CSS style -- **/
html, body {
    font-family: 'Yantramanav', sans-serif;
    font-weight: 300;
    text-align: center;
    color: #b7b7b7;
}

b{
    font-weight: 700;
}

a, a:active, a:visited, a:focus{
    color: #b7b7b7;
    text-decoration: none;
}

a:hover{
    text-decoration: none;
    color: black;
}

svg {
    fill: #b7b7b7;
}

.senzaPadding {
    padding: 0px;
}

#textAreaCustom {
    width: 100%;
    height: 250px;
    border: none;
    outline: none;
    background-attachment: local;
    background-image: linear-gradient(to right, white 10px, transparent 10px),
    linear-gradient(to left, white 10px, transparent 10px),
    repeating-linear-gradient(white, white 30px, #ccc 30px, #ccc 31px, white 31px);
    line-height: 31px;
    padding: 8px 10px;
}

.largeBtn {
    margin: 2px;
    background-color: transparent;
    border-color: white;
    border: 2px solid;
    width: 200px;
    max-width: 100%;
    border-radius: 0 !important;
}
a.btn {
    color: #fff ;
}
a:hover.btn {
    color: #333;
}
.btn-dark {
    color: #b7b7b7 !important;
}
.btn-dark:hover {
    color: #333 !important;
}
.icone-footer {
    height: 25px;
    width: 25px;
    float: left;
    margin-top: 25px;
}

.btn-profilo {
    margin-top: 25px;
}
.mt-profilo {
    margin-top: 50px;
}
@media only screen and (min-width: 991px) {
    .btn-profilo {
        margin-top: 50px;
    }
    .mt-profilo {
        margin-top: 0;
    }
}
.verticalRuler {
    border-left: 1px solid #b7b7b7;
    text-align: left;
    padding-left: 5px;
    margin-left: 30px;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

/**, *:before, *:after {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}*/

.clearfix {
    display: inline-block;
}

/* start commented backslash hack \*/
* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

/* close commented backslash hack */

/**-- navbar -- **/
.logo {
    width: 80px;
    height: 84px;
    margin-top: 20px;
}

/*scendo il logo più in basso possibile*/
#logoEsterno {
    display: none;
}

.navbar-brand {
    padding-top: 0px;
    height: 110px;
}

/*do la dimensione alla navbar allargando il div del brand...*/
.navbar-default {
    border-color: white;
    background-color: white;
}

/* tolgo lo sfondo grigio della navbar!*/
.navbar {
    margin-bottom: 0px;
    border: 0px;
}

/*tolgo lo spazio bianco che si crea tra navbar e elemento sottostante*/

.navbar .navbar-nav {
    display: inline-block;
    float: none;
}

/*allineo i menu al centro*/
.navbar .navbar-collapse {
    text-align: center;
}

.nav > li > a {
    display: inline-block;
    margin-top: 60px;
    padding-left: 20px;
    padding-right: 20px;
}

/**--//////////// footer -- **/
#newsletterBar{
    height: 70px;
}

/**-- containers and cols -- **/
.container-fluid {
    padding: 0px;
}

.row {
    padding: 0px;
}

/**-- INDEX.php -- **/
.biancoNero {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    transition: filter ease-in 250ms;
}

.biancoNero:hover {
    filter: none;
}

#pensiamoTuttoNoi {
    height: 740px;
}

/* --*/
#bigPreview {
    /*background: url('../img/preview/preview.jpg') no-repeat center center;*/
    background: no-repeat center center;
    background-size: contain;
    padding-bottom: 50.52%; /* (img-height / img-width * container-width) */
    /* (960 / 1900 * 100) */
    filter: grayscale(100%);
    transition: filter ease-in 250ms;
}

#bigPreview:hover {
    filter: none;
}

#previewText {
    position: absolute;
    left: 55%;
    margin-top: 20%;
}

#preview {
    position: relative;
}

#preview2 {
    display: none;
    /*background-image: url('../img/preview/foto-cover.png');*/
    background-size: cover;
    background-position: center center;
}

/* ----*/
/** ----------------------- progetti.php --------------------------- **/
.imgProgetto {
    width: 300px;
    height: 380px;
    transition: filter ease-in 250ms;
    filter: brightness(50%);
}


.hideText {
    /*display: none;*/ /*attivare*/
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 2;
    color: white;
    width: 300px;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
    opacity: 100%;
    transition: opacity ease-in 250ms;
}
@media only screen and (min-width: 991px) {
    .imgProgetto {
        width: 300px;
        height: 380px;
        transition: filter ease-in 250ms;
        filter: none;
    }
    .hideText {
        opacity: 0;
        transition: opacity ease-in 250ms;
    }
    .progetto:hover a .imgProgetto {
        filter: brightness(50%);
    }
    .progetto:hover a .hideText{
        opacity: 100%;
    }
}

/** ----------------------- servizi.php --------------------------- **/
#sfondoParallasse {
    background: fixed center;
    height: 420px;
    color: black;
}

/** ----------------------- contatti.php --------------------------- **/
.inputWOborder {
    width: 100%;
    border: none;
    border-bottom-style: ridge;
    outline: none;
}

/* Radio Button */
input[type='radio'] { /* Nasconde radio button */
    display: none;
}

p > input[type='radio'] + label { /* Imposta il cursore per le label */
    cursor: pointer;
}

.customRadio { /* Stili per lo span associato ai radio button */
    display: inline-block;
    width: 14px;
    height: 14px;
    position: relative;
    top: 2px;
    border: solid 1px #ccc;
    background: #fff;
    cursor: pointer;
    -webkit-border-radius: 100px;
    border-radius: 100px;
}

p > input[type='radio']:checked + label span:before { /* Stili per i radio button quando sono attivati */
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    -webkit-border-radius: 100px;
    border-radius: 100px;
    background: #b7b7b7;
    position: relative;
    top: 3px;
    left: 3px;
}

/**------ ----------------------- MEDIA QUERIES --------------------------- ------- **/
@media only screen and (max-width: 990px) {
    #sfondoParallasse{
        height: 700px;
        background: url(../img/banner/servizi.jpg) center center;
    }

    #pensiamoTuttoNoi{
        height: 800px;
        background-size: cover;
        background-position: center center;
    }
    .rulerStaff {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    /*SMALLDEVICES - Tablets*/

    #bigPreview {
        background-image: none !important;
        padding-bottom: 0px;
        filter: none;
    }

    #preview2 {
        display: inline;
    }

    #preview {
        background: no-repeat center center;
    }

    #previewText {
        position: static;
        top: auto;
        left: auto;
        margin-top: 0;
        margin-bottom: 20px;
    }

    #iconeSocial {
        display: none;
    }

    /*nasconde icone social nella versione smartphone*/
    .nav > li > a {
        margin-top: 0px;
    }

    /*tolgo margin-top dalla navbar nella versione smartphone */
    #logoEsterno {
        display: inline;
    }

    #logoInterno {
        display: none;
    }

    
}

@media only screen and (max-width: 590px) {
    #newsletterBar{
        height: 120px;
    }
}

#btnNewsletter {
    margin-top: 10px;
    border-radius: 0;
}
@media only screen and (min-width: 991px) {
    #btnNewsletter {
        margin-top: 0;
    }
}

