@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:400,300,100,700&subset=latin,latin-ext);
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700);
@import url(https://fonts.googleapis.com/css?family=Open+Sans&subset=latin,latin-ext);
@import url('https://fonts.googleapis.com/css?family=Titillium+Web:400,400i,600,600i,700,700i');
/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
  color: #222;
}

body {
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
  height: 100%;
}

body {
  background: white;
  position: relative;
  min-height: 100vh;
  font-family: 'Open Sans', sans-serif;
  color: white;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  text-transform: uppercase;
}

.page-header{
	margin: 20px 0 20px;
	display: none !important;
}

.top-content .logo{
	margin-top: 30px;
	margin-bottom: 30px;
}

.top-text{
	color: #20623e;
	font-size: 16px;
}

.bottom-container{
	padding-bottom: 300px;
	position: relative;
	box-sizing: border-box;
	background-color: white;
	background-image: url('../img/nak-footer.png');
	background-position:bottom center;
	background-repeat: no-repeat;
	background-size: contain;
}

.top-container{
	position: relative;
	box-sizing: border-box;
	background-color: white;
	background-image: url('../img/nak-header.jpg');
	background-position:top right;
	background-repeat: no-repeat;
	background-size: contain;
}

.top-content, .top-content-right{
	min-height: 600px;
}

.check label{
	color: #0D6533;
	font-size: 14px;
	font-weight: 700;
}

#heading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  color: #222222;
  height: 38px;
  padding: 0 1px;
  font-family: 'Droid Serif', serif;
  background-color: rgba(207, 219, 212, 0.7);
}
#heading h1 {
  font-size: 11px;
  line-height: 38px;
  text-transform: uppercase;
  font-family: Helvetica, sans-serif;
  font-weight: normal;
  color: #808080;
  display: inline;
}
#heading h2 {
  font-size: 13px;
  line-height: 38px;
  display: inline;
  text-transform: none;
}
#heading h1:after {
  content: ":";
  display: inline-block;
  margin-right: 1em;
}
.topspacer {
  height: 38px;
}
#content {
  position: relative;
  box-sizing: border-box;
  background-color: white;
  background-image: url('../img/nak_landing_hatter.jpg');
  background-size: cover;
  background-position:bottom center;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding: 1px 0 40px;
}
#content:before {
  content: "";
  position: absolute;
  top:0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: linear-gradient(to bottom, rgba(221, 206, 16, 0) 60%, rgba(221, 206, 16, 1) 100%);
}
#footer {
  font-size: 13px;
  line-height: 24px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #77ae36;
  font-family: 'Droid Serif', serif;
  min-height: 60px;
}
.wrap {
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

#landingcont {
  margin-top: 45px;
}
.row2start{
	background: transparent;
  /*width: 34%;*/
  padding: 15px 0px;
  text-align:center;
}
.row2start h1{
	color:#fff !important;
	font-size:25px !important;
	line-height:30px;
	font-weight:400;
}
.row2end{
	background: transparent;
  /*width: 66%;*/
  padding: 15px 30px 15px 15px;
}
.row2end h1 {
  color: #8dc73f;
  font-size: 24px;
  font-weight:400;

}
.row2end p {
  color: #fff;
  font-size: 16px;
  text-align:justify;
}



.leader {
  display: table;
  table-layout: fixed;
    width:100%;
}
.leader > * {
  display: table-cell;
  vertical-align: middle;
}
.logo-side {
  background: white url('../img/nak_logo.png') no-repeat center center;
  /*width: 32%;*/
  min-height:405px;
}
.logo-near {
  background: white;
  /*width: 42%;*/
  min-height:405px;
  padding:25px 15px;
}
.logo-near h1 {
  color: #8dc73f;
  font-size: 24px;
  font-weight:400;
}
.logo-near p {
  color: #000;
  font-size: 16px;
  text-align:justify;
  margin-right:30px;
}
.welcome {
  background: #006738 url(../img/landing_login_texture.png);
  width: 100%;
  box-sizing: border-box;
  font-size: 15px;
  line-height: 24px;
}
.welcome > *:first-child {
  margin-top: 0;
}
.welcome > *:last-child {
  margin-bottom: 0;
}
.welcome h1 {
  color: #8dc73f;
  font-size: 20px;
}
.login {
  /*background: #8dc73f url(../img/landing_login_texture.png);*/
  background:white;
  text-align: center;
  /*width:20%;*/
  /*min-height:405px;*/
}
.login .login-button, .tovabb .login-button, .tovabb .big-button{
	text-transform: uppercase;
  background: #93BF20;
  text-decoration:none;
  border: 0;
  padding: 0.5em 0.5em;
  margin:20px 0px;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  display:inline-block;
	width: 100%;
	text-align: center;
}
.login button {
  text-transform: uppercase;
  background: white;
  border: 0;
  padding: 0.8em 1em;
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
}

.logged{
  background:white;
  text-align: center;
  /*min-height:405px;*/
}
.logged p{
	color:#000;
}
.logged .login-button{
	text-transform: uppercase;
  background: #93BF20;
  text-decoration:none;
  border: 0;
  padding: 0.5em 0.5em;
  margin:30px 0px;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  display:inline-block;
	width: 100%;
	text-align: center;
}
.logged button {
  text-transform: uppercase;
  background: white;
  border: 0;
  padding: 0.5em 0.5em;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
}

