/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 4-mar-2015, 15.24.36
    Author     : daniele
*/

/*---------------------------------
	IMPORTS
-----------------------------------*/

/*---------------------------------
	FONTS INCLUDE
-----------------------------------
*/
@font-face {
    font-family: mySans;
    src: url(fonts/Roboto/Roboto-Regular.ttf) format('truetype');
}
@font-face {
    font-family: mySans;
    src: url(fonts/Roboto/Roboto-Bold.ttf) format('truetype');
    font-weight: bold;
}
@font-face {
    font-family: mySans;
    src: url(fonts/Roboto/Roboto-Italic.ttf) format('truetype');
    font-style: italic;
}
@font-face {
    font-family: myLight;
    src: url(fonts/Roboto/RobotoThin.ttf) format('truetype');
}
@font-face {
    font-family: myLight;
    src: url(fonts/Roboto/RobotoThinItalic.ttf) format('truetype');
    font-style: italic;
}

/* IMPOSTAZIONE INIZIALE GRANDEZZA FONT */
html{font-size:16px;}

html,body{
    margin:0;
    height: 100%;
    color:#fff;
}
body,div,p,td,li{
    font-family: mySans, sans-serif;
}

h1{
    font-family: myLight, sans-serif;
    font-weight: normal;
    font-size: 4rem;
    color: #fff;
    padding-left:6rem;
    text-shadow: 2px 2px #333;
    margin:0px;
}
h2{
    font-family: myLight, sans-serif;
    font-weight: normal;
    font-size: 2rem;
    color: #fff;
    text-shadow: 1px 1px rgba(54,108,217,0.5);
    margin:0;
}

a{
    color:#aad5f7;
}

header
{    
    position: fixed;
    z-index: 10;
    width:100%;
    text-align: center;
}
/* INIZIO NAVIGAZIONE */
nav{
    width:100%;
    margin:0 auto;
}
nav ul, nav ul li{
    display: inline-block;
}
nav ul{
    margin:0px;
}
nav ul li{
    padding:1rem;
    text-transform: uppercase;
    color:#fff;
    border:solid 1px rgba(255,255,255,0);
    margin-left:2rem;
}
nav ul li:first-child{
    margin-left:0;
}
nav ul li a{
    color:#fff;
    text-decoration: none;
}
nav ul li:hover{
    border:solid 1px #fff;
}
/* FINE NAVIGAZIONE */


/* CONTENITORI */
#containerHome
{
    height: 100%;
    background:url(/images/snap_fatture.jpg) center center no-repeat;
    background-size:cover;
    box-shadow:inset 0 -1px 5px rgba(0,0,0,0.6);
}
#containerHome h1{
    padding-top:15rem;
}
#containerHome .content{
    position: absolute;
    bottom:6%;
}

#containerFunzioni
{
    min-height:100%;
    background:url(/images/snap_fatture_pixel.jpg) center center no-repeat;
    background-size:cover;
    box-shadow:inset 0 -1px 5px rgba(0,0,0,0.6);
    color:#fff;
}
#containerFunzioni h1{
    padding-top:5rem;
    display: inline-block
}
#containerFunzioni #logoGt1{
    display: inline-block;
    margin-left: 2rem;
}
#containerFunzioni .col_4{
    background: none;
    border: none;
}

#containerVideo{
    width:80%;
    height: 100%;
    margin:0 auto;
    text-align: center;
    padding: 6rem 0 2rem 0;
}

#containerVideo p{
    
    color:#333;
    font-family: myLight;
    font-size: 1.5rem;
    margin:1rem auto;
    line-height: 2rem;
}

.gallery .col_4 p, .gallery .col_4 h2{
    width: 100%;
    padding: 0 1rem;
}
footer{
    position:fixed;
    bottom:0;
    height: 6%;
    z-index: 100;
    width:100%;
    text-align: center;
}
img.logo{
    max-height: 50px;
    vertical-align: middle;
}
.content{
    width:100%;
    padding:1em 6rem;
    position:relative;
    margin-top: 0;
}
.content p{
    line-height: 2rem;
}
#logoGt1{
    height:4rem;
    padding-bottom: 1rem;
    vertical-align: bottom;
}
.darkBg{background-color: rgba(0,0,0,0.5);color:#fff;}
.lightBg{background-color: rgba(255,255,255,0.8);}
.floatLeft{float:left;}
.imageResize{max-width: 360px;}

/* MEDIA QUERY PER IL RESPONSIVE */
@media only screen and (max-width:640px){
    html{font-size: 12px;}
    nav ul li{margin-left: 2px;}
    h1{padding:1rem;}
    #containerHome h1{padding-top:5rem;}
    #containerHome .content{
        position: relative;
        margin-top: 3rem;
    }
    .content{padding:1rem;}
    #containerFunzioni .floatLeft{width:100%;}
    .grid.flex{padding:5px;}
}