/*
Theme Name: Tankboys
Author: Tankboys with Andrea Serrani
*/



/* =Reset
-------------------------------------------------------------- */

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;
}
body {
	line-height: 1;
-moz-font-feature-settings:"calt" 1; 
-moz-font-feature-settings:"calt=1"; 
-ms-font-feature-settings:"calt" 1; 
-o-font-feature-settings:"calt" 1; 
-webkit-font-feature-settings:"calt" 1; 
font-feature-settings:"calt" 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;
}
caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}
html {
	overflow: hidden;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a:focus {
	outline: thin dotted;
}
.content a{
	border-bottom: 1px black solid;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
}
del {
	color: #333;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin-bottom: 1.714285714rem;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
small {
	font-size: smaller;
}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

/* Clearing floats */
.clear:after,
.wrapper:after,
.format-status .entry-header:after {
	clear: both;
}
.clear:before,
.clear:after,
.wrapper:before,
.wrapper:after,
.format-status .entry-header:before,
.format-status .entry-header:after {
	display: table;
	content: "";
}


/* Typography
-------------------------------------------------------------- */

@font-face {
font-family: 'designer';
    src: url('fonts/tt-designer.eot');
    src: url('fonts/tt-designer.eot#iefix') format('embedded-opentype'),
         url('fonts/tt-designer.woff') format('woff'),
         url('http://www.tankboys.biz/wp-content/themes/tankboys/fonts/designer.ttf') format('truetype'),
         url('fonts/tt-designer.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}


body, h1, h2, h3, h4, small, strong{
	font-weight: normal;
	font-family: designer, helvetica, arial, sans;
	<!--[if lt IE]> font-family: helvetica, arial, sans; <![endif]-->
	overflow: hidden;
	letter-spacing: 1px;
	word-spacing: -1px;	
		-webkit-font-smoothing: antialiased;
	font-weight: normal;
}

body, h4, small{
	font-size: 17px;
	line-height: 22px;
	font-weight: normal;
}	
h1, h2, h3, .big{
	font-size: 50px;
	line-height: 62px;
	text-transform: uppercase;
	font-weight: normal;
	letter-spacing: 2px;
	word-spacing: 0px;	
}
.small{
	font-size: 14px;
	line-height: 18px;
	font-weight: normal;
}
strong{
	font-weight: normal;
	text-transform: uppercase;
	display: block;
	text-align: center;
	width: 80%;
	padding-left: 10%;
	padding-right: 10%;	
	-webkit-hyphens: none;
	-moz-hyphens: none;
	hyphens: none;
}
a{
	color: black;
	text-decoration: none;
}
a:hover{
	text-decoration: none;
	border-bottom: 0px black solid;
}
p a:hover{
	border-bottom: 1px black solid;
}
li a:hover{
	border-bottom: 1px black solid;
}
h1 a:hover, h2 a:hover, h3 a:hover, .big a:hover{
	border-bottom: 0px black solid;
}
p{
	margin: 0px;
	text-indent: 44px;
}
p:first-child{
	text-indent: 0px;
}
.title{
	text-align: center;
	text-transform: uppercase;
	text-indent: 0px;
	margin: auto;
	margin-bottom: 22px;
	width: 70%;
}

/* Webkit */
::selection {
    background: yellow;
}
/* Gecko/Mozilla */
::-moz-selection {
    background: yellow;
}

/* Layout
-------------------------------------------------------------- */
body{
	margin: 0px;
	padding: 0px;
}

#container{
	overflow: hidden;
	position: relative;
	height: 100%;
}
.col{
	width: 25%;
	float: left;
	margin: 0px;
	padding: 0px;
	height: 100%;
	overflow: hidden;
}
#d1{
	position: fixed;
	top: 0px;
	padding-bottom: 30px;
}

#d2{
	height: 100%;
}
#d3{
}
#d4{
	position: fixed;
	top: 0px;
	top: 0px;
}
a.menu{
	display: block;
	padding-bottom: 62px;
	width: 90%;
}
	.hack{
		padding: 30px;
		height: 100%;
		overflow: auto;
	}
	.hack div{
	}
	#d2 .hack{
		overflow: auto;
		height: 100%;
		border-right: 2px black solid;
	}
	#d3 .hack{
		overflow: auto;
		height: 100%;
		border-left: 2px black solid;
	}
	.tLeft{
		text-align: left;
	}
	.tRight{
		text-align: right;
	}
	.tCenter{
		text-align: center;
	}
	.head{
	 	width: 100%; 
	}
	.head a{
		padding-right: 0px;
		display: block;
	}
	.navigation{
		padding-bottom: 0px !important;
		margin-bottom: 22px !important;
	}
	
	
	.profile-container p {
		text-indent: 0px;
		margin-bottom: 22px;
	}
	.profile-container p:first-child {
		text-indent: 0px;
	}
	.biography{
		padding-bottom: 22px;
	}
	.biography p {
		text-indent: 22px;
		margin-bottom: 0px;
	}
	.biography p:first-child {
		text-indent: 0px;
	}
	.profile div{
		margin-bottom: 0px;
	}
