#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-top-color: #fff;

    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
    z-index: 1001;
}
    #loader:after {
        content: "";
        position: absolute;
        top: 30px;
        left: 30px;
        right: 30px;
        bottom: 30px;
        border-radius: 50%;
        border: 2px solid transparent;
        border-top-color:#0053a9;

        -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
          animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
    }

    @-webkit-keyframes spin {
        0%   { 
            -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(0deg);  /* IE 9 */
            transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
        }
        100% {
            -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(360deg);  /* IE 9 */
            transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
        }
    }
    @keyframes spin {
        0%   { 
            -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(0deg);  /* IE 9 */
            transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
        }
        100% {
            -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(360deg);  /* IE 9 */
            transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
        }
    }

    #loader-wrapper .loader-section {
        position: fixed;
        top: 0;
        width: 51%;
        height: 100%;
        background: #222;
        z-index: 1000;
    }

    #loader-wrapper .loader-section.section-left {
        left: 0;
    }
    #loader-wrapper .loader-section.section-right {
        right: 0;
    }

    /* Loaded styles */
    .loaded #loader-wrapper .loader-section.section-left {
        -webkit-transform: translateX(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: translateX(-100%);  /* IE 9 */
                transform: translateX(-100%);  /* Firefox 16+, IE 10+, Opera */

        -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
                transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);  /* Chrome 26, Firefox 16+, iOS 7+, IE 10+, Opera, Safari 6.1+  */
    }
    .loaded #loader-wrapper .loader-section.section-right {
        -webkit-transform: translateX(100%);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: translateX(100%);  /* IE 9 */
                transform: translateX(100%);  /* Firefox 16+, IE 10+, Opera */

        -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
                transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);  /* Chrome 26, Firefox 16+, iOS 7+, IE 10+, Opera, Safari 6.1+  */
    }
    .loaded #loader {
        opacity: 0;

        -webkit-transition: all 0.3s ease-out;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
                transition: all 0.3s ease-out;  /* Chrome 26, Firefox 16+, iOS 7+, IE 10+, Opera, Safari 6.1+  */

    }
    .loaded #loader-wrapper {
        visibility: hidden;

        -webkit-transform: translateY(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: translateY(-100%);  /* IE 9 */
                transform: translateY(-100%);  /* Firefox 16+, IE 10+, Opera */
    
        -webkit-transition: all 0.3s 1s ease-out;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
                transition: all 0.3s 1s ease-out;  /* Chrome 26, Firefox 16+, iOS 7+, IE 10+, Opera, Safari 6.1+  */
    }
.no-js #loader-wrapper {
    display: none;
}
.no-js h1 {
    color: #222222;
}

#up {
    position:fixed;
    z-index:100;
    bottom:30px;
    right:30px;
    width:32px;
    height:32px;
    background:url(../img/up.png) no-repeat;
    display:block;
    border:none;
    text-decoration:none;
    cursor:pointer;
    display:none;
}

.inner-content {
    width:100%;
    max-width:1600px;
    margin:0 auto;
    position:relative;
}
.inner-content .heading {
    position:relative;
    padding-bottom:30px;
    margin-bottom:40px;
}
.inner-content h2 {
    text-align:center;
    margin:0 auto;
    /* padding:20px 0;
    /* border-top      :1px solid #aaa; */
    color:#0053a9;
    font-size:2.6em;
    font-weight:300;
    
}
.inner-content h2::after {
    background-color: #666;
    bottom: 0;
    content: "";
    display: block;
    height: 1px;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    width: 100px;
}
#header {
    position:relative;
}
#header .rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
}
.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    height:520px;
    left: 0;
    top: 0;
    background-repeat:no-repeat;
    background-size: cover;
    background-position: 50% 30%;
 }
