/*
 * 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 declarations 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;
}
a{
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    text-decoration: none;
    color: #1B9EC5;
    font-family: gs-regular;
}
a:hover {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
#content a:hover {
    text-decoration: underline;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */



/**
 * Font face declarations
 */
@font-face {
    font-family: 'oav-el';
    src: url('../fonts/onlineavelements.eot');
    src: url('../fonts/onlineavelements.eot?#iefix') format('embedded-opentype'),
         url('../fonts/onlineavelements.woff') format('woff'),
         url('../fonts/onlineavelements.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'hr-bold';
    src: url('../fonts/hr-bold.eot');
    src: url('../fonts/hr-bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/hr-bold.woff') format('woff'),
         url('../fonts/hr-bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'gs-regular';
    src: url('../fonts/gs-regular.eot');
    src: url('../fonts/gs-regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/gs-regular.woff') format('woff'),
         url('../fonts/gs-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'gs-light';
    src: url('../fonts/gs-light.eot');
    src: url('../fonts/gs-light.eot?#iefix') format('embedded-opentype'),
         url('../fonts/gs-light.woff') format('woff'),
         url('../fonts/gs-light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}



body {
    font-family: gs-light;
    color: #5D6879;
}
h1,h2,h3,h4 {
    font-size: 40px;
    font-family: gs-light;
    color: #5D6879;
    font-weight: normal;
    margin-top: 0;
    line-height: 1em;
    margin-bottom: 0.5em
}


.color-green {
    color: #5fb25f;
}
.color-dark-grey {
    color: #5d6879;
}
.color-light-grey {
    color: #d5d5d5;
}
.color-footer {
    color: #cccccc;
}

/*
 * Containers
 */
#header,
#content,
#footer {
    width: 100%;
}
#header{
    background: url('../img/oav-head-bg-repeat.jpg') repeat scroll 0px 0px;
}
#header .inner,
#content .inner,
#footer .inner {
    width: 860px;
    margin: 0px auto;
}
#header .inner {
    height: 250px;
    background: url('../img/oav-head-bg.jpg') no-repeat scroll 100% -25px;
}
#content .inner {
    padding: 20px 0px 40px 0px;
}
#footer {
    background: #5d6879;
    color: #d5d5d5;
}
#footer .inner {
    height: 70px;
}




/**
 *  Buttons
 */
.btn-rounded {
    background-color: #5fb35f;
    padding: 14px 38px;
    text-decoration: none;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow:  3px 3px 0px 0px #c1dec1;    
    box-shadow:  3px 3px 0px 0px #c1dec1;
    cursor: pointer;
}
.btn-rounded span {
    text-decoration: none;
    padding: 0; margin: 0;
    color: #fff;
    font-family: gs-regular;
    font-size: 16px;
    text-transform: uppercase;
}
.btn-rounded:hover {
    background-color: #538D53;
}


/*
 * Logo
 */

.oav-logo {
    font-family: oav-el;
    color: #5d6879;
    font-size: 2.8em;
    line-height: 0.5em;
    height: 1em;
}
#logo_header .logo-l {
    color: #5fb25f;
}
.oav-logo .logo-r {
    font-size: 1.6em;
    margin-left: 0.14em;
}
#logo_header {
    float: left;
    margin-top: 32px;
}
#logo_footer {
    color: #d5d5d5;
    font-size: 2.2em;
    padding-top: 18px;
    float: left;
}



/**
 *  Main-menu
 */
#menu_header {
    margin-top: 45px;
}
.main-menu {
    float: right;
}
.main-menu ul {
    margin: 0px;
    padding: 0px;
    list-style: 0px;
}
.main-menu li {
    float: left;
    list-style: none;
    margin-right: 35px;
}
.main-menu li.last {
    margin-right: 0;
}
.main-menu a,
.main-menu a:visited {
    font-family: hr-bold;
    color: #49515e;
    font-size: 17px;
    font-style: normal;;
    font-weight: normal;
    outline: none;
    text-decoration: none;
}
.main-menu a:hover,
.main-menu li.active a {
    color: #5FB25F
}

#menu_footer a,
#menu_footer a:visited {
    color: #d5d5d5;
}
#menu_footer a:hover,
#menu_footer li.active a {
    color: #ffffff;
}
#menu_footer {
    margin-top: 25px;
}


/**
 *  Orbit ovverrides
 */
