* {
  box-sizing: border-box;
}

body {
  #font-family: Arial;
  padding: 0px;
  #background: #f1f1f1;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.1em; /*11pt*/
  font-weight: 300;
  color: #6c6c6c;
  background: #2b2b2b;
  margin: 0px;
}

/* Header/Blog Title */
.header {
  #padding: 30px;
  text-align: center;
  #background: white;
  background-image: url(/theme/images/banner2.jpg);
  background-position: center;
  background-size: cover;  
  color:white;
  height: 340px;
  #padding: 1em 0em;
  
  #font-weight: 400;
  font-size: 3em;  
}

.header #logo{
	height: 100%;
	width: 100%;
	#background: gray;
	margin-left: auto;
	margin-right: auto;
	background-image: url(/theme/images/logo.png);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

@media only screen and (max-width: 800px) {
	.header #logo{
		height: 100%;
		width: 100%;
		font-size: 0.8em;
		#background: gray;
		margin-left: auto;
		margin-right: auto;
		background-image: url(/theme/images/logo.png);
		background-position: center;
		background-size: contain;
		background-repeat: no-repeat;
	}
}

.header p {
   font-size: 0.5em; 
  
}

/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  #background-color: #333;
  background: #2b2b2b;
  height: 6em;
  line-height: 6em;
}

.topnav-mobile{
	display: none;
}

/* Style the topnav links */
.topnav a {
  float: left;
  #display: block;
  color: #f2f2f2;
  text-align: center;
  #padding: 14px 16px;
  display: inline-block;
  padding: 0em 1.5em 0em 1.5em;
  letter-spacing: 0.10em;
  text-decoration: none;
  font-size: 1em;
  text-transform: uppercase; 
  margin-top: auto;
  margin-bottom: auto;	
  vertical-align: middle;
}


@media only screen and (max-width: 800px) {
	.topnav {
		display: none;
	}
	

	.topnav-mobile{
		display: block;
		#min-height: 4em;
		overflow-y: scroll;
	}	
	
	.topnav-mobile a {
	  #float: left;
	  display: block;
	  color: #f2f2f2;
	  #text-align: center;
	  #padding: 14px 16px;
	  #display: inline-block;
	  padding: 1em 1.5em 1em 1.5em;
	  letter-spacing: 0.10em;
	  text-decoration: none;
	  font-size: 1em;
	  text-transform: uppercase; 
	  margin-top: auto;
	  margin-bottom: auto;	
	  vertical-align: middle;
	  text-align:center;
	}	
}

div#content_desktop{
	display: block;
	padding:1em;
}

div#content_mobile{
	display: none;
	padding: 1em;
}

@media only screen and (max-width: 800px) {
	div#content_desktop{
		display: none;
	}

	div#content_mobile{
		display: block;		
	}
}

/* Change color on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {   
  float: left;
  width: 75%;
}

/* Right column */
.rightcolumn {
  float: left;
  width: 25%;
  #background-color: #f1f1f1;
  padding-left: 20px;
  #background: #2b2b2b;
  background: white;
}

/* Fake image */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

/* Add a card effect for articles */
.card {
  background-color: white;
  padding: 20px;
  margin-top: 20px;
  #color: #8dc63f;
  #border: 1px solid #86bd3b;
  #border-radius: 20%;  
}

.card .row{
	background-color: #2b2b2b;
	
}

.card-post{
	padding-left: 0em;
	margin: 0px;
	width: 95%;
}

.card-post:first-child{
	padding-top: 1em;
	
}



/* Add a card effect for articles */
.rightcolumn .card {
  #background-color: white;
  background: #2b2b2b;
  color: white; 
  padding: 20px;
  #color: #8dc63f;
  border-left: 1px solid #86bd3b;
  #border-top: 1px solid #86bd3b;
  margin-top: 0px;
  #border-radius: 20%;  
  
  letter-spacing: 0.10em;
  text-decoration: none;
  font-size: 1em;
  text-transform: uppercase;  
}