.rslides li:first-child {
    position: relative;
    display: block;
    float: left;
}
#header #rslides1_s0 {
    background-image:url(../img/slider/s1.jpg);
}
#header #rslides1_s1 {
    background-image:url(../img/slider/s2.jpg);
}
#header #rslides1_s2 {
    background-image:url(../img/slider/s3.jpg);
}
#header #rslides1_s3 {
    background-image:url(../img/slider/s4.jpg);
}
#header .rslides_nav {
    position: absolute;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    top: 50%;
    left: 0;
    z-index: 99;
    opacity: 0.7;
    text-indent: -9999px;
    overflow: hidden;
    text-decoration: none;
    height: 61px;
    width: 38px;
    background: #fff url("themes.gif") no-repeat left top;
    margin-top: -45px;
}
#header .rslides1_nav:active {
    opacity: 1.0;
}
#header .rslides1_nav.next {
    left: auto;
    background-position: right top;
    right: 0;
}
#header .rslides_tabs {
    position:absolute;
    bottom:10px;
    margin:0 auto;
    text-align: center;
    z-index:2;
    left:0;
    right:0;
}
#header .rslides_tabs li {
    display: inline;
    float: none;
    _float: left;
    *float: left;
    margin: 0 8px;
}
#header .rslides_tabs a {
    text-indent: -9999px;
    overflow: hidden;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    background: transparent;
    /* background: rgba(255,255,255, .6); */
    border:1px solid #fff;
    display: inline-block;
    _display: block;
    *display: block;
    -webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
    -moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
    box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
    width: 15px;
    height: 15px;
}
#header .rslides_tabs .rslides_here a {
    border-color:black;
}
h1 {
    position:absolute;
    z-index:2;
    top:220px;
    left:6%;
    text-align:left;
    color:#fff;
    font-weight:400;
    font-size:3em;
/*    text-shadow:0 0 4px rgba(0,0,0,0.7); */
    line-height:160%;
}
h1 span {
    background:url(../img/black40.png); 
    padding:3px 10px;
}

/* Menü */
#menu-bar {
    line-height:80px;
    vertical-align:middle;
    width:90%;
    max-width:1600px;
    padding:0;
    height:80px;
    background-color:#0053a9;
    margin:0 auto;
    left:0;
    right:0;
    position:absolute;
    top:40px;
    z-index:2;
    text-align:left;
}
    #mobile-menu {
        display:none;
    }
    #logo-wrapper, #menu {
        display:inline-block;
    }
    #logo-wrapper {
        padding-left:2%;
        width:27%;
        height:100%;
        background:#fff url(../img/logo-wrapper.gif) no-repeat right;
        padding-right:40px;
        
    }
        #logo {
            width:100%;
            max-width:360px;
            vertical-align:middle;
            line-height:80px;
        }
    #menu {
        width:60%;
        position:relative;
        text-align:right;
    }
    #menu ul {
        
        display:inline-block;
        margin-left:60px;
    }
    #menu li {
        display:inline-block;
        padding:0;
    }
    #menu li a {
        color:#fff;
        font-size:1.3em;
        font-weight:400;
        display:block;
        height:100%;
        padding:0 20px;
    }
    #menu li a:hover {
        background-color:#222;
    }
    
    #language-selector {
        text-align:right;
        width:100%;
        height:24px;
        position:absolute;
        top:-32px;
        right:0;
    }
    #language-selector a {
        display:inline-block;
        margin-left:20px;
        width:40px;
        height:24px;
        background-repeat:no-repeat;
        box-shadow:0 0 2px rgba(0,0,0,0.4);
        -moz-box-shadow:0 0 2px rgba(0,0,0,0.4);
        -webkit-box-shadow:0 0 2px rgba(0,0,0,0.4);
        -o-box-shadow:0 0 2px rgba(0,0,0,0.4);
        -ms-box-shadow:0 0 2px rgba(0,0,0,0.4);
    }
    #lang-hu {
        background-image:url(../img/hu.jpg);
    }
    #lang-de {
        background-image:url(../img/de.jpg);
    }    
    
/* Services */
#szolgaltatasaink {
    text-align:center;
    width:100%;    
    background-size:cover;
    padding:0;
    background-color:#fff;
}
#szolgaltatasaink .item {
    display:inline-block;
    width:18%;
    height:220px;
    background:#eee;
    padding:20px 1%;
    margin:0;   
    font-size:1.2em;
    font-weight:300;
    line-height:130%;
    position:relative;
}
#szolgaltatasaink .item div {
    display:table-cell;
    width:100%;
    height:200px;
    text-align:center;
    vertical-align:middle;
}
#szolgaltatasaink .item strong {
    color:#0053a9;
    font-weight:400;
}
#szolgaltatasaink #item0 {
    background-color:#FAFAFA;
}
#szolgaltatasaink #item1 {
    background-color:#EDEDED;
}
#szolgaltatasaink #item2 {
    background-color:#E0E0E0;
}
#szolgaltatasaink #item3 {
    background-color:#D4D4D4;
}
#szolgaltatasaink #item4 {
    background-color:#C7C7C7;
}
    
/* Products */
#termekeink {
    background-color:#222;
    padding:50px 4.5%;
   
}
#termekeink h2 {
    color:#fff;
}
#termekeink .item {
    padding:0 2%;
    overflow: hidden;
    position:relative;
}
#termekeink .item img {
    width:100%;
    -webkit-transition: all 0.4s ease; /* Safari and Chrome */
    -moz-transition: all 0.4s ease; /* Firefox */
    -o-transition: all 0.4s ease; /* IE 9 */
    -ms-transition: all 0.4s ease; /* Opera */
    transition: all 0.4s ease;
}
#termekeink .item img:hover {
    -webkit-transform:scale(1.5) rotate(4deg); /* Safari and Chrome */
    -moz-transform:scale(1.5) rotate(4deg); /* Firefox */
    -ms-transform:scale(1.5) rotate(4deg); /* IE 9 */
    -o-transform:scale(1.5) rotate(4deg); /* Opera */
    transform:scale(1.25) rotate(4deg);
    opacity:0.9;
    -moz-opacity:0.9;
    -ms-opacity:0.9;
    -o-opacity:0.9;
    -webkit-opacity:0.9; 
    
}

