/*
Theme Name: ValenteCostruzioni by mauro-g
Author: Mauro Gallo
Author URI: http://www.mauro-g.it/
Description: customized theme for ValenteCostruzioni di Valente Giorgio.
Version: 1.1.6
License: GNU General Public License
License URI: license.txt
*/

@import url('https://fonts.googleapis.com/css?family=Quicksand');
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:300');
@import url('https://fonts.googleapis.com/css?family=Rubik');
@import url('https://fonts.googleapis.com/css?family=Fugaz+One&display=swap');
@import url('https://fonts.googleapis.com/css?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css?family=Luckiest+Guy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

/* SUMMARY
   
   01. Reset
   02. Default
   03. Single
   04. Pages
   05. Menus
   06. Footer
   07. High density displays
   08. Logo animation
  
*/


/* 01. RESET 
   
   Credit: HTML5 Boilerplate, Notes Core */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

audio[controls], canvas, video { 
    display: inline-block; 
    *display: inline; 
    *zoom: 1;
}
	
body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}
	
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ------------------------------------------------------------------------- */

/* 02. DEFAULT */

body {
    min-width: 960px;
    color: #FF6666;
    background-color: #333;
}

a {
    color: #FF6666;
    text-decoration: none;
}

a:hover {
    color: #FF6666; 
}

#header-container {
    position: relative;
    height: 500px;
}

#header-container hgroup {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 40px;
    z-index: 10;
    background-image: url(images/menu_bckg.png);
    border-bottom: 2px solid #c51a1b;
}

#header-container hgroup > h1 > a {
    display: block;
    margin-left: 25px;
    text-indent: -3000px;
    overflow: hidden;
    width: 60px;
    height: 40px;
    background-image: url(images/logo_valenteBN.png);
    background-position: center;
    background-repeat: no-repeat;
}

#header-container hgroup > h1 > a:hover {
    background-image: url(images/logo_valente.png);
}

#header-container > h2 {
    display: block;
    position: absolute;
    left: 0px;
    bottom: 50px;
    margin-left: 40px;
    width: 70%;
    color: #FFF;
    font-size: 3.5em;
    font-size: 5vw;
    font-family: 'Quicksand', sans-serif;
    font-style: normal;
    text-shadow: 2px 2px 0px #000;
    word-wrap: break-word;
    z-index: 9;
}

#header-container div.thumbnail {
    position: absolute;
    top:0px;
    left: 0px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    z-index: 8;
    border-bottom: 1px solid #000;
}

#header-container div.thumbnail:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 50%;
    z-index: 9;
    background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.4));
}

#header-container div.thumbnail > img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #000;
}

#main-container {
    background-color: #FFF;
    padding: 20px 0px 0px 0px;
    color: #333;
}

#main-container a {
    color: #333;
}

#main-container a:hover {
    color: #333;
}

.hentry {
    padding: 50px 5%;
    position: relative;
    /*background-image: url(images/red_bar.png), url(images/red_bar.png);
    background-size: 20px 70px, 10px 70px;*/
    background-repeat: no-repeat;
    /*background-position: 0px 80px, right 80px;*/
    background-image: url(images/red_bar.png);
    background-position: 0px 80px;
}

.hentry:nth-of-type(2n + 2) {
    background-color: #CCC;
}

html.ie7 .hentry, html.ie8 .hentry {
    border-bottom: 1px solid #666;
    /*background-image: url(images/red_bar.png);
    background-repeat: no-repeat;
    background-position: 0px 80px;*/
}

.hentry header > div.thumbnail {
    float: left;
    width: 40%;
}

.hentry header > div.thumbnail > a {
    display: block;
}

.hentry header > div.thumbnail > a > img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    box-shadow: 5px 5px 0px #666;
    margin: auto;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);  /* For Webkit browsers */
    filter: gray;  /* For IE 6 - 9 */
    -webkit-transition: all .6s ease;  /* Transition for Webkit browsers */
}

.hentry header > div.thumbnail > a > img:hover {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    filter: none;
}

html.ie7 .hentry header > div.thumbnail > a > img, html.ie8 .hentry header > div.thumbnail > a > img {
    border: 1px solid #666;
}

.hentry header .entry-meta {
    display: none;
}