#orbit,
.orbit-wrapper{
    height: 244px;
    background: #fff url('../img/foundation/orbit/loading.gif') no-repeat center center;
}
#orbit img{
    display: none;
}
#orbit.orbit{
    background: none; 
}
#orbit.orbit img{
    display: block;
}
.orbit-wrapper .slider-nav span {
    font-family: oav-el;
    font-size: 10em;
    color: green;
    opacity: .5;
    text-indent: 0;
    background: none !important;
    margin-top: -90px;
    width: 68px;
    height: 160px;
    text-align: center;
}
.lt-ie9 .orbit-wrapper .slider-nav span {
    /*margin-top: 0*/
}
.orbit-wrapper .slider-nav span.right {
    right: -61px;
}
.orbit-wrapper .slider-nav span.left {
    left: -61px;
}
.orbit-wrapper .timer {
    /*top: auto;
    bottom: 10px;
    left: 50%;*/
    opacity: .6;
}


/**
 *  Orbit captions
 */
#orbit-captions {
    height: 190px;
    background: #F1F2F4;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin: 0px 6px;
}
#orbit-captions .title{
    float: left;
    margin-right: 4px;
    background: #9ea4af;
    width: 60px; height: 190px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    -webkit-box-shadow: 3px 3px 0px 0px #CED4DE;
    box-shadow: 3px 3px 0px 0px #CED4DE;

}
#orbit-captions .title img {
    margin: 7px 0px 0px 7px;
}
#orbit-captions .title span{
    display: block;
    font-family: gs-regular;
    font-size: 34px;
    text-transform: uppercase;
    color: #cfd7e6;
    letter-spacing: -0.06em;
    width: 180px; height: 46px;

    transform: rotate(-90deg);
    transform-origin: 94px 86px;
    -ms-transform: rotate(-90deg); /* IE 9 */
    -ms-transform-origin: 94px 86px; /* IE 9 */
    -webkit-transform: rotate(-90deg); /* Safari and Chrome */
    -webkit-transform-origin: 94px 86px; /* Safari and Chrome */
    -moz-transform: rotate(-90deg); /* Firefox */
    -moz-transform-origin: 94px 86px; /* Firefox */
    -o-transform: rotate(-90deg); /* Opera */
    -o-transform-origin: 94px 86px; /* Opera */

    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=6.123031769111886e-17, M12=-1, M21=1, M22=6.123031769111886e-17);

    /* IE8+ - must be on one line, unfortunately */ 
    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=3.061515884555943e-16, M12=1, M21=-1, M22=3.061515884555943e-16, SizingMethod='auto expand')";

    /* IE6 and 7 */ 
    filter: progid:DXImageTransform.Microsoft.Matrix(
            M11=3.061515884555943e-16,
            M12=1,
            M21=-1,
            M22=3.061515884555943e-16,
            SizingMethod='auto expand');



}
#orbit-captions .title span{}
#orbit-captions .caption{
    position: relative;
    width: 261px; height: 190px;
    float: left;
}
#orbit-captions .caption p{
    position: absolute;
    top: 0px; left: 0px;
    font-size: 18px;
    line-height: 1.3;
    margin: 20px 17px 0px 17px;
    z-index: 20;
}
#orbit-captions .caption-0{}
#orbit-captions .caption-1{}
#orbit-captions .caption-2{}
#orbit-captions .caption.selected {
}
#orbit-captions .caption.selected p {
    color: #fff;
}
#orbit-captions .caption a, 
#orbit-captions .caption a:visited {
    color: inherit;
    text-decoration: underline;
}
#orbit-captions .caption a:hover {
    text-decoration: none;
}
#orbit-captions .caption .arrowed {
    display: none;
    position: absolute;
    background: #5fb35f;
    -webkit-box-shadow: 3px 3px 0px 0px #C1DEC1;
    box-shadow: 3px 3px 0px 0px #C1DEC1;
    width: 261px; height: 190px;
    z-index: 10;

}
#orbit-captions .caption-2 .arrowed {
    -webkit-border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;

}
#orbit-captions .caption .arrowed .arrow {
    position: absolute;
    top: -25px;
    left: 50%;
    font-family: oav-el;
    font-size: 1.8em;
    color: #5FB35F;
    z-index: 90;
    margin-left: -12px;
}
#orbit-captions .caption.selected .arrowed {
    display: block;
}








.elojegyzes {
    position: relative;
    border-top: 1px solid #ababab;
    padding-top: 10px;
    margin-top: 10px;
    color: #5d6879;
}
.elojegyzes p {
    margin: 0;
}
.elojegyzes .cim{
    font-size: 34px;
    line-height: 1.3em;
}
.elojegyzes .leiras{
    font-size: 15px;
    line-height: 1.4em;
    width: 630px;
    color: #31373F;
}
.elojegyzes .leiras strong {
    font-family: gs-regular;
    font-weight: normal;
}
.elojegyzes .btn-rounded {
    position: absolute;
    top: 56px; right: 3px;
    padding: 8px 22px;
}
.elojegyzes .btn-rounded span {
    font-size: 26px;
}

