#main h1 {
	margin-bottom: 14px;

	font-family: 'LeagueGothic', sans-serif;
	font-size: 35px;
	color: #2d2d2d;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
	text-transform: uppercase;
	font-style: italic;
}

/* - - - INTRO - - - */
#intro {
	display: block;
	float: left;

	width: 630px;
	width: calc(100% - 300px);
}
#intro p {
	color: #2d2d2d;
	line-height: 1.5;
}
@media screen and (max-width: 960px){ #intro { width: calc(100% - 240px); } }
@media screen and (max-width: 660px){ #intro { width: 100%; text-align: center; } }



/* - - - GUESTBOOK - - - */
#guestbook {
	float: right;

	box-sizing: border-box;
	-moz-box-sizing: border-box;

	width: 257px;
}
#guestbook p {
	margin-bottom: 3px;

	text-align: center;
	font-size: 14px;
	color: #2d2d2d;
}
#guestbook .cta {
	display: block;

	box-sizing: border-box;
	-moz-box-sizing: border-box;

	height: 53px;

	margin-top: 8px;
	padding-top: 16px;

	background-color: #ffb620;

	color: #fff;
	text-transform: uppercase;
	font-size: 17px;
	text-align: center;

	box-shadow: 0 4px 0 #b88020;

	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
#guestbook .cta .icon {
	display: inline-block;

	width: 27px;
	height: 26px;

	margin-right: 11px;
	vertical-align: -9px;

	background: url('../images/guestbook-icon.png') no-repeat 0 0;
}
#guestbook .cta:hover { background: #ffce64; }
#guestbook .cta:active { background: #ffce64; }
@media screen and (max-width: 960px){ #guestbook { width: 220px; } }
@media screen and (max-width: 660px){
	#guestbook {
		width: 100%;
		margin-top: 20px;
		margin-bottom: 20px;

		padding-left: 47px;
		padding-right: 47px;
	}
}
@media screen and (max-width: 380px){ #guestbook { padding-left: 0; padding-right: 0; }}



/* - - - CATEGORIES - - - */
#categories {
	position: relative;

	margin-top: 45px;
	margin-bottom: 55px;
	padding: 50px 45px;

	border: 2px solid rgba(255, 255, 255, 0.05);
}
#categories h2 {
	position: absolute;
	width: 100%;

	left: 0;
	top: -16px;

	text-align: center;
	font-family: 'LeagueGothic', sans-serif;
	font-size: 25px;
	color: #2d2d2d;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
	text-transform: uppercase;
	font-style: italic;
}
#categories h2 span {
	display: inline-block;
	padding: 0 36px;
}

#categories .content {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	flex-flow: row wrap;
	justify-content: space-around;
}
#categories .item {
	width: 31%;

	box-sizing: border-box;
	-moz-box-sizing: border-box;

	padding: 18px 16px;
	padding-left: 12px;
	margin-bottom: 15px;

	background: #ffffff;
	border-bottom: 4px solid #949494;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.13);

	color: #2e2e2e;
	font-size: 17px;

	white-space: nowrap;
	overflow: hidden;
}
#categories .item:hover { border-bottom-color: #ffb620; }
#categories .item .text { display: inline-block; }
#categories .item strong {
	display: block;
	margin-bottom: 2px;
}
#categories .item .icon {
	display: inline-block;
	width: 52px;
	margin-right: 20px;
	background: url('../images/categories-icons.png') no-repeat 0 0;
}
#categories .item.motor .icon { height: 35px; background-position: 0 0; }
#categories .item.potkocsi .icon { height: 28px; background-position: 0 -40px; }
#categories .item.busz .icon { height: 35px; background-position: 0 -70px; }
#categories .item.teherauto .icon { height: 35px; background-position: 0 -105px; }
#categories .item.auto .icon { height: 28px; background-position: 0 -147px; }

@media screen and (max-width: 960px){
	#categories .item { width: 46%; }
}
@media screen and (max-width: 660px){
	#categories .item {
		width: 100%;
		text-align: center;
	}
}
@media screen and (max-width: 380px){
	#categories {
		padding: 0;
		border: 0;
	}
	#categories h2 {
		position: static;
		margin-bottom: 20px;
	}
}


/* - - - SOCIAL - - - */
.fb-page.fb_iframe_widget {
    border-bottom: 4px solid #4a1111;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.13);
}

#social h2 {
	margin-bottom: 21px;

	text-align: center;
	font-family: 'LeagueGothic', sans-serif;
	font-size: 25px;
	color: #2d2d2d;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
	text-transform: uppercase;
	font-style: italic;
}
#social .content {
	    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;

	position: relative;

	height: 130px;
	margin-bottom: 65px;
}
#social .content .bg {
	position: relative;
	height: 100%;
	flex-grow: 1;
	overflow: hidden;
}
#social .content .item {
	width: 160px;
	padding-top: 27px;

	box-sizing: border-box;
	-moz-box-sizing: border-box;
	
	flex-shrink: 0;
	text-align: center;
}
#social .content .bg.google { background-color: #d95333; }
#social .content .bg.facebook { background-color: #4561af; }
#social .content .bg .icon {
	display: block;
	position: absolute;

	width: 240px;
	height: 68px;

	bottom: -25px;
	right: -43px;

	background: url('../images/social_icons.png') no-repeat 0 0;
}
#social .content .bg.google .icon { background-position: 0 0; }
#social .content .bg.facebook .icon { background-position: 0 -68px; }
@media screen and (max-width: 660px){
	#social .content .bg {
		position: absolute;
		width: 10px;
	}
	#social .content .bg .icon { display: none; }
	#social .content .item {
		width: 50%;
		padding-left: 10px;
	}
}