.hentry header .entry-title {
    margin: 0px 3% 30px 45%;
    font-size: 2.2em;
    font-family: 'Quicksand', sans-serif;
    word-wrap: break-word;
}

.hentry:after {
    content: '';
    display: block;
    height: 0px;
    visibility: hidden;
    clear: both;
}

.hentry p {
    font-size: 1.2em;
    line-height: 1;
    font-family: 'Josefin Sans', sans-serif;
    margin: 8px 3% 8px 45%;
}

.hentry p:last-of-type {
    margin-bottom: 70px;
}

.hentry .category-tabs, .hentry .tags {
    position: absolute;
    bottom: 50px;
    right: 5%;
    padding-top: 8px;
    border-top: 1px solid #666;
}

#main-container .hentry a[rel *= "category"], #main-container .hentry .tags a {
    display: block;
    float: right;
    margin: 0px 5px;
    overflow: hidden;
    background-color: #339933;
    border-radius: 25px;
    padding: 6px 12px;
    color: #FFF;
    font-family: 'Quicksand', sans-serif;
    /*font-size: 0.8em;*/
    font-size: 14px;
    box-shadow: 2px 2px 0px #666;
}

#main-container .hentry a[rel *= "category"]:hover {
    color: #FFF;
}

#preventivo > div.banner {
    position: relative;
    min-height: 300px;
    overflow: hidden;
}

#preventivo > div.banner > img {
    position: absolute;
    top: 0px;
    width: 100%;
    height: auto;
    z-index: 10;
}

#preventivo > div.banner h4 {
    position: absolute;
    z-index: 11;
    bottom: 40px;
    right: 200px;
    width: 200px;
    word-wrap: break-word;
    font-family: 'Quicksand', sans-serif;
    font-size: 2.2em;
    color: #FFF;
    padding-right: 10px;
    border-right: 1px solid #FFF;
    text-align: right;
    text-shadow: 1px 1px 0px #000;
    margin: 0px;
}

#preventivo > div.banner ul {
    position: absolute;
    z-index: 12;
    bottom: 40px;
    right: 50px;
    width: 140px;
    color: #FFF;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2em;
}

#preventivo > div.banner li {
    margin-top: 6px;
}

#preventivo > div.banner a {
    color: #FFF;
}

div.wp-pagenavi {
    padding: 30px;
    text-align: center;
}

div.wp-pagenavi span.pages {
    display: none;
}

div.wp-pagenavi a {
    color: #666;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1em;
    margin: 0px 5px;
}

div.wp-pagenavi span {
    color: #666;
    margin: 0px 5px;
}

div.wp-pagenavi span.current {
    color: #F00;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1em;
}

/* ------------------------------------------------------------------------- */

/* 03. SINGLE */

body.single .hentry {
    padding-left: 0px;
    padding-right: 0px;
}

body.single .hentry > div, body.single .hentry > p, body.single .hentry > ul {
    padding-left: 5%;
    padding-right: 5%;
}

body.single .hentry .entry-meta {
    display: none;
}

body.single .hentry img {
    display: block;
    border: none;
    box-shadow: 5px 5px 0px #666;
    height: auto;
    width: 40%;
    float: right;
    position: relative;
    margin-bottom: 70px;
}

html.js body.single .hentry img.zoomable {
    cursor: zoom-in;
}

html.ie7 body.single .hentry img, html.ie8 body.single .hentry img {
    border: 1px solid #666;
}

body.single .hentry p {
    margin: 15px 45% 15px 0px;
    line-height: 1.2;
}

body.single .hentry p:first-of-type {
    margin-top: 0px;
}

body.single .hentry p:last-of-type {
    margin-bottom: 70px;
}

body.single .hentry ul {
    clear: both;
    background-color: #CCC;
    padding: 20px 5%;
    /*margin-top: 70px;
    margin-bottom: 70px;*/
    margin: 80px 5%;
}

body.single .hentry li {
    padding: 20px 0px;
}

body.single .hentry li h3 {
    font-size: 2.2em;
    font-family: 'Quicksand', sans-serif;
    word-wrap: break-word;
    margin: 0px 0px 30px 35%;
}

body.single .hentry li.two-imgs h3, body.single .hentry li.imgs-container h3 {
    margin-left: 66%;
}

body.single .hentry li p  {
    margin: 8px 0px 8px 35%;
}