ul.collaborators{
	margin-top: 0px;
	padding-top: 0px;
	padding-bottom: 22px;
}
	
p.collaborators{
	margin-bottom: 0px;
	padding-bottom: 0px;
}
	@media screen and (min-width: 1300px) {
		.profile-container div{
			margin-bottom: 0px;
			padding-bottom: 0px;
			width: 45%;
			margin-right: 5%;
			float: left;
			-webkit-hyphens: none;
			-moz-hyphens: none;
			hyphens: none;

		}
		.profile-container div.biography{
			width: 100%;
			float: none;
			margin-right: 0;
			padding-bottom: 22px;
		}

		.profile p{
		}
		ul.collaborators li{
			-webkit-hyphens: none;
			-moz-hyphens: none;
			hyphens: none;		
		}
		ul.collaborators li{
			display: inline;
		}
		ul.collaborators li:after{
			content: ", ";
		}
		ul.collaborators li:last-child:after { 
			content: "."; 
		}


	}


	}
	
	
	.post-image{
	padding: 44px 0;
	width: 100%;
}
.image-description{
	text-align: center;
}
img {
	max-width:100%;
	padding-bottom: 11px;	
	padding-top: 11px;	
	margin: auto;
}
div.img{
	padding-top: 22px;
	text-align: center !important;
}
div.img p{
	text-indent: 0px;
}


#d2, #d1, #d3, #d4 {width:50% !important;}
#container {width:100% !important;}

.profile-container{
	width: 100%;
	overflow: auto;
}
div.profile-conteiner a:hover{
	border-bottom: 1px black solid;
}
.profile-container{
}
.caption{
font-size: 14px;
line-height: 18px; 
margin-top: 0px;
margin: auto;
margin-bottom: 22px;
text-align: center;
width: 70%;
}

.tip {
	color: #fff;
	display:none; /*--Hides by default--*/
	position:absolute;	z-index:1000;
	margin-bottom: 0px;
	padding-bottom: 0px;
}
.tip img{
	padding-bottom: 0px !important;
	margin-bottom: 0px !important;
	-moz-box-shadow: 5px 5px 10px grey;
	-webkit-box-shadow: 5px 5px 10px grey;
	box-shadow: 5px 5px 10px grey;
	display: none;
}
.feat-tags{
	visibility: hidden;
	padding-top: 44px;
}
.year{
	padding-bottom: 44px;
}
.feat-tags a:hover{
	border-bottom: 1px black solid;
}
.half-col{
	width: 50%;
	float: left;
}
.item{
	float: left;
	margin-right: 22px;
	margin-bottom: 44px;
	width: 150px;
	height: 220px;
}
.item img{
	padding-bottom: 15px;
} 
footer{
	margin-top: 30px;
	padding-bottom: 30px;
}