.contact-form-wrapper .submit {
    margin-top: 30px;
}
.validation-errors {
    font-family: Verdana;
    font-weight: normal;
    font-size: 11px;
    color: hsl(0, 69%, 53%);
    margin-bottom: 10px;
    padding: 7px 14px;
    border: 1px solid hsl(0, 69%, 53%);
    line-height: 14px;
    display: none;
}



/**
 *  Articlese homepage
 */
.articles {}
.article {
    padding: 25px 0px;
    border-bottom: 1px solid #d5d5d5;
}
.article.last {
    border-bottom: 0;
}
.article .heading{
    width: 570px;
}
.article.left-aligned .heading{
    float: left;
}
.article.left-aligned .article-image {
    float: right;
}

#paypal .article-image { margin-top: 20px; }
#clock .article-image { margin: -10px 0 -20px 70px; }

.article.right-aligned .heading{
    float: right;
}
.article.right-aligned .article-image {
    float: left;
}
.article h2{
    font-size: 40px;
    font-family: gs-light;
    color: inherit;
    font-weight: normal;
    margin-top: 0;
}
.article p{
    font-size: 19px;
    line-height: 1.3em
}
.article .action{
    clear: both;
    font-size: 19px;
    cursor: pointer
}
.article .action b {
    font-weight: normal;
    font-family: oav-el;
    font-size: 0.7em;
    color: #5FB25F;
    margin-right: 10px;
}
.article .action span{
    float: right;
    margin-right: 20px;
}
.article .details{
    display: none;
    clear: both;
}





/*    naptar table    */
table#naptar {width: 100%; border-collapse: collapse; }
table#naptar td {color: #333; font-size: 10px; font-family: inherit; margin: 0; height: 20px;line-height:14px; padding: 0}
table#naptar td a { margin: 0; height: 100%; width: 100%;display: block;color: #fff;text-align: center;font-size: 14px;}
table#naptar td a:hover {background-color: #5FB35F;}
table#naptar td.orak { color: #333; font-size: 13px; font-family: inherit; margin: 0; text-align: center}
table#naptar td.orak.main {border-bottom: 2px solid #D5D5D5}
table#naptar td.napok {border-bottom: 2px solid #D5D5D5; color: #333; font-size: 13px; font-family: inherit; margin: 0; text-align: center; font-weight: bold}
table#naptar td.foglalt {font-size: 13px; font-family: inherit; margin: 0; text-align: center; background-color: #D5A5A5; color: #D5A5A5}
table#naptar td.foglalt:hover {color: #ffffff}
table#naptar td.temp {margin: 0; background: url('../img/naptar_lefoglalt.png') no-repeat scroll bottom right; text-indent: -9999px}
table#naptar tr.half1 td {border-right: 1px solid #D5D5D5;}
table#naptar tr.half1 td.orak {text-align: left;padding-left: 15px; width: 50px}
table#naptar tr.half2 td.orak {text-align: right;padding-right: 15px; width:50px;}
table#naptar tr.half2 td {
    border-top: 0px solid #D5D5D5;
    border-bottom: 1px solid #D5D5D5;
    border-right: 1px solid #D5D5D5;
}
table#naptar tr.half1 td,
table#naptar tr.half2 td {
    color: #333; 
    font-size: 12px; 
    font-family: inherit; 
    margin: 0; 
    height: 21px;
    line-height:19px;
    padding: 0;
    width: 60px;
    border-left: 1px solid #D5D5D5;
}
table#naptar tr.half1 .foglalt,
table#naptar tr.half2 .foglalt {
    color: #D5A5A5; 
}
table#naptar tr.half1 .foglalt:hover,
table#naptar tr.half2 .foglalt:hover {
    color: #FFFFFF; 
}
tr.half1 .foglalt {
border-bottom: 1px solid #D5A5A5;
}
table.cellamagyarazat {width: 530px;margin: 10px auto 0 auto;}
table.cellamagyarazat td{font-family: Arial; font-size: 11px; color: #555;padding-left: 5px}
table.cellamagyarazat td.elso{border: 1px solid #aaa}
table.cellamagyarazat td.kiemelt{background-color: #F99;width:60px}






/**
 *  Rolam oldal
 *  
 */
figure.float-l {
    float: left; 
}
figure img {
    -webkit-border-radius: 5px;
    -webkit-box-shadow: 3px 3px 0px 0px #DEE6ED;
}
.float-r {
    float: right;
    width: 470px;
}
figure figcaption {
    text-align: center;
    font-size: 20px;
    margin: 10px 0px 30px 0px;
    color: #aaa;
}





#footer .copy {
    float: left;
    font-family: gs-regular;
    font-size: 14px;
    margin-top: 28px;
    margin-left: 45px;
}




/* ==========================================================================
   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:after, 
.container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}

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

.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.
   Theses 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 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;
    }
}