body.single .hentry li.two-imgs p, body.single .hentry li.imgs-container p {
    margin-left: 66%;
}

/*body.single .hentry li p:first-of-type, body.single .hentry li p:last-of-type {
    margin: 8px 0px 8px 35%;
}*/

body.single .hentry li p:first-of-type {
    margin-top: 8px;
}

body.single .hentry li p:last-of-type {
    margin-bottom: 8px;
}

body.single .hentry li img {
    float: left;
    position: static;
    width: 30%;
    margin-bottom: 0px;
}

body.single .hentry li.two-imgs > div:not(:first-of-type) > img {
    margin-left: 20px;
}

body.single .hentry li > div.imgs-container {
    width: 50%;
    float: left;
}

body.single .hentry li > div.imgs-container img {
    float: none;
    width: 100%;
    margin-bottom: 20px;
}

body.single .hentry li > div.imgs-container > div:last-of-type img {
    margin-bottom: 0;
}

body.single .hentry li:after {
    content: '';
    display: block;
    height: 0px;
    visibility: hidden;
    clear: both;
}

body.single .hentry div.back {
    position: absolute;
    bottom: 45px;
    left: 5%;
    padding-left: 0px;
    padding-right: 0px;
}

body.single #main-container .hentry div.back a {
    display: block;
    margin: 0px 5px;
    padding: 0px;
    color: #999;
    font-size: 30px;
}

body.single #main-container .hentry div.back a:hover {
    color: #CC0033;
}

body.single .hentry div.gallery {
    margin-top: 70px;
    margin-bottom: 70px;
    padding-left: 0px;
    padding-right: 0px;
    position: relative;
    clear: both;
}

html.no-js body.single .hentry div.gallery, html.ie7 body.single .hentry div.gallery, html.ie8 body.single .hentry div.gallery {
    display: none;
}

body.single .hentry div.gallery #gallery-wrapper {
    height: 150px;
    overflow: hidden;
}

body.single .hentry .gallery-caption {
    display: none;
}

body.single .hentry .gallery-item {
    width: 150px;
    margin: 0px;
    padding: 0px;
    float: left;
}

body.single .hentry .gallery-icon img {
    width: 100%;
    box-shadow: none;
    margin-bottom: 0px;
    position: static;
    float: none;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);  /* For Webkit browsers */
    filter: gray;  /* For IE 6 - 9 */
    -webkit-transition: all .6s ease;  /* Transition for Webkit browsers */
}

html.ie7 body.single .hentry .gallery-icon img, html.ie8 body.single .hentry .gallery-icon img {
    border: none;
}

body.single .hentry .gallery-icon img:hover {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    filter: none;
}

body.single .hentry div.gallery br {
    display: none;
}

body.single .hentry div.gallery:after {
    content: '';
    display: block;
    height: 0px;
    visibility: hidden;
    clear: both;
}

body.single .hentry #gallery-wrapper {
    position: absolute;
    z-index: 99;
    top: 0px;
    left: 0px;
}

body.single .gcontrols-gallery {
    position: absolute;
    top: 0px;
    width: 50px;
    height: 100%;
    background-image: url(images/menu_bckg.png);
    z-index: 100;
    text-align: center;
}

body.single .gcontrols-gallery > a {
    vertical-align: middle;
    font-family: "FontAwesome";
    font-size: 2em;
}

body.single #gback-gallery {
    left : 0px; 
}

body.single #gforward-gallery {
    right: 0px;
}

body.single #zoom-bckg {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 99;
}

body.single #zoom {
    border-radius: 20px;
    position: fixed;
    display: block;
    border: 10px solid #ffffff;
    box-shadow: 2px 2px 4px #333333;
    z-index: 100;
    cursor: zoom-out;
}

/* ------------------------------------------------------------------------- */

/* 04. PAGES */

/* home page */

body.home #header-container {
    height: 600px;
    height: 100vh;
}

body.home #header-container hgroup.transparent {
    background-image: none;
    border-bottom: none;
    height: 80px;
}

body.home #header-container hgroup > h1 > a {
    background-image: url(images/logo_valente.png);
}

body.home #header-container hgroup > h1 > a.transparent {
   width: 135px;
   height: 80px;
   background-image: url(images/logo_home.png);
}

