﻿@import url('https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i&subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700&subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Great+Vibes&subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Sans:600,700&subset=latin-ext');

@font-face {
	font-family:  'ChineseRocks';
	src: url('fonts/chinese-rocks-rg.woff') format('woff'),
		 url('fonts/chinese-rocks-rg.ttf') format('truetype'),
         url('fonts/chinese-rocks-rg-webfont.svg#ChineseRocks') format('svg');
    font-weight: normal;
    font-style: normal;
	}
	
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
	margin: 0;
	font-family:  'Roboto', sans-serif;
	font-size: 19px;
	text-align: left;
	}
	
/* HEADER */
	
.navbar {
	width: 100%;
	height: 72px;
	display: flex;
	justify-content: center;
	align-items: center;
	-webkit-align-items: center;
	border-bottom: 5px solid #cc0000;
}

.logo, .logo a, .logo a:hover, .logo a:visited, .logo a:focus {
	width: 287px;
	height: 40px;
	margin: 0 auto;
	border: 0;
	outline: 0;
	background: url(img/assets/rdp-logo-vertical.svg) center no-repeat;
	background-size: 100%;
	
}

@media screen and (max-width: 1280px){
	.navbar {
		height: 60px;
	}
	
	
	.logo {
		width: 215px;
		height: 30px;
		background-size: 70%;
	}
}

.mainmenu {
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
}	

.menu, .menu:visited {
	width: 74px;
	height: 51px;
	position: absolute;
	left: 0;
	top: 8px;
	display: flex;
	justify-content: center;
	align-items: center;
	-webkit-align-items: center;
	fill: #cc0000;
	border-right: 1px solid #cc0000;
}


	.menu svg {
		width: auto;
		height: 26px;
	}
	
@media screen and (max-width: 1280px){
	.menu, .menu:visited {
	width: 57px;
	height: 37px;
	top: 8px;
	}


	.menu svg {
		width: auto;
		height: 20px;
	}
}

.dropdown {
	display: none;
	width: 300px;
	position: absolute;
	top: 72px;
	left: 0;
	padding: 6px 15px 20px 15px;
	background: #cc0000;
	z-index: 999;
}

	.dropdown a, .dropdown a:visited {
		width: 100%;
		display: block;
		margin: 6px 0;
		color: white;
		font-size: 15px;
		line-height: 35px;
		letter-spacing: 1px;
		font-weight: 300;
		text-decoration: none;
		text-transform: uppercase;
		border-bottom: 1px dotted white;
	}
	
	.dropdown a:hover, .dropdown a:focus {
		background: white;
		color: #cc0000;
		border-left: 6px;
		text-indent: 12px;
		transition: all 0.2s ease-in-out;
			-webkit-transition: all 0.2s ease-in-out;
			-moz-transition: all 0.2s ease-in-out;
			-o-transition: all 0.2s ease-in-out;
	}
	
.mainmenu:hover .dropdown {
	display: block;
	transition: top 0.3s;
}

.mainmenu:hover .menu {
	height: 72px;
	top: 0;
	background: #cc0000;
	border-bottom: 5px solid #cc0000;
	fill: white;
}

@media screen and (max-width: 1280px){
	.dropdown {
		width: 100vh;
		top: 55px;
		position: relative;
		margin: 0 auto;
	}
}

.searchbox {
	position: absolute;
	right: 0;
	top: 0;
	display: flex;
}	

.search, .search:visited  {
	width: 74px;
	height: 51px;
	position: absolute;
	right: 0;
	top: 8px;
	display: flex;
	justify-content: center;
	align-items: center;
	-webkit-align-items: center;
	fill: #cc0000;
	border-left: 1px solid #cc0000;
}

.search:hover, .search:focus {
	height: 67px;
	top: 0;
	background: #cc0000;
	fill: white;
}

	.search svg {
		width: auto;
		height: 22px;
	}
	
@media screen and (max-width: 1280px){
	.search, .search:visited{
	width: 57px;
	height: 37px;
	top: 8px;
	}

	.search:hover, .search:focus {
		height: 37px;
	}


		.search svg {
			width: auto;
			height: 20px;
		}
}
	
