* {
  box-sizing: border-box;
}


.oldal{
  width:100%;
  padding-right:15px;
  padding-left:15px;
  margin-right:auto;
  margin-left:auto}

.keskenymenu{
  width:100%;
  padding-right:15px;
  padding-left:15px;
  margin-right:auto;
  margin-left:auto;
  font-strech:normal;
  display: none;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

[class*="col-"] {
  float: left;
  padding: 5px;
/*  border: 1px solid red; */
}

html {
  font-family: 'Roboto', sans-serif;
  overflow-y:scroll;
}

.header {
  background-color: #9933cc;
  color: #ffffff;
  padding: 15px;
}

.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu li {
  padding: 8px;
  background-color: #33b5e5;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.menu li:hover {
  background-color: #0099cc;
}

.aside {
  color: #707070;
  text-align: right;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.jobboldal {
  padding: 0px;
  color: #707070;
  text-align: right;
  align-self: end;
  font-size: 14px;
}

.teljessor {
  color: #707070;
  text-align: right;
  font-size: 12px;
}

.kepmenu{
  padding: 0px;
  filter: grayscale(100%) blur(1px);    
}

.kepmenu:hover{
  filter: grayscale(0%) blur(1px);  
}


.szovegdoboz{
  background-color: white;
  color: #707070;
  padding: 30px;
  font-size: 18px;
}
.footer {
  background-color: #0099cc;
  color: #ffffff;
  text-align: center;
  font-size: 12px;
}

.slidebox {
  width: 100%!important;
  height: 400px!important;

}

.slideimage {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  transition: 0.7s;
}


#nav ul > li {
  display: inline-block;
  padding: 0;
}
#nav ul {
  display: block;
  position: relative;
  margin: 0 0 0px 0;
  padding: 0;
  /* For IE, the outcast */
  zoom: 1;
  *display: inline;
  text-align: right;
}
#nav ul li a {
  display: block;
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
  padding: 0 0 0 20px;
  transition: 300ms;
  text-transform: uppercase;
  font-size: 1em;
  color: #707070;
  background: url("../images/vmenuitemicon.png") 5px center no-repeat;
}
#nav ul li:first-child a {
  background: none;
}
#nav ul li:hover a,
#nav ul li:focus a,
#nav ul li.current-page-ancestor a,
#nav ul li.current-menu-item a {
  text-decoration: none;
/*  color: #b03437;*/
  color: #e31e24;
}
#nav ul li:before {
  display: none;
}
#nav ul li ul {
  position: absolute;
  display: none;
}



.kepmenu p {
  display: block;
  background: #888;
  width: 100%;
  padding: 5px;
  text-align: center;
  color: white;
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  transition: 400ms;
}

.kepMenuBlokk {
  position: relative;
  display: block;
  margin-bottom: 10px;
}
.kepMenuBlokk p {
  display: block;
  background: #666;
  width: 100%;
  padding: 5px;
  text-align: center;
  color: white;
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  transition: 800ms;
}
.kepMenuBlokk img {
  width: 100%;
  filter: grayscale(1);
  transition: 200ms;
  filter: grayscale(0);
}
.kepMenuBlokk:hover p {
  background: #57191e;
}

.kepMenuBlokk.active p {
/*  background: #b03437;*/
  background: #e31e24;

}
.kepMenuBlokk:hover img {
  filter: grayscale(50%);
}

.kepMenuBlokk.active img {
/*  filter: grayscale(0);*/
  filter: grayscale(1);
}


.carousel_cntnr img {
  width:100%;
  height:250px;
  position: relative;
  opacity: 0.3;
  filter:alpha(opacity=30);
  filter: grayscale(1);
}

.carousel_text {
  text-align: center;
  position: absolute;
  top: 8px;
  left: 0;
  right:0;
  font-size: 10px;

}





/* For mobile phones: */
[class*="col-"] {
  width: 100%;
}

.hatter {
  font-size: 14px;
  line-height: 1.5;
  background: url("../images/background.jpg") center top no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: #aaaaaa;
}

@media (370px <= width < 576px){
  .keskenymenu{
    display: block;
  } 
  .kepMenuBlokk p{
    font-size: 6px;
  }
  .carousel_text {
    font-size: 10px;
  }
  .carousel_cntnr img
  {
    height:230px;
  }

}


@media (576px <= width < 768px){
  .oldal{
    max-width:570px
  }
  .keskenymenu{
    display: block;
  } 
  .kepMenuBlokk p{
    font-size: 10px;
  }
  .carousel_text {
    font-size: 13px;
  }
  .carousel_cntnr img
  {
    height:200px;
  }

}

@media (768px <= width < 992px){
  .oldal{
    max-width:720px
  }
  .keskenymenu{
    max-width:720px;
    font-strech: extra-condensed;
    display: block;
  }
  .kepMenuBlokk p{
    font-stretch: extra-condensed;
  } 
  .carousel_text {
    font-size: 15px;
  }
  .carousel_cntnr img
  {
    height:200px;
  }
}

@media (992px <= width <1200px){
  .oldal{
    max-width:960px
  }
  .keskenymenu{
    max-width:960px;
    font-stretch: condensed;
    display: block;
  }
  .kepMenuBlokk p{
    font-stretch: condensed;
  } 
  .carousel_text {
    font-size: 16px;
  }
  .carousel_cntnr img
  {
    height:200px;
  }
}

@media (min-width:1200px){
  .oldal{
    max-width:1140px
  }                         
 .keskenymenu{
    max-width:1140px;
    display: block;
  } 
  .carousel_text {
    font-size: 18px;
  }
  .carousel_cntnr img
  {
    height:200px;
  }

}

  .col-s-1 {width: 20%;}
  .col-s-2 {width: 40%;}
  .col-s-3 {width: 60%;}
  .col-s-4 {width: 80%;}
  .col-s-5 {width: 100%;}

@media only screen and (min-width: 768px) {
  /* For desktop: */
  .col-s-1 {width: 20%;}
  .col-s-2 {width: 40%;}
  .col-s-3 {width: 60%;}
  .col-s-4 {width: 80%;}
  .col-s-5 {width: 100%;}
  .oldal {max-width:700px;}
 .keskenymenu{max-width:700px
  } 

}
@media only screen and (min-width: 992px) {
  /* For desktop: */
  .col-s-1 {width: 20%;}
  .col-s-2 {width: 40%;}
  .col-s-3 {width: 60%;}
  .col-s-4 {width: 80%;}
  .col-s-5 {width: 100%;}
  .oldal {max-width:960px;}
 .keskenymenu{max-width:960px
  } 

}
@media only screen and (min-width: 1200px) {
  /* For desktop: */
  .col-s-1 {width: 20%;}
  .col-s-2 {width: 40%;}
  .col-s-3 {width: 60%;}
  .col-s-4 {width: 80%;}
  .col-s-5 {width: 100%;}
  .oldal {max-width:1160px;}
 .keskenymenu{max-width:1160px
  } 

}
