/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
  @font-face {
                        font-family: 'Novecentowide-Medium';
                        src: url('../font/Novecentowide-Medium.eot');
       }

      @font-face {
                        font-family: 'Novecentowide-Medium';
                        src: url('../font/Novecentowide-Medium.woff') format('woff'),
                        url('../font/Novecentowide-Medium.svg#Novecentowide-Medium') format('svg');
       }
       
       
          @font-face {
                        font-family: 'Novecentowide-Normal';
                        src: url('../font/Novecentowide-Normal.eot');
       }

      @font-face {
                        font-family: 'Novecentowide-Normal';
                        src: url('../font/Novecentowide-Normal.woff') format('woff'),
                        url('../font/Novecentowide-Normal.svg#Novecentowide-Normal') format('svg');
       }
       
          
html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

a {
    color: #00e;
}

a:visited {
    color: #551a8b;
}

a:hover {
    color: #06e;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body{background-color: #333333; color: white; font-size: 28px;}
#header {height: 120px; background-color: #1F1F1F;position: relative;}

#header #logo{ position: absolute; top: 0px; left: 28px; display: block; width: 400px; height: 120px; background: transparent url(/images/valli-granulati-logo-orizz-zandobbio.svg) top left no-repeat;}

#menu-link {color: white;text-decoration: none; font-size: 26px; padding-top:55px;width: 75px; height: 10px; display: block; position: absolute; right: 28px; top: 19px; background: transparent url(/img/menu.svg) top center no-repeat;}

#close-menu{width: 59px; height: 59px; display: block; position: absolute; right: 35px; top: 28px; background: transparent url(/img/close.svg) top center no-repeat;}
#langMenu{ overflow: auto; list-style: none; padding: 40px 23px; margin: 0;border-bottom: 1px solid black; }
#langMenu a{font-family: "Novecentowide-Medium", serif ; color:#999999; display: block; position: relative;float: left; margin-right: 20px;text-decoration: none;}
#langMenu a.active{color: white;}
#subMenu{ list-style: none;padding: 0; margin: 0;padding: 0 0px; }

#subMenu a{border-bottom: 1px solid black; font-family: "Novecentowide-Medium", serif ; background: transparent url('../img/menu-arrow.svg') 95% 50% no-repeat; display: block; text-decoration: none;color: white;font-size: 40px; text-transform: uppercase; padding: 31px 23px;}


#second-level-menu{ list-style: none;padding: 0; margin: 0;padding: 0 0px; }

#second-level-menu a{border-bottom: 1px solid black; font-family: "Novecentowide-Medium", serif ; background: #666666 url('../img/menu-arrow-white.svg') 95% 50% no-repeat; display: block; text-decoration: none;color: white;font-size: 40px; text-transform: uppercase; padding: 31px 23px;}


#download-menu{ list-style: none;padding: 0; margin: 0;padding: 0 0px; }

#download-menu a{border-bottom: 1px solid black; font-family: "Novecentowide-Medium", serif ; background: #666666 url('../img/download.svg') 95% 50% no-repeat; display: block; text-decoration: none;color: white;font-size: 40px; text-transform: uppercase; padding: 31px 23px;}



#img-container { background-size: cover; height: 425px; width: 100%; }


#top-section{background-color: #666666;padding: 23px 0; position: relative;}
#top-section h1{text-align: center;font-family: "Novecentowide-Medium", serif ;font-size: 38px;font-weight: normal;margin: 0; padding: 0 30px;}
#top-section a.back{position: absolute; width: 50px; height: 50px;-webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg); top: 23px; left: 23px; display: block; background: #666666 url('../img/menu-arrow-white.svg') top left no-repeat; }




#main-container{ padding: 30px;}

#main-container h1{font-weight: normal; margin: 0; padding: 0;font-family: "Novecentowide-normal", serif ;font-size: 40px; }
#main-container h2{font-weight: normal; margin: 0; padding: 0; font-family: "Novecentowide-normal", serif ;font-size: 34px;margin-top: 60px; margin-bottom: 15px; }
#main-container h2+p{padding-top: 0;margin-top: 0;}

#product-level-menu{ padding: 0; margin: 0; list-style: none; }

#product-level-menu li{ height: 425px; overflow: auto; }
.link-product-container{position: relative; width: 50%; margin: 0; height: 425px;background: rgb(0, 0, 0);   background: rgba(0, 0, 0, .7);}

#product-level-menu li a{
padding: 30px;
display: block;   position: relative; color: white; text-decoration: none;font-family: "Novecentowide-Normal", serif ;font-size: 40px;
height: 362px; 
background: transparent url('../img/piu.svg') 250px 340px no-repeat;
}
 