.googlesearch {
	display: none;
	width: 600px;
	position: absolute;
	top: 67px;
	right: 0;
	border: 15px solid #cc0000;
	z-index: 999;
}

@media screen and (max-width: 1280px){
	.googlesearch {
		width: 100%;
		top: 55px;
		position: relative;
		margin: 0 auto;
	}
}

.searchbox:hover .googlesearch {
	display: block;
}

.searchbox:hover .search{
	height: 72px;
	top: 0;
	background: #cc0000;
	border-bottom: 5px solid #cc0000;
	fill: white;
}

/* TILES */

.tiles {
  display: flex;
  flex-wrap: wrap;
  max-width: 1914px;
}

.tile {
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: 3px;
  margin-left: 3px;
  
}


	.tile h1 {
		display: block;
		width: 100%;
		font-size: 42px;
		font-weight: 400;
		text-transform: uppercase;
		color: white;
		text-align: center;
		text-shadow: 2px 2px 2px rgba(0,0,0,0.2);
		margin: 0 0 4px 0;
	}
	
	.tile p {
		display: block;
		width: 100%;
		font-family: 'Great Vibes', cursive;
		font-weight: 400;
		font-size: 38px;
		color: white;
		text-align: center;
		text-shadow: 2px 2px 2px rgba(0,0,0,0.3);
		margin: 4px 0 0 0;
	}
	
