/*
	CSS file for METRO WiFi landing
*/

@font-face {
	font-family: 'DIN';
	src: url('../fonts/DIN-Bold.eot');
	src: url('../fonts/DIN-Bold.eot?#iefix') format('embedded-opentype'),
		url('../fonts/DIN-Bold.woff') format('woff'),
		url('../fonts/DIN-Bold.ttf') format('truetype'),
		url('../fonts/DIN-Bold.svg#DIN-Bold') format('svg');
	font-weight: bold;
	font-style: normal;
}


/*	General	
------------------------------*/
	
	* {
		padding: 0;
		margin: 0;
		outline: none;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}
	
	.clearfix:after {
		visibility: hidden;
		display: block;
		font-size: 0;
		content: " ";
		clear: both;
		height: 0;
	}
	
	* html .clearfix,
	*:first-child+html .clearfix { 
		zoom: 1;
	}
	
	body {
		font-family: 'DIN', Verdana, Arial, sans-serif;
		background: #132d5b;
	}
				
	img {
		max-width: 100%;
		height: auto;
	}
	
	a img {
		border: 0;
	}	
	
	.fancybox-toolbar {
		opacity: 1 !important;
		visibility: visible !important;
	}
	
	.fancybox-button--close {
		width: auto;
		height: auto;
		color: #003d7c;
		font-weight: bold;		
		background: #ffe600;
		padding: 12px 15px;
	}
	
		.fancybox-button--close:hover {
			color: inherit;	
		}
		
		.fancybox-button--close:before {
			content: "VISSZA";
		}
	
		.fancybox-button--close svg {
			display: none;
		}
	
	
/*	Boxes
-------------------------------------------*/
	
	.wrapper {
		width: 100%;
		min-height: 100vh;
		padding: 15px 15px;
		position: relative;
		overflow: hidden;
		display: -webkit-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		-webkit-justify-content: center;
		justify-content: center;
		-webkit-box-align: center;
		-ms-flex-align: center;
		-webkit-align-items: center;
		align-items: center;
		box-sizing: border-box;
	}
	
	.boxes {
		width: 100%;
		max-width: 870px;
	}
	
		.box {
			float: left;
			width: 32.183908045977011%;
			height: auto;			
			padding-bottom: 32.183908045977011%;
			margin-left: 1.724137931034484%;
			margin-bottom: 1.724137931034484%;
			background: #1a3c7b;
			position: relative;
			text-decoration: none;
		}
		
			.box:first-child,
			.box:nth-child(3n+1) {
				margin-left: 0px;
			}
		
			.box .content {
				top: 50%;
				left: 10px;
				right: 10px;
				text-align: center;
				position: absolute;
				-webkit-transform: translateY(-50%);
						transform: translateY(-50%);
			}
						
				.box .content i {
					color: #fbe400;
					font-size: 48px;
					line-height: 58px;
					height: 58px;
				}
				
					.box .content i.fa-mobile {						
						font-size: 64px;
					}
					
					.box .content i.fa-external-link {
						top: 2px;
						position: relative;
					}
				
				.box .content h3 {
					color: #ffffff;
					font-size: 28px;
					line-hegight: 36px;
					padding-top: 10px;
				}
				
					.box .content h3 span {
						display: block;
						font-size: 18px;
						padding-top: 3px;
					}
	
		.box.box-metro {
			background: #ffffff;	
		}
		
			.box.box-metro .content img {
				width: auto;
				height: auto;
				max-height: 58px;
				display: block;
				margin: 0 auto;
			}
		
			.box.box-metro .content h3 {
				color: #1a3c7b;
			}
			
			.box.box-metro .content h4 {
				color: #1a3c7b;
				font-size: 18px;
				line-hegight: 32px;
				text-align: center;
				margin-top: 40px;
				padding: 0 10px;
			}


/*	Fishes
-------------------------------------------*/
	
	.fishes {
		padding: 30px 0;
		max-width: 1500px;
	}
	
	.fishes .box.box-metro {
		width: 280px;
		padding-bottom: 280px;
	}
	
	.fishes .box {
		margin-left: 20px;
	}
	
	.fish {
		width: 280px;
		height: 280px;
		padding-bottom: 0px;
	}
	
		.fish .image {
			width: 100%;
			height: 222px;
			background-size: 80% auto;
			background-repeat: no-repeat;
			background-position: center center;
			background-color: #ffffff;
		}
		
		.fish h4 {
			height: 58px;
			color: #ffffff;
			font-size: 22px;
			line-hegight: 36px;
			text-align: center;
			padding: 14px 0;
			box-sizing: border-box;
		}
	
			
			
/*	Responsive
-------------------------------------------*/

	@media (max-width: 900px)
	{
		.wrapper { padding-bottom: 0px; padding-top: 10px; }
		.boxes { max-width: 576px; }
		.box { width: calc(50% - 5px); padding-bottom: calc(50% - 5px); margin-left: 0px !important; margin-bottom: 10px; }
		.box:nth-child(even) { float: right; }
	}
	
	@media (max-width: 560px)
	{
		.box .content h3 { font-size: 22px; line-height: 26px; }
		.box .content h3 span { font-size: 15px; line-height: 20px; padding-top: 6px; }
	}
	
	@media (max-width: 440px)
	{
		.wrapper { padding-bottom: 11px; padding-top: 15px; }
		.box { width: calc(50% - 2px); padding-bottom: calc(50% - 2px); margin-left: 0px !important; margin-bottom: 4px; }
		.box .content i { font-size: 35px; line-height: 35px; height: 35px; }
		.box .content i.fa-mobile {	font-size: 44px; }
		.box .content h3 { font-size: 15px; }
		.box .content h3 span { font-size: 13px; line-height: 15px; }
	}
