@font-face {
    font-family: 'Font';
    src: url('font.eot');
    src: url('font.eot') format('embedded-opentype'),
         url('font.woff') format('woff'),
         url('font.ttf') format('truetype'),
         url('font.svg#MyriadProLightCondensed') format('svg');
}

/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
    font-family: "Font", Helvetica, Arial, sans-serif;
    color: #4A4F51;
    text-rendering: optimizeLegibility;
    text-shadow: 0 0 1px rgba(0,0,0,0.15);
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

.wrapper {
    position: absolute;
    width: 100%;
    top: 40px;
    bottom: 40px;
    left: 50%;
    min-height: 546px;
    max-height: 900px;
    opacity: 0.01;
    border: 1px solid #4A4F51;
}

.home-page .wrapper {
    border: none;
}

/* ==========================================================================
   Home page
   ========================================================================== */
.home-page .home {
    top: 0;
    bottom: 20px;
    position: absolute;
    width: 100%;
    background: white url('/img/hangya.png') bottom center no-repeat;
}
.home-page .gallery {
    position: absolute;
    top: 0;
    bottom: 42px;
    right: auto;
    left: 50%;
    min-width: 0;
    background: white url('/img/logo.png') bottom center no-repeat;
    padding-bottom: 42px;
}

.home-page img {
    height: 100%;
    display: inline-block;
    float: left;
}

.home-page img + img {
    margin-left: 3px;
}

.home-page .lang {
    text-transform: uppercase;
    font-size: 24px;
    line-height: 24px;
    position: absolute;
    top: 50%;
    margin-top: -12px;
    opacity: 0.8;
    text-decoration: none;
    color: #4A4F51;
    width: 32px;
    text-align: center;
}

.home-page .lang:hover {
    opacity: 1;
}

.home-page .lang.hu {
    left: 90px;
}

.home-page .lang.en {
    right: 90px;
}
/* ==========================================================================
   Sidebar
   ========================================================================== */
.sidebar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background: #ececec;
    width: 230px;
    background: white url(/img/hangya.png) bottom center no-repeat;
    border-bottom: 30px solid white;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.primary-navigation {
    position: absolute;
    bottom: 50%;
    margin-bottom: -108px;
    width: 100%;
}

.primary-navigation .item,
.primary-navigation .subitem {
    display: block;
    line-height: 23px;
    font-size: 18px;
    text-align: center;
}

.primary-navigation .subitem {
    font-size: 16px;
    line-height: 22px;
}

.primary-navigation .subitems:before,
.primary-navigation .subitems:after {
    content: '●';
    display: block;
    line-height: 1.4em;
    font-size: 12px;
    text-align: center;
    opacity: 0.6;
}

.primary-navigation a {
    text-decoration: none;
    color: #4A4F51;
    opacity: 0.6;
    display: inline-block;
    white-space: nowrap;
}

.primary-navigation a:hover {
    opacity: 0.8;
}

.primary-navigation .item:last-child a {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #4A4F51;
}

.primary-navigation .item.active > a,
.primary-navigation .subitem.active > a {
    opacity: 1;
}

.subitems {
    display: none;
}

.active .subitems {
    display: block;
}

.subitems .ps-container {
    max-height: 88px;
    position: relative;
    overflow: hidden;
}

.body {
    margin: 60px 0 0;
    opacity: 0.8;
    font-size: 14px;
    line-height: 16px;
    max-height: 80px;
    overflow: hidden;
    position: absolute;
    bottom: 50px;
    width: 100%;
    text-align: center;
}

.body p {
    padding: 0 30px;
    margin: 0;
}

.back {
    display: block;
    position: absolute;
    bottom: -32px;
    left: 50%;
    margin-left: -26px;
    height: 32px;
    width: 50px;
    text-align: center;
    padding-top: 30px;
    font-size: 13px;
    text-decoration: none;
    color: rgba(0,0,0,.4);
}

.back:hover {
    color: rgba(0,0,0,.6);
}

/* ==========================================================================
   Image slider
   ========================================================================== */

.gallery {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    min-width: 371px;
    width: 75%;
}

.ps-slides,
.ps-slidewrapper > nav,
.ps-slides > div {
    position: absolute;
}


.ps-slidewrapper {
    right: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    position: absolute;
}

.ps-slides {
    top: 0;
    bottom: 0;
    width: 100%;
    overflow: hidden;
}

.ps-slides > div {
    width: 100%;
    height: 100%;
}

.ps-slidewrapper > nav {
    width: 20px;
    height: 75px;
    top: 50%;
    right: -36px;
    margin-top: -37px;
    z-index: 1000;
    display: none;
}

.ps-slidewrapper > nav > a {
    width: 20px;
    height: 37px;
    position: relative;
    outline: none;
    background: red;
    display: block;
    background: white url(/img/arrows.png) bottom center no-repeat;
    margin-bottom: 10px;
}

.ps-slidewrapper > nav > a:first-child {
    background: white url(/img/arrows.png) top center no-repeat;
}

.ps-slides > div {
    background-color: #fff;
    background-position: center top;
    background-repeat: no-repeat;
    -webkit-background-size: auto 100%;
    -moz-background-size: auto 100%;
    background-size: auto 100%;
}

.ps-move {
    -webkit-transition: top 400ms ease-out;
    -moz-transition: top 400ms ease-out;
    -o-transition: top 400ms ease-out;
    -ms-transition: top 400ms ease-out;
    transition: top 400ms ease-out;
}



/* ==========================================================================
   Fancy scrollbar
   ========================================================================== */

.ps-container .ps-scrollbar-x-rail {
    position: absolute; /* please don't change 'position' */
    bottom: 3px; /* there must be 'bottom' for ps-scrollbar-x-rail */
    height: 8px;
    opacity: 0;
    filter: alpha(opacity = 0);
}


.ps-container .ps-scrollbar-y-rail {
    position: absolute; /* please don't change 'position' */
    right: 3px; /* there must be 'right' for ps-scrollbar-y-rail */
    width: 8px;
    opacity: 0;
    filter: alpha(opacity = 0);
}

.ps-container:hover .ps-scrollbar-x-rail,
.ps-container:hover .ps-scrollbar-y-rail {
    opacity: 1;
    filter: alpha(opacity = 100);
}

.ps-container .ps-scrollbar-x {
    position: absolute; /* please don't change 'position' */
    bottom: 0; /* there must be 'bottom' for ps-scrollbar-x */
    height: 4px;
    background-color: #4A4F51;
}

.ps-container.ie6 .ps-scrollbar-x {
    font-size: 0; /* fixed scrollbar height in xp sp3 ie6 */
}


.ps-container .ps-scrollbar-y {
    position: absolute; /* please don't change 'position' */
    right: 0; /* there must be 'right' for ps-scrollbar-y */
    width: 4px;
    background-color: #4A4F51;
}

.ps-container.ie6 .ps-scrollbar-y {
    font-size: 0; /* fixed scrollbar height in xp sp3 ie6 */
}

.ps-container.ie .ps-scrollbar-x,
.ps-container.ie .ps-scrollbar-y {
    visibility: hidden;
}

.ps-container.ie:hover .ps-scrollbar-x,
.ps-container.ie:hover .ps-scrollbar-y,
.ps-container.ie.hover .ps-scrollbar-x,
.ps-container.ie.hover .ps-scrollbar-y {
    visibility: visible;
}













/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}
