body {
  font-family: Arial;
  background: #faa800 url(../img/bg.png) left top repeat-x;
  overflow-x:hidden;
}

textarea:hover, 
input:hover, 
textarea:active, 
input:active, 
textarea:focus, 
input:focus,
button:focus,
button:active,
button:hover
{
  box-shadow: none !important;
  outline: none !important;
}

input:focus,
textarea:focus,
select:focus {
 background: #fff;
 box-shadow: none !important;
  border: 1px solid #ccc !important;
}

.form-control {
    border-radius: 2px !important;
    border: 1px solid #ccc;
    box-shadow: none;
    height: 40px;
    background: #fafafa;
}

.control-label {
    font-weight: 300;
    font-size: 17px;
    color: #777;
}

h1,h2,h3,h4,h5 {
  font-family: Oswald;
  text-transform: uppercase;
}

	/* lapozo */
#pagination {margin: 10px 0 30px 0; color: #000; }
#pagination .links, .pagination .results {
	padding: 9px;
}

#pagination .links {
    width: auto;
	text-align: left;
}

#pagination .links a {
	border: 1px solid #CCCCCC;
	padding: 4px 7px;
	text-decoration: none;
	color: #000000;
    background: #FFFFFF;
}

#pagination .links b {
	border: 1px solid #CCCCCC;
	padding: 4px 7px;
	text-decoration: none;
	color: #000000;
	background: #ccc;
}

#pagination .results {
	text-align: left;
}

#main-wrap {
    max-width: 1024px;
    margin: 0 auto;
    display:block;
}


#inner-wrap {
    max-width:942px;
    margin:0 auto;
    -webkit-box-shadow: 0px 3px 16px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 3px 16px 0px rgba(0,0,0,0.75);
box-shadow: 0px 3px 16px 0px rgba(0,0,0,0.75);
}

#main-wrap .top-header {
    position:relative;
}

#canvas {
    width: 100%;
    height: auto;
}

.canvas-col-1 {
   width:27%;
   position:absolute;
   top: 90px;
   left:68px;
}

.menu-section {
    background: #29166f;
    margin-top:0px;
    margin: 0 -12px 0 -12px;
    border-radius:4px;
    -webkit-box-shadow: 0px 3px 8px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 3px 8px 0px rgba(0,0,0,0.75);
box-shadow: 0px 3px 8px 0px rgba(0,0,0,0.75);
}

.menu-section ul {
    margin-left:30px;
}

.menu-section ul li:first-child {
    margin: 0 0 0 0;
}

.menu-section ul li a {
    padding: 35px 18px 35px 18px;
    color:#fff;
    font-family:Oswald;
    font-size:17px;
    font-weight:300;
}

.menu-section ul li:hover a,
.menu-section ul li.open a,
.menu-section ul li.open a:hover {
    background-color:#ff9c00;
}

#main-content {
    background: #fff url(../img/content_bg_top.png) top right no-repeat;
    background-size:contain;
    min-height:350px;
}

#main-content-inner {
   background: #fff url(../img/content_bg_right.png) top right no-repeat;
   background-size:contain;
   min-height:490px;
   margin-top:74px;
}

#main-content h1 {
    display: inline-block;
    border-bottom: 2px solid #ff9c00;
    font-weight: 300;
    padding: 0 60px 6px 5px;
    margin:-20px 0 0 50px;
    font-size: 36px;
    text-transform:none;
    margin-bottom: -2px;
    color: #8d9800;
}

#main-content .content {
    padding: 40px 0 70px 60px;
    font-family:"Open Sans";
    font-size:14px;
    
}

#main-content table {
    width:100%;
    text-align: left;
}

#main-content table h2 {
    font-weight:300;
    font-size:18px;
}

#main-content table strong {
    /* font-weight: normal; */
}

#main-content h3 {
    font-size:19px;
    margin-bottom:16px;
}
#main-content .content-images {
    padding-top:25px;
}

#main-content .content-image {
    background:#fff;
    border-radius:4px;
    padding:8px;
    margin: 0 25px 30px 0;
    -webkit-box-shadow: 0px 0px 18px -4px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 18px -4px rgba(0,0,0,0.75);
box-shadow: 0px 0px 18px -4px rgba(0,0,0,0.75);
}

#main-content.gallery .content-images{
    padding: 0 0 0 0;
}

#main-content.gallery .content-image {
    margin: 0 0 28px 0;
}

#main-content.gallery .content {
    padding-left: 40px;
    padding-right: 40px;
}

.category-list {
    padding-top: 15px;
}

.category-list h3 {
  color: #ff9c00;
  margin-top: 0 !important;
  margin-bottom: 25px !important;
  font-weight:300;
  text-transform:none;
  font-size:26px !important;
}

.category-list .list-content {
    font-size:13px;
}

.footer {
    background-color: #8d9800;
    min-height: 120px;
    max-width: 942px;
    margin: 0 auto;
    color: #fff;
     -webkit-box-shadow: 0px 3px 16px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 3px 16px 0px rgba(0,0,0,0.75);
box-shadow: 0px 3px 16px 0px rgba(0,0,0,0.75);
font-family:Oswald;
}

.footer .programed {
    padding: 0 0 0 0;
    margin-top:90px;
}


.footer address {
    padding: 25px 0 0 48px;
    font-weight:300;
    font-size:15px;
    line-height:23px; 
}

.footer p.links {
    text-align: center;
    margin-top:58px;
    margin-right:60px;
}

.footer p.links a {
    color:#fff;
    padding-right:12px;
    font-weight:300;
    text-decoration:none;
}

/* contact page end */
/* Mobile optimalization */
@media only screen and (max-width: 768px) {
   
  #main-content {
  
  }
  
  .menu-section {
    margin: 0 0 0 0;
  }
  
  .menu-section ul {
    margin-left:0px;
   }
 
 /*az ikonok legyenek rejtve mobilon */
  .menu-section ul li:first-child {
    display:none;
   }
   
   .menu-section ul li:last-child {
    display:none;
   }
   
   .canvas-col-1 {
     width:30%;
     position:absolute;
     top: 27px;
     left:20px;
   }

   #main-content {
    background-image:none;
   }
   
   #main-content-inner {
     margin-top:0;
   }
   
   #main-content h1 {
    margin-top:25px;
    margin-left:25px;
    font-size:22px;
   }
   
   #main-content .content {
    padding-right:80px;
    padding-left:25px;
   }
   
   .navbar-header span {
     color: #fff;
     font-size:25px;
   }
   
   .navbar-header span.nav-name {
     font-family:Oswald;
     font-weight:300;
   }
   .menu-section ul li a {
    padding: 12px 22px 12px 22px;
    font-size:17px;
   }
   
   .footer .programed {
     margin: 25px 0 15px 0;
   }
   .footer .programed img {
      margin: 0 auto 0 auto;
   }
   
   .footer .links {
     margin: 0 0 0 0;
   }
}

/* tablet portrait mode */
@media only screen and (min-width: 499px) and (max-width: 768px) {
    .canvas-col-1 {
     width:30%;
     position:absolute;
     top: 58px;
     left:38px;
   }
}

/* only tablet */
@media only screen and (min-width: 768px) and (max-width: 1200px) {
     .menu-section ul li a {
        padding-left: 8px;
        padding-right: 8px;
     }
     
     .col-md-4{
        float:left;
        width: 50%;
     }
}