#ref-slider .owl-buttons, #termek-slider .owl-buttons {
    text-align: center;
    position:absolute;
    top:120px;
    width:100%;
}
#ref-slider .owl-buttons {
    top:0px;
}
#ref-slider .owl-buttons .owl-prev, #termek-slider .owl-buttons .owl-prev {
    background-image:url(../img/arrow-dark-left.png);
    left:-70px;
    text-align:left;
}
#ref-slider .owl-buttons .owl-next, #termek-slider .owl-buttons .owl-next {
    background-image:url(../img/arrow-dark-right.png);
    right:-70px;
    text-align:right;
}
#termek-slider .owl-buttons .owl-prev {
    background-image:url(../img/arrow-light-left.png);
}
#termek-slider .owl-buttons .owl-next {
    background-image:url(../img/arrow-light-right.png);
}
#ref-slider .owl-buttons .owl-prev, #ref-slider .owl-buttons .owl-next,
#termek-slider .owl-buttons .owl-prev, #termek-slider .owl-buttons .owl-next {
    width:64px;
    height:64px;
    margin:0;
    padding:0;
    background-position:50% 50%;
    background-repeat:no-repeat;    
    background-color:transparent;
    display:inline-block;
    position:absolute;
}

/* References */
#referenciaink {
    padding:50px 4.5%;
    background-color:#fff;
}
#ref-slider .item {
    text-align:center;
    min-height:150px;
}
#ref-slider .img {
    height:100px;
    margin-bottom:5px;
    line-height:100px;
    vertical-align:middle;
    text-align:center;
    display:block;    
}
#ref-slider .img img {
    width:100%;
    max-width:180px;
    max-height:100px;
    margin:0 auto;
    left:0;
    right:0;
}
#ref-slider .name {
    text-align:center;
}

/*
#header, #szolgaltatasaink, #termekeink, #referenciaink, #contact-action, #elerhetosegunk {
    z-index:2;
    position:relative;
}
*/

/* Contact */
#contacts {
    background-color:#999;
    background:url(../img/ss2.jpg) no-repeat;
    background-size:cover;
    background-attachment: fixed;
    text-align:center;
    width:100%;
    /* position:fixed; */
    bottom:0;
    z-index:1;
}
    #contacts .inner-content {
        text-align:center;
    }
    #contacts .contact-info {
        display:table-cell;
        vertical-align:middle;
        height:180px;
    }
    #contacts .contact {
        margin:60px 3% 20px 3%;
        display:inline-block;
        width:38%;
        padding:10px;
        max-width:400px;
        text-align:center;
        color:#fff;
        font-weight:normal;
        text-shadow:0 0 2px rgba(0,0,0,0.6);
        font-size:1em;
        line-height:140%;
        background:url(../img/black60.png);       
    }
    #contacts .name {
        font-weight:bold;
        font-size:1.4em;
    }
    #contacts .title {
        color:#999;
    }
    #contacts .phone {
        margin-top:0.5em;
    }
    #contacts img {
        float:left;
        width:140px;
        height:140px;
        border-radius:50%;
        margin-right:10px;
        margin-top:-50px;
    }
#contact-action {
    background-color:#0053a9;
    width:100%;
    text-align:center;
    color:#fff;
    font-size:2em;
    padding:20px 0;
    line-height:150%;
}    
#ca-phone {
    font-size:1.2em;
    text-align:center;
}
    
/* Footer */
#elerhetosegunk {
    position:relative;
}
#map {
    width:100%;
    height:380px;
    margin:0;
    padding:0;
    position:relative;
    z-index:1;
	background:no-repeat url(../img/map.jpg) 55% 50% !important;
	 background-size: cover;
}
#contact-data {   
    height:380px;
    background:url(../img/white80.png);
    z-index:2;
    position:absolute;
    top:0;
    right:0;
}
    #contact-data ul {
        margin:80px 30px 0 30px;
    }
    #contact-data li {
        line-height:180%;
        font-size:1.4em;
        font-weight:normal;
    }
    #contact-data li span {
        color:#0053a9;
        font-weight:bold;
    }
#impressum {
    width:100%;
    text-align:center;
    background:#222;
    color:#ccc;
    font-size:0.8em;
    padding:10px 0;
}