.row{
	background-color: white;
	#padding-left: 0em;
	padding-bottom: 1em;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Footer */
.footer {
  padding: 0.5em;
  text-align: center;
  #background: #ddd;
  #margin-top: 20px;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
  .leftcolumn, .rightcolumn {   
    width: 100%;
    padding: 0;
  }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
  .topnav a {
    float: none;
    width: 100%;
  }
}

.alert{
    color:red;
}

/*
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: 1px solid #ddd;
  margin-top: 30px;
}

th, td {
  text-align: left;
  padding: 8px;
}   
*/

button {
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}

input[type=submit].searchbtn, input[type=button].searchbtn {
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 10%;;
}

input[type=text].searchfield{
  width: 30%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;    
}

* {
  box-sizing: border-box;
}

input[type=text], input[type=password], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

label {
  padding: 20px 20px 12px 0;
  display: inline-block;
}

input[type=submit] {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  margin-top: 20px;
}

input[type=submit]:hover {
  background-color: #45a049;
}

.container {
  border-radius: 5px;
  #background-color: #f2f2f2;
  padding: 20px;
}

.col-5 {
  float: left;
  width: 11%;
  margin-top: 6px;
  margin-left: 5px;
}

.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

* {
  box-sizing: border-box;
}

input[type=text], input[type=password], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

input[type=submit] {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  margin-top: 20px;
}

input[type=submit]:hover {
  background-color: #45a049;
}


.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

div#selected_tags{    
    margin-top: 3%;    
}

div.tag{
    display: inline;
    cursor: pointer;
    padding: 5px;
    margin: 3px;
    background-color: gray;
    color: white;
}

span.tag{
	font-size: 0.8em;
}


/*********************************************************************************/
/* Featured                                                                      */
/*********************************************************************************/

#featured-wrapper
{
	overflow: hidden;
	#padding: 10em 0em;
	background: #FFF;
	text-align: center;
}

#featured
{
	overflow: hidden;
}

#featured .main-title
{
	margin-bottom: 4em;
}

#featured .main-title h2
{
	font-size: 2.1em;
	text-transform: uppercase;
}

#featured .main-title .byline
{
	font-size: 1.5em;
}

#featured-wrapper .fa
{
	display: inline-block;
	margin-bottom: 1em;
	width: 3em;
	height: 3em;
	line-height: 3em;
	font-size: 4em;
	color: #8dc63f;
	#border: 1px solid #86bd3b;
	border-radius: 50%;
}

.column1,  .column2,  .column3,  .column4
{
	width: 282px;
}

.column1,  .column2
{
	float: left;
	margin-right: 24px;
}

.column3
{
	float: left;
}

.column4
{
	float: right;
}

#slider-wrapper
{
	padding: 6em 0em;
	background: #DB3256;
}

#slider
{
	margin: 0em auto 0em auto;
	width: 1200px;
	position: relative;
}

#slider .button
{
}

#slider .button:hover
{
}

#slider .viewer
{
	width: 1000px;
	height: 375px;
	margin: 0 auto;
	overflow: hidden;
}

#slider .viewer .reel
{
	display: none;
	height: 375px;
}

#slider .viewer .reel .slide
{
	position: relative;
	width: 1000px;
	height: 375px;
}

#slider .viewer .reel h2
{
	position: absolute;
	top: 130px;
	left: 0;
	width: 1200px;
	height: 80px;
	line-height: 80px;
	background: #111111;
	text-align: center;
	opacity: 0.85;
	font-weight: normal;
	color: #ffffff;
	font-size: 2.25em;
}

#slider .viewer .reel p
{
	position: absolute;
	top: 210px;
	left: 0;
	width: 1200px;
	height: 40px;
	line-height: 40px;
	background: #0074C6;
	text-align: center;
	opacity: 0.85;
	font-weight: normal;
	color: #ffffff;
	font-size: 1.1em;
}

#slider .icon
{
	font-size: 4em;
	color: #FFF;
}

#slider .previous-button
{
	position: absolute;
	top: 150px;
	left: 0;
}

#slider .next-button
{
	position: absolute;
	top: 150px;
	right: 0;
}

#slider .indicator
{
	margin: 30px auto 0 auto;
}

#slider .indicator ul
{
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: center;
}

