/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

* {outline: none;}

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    background: #f4f4f4 url(../img/bg.png) repeat-x;
    font:normal 14px Arial, sans-serif;
    color: #666;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

img {
    vertical-align: middle;
    border: none;
}
p {
    margin:0px 0px 15px 0px;
}
a {
    text-decoration: none;
    color: #666;
}
ul {
    margin:0px;
    padding:0px;
    list-style: none;
}
.fl {
    float: left;
}
.fr {
    float: right;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: none;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
/* ==========================================================================
HACK per display inline-block
   ========================================================================== */
* html .inl-b { display:inline; }  /* hack per IE 6 */
* + html .inl-b { display:inline; }  /* hack per IE 7 */

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.buy {
    width:970px;
    height: 50px;
    padding-right: 10px;
    margin: auto;
    /*background: url(../img/bg_compra.png) right top no-repeat;*/
    color: #fff;
    text-align: right;
    font:normal 13px Tahoma, sans-serif;
    line-height: 30px;
    position: relative;
    overflow: hidden;
}
.buy a{
    color: #fff;
    padding: 5px 10px;
    background: #eb690a;
}
.buy #frase{
    position: absolute;
    left:0px;
    top:14px;
    color: #fff;
    font:bold 18px Arial, sans-serif;
}
header {
    width:100%;
    height: 80px;
    background: url(../img/bg_header.png) repeat-x;
    position: relative;
    z-index: 2;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.65);
    -webkit-box-shadow: 0px 2px 6px rgba(0,0,0,0.65);
    -moz-box-shadow: 0px 2px 6px rgba(0,0,0,0.65);
    -o-box-shadow: 0px 2px 6px rgba(0,0,0,0.65);
}
.header {
    width:980px;
    margin: auto;
}
.logo {
    display: block;
    float:left;
    margin-top: 12px;
}
.menu {
    width:760px;
    float:right;
    padding-top: 44px;
    height: 36px;
}
.menu ul li{
    display: block;
    float: right;
    margin-left: 15px;
}
.menu ul li a{
    display: block;
    height: 36px;
    font:normal 18px 'hc', sans-serif;
    color: #333;
    background: url(../img/bg_menu.png) no-repeat;
    background-position: center top;
}
.menu ul li a:hover, .menu ul li a.active{
    background-position: center bottom;
}
.main {
    width:960px;
    padding: 10px;
    margin: auto;
    background: #f4f4f4;
    height: 665px;
    box-shadow: 0px 4px 30px #000;
    position: relative;
    z-index: 1;
}
.main.hm {
    padding: 10px 10px 0px 10px;
    height: 675px;
}
.main.rl {
    height: auto;
}
.colonna_cont {
    width:960px;
    height: 675px;
    background: url(../img/bg_fasce.png) left top repeat-y;
}
.colonna {
    width:320px;
    height: 675px;
    float: left;
}
.colonna.last {
    background: none;
}
.colonna img{
    display: block;
}
.colonna_txt{
    padding: 20px 0px 0px 20px;
    width:272px;
}
h1{
    margin: 0px 0px 12px 0px;
    padding: 0px;
    min-width:202px;
    float:left;
    border-bottom:1px solid #ccc;
    font:normal 28px 'hc', sans-serif;
    line-height: 25px;
    color: #005ea8;
}
h2{
    margin: 0px 0px 8px 0px;
    padding: 0px;
    font:bold 14px Arial, sans-serif;
    color: #333;
}
.segue{
    display: inline-block;
    padding:0px 5px;
    height: 18px;
    color: #666;
    margin-top: 10px;
    border: 1px solid #dddada;
    background: url(../img/bg_segue.png) repeat-x;
}

.blocco_txt{
    padding: 20px 0px 0px 20px;
    position: relative;
    z-index: 1;
}
.blocco_txt.spectra{
    width:415px;
}