body.home #header-container hgroup > h2 {
    display: none;
}

body.home #header-container nav.transparent {
    margin-left: 200px;
    top: 30px;
}

body.home #search-form.transparent {
    top: 30px;
}

body.home #gallery-container {
    height: 100%;
    background-color: #ffffff;
    overflow: hidden;
}

html.no-js body.home #gallery-container {
    position: relative;
}

html.no-js body.home #gallery-wrap > img:not(:first-child) {
    display: none;
}

html.no-js body.home #gallery-wrap img {
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
}

body.home #gallery-wrap > div.img-background {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

body.home #slides-g-buttons {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
    width: 100%;
}

body.home a.slides-g-button {
    position: absolute;
    width: 50px;
    height: 50px;
    overflow: hidden;
    text-indent: -3000px;
    top: calc(50vh - 50px);
    background-position: center;
    background-repeat: no-repeat;
    opacity: .5;
    -webkit-transition: opacity 1s;
    transition: opacity 1s;
}

body.home a.slides-g-button:hover {
    opacity: 1;
}

body.home #slides-g-backward {
    left: 20px;
    background-image: url(images/slds_rrw_l.png);
}

body.home #slides-g-forward {
    right: 20px;
    background-image: url(images/slds_rrw_r.png);
}

body.home #gallery-wrap > div.slides-g-msg.left {
    bottom: 6%;
    padding: 0.5em 0.5em 0.5em 1em;
    background-color: #939eb0;
    color: #ffffff;
    font-size: 2.6em;
    line-height: 1.2;
    font-family: 'Lobster', cursive;
    max-width: 40%;
}

body.home #gallery-wrap > div.slides-g-msg.right {
    bottom: 8%;
    padding: 1em;
    background-color: #6c7379;
    color: #ffffff;
    font-size: 2.2em;
    line-height: 1.2;
    font-family: 'Anton', sans-serif;
    max-width: 40%;
}

body.home #gallery-wrap > div.slides-g-msg.right2 {
    bottom: 8%;
    padding: 3em 1em 1em 1em;
    background-color: #a6a8b5;
    color: #ffffff;
    font-size: 2.2em;
    font-size: 3vw;
    line-height: 1.3;
    font-family: 'Anton', sans-serif;
    width: 18%;
}

body.home #gallery-wrap > div.slides-g-msg.right2 span {
    text-transform: uppercase;
    font-size: 130%;
    color: #c50c1f;
    margin-top: 0.5em;
    display: block;
}

body.home #gallery-wrap > div.slides-g-msg.bottom {
    right: 10%;
    padding: 1em 1em 2em 1em;
    background-color: #859f08;
    color: #ffffff;
    font-size: 2.2em;
    font-size: 2.6vw;
    line-height: 1.3;
    font-family: 'Luckiest Guy', cursive;
    max-width: 20%;
}

body.home #gallery-wrap > div.slides-g-msg.bottom span {
    padding-bottom: 1.3em;
    background-image: url(images/gallery/brshstrk.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 100% 1.5em;
}

body.home #gallery-wrap > div.slides-g-msg.fade-in {
    bottom: 7%;
    width: 100%;
}

body.home #gallery-wrap > div.slides-g-msg.fade-in p {
    color: #ffffff;
    text-shadow: 0.1em 0.1em 0 #466ba0;
    font-size: 3em;
    font-size: 4vw;
    font-family: 'Fugaz One', cursive;
    line-height: 1.4;
    width: 60%;
    margin: auto;
    text-align: center;
}

body.home #gallery-wrap > div.slides-g-msg.fade-in-2 {
    bottom: 9%;
    color: #000000;
    /*text-shadow: 3px 3px 0px #000000;*/
    font-size: 3em;
    font-size: 4vw;
    /*font-family: 'Forum', cursive;*/
    font-family: 'Anton', sans-serif;
    line-height: 1.2;
    max-width: 45%;
    /*padding-left: 0.4em;*/
    /*border-left: 0.2em solid #c51a1b;*/
}

body.home #gallery-wrap > div.slides-g-msg.fade-in-2:before {
    content: '';
    display: block;
    position: absolute;
    top: 0.1em;
    left: -1.5em;
    width: 1em;
    height: 1em;
    background-color: #c51a1b;
}