#next-prev-container { overflow: auto; border-bottom: 1px solid black; font-family: "Novecentowide-Medium", serif ; background-color: #666666; display: block; text-decoration: none;color: white;font-size: 40px; text-transform: uppercase; padding: 31px 23px;}
#next-prev-container .prev{ background: transparent url('../img/next-prev.svg') 0 -40px no-repeat; padding-left: 50px; display: block; position: relative; float: left; color: white; text-decoration: none;}
#next-prev-container .next{ background: transparent url('../img/next-prev.svg') right 20px no-repeat; padding-right: 50px;display: block; position: relative;text-align: right; float: right; color: white; text-decoration: none;}



#product-level-menu li:nth-child(even) .link-product-container{float: right;}
#product-level-menu li:nth-child(odd) .link-product-container{ float: left;}

#down-footer-links .green{ background-color: #009700; width: 50%; position: relative;float: left;}

#down-footer-links .white{ background-color: #fff; width: 50%; position: relative;float: left; overflow: auto;}
#down-footer-links .green a{text-decoration: none; display: block;color: white;font-family: "Novecentowide-Medium", serif ;  padding: 30px 23px;font-size: 40px;}
#down-footer-links .white a{position: relative;float: right; margin-left: 30px; text-decoration: none; display: block;color: #009700;font-family: "Novecentowide-Medium", serif ;font-size: 40px;}
#down-footer-links .white .share-container{padding: 25px 23px 20px 0;overflow: auto;}
#down-footer-links .white a.fb{width: 70px; height: 70px; display: block; background: transparent url('../img/share.svg') top left no-repeat; }
#down-footer-links .white a.gp{width: 70px; height: 70px; display: block; background: transparent url('../img/share.svg') top right no-repeat;}






#footer{background:#1F1F1F url('../img/footer.png') center center no-repeat;background-size:cover;
	background-size: cover; height: 625px; 
	padding: 28px;
	font-family: "Novecentowide-normal", serif ;
}

#footer #address{font-size: 24px; text-transform: uppercase; color: #999;}

#footer #contacts a{text-decoration: none;color: white;}

#footer #contacts{
	color: white;
	text-transform: uppercase;
	font-size: 24px;
	margin-top: 50px;
	margin-bottom: 50px;	
}

#footer #contacts p{margin: 0; padding: 0; margin-bottom: 10px;}

#footer #links{ color: white;	font-size: 24px;	margin-bottom: 50px;}

#footer #links a{text-decoration: none;color: white;}
#footer #copy{ color: #999999;}


.granulometrie-p p{margin:0; padding:0;}

#top-section h1.news-title{width: 460px; margin: 0 auto; text-align: center; position: relative;line-height: 36px;}

a#leggi-tutto{color: white;text-transform: uppercase; text-decoration: none;}

a#leggi-tutto::after
{
content:" ➜";
} 

#main-container.privacy a{text-decoration: underline; color: white;}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/* Prevent callout */

.nocallout {
    -webkit-touch-callout: none;
}

.pressed {
    background-color: rgba(0, 0, 0, 0.7);
}

/* A hack for HTML5 contenteditable attribute on mobile */

textarea[contenteditable] {
    -webkit-appearance: none;
}

/* A workaround for S60 3.x and 5.0 devices which do not animated gif images if
   they have been set as display: none */

.gifhidden {
    position: absolute;
    left: -100%;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    background-repeat: no-repeat;
    border: 0;
    direction: ltr;
    display: block;
    overflow: hidden;
    text-align: left;
    text-indent: -999em;
}

.ir br {
    display: none;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/**
 * Clearfix helper
 * Used to contain floats: h5bp.com/q
 */

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 800px) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for viewports that meet the condition */
}