.spectra1{
    position: absolute;
    right:30px;
    bottom: 550px;
}
.spectra2{
    position: absolute;
    left:10px;
    bottom: 10px;
}
.spectra3{
    position: absolute;
    right:10px;
    bottom: 252px;
}
.spectra4{
    background-color: #aaaaaa;
    bottom: 430px;
    display: block;
    height: 220px;
    padding-top: 10px;
    position: absolute;
    right: 10px;
    text-align: center;
    width: 510px;
    color: #000000;
}
.blocco_txt.privati{
    width:270px;
}
.foto{
    position: absolute;
    right:10px;
    bottom: 10px;
    z-index: 0;
}
.col_foto{
    float: left;
}
.col_foto img{
    display: block;
    margin-left: 2px;
    margin-top: 2px;
}

.gallery{
    width:920px;
    margin: auto;
    padding: 22px 0px;
}
.gallery a{
    display: block;
    width:176px;
    float: left;
    margin-right: 10px;
    padding-bottom: 10px;
}
.gallery a.last{
    margin-right: 0px;
}
.gallery a img{
    width: 174px;
    display: block;
    border: 1px solid #fff;
    margin-bottom: 10px;
}

.modulo_cont{
    width:980px;
    height: 543px;
    padding-top: 20px;
    position: absolute;
    left:0px;
    bottom: 10px;
    z-index: 10;
    overflow: hidden;
}
.modulo{
    width:708px;
    height: 483px;
    margin: auto;
    padding: 30px 0px;
    background: #dfdcdc;
    box-shadow: 0px 0px 6px #666;
    -webkit-box-shadow: 0px 0px 6px #666;
    -moz-box-shadow: 0px 0px 6px #666;
    -o-box-shadow: 0px 0px 6px #666;
    font-size: 15px;
    color: #333; 
}
.modulo label{
    display: block;
    float: left;
    width:180px;
    height: 40px;
    text-align: right;
    padding-right: 10px;
    line-height: 22px;
}
.modulo input{
    float: left;
    width:337px;
    padding: 0px 4px;
    height: 22px;
    line-height: 22px;
    border:1px solid #c0c0c0;
    box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
    -webkit-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
    -moz-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
    -o-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
}
.modulo select{
    float: left;
    width:345px;
    padding: 0px;
    height: 22px;
    line-height: 22px;
    border:1px solid #c0c0c0;
    box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
    -webkit-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
    -moz-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
    -o-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
}
.modulo textarea{
    float: left;
    width:337px;
    padding: 0px 4px;
    height: 196px;
    border:1px solid #c0c0c0;
    box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
    -webkit-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
    -moz-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
    -o-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
}
.modulo .prv{
    font-size: 11px;
    padding-top: 8px;
}
.modulo input.chk{
    float: left;
    width:auto;
    padding: 0px;
    height: auto;
    border:0px;
    box-shadow: inset 0px 0px 0px rgba(0,0,0,0);
    margin: 0px 10px 10px 0px;
}
.modulo .submit{
    float: left;
    width:347px;
}
.modulo input.btn{
    float: right;
    width:auto;
    padding: 0px 10px;
    height: 23px;
    line-height: 23px;
    border:1px solid #c0c0c0;
    box-shadow: inset 0px 0px 0px rgba(0,0,0,0);
    background: url(../img/bg_btn.png) repeat-x;
    font-size: 14px;
    color: #666;
}
.az{
    color: #069;
}

#gmap{
    position: absolute;
    width:640px;
    height: 500px;
    left:10px;
    bottom: 10px;
    border: 1px solid #ccc;
}

.submenu{
    width:200px;
    position: absolute;
    right:1px;
    top: 0px;
    z-index: 10;
}
.submenu a{
    display: block;
    width:190px;
    height: 30px;
    padding-left: 10px;
    margin-bottom: 1px;
    color: #fff;
    line-height: 30px;
    background: #005ea8;
    border-bottom:1px solid #00467d;
}
.submenu a:hover, .submenu a.active{
    background: #00467d;
    border-bottom:1px solid #cbcccc;
}


footer{
    width:980px;
    margin:auto;
    padding: 25px 0px;
    color: #041e3c;
    font-size: 13px;
}
footer a{
    color: #041e3c;
}
footer .sep{
    color: #336699;
    margin: 0px 5px;
}
footer .sx{
    float:left;
    width:490px;
}
footer .dx{
    float:right;
    width:490px;
    text-align: right;
}

span.clearfix{
    display: block;
}



/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}