@media screen 
and (min-width : 1025px) 
and (max-width : 1600px) {
    .rslides li {
        height:480px;
    }
    h1 {
        top:220px;
        font-size:2.6em;
    }
    #menu li a {
        font-size:1.2em;
    }
}
@media screen 
and (max-width : 1024px) {
    #header .rslides_nav {
        display:none;
    }
    
    #menu {
        position:fixed;
        display:none;
        top:0;
        left:0;
        width:100%;
        height:100%;
        z-index:999;
        background-color:#0053a9;
    }
    #menu ul {
        margin: 0;
        display:block;
        width:100%;
    }
    #menu li {
        width:100%;
        line-height:80px;
        border-bottom:1px solid #ccc;
    }
    #menu li a {
        text-align:center;
        font-weight:bold;
        font-size:1.2em;
    }
    #mobile-menu {
        width:64px;
        height:64px;
        display:block;
        float:right;
        background:url(../img/mobile-menu.png) no-repeat;
        margin:8px 3% 0 0;
    }
    
    #map {
        height:280px;
    }
    #contact-data {   
        height:280px;
    }
    #contact-data ul {
        margin:35px 30px 0 30px;
    }
}
@media screen 
and (min-width : 769px) 
and (max-width : 1024px) {
    .rslides li {
        height:440px;
    }
    h1 {
        top:200px;
        font-size:2.4em;
    }
    
    #szolgaltatasaink .item {
        height:200px;
        padding:40px 1%;
        margin:0;   
        font-size:1em;
        font-weight:300;
       
    }
    #contacts img {
        width:100px;
        height:100px;
    }
}
@media screen 
and (max-width : 768px) {
    #menu-bar { 
        width:100%;
    }
    #language-selector {
        right:20px;
    }
    
    #szolgaltatasaink .item {
        height:auto;
        min-height:40px;
        width:90%;
        display:block;
        padding:10px 5%;
        margin:0;   
        font-size:1em;
        font-weight:300;
        line-height:120%;
        text-align:center;
    }
    
    #szolgaltatasaink .item div {
        height:auto;
        width:100%;
        padding:0;
        margin:0;
        text-align:center;
        display:block;
    }
    
    
}
@media screen 
and (min-width : 481px) 
and (max-width : 768px) {
    .rslides li {
        height:400px;
    }
    h1 {
        top:200px;
        font-size:1.8em;
    }
    
    #logo-wrapper {
        width:37%;
    }
    
    #contact-action {
        font-size:1.6em;
        padding:20px 0;
        line-height:150%;
    }    
    #ca-phone {
        font-size:1em;
        text-align:center;
    }
    
    #contacts {
        padding-top:20px;
    }
    #contacts .contact {
        margin:40px auto 20px auto;
        display:block;
        width:90%;
        padding:10px;
        max-width:400px;
        text-align:center;
        color:#fff;
        font-weight:normal;
        text-shadow:0 0 2px rgba(0,0,0,0.6);
        font-size:1em;
        line-height:130%;
        background:url(../img/black60.png);       
    }
    #contacts img {
        width:120px;
        height:120px;
    }
}
@media screen  
and (max-width : 480px) {
    .rslides li {
        height:300px;
    }
    
    h1 {
        top:170px;
        left:2%;
        font-size:1.3em;
    }
    h1 span {
        padding:2px 5px;
    }
    
    #logo-wrapper {
        width:61%;
        padding-left:1%;
    }
    
    #mobile-menu {
        background:url(../img/mobile-menu_48.png) no-repeat;
        margin:16px 1% 0 0;
    }
    
    #contact-action {
        width:90%;
        font-size:1.4em;
        padding:20px 5%;
        line-height:150%;
    }    
    #ca-phone {
        font-size:1em;
        text-align:center;
    }
    #contact-data {
        width:90%;
        padding-left:5%;
        padding-right:5%;
    }
    #contact-data ul {
        padding-left:0;
        padding-right:0;
        margin:10px 0 0 0;
        width:100%;
    }
    #contact-data li span {
        display:block;
    }
    #contact-data li {
        padding:5px 0;
        width:100%;
        line-height:130%;
        font-size:1.15em;
        text-align:center;
    }
    
    #contacts {
        padding-top:10px;
    }
    #contacts .contact {
        margin:20px auto;
        display:block;
        width:90%;
        padding:10px;
        max-width:400px;
        text-align:center;
        color:#fff;
        font-weight:normal;
        text-shadow:0 0 2px rgba(0,0,0,0.6);
        font-size:1em;
        line-height:130%;
        background:url(../img/black60.png);       
    }
    #contacts img {
        display:none;
        width:120px;
        height:120px;
    }
}
