.thirteenf_container{
	width:1024px;
	position: relative;
	margin:0 auto;
	clear: both;
}
.thirteenftools_containerfluid{
	width: 100%;
}
.thirteenf_clear{
	clear: both;
}
.thirteenf_halfcolumn{
	width:50%;
	float:left;
}
.thirteenf_thirdcolumn{
	width:calc( 100% / 3);
	float:left;
}

.thirteenf_twothirdcolumn{
	width:calc( 100% * 2/3);
	float:left;	
}
.thirteenf_centeredcontent{
	position: relative;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
.thirteenf_centeredchild{
	position: absolute;
	text-align: center;
	top: 50%;
	width:100%;
	transform: translateY(-50%);
}

.thirteenf_centeredcontent.thirteenf_square{
	width: 100%;
    padding-top: 100%;
    position:relative;
}

.thirteenf_button{
	width:100%;
	font-size: 14px;
	text-align: center;
	padding:20px 0;
	border:1px solid #000;
	color:#000;
	display:block;
}
.thirteenf_button:hover{
	background-color:#000;
	color:#FFF;
}

@media all and (min-width: 768px) and (max-width: 1024px) { 
	.thirteenf_container{width:100%;}
	.thirteenf_container p {font-size: 90%;}
}

@media all and (min-width: 480px) and (max-width: 768px) { 
	.thirteenf_container{width:100%;}
	.thirteenf_container p {font-size: 90%;}
}


@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {

	#gallery .box{
		width:100%;
	}

	.thirteenf_container{width:100%;}
	.thirteenf_container p {font-size: 90%;}
	.thirteenf_widebox{
		padding:5%!important;
	}
	.thirteenf_centeredcontent.thirteenf_square{
		padding-top:0;
	}
	.thirteenf_centeredcontent.thirteenf_square.thirteenftools_image{
		padding-top:100%;
	}
	.thirteenf_hide{
		display:none;
	}
	.thirteenf_button{width:100%!important;}
	.thirteenf_halfcolumn{
		width:100% !important;
		padding:0;
	}
	.columnsperated > .thirteenf_halfcolumn ~ .thirteenf_halfcolumn{margin-left:0!important;margin-bottom:10px;}
	.thirteenf_thirdcolumn{
	}
	.thirteenf_thirdcolumn img{
		width: 100%!important;
	}

	.thirteenf_button{
		font-size: 80%;
	}

	.thirteenf_centeredchild{
		position: relative;
		text-align: center;
		width:100%;
		padding:0px;
		transform: translateY(0);
	}


}