.tile:nth-child(1) {
  background-image: url(http://sandbox.gtaplace.hu/RDPLACE/img/tiles/1.jpg);
  background-size: cover;
  background-position: center;
  width: calc(((100% / 5) * 3) - 3px);
  height: 500px;
}

.tile:nth-child(2) {
  background-image: url(http://sandbox.gtaplace.hu/RDPLACE/img/tiles/2.jpg);
  background-size: cover;
  background-position: center;
  width: calc(((100% / 5) * 2) - 3px);
  margin-left: 3px;
  height: 500px;
}

.tile:nth-child(3),
.tile:nth-child(4),
.tile:nth-child(5),
.tile:nth-child(6),
.tile:nth-child(7) {
  background-size: cover;
  background-position: center;
  width: calc((100% / 5) - 3px);
  height: 240px;
}

.tile:nth-child(3){
  background-image: url(http://sandbox.gtaplace.hu/RDPLACE/img/tiles/3.jpg);
}

.tile:nth-child(4){
  background-image: url(http://sandbox.gtaplace.hu/RDPLACE/img/tiles/4.jpg);
}
.tile:nth-child(5){
  background-image: url(http://sandbox.gtaplace.hu/RDPLACE/img/tiles/5.jpg);
}
.tile:nth-child(6){
  background-image: url(http://sandbox.gtaplace.hu/RDPLACE/img/tiles/7.jpg);
}
.tile:nth-child(7) {
  background-image: url(http://sandbox.gtaplace.hu/RDPLACE/img/tiles/6.jpg);
}


@media screen and (max-width: 1649px){

.tile:nth-child(1) {
  background-image: url(http://sandbox.gtaplace.hu/RDPLACE/img/tiles/1.jpg);
  width: calc(100% - 3px);
  height: 500px;
}

.tile:nth-child(2),
.tile:nth-child(3),
.tile:nth-child(4),
.tile:nth-child(5),
.tile:nth-child(6),
.tile:nth-child(7) {
  width: calc((100% / 3) - 4px);
  height: 240px;
}
	
}


@media screen and (max-width: 1024px){

.tile:nth-child(1) {
  background-image: url(http://sandbox.gtaplace.hu/RDPLACE/img/tiles/1.jpg);
  width: calc(100% - 6px);
  height: 200px;
}

.tile:nth-child(2),
.tile:nth-child(3),
.tile:nth-child(4),
.tile:nth-child(5),
.tile:nth-child(6),
.tile:nth-child(7) {
  width: calc((100% / 2) - 4px);
  height: 100px;
}

	.tile h1 {
		font-size: 19px;
	}
	
	.tile p {
		font-size: 18px;
	}
	
}

.tile:hover {
	}

.tile-red {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(204, 0, 0, 0);
  color: #fff;
}

.tile-red:hover {
  background: rgba(204, 0, 0, 0.85);
  cursor: pointer;
	transition: all 0.2s ease-in-out;
		-webkit-transition: all 0.2s ease-in-out;
		-moz-transition: all 0.2s ease-in-out;
		-o-transition: all 0.2s ease-in-out;
}


/* CONTENT */

.wrapper {
	width: 100%;
	display: flex;
	min-height: 1000px;
	margin: 50px 0 0 0;
}
	
	
/* LEFT */
	
.left{
	width: 74%;
}

.contentfull {
	width: 900px;
	text-align: left;
	margin: 0 auto;
}

.contenttype {
	width: 100;
	margin-bottom: 2px;
	font-size: 28px;
	font-family:  'ChineseRocks', sans-serif;
	text-transform: uppercase;
}

	#fronttitle {
		color: #cc0000;
		padding-bottom: 22px;
	}

.title-stylish {
	width: 100%;
	padding: 20px 0 20px 0;
}

	.title-stylish h1 {
		font-size: 60px;
		line-height: 70px;
		font-family:  'ChineseRocks', sans-serif;
		font-weight: 200;
		text-transform: uppercase;
		color: #cc0000;		
	}
	
	.title-stylish::after {
		content: "";
		width: 280px;
		height: 1px;
		background: #cc0000;
		position: absolute;
	}
	
.newsbox {
	width: 100%;
	max-width: 900px;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	border-bottom: 1px solid #cc0000;
	padding: 40px 0;
	margin: 0 auto;
}

	.newsthumb {
		display: inline-block;
		width: 40%;
		max-width: 350px;
		height: 100%;
		height: 184px;
		background: url(img/assets/news-placeholder.jpg);
		background-color: #cc0000;
		background-size: cover;
		background-position: center;
		margin-top: 0;
		margin-left: 0;
		padding: 0;
	}
	
	.newsthumb img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		background: url(img/assets/news-placeholder.jpg);
	}
	
		.title {
			display: inline-block;
			width: 60%;
			min-height: 162px;
			text-align: left;
			font-family: 'Roboto Condensed', sans-serif;
			color: black;
			font-size: 34px;
			line-height: 43px;
			font-weight: 600;
			text-transform: uppercase;
			text-decoration: none;
			margin-top: -9px;
			padding: 0 0 10px 19px;
			box-sizing: border-box;
		}
		
		.title:hover {
			color: #cc0000;
		}
		
		.read {
			padding: 8px;
			font-family:  'ChineseRocks', sans-serif;
			font-size: 22px;
			line-height: 30px;
			color: white;
			text-transform: uppercase;
			background: #cc0000;
			text-decoration: none;
			outline: 1px solid #cc0000;
			position: relative;
			float: right;
			margin-right: 0;
			margin-top: -10px;
			padding: 1px 8px 0 8px;
			z-index: 2;
		}
		
		.read:hover, .read:focus {
			background: white;
			color: #cc0000;
		}
	
.contentinfo {
	width: 100%;
	margin: 16px 0;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 16px;
	padding: 0;
}

	.newsbox .contentinfo {
		width: 60%;
		margin-left: calc(40% + 10px);
		margin-top: -20px;
		line-height: 16px;
		margin-bottom: 0;
		font-weight: 300;
	}

	.date {
		margin: 0;
		padding-left: 25px;
		
	}

	.date::before {
		content: url(img/assets/date.png);
		color: #cc0000;
		position: absolute;
		margin-left: -26px;
		margin-top: -1px;
		padding-right: 6px;		
	}


	.source {
		margin: 0 0 0 28px;
		padding-left: 26px;
		color: black;
		text-decoration: none;
		
	}

	.source::before {
		content: url(img/assets/source.png);
		color: #cc0000;
		position: absolute;
		margin-left: -26px;
		margin-top: -1px;
		padding-right: 6px;		
	}

	.author {
		margin: 0 0 0 28px;
		padding-left: 25px;
		
	}

	.author::before {
		content: url(img/assets/author.png);
		font-size: 30px;
		color: #cc0000;
		position: absolute;
		margin-left: -26px;
		margin-top: -12px;
		padding-right: 6px;		
	}
	

	.comments {
		margin: 0 0 0 28px;
		padding-left: 26px;
		color: black;
		text-decoration: none;
		
	}

	.comments::before {
		content: url(img/assets/comments.png);
		color: #cc0000;
		position: absolute;
		margin-left: -26px;
		margin-top: -1px;
		padding-right: 6px;		
	}
	
	.newsbox .date::before, .newsbox .source::before,.newsbox .comments::before {
		margin-top: -3px;
	}

.content {
	width: 100%;
	margin-top: 50px;
	line-height: 32px;
	font-size: 19px;
	font-weight: 300;
	font-family: 'Roboto', sans-serif;
}

	.lead {
		font-size: 24px;
		line-height: 32px;
		font-weight: 500;
		margin-bottom: 32px;
	}
	
	.content a, .content a:visited {
		color: #cc0000;
		text-decoration: none;
	}
	
	.content a:hover {
		text-decoration: underline;
	}
	
	.content ul {
		margin: 20px 0;
		list-style: none;
	}
	
	.content li {
		padding-left: 14px;
	}
	
	.content li::before {
		content: '▶';
		font-size: 22px;
		color: #cc0000;
		position: absolute;
		margin-left: -22px;
		margin-top: 1px;
		padding-right: 6px;		
	}
	
	.content img {
		margin-top: 30px;
		margin-bottom: 30px;
	}
	
	.content h1 {
		font-size: 30px;
		line-height: 30px;
		font-weight: 600;
		text-transform: uppercase;
		font-style: italic;
		color: #cc0000;
	}
	
	.content table{
		border: 0;
		padding: 0;
		border-spacing: 3px;
		max-width: 100%;
	}
	
	.content table td {
		border: 1px solid black;
		vertical-align: middle;
		font-size: 17px;
		line-height: 24px;
		padding: 6px;
	}

.pager {
	width: 100%;
	margin: 50px 0;
	text-align: center;
	color: #cc0000;
	font-family: 'Roboto', sans-serif;
	font-size: 20px;
	line-height: 42px;
	font-weight: 300;
	text-transform: uppercase;
}

	.pager a , .pager a:visited{
		text-decoration: none;
		line-height: 42px;
		padding: 8px 15px;
		color: #cc0000;
		border: 1px dotted #cc0000;
		margin: 0 6px;
	}
	
	.pager a:hover, .pager a:focus {
		border: 1px solid #cc0000;
		background: #cc0000;
		color: white;
	}
	
	.pager span {
		line-height: 42px;
		padding: 8px;
		color: #cc0000;
		margin: 0 6px;		
	}
	
	
/* RIGHT */

.right {
	width: 26%;
	min-width: 300px;
	border-left: 1px solid #cc0000;
	padding: 0 13px;
}

.sectioninfo {
	width: 100%;
	text-align: center;
}
	
	.sectioninfo img {
		border: 8px solid #cc0000;
		margin-bottom: 12px;
	}
	
	.sectioninfo table{
		width: 100%;
		border: 0;
		padding: 0;
		border-spacing: 3px;		
	}
	
	.sectioninfo table td {
		margin: 2px;
		border: 1px solid #cc0000;
		font-family:  'ChineseRocks', sans-serif;
		font-size: 18px;
		text-align: left;
		vertical-align: middle;
		line-height: 24px;
		text-transform: uppercase;
		color: #cc0000;
		padding: 5px;
	}
	
	 .sectioninfo a, .sectioninfo a:hover, .sectioninfo a:visited  {
		color: #cc0000;
		 text-decoration: none;
	 }
	
	
#countdown {
	width: 100%;
	padding: 15px;
	line-height: 30px;		
	font-family:  'ChineseRocks', sans-serif;
	font-size: 18px;
	text-align: center;
	text-transform: uppercase;
	color: white;
	background: #cc0000;
	margin-top: 30px;
}
	
	
.menuhead {
	width: 100%;
	padding: 15px;
	line-height: 50px;
	font-family:  'ChineseRocks', sans-serif;
	font-size: 21px;
	text-align: left;
	text-transform: uppercase;
	color: #cc0000;
	border-top: 7px solid #cc0000;
	margin: 30px 0 12px 0;
	padding: 0;
}
	
.menulink, .menulink:visited {
	width: 100%;
	display: block;
	margin: 3px 0 0 0;
	color: black;
	font-size: 18px;
	padding-left: 35px;
	line-height: 45px;
	letter-spacing: 1px;
	font-weight: 500;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 1px dotted black;
}
	
.menulink:hover, .menulink:focus {
		color: #cc0000;
		border-bottom: 1px dotted #cc0000;
		padding-left: 43px;
		transition: all 0.2s ease-in-out;
			-webkit-transition: all 0.2s ease-in-out;
			-moz-transition: all 0.2s ease-in-out;
			-o-transition: all 0.2s ease-in-out;
	}
	
	.menulink::before {
		content: '◆';
		color: #cc0000;
		position: absolute;
		margin-left: -22px;
		padding-right: 6px;		
	}

.menugallery {
	width: 100%;
	text-align: center;
	margin-bottom: -16px;
	padding: 0;
}

.menugallery img, .menugallery img a {
	width: calc(50% - 9px);
	height: auto;
	border: 0;
	display: inline-block;
	box-sizing: border-box;
	margin-bottom: 10px;
}

.menugallery a:nth-child(1),
.menugallery a:nth-child(3) {
	margin-right: 10px;
}

.menugallery a:nth-child(3),
.menugallery a:nth-child(4) {
	margin-bottom: 0 !important;
}

.viewall-link, .viewall-link:visited {
	width: 100%;
	display: block;
	margin: 4px 0 0 0;
	color: black;
	font-size: 18px;
	line-height: 45px;
	letter-spacing: 1px;
	font-weight: 500;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 1px dotted black;
}
	
.viewall-link:hover, .viewall-link:focus {
		color: #cc0000;
		border-bottom: 1px dotted #cc0000;
		transition: all 0.2s ease-in-out;
			-webkit-transition: all 0.2s ease-in-out;
			-moz-transition: all 0.2s ease-in-out;
			-o-transition: all 0.2s ease-in-out;
	}
	
	.viewall-link::before {
		content: '◆';
		color: #cc0000;
		position: absolute;
		margin-left: -22px;
		padding-right: 6px;		
	}

	.viewall-link::after{
		content: '◆';
		color: #cc0000;
		position: absolute;
		margin-left: 8px;
		padding-right: 6px;		
	}

.video {
	position: relative;
	padding-bottom: 56.23%; /* 16:9 */
	height: 0;
	margin: 0 0 3px 0;	
}

	.video  iframe {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

.sociallink {
	width: 100%;
	display: block;
	text-align: center;
	line-height: 31px;
	font-size: 14px;
	color: white;
	font-weight: 400;
	text-transform: uppercase;
	text-decoration: none;
	background: #cc0000;
	outline: 1px solid #cc0000;
	margin-bottom: 6px;
	padding: 1px 0 0 0;
}

.sociallink:hover, .sociallink:focus {
	text-decoration: none;
	color: #cc0000;
	background: white;
	outline: 1px solid #cc0000;
	transition: all 0.1s ease-in-out;
		-webkit-transition: all 0.1s ease-in-out;
		-moz-transition: all 0.1s ease-in-out;
		-o-transition: all 0.1s ease-in-out;
	}
	

@media screen and (max-width: 1279px){
	.wrapper {
		width: 100%;
		display: block;
		box-sizing: border-box;
		padding: 0;
		margin: 0;
		margin-top: 30px;
	}

	.left {
		width: 100%;
		margin: 0 auto;
		box-sizing: border-box;
		padding: 0 14px;
	}
	
	.newsbox {
		padding: 20px 0;
	}
		.newsthumb {
			width: 25%;
			max-height: 70px;
		}
		
		.title {
			width: 75%;
			font-size: 19px;
			line-height: 23px;
			margin-top: 0;
			min-height: auto;
			padding-left: 10px;
		}
		
		.contentfull {
			width: 100%;
		}
		
		.contenttype {
			font-size: 20px;
			line-height: 30px;
		}
		
		.title-stylish {
			padding: 5px 0 15px 0;
		}
		
			.title-stylish h1 {
				font-size: 30px;
				line-height: 40px;
			}
			
			
			.title-stylish::after {
				width: 110px;
			}
		
		.lead {
			font-size: 18px;
			line-height: 22px;
		}
		
		.content {
			font-size: 17px;
			line-height: 22px;
			margin-top: 20px;			
		}
		
			.content h1 {
				font-size: 21px;
				line-height: 21px;
			}
		
		.contentinfo {
			font-size: 12px;
			line-height: 24px;
		}	
		
		.newsbox .contentinfo {
			width: calc(75% - 7px);
			margin-top: -14px;
			margin-left: calc(25% + 7px);
		}
		
			.date {
				margin: 0 14px 0 0;
				padding-left: 19px;
				display: inline-block;			
			}

			.date::before {
				content: url(img/assets/date.png);
				color: #cc0000;
				position: absolute;
				margin-left: -21px;
				margin-top: 0;
				padding-right: 6px;
				transform: scale(.6);
			}


			.source {
				margin: 0 14px 0 0;
				padding-left: 19px;
				color: black;
				text-decoration: none;
				display: inline-block;
				
			}

			.source::before {
				content: url(img/assets/source.png);
				color: #cc0000;
				position: absolute;
				margin-left: -21px;
				margin-top: 2px;
				margin-top: 0;
				transform: scale(.6);
			}

			.author {
				margin: 0 14px 0 0;
				padding-left: 19px;
				display: inline-block;
				
			}

			.author::before {
				content: url(img/assets/author.png);
				font-size: 30px;
				color: #cc0000;
				position: absolute;
				margin-left: -21px;
				margin-top: 0;
				padding-right: 6px;	
				transform: scale(.6);
			}
			

			.comments {
				margin: 0 14px 0 0;
				padding-left: 19px;
				color: black;
				text-decoration: none;
				display: inline-block;
				
			}

			.comments::before {
				content: url(img/assets/comments.png);
				color: #cc0000;
				position: absolute;
				margin-left: -21px;
				margin-top: 0;
				padding-right: 6px;	
				transform: scale(.6);
			}
			
			.read {
				font-size: 14px;
				line-height: 20px;				
				margin-top: -3px;
			}
			
		.content ul li {
			padding-left: 2px;
		}
		
		.content table td {
			font-size: 13px;
			line-height: 17px;
		}
	
		.pager {
			margin: 30px 0;
			font-size: 16px;
			line-height: 36px;
		}

			.pager a , .pager a:visited{
				line-height: 36px;
				padding: 5px 11px;
				margin: 0 6px;
			}
			
			.pager a:hover, .pager a:focus {
				border: 1px solid #cc0000;
				background: #cc0000;
				color: white;
			}
	
	.right {
		width: 100%;
		display: block;
		border-left: 0;
		margin: 0 auto;
		margin-top: 50px;
		border-top: 1px double #cc0000;
		padding: 20px 20px 0 20px;
	}
	
}	

@media screen and (max-width: 600px){
		.newsbox .contentinfo {
			width: 100%;
			margin: 0;
			padding: 0;
		}
		
		.read {
			display: none;
		}		
}

/* FOOTER */

.footer {
	width: 100%;
	position: relative;
	margin-top: 50px;
	padding: 15px 20px;
	bottom: 0;
    overflow: hidden;
	border-top: 5px solid #cc0000;
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 23px;
	text-align: center;	
	text-transform: uppercase;
	color: #cc0000;
}