.feat-tags {padding-bottom:50px;}

#image_data_navigation{
width: 150px !important;
}
.blockquote, blockquote{
	padding: 22px;
	padding-left: 44px;
}
.no-indent{
	text-indent: 0;
}
.q-a{
	margin-top: 22px;
	margin-bottom: 22px;
	
}
#splash {display:none; position:fixed; z-index:10000000; top:0; left:0; width:80%; padding:10% 10% 10% 10%; height:100%; background:white; color:black; font-size:40px; line-height:45px;  text-align:center; text-transform:uppercase;}
#splash span a, #splash span a:hover{text-decoration:none; color:black; font-size:13px; margin-top:40px; border:none; display:block;}

#ascrail2000 {left:0.5% !important; right:auto !important;}
#ascrail2002 {right:0.5% !important; left:auto !important;}
#ascrail2001 {left:0.5% !important; right:auto !important;}
#ascrail2001.attivo {left:auto !important; right:0.5% !important;}
#ascrail2003 {right:0.5% !important; left:auto !important;}
#ascrail2003.attivo {right:auto !important; left:0.5% !important;}
.page #ascrail2001 {left:auto !important; right:0.5% !important;}
.profile-container {padding-bottom:20px;}
.tip img {width:300px !important;}
a, a:active, a:focus {outline:none !important;}
.stickyspan {color:red; opacity:0;}
a:hover .stickyspan {opacity:1;}
.issticky .tip{display:none !important;} 
.issticky {position:relative;}
.stickyspan {
color: red;
opacity: 0;
font-size: 17px;
position: absolute;
top: 0;
line-height: 37px;
left: 14px;
bottom: 10px;
}
.stickycontainer {position:relative;}
@media screen and (max-width: 1200px) {
		#waterlevel{display: none}
}
@media screen and (max-width: 900px) {
		#weatherlarge{display: none}
}

#error404{
	width: 100%;
	height: 65px;
	color: black;
	text-align: center;
	background: yellow;
	cursor: pointer;
	overflow: hidden;
	position: relative;
	z-index: 1000000000;
}
#error404 span{
	display: block;
	padding: 20px;
	position: relative;
}
#etceteralink{
	display: none;
}
#worklink{
	display: none;
}


/* Styles */

#splash {display:none !important;}

/* MOBILE LAYOUT  */

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-width : 320px) 
and (max-width : 480px) {
	.image-view {
		width: 40%;
		margin-right: 10%;
	}
	
	.hack{
		padding: 10px;
	}
	body, h4, small{
		font-size: 15px;
		line-height: 20px;
		font-weight: normal;
	}	
	
	.stickyspan {
		font-size: 15px;
		line-height: 20px;
	}
    .page-id-196 .ui-page {width:100%; }
    .page-id-196 #d2,.page-id-196 #d3 {
width: 100% !important;
height: auto !important;
overflow-x:hidden;
}
.page-id-196 #d3 .hack,.page-id-196 #d2 .hack {border:none !important;}
.page-id-196 h1 {display:none;}
	h1, h2, h3, .big{
		font-size: 25px;
		line-height: 32px;
		font-weight: normal;
		text-transform: uppercase;
		letter-spacing: 1px;
		word-spacing: 0px;	
	}
	#etceteralink{
	display: block;
	text-align: right;
	float: right;
}
	#worklink{
	display: block;
	text-align: left;
	
}
.navigation{
	margin-bottom: 5px !important;
}
	
    #d2, #d1, #d3, #d4 {
width: 100% !important;
}
  #d2, #d3 {