#slider .indicator ul li
{
	display: inline-block;
	width: 12px;
	height: 12px;
	text-indent: -9999em;
	background: #c8c8c8;
	margin: 0 2px 0 2px;
	border-radius: 8px;
	border-bottom: solid 1px #ffffff;
	border-top: solid 1px #909090;
}

#slider .indicator ul li.active
{
	background: #505050;
	border-top: solid 1px #505050;
}

/*********************************************************************************/
/* extra                                                                      */
/*********************************************************************************/

#extra
{
	overflow: hidden;
	margin: 5em auto 2em auto;
	padding: 2em 0em 2em 0em;
	background: #ECECEC;
}

#extra h2
{
	margin: 0em;
	padding: 0em;
	font-weight: 400;
	font-size: 2.4em;
	color: #555555;
}

#extra span
{
	display: block;
	padding-top: 0.20em;
	text-transform: uppercase;
	font-size: 1.2em;
	color: #A2A2A2;
}


a.mainButton
{
	color: #add851;
	font-weight: bold;
	font-size: 13pt;
}

.extra2
{
}


.margin-btm
{
	overflow: hidden;
	margin-bottom: 5em;
	padding-bottom: 5em;
	border-bottom: 1px solid rgba(0,0,0,.1);
}

.extra2 .button
{
	margin-top: 2em;
}

.extra2 .title h2
{
	font-size: 2em;
}

.extra2 .title .byline
{
	font-size: 0.80em;
}

.extra2 .ebox1,
.extra2 .ebox2
{
	#width: 560px;
	padding-left: 40px;
	padding-right: 40px;
	width: 50%;
}

.extra2  .ebox1
{
	float: left;
	padding-right: 40px;
	border-right: 1px solid rgba(0,0,0,.1);
}

.extra2 .ebox2
{
	float: right;
}



/*********************************************************************************/
/* Sidebar                                                                       */
/*********************************************************************************/

	#sidebar
{
	float: right;
	width: 450px;
}

#stwo-col
{
	margin-top: 2em;
}

#stwo-col h2
{
	display: block;
	padding-bottom: 1.5em;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	font-size: 1.2em;
	font-weight: 600;
	color: #454445;
}

#stwo-col .sbox1
{
	float: left;
	width: 210px;
}

#stwo-col .sbox2
{
	float: right;
	width: 210px;
}


span.main-title-sub
{
	#font-size: 0.8em;
	color: #add851;
}

p.mainDesc
{
	font-size: 1.1em;
}


a.paginatorButton
{
		cursor: pointer; 
		font-size: 1.2em;
		margin-top: 5em;
		
}

@media only screen and (max-width: 800px) {
	.extra2 .ebox1,
	.extra2 .ebox2
	{
		display: block;
		#width: 560px;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		padding-bottom: 4em;
		padding-left: 0px;
		padding-right: 0px;		
	}
	
	.extra2  .ebox1
	{
		display: block;
		#float: left;
		padding-left: 0px;
		padding-right: 0px;
		border-right: 0px solid rgba(0,0,0,.1);
		margin-left: auto;
		margin-right: auto;		
	}	
	
	.margin-btm {
		overflow: hidden;
		margin-bottom: 0em;
		padding-bottom: 0em;
		border-bottom: 0px solid rgba(0,0,0,.1);
	}

	#featured .main-title .byline
	{
		font-size: 1.5em;
	}

	span.main-title-sub
	{
		#font-size: 0.8em;
		color: #add851;
	}
	
	#featured .main-title h2
	{
		font-size: 2.1em;
		text-transform: uppercase;
	}
	
}


span.fa-etrend
{
	background-image: url('images/etrend-tanacsadas.png');
    background-size: contain;
	cursor: pointer;
}

span.fa-kapcsolat
{
	background-image: url('images/kontakt.png');
    background-size: contain;
	cursor: pointer;
}

span.fa-tudastar
{
	background-image: url('images/tudastar.png');
    background-size: contain;
	cursor: pointer;
}

span.fa-receptek
{
	background-image: url('images/receptek.png');
    background-size: contain;
	cursor: pointer;
}