body.home #loading-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    background-image: url(images/ldng.gif);
    background-position: center;
    background-repeat: no-repeat;
    z-index: 9;
}

/*body.home #header-container div.thumbnail-title {
    position: absolute;
    left: 0px;
    bottom: 50px;
    z-index: 10;
    width: 100%;
}

body.home #header-container div.thumbnail-title p {
    margin-left: 40px;
    width: 70%;
    color: #FFF;
    font-size: 3.5em;
    font-size: 5vw;
    font-family: 'Quicksand', sans-serif;
    font-style: normal;
    text-shadow: 2px 2px 0px #000;
    word-wrap: break-word;
}*/

/* pages base */

body.page .hentry {
    padding: 0px;
}

body.page .hentry > div.section {
    padding: 50px 5%;
}

body.page .hentry > div.section:nth-of-type(2n + 2) {
    background-color: #CCC;
}

body.page .hentry > div.section:after {
    content: '';
    display: block;
    height: 0px;
    visibility: hidden;
    clear: both;
}

body.page .hentry div.thumbnail {
    float: right;
    width: 40%;
} 

body.page .hentry div.thumbnail > img {
    display: block;
    border: none;
    box-shadow: 5px 5px 0px #666;
    width: 100%;
    height: auto;
}

html.ie7 body.page .hentry div.thumbnail > img, html.ie8 body.page .hentry div.thumbnail > img {
    border: 1px solid #666;
}

body.page .hentry h3, body.page .hentry h4 {
    font-size: 2.2em;
    font-family: 'Quicksand', sans-serif;
    word-wrap: break-word;
    margin: 0px 45% 30px 0px;
}

body.page .hentry p {
    margin: 8px 45% 8px 0px;
}

body.page .hentry div.back {
    margin: 0px 5%;
    padding: 20px 0px;
}

body.page #main-container .hentry div.back a {
    display: block;
    margin: 0px 5px;
    padding: 0px;
    color: #999;
    font-size: 30px;
}

body.page #main-container .hentry div.back a:hover {
    color: #CC0033;
}

/* pagina ID 53: Chi siamo */

body.page-id-53 .hentry > div.section:nth-of-type(2n + 2) div.thumbnail {
    float: left;
}

body.page-id-53 .hentry > div.section:nth-of-type(2n + 2) p {
    margin: 8px 0px 8px 45%;
}

body.page-id-53 .hentry > div.section:nth-of-type(2n + 2) h3 {
    margin: 0px 0px 30px 45%;
}

body.page-id-53 .hentry > div.section div.thumbnail p.credits {
    margin: 5px 0px;
    font-size: 0.9em;
}

/* pagine ID 61: servizi */

body.page-id-61 .hentry > div.section h3 {
    font-size: 1.8em;
    margin: 0px 0px 10px 0px;
}

body.page-id-61 .hentry > div.section p {
    margin: 8px 0px;
}

body.page-id-61 #main-container .hentry > div.section a {
    text-decoration: underline;
    font-size: 0.9em;
    color: #999;
}

body.page-id-61 .hentry > div.section li {
    margin: 20px 0px;
}

body.page-id-61 .hentry > div.section li:first-of-type {
    margin-top: 0px;
}

body.page-id-61 .hentry > div.section li:last-of-type {
    margin-bottom: 0px;
}

/* pagina ID 76: modulo richiesta preventivo */

body.page-id-76 .hentry p {
    margin: 8px 0px;
}

body.page-id-76 .hentry > div.section p span, body.page-id-76 .hentry > div.section label span {
    color: #CC0033;
}

body.page-id-76 .hentry > div.section form {
    margin-top: 30px;
    font-family: 'Josefin Sans', sans-serif;
}

body.page-id-76 .hentry > div.section table {
    width: 100%;
    max-width: 600px;
}

body.page-id-76 .hentry > div.section form td {
    padding: 3px;
}

body.page-id-76 .hentry > div.section .error {
    color: #CC0033;
}

body.page-id-76 .hentry > div.section form label {
    font-size: 1.2em;
}

body.page-id-76 .hentry > div.section td input {
    width: 250px;
    height: 1.5em;
    font-size: 0.9em;
}

body.page-id-76 .hentry > div.section td select {
    width: 250px;
    height: 1.5em;
    font-size: 0.9em;
}