.logged .eiroda{
	/*margin: 160px 0px 0px 0px;*/
}

.logged .logout-button {
    margin-top: 0px;
	border-radius: 0px;
	width: 100%;
	padding: 0.5em 0.5em;
  font-size: 16px;
	font-family: 'Open Sans', sans-serif;
	text-transform: uppercase;
}

.bawkses {
  margin-top: 30px;
	background: rgba(255,255,255,0.80);
}
.bawkses > * {
  padding:0px 5px;
}
.bawks h2 {
  margin: 0;
  font-size: 17px;
  text-align: center;
  font-weight: 700;
  vertical-align: bottom;
	padding: 10px 0px;
	line-height: 17px;
	display: inline-block;
	width: 100%;
}
.bawks h2 a{
	
}

.bawks .text-wrapper{
	width: 100%;
	height: 65px;
	/*float: left;*/
	line-height: 65px;
	display: inline-block;
}
/*
.bawks a:hover{
	  color:#006738 !important;
  }*/
  
.bawks a.mlink{
	 text-decoration:none;
	color: #0D6533;
	min-height: 65px;
  }
.bawks a.mlink:hover{
	 text-decoration:underline;
  }
.hirek, .novekedes, .szolgaltatasok, .oktatas, .kamarai {
  /*line-height: 64px;*/
	background: transparent;
}
.links p{
	margin:0px;
	line-height:0.4;
}
.links p a{
	display:block;
	margin:0px;
	font-size:11px;
	line-height:20px;
	color: #0D6533;
	position: relative;
	padding-left: 13px;
}
.links p a::before{
	content: "";
	position: absolute;
	top: 5px;
	left: -2px;
	width: 7px;
	height: 8px;
	background-image: url('../img/square.png');
	background-repeat: no-repeat;
}
.links {
  background: transparent;
  /*min-height: 190px;*/
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 1em 0.2em;
}
.links ul {
  margin: 0;
  padding: 0;
  list-style-type: square;
}
.links ul li {
  float: none;
  margin: 0 0.5em;
  line-height: 29px;
	display: block;
}
a, a:link, a:visited {
  text-decoration: none;
  color: inherit;
}
a:hover {
  color: #0D6533;
	text-decoration: underline;
}

.hirek {
  border-bottom: 6px solid #8dc73f;
}
.novekedes {
  border-bottom: 6px solid #ddd776;
}
.szolgaltatasok {
 border-bottom: 6px solid #78cfcc;
}
.oktatas {
  border-bottom: 6px solid #005f85;
}
.kamarai {
  border-bottom: 6px solid #c9c398;
}
.szabalyozas{
	border-bottom: 6px solid #01538F;
}
.sajto{
	border-bottom: 6px solid #7B4F9A;
}

.foot{
    position: fixed;
    bottom: 10px;
    width: 100%;
}
.button-holder{
	width: 479px;
    margin: 0 auto;
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  /* IE 6/7 fallback */
  *text-indent: -9999px;
}

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
  display: none !important;
  visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
  *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */ 
}

@media only screen and (min-width: 1025px) and (max-width: 1199px) {
	
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
	
	.login .login-button, .tovabb .login-button{
		font-size: 13px;
	}
	.bawks h2{
		font-size: 15px;
		padding: 15px 0px;
	}
	.bawkses > * {
		padding: 0px 2px;
	}

  .bawks{
	  margin-bottom:15px;
  }
	.bottom-container{
		padding-bottom: 200px;
	}
  .big-button{
	  display:block;
	  font-size:18px;
	  text-align:center;
	  padding:15px 0px;
  }

}

@media only screen and (max-width: 767px) {
  /* Style adjustments for viewports that meet the condition */
	.container, .top-content, .bottom-content{
		padding: 0px;
	}
  .logged .logout-button {
		border-radius: 0px;
		width: 100%;
		margin:0px 0px 15px 0px;
	}
  .bawks{
	  margin-bottom:15px;
  }
	.bawks h2{
		font-size: 20px;
	}
  .bawks a.mlink{
	  text-decoration:none;
  }
  .bawks a.mlink:hover{
	  /*color:#ffffff !important;*/
  }
  .links p a{
	  font-size:14px;
	  line-height: normal;
	  margin-bottom: 3px;
	  /*text-decoration:underline;*/
  }
	.top-container{
		background-size: 200%;
		background-position: top center;
	}
	.bottom-container{
		padding-bottom: 100px;
		background-size: 130%;
	}
	.top-content .logo{
		margin-top: 140px;
	}
	.check label{
		font-size: 13px;
		font-weight: normal;
	}
	.check input{
		float: left;
		margin-right: 10px;
	}
	
	#form-login-username, #form-login-password, #form-login-remember, #form-login-submit{
		width: 100% !important;
		float: none !important;
	}

	#loginwarn .modal-body p.forgot{
		margin-left: 0px !important;
		padding-left: 0px !important;
		margin-top: 0px !important;
	}
	.checkbox input[type="checkbox"]{
		position: relative !important;
	}
	.login .login-button, .tovabb .login-button{
		margin: 10px 0px;
	}
	#loginwarn .modal-body p{
		font-size: 14px !important;
		line-height: 16px !important;
		margin-bottom: 5px !important;
	}
}

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * {
    background: transparent !important;
    color: #000 !important; /* Black prints faster: h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links for images, or javascript/internal links
   */

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group; /* h5bp.com/t */
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}


