photo_block/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * 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
   ========================================================================== */

html {
    color: #222;
    font-size: 0.9em;
    line-height: 1.4;
	font-family: 'Inconsolata', monospace;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

	
	hr.style_bianco {
		display:inline-block;
	height: 6px;
	background: url(../img/hr.png) repeat-x 0 0;
    border: 0;
	width:35px;
	display:block; 	margin:5px auto;
}






hr.style_nero {
	display:inline-block;
	height: 6px;
	background: url(../img/hr.png) repeat-x 0 0;
    border: 0;
	width:35px;
	margin:5px 0px;
}


hr.style_nero_centro {
	height: 6px;
	background: url(../img/hr.png) repeat-x 0 0;
    border: 0;
	width:50px;
	display:block; 	margin:10px auto;
}



h1, h2, h3, h4, h5{margin:5px 0px;padding:0; line-height:1em}
		p{padding:0; margin:5px 0px}
		a{text-decoration:none; color:#000}
		.pre_header{float:left; width:100%; background:#fff; height:50px; line-height:50px; padding:0px 50px; box-sizing:border-box; margin:0px;}
header{float:left; width:100%; background:#fff; height:auto; text-align:center; padding:0px; box-sizing:border-box; margin:0px;}
#contenitore_menu{float:left; width:100%; line-height:50px; height:50px; z-index:999; background:#fff }
#menu{ float:left; width:100%;height:50px; position:relative; padding:0px 50px; box-sizing:border-box;  text-align:center; }
#menu nav{display:inline-block; margin:0px auto; padding:0px;  height:50px; }
#menu nav ul{margin:0; padding:0; list-style:none; }
#menu nav ul li{display:inline-block; margin:0 10px; }
#menu nav ul li a{color:#0e402c; text-decoration:none; font-size:0.9em; letter-spacing:2px; padding:0 2px}
#menu nav ul li a.sel{text-decoration:line-through; }
.t-center{text-align:center}

.pre_header .social{float:right;}
.pre_header .social a{display:inline-block; margin: 0px 5px; font-size:1.2em}


.pre_header .lang{float:left;}
.pre_header .lang a{display:inline-block; margin: 0px 5px; font-size:0.8em}


header .logo{display:inline-block; margin:0px auto 20px auto; padding:0px; width:140px }
header .logo img{float:left; width:100%;}

.grigia{background:#e0e3df}

.fixed-header {
  position: fixed!important;
  top:0; left:0;
  width: 100%; 
  background:rgba(255,255,255,1); 
  z-index:9999;
  float:none
}
		
        #contenitore{float:left; width:100%; padding:0px 50px 50px 50px; box-sizing:border-box; background:#fff}
		#contenuto{float:left; width:100%;box-sizing:border-box;}
		.contenuto{margin:0 auto; width:100%; max-width:1400px; }
		#box_sfondo{float:left; width:100%;}
		#box_sfondo img{float:left; width:100%;}
		section{float:left; width:100%;}
		
		.hp_about .testo{float:left; width:34%; height:800px; display:table;}
		.hp_about .testo .cella{display:table-cell; vertical-align:middle; padding:50px; text-align:right}
		.hp_about .foto{float:left; width:33%; height:800px;}
		
		.hp_singola .testo{float:left; width:67%; height:800px; background:#e0e3df; display:table;}
		.hp_singola .testo .cella{display:table-cell; vertical-align:middle; padding:50px; text-align:right}
		.hp_singola .foto{float:left; width:33%; height:800px;}
		
		
		.hp_news {margin:0; padding:0; list-style:none}
		.hp_news .testo{float:left; width:33%; height:800px; display:table;}
		.hp_news .testo .cella{display:table-cell; vertical-align:middle; padding:50px; text-align:left}
		.hp_news .foto{float:left; width:67%; height:800px;}
		.hp_news li:nth-child(2n+0) .testo{background:#e0e3df;}
		
		
		
		#projects {margin:0; padding:0; list-style:none}
		#projects .testo{float:left; width:33%; height:800px; display:table; background:#e0e3df;}
		#projects .testo .cella{display:table-cell; vertical-align:middle; padding:50px; text-align:left}
		#projects .foto{float:left; width:67%; height:800px;}
		#projects li:nth-child(2n+0) .testo{background:#fff;}
		
		
		
		
		footer{margin:0; padding:0; box-sizing:border-box; float:left; width:100%; background:#e0e3df; list-style:none; font-size:0.8em}
        footer .col{padding:50px; margin:1%; box-sizing:border-box; float:left; width:23%; box-sizing:border-box; text-align:center;}
        footer .col span{float:left; width:100%; line-height:20px;}
        footer .social a{display:inline-block; margin:0px 4px; font-size:1.5em; line-height:40px;}
		
		
		
		
		#design{float:left; width:100%; text-align:center; line-height:50px; font-size:0.8em}




/*ABOUT */


.testo_about{float:left; text-align:center; margin:50px 0px; width:100%;}

.grid{float:left; width:100%; height:auto; background:#e0e3df; padding:50px; box-sizing:border-box}
.grid2{float:left; width:100%; height:auto; background:#e0e3df; padding:50px; margin:50px 0px 0px 0px;box-sizing:border-box}
.grid img, .grid2 img{float:left; width:100%; }

#bullet_point{margin:50px 0px 0px 0px; padding:0; box-sizing:border-box; float:left; width:100%; background:#e0e3df; list-style:none; font-size:0.8em}
#bullet_point li{padding:50px; margin:1%; box-sizing:border-box; float:left; width:23%; box-sizing:border-box; text-align:center;}
    
#iscriviti{float:left; text-align:center; padding:50px 0px; width:100%; background:#e0e3df; margin:50px 0px 0px  0px}


/*DETTAGLIO_NEWS */

#testo_dettaglio{float:left; width:100%;  margin:0px; background:#e0e3df; padding:50px 25px; text-align:center; box-sizing:border-box}
#banner_foto{float:left; width:100%; padding:0px; margin:0; background:#e0e3df; }
#banner_foto .slide{float:left; width:100%; height:85vh; padding:0; margin:0; }
#banner_foto .slide .gabbia{ width:100%; height:100%; position:relative; top:0; left:0; display:table; padding:50px; box-sizing:border-box }
#banner_foto .slide .gabbia .testo{width:100%; display:table-cell; vertical-align:bottom; text-align:center; font-size:1.5em; color:#fff; font-family: 'Inconsolata', monospace;}


#photo_block{display:block; width:100%; max-width:1600px; margin:0px auto; padding:20px; box-sizing:border-box; list-style:none}
#photo_block li{float:left; width:100%; height:auto; padding:20px; box-sizing:border-box}
#photo_block li img{float:left; width:100%; height:auto; }



#form_contatti{float:left; width:100%; background:#e0e3df; padding:25px; box-sizing:border-box}
.box_contatti{float:left; width:100%;}
.box_contatti .meta{float:left; width:50%; padding:10px 25px; box-sizing:border-box}
.box_contatti .lunga{float:left; width:100%; padding:10px 25px; box-sizing:border-box}
.box_contatti .row{float:left; width:100%; margin:10px 0px 0px 0px}
.box_contatti input, .box_contatti textarea{float:left; width:100%; padding:20px; box-sizing:border-box}
.box_contatti input, .box_contatti textarea{border:1px solid#ccc}
.box_contatti input[type=button]{float:none;width:auto; margin:0 auto; display:inline-block; background:#000; color:#fff; padding:20px 40px;}


.addresses{float:left; width:100%; margin:20px 0px 0px 0px; font-size:1.2em}


#reach_us{float:left; width:100%; height:auto; background:#ccc}
#reach_us .meta{float:left; width:50%; height:100vh}

#reach_us .meta .testo_mappa{float:left; width:100%; height:100vh; display:table; background:#e0e3df}
#reach_us .meta .testo_mappa .raggiungi{display:table-cell; vertical-align:middle; padding:50px; box-sizing:border-box}
  
#map  {float:left; width:100%; height:100vh}
    
	#social_wall{float:left; width:100%; margin:100px 0px}
	
	
	
	
	
a.link {
	position: relative;
	display: inline-block;
	margin: 0px -10px 0px -10px;
	outline: none;
	color: #000;
	text-decoration: none;
	
}

a.link:hover,
a.link:focus {
	outline: none;
}

/* Effect 1: Brackets */
a.link::before,
a.link::after {
	display: inline-block;
	opacity: 0;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
	-moz-transition: -moz-transform 0.3s, opacity 0.2s;
	transition: transform 0.3s, opacity 0.2s;
}

a.link::before {
	margin-right: 5px;
	content: '[';
	-webkit-transform: translateX(20px);
	-moz-transform: translateX(20px);
	transform: translateX(20px);
}

a.link::after {
	margin-left: 5px;
	content: ']';
	-webkit-transform: translateX(-20px);
	-moz-transform: translateX(-20px);
	transform: translateX(-20px);
}

a.link:hover::before,
a.link:hover::after,
a.link:focus::before,
a.link:focus::after {
	opacity: 1;
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	transform: translateX(0px);
}

	

#tasto_menu, #menu_mobile {display: none}


.gallery{background-position:center center!important; background-size:cover;}

	
	
	#naviga{float:left; width:100%; list-style:none; padding:20px; box-sizing:border-box}
	#naviga li{float:left; width:100%; line-height:40px; text-align:center}
	
	
	
	
	
	@media only screen and (min-width: 767px) and (max-width: 1400px) {
		
		
		
		.hp_about .testo{float:left; width:34%; height:500px; display:table;}
	
		.hp_about .foto{float:left; width:33%; height:500px;}
		
		.hp_singola .testo{float:left; width:67%; height:500px; background:#e0e3df; display:table;}
		
		.hp_singola .foto{float:left; width:33%; height:500px;}
		
	
		.hp_news .testo{float:left; width:33%; height:500px; display:table;}
	
		.hp_news .foto{float:left; width:67%; height:500px;}
	
		#projects .testo{float:left; width:33%; height:500px; display:table; background:#e0e3df;}
		
		#projects .foto{float:left; width:67%; height:500px;}
		
		
		
		
		}
	
	
	
	
	
	@media only screen and (min-width: 0px) and (max-width: 767px) {
		
		
#tasto_menu{float:left; width:100%; height:50px; background:#000; text-align:center; color:#fff;}
#tasto_close{float:left; width:100%; height:50px;  text-align:center; padding:20px 0px}
		
#menu_mobile {position: fixed; top: 0;left: 0;width: 100%;height: 100%;background:#fff; z-index:1999; overflow:scroll; display:block; box-sizing:border-box; }
#menu_mobile {-webkit-transition: all 500ms cubic-bezier(0.455, 0.030, 0.515, 0.955);-moz-transition: all 500ms cubic-bezier(0.455, 0.030, 0.515, 0.955);-o-transition: all 500ms cubic-bezier(0.455, 0.030, 0.515, 0.955);transition: all 500ms cubic-bezier(0.455, 0.030, 0.515, 0.955); /* easeInOutQuad */-webkit-transition-timing-function: cubic-bezier(0.455, 0.030, 0.515, 0.955);-moz-transition-timing-function: cubic-bezier(0.455, 0.030, 0.515, 0.955);-o-transition-timing-function: cubic-bezier(0.455, 0.030, 0.515, 0.955);transition-timing-function: cubic-bezier(0.455, 0.030, 0.515, 0.955); /* easeInOutQuad */}
#menu_mobile {transform: translateY(-100%);-webkit-transform: translateY(-100%);-moz-transform: translateY(-100%);transform: translateY(-100%);}
#menu_mobile.open {transform: translateY(0px);-webkit-transform: translateY(0px);-moz-transform: translateY(0px);transform: translateY(0px);}
		
		
		
#menu_mobile #menu{float:none; width:100%; height:auto; position:relative; padding:20px 10px 40px 10px; box-sizing:border-box;  text-align:center; overflow:scroll}
#menu_mobile #menu nav{display:block; margin:0px; padding:0px;  height:auto; width:100%; }
#menu_mobile #menu nav ul{margin:0; padding:0; list-style:none; }
#menu_mobile #menu nav ul li{display:inline-block; margin:0px; width:100%;}
#menu_mobile #menu nav ul li a{color:#0e402c; text-decoration:none; font-size:0.9em; letter-spacing:2px; padding:0 2px; line-height:40px}
#menu_mobile #menu nav ul li a.sel{text-decoration:line-through; }
		
		
		
		
		
		
		
		
		
		
			.pre_header{float:left; width:100%; background:#fff; height:40px; line-height:40px; padding:0px 10px; box-sizing:border-box; margin:0px;}
		
		header .logo{display:inline-block; margin:0px auto 20px auto; padding:0px; width:80px }




		    #contenitore{float:left; width:100%; padding:0px; box-sizing:border-box; background:#fff}
		
		
		
		
		.hp_about .testo{float:left; width:100%; height:auto; display:table;}
		.hp_about .testo .cella{display:table-cell; vertical-align:middle; padding:40px 10px; text-align:center}
		.hp_about .foto{float:left; width:100%; height:40vh;}
		
		.hp_singola .testo{float:left; width:100%; height:auto; background:#e0e3df; display:table;}
		.hp_singola .testo .cella{display:table-cell; vertical-align:middle; padding:40px 10px; text-align:center}
		.hp_singola .foto{float:left; width:100%; height:40vh;}
		
		
		
		.hp_news .testo{float:left; width:100%; height:auto; display:table;}
		.hp_news .testo .cella{display:table-cell; vertical-align:middle; padding:40px 10px; text-align:center}
		.hp_news .foto{float:left; width:100%; height:40vh;}
		
		
		
		
		
			
		#projects .testo{float:left; width:100%; height:auto; display:table; background:#e0e3df;}
		#projects .testo .cella{display:table-cell; vertical-align:middle; padding:40px 10px; text-align:center}
		#projects .foto{float:left; width:100%; height:40vh;}
		
		
		
		
		footer{ padding:20px 0px;}
		
		
        footer .col{padding:10px; margin:0%; box-sizing:border-box; float:left; width:100%; box-sizing:border-box; text-align:center;}
       
		
		
	
		
		
		
		
		/*ABOUT */


.testo_about{float:left; text-align:center; margin:40px 0px; padding:0 20px; box-sizing:border-box}

.grid{float:left; width:100%; height:auto; background:#e0e3df; padding:20px; box-sizing:border-box}
.grid2{float:left; width:100%; height:auto; background:#e0e3df; padding:20px; margin:20px 0px 0px 0px;box-sizing:border-box}
.grid img, .grid2 img{float:left; width:100%; }

#bullet_point{margin:20px 0px 0px 0px; padding:0; box-sizing:border-box; float:left; width:100%; background:#e0e3df; list-style:none; font-size:1em}
#bullet_point li{padding:20px 0px; margin:0%; box-sizing:border-box; float:left; width:100%; box-sizing:border-box; text-align:center;}
    
#iscriviti{float:left; text-align:center; padding:50px 0px; width:100%; background:#e0e3df; margin:50px 0px 0px  0px}

		#banner_foto .slide{float:left; width:100%; height:40vh; padding:0; margin:0; }
		
		
		
		
		
		
		
		
		
		
		/*DETTAGLIO_NEWS */

#testo_dettaglio{padding:40px 10px; }

#banner_foto .slide{float:left; width:100%; height:40vh; padding:0; margin:0; }
#banner_foto .slide .gabbia{ width:100%; height:100%; position:relative; top:0; left:0; display:table; padding:50px; box-sizing:border-box }
#banner_foto .slide .gabbia .testo{width:100%; display:table-cell; vertical-align:bottom; text-align:center; font-size:1.5em; color:#fff; font-family: 'Inconsolata', monospace;}



#photo_block li{float:left; width:100%; height:auto; }



#form_contatti{float:left; width:100%; background:#e0e3df; padding:10px; box-sizing:border-box}
.box_contatti{float:left; width:100%;}
.box_contatti .meta{float:left; width:100%; padding:10px ; box-sizing:border-box}
.box_contatti .lunga{float:left; width:100%; padding:10px ; box-sizing:border-box}
.box_contatti .row{float:left; width:100%; margin:10px 0px 0px 0px}
.box_contatti input, .box_contatti textarea{float:left; width:100%; padding:20px; box-sizing:border-box}
.box_contatti input, .box_contatti textarea{border:1px solid#ccc}
.box_contatti input[type=button]{float:none;width:auto; margin:0 auto; display:inline-block; background:#000; color:#fff; padding:20px 40px;}


.addresses{float:left; width:100%; margin:20px 0px 0px 0px; font-size:1.2em}


#reach_us{float:left; width:100%; height:auto; background:#ccc}
#reach_us .meta{float:left; width:100%; height:auto}

#reach_us .meta .testo_mappa{float:left; width:100%; height:auto; display:table; background:#e0e3df; text-align:center}
#reach_us .meta .testo_mappa .raggiungi{display:table-cell; vertical-align:middle; padding:20px; box-sizing:border-box}
  
#map  {float:left; width:100%; height:100vh}
    
	#social_wall{float:left; width:100%; margin:100px 0px}
	
		
		
		
		
	#naviga li{text-align:center}
		
		}
	

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