body.page-id-76 .hentry > div.section #zip {
    width: 80px;
}

body.page-id-76 .hentry > div.section #pv {
    width: 40px;
}

body.page-id-76 .hentry > div.section form a {
    font-size: 1.2em;
    text-decoration: underline;
}

body.page-id-76 .hentry > div.section #descr-container {
    margin: 30px 0px;
}

body.page-id-76 .hentry > div.section #descr-container label {
    display: block;
    margin-bottom: 10px;
}

body.page-id-76 .hentry > div.section #descr-container textarea {
    display: block;
    width: 500px;
    height: 200px;
    font-size: 1.2em;
}

body.page-id-76 .hentry > div.section #captcha-container {
    margin: 30px 0px;
}

body.page-id-76 .hentry > div.section #captcha-container input {
    width: 200px;
    height: 1.5em;
    font-size: 0.9em;
}

body.page-id-76 .hentry > div.section #captcha-container img {
    border: 1px solid #666;
}

body.page-id-76 .hentry > div.section #captcha-container a {
    margin-left: 20px;
}

body.page-id-76 .hentry > div.section #prvcy-container {
    margin: 30px 0px;
}

body.page-id-76 .hentry > div.section #prvcy-container a {
    font-size: 1em;
}

body.page-id-76 .hentry > div.section #prvcy-container input {
    margin-left: 10px;
}

body.page-id-76 .hentry > div.section #go {
    width: 200px;
    height: 30px;
    background-image: url(images/red_bar.png);
    color: #FFF;
}

body.page-id-76 .hentry > div.section #mail-icon {
    margin-bottom: 30px;
}

/* pagina ID 177: codice conferma */

body.page-id-177 .hentry > div.section #check-icon {
    margin-bottom: 30px;
}

/* pagina dei contatti */

/*body.page-contatti #map {
    height: 0px;
    width: auto;
}*/

body.page-contatti #map > iframe {
    display: block;
    width: 100%;
    height: 100vh;
}

/* pagina 404 */

body.error404 .hentry #check-icon {
    margin-bottom: 30px;
}

body.error404 .hentry p {
    margin: 8px 0px;
}

/* search page */

body.search #content-container > p {
    margin: 20px 5% 0px 5%;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.4em;
}

body.search #content-container > p > span {
    font-size: 1.6em;
}

/* search no-results page */

body.search-no-results .hentry #check-icon {
    margin-bottom: 30px;
}

body.search-no-results .hentry > p {
    margin: 8px 0px;
}

/* pagine privacy e cookie policy */

body.page-privacy-policy .hentry h3, body.page-cookie-policy .hentry h3 {
    margin: 30px 0px 10px 0px;
    font-size: 1.8em;
}

body.page-privacy-policy .hentry p, body.page-cookie-policy .hentry p {
    margin: 10px 0px;
}

body.page-privacy-policy .hentry em, body.page-cookie-policy .hentry em {
    font-style: normal;
    font-weight: bold;
    color: #000;
}

body.page-privacy-policy .hentry a, body.page-cookie-policy .hentry a {
    text-decoration: underline;
}

body.page-privacy-policy .hentry ul {
    list-style-type: disc;
    list-style-position: inside;
}

body.page-privacy-policy .hentry li, body.page-cookie-policy .hentry li {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2em;
}

body.page-privacy-policy .hentry td, body.page-cookie-policy .hentry td {
    border: 1px solid #666;
    padding: 5px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1em;
}

body.page-privacy-policy .hentry th, body.page-cookie-policy .hentry th {
    text-align: left;
    padding: 5px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2em;
}

/* ------------------------------------------------------------------------- */

/* 05. MENUS */

#header-container nav {
    position: fixed;
    top: 0px;
    left: 0px;
    margin-left: 125px;
    margin-right: 250px;
    height: 40px;
    z-index: 11;
    overflow: hidden;
}

.menu a {
    text-decoration: none;
}

#menu-official > li.menu-item {
    display: block;
    float: left;
    margin: 0px 8px;
}

#menu-official > li.menu-item > a {
    line-height: 40px;
    vertical-align: middle;
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    color: #000;
}

#menu-official > li.menu-item > a:hover {
    color: #CC0033;
}