/* LOGIN MODAL */
#loginwarn{
	 font-family: 'Titillium Web', sans-serif;
	 color:#fff;
	 font-size:13px;
	/*border-radius:0px;*/
	/*border:5px solid #8DC73F;*/
	/*width:400px;*/
}
#loginwarn .modal-body{
	/*background:#046640;*/
	padding:0px 30px 15px 30px;
	text-align:justify !important;
}

#loginwarn .modal-body .texter{
	margin-top:10px;
}


#loginwarn .modal-body p.forgot{
	padding-top:15px;
	margin-left: 50%;
	padding-left: 15px;
	margin-top: 15px;
	clear: both;
}
#loginwarn .modal-content{
background:#0E6634;
	border-radius: 0px;
	border: none;
}

#loginwarn .modal-dialog{
	/*background:#046640;*/
}
#loginwarn .modal-dialog .modal-header{
	border-bottom:none;
	padding-bottom:0px;
}
#loginwarn .modal-dialog .modal-header .close{
	color: #fff;
	font-size: 30px;
	opacity: .8;
}
#loginwarn .modal-dialog .modal-header h4{
	padding:5px 15px;
	color: #fff;
	font-family: 'Titillium Web', serif;
	font-size: 25px;
	font-weight: 700;
	text-transform: uppercase;
	text-align: left;

}

div.line{
	border-bottom:2px solid #3EA434;
	padding:5px 30px;
}

#loginwarn .modal-body #login-form input{
	border:none;
	width:100%;
	padding:7px 10px;
	margin:5px 0px;
	border-radius:4px; 
	color: #0e6634;
	font-size: 13px;
}
#loginwarn .modal-body #login-form label{
	color: #fff;
	font-family: 'Titillium Web', serif;
	font-size: 14px;
	font-weight: 400;
	text-transform: none;
}

#loginwarn .modal-body #login-form #form-login-remember input{
	width:auto !important;
	float: left;
	margin-right: 10px;
	padding: 0px;
	margin: 2px 10px 0px 0px;
}

#loginwarn .modal-body input[type="checkbox"]{
	width:auto !important;
}


#loginwarn .modal-body #login-form{
	margin-top:10px;
}
#loginwarn .modal-body #login-form .input-append{
	border-radius:0px;
	width:95%;
}
#loginwarn .modal-body #login-form button{
	margin: 10px auto 0px auto;
	display: block;
	background: #3fa435;
	border: none;
	border-radius: 0px;
	color: #fff;
	text-shadow: none;
	text-transform: uppercase;
	font-weight: 700;
	font-family: 'Titillium Web', serif;
	font-size: 14px;
	width: 100%;
	padding: 8px 10px;

}
#loginwarn .modal-body #login-form #form-login-remember label{
	color:#fff;
	font-family: 'Titillium Web', serif;
	font-size:14px;
	font-weight:400;
	text-transform:none;
	margin:-3px 0px 0px 0px;
	padding:0px;
	text-align:left;
}
#loginwarn .modal-body p{
	color: #fff;
	font-family: 'Titillium Web', serif;
	font-size: 16px;
	font-weight: 400;
	text-transform: none;
	margin: 5px 0px 15px 0px;
	padding: 0px;
	text-align: left;
	line-height: 20px;
}
#loginwarn .modal-body p a{
	color: #fff;
	text-decoration: underline;
}
#form-login-username, #form-login-password, #form-login-remember, #form-login-submit{
	width: 50%;
	float: left;
	padding-left: 15px;
	padding-right: 15px;
}
#login-form{
	margin-left: -15px;
	margin-right: -15px;
}

#form-login-remember{
	margin-top: 5px;
}

.nopadding{
	padding:0px !important;
}
.nopadding-left{
	padding-left:0px !important;
}
.nopadding-right{
	padding-right:0px !important;
}
#login-form .unstyled {
    display: none;
}

.article-info{
	visibility: hidden;
	display: none;
}

.modal-backdrop.in {
    opacity: .8;
    filter: alpha(opacity=80);
}
.tag-wrapper{
	position: absolute;
	bottom:50px;
	right: 0px;
}
.tag-wrapper a{
	display: inline-block;
	background-color: #3fa435;
	color: #fff;
	font-weight: 700;
	font-family: 'Titillium Web',Arial;
	padding: 4px 10px;
	font-size: 13px;
	margin: 0px 0px 0px 0px;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	text-transform: none;
	text-decoration: none;
	border: none;

}
.tag-wrapper a:hover{
    background-color:#E2091A;
    color:#fff;
	text-decoration: none;
}