﻿@font-face {
    font-family: 'CaviarDreams'; /*a name to be used later*/
    src: url(../style/font/CaviarDreams-webfont.woff);
}

html, body, form {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
}

h1, h2, h3, span {
    font-family: 'CaviarDreams', sans-serif;
    color: rgb(40, 73, 156);
    text-align: center;
}

h1 a {
    font-family: 'CaviarDreams', sans-serif;
    color: rgb(40, 73, 156);
}

h1 a:link {
    font-family: 'CaviarDreams', sans-serif;
    color: rgb(40, 73, 156);
}

h1 a:visited {
    font-family: 'CaviarDreams', sans-serif;
    color: rgb(40, 73, 156);
}

h1 a:hover {
    font-family: 'CaviarDreams', sans-serif;
    color: rgb(40, 73, 156);
}

h1 a:active {
    font-family: 'CaviarDreams', sans-serif;
    color: rgb(40, 73, 156);
}

h1 {
    font-size: 1.7em;
}

h2 {
    font-style:italic;
    font-size: 1.2em;
}
body {
    /*background-color: rgb(235, 235, 235);*/
    background-image: url(../images/Layout/sfondo_sito.svg);
    background-position:90% 0%;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.Container {
    margin: 20px 0px;
}

header, #base {
    background-color: rgba(255, 255, 255, 0.6);
    width:70%;
    margin-top: 0px;
    margin-left: 15%;
    padding: 10px 30px 30px 30px;
    overflow:hidden;
}

.titolo_section {
    font-size: 1.5em;
    line-height: 2em;
    text-align: left;
}

#portfolio {
    overflow: hidden;
    width: 100%;
}

.quadrati {
    float: left;
    width: 140px;
    height: 140px;
    margin: 1.5%;
    border: 4px solid rgba(235, 235, 235, 1);
}

#clienti {
    margin-top: 50px;
}

footer {
    margin-top: 120px;
    background-color: rgba(40, 73, 156, 1);
    width: 100%;
    /* background-image: url(../images/sfondo_footer.svg);
    background-repeat: no-repeat;
    background-position:top left;*/
}


#contenitore_foto {
    position:absolute;
    left: 0px;
    bottom: 0px;
}


#contatti {
    /*clear: left;*/
    margin-top: 20px;
    padding: 10px 30px 5px 15%;
    position: relative;
}

.dati_footer {
color: white;
margin: 1em;
}

img#FooterImage {
    position: fixed;
    left: 0px;
    bottom: 0px;
    max-width: 14%;
}

.da-thumbs {
    list-style: none;
    position: relative;
    padding: 0;
}

.da-thumbs li {
    float: left;
    margin: 1.5%;
    background: rgba(235, 235, 235, 1);
    padding: 4px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.da-thumbs li a,
.da-thumbs li a img {
    display: block;
    position: relative;
}

.da-thumbs li a {
    overflow: hidden;
}

.da-thumbs li a div {
    position: absolute;
    background: #333;
    background: rgba(75,75,75, 0.8);
    width: 100%;
    height: 100%;
    
    display: flex;
    align-items: center;
}

.da-thumbs li a div span {
    display: block;
    padding: 10px 0;
    margin: 0px 10px;
    text-transform: uppercase;
    font-weight: normal;
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    border-top: 1px solid rgba(255,255,255,0.5);
    /*box-shadow: 0 1px 0 rgba(0,0,0,0.1), 0 -10px 0 rgba(255,255,255,0.3);*/
}

.CookieInfoBanner {
    font-family: 'CaviarDreams', sans-serif;
}

footer a {
    font-family: 'CaviarDreams', sans-serif;
    color: white;
}