#menu-official > li.current-menu-item > a, body.category #menu-official a[href *= "/portfolio/"], body.single #menu-official a[href *= "/portfolio/"] {
    color: #CC0033;
}

#search-form {
    position: fixed;
    top: 0px;
    right: 16px;
    z-index: 11;
}

#search-form label.screen-reader-text {
    display: none;
}

input#s {
    height: 14px;
    width: 150px;
    padding: 5px;
    font-size: 14px;
    font-family: sans-serif;
    appearance: none;
    box-shadow: none;
    border-radius: 5px;
    border: 1px solid #666;
    margin: 6px 5px;
    display: none;
    float: left;
}

html.no-js input#s, body.search input#s, html.ie7 input#s, html.ie8 input#s {
    display: block;
}

input#searchsubmit {
    display: block;
    background-color: transparent;
    background-image: url(images/search.png);
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    height: 40px;
    width: 40px;
    text-indent: -3000px;
    float: right;
}

.menu-footer-official-container {
    padding-left: 10px;
    border-left: 1px solid #FFF;
    float: left;
}

#menu-footer-official li {
    margin: 5px 0px;
}

#menu-footer-official a {
    font-family: 'Rubik', sans-serif;
    font-size: 0.9em;
    line-height: 1;
    margin: 5px 0px;
}

#menu-footer-official a:hover {
    color: #FFF;
}

/* ------------------------------------------------------------------------- */

/* 06. FOOTER */

#footer-container {
    padding: 40px;
}

#footer-container p {
    font-family: 'Rubik', sans-serif;
    font-size: 0.9em;
    line-height: 1.2;
    margin: 5px 0px;
}

#data-footer {
    float: right;
    padding-top: 70px;
    min-width: 100px;
    background-image: url(images/footer_logo.png);
    background-repeat: no-repeat;
    background-position: right top;
    font-size: 0.8em;
    text-align: right;
    color: #FFF;
}

#data-footer .credits {
    color: #FF6666;
}

#data-footer a.icon {
    display: block;
    float: right;
    margin: 5px;
}

#footer-container:after {
    content: '';
    display: block;
    height: 0px;
    visibility: hidden;
    clear: both;
}

/* ------------------------------------------------------------------------- */

/* 07. HIGH DENSITY DISPLAYS */

@media only screen and (-webkit-min-device-pixel-ratio: 2), 
only screen and (min-resolution: 192dpi) {
    
    #header-container hgroup > h1 > a {
        background-image: url(images/logo_valenteBN@2x.png);
        background-size: 60px;
    }

    body.home #header-container hgroup > h1 > a, #header-container hgroup > h1 > a:hover {
        background-image: url(images/logo_valente@2x.png);
    }
    
    body.home #header-container hgroup > h1 > a.transparent {
        background-image: url(images/logo_home@2x.png);
        background-size: 135px 80px;
    }
    
    body.home a.slides-g-button {
        background-size: 50px;
    }
    
    body.home #slides-g-backward {
        background-image: url(images/slds_rrw_l@2x.png);
    }

    body.home #slides-g-forward {
        background-image: url(images/slds_rrw_r@2x.png);
    }
    
    /*#header-container div.thumbnail:after {
        content: '';
        display: block;
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        background-image: url(images/grdnt@2x.png);
        background-repeat: repeat-x;
        background-position: bottom;
        background-size: 50px 200px;
        z-index: 9;
    }*/
    
    .hentry {
        /*background-image: url(images/red_bar@2x.png), url(images/red_bar@2x.png);*/
        /*background-size: 20px 70px, 10px 70px;*/
        background-image: url(images/red_bar@2x.png);
        background-size: 20px 70px;
    }
    
    input#searchsubmit {
        background-image: url(images/search@2x.png);
        background-size: 40px;
    }
    
    #data-footer {
        background-image: url(images/footer_logo@2x.png);
        background-size: 100px;
    }
    
}

/* ------------------------------------------------------------------------- */

/* 08. LOGO ANIMATION */

#white-bar {
    position: absolute;
    width: 100%;
    height: 0px;
    background-image: url(images/menu_bckg.png);
    overflow: hidden;
    z-index: 100;
}

#logo-animate {
    position: absolute;
    display: block;
    border: none;
    height: auto;
    z-index: 101;
}