width: 50% !important;
}
.profile-container{
	padding-bottom: 0px;
}
.profile{
	padding-bottom: 0px;
	padding-top: 0px;
}
.ui-page{
	padding-top: 0px;
}
.tip img {
width: 150px !important;
}
#d3 {float:right; margin-left:0%;}
#weather {display:none;}
#container {width:200% !important;}
	.year{
		padding-bottom: 17px;
	}
	a.menu{
		display: block;
		padding-bottom: 17px;
		width: 95%;
	}
	body.home {overflow:auto;}
   .home #d2,.home #d3 {
width: 50% !important;
height:auto !important;
}
.hack {-webkit-overflow-scrolling: touch !important;}
.home #d2 .hack {
border-right: none;
}
.home #d3 .hack {
border-left: none;
}
.home .ui-loader {display:none;}
}

/* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px) {
/* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) {
/* Styles */
}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-width : 768px) 
and (max-width : 1024px) {
}
/* iPads (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
/* Styles */
}

/* iPads (portrait) ----------- */
@media only screen 
and (min-width : 481px) 
and (max-width : 1024px) 
 {
	body, h4, small{
		font-size: 15px;
		line-height: 20px;
		font-weight: normal;
	}	
	.stickyspan {
		font-size: 14px;
		line-height: 18px;
	}
	h1, h2, h3, .big{
		font-size: 32px;
		line-height: 40px;
		text-transform: uppercase;
		font-weight: normal;
		letter-spacing: 1px;
		word-spacing: 0px;	
	}
	a.menu{
		display: block;
		padding-bottom: 30px;
		width: 95%;
	}
	.year{
		padding-bottom: 30px;
	}

	.col, #d2, #d3{
	}
	.hack{
		padding: 20px;
	}
}

/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 1224px) {
}

/* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {
	h1, h2, h3, .big{
		font-size: 60px;
		line-height: 72px;
		text-transform: uppercase;
		font-weight: normal;
		letter-spacing: 2px;
		word-spacing: 0px;	
		
	}
	a.menu{
		display: block;
		padding-bottom: 72px;
		width: 90%;
	}
	.year{
		padding-bottom: 72px;
	}
}



.hack .issticky {cursor: url(img/upcoming.png) , auto;}
.stickycontainer {opacity:0 !important;}




.image-view {float:none; width:26%; margin-right:7%; display:none;}
.image-view img {
	width: 100%;
	height: auto;
	padding: 0;
}

body.immagini-view .year {display:none;}
body.immagini-view .keep {display:block;}
body.immagini-view .link-view {display:none;}
body.immagini-view .image-view {
display: block;
float: left;
margin-bottom: 20px;
}
#image-switcher {

	cursor:pointer;
		margin-left: 20px;
	}
#image-switcher:hover {border-bottom:0px solid black;}

body.immagini-view a.menu {padding-bottom:0;  width:100%;}


@media screen and (min-width: 1300px) {
.image-view {
width: 20%;
margin-right: 5%;
}
}


@media screen and (min-width: 1880px) {
	.image-view {
	width: 17%;
	margin-right: 3%;
	}
}



@media screen and (max-width: 950px) {
	.image-view {
		width: 45%;
		margin-right: 10%;
		
	}
	.image-view.pari {

		margin-right: 0% !important;
	}
}

@media screen and (max-width: 660px) {
	.image-view {
		width: 45%;
		margin-right: 10%;
		
	}
	.image-view.pari {

		margin-right: 0% !important;
	}
}


.thumbnail-caption{
	display: block;
	font-size: 14px;
	line-height: 19px; 
	margin-top: 0px;
	margin: auto;
	text-align: center;
	height: 70px;
	padding-top: 10px;
}

.image-view.attivoview .thumbnail-caption span {border-bottom:1px solid black;}
.separatore {height: 40px;
clear: both;}




@media only screen  and (min-width : 320px)  and (max-width : 480px) {
	.image-view {
		width: 45%;
		margin-right: 10%;
		
	}
	.image-view.pari {

		margin-right: 0% !important;
	}
	
}
.q-a {
	overflow: auto;

}
.q-a li
{
	width: 90%;
	float:left;	
}

.q-a li:nth-child(2n+1)
{
	width: 10%;
	float:left;	
}
.q-a li:nth-child(4n+4)
{
	padding-bottom: 22px;

}

#alert{
	width: 100%;
	padding: 25px;
	top: 0px;
	color: white;
	text-align: center;	
	background: blue;
}
#alert a{
	color: white;
	border-bottom: 2px white solid;
	}
	
	
	
	
	
/* book spinning ----------- */
	
	
.animation{

	position: fixed;
	top: 0%;
	left: 0%;
	height: 100vh;
	width: 100%;
	background: black;
	

}
.animation span{
	font-size: 3vw;
	line-height: 3.9vw;
	padding: 30px 60px;
	display: block;
	text-align: center;
	color: white;
	background: url('../../uploads/2017/05/forma-nuova3.gif') no-repeat center center fixed; 
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain; 
  height: 100%;
  position: relative;

}
.animation span a{
	color: white;
border-bottom: 0.28vw white solid;
padding-bottom: 0.18vw;
}
.bookwrap {

		position: fixed;
	top: 55%;
	left: 50%;
	margin-left: -125px;
	margin-top: -200px;
	height: 400px;
	width: 250px;
			-webkit-perspective: 1000px;
			-webkit-perspective-origin: 50% 100px;

			-moz-perspective: 1000px;
			-moz-perspective-origin: 50% 100px;

			-ms-perspective: 1000px;
			-ms-perspective-origin: 50% 100px;

			perspective: 1000px;
			perspective-origin: 50% 100px;
}
.book {

			-webkit-transform-style: preserve-3d;
			-webkit-animation: spin 5s infinite linear;
			
			-moz-transform-style: preserve-3d;
			-moz-animation: spin 5s infinite linear;

			-ms-transform-style: preserve-3d;
			-ms-animation: spin 5s infinite linear;

			transform-style: preserve-3d;
			animation: spin 5s infinite linear;

	width: 244px;
}
.book div {
	position: absolute;
	height: 400px;
}
.back {
	-webkit-transform: translateZ(-49px) rotateY(180deg);
	-moz-transform: translateZ(-49px) rotateY(180deg);
	-ms-transform: translateZ(-49px) rotateY(180deg);
	transform: translateZ(-49px) rotateY(180deg);
	width: 244px;
}
.right {
	-webkit-transform: rotateY(-90deg) translateX(195px);
	-moz-transform: rotateY(-90deg) translateX(195px);
	-ms-transform: rotateY(-90deg) translateX(195px);
	transform: rotateY(-90deg) translateX(195px);
	-webkit-transform-origin: top right;
	-moz-transform-origin: top right;
	-ms-transform-origin: top right;
	transform-origin: top right;
	width: 244px;
}
.left {
	-webkit-transform: rotateY(-90deg) translateX(-49px);
	-moz-transform: rotateY(-90deg) translateX(-49px);
	-ms-transform: rotateY(-90deg) translateX(-49px);
	transform: rotateY(-90deg) translateX(-49px);
	-webkit-transform-origin: center left;
	-moz-transform-origin: center left;
	-ms-transform-origin: center left;
	transform-origin: center left;
	width: 59px;
}
.front {
	-webkit-transform: translateZ(10px);
	-moz-transform: translateZ(10px);
	-ms-transform: translateZ(10px);
	transform: translateZ(10px);
	width: 244px;
}
		@-webkit-keyframes spin {
			from { -webkit-transform: rotateY(0); }
			to { -webkit-transform: rotateY(-360deg); }
		}

		@-ms-keyframes spin {
			from { ms-transform: rotateY(0); }
			to { ms-transform: rotateY(-360deg); }
		}

		@keyframes spin {
			from { transform: rotateY(0); }
			to { transform: rotateY(-360deg